summaryrefslogtreecommitdiff
path: root/usr
diff options
context:
space:
mode:
authorraf <none@none>2006-08-08 23:21:36 -0700
committerraf <none@none>2006-08-08 23:21:36 -0700
commitf808c858fa61e7769218966759510a8b1190dfcf (patch)
treefd3faa0dc461cb57a40c7771dcff66a862e1842e /usr
parent4eca47aaf154802502572be94f95080159368113 (diff)
downloadillumos-joyent-f808c858fa61e7769218966759510a8b1190dfcf.tar.gz
6357230 specfiles should be nuked
--HG-- rename : usr/src/cmd/abi/libstabspf/amd64/Makefile => deleted_files/usr/src/cmd/abi/libstabspf/amd64/Makefile rename : usr/src/cmd/abi/libstabspf/spec/amd64/Makefile => deleted_files/usr/src/cmd/abi/libstabspf/spec/amd64/Makefile rename : usr/src/cmd/picl/plugins/lib/picld_pluginutil/spec/Makefile => deleted_files/usr/src/cmd/picl/plugins/lib/picld_pluginutil/spec/Makefile rename : usr/src/cmd/picl/plugins/lib/picld_pluginutil/spec/Makefile.targ => deleted_files/usr/src/cmd/picl/plugins/lib/picld_pluginutil/spec/Makefile.targ rename : usr/src/cmd/picl/plugins/lib/picld_pluginutil/spec/i386/Makefile => deleted_files/usr/src/cmd/picl/plugins/lib/picld_pluginutil/spec/i386/Makefile rename : usr/src/cmd/picl/plugins/lib/picld_pluginutil/spec/picld_pluginutil.spec => deleted_files/usr/src/cmd/picl/plugins/lib/picld_pluginutil/spec/picld_pluginutil.spec rename : usr/src/cmd/picl/plugins/lib/picld_pluginutil/spec/sparc/Makefile => deleted_files/usr/src/cmd/picl/plugins/lib/picld_pluginutil/spec/sparc/Makefile rename : usr/src/cmd/picl/plugins/lib/picld_pluginutil/spec/versions => deleted_files/usr/src/cmd/picl/plugins/lib/picld_pluginutil/spec/versions rename : usr/src/cmd/pools/poold/libjkstat/spec/Makefile => deleted_files/usr/src/cmd/pools/poold/libjkstat/spec/Makefile rename : usr/src/cmd/pools/poold/libjkstat/spec/Makefile.targ => deleted_files/usr/src/cmd/pools/poold/libjkstat/spec/Makefile.targ rename : usr/src/cmd/pools/poold/libjkstat/spec/amd64/Makefile => deleted_files/usr/src/cmd/pools/poold/libjkstat/spec/amd64/Makefile rename : usr/src/cmd/pools/poold/libjkstat/spec/i386/Makefile => deleted_files/usr/src/cmd/pools/poold/libjkstat/spec/i386/Makefile rename : usr/src/cmd/pools/poold/libjkstat/spec/jkstat.spec => deleted_files/usr/src/cmd/pools/poold/libjkstat/spec/jkstat.spec rename : usr/src/cmd/pools/poold/libjkstat/spec/sparc/Makefile => deleted_files/usr/src/cmd/pools/poold/libjkstat/spec/sparc/Makefile rename : usr/src/cmd/pools/poold/libjkstat/spec/sparcv9/Makefile => deleted_files/usr/src/cmd/pools/poold/libjkstat/spec/sparcv9/Makefile rename : usr/src/cmd/pools/poold/libjkstat/spec/versions => deleted_files/usr/src/cmd/pools/poold/libjkstat/spec/versions rename : usr/src/cmd/pools/poold/libjlgrp/spec/Makefile => deleted_files/usr/src/cmd/pools/poold/libjlgrp/spec/Makefile rename : usr/src/cmd/pools/poold/libjlgrp/spec/Makefile.targ => deleted_files/usr/src/cmd/pools/poold/libjlgrp/spec/Makefile.targ rename : usr/src/cmd/pools/poold/libjlgrp/spec/amd64/Makefile => deleted_files/usr/src/cmd/pools/poold/libjlgrp/spec/amd64/Makefile rename : usr/src/cmd/pools/poold/libjlgrp/spec/i386/Makefile => deleted_files/usr/src/cmd/pools/poold/libjlgrp/spec/i386/Makefile rename : usr/src/cmd/pools/poold/libjlgrp/spec/jlgrp.spec => deleted_files/usr/src/cmd/pools/poold/libjlgrp/spec/jlgrp.spec rename : usr/src/cmd/pools/poold/libjlgrp/spec/sparc/Makefile => deleted_files/usr/src/cmd/pools/poold/libjlgrp/spec/sparc/Makefile rename : usr/src/cmd/pools/poold/libjlgrp/spec/sparcv9/Makefile => deleted_files/usr/src/cmd/pools/poold/libjlgrp/spec/sparcv9/Makefile rename : usr/src/cmd/pools/poold/libjlgrp/spec/versions => deleted_files/usr/src/cmd/pools/poold/libjlgrp/spec/versions rename : usr/src/cmd/pools/poold/libjpool/spec/Makefile => deleted_files/usr/src/cmd/pools/poold/libjpool/spec/Makefile rename : usr/src/cmd/pools/poold/libjpool/spec/Makefile.targ => deleted_files/usr/src/cmd/pools/poold/libjpool/spec/Makefile.targ rename : usr/src/cmd/pools/poold/libjpool/spec/amd64/Makefile => deleted_files/usr/src/cmd/pools/poold/libjpool/spec/amd64/Makefile rename : usr/src/cmd/pools/poold/libjpool/spec/i386/Makefile => deleted_files/usr/src/cmd/pools/poold/libjpool/spec/i386/Makefile rename : usr/src/cmd/pools/poold/libjpool/spec/jpool.spec => deleted_files/usr/src/cmd/pools/poold/libjpool/spec/jpool.spec rename : usr/src/cmd/pools/poold/libjpool/spec/sparc/Makefile => deleted_files/usr/src/cmd/pools/poold/libjpool/spec/sparc/Makefile rename : usr/src/cmd/pools/poold/libjpool/spec/sparcv9/Makefile => deleted_files/usr/src/cmd/pools/poold/libjpool/spec/sparcv9/Makefile rename : usr/src/cmd/pools/poold/libjpool/spec/versions => deleted_files/usr/src/cmd/pools/poold/libjpool/spec/versions rename : usr/src/cmd/pools/poold/libjsyslog/spec/Makefile => deleted_files/usr/src/cmd/pools/poold/libjsyslog/spec/Makefile rename : usr/src/cmd/pools/poold/libjsyslog/spec/Makefile.targ => deleted_files/usr/src/cmd/pools/poold/libjsyslog/spec/Makefile.targ rename : usr/src/cmd/pools/poold/libjsyslog/spec/amd64/Makefile => deleted_files/usr/src/cmd/pools/poold/libjsyslog/spec/amd64/Makefile rename : usr/src/cmd/pools/poold/libjsyslog/spec/i386/Makefile => deleted_files/usr/src/cmd/pools/poold/libjsyslog/spec/i386/Makefile rename : usr/src/cmd/pools/poold/libjsyslog/spec/jsyslog.spec => deleted_files/usr/src/cmd/pools/poold/libjsyslog/spec/jsyslog.spec rename : usr/src/cmd/pools/poold/libjsyslog/spec/sparc/Makefile => deleted_files/usr/src/cmd/pools/poold/libjsyslog/spec/sparc/Makefile rename : usr/src/cmd/pools/poold/libjsyslog/spec/sparcv9/Makefile => deleted_files/usr/src/cmd/pools/poold/libjsyslog/spec/sparcv9/Makefile rename : usr/src/cmd/pools/poold/libjsyslog/spec/versions => deleted_files/usr/src/cmd/pools/poold/libjsyslog/spec/versions rename : usr/src/lib/Makefile.spec => deleted_files/usr/src/lib/Makefile.spec rename : usr/src/lib/Makefile.spec.arch => deleted_files/usr/src/lib/Makefile.spec.arch rename : usr/src/lib/Makefile.spec.psm => deleted_files/usr/src/lib/Makefile.spec.psm rename : usr/src/lib/auditd_plugins/binfile/spec/Makefile => deleted_files/usr/src/lib/auditd_plugins/binfile/spec/Makefile rename : usr/src/lib/auditd_plugins/binfile/spec/Makefile.targ => deleted_files/usr/src/lib/auditd_plugins/binfile/spec/Makefile.targ rename : usr/src/lib/auditd_plugins/binfile/spec/amd64/Makefile => deleted_files/usr/src/lib/auditd_plugins/binfile/spec/amd64/Makefile rename : usr/src/lib/auditd_plugins/binfile/spec/i386/Makefile => deleted_files/usr/src/lib/auditd_plugins/binfile/spec/i386/Makefile rename : usr/src/lib/auditd_plugins/binfile/spec/private.spec => deleted_files/usr/src/lib/auditd_plugins/binfile/spec/private.spec rename : usr/src/lib/auditd_plugins/binfile/spec/sparc/Makefile => deleted_files/usr/src/lib/auditd_plugins/binfile/spec/sparc/Makefile rename : usr/src/lib/auditd_plugins/binfile/spec/sparcv9/Makefile => deleted_files/usr/src/lib/auditd_plugins/binfile/spec/sparcv9/Makefile rename : usr/src/lib/auditd_plugins/binfile/spec/versions => deleted_files/usr/src/lib/auditd_plugins/binfile/spec/versions rename : usr/src/lib/auditd_plugins/syslog/spec/Makefile => deleted_files/usr/src/lib/auditd_plugins/syslog/spec/Makefile rename : usr/src/lib/auditd_plugins/syslog/spec/Makefile.targ => deleted_files/usr/src/lib/auditd_plugins/syslog/spec/Makefile.targ rename : usr/src/lib/auditd_plugins/syslog/spec/amd64/Makefile => deleted_files/usr/src/lib/auditd_plugins/syslog/spec/amd64/Makefile rename : usr/src/lib/auditd_plugins/syslog/spec/i386/Makefile => deleted_files/usr/src/lib/auditd_plugins/syslog/spec/i386/Makefile rename : usr/src/lib/auditd_plugins/syslog/spec/private.spec => deleted_files/usr/src/lib/auditd_plugins/syslog/spec/private.spec rename : usr/src/lib/auditd_plugins/syslog/spec/sparc/Makefile => deleted_files/usr/src/lib/auditd_plugins/syslog/spec/sparc/Makefile rename : usr/src/lib/auditd_plugins/syslog/spec/sparcv9/Makefile => deleted_files/usr/src/lib/auditd_plugins/syslog/spec/sparcv9/Makefile rename : usr/src/lib/auditd_plugins/syslog/spec/versions => deleted_files/usr/src/lib/auditd_plugins/syslog/spec/versions rename : usr/src/lib/auditd_plugins/template/spec/template.spec => deleted_files/usr/src/lib/auditd_plugins/template/spec/template.spec rename : usr/src/lib/cfgadm_plugins/ib/spec/Makefile => deleted_files/usr/src/lib/cfgadm_plugins/ib/spec/Makefile rename : usr/src/lib/cfgadm_plugins/ib/spec/Makefile.targ => deleted_files/usr/src/lib/cfgadm_plugins/ib/spec/Makefile.targ rename : usr/src/lib/cfgadm_plugins/ib/spec/amd64/Makefile => deleted_files/usr/src/lib/cfgadm_plugins/ib/spec/amd64/Makefile rename : usr/src/lib/cfgadm_plugins/ib/spec/cfga_ib.spec => deleted_files/usr/src/lib/cfgadm_plugins/ib/spec/cfga_ib.spec rename : usr/src/lib/cfgadm_plugins/ib/spec/i386/Makefile => deleted_files/usr/src/lib/cfgadm_plugins/ib/spec/i386/Makefile rename : usr/src/lib/cfgadm_plugins/ib/spec/sparc/Makefile => deleted_files/usr/src/lib/cfgadm_plugins/ib/spec/sparc/Makefile rename : usr/src/lib/cfgadm_plugins/ib/spec/sparcv9/Makefile => deleted_files/usr/src/lib/cfgadm_plugins/ib/spec/sparcv9/Makefile rename : usr/src/lib/cfgadm_plugins/ib/spec/versions => deleted_files/usr/src/lib/cfgadm_plugins/ib/spec/versions rename : usr/src/lib/cfgadm_plugins/pci/spec/Makefile => deleted_files/usr/src/lib/cfgadm_plugins/pci/spec/Makefile rename : usr/src/lib/cfgadm_plugins/pci/spec/Makefile.targ => deleted_files/usr/src/lib/cfgadm_plugins/pci/spec/Makefile.targ rename : usr/src/lib/cfgadm_plugins/pci/spec/amd64/Makefile => deleted_files/usr/src/lib/cfgadm_plugins/pci/spec/amd64/Makefile rename : usr/src/lib/cfgadm_plugins/pci/spec/i386/Makefile => deleted_files/usr/src/lib/cfgadm_plugins/pci/spec/i386/Makefile rename : usr/src/lib/cfgadm_plugins/pci/spec/pci.spec => deleted_files/usr/src/lib/cfgadm_plugins/pci/spec/pci.spec rename : usr/src/lib/cfgadm_plugins/pci/spec/sparc/Makefile => deleted_files/usr/src/lib/cfgadm_plugins/pci/spec/sparc/Makefile rename : usr/src/lib/cfgadm_plugins/pci/spec/sparcv9/Makefile => deleted_files/usr/src/lib/cfgadm_plugins/pci/spec/sparcv9/Makefile rename : usr/src/lib/cfgadm_plugins/pci/spec/versions => deleted_files/usr/src/lib/cfgadm_plugins/pci/spec/versions rename : usr/src/lib/cfgadm_plugins/sata/spec/Makefile => deleted_files/usr/src/lib/cfgadm_plugins/sata/spec/Makefile rename : usr/src/lib/cfgadm_plugins/sata/spec/Makefile.targ => deleted_files/usr/src/lib/cfgadm_plugins/sata/spec/Makefile.targ rename : usr/src/lib/cfgadm_plugins/sata/spec/amd64/Makefile => deleted_files/usr/src/lib/cfgadm_plugins/sata/spec/amd64/Makefile rename : usr/src/lib/cfgadm_plugins/sata/spec/cfga_sata.spec => deleted_files/usr/src/lib/cfgadm_plugins/sata/spec/cfga_sata.spec rename : usr/src/lib/cfgadm_plugins/sata/spec/i386/Makefile => deleted_files/usr/src/lib/cfgadm_plugins/sata/spec/i386/Makefile rename : usr/src/lib/cfgadm_plugins/sata/spec/versions => deleted_files/usr/src/lib/cfgadm_plugins/sata/spec/versions rename : usr/src/lib/cfgadm_plugins/scsi/spec/Makefile => deleted_files/usr/src/lib/cfgadm_plugins/scsi/spec/Makefile rename : usr/src/lib/cfgadm_plugins/scsi/spec/Makefile.targ => deleted_files/usr/src/lib/cfgadm_plugins/scsi/spec/Makefile.targ rename : usr/src/lib/cfgadm_plugins/scsi/spec/amd64/Makefile => deleted_files/usr/src/lib/cfgadm_plugins/scsi/spec/amd64/Makefile rename : usr/src/lib/cfgadm_plugins/scsi/spec/cfga_scsi.spec => deleted_files/usr/src/lib/cfgadm_plugins/scsi/spec/cfga_scsi.spec rename : usr/src/lib/cfgadm_plugins/scsi/spec/i386/Makefile => deleted_files/usr/src/lib/cfgadm_plugins/scsi/spec/i386/Makefile rename : usr/src/lib/cfgadm_plugins/scsi/spec/sparc/Makefile => deleted_files/usr/src/lib/cfgadm_plugins/scsi/spec/sparc/Makefile rename : usr/src/lib/cfgadm_plugins/scsi/spec/sparcv9/Makefile => deleted_files/usr/src/lib/cfgadm_plugins/scsi/spec/sparcv9/Makefile rename : usr/src/lib/cfgadm_plugins/scsi/spec/versions => deleted_files/usr/src/lib/cfgadm_plugins/scsi/spec/versions rename : usr/src/lib/cfgadm_plugins/usb/spec/Makefile => deleted_files/usr/src/lib/cfgadm_plugins/usb/spec/Makefile rename : usr/src/lib/cfgadm_plugins/usb/spec/Makefile.targ => deleted_files/usr/src/lib/cfgadm_plugins/usb/spec/Makefile.targ rename : usr/src/lib/cfgadm_plugins/usb/spec/amd64/Makefile => deleted_files/usr/src/lib/cfgadm_plugins/usb/spec/amd64/Makefile rename : usr/src/lib/cfgadm_plugins/usb/spec/cfga_usb.spec => deleted_files/usr/src/lib/cfgadm_plugins/usb/spec/cfga_usb.spec rename : usr/src/lib/cfgadm_plugins/usb/spec/i386/Makefile => deleted_files/usr/src/lib/cfgadm_plugins/usb/spec/i386/Makefile rename : usr/src/lib/cfgadm_plugins/usb/spec/sparc/Makefile => deleted_files/usr/src/lib/cfgadm_plugins/usb/spec/sparc/Makefile rename : usr/src/lib/cfgadm_plugins/usb/spec/sparcv9/Makefile => deleted_files/usr/src/lib/cfgadm_plugins/usb/spec/sparcv9/Makefile rename : usr/src/lib/cfgadm_plugins/usb/spec/versions => deleted_files/usr/src/lib/cfgadm_plugins/usb/spec/versions rename : usr/src/lib/crypt_modules/bsdbf/spec/Makefile => deleted_files/usr/src/lib/crypt_modules/bsdbf/spec/Makefile rename : usr/src/lib/crypt_modules/bsdbf/spec/Makefile.targ => deleted_files/usr/src/lib/crypt_modules/bsdbf/spec/Makefile.targ rename : usr/src/lib/crypt_modules/bsdbf/spec/amd64/Makefile => deleted_files/usr/src/lib/crypt_modules/bsdbf/spec/amd64/Makefile rename : usr/src/lib/crypt_modules/bsdbf/spec/bsdbf.spec => deleted_files/usr/src/lib/crypt_modules/bsdbf/spec/bsdbf.spec rename : usr/src/lib/crypt_modules/bsdbf/spec/i386/Makefile => deleted_files/usr/src/lib/crypt_modules/bsdbf/spec/i386/Makefile rename : usr/src/lib/crypt_modules/bsdbf/spec/sparc/Makefile => deleted_files/usr/src/lib/crypt_modules/bsdbf/spec/sparc/Makefile rename : usr/src/lib/crypt_modules/bsdbf/spec/sparcv9/Makefile => deleted_files/usr/src/lib/crypt_modules/bsdbf/spec/sparcv9/Makefile rename : usr/src/lib/crypt_modules/bsdbf/spec/versions => deleted_files/usr/src/lib/crypt_modules/bsdbf/spec/versions rename : usr/src/lib/crypt_modules/bsdmd5/spec/Makefile => deleted_files/usr/src/lib/crypt_modules/bsdmd5/spec/Makefile rename : usr/src/lib/crypt_modules/bsdmd5/spec/Makefile.targ => deleted_files/usr/src/lib/crypt_modules/bsdmd5/spec/Makefile.targ rename : usr/src/lib/crypt_modules/bsdmd5/spec/amd64/Makefile => deleted_files/usr/src/lib/crypt_modules/bsdmd5/spec/amd64/Makefile rename : usr/src/lib/crypt_modules/bsdmd5/spec/bsdmd5.spec => deleted_files/usr/src/lib/crypt_modules/bsdmd5/spec/bsdmd5.spec rename : usr/src/lib/crypt_modules/bsdmd5/spec/i386/Makefile => deleted_files/usr/src/lib/crypt_modules/bsdmd5/spec/i386/Makefile rename : usr/src/lib/crypt_modules/bsdmd5/spec/sparc/Makefile => deleted_files/usr/src/lib/crypt_modules/bsdmd5/spec/sparc/Makefile rename : usr/src/lib/crypt_modules/bsdmd5/spec/sparcv9/Makefile => deleted_files/usr/src/lib/crypt_modules/bsdmd5/spec/sparcv9/Makefile rename : usr/src/lib/crypt_modules/bsdmd5/spec/versions => deleted_files/usr/src/lib/crypt_modules/bsdmd5/spec/versions rename : usr/src/lib/crypt_modules/sunmd5/spec/Makefile => deleted_files/usr/src/lib/crypt_modules/sunmd5/spec/Makefile rename : usr/src/lib/crypt_modules/sunmd5/spec/Makefile.targ => deleted_files/usr/src/lib/crypt_modules/sunmd5/spec/Makefile.targ rename : usr/src/lib/crypt_modules/sunmd5/spec/amd64/Makefile => deleted_files/usr/src/lib/crypt_modules/sunmd5/spec/amd64/Makefile rename : usr/src/lib/crypt_modules/sunmd5/spec/i386/Makefile => deleted_files/usr/src/lib/crypt_modules/sunmd5/spec/i386/Makefile rename : usr/src/lib/crypt_modules/sunmd5/spec/sparc/Makefile => deleted_files/usr/src/lib/crypt_modules/sunmd5/spec/sparc/Makefile rename : usr/src/lib/crypt_modules/sunmd5/spec/sparcv9/Makefile => deleted_files/usr/src/lib/crypt_modules/sunmd5/spec/sparcv9/Makefile rename : usr/src/lib/crypt_modules/sunmd5/spec/sunmd5.spec => deleted_files/usr/src/lib/crypt_modules/sunmd5/spec/sunmd5.spec rename : usr/src/lib/crypt_modules/sunmd5/spec/versions => deleted_files/usr/src/lib/crypt_modules/sunmd5/spec/versions rename : usr/src/lib/fm/libdiagcode/spec/Makefile => deleted_files/usr/src/lib/fm/libdiagcode/spec/Makefile rename : usr/src/lib/fm/libdiagcode/spec/Makefile.targ => deleted_files/usr/src/lib/fm/libdiagcode/spec/Makefile.targ rename : usr/src/lib/fm/libdiagcode/spec/amd64/Makefile => deleted_files/usr/src/lib/fm/libdiagcode/spec/amd64/Makefile rename : usr/src/lib/fm/libdiagcode/spec/diagcode.spec => deleted_files/usr/src/lib/fm/libdiagcode/spec/diagcode.spec rename : usr/src/lib/fm/libdiagcode/spec/i386/Makefile => deleted_files/usr/src/lib/fm/libdiagcode/spec/i386/Makefile rename : usr/src/lib/fm/libdiagcode/spec/sparc/Makefile => deleted_files/usr/src/lib/fm/libdiagcode/spec/sparc/Makefile rename : usr/src/lib/fm/libdiagcode/spec/sparcv9/Makefile => deleted_files/usr/src/lib/fm/libdiagcode/spec/sparcv9/Makefile rename : usr/src/lib/fm/libdiagcode/spec/versions => deleted_files/usr/src/lib/fm/libdiagcode/spec/versions rename : usr/src/lib/fm/libfmd_adm/spec/Makefile => deleted_files/usr/src/lib/fm/libfmd_adm/spec/Makefile rename : usr/src/lib/fm/libfmd_adm/spec/Makefile.targ => deleted_files/usr/src/lib/fm/libfmd_adm/spec/Makefile.targ rename : usr/src/lib/fm/libfmd_adm/spec/amd64/Makefile => deleted_files/usr/src/lib/fm/libfmd_adm/spec/amd64/Makefile rename : usr/src/lib/fm/libfmd_adm/spec/fmd_adm.spec => deleted_files/usr/src/lib/fm/libfmd_adm/spec/fmd_adm.spec rename : usr/src/lib/fm/libfmd_adm/spec/i386/Makefile => deleted_files/usr/src/lib/fm/libfmd_adm/spec/i386/Makefile rename : usr/src/lib/fm/libfmd_adm/spec/sparc/Makefile => deleted_files/usr/src/lib/fm/libfmd_adm/spec/sparc/Makefile rename : usr/src/lib/fm/libfmd_adm/spec/sparcv9/Makefile => deleted_files/usr/src/lib/fm/libfmd_adm/spec/sparcv9/Makefile rename : usr/src/lib/fm/libfmd_adm/spec/versions => deleted_files/usr/src/lib/fm/libfmd_adm/spec/versions rename : usr/src/lib/fm/libfmd_log/spec/Makefile => deleted_files/usr/src/lib/fm/libfmd_log/spec/Makefile rename : usr/src/lib/fm/libfmd_log/spec/Makefile.targ => deleted_files/usr/src/lib/fm/libfmd_log/spec/Makefile.targ rename : usr/src/lib/fm/libfmd_log/spec/amd64/Makefile => deleted_files/usr/src/lib/fm/libfmd_log/spec/amd64/Makefile rename : usr/src/lib/fm/libfmd_log/spec/fmd_log.spec => deleted_files/usr/src/lib/fm/libfmd_log/spec/fmd_log.spec rename : usr/src/lib/fm/libfmd_log/spec/i386/Makefile => deleted_files/usr/src/lib/fm/libfmd_log/spec/i386/Makefile rename : usr/src/lib/fm/libfmd_log/spec/sparc/Makefile => deleted_files/usr/src/lib/fm/libfmd_log/spec/sparc/Makefile rename : usr/src/lib/fm/libfmd_log/spec/sparcv9/Makefile => deleted_files/usr/src/lib/fm/libfmd_log/spec/sparcv9/Makefile rename : usr/src/lib/fm/libfmd_log/spec/versions => deleted_files/usr/src/lib/fm/libfmd_log/spec/versions rename : usr/src/lib/fm/libfmd_snmp/spec/Makefile => deleted_files/usr/src/lib/fm/libfmd_snmp/spec/Makefile rename : usr/src/lib/fm/libfmd_snmp/spec/Makefile.targ => deleted_files/usr/src/lib/fm/libfmd_snmp/spec/Makefile.targ rename : usr/src/lib/fm/libfmd_snmp/spec/amd64/Makefile => deleted_files/usr/src/lib/fm/libfmd_snmp/spec/amd64/Makefile rename : usr/src/lib/fm/libfmd_snmp/spec/fmd_snmp.spec => deleted_files/usr/src/lib/fm/libfmd_snmp/spec/fmd_snmp.spec rename : usr/src/lib/fm/libfmd_snmp/spec/i386/Makefile => deleted_files/usr/src/lib/fm/libfmd_snmp/spec/i386/Makefile rename : usr/src/lib/fm/libfmd_snmp/spec/sparc/Makefile => deleted_files/usr/src/lib/fm/libfmd_snmp/spec/sparc/Makefile rename : usr/src/lib/fm/libfmd_snmp/spec/sparcv9/Makefile => deleted_files/usr/src/lib/fm/libfmd_snmp/spec/sparcv9/Makefile rename : usr/src/lib/fm/libfmd_snmp/spec/versions => deleted_files/usr/src/lib/fm/libfmd_snmp/spec/versions rename : usr/src/lib/fm/libldom/spec/Makefile => deleted_files/usr/src/lib/fm/libldom/spec/Makefile rename : usr/src/lib/fm/libldom/spec/Makefile.targ => deleted_files/usr/src/lib/fm/libldom/spec/Makefile.targ rename : usr/src/lib/fm/libldom/spec/ldom.spec => deleted_files/usr/src/lib/fm/libldom/spec/ldom.spec rename : usr/src/lib/fm/libldom/spec/sparc/Makefile => deleted_files/usr/src/lib/fm/libldom/spec/sparc/Makefile rename : usr/src/lib/fm/libldom/spec/sparcv9/Makefile => deleted_files/usr/src/lib/fm/libldom/spec/sparcv9/Makefile rename : usr/src/lib/fm/libldom/spec/versions => deleted_files/usr/src/lib/fm/libldom/spec/versions rename : usr/src/lib/fm/libmdesc/spec/Makefile => deleted_files/usr/src/lib/fm/libmdesc/spec/Makefile rename : usr/src/lib/fm/libmdesc/spec/Makefile.targ => deleted_files/usr/src/lib/fm/libmdesc/spec/Makefile.targ rename : usr/src/lib/fm/libmdesc/spec/mdesc.spec => deleted_files/usr/src/lib/fm/libmdesc/spec/mdesc.spec rename : usr/src/lib/fm/libmdesc/spec/sparc/Makefile => deleted_files/usr/src/lib/fm/libmdesc/spec/sparc/Makefile rename : usr/src/lib/fm/libmdesc/spec/sparcv9/Makefile => deleted_files/usr/src/lib/fm/libmdesc/spec/sparcv9/Makefile rename : usr/src/lib/fm/libmdesc/spec/versions => deleted_files/usr/src/lib/fm/libmdesc/spec/versions rename : usr/src/lib/fm/topo/libtopo/spec/Makefile => deleted_files/usr/src/lib/fm/topo/libtopo/spec/Makefile rename : usr/src/lib/fm/topo/libtopo/spec/Makefile.targ => deleted_files/usr/src/lib/fm/topo/libtopo/spec/Makefile.targ rename : usr/src/lib/fm/topo/libtopo/spec/amd64/Makefile => deleted_files/usr/src/lib/fm/topo/libtopo/spec/amd64/Makefile rename : usr/src/lib/fm/topo/libtopo/spec/i386/Makefile => deleted_files/usr/src/lib/fm/topo/libtopo/spec/i386/Makefile rename : usr/src/lib/fm/topo/libtopo/spec/sparc/Makefile => deleted_files/usr/src/lib/fm/topo/libtopo/spec/sparc/Makefile rename : usr/src/lib/fm/topo/libtopo/spec/sparcv9/Makefile => deleted_files/usr/src/lib/fm/topo/libtopo/spec/sparcv9/Makefile rename : usr/src/lib/fm/topo/libtopo/spec/topo.spec => deleted_files/usr/src/lib/fm/topo/libtopo/spec/topo.spec rename : usr/src/lib/fm/topo/libtopo/spec/versions => deleted_files/usr/src/lib/fm/topo/libtopo/spec/versions rename : usr/src/lib/gss_mechs/mech_krb5/spec/Makefile => deleted_files/usr/src/lib/gss_mechs/mech_krb5/spec/Makefile rename : usr/src/lib/gss_mechs/mech_krb5/spec/Makefile.spec => deleted_files/usr/src/lib/gss_mechs/mech_krb5/spec/Makefile.spec rename : usr/src/lib/gss_mechs/mech_krb5/spec/Makefile.targ => deleted_files/usr/src/lib/gss_mechs/mech_krb5/spec/Makefile.targ rename : usr/src/lib/gss_mechs/mech_krb5/spec/amd64/Makefile => deleted_files/usr/src/lib/gss_mechs/mech_krb5/spec/amd64/Makefile rename : usr/src/lib/gss_mechs/mech_krb5/spec/i386/Makefile => deleted_files/usr/src/lib/gss_mechs/mech_krb5/spec/i386/Makefile rename : usr/src/lib/gss_mechs/mech_krb5/spec/krb5_asn1.spec => deleted_files/usr/src/lib/gss_mechs/mech_krb5/spec/krb5_asn1.spec rename : usr/src/lib/gss_mechs/mech_krb5/spec/krb5_cache.spec => deleted_files/usr/src/lib/gss_mechs/mech_krb5/spec/krb5_cache.spec rename : usr/src/lib/gss_mechs/mech_krb5/spec/krb5_clean.spec => deleted_files/usr/src/lib/gss_mechs/mech_krb5/spec/krb5_clean.spec rename : usr/src/lib/gss_mechs/mech_krb5/spec/krb5_crypto.spec => deleted_files/usr/src/lib/gss_mechs/mech_krb5/spec/krb5_crypto.spec rename : usr/src/lib/gss_mechs/mech_krb5/spec/krb5_errtbl.spec => deleted_files/usr/src/lib/gss_mechs/mech_krb5/spec/krb5_errtbl.spec rename : usr/src/lib/gss_mechs/mech_krb5/spec/krb5_gss.spec => deleted_files/usr/src/lib/gss_mechs/mech_krb5/spec/krb5_gss.spec rename : usr/src/lib/gss_mechs/mech_krb5/spec/krb5_int.spec => deleted_files/usr/src/lib/gss_mechs/mech_krb5/spec/krb5_int.spec rename : usr/src/lib/gss_mechs/mech_krb5/spec/krb5_keytab.spec => deleted_files/usr/src/lib/gss_mechs/mech_krb5/spec/krb5_keytab.spec rename : usr/src/lib/gss_mechs/mech_krb5/spec/krb5_krb.spec => deleted_files/usr/src/lib/gss_mechs/mech_krb5/spec/krb5_krb.spec rename : usr/src/lib/gss_mechs/mech_krb5/spec/krb5_mech1.spec => deleted_files/usr/src/lib/gss_mechs/mech_krb5/spec/krb5_mech1.spec rename : usr/src/lib/gss_mechs/mech_krb5/spec/krb5_mech2.spec => deleted_files/usr/src/lib/gss_mechs/mech_krb5/spec/krb5_mech2.spec rename : usr/src/lib/gss_mechs/mech_krb5/spec/krb5_mech3.spec => deleted_files/usr/src/lib/gss_mechs/mech_krb5/spec/krb5_mech3.spec rename : usr/src/lib/gss_mechs/mech_krb5/spec/krb5_profile.spec => deleted_files/usr/src/lib/gss_mechs/mech_krb5/spec/krb5_profile.spec rename : usr/src/lib/gss_mechs/mech_krb5/spec/sparc/Makefile => deleted_files/usr/src/lib/gss_mechs/mech_krb5/spec/sparc/Makefile rename : usr/src/lib/gss_mechs/mech_krb5/spec/sparcv9/Makefile => deleted_files/usr/src/lib/gss_mechs/mech_krb5/spec/sparcv9/Makefile rename : usr/src/lib/gss_mechs/mech_krb5/spec/versions => deleted_files/usr/src/lib/gss_mechs/mech_krb5/spec/versions rename : usr/src/lib/gss_mechs/mech_spnego/spec/Makefile => deleted_files/usr/src/lib/gss_mechs/mech_spnego/spec/Makefile rename : usr/src/lib/gss_mechs/mech_spnego/spec/Makefile.targ => deleted_files/usr/src/lib/gss_mechs/mech_spnego/spec/Makefile.targ rename : usr/src/lib/gss_mechs/mech_spnego/spec/amd64/Makefile => deleted_files/usr/src/lib/gss_mechs/mech_spnego/spec/amd64/Makefile rename : usr/src/lib/gss_mechs/mech_spnego/spec/clean.spec => deleted_files/usr/src/lib/gss_mechs/mech_spnego/spec/clean.spec rename : usr/src/lib/gss_mechs/mech_spnego/spec/i386/Makefile => deleted_files/usr/src/lib/gss_mechs/mech_spnego/spec/i386/Makefile rename : usr/src/lib/gss_mechs/mech_spnego/spec/sparc/Makefile => deleted_files/usr/src/lib/gss_mechs/mech_spnego/spec/sparc/Makefile rename : usr/src/lib/gss_mechs/mech_spnego/spec/sparcv9/Makefile => deleted_files/usr/src/lib/gss_mechs/mech_spnego/spec/sparcv9/Makefile rename : usr/src/lib/gss_mechs/mech_spnego/spec/spnego.spec => deleted_files/usr/src/lib/gss_mechs/mech_spnego/spec/spnego.spec rename : usr/src/lib/gss_mechs/mech_spnego/spec/versions => deleted_files/usr/src/lib/gss_mechs/mech_spnego/spec/versions rename : usr/src/lib/krb5/Makefile.spec.arch => deleted_files/usr/src/lib/krb5/Makefile.spec.arch rename : usr/src/lib/krb5/db2/spec/Makefile => deleted_files/usr/src/lib/krb5/db2/spec/Makefile rename : usr/src/lib/krb5/db2/spec/Makefile.targ => deleted_files/usr/src/lib/krb5/db2/spec/Makefile.targ rename : usr/src/lib/krb5/db2/spec/db2.spec => deleted_files/usr/src/lib/krb5/db2/spec/db2.spec rename : usr/src/lib/krb5/db2/spec/i386/Makefile => deleted_files/usr/src/lib/krb5/db2/spec/i386/Makefile rename : usr/src/lib/krb5/db2/spec/sparc/Makefile => deleted_files/usr/src/lib/krb5/db2/spec/sparc/Makefile rename : usr/src/lib/krb5/db2/spec/versions => deleted_files/usr/src/lib/krb5/db2/spec/versions rename : usr/src/lib/krb5/dyn/spec/Makefile => deleted_files/usr/src/lib/krb5/dyn/spec/Makefile rename : usr/src/lib/krb5/dyn/spec/Makefile.targ => deleted_files/usr/src/lib/krb5/dyn/spec/Makefile.targ rename : usr/src/lib/krb5/dyn/spec/dyn.spec => deleted_files/usr/src/lib/krb5/dyn/spec/dyn.spec rename : usr/src/lib/krb5/dyn/spec/i386/Makefile => deleted_files/usr/src/lib/krb5/dyn/spec/i386/Makefile rename : usr/src/lib/krb5/dyn/spec/sparc/Makefile => deleted_files/usr/src/lib/krb5/dyn/spec/sparc/Makefile rename : usr/src/lib/krb5/dyn/spec/versions => deleted_files/usr/src/lib/krb5/dyn/spec/versions rename : usr/src/lib/krb5/kadm5/clnt/spec/Makefile => deleted_files/usr/src/lib/krb5/kadm5/clnt/spec/Makefile rename : usr/src/lib/krb5/kadm5/clnt/spec/Makefile.targ => deleted_files/usr/src/lib/krb5/kadm5/clnt/spec/Makefile.targ rename : usr/src/lib/krb5/kadm5/clnt/spec/amd64/Makefile => deleted_files/usr/src/lib/krb5/kadm5/clnt/spec/amd64/Makefile rename : usr/src/lib/krb5/kadm5/clnt/spec/i386/Makefile => deleted_files/usr/src/lib/krb5/kadm5/clnt/spec/i386/Makefile rename : usr/src/lib/krb5/kadm5/clnt/spec/kadm5clnt.spec => deleted_files/usr/src/lib/krb5/kadm5/clnt/spec/kadm5clnt.spec rename : usr/src/lib/krb5/kadm5/clnt/spec/sparc/Makefile => deleted_files/usr/src/lib/krb5/kadm5/clnt/spec/sparc/Makefile rename : usr/src/lib/krb5/kadm5/clnt/spec/sparcv9/Makefile => deleted_files/usr/src/lib/krb5/kadm5/clnt/spec/sparcv9/Makefile rename : usr/src/lib/krb5/kadm5/clnt/spec/versions => deleted_files/usr/src/lib/krb5/kadm5/clnt/spec/versions rename : usr/src/lib/krb5/kadm5/srv/spec/Makefile => deleted_files/usr/src/lib/krb5/kadm5/srv/spec/Makefile rename : usr/src/lib/krb5/kadm5/srv/spec/Makefile.targ => deleted_files/usr/src/lib/krb5/kadm5/srv/spec/Makefile.targ rename : usr/src/lib/krb5/kadm5/srv/spec/i386/Makefile => deleted_files/usr/src/lib/krb5/kadm5/srv/spec/i386/Makefile rename : usr/src/lib/krb5/kadm5/srv/spec/kadm5srv.spec => deleted_files/usr/src/lib/krb5/kadm5/srv/spec/kadm5srv.spec rename : usr/src/lib/krb5/kadm5/srv/spec/sparc/Makefile => deleted_files/usr/src/lib/krb5/kadm5/srv/spec/sparc/Makefile rename : usr/src/lib/krb5/kadm5/srv/spec/versions => deleted_files/usr/src/lib/krb5/kadm5/srv/spec/versions rename : usr/src/lib/krb5/kdb/spec/Makefile => deleted_files/usr/src/lib/krb5/kdb/spec/Makefile rename : usr/src/lib/krb5/kdb/spec/Makefile.targ => deleted_files/usr/src/lib/krb5/kdb/spec/Makefile.targ rename : usr/src/lib/krb5/kdb/spec/i386/Makefile => deleted_files/usr/src/lib/krb5/kdb/spec/i386/Makefile rename : usr/src/lib/krb5/kdb/spec/kdb.spec => deleted_files/usr/src/lib/krb5/kdb/spec/kdb.spec rename : usr/src/lib/krb5/kdb/spec/sparc/Makefile => deleted_files/usr/src/lib/krb5/kdb/spec/sparc/Makefile rename : usr/src/lib/krb5/kdb/spec/versions => deleted_files/usr/src/lib/krb5/kdb/spec/versions rename : usr/src/lib/krb5/ss/spec/Makefile => deleted_files/usr/src/lib/krb5/ss/spec/Makefile rename : usr/src/lib/krb5/ss/spec/Makefile.targ => deleted_files/usr/src/lib/krb5/ss/spec/Makefile.targ rename : usr/src/lib/krb5/ss/spec/amd64/Makefile => deleted_files/usr/src/lib/krb5/ss/spec/amd64/Makefile rename : usr/src/lib/krb5/ss/spec/i386/Makefile => deleted_files/usr/src/lib/krb5/ss/spec/i386/Makefile rename : usr/src/lib/krb5/ss/spec/sparc/Makefile => deleted_files/usr/src/lib/krb5/ss/spec/sparc/Makefile rename : usr/src/lib/krb5/ss/spec/sparcv9/Makefile => deleted_files/usr/src/lib/krb5/ss/spec/sparcv9/Makefile rename : usr/src/lib/krb5/ss/spec/ss.spec => deleted_files/usr/src/lib/krb5/ss/spec/ss.spec rename : usr/src/lib/krb5/ss/spec/versions => deleted_files/usr/src/lib/krb5/ss/spec/versions rename : usr/src/lib/libadm/spec/Makefile => deleted_files/usr/src/lib/libadm/spec/Makefile rename : usr/src/lib/libadm/spec/Makefile.targ => deleted_files/usr/src/lib/libadm/spec/Makefile.targ rename : usr/src/lib/libadm/spec/adm.spec => deleted_files/usr/src/lib/libadm/spec/adm.spec rename : usr/src/lib/libadm/spec/amd64/Makefile => deleted_files/usr/src/lib/libadm/spec/amd64/Makefile rename : usr/src/lib/libadm/spec/i386/Makefile => deleted_files/usr/src/lib/libadm/spec/i386/Makefile rename : usr/src/lib/libadm/spec/sparc/Makefile => deleted_files/usr/src/lib/libadm/spec/sparc/Makefile rename : usr/src/lib/libadm/spec/sparcv9/Makefile => deleted_files/usr/src/lib/libadm/spec/sparcv9/Makefile rename : usr/src/lib/libadm/spec/versions => deleted_files/usr/src/lib/libadm/spec/versions rename : usr/src/lib/libadt_jni/spec/Makefile => deleted_files/usr/src/lib/libadt_jni/spec/Makefile rename : usr/src/lib/libadt_jni/spec/Makefile.targ => deleted_files/usr/src/lib/libadt_jni/spec/Makefile.targ rename : usr/src/lib/libadt_jni/spec/amd64/Makefile => deleted_files/usr/src/lib/libadt_jni/spec/amd64/Makefile rename : usr/src/lib/libadt_jni/spec/i386/Makefile => deleted_files/usr/src/lib/libadt_jni/spec/i386/Makefile rename : usr/src/lib/libadt_jni/spec/private.spec => deleted_files/usr/src/lib/libadt_jni/spec/private.spec rename : usr/src/lib/libadt_jni/spec/sparc/Makefile => deleted_files/usr/src/lib/libadt_jni/spec/sparc/Makefile rename : usr/src/lib/libadt_jni/spec/sparcv9/Makefile => deleted_files/usr/src/lib/libadt_jni/spec/sparcv9/Makefile rename : usr/src/lib/libadt_jni/spec/versions => deleted_files/usr/src/lib/libadt_jni/spec/versions rename : usr/src/lib/libavl/spec/Makefile => deleted_files/usr/src/lib/libavl/spec/Makefile rename : usr/src/lib/libavl/spec/Makefile.targ => deleted_files/usr/src/lib/libavl/spec/Makefile.targ rename : usr/src/lib/libavl/spec/amd64/Makefile => deleted_files/usr/src/lib/libavl/spec/amd64/Makefile rename : usr/src/lib/libavl/spec/avl.spec => deleted_files/usr/src/lib/libavl/spec/avl.spec rename : usr/src/lib/libavl/spec/i386/Makefile => deleted_files/usr/src/lib/libavl/spec/i386/Makefile rename : usr/src/lib/libavl/spec/sparc/Makefile => deleted_files/usr/src/lib/libavl/spec/sparc/Makefile rename : usr/src/lib/libavl/spec/sparcv9/Makefile => deleted_files/usr/src/lib/libavl/spec/sparcv9/Makefile rename : usr/src/lib/libavl/spec/versions => deleted_files/usr/src/lib/libavl/spec/versions rename : usr/src/lib/libbsdmalloc/spec/Makefile => deleted_files/usr/src/lib/libbsdmalloc/spec/Makefile rename : usr/src/lib/libbsdmalloc/spec/Makefile.targ => deleted_files/usr/src/lib/libbsdmalloc/spec/Makefile.targ rename : usr/src/lib/libbsdmalloc/spec/amd64/Makefile => deleted_files/usr/src/lib/libbsdmalloc/spec/amd64/Makefile rename : usr/src/lib/libbsdmalloc/spec/bsdmalloc.spec => deleted_files/usr/src/lib/libbsdmalloc/spec/bsdmalloc.spec rename : usr/src/lib/libbsdmalloc/spec/i386/Makefile => deleted_files/usr/src/lib/libbsdmalloc/spec/i386/Makefile rename : usr/src/lib/libbsdmalloc/spec/sparc/Makefile => deleted_files/usr/src/lib/libbsdmalloc/spec/sparc/Makefile rename : usr/src/lib/libbsdmalloc/spec/sparcv9/Makefile => deleted_files/usr/src/lib/libbsdmalloc/spec/sparcv9/Makefile rename : usr/src/lib/libbsdmalloc/spec/versions => deleted_files/usr/src/lib/libbsdmalloc/spec/versions rename : usr/src/lib/libbsm/spec/Makefile => deleted_files/usr/src/lib/libbsm/spec/Makefile rename : usr/src/lib/libbsm/spec/Makefile.targ => deleted_files/usr/src/lib/libbsm/spec/Makefile.targ rename : usr/src/lib/libbsm/spec/amd64/Makefile => deleted_files/usr/src/lib/libbsm/spec/amd64/Makefile rename : usr/src/lib/libbsm/spec/au_open.spec => deleted_files/usr/src/lib/libbsm/spec/au_open.spec rename : usr/src/lib/libbsm/spec/au_preselect.spec => deleted_files/usr/src/lib/libbsm/spec/au_preselect.spec rename : usr/src/lib/libbsm/spec/au_to.spec => deleted_files/usr/src/lib/libbsm/spec/au_to.spec rename : usr/src/lib/libbsm/spec/au_user_mask.spec => deleted_files/usr/src/lib/libbsm/spec/au_user_mask.spec rename : usr/src/lib/libbsm/spec/audit.spec => deleted_files/usr/src/lib/libbsm/spec/audit.spec rename : usr/src/lib/libbsm/spec/auditon.spec => deleted_files/usr/src/lib/libbsm/spec/auditon.spec rename : usr/src/lib/libbsm/spec/auditsvc.spec => deleted_files/usr/src/lib/libbsm/spec/auditsvc.spec rename : usr/src/lib/libbsm/spec/devalloc.spec => deleted_files/usr/src/lib/libbsm/spec/devalloc.spec rename : usr/src/lib/libbsm/spec/exceptions.spec => deleted_files/usr/src/lib/libbsm/spec/exceptions.spec rename : usr/src/lib/libbsm/spec/getacinfo.spec => deleted_files/usr/src/lib/libbsm/spec/getacinfo.spec rename : usr/src/lib/libbsm/spec/getauclassent.spec => deleted_files/usr/src/lib/libbsm/spec/getauclassent.spec rename : usr/src/lib/libbsm/spec/getaudit.spec => deleted_files/usr/src/lib/libbsm/spec/getaudit.spec rename : usr/src/lib/libbsm/spec/getauditflags.spec => deleted_files/usr/src/lib/libbsm/spec/getauditflags.spec rename : usr/src/lib/libbsm/spec/getauevent.spec => deleted_files/usr/src/lib/libbsm/spec/getauevent.spec rename : usr/src/lib/libbsm/spec/getauid.spec => deleted_files/usr/src/lib/libbsm/spec/getauid.spec rename : usr/src/lib/libbsm/spec/getauusernam.spec => deleted_files/usr/src/lib/libbsm/spec/getauusernam.spec rename : usr/src/lib/libbsm/spec/getfauditflags.spec => deleted_files/usr/src/lib/libbsm/spec/getfauditflags.spec rename : usr/src/lib/libbsm/spec/i386/Makefile => deleted_files/usr/src/lib/libbsm/spec/i386/Makefile rename : usr/src/lib/libbsm/spec/private.spec => deleted_files/usr/src/lib/libbsm/spec/private.spec rename : usr/src/lib/libbsm/spec/sparc/Makefile => deleted_files/usr/src/lib/libbsm/spec/sparc/Makefile rename : usr/src/lib/libbsm/spec/sparcv9/Makefile => deleted_files/usr/src/lib/libbsm/spec/sparcv9/Makefile rename : usr/src/lib/libbsm/spec/versions => deleted_files/usr/src/lib/libbsm/spec/versions rename : usr/src/lib/libc/spec/Makefile => deleted_files/usr/src/lib/libc/spec/Makefile rename : usr/src/lib/libc/spec/Makefile.targ => deleted_files/usr/src/lib/libc/spec/Makefile.targ rename : usr/src/lib/libc/spec/aio.spec => deleted_files/usr/src/lib/libc/spec/aio.spec rename : usr/src/lib/libc/spec/amd64/Makefile => deleted_files/usr/src/lib/libc/spec/amd64/Makefile rename : usr/src/lib/libc/spec/atomic.spec => deleted_files/usr/src/lib/libc/spec/atomic.spec rename : usr/src/lib/libc/spec/data.spec => deleted_files/usr/src/lib/libc/spec/data.spec rename : usr/src/lib/libc/spec/door.spec => deleted_files/usr/src/lib/libc/spec/door.spec rename : usr/src/lib/libc/spec/fmtmsg.spec => deleted_files/usr/src/lib/libc/spec/fmtmsg.spec rename : usr/src/lib/libc/spec/fp.spec => deleted_files/usr/src/lib/libc/spec/fp.spec rename : usr/src/lib/libc/spec/gen.spec => deleted_files/usr/src/lib/libc/spec/gen.spec rename : usr/src/lib/libc/spec/i18n.spec => deleted_files/usr/src/lib/libc/spec/i18n.spec rename : usr/src/lib/libc/spec/i386/Makefile => deleted_files/usr/src/lib/libc/spec/i386/Makefile rename : usr/src/lib/libc/spec/interface64.spec => deleted_files/usr/src/lib/libc/spec/interface64.spec rename : usr/src/lib/libc/spec/missing.spec => deleted_files/usr/src/lib/libc/spec/missing.spec rename : usr/src/lib/libc/spec/print.spec => deleted_files/usr/src/lib/libc/spec/print.spec rename : usr/src/lib/libc/spec/private.spec => deleted_files/usr/src/lib/libc/spec/private.spec rename : usr/src/lib/libc/spec/privatedata.spec => deleted_files/usr/src/lib/libc/spec/privatedata.spec rename : usr/src/lib/libc/spec/regex.spec => deleted_files/usr/src/lib/libc/spec/regex.spec rename : usr/src/lib/libc/spec/rt.spec => deleted_files/usr/src/lib/libc/spec/rt.spec rename : usr/src/lib/libc/spec/sparc/Makefile => deleted_files/usr/src/lib/libc/spec/sparc/Makefile rename : usr/src/lib/libc/spec/sparcv9/Makefile => deleted_files/usr/src/lib/libc/spec/sparcv9/Makefile rename : usr/src/lib/libc/spec/stdio.spec => deleted_files/usr/src/lib/libc/spec/stdio.spec rename : usr/src/lib/libc/spec/sys.spec => deleted_files/usr/src/lib/libc/spec/sys.spec rename : usr/src/lib/libc/spec/threads.spec => deleted_files/usr/src/lib/libc/spec/threads.spec rename : usr/src/lib/libc/spec/unwind.spec => deleted_files/usr/src/lib/libc/spec/unwind.spec rename : usr/src/lib/libc/spec/versions => deleted_files/usr/src/lib/libc/spec/versions rename : usr/src/lib/libc/spec/widec.spec => deleted_files/usr/src/lib/libc/spec/widec.spec rename : usr/src/lib/libc_db/spec/Makefile => deleted_files/usr/src/lib/libc_db/spec/Makefile rename : usr/src/lib/libc_db/spec/Makefile.targ => deleted_files/usr/src/lib/libc_db/spec/Makefile.targ rename : usr/src/lib/libc_db/spec/amd64/Makefile => deleted_files/usr/src/lib/libc_db/spec/amd64/Makefile rename : usr/src/lib/libc_db/spec/i386/Makefile => deleted_files/usr/src/lib/libc_db/spec/i386/Makefile rename : usr/src/lib/libc_db/spec/sparc/Makefile => deleted_files/usr/src/lib/libc_db/spec/sparc/Makefile rename : usr/src/lib/libc_db/spec/sparcv9/Makefile => deleted_files/usr/src/lib/libc_db/spec/sparcv9/Makefile rename : usr/src/lib/libc_db/spec/thread_db.spec => deleted_files/usr/src/lib/libc_db/spec/thread_db.spec rename : usr/src/lib/libc_db/spec/versions => deleted_files/usr/src/lib/libc_db/spec/versions rename : usr/src/lib/libc_psr/spec/Makefile => deleted_files/usr/src/lib/libc_psr/spec/Makefile rename : usr/src/lib/libc_psr/spec/Makefile.com => deleted_files/usr/src/lib/libc_psr/spec/Makefile.com rename : usr/src/lib/libc_psr/spec/sun4u-opl/Makefile => deleted_files/usr/src/lib/libc_psr/spec/sun4u-opl/Makefile rename : usr/src/lib/libc_psr/spec/sun4u-opl/Makefile.links => deleted_files/usr/src/lib/libc_psr/spec/sun4u-opl/Makefile.links rename : usr/src/lib/libc_psr/spec/sun4u-opl/c_psr-sparc.spec => deleted_files/usr/src/lib/libc_psr/spec/sun4u-opl/c_psr-sparc.spec rename : usr/src/lib/libc_psr/spec/sun4u-opl/c_psr-sparcv9.spec => deleted_files/usr/src/lib/libc_psr/spec/sun4u-opl/c_psr-sparcv9.spec rename : usr/src/lib/libc_psr/spec/sun4u-opl/sparc/Makefile => deleted_files/usr/src/lib/libc_psr/spec/sun4u-opl/sparc/Makefile rename : usr/src/lib/libc_psr/spec/sun4u-opl/sparcv9/Makefile => deleted_files/usr/src/lib/libc_psr/spec/sun4u-opl/sparcv9/Makefile rename : usr/src/lib/libc_psr/spec/sun4u-opl/versions-sparc => deleted_files/usr/src/lib/libc_psr/spec/sun4u-opl/versions-sparc rename : usr/src/lib/libc_psr/spec/sun4u-opl/versions-sparcv9 => deleted_files/usr/src/lib/libc_psr/spec/sun4u-opl/versions-sparcv9 rename : usr/src/lib/libc_psr/spec/sun4u/Makefile => deleted_files/usr/src/lib/libc_psr/spec/sun4u/Makefile rename : usr/src/lib/libc_psr/spec/sun4u/Makefile.links => deleted_files/usr/src/lib/libc_psr/spec/sun4u/Makefile.links rename : usr/src/lib/libc_psr/spec/sun4u/c_psr-sparc.spec => deleted_files/usr/src/lib/libc_psr/spec/sun4u/c_psr-sparc.spec rename : usr/src/lib/libc_psr/spec/sun4u/c_psr-sparcv9.spec => deleted_files/usr/src/lib/libc_psr/spec/sun4u/c_psr-sparcv9.spec rename : usr/src/lib/libc_psr/spec/sun4u/sparc/Makefile => deleted_files/usr/src/lib/libc_psr/spec/sun4u/sparc/Makefile rename : usr/src/lib/libc_psr/spec/sun4u/sparcv9/Makefile => deleted_files/usr/src/lib/libc_psr/spec/sun4u/sparcv9/Makefile rename : usr/src/lib/libc_psr/spec/sun4u/versions-sparc => deleted_files/usr/src/lib/libc_psr/spec/sun4u/versions-sparc rename : usr/src/lib/libc_psr/spec/sun4u/versions-sparcv9 => deleted_files/usr/src/lib/libc_psr/spec/sun4u/versions-sparcv9 rename : usr/src/lib/libc_psr/spec/sun4u_hwcap1/Makefile => deleted_files/usr/src/lib/libc_psr/spec/sun4u_hwcap1/Makefile rename : usr/src/lib/libc_psr/spec/sun4u_hwcap1/Makefile.links => deleted_files/usr/src/lib/libc_psr/spec/sun4u_hwcap1/Makefile.links rename : usr/src/lib/libc_psr/spec/sun4u_hwcap1/c_psr-sparc.spec => deleted_files/usr/src/lib/libc_psr/spec/sun4u_hwcap1/c_psr-sparc.spec rename : usr/src/lib/libc_psr/spec/sun4u_hwcap1/c_psr-sparcv9.spec => deleted_files/usr/src/lib/libc_psr/spec/sun4u_hwcap1/c_psr-sparcv9.spec rename : usr/src/lib/libc_psr/spec/sun4u_hwcap1/sparc/Makefile => deleted_files/usr/src/lib/libc_psr/spec/sun4u_hwcap1/sparc/Makefile rename : usr/src/lib/libc_psr/spec/sun4u_hwcap1/sparcv9/Makefile => deleted_files/usr/src/lib/libc_psr/spec/sun4u_hwcap1/sparcv9/Makefile rename : usr/src/lib/libc_psr/spec/sun4u_hwcap1/versions-sparc => deleted_files/usr/src/lib/libc_psr/spec/sun4u_hwcap1/versions-sparc rename : usr/src/lib/libc_psr/spec/sun4u_hwcap1/versions-sparcv9 => deleted_files/usr/src/lib/libc_psr/spec/sun4u_hwcap1/versions-sparcv9 rename : usr/src/lib/libc_psr/spec/sun4u_hwcap2/Makefile => deleted_files/usr/src/lib/libc_psr/spec/sun4u_hwcap2/Makefile rename : usr/src/lib/libc_psr/spec/sun4u_hwcap2/Makefile.links => deleted_files/usr/src/lib/libc_psr/spec/sun4u_hwcap2/Makefile.links rename : usr/src/lib/libc_psr/spec/sun4u_hwcap2/c_psr-sparc.spec => deleted_files/usr/src/lib/libc_psr/spec/sun4u_hwcap2/c_psr-sparc.spec rename : usr/src/lib/libc_psr/spec/sun4u_hwcap2/c_psr-sparcv9.spec => deleted_files/usr/src/lib/libc_psr/spec/sun4u_hwcap2/c_psr-sparcv9.spec rename : usr/src/lib/libc_psr/spec/sun4u_hwcap2/sparc/Makefile => deleted_files/usr/src/lib/libc_psr/spec/sun4u_hwcap2/sparc/Makefile rename : usr/src/lib/libc_psr/spec/sun4u_hwcap2/sparcv9/Makefile => deleted_files/usr/src/lib/libc_psr/spec/sun4u_hwcap2/sparcv9/Makefile rename : usr/src/lib/libc_psr/spec/sun4u_hwcap2/versions-sparc => deleted_files/usr/src/lib/libc_psr/spec/sun4u_hwcap2/versions-sparc rename : usr/src/lib/libc_psr/spec/sun4u_hwcap2/versions-sparcv9 => deleted_files/usr/src/lib/libc_psr/spec/sun4u_hwcap2/versions-sparcv9 rename : usr/src/lib/libc_psr/spec/sun4v_hwcap1/Makefile => deleted_files/usr/src/lib/libc_psr/spec/sun4v_hwcap1/Makefile rename : usr/src/lib/libc_psr/spec/sun4v_hwcap1/Makefile.links => deleted_files/usr/src/lib/libc_psr/spec/sun4v_hwcap1/Makefile.links rename : usr/src/lib/libc_psr/spec/sun4v_hwcap1/c_psr-sparc.spec => deleted_files/usr/src/lib/libc_psr/spec/sun4v_hwcap1/c_psr-sparc.spec rename : usr/src/lib/libc_psr/spec/sun4v_hwcap1/c_psr-sparcv9.spec => deleted_files/usr/src/lib/libc_psr/spec/sun4v_hwcap1/c_psr-sparcv9.spec rename : usr/src/lib/libc_psr/spec/sun4v_hwcap1/sparc/Makefile => deleted_files/usr/src/lib/libc_psr/spec/sun4v_hwcap1/sparc/Makefile rename : usr/src/lib/libc_psr/spec/sun4v_hwcap1/sparcv9/Makefile => deleted_files/usr/src/lib/libc_psr/spec/sun4v_hwcap1/sparcv9/Makefile rename : usr/src/lib/libc_psr/spec/sun4v_hwcap1/versions-sparc => deleted_files/usr/src/lib/libc_psr/spec/sun4v_hwcap1/versions-sparc rename : usr/src/lib/libc_psr/spec/sun4v_hwcap1/versions-sparcv9 => deleted_files/usr/src/lib/libc_psr/spec/sun4v_hwcap1/versions-sparcv9 rename : usr/src/lib/libcfgadm/spec/Makefile => deleted_files/usr/src/lib/libcfgadm/spec/Makefile rename : usr/src/lib/libcfgadm/spec/Makefile.targ => deleted_files/usr/src/lib/libcfgadm/spec/Makefile.targ rename : usr/src/lib/libcfgadm/spec/amd64/Makefile => deleted_files/usr/src/lib/libcfgadm/spec/amd64/Makefile rename : usr/src/lib/libcfgadm/spec/cfgadm.spec => deleted_files/usr/src/lib/libcfgadm/spec/cfgadm.spec rename : usr/src/lib/libcfgadm/spec/i386/Makefile => deleted_files/usr/src/lib/libcfgadm/spec/i386/Makefile rename : usr/src/lib/libcfgadm/spec/sparc/Makefile => deleted_files/usr/src/lib/libcfgadm/spec/sparc/Makefile rename : usr/src/lib/libcfgadm/spec/sparcv9/Makefile => deleted_files/usr/src/lib/libcfgadm/spec/sparcv9/Makefile rename : usr/src/lib/libcfgadm/spec/versions => deleted_files/usr/src/lib/libcfgadm/spec/versions rename : usr/src/lib/libcmd/spec/Makefile => deleted_files/usr/src/lib/libcmd/spec/Makefile rename : usr/src/lib/libcmd/spec/Makefile.targ => deleted_files/usr/src/lib/libcmd/spec/Makefile.targ rename : usr/src/lib/libcmd/spec/amd64/Makefile => deleted_files/usr/src/lib/libcmd/spec/amd64/Makefile rename : usr/src/lib/libcmd/spec/cmd.spec => deleted_files/usr/src/lib/libcmd/spec/cmd.spec rename : usr/src/lib/libcmd/spec/i386/Makefile => deleted_files/usr/src/lib/libcmd/spec/i386/Makefile rename : usr/src/lib/libcmd/spec/sparc/Makefile => deleted_files/usr/src/lib/libcmd/spec/sparc/Makefile rename : usr/src/lib/libcmd/spec/sparcv9/Makefile => deleted_files/usr/src/lib/libcmd/spec/sparcv9/Makefile rename : usr/src/lib/libcmd/spec/versions => deleted_files/usr/src/lib/libcmd/spec/versions rename : usr/src/lib/libcmdutils/spec/Makefile => deleted_files/usr/src/lib/libcmdutils/spec/Makefile rename : usr/src/lib/libcmdutils/spec/Makefile.targ => deleted_files/usr/src/lib/libcmdutils/spec/Makefile.targ rename : usr/src/lib/libcmdutils/spec/amd64/Makefile => deleted_files/usr/src/lib/libcmdutils/spec/amd64/Makefile rename : usr/src/lib/libcmdutils/spec/cmdutils.spec => deleted_files/usr/src/lib/libcmdutils/spec/cmdutils.spec rename : usr/src/lib/libcmdutils/spec/i386/Makefile => deleted_files/usr/src/lib/libcmdutils/spec/i386/Makefile rename : usr/src/lib/libcmdutils/spec/sparc/Makefile => deleted_files/usr/src/lib/libcmdutils/spec/sparc/Makefile rename : usr/src/lib/libcmdutils/spec/sparcv9/Makefile => deleted_files/usr/src/lib/libcmdutils/spec/sparcv9/Makefile rename : usr/src/lib/libcmdutils/spec/versions => deleted_files/usr/src/lib/libcmdutils/spec/versions rename : usr/src/lib/libcontract/spec/Makefile => deleted_files/usr/src/lib/libcontract/spec/Makefile rename : usr/src/lib/libcontract/spec/Makefile.targ => deleted_files/usr/src/lib/libcontract/spec/Makefile.targ rename : usr/src/lib/libcontract/spec/amd64/Makefile => deleted_files/usr/src/lib/libcontract/spec/amd64/Makefile rename : usr/src/lib/libcontract/spec/contract.spec => deleted_files/usr/src/lib/libcontract/spec/contract.spec rename : usr/src/lib/libcontract/spec/i386/Makefile => deleted_files/usr/src/lib/libcontract/spec/i386/Makefile rename : usr/src/lib/libcontract/spec/private.spec => deleted_files/usr/src/lib/libcontract/spec/private.spec rename : usr/src/lib/libcontract/spec/sparc/Makefile => deleted_files/usr/src/lib/libcontract/spec/sparc/Makefile rename : usr/src/lib/libcontract/spec/sparcv9/Makefile => deleted_files/usr/src/lib/libcontract/spec/sparcv9/Makefile rename : usr/src/lib/libcontract/spec/versions => deleted_files/usr/src/lib/libcontract/spec/versions rename : usr/src/lib/libcpc/spec/Makefile => deleted_files/usr/src/lib/libcpc/spec/Makefile rename : usr/src/lib/libcpc/spec/Makefile.targ => deleted_files/usr/src/lib/libcpc/spec/Makefile.targ rename : usr/src/lib/libcpc/spec/amd64/Makefile => deleted_files/usr/src/lib/libcpc/spec/amd64/Makefile rename : usr/src/lib/libcpc/spec/cpc.spec => deleted_files/usr/src/lib/libcpc/spec/cpc.spec rename : usr/src/lib/libcpc/spec/i386/Makefile => deleted_files/usr/src/lib/libcpc/spec/i386/Makefile rename : usr/src/lib/libcpc/spec/sparc/Makefile => deleted_files/usr/src/lib/libcpc/spec/sparc/Makefile rename : usr/src/lib/libcpc/spec/sparcv9/Makefile => deleted_files/usr/src/lib/libcpc/spec/sparcv9/Makefile rename : usr/src/lib/libcpc/spec/versions => deleted_files/usr/src/lib/libcpc/spec/versions rename : usr/src/lib/libcrypt/spec/Makefile => deleted_files/usr/src/lib/libcrypt/spec/Makefile rename : usr/src/lib/libcrypt/spec/Makefile.targ => deleted_files/usr/src/lib/libcrypt/spec/Makefile.targ rename : usr/src/lib/libcrypt/spec/amd64/Makefile => deleted_files/usr/src/lib/libcrypt/spec/amd64/Makefile rename : usr/src/lib/libcrypt/spec/crypt.spec => deleted_files/usr/src/lib/libcrypt/spec/crypt.spec rename : usr/src/lib/libcrypt/spec/i386/Makefile => deleted_files/usr/src/lib/libcrypt/spec/i386/Makefile rename : usr/src/lib/libcrypt/spec/sparc/Makefile => deleted_files/usr/src/lib/libcrypt/spec/sparc/Makefile rename : usr/src/lib/libcrypt/spec/sparcv9/Makefile => deleted_files/usr/src/lib/libcrypt/spec/sparcv9/Makefile rename : usr/src/lib/libcrypt/spec/versions => deleted_files/usr/src/lib/libcrypt/spec/versions rename : usr/src/lib/libcryptoutil/spec/Makefile => deleted_files/usr/src/lib/libcryptoutil/spec/Makefile rename : usr/src/lib/libcryptoutil/spec/Makefile.targ => deleted_files/usr/src/lib/libcryptoutil/spec/Makefile.targ rename : usr/src/lib/libcryptoutil/spec/amd64/Makefile => deleted_files/usr/src/lib/libcryptoutil/spec/amd64/Makefile rename : usr/src/lib/libcryptoutil/spec/cryptoutil.spec => deleted_files/usr/src/lib/libcryptoutil/spec/cryptoutil.spec rename : usr/src/lib/libcryptoutil/spec/i386/Makefile => deleted_files/usr/src/lib/libcryptoutil/spec/i386/Makefile rename : usr/src/lib/libcryptoutil/spec/sparc/Makefile => deleted_files/usr/src/lib/libcryptoutil/spec/sparc/Makefile rename : usr/src/lib/libcryptoutil/spec/sparcv9/Makefile => deleted_files/usr/src/lib/libcryptoutil/spec/sparcv9/Makefile rename : usr/src/lib/libcryptoutil/spec/versions => deleted_files/usr/src/lib/libcryptoutil/spec/versions rename : usr/src/lib/libctf/spec/Makefile => deleted_files/usr/src/lib/libctf/spec/Makefile rename : usr/src/lib/libctf/spec/Makefile.targ => deleted_files/usr/src/lib/libctf/spec/Makefile.targ rename : usr/src/lib/libctf/spec/amd64/Makefile => deleted_files/usr/src/lib/libctf/spec/amd64/Makefile rename : usr/src/lib/libctf/spec/ctf.spec => deleted_files/usr/src/lib/libctf/spec/ctf.spec rename : usr/src/lib/libctf/spec/i386/Makefile => deleted_files/usr/src/lib/libctf/spec/i386/Makefile rename : usr/src/lib/libctf/spec/sparc/Makefile => deleted_files/usr/src/lib/libctf/spec/sparc/Makefile rename : usr/src/lib/libctf/spec/sparcv9/Makefile => deleted_files/usr/src/lib/libctf/spec/sparcv9/Makefile rename : usr/src/lib/libctf/spec/versions => deleted_files/usr/src/lib/libctf/spec/versions rename : usr/src/lib/libcurses/spec/Makefile => deleted_files/usr/src/lib/libcurses/spec/Makefile rename : usr/src/lib/libcurses/spec/Makefile.targ => deleted_files/usr/src/lib/libcurses/spec/Makefile.targ rename : usr/src/lib/libcurses/spec/amd64/Makefile => deleted_files/usr/src/lib/libcurses/spec/amd64/Makefile rename : usr/src/lib/libcurses/spec/curses.spec => deleted_files/usr/src/lib/libcurses/spec/curses.spec rename : usr/src/lib/libcurses/spec/i386/Makefile => deleted_files/usr/src/lib/libcurses/spec/i386/Makefile rename : usr/src/lib/libcurses/spec/sparc/Makefile => deleted_files/usr/src/lib/libcurses/spec/sparc/Makefile rename : usr/src/lib/libcurses/spec/sparcv9/Makefile => deleted_files/usr/src/lib/libcurses/spec/sparcv9/Makefile rename : usr/src/lib/libcurses/spec/versions => deleted_files/usr/src/lib/libcurses/spec/versions rename : usr/src/lib/libdevice/spec/Makefile => deleted_files/usr/src/lib/libdevice/spec/Makefile rename : usr/src/lib/libdevice/spec/Makefile.targ => deleted_files/usr/src/lib/libdevice/spec/Makefile.targ rename : usr/src/lib/libdevice/spec/amd64/Makefile => deleted_files/usr/src/lib/libdevice/spec/amd64/Makefile rename : usr/src/lib/libdevice/spec/device.spec => deleted_files/usr/src/lib/libdevice/spec/device.spec rename : usr/src/lib/libdevice/spec/i386/Makefile => deleted_files/usr/src/lib/libdevice/spec/i386/Makefile rename : usr/src/lib/libdevice/spec/sparc/Makefile => deleted_files/usr/src/lib/libdevice/spec/sparc/Makefile rename : usr/src/lib/libdevice/spec/sparcv9/Makefile => deleted_files/usr/src/lib/libdevice/spec/sparcv9/Makefile rename : usr/src/lib/libdevice/spec/versions => deleted_files/usr/src/lib/libdevice/spec/versions rename : usr/src/lib/libdevid/spec/Makefile => deleted_files/usr/src/lib/libdevid/spec/Makefile rename : usr/src/lib/libdevid/spec/Makefile.targ => deleted_files/usr/src/lib/libdevid/spec/Makefile.targ rename : usr/src/lib/libdevid/spec/amd64/Makefile => deleted_files/usr/src/lib/libdevid/spec/amd64/Makefile rename : usr/src/lib/libdevid/spec/devid.spec => deleted_files/usr/src/lib/libdevid/spec/devid.spec rename : usr/src/lib/libdevid/spec/i386/Makefile => deleted_files/usr/src/lib/libdevid/spec/i386/Makefile rename : usr/src/lib/libdevid/spec/sparc/Makefile => deleted_files/usr/src/lib/libdevid/spec/sparc/Makefile rename : usr/src/lib/libdevid/spec/sparcv9/Makefile => deleted_files/usr/src/lib/libdevid/spec/sparcv9/Makefile rename : usr/src/lib/libdevid/spec/versions => deleted_files/usr/src/lib/libdevid/spec/versions rename : usr/src/lib/libdevinfo/spec/Makefile => deleted_files/usr/src/lib/libdevinfo/spec/Makefile rename : usr/src/lib/libdevinfo/spec/Makefile.targ => deleted_files/usr/src/lib/libdevinfo/spec/Makefile.targ rename : usr/src/lib/libdevinfo/spec/amd64/Makefile => deleted_files/usr/src/lib/libdevinfo/spec/amd64/Makefile rename : usr/src/lib/libdevinfo/spec/devinfo.spec => deleted_files/usr/src/lib/libdevinfo/spec/devinfo.spec rename : usr/src/lib/libdevinfo/spec/i386/Makefile => deleted_files/usr/src/lib/libdevinfo/spec/i386/Makefile rename : usr/src/lib/libdevinfo/spec/sparc/Makefile => deleted_files/usr/src/lib/libdevinfo/spec/sparc/Makefile rename : usr/src/lib/libdevinfo/spec/sparcv9/Makefile => deleted_files/usr/src/lib/libdevinfo/spec/sparcv9/Makefile rename : usr/src/lib/libdevinfo/spec/versions => deleted_files/usr/src/lib/libdevinfo/spec/versions rename : usr/src/lib/libdhcpagent/spec/Makefile => deleted_files/usr/src/lib/libdhcpagent/spec/Makefile rename : usr/src/lib/libdhcpagent/spec/Makefile.targ => deleted_files/usr/src/lib/libdhcpagent/spec/Makefile.targ rename : usr/src/lib/libdhcpagent/spec/amd64/Makefile => deleted_files/usr/src/lib/libdhcpagent/spec/amd64/Makefile rename : usr/src/lib/libdhcpagent/spec/dhcpagent.spec => deleted_files/usr/src/lib/libdhcpagent/spec/dhcpagent.spec rename : usr/src/lib/libdhcpagent/spec/i386/Makefile => deleted_files/usr/src/lib/libdhcpagent/spec/i386/Makefile rename : usr/src/lib/libdhcpagent/spec/sparc/Makefile => deleted_files/usr/src/lib/libdhcpagent/spec/sparc/Makefile rename : usr/src/lib/libdhcpagent/spec/sparcv9/Makefile => deleted_files/usr/src/lib/libdhcpagent/spec/sparcv9/Makefile rename : usr/src/lib/libdhcpagent/spec/versions => deleted_files/usr/src/lib/libdhcpagent/spec/versions rename : usr/src/lib/libdhcpsvc/modules/binfiles/spec/Makefile => deleted_files/usr/src/lib/libdhcpsvc/modules/binfiles/spec/Makefile rename : usr/src/lib/libdhcpsvc/modules/binfiles/spec/Makefile.targ => deleted_files/usr/src/lib/libdhcpsvc/modules/binfiles/spec/Makefile.targ rename : usr/src/lib/libdhcpsvc/modules/binfiles/spec/amd64/Makefile => deleted_files/usr/src/lib/libdhcpsvc/modules/binfiles/spec/amd64/Makefile rename : usr/src/lib/libdhcpsvc/modules/binfiles/spec/ds_SUNWbinfiles.spec => deleted_files/usr/src/lib/libdhcpsvc/modules/binfiles/spec/ds_SUNWbinfiles.spec rename : usr/src/lib/libdhcpsvc/modules/binfiles/spec/i386/Makefile => deleted_files/usr/src/lib/libdhcpsvc/modules/binfiles/spec/i386/Makefile rename : usr/src/lib/libdhcpsvc/modules/binfiles/spec/sparc/Makefile => deleted_files/usr/src/lib/libdhcpsvc/modules/binfiles/spec/sparc/Makefile rename : usr/src/lib/libdhcpsvc/modules/binfiles/spec/sparcv9/Makefile => deleted_files/usr/src/lib/libdhcpsvc/modules/binfiles/spec/sparcv9/Makefile rename : usr/src/lib/libdhcpsvc/modules/binfiles/spec/versions => deleted_files/usr/src/lib/libdhcpsvc/modules/binfiles/spec/versions rename : usr/src/lib/libdhcpsvc/modules/files/spec/Makefile => deleted_files/usr/src/lib/libdhcpsvc/modules/files/spec/Makefile rename : usr/src/lib/libdhcpsvc/modules/files/spec/Makefile.targ => deleted_files/usr/src/lib/libdhcpsvc/modules/files/spec/Makefile.targ rename : usr/src/lib/libdhcpsvc/modules/files/spec/amd64/Makefile => deleted_files/usr/src/lib/libdhcpsvc/modules/files/spec/amd64/Makefile rename : usr/src/lib/libdhcpsvc/modules/files/spec/ds_SUNWfiles.spec => deleted_files/usr/src/lib/libdhcpsvc/modules/files/spec/ds_SUNWfiles.spec rename : usr/src/lib/libdhcpsvc/modules/files/spec/i386/Makefile => deleted_files/usr/src/lib/libdhcpsvc/modules/files/spec/i386/Makefile rename : usr/src/lib/libdhcpsvc/modules/files/spec/sparc/Makefile => deleted_files/usr/src/lib/libdhcpsvc/modules/files/spec/sparc/Makefile rename : usr/src/lib/libdhcpsvc/modules/files/spec/sparcv9/Makefile => deleted_files/usr/src/lib/libdhcpsvc/modules/files/spec/sparcv9/Makefile rename : usr/src/lib/libdhcpsvc/modules/files/spec/versions => deleted_files/usr/src/lib/libdhcpsvc/modules/files/spec/versions rename : usr/src/lib/libdhcpsvc/modules/files0/spec/Makefile => deleted_files/usr/src/lib/libdhcpsvc/modules/files0/spec/Makefile rename : usr/src/lib/libdhcpsvc/modules/files0/spec/Makefile.targ => deleted_files/usr/src/lib/libdhcpsvc/modules/files0/spec/Makefile.targ rename : usr/src/lib/libdhcpsvc/modules/files0/spec/amd64/Makefile => deleted_files/usr/src/lib/libdhcpsvc/modules/files0/spec/amd64/Makefile rename : usr/src/lib/libdhcpsvc/modules/files0/spec/ds_SUNWfiles.spec => deleted_files/usr/src/lib/libdhcpsvc/modules/files0/spec/ds_SUNWfiles.spec rename : usr/src/lib/libdhcpsvc/modules/files0/spec/i386/Makefile => deleted_files/usr/src/lib/libdhcpsvc/modules/files0/spec/i386/Makefile rename : usr/src/lib/libdhcpsvc/modules/files0/spec/sparc/Makefile => deleted_files/usr/src/lib/libdhcpsvc/modules/files0/spec/sparc/Makefile rename : usr/src/lib/libdhcpsvc/modules/files0/spec/sparcv9/Makefile => deleted_files/usr/src/lib/libdhcpsvc/modules/files0/spec/sparcv9/Makefile rename : usr/src/lib/libdhcpsvc/modules/files0/spec/versions => deleted_files/usr/src/lib/libdhcpsvc/modules/files0/spec/versions rename : usr/src/lib/libdhcpsvc/modules/nisplus/spec/Makefile => deleted_files/usr/src/lib/libdhcpsvc/modules/nisplus/spec/Makefile rename : usr/src/lib/libdhcpsvc/modules/nisplus/spec/Makefile.targ => deleted_files/usr/src/lib/libdhcpsvc/modules/nisplus/spec/Makefile.targ rename : usr/src/lib/libdhcpsvc/modules/nisplus/spec/amd64/Makefile => deleted_files/usr/src/lib/libdhcpsvc/modules/nisplus/spec/amd64/Makefile rename : usr/src/lib/libdhcpsvc/modules/nisplus/spec/ds_SUNWnisplus.spec => deleted_files/usr/src/lib/libdhcpsvc/modules/nisplus/spec/ds_SUNWnisplus.spec rename : usr/src/lib/libdhcpsvc/modules/nisplus/spec/i386/Makefile => deleted_files/usr/src/lib/libdhcpsvc/modules/nisplus/spec/i386/Makefile rename : usr/src/lib/libdhcpsvc/modules/nisplus/spec/sparc/Makefile => deleted_files/usr/src/lib/libdhcpsvc/modules/nisplus/spec/sparc/Makefile rename : usr/src/lib/libdhcpsvc/modules/nisplus/spec/sparcv9/Makefile => deleted_files/usr/src/lib/libdhcpsvc/modules/nisplus/spec/sparcv9/Makefile rename : usr/src/lib/libdhcpsvc/modules/nisplus/spec/versions => deleted_files/usr/src/lib/libdhcpsvc/modules/nisplus/spec/versions rename : usr/src/lib/libdhcpsvc/modules/nisplus0/spec/Makefile => deleted_files/usr/src/lib/libdhcpsvc/modules/nisplus0/spec/Makefile rename : usr/src/lib/libdhcpsvc/modules/nisplus0/spec/Makefile.targ => deleted_files/usr/src/lib/libdhcpsvc/modules/nisplus0/spec/Makefile.targ rename : usr/src/lib/libdhcpsvc/modules/nisplus0/spec/amd64/Makefile => deleted_files/usr/src/lib/libdhcpsvc/modules/nisplus0/spec/amd64/Makefile rename : usr/src/lib/libdhcpsvc/modules/nisplus0/spec/ds_SUNWnisplus.spec => deleted_files/usr/src/lib/libdhcpsvc/modules/nisplus0/spec/ds_SUNWnisplus.spec rename : usr/src/lib/libdhcpsvc/modules/nisplus0/spec/i386/Makefile => deleted_files/usr/src/lib/libdhcpsvc/modules/nisplus0/spec/i386/Makefile rename : usr/src/lib/libdhcpsvc/modules/nisplus0/spec/sparc/Makefile => deleted_files/usr/src/lib/libdhcpsvc/modules/nisplus0/spec/sparc/Makefile rename : usr/src/lib/libdhcpsvc/modules/nisplus0/spec/sparcv9/Makefile => deleted_files/usr/src/lib/libdhcpsvc/modules/nisplus0/spec/sparcv9/Makefile rename : usr/src/lib/libdhcpsvc/modules/nisplus0/spec/versions => deleted_files/usr/src/lib/libdhcpsvc/modules/nisplus0/spec/versions rename : usr/src/lib/libdhcpsvc/modules/templates/spec/Makefile => deleted_files/usr/src/lib/libdhcpsvc/modules/templates/spec/Makefile rename : usr/src/lib/libdhcpsvc/modules/templates/spec/Makefile.targ => deleted_files/usr/src/lib/libdhcpsvc/modules/templates/spec/Makefile.targ rename : usr/src/lib/libdhcpsvc/modules/templates/spec/amd64/Makefile => deleted_files/usr/src/lib/libdhcpsvc/modules/templates/spec/amd64/Makefile rename : usr/src/lib/libdhcpsvc/modules/templates/spec/ds_RESOURCE.spec => deleted_files/usr/src/lib/libdhcpsvc/modules/templates/spec/ds_RESOURCE.spec rename : usr/src/lib/libdhcpsvc/modules/templates/spec/i386/Makefile => deleted_files/usr/src/lib/libdhcpsvc/modules/templates/spec/i386/Makefile rename : usr/src/lib/libdhcpsvc/modules/templates/spec/public.spec => deleted_files/usr/src/lib/libdhcpsvc/modules/templates/spec/public.spec rename : usr/src/lib/libdhcpsvc/modules/templates/spec/sparc/Makefile => deleted_files/usr/src/lib/libdhcpsvc/modules/templates/spec/sparc/Makefile rename : usr/src/lib/libdhcpsvc/modules/templates/spec/sparcv9/Makefile => deleted_files/usr/src/lib/libdhcpsvc/modules/templates/spec/sparcv9/Makefile rename : usr/src/lib/libdhcpsvc/modules/templates/spec/versions => deleted_files/usr/src/lib/libdhcpsvc/modules/templates/spec/versions rename : usr/src/lib/libdhcpsvc/private/spec/Makefile => deleted_files/usr/src/lib/libdhcpsvc/private/spec/Makefile rename : usr/src/lib/libdhcpsvc/private/spec/Makefile.targ => deleted_files/usr/src/lib/libdhcpsvc/private/spec/Makefile.targ rename : usr/src/lib/libdhcpsvc/private/spec/amd64/Makefile => deleted_files/usr/src/lib/libdhcpsvc/private/spec/amd64/Makefile rename : usr/src/lib/libdhcpsvc/private/spec/dhcpsvc.spec => deleted_files/usr/src/lib/libdhcpsvc/private/spec/dhcpsvc.spec rename : usr/src/lib/libdhcpsvc/private/spec/i386/Makefile => deleted_files/usr/src/lib/libdhcpsvc/private/spec/i386/Makefile rename : usr/src/lib/libdhcpsvc/private/spec/sparc/Makefile => deleted_files/usr/src/lib/libdhcpsvc/private/spec/sparc/Makefile rename : usr/src/lib/libdhcpsvc/private/spec/sparcv9/Makefile => deleted_files/usr/src/lib/libdhcpsvc/private/spec/sparcv9/Makefile rename : usr/src/lib/libdhcpsvc/private/spec/versions => deleted_files/usr/src/lib/libdhcpsvc/private/spec/versions rename : usr/src/lib/libdhcputil/spec/Makefile => deleted_files/usr/src/lib/libdhcputil/spec/Makefile rename : usr/src/lib/libdhcputil/spec/Makefile.targ => deleted_files/usr/src/lib/libdhcputil/spec/Makefile.targ rename : usr/src/lib/libdhcputil/spec/amd64/Makefile => deleted_files/usr/src/lib/libdhcputil/spec/amd64/Makefile rename : usr/src/lib/libdhcputil/spec/dhcputil.spec => deleted_files/usr/src/lib/libdhcputil/spec/dhcputil.spec rename : usr/src/lib/libdhcputil/spec/i386/Makefile => deleted_files/usr/src/lib/libdhcputil/spec/i386/Makefile rename : usr/src/lib/libdhcputil/spec/sparc/Makefile => deleted_files/usr/src/lib/libdhcputil/spec/sparc/Makefile rename : usr/src/lib/libdhcputil/spec/sparcv9/Makefile => deleted_files/usr/src/lib/libdhcputil/spec/sparcv9/Makefile rename : usr/src/lib/libdhcputil/spec/versions => deleted_files/usr/src/lib/libdhcputil/spec/versions rename : usr/src/lib/libdiagcode/spec/amd64/Makefile => deleted_files/usr/src/lib/libdiagcode/spec/amd64/Makefile rename : usr/src/lib/libdisasm/spec/Makefile => deleted_files/usr/src/lib/libdisasm/spec/Makefile rename : usr/src/lib/libdisasm/spec/Makefile.targ => deleted_files/usr/src/lib/libdisasm/spec/Makefile.targ rename : usr/src/lib/libdisasm/spec/amd64/Makefile => deleted_files/usr/src/lib/libdisasm/spec/amd64/Makefile rename : usr/src/lib/libdisasm/spec/i386/Makefile => deleted_files/usr/src/lib/libdisasm/spec/i386/Makefile rename : usr/src/lib/libdisasm/spec/libdisasm.spec => deleted_files/usr/src/lib/libdisasm/spec/libdisasm.spec rename : usr/src/lib/libdisasm/spec/sparc/Makefile => deleted_files/usr/src/lib/libdisasm/spec/sparc/Makefile rename : usr/src/lib/libdisasm/spec/sparcv9/Makefile => deleted_files/usr/src/lib/libdisasm/spec/sparcv9/Makefile rename : usr/src/lib/libdisasm/spec/versions => deleted_files/usr/src/lib/libdisasm/spec/versions rename : usr/src/lib/libdiskmgt/spec/Makefile => deleted_files/usr/src/lib/libdiskmgt/spec/Makefile rename : usr/src/lib/libdiskmgt/spec/Makefile.targ => deleted_files/usr/src/lib/libdiskmgt/spec/Makefile.targ rename : usr/src/lib/libdiskmgt/spec/amd64/Makefile => deleted_files/usr/src/lib/libdiskmgt/spec/amd64/Makefile rename : usr/src/lib/libdiskmgt/spec/diskmgt.spec => deleted_files/usr/src/lib/libdiskmgt/spec/diskmgt.spec rename : usr/src/lib/libdiskmgt/spec/i386/Makefile => deleted_files/usr/src/lib/libdiskmgt/spec/i386/Makefile rename : usr/src/lib/libdiskmgt/spec/sparc/Makefile => deleted_files/usr/src/lib/libdiskmgt/spec/sparc/Makefile rename : usr/src/lib/libdiskmgt/spec/sparcv9/Makefile => deleted_files/usr/src/lib/libdiskmgt/spec/sparcv9/Makefile rename : usr/src/lib/libdiskmgt/spec/versions => deleted_files/usr/src/lib/libdiskmgt/spec/versions rename : usr/src/lib/libdladm/spec/Makefile => deleted_files/usr/src/lib/libdladm/spec/Makefile rename : usr/src/lib/libdladm/spec/Makefile.targ => deleted_files/usr/src/lib/libdladm/spec/Makefile.targ rename : usr/src/lib/libdladm/spec/amd64/Makefile => deleted_files/usr/src/lib/libdladm/spec/amd64/Makefile rename : usr/src/lib/libdladm/spec/dladm.spec => deleted_files/usr/src/lib/libdladm/spec/dladm.spec rename : usr/src/lib/libdladm/spec/i386/Makefile => deleted_files/usr/src/lib/libdladm/spec/i386/Makefile rename : usr/src/lib/libdladm/spec/sparc/Makefile => deleted_files/usr/src/lib/libdladm/spec/sparc/Makefile rename : usr/src/lib/libdladm/spec/sparcv9/Makefile => deleted_files/usr/src/lib/libdladm/spec/sparcv9/Makefile rename : usr/src/lib/libdladm/spec/versions => deleted_files/usr/src/lib/libdladm/spec/versions rename : usr/src/lib/libdlpi/spec/Makefile => deleted_files/usr/src/lib/libdlpi/spec/Makefile rename : usr/src/lib/libdlpi/spec/Makefile.targ => deleted_files/usr/src/lib/libdlpi/spec/Makefile.targ rename : usr/src/lib/libdlpi/spec/amd64/Makefile => deleted_files/usr/src/lib/libdlpi/spec/amd64/Makefile rename : usr/src/lib/libdlpi/spec/dlpi.spec => deleted_files/usr/src/lib/libdlpi/spec/dlpi.spec rename : usr/src/lib/libdlpi/spec/i386/Makefile => deleted_files/usr/src/lib/libdlpi/spec/i386/Makefile rename : usr/src/lib/libdlpi/spec/sparc/Makefile => deleted_files/usr/src/lib/libdlpi/spec/sparc/Makefile rename : usr/src/lib/libdlpi/spec/sparcv9/Makefile => deleted_files/usr/src/lib/libdlpi/spec/sparcv9/Makefile rename : usr/src/lib/libdlpi/spec/versions => deleted_files/usr/src/lib/libdlpi/spec/versions rename : usr/src/lib/libdscp/spec/Makefile => deleted_files/usr/src/lib/libdscp/spec/Makefile rename : usr/src/lib/libdscp/spec/Makefile.targ => deleted_files/usr/src/lib/libdscp/spec/Makefile.targ rename : usr/src/lib/libdscp/spec/libdscp.spec => deleted_files/usr/src/lib/libdscp/spec/libdscp.spec rename : usr/src/lib/libdscp/spec/sparc/Makefile => deleted_files/usr/src/lib/libdscp/spec/sparc/Makefile rename : usr/src/lib/libdscp/spec/versions => deleted_files/usr/src/lib/libdscp/spec/versions rename : usr/src/lib/libdtrace/spec/Makefile => deleted_files/usr/src/lib/libdtrace/spec/Makefile rename : usr/src/lib/libdtrace/spec/Makefile.targ => deleted_files/usr/src/lib/libdtrace/spec/Makefile.targ rename : usr/src/lib/libdtrace/spec/amd64/Makefile => deleted_files/usr/src/lib/libdtrace/spec/amd64/Makefile rename : usr/src/lib/libdtrace/spec/dtrace.spec => deleted_files/usr/src/lib/libdtrace/spec/dtrace.spec rename : usr/src/lib/libdtrace/spec/i386/Makefile => deleted_files/usr/src/lib/libdtrace/spec/i386/Makefile rename : usr/src/lib/libdtrace/spec/sparc/Makefile => deleted_files/usr/src/lib/libdtrace/spec/sparc/Makefile rename : usr/src/lib/libdtrace/spec/sparcv9/Makefile => deleted_files/usr/src/lib/libdtrace/spec/sparcv9/Makefile rename : usr/src/lib/libdtrace/spec/versions => deleted_files/usr/src/lib/libdtrace/spec/versions rename : usr/src/lib/libdtrace_jni/spec/Makefile => deleted_files/usr/src/lib/libdtrace_jni/spec/Makefile rename : usr/src/lib/libdtrace_jni/spec/Makefile.targ => deleted_files/usr/src/lib/libdtrace_jni/spec/Makefile.targ rename : usr/src/lib/libdtrace_jni/spec/amd64/Makefile => deleted_files/usr/src/lib/libdtrace_jni/spec/amd64/Makefile rename : usr/src/lib/libdtrace_jni/spec/dtrace_jni.spec => deleted_files/usr/src/lib/libdtrace_jni/spec/dtrace_jni.spec rename : usr/src/lib/libdtrace_jni/spec/i386/Makefile => deleted_files/usr/src/lib/libdtrace_jni/spec/i386/Makefile rename : usr/src/lib/libdtrace_jni/spec/sparc/Makefile => deleted_files/usr/src/lib/libdtrace_jni/spec/sparc/Makefile rename : usr/src/lib/libdtrace_jni/spec/sparcv9/Makefile => deleted_files/usr/src/lib/libdtrace_jni/spec/sparcv9/Makefile rename : usr/src/lib/libdtrace_jni/spec/versions => deleted_files/usr/src/lib/libdtrace_jni/spec/versions rename : usr/src/lib/libefi/spec/Makefile => deleted_files/usr/src/lib/libefi/spec/Makefile rename : usr/src/lib/libefi/spec/Makefile.targ => deleted_files/usr/src/lib/libefi/spec/Makefile.targ rename : usr/src/lib/libefi/spec/amd64/Makefile => deleted_files/usr/src/lib/libefi/spec/amd64/Makefile rename : usr/src/lib/libefi/spec/efi.spec => deleted_files/usr/src/lib/libefi/spec/efi.spec rename : usr/src/lib/libefi/spec/i386/Makefile => deleted_files/usr/src/lib/libefi/spec/i386/Makefile rename : usr/src/lib/libefi/spec/sparc/Makefile => deleted_files/usr/src/lib/libefi/spec/sparc/Makefile rename : usr/src/lib/libefi/spec/sparcv9/Makefile => deleted_files/usr/src/lib/libefi/spec/sparcv9/Makefile rename : usr/src/lib/libefi/spec/versions => deleted_files/usr/src/lib/libefi/spec/versions rename : usr/src/lib/libeti/form/spec/Makefile => deleted_files/usr/src/lib/libeti/form/spec/Makefile rename : usr/src/lib/libeti/form/spec/Makefile.targ => deleted_files/usr/src/lib/libeti/form/spec/Makefile.targ rename : usr/src/lib/libeti/form/spec/amd64/Makefile => deleted_files/usr/src/lib/libeti/form/spec/amd64/Makefile rename : usr/src/lib/libeti/form/spec/form.spec => deleted_files/usr/src/lib/libeti/form/spec/form.spec rename : usr/src/lib/libeti/form/spec/i386/Makefile => deleted_files/usr/src/lib/libeti/form/spec/i386/Makefile rename : usr/src/lib/libeti/form/spec/sparc/Makefile => deleted_files/usr/src/lib/libeti/form/spec/sparc/Makefile rename : usr/src/lib/libeti/form/spec/sparcv9/Makefile => deleted_files/usr/src/lib/libeti/form/spec/sparcv9/Makefile rename : usr/src/lib/libeti/form/spec/versions => deleted_files/usr/src/lib/libeti/form/spec/versions rename : usr/src/lib/libeti/menu/spec/Makefile => deleted_files/usr/src/lib/libeti/menu/spec/Makefile rename : usr/src/lib/libeti/menu/spec/Makefile.targ => deleted_files/usr/src/lib/libeti/menu/spec/Makefile.targ rename : usr/src/lib/libeti/menu/spec/amd64/Makefile => deleted_files/usr/src/lib/libeti/menu/spec/amd64/Makefile rename : usr/src/lib/libeti/menu/spec/i386/Makefile => deleted_files/usr/src/lib/libeti/menu/spec/i386/Makefile rename : usr/src/lib/libeti/menu/spec/menu.spec => deleted_files/usr/src/lib/libeti/menu/spec/menu.spec rename : usr/src/lib/libeti/menu/spec/sparc/Makefile => deleted_files/usr/src/lib/libeti/menu/spec/sparc/Makefile rename : usr/src/lib/libeti/menu/spec/sparcv9/Makefile => deleted_files/usr/src/lib/libeti/menu/spec/sparcv9/Makefile rename : usr/src/lib/libeti/menu/spec/versions => deleted_files/usr/src/lib/libeti/menu/spec/versions rename : usr/src/lib/libeti/panel/spec/Makefile => deleted_files/usr/src/lib/libeti/panel/spec/Makefile rename : usr/src/lib/libeti/panel/spec/Makefile.targ => deleted_files/usr/src/lib/libeti/panel/spec/Makefile.targ rename : usr/src/lib/libeti/panel/spec/amd64/Makefile => deleted_files/usr/src/lib/libeti/panel/spec/amd64/Makefile rename : usr/src/lib/libeti/panel/spec/i386/Makefile => deleted_files/usr/src/lib/libeti/panel/spec/i386/Makefile rename : usr/src/lib/libeti/panel/spec/panel.spec => deleted_files/usr/src/lib/libeti/panel/spec/panel.spec rename : usr/src/lib/libeti/panel/spec/sparc/Makefile => deleted_files/usr/src/lib/libeti/panel/spec/sparc/Makefile rename : usr/src/lib/libeti/panel/spec/sparcv9/Makefile => deleted_files/usr/src/lib/libeti/panel/spec/sparcv9/Makefile rename : usr/src/lib/libeti/panel/spec/versions => deleted_files/usr/src/lib/libeti/panel/spec/versions rename : usr/src/lib/libexacct/spec/Makefile => deleted_files/usr/src/lib/libexacct/spec/Makefile rename : usr/src/lib/libexacct/spec/Makefile.targ => deleted_files/usr/src/lib/libexacct/spec/Makefile.targ rename : usr/src/lib/libexacct/spec/amd64/Makefile => deleted_files/usr/src/lib/libexacct/spec/amd64/Makefile rename : usr/src/lib/libexacct/spec/exacct.spec => deleted_files/usr/src/lib/libexacct/spec/exacct.spec rename : usr/src/lib/libexacct/spec/i386/Makefile => deleted_files/usr/src/lib/libexacct/spec/i386/Makefile rename : usr/src/lib/libexacct/spec/sparc/Makefile => deleted_files/usr/src/lib/libexacct/spec/sparc/Makefile rename : usr/src/lib/libexacct/spec/sparcv9/Makefile => deleted_files/usr/src/lib/libexacct/spec/sparcv9/Makefile rename : usr/src/lib/libexacct/spec/versions => deleted_files/usr/src/lib/libexacct/spec/versions rename : usr/src/lib/libfsmgt/spec/Makefile => deleted_files/usr/src/lib/libfsmgt/spec/Makefile rename : usr/src/lib/libfsmgt/spec/Makefile.targ => deleted_files/usr/src/lib/libfsmgt/spec/Makefile.targ rename : usr/src/lib/libfsmgt/spec/amd64/Makefile => deleted_files/usr/src/lib/libfsmgt/spec/amd64/Makefile rename : usr/src/lib/libfsmgt/spec/fsmgt.spec => deleted_files/usr/src/lib/libfsmgt/spec/fsmgt.spec rename : usr/src/lib/libfsmgt/spec/i386/Makefile => deleted_files/usr/src/lib/libfsmgt/spec/i386/Makefile rename : usr/src/lib/libfsmgt/spec/sparc/Makefile => deleted_files/usr/src/lib/libfsmgt/spec/sparc/Makefile rename : usr/src/lib/libfsmgt/spec/sparcv9/Makefile => deleted_files/usr/src/lib/libfsmgt/spec/sparcv9/Makefile rename : usr/src/lib/libfsmgt/spec/versions => deleted_files/usr/src/lib/libfsmgt/spec/versions rename : usr/src/lib/libfstyp/spec/Makefile => deleted_files/usr/src/lib/libfstyp/spec/Makefile rename : usr/src/lib/libfstyp/spec/Makefile.targ => deleted_files/usr/src/lib/libfstyp/spec/Makefile.targ rename : usr/src/lib/libfstyp/spec/fstyp.spec => deleted_files/usr/src/lib/libfstyp/spec/fstyp.spec rename : usr/src/lib/libfstyp/spec/i386/Makefile => deleted_files/usr/src/lib/libfstyp/spec/i386/Makefile rename : usr/src/lib/libfstyp/spec/sparc/Makefile => deleted_files/usr/src/lib/libfstyp/spec/sparc/Makefile rename : usr/src/lib/libfstyp/spec/versions => deleted_files/usr/src/lib/libfstyp/spec/versions rename : usr/src/lib/libgen/spec/Makefile => deleted_files/usr/src/lib/libgen/spec/Makefile rename : usr/src/lib/libgen/spec/Makefile.targ => deleted_files/usr/src/lib/libgen/spec/Makefile.targ rename : usr/src/lib/libgen/spec/amd64/Makefile => deleted_files/usr/src/lib/libgen/spec/amd64/Makefile rename : usr/src/lib/libgen/spec/gen.spec => deleted_files/usr/src/lib/libgen/spec/gen.spec rename : usr/src/lib/libgen/spec/i386/Makefile => deleted_files/usr/src/lib/libgen/spec/i386/Makefile rename : usr/src/lib/libgen/spec/private.spec => deleted_files/usr/src/lib/libgen/spec/private.spec rename : usr/src/lib/libgen/spec/sparc/Makefile => deleted_files/usr/src/lib/libgen/spec/sparc/Makefile rename : usr/src/lib/libgen/spec/sparcv9/Makefile => deleted_files/usr/src/lib/libgen/spec/sparcv9/Makefile rename : usr/src/lib/libgen/spec/versions => deleted_files/usr/src/lib/libgen/spec/versions rename : usr/src/lib/libgen/spec/weak.spec => deleted_files/usr/src/lib/libgen/spec/weak.spec rename : usr/src/lib/libgss/spec/Makefile => deleted_files/usr/src/lib/libgss/spec/Makefile rename : usr/src/lib/libgss/spec/Makefile.targ => deleted_files/usr/src/lib/libgss/spec/Makefile.targ rename : usr/src/lib/libgss/spec/amd64/Makefile => deleted_files/usr/src/lib/libgss/spec/amd64/Makefile rename : usr/src/lib/libgss/spec/gss.spec => deleted_files/usr/src/lib/libgss/spec/gss.spec rename : usr/src/lib/libgss/spec/i386/Makefile => deleted_files/usr/src/lib/libgss/spec/i386/Makefile rename : usr/src/lib/libgss/spec/sparc/Makefile => deleted_files/usr/src/lib/libgss/spec/sparc/Makefile rename : usr/src/lib/libgss/spec/sparcv9/Makefile => deleted_files/usr/src/lib/libgss/spec/sparcv9/Makefile rename : usr/src/lib/libgss/spec/versions => deleted_files/usr/src/lib/libgss/spec/versions rename : usr/src/lib/libinetcfg/spec/Makefile => deleted_files/usr/src/lib/libinetcfg/spec/Makefile rename : usr/src/lib/libinetcfg/spec/Makefile.targ => deleted_files/usr/src/lib/libinetcfg/spec/Makefile.targ rename : usr/src/lib/libinetcfg/spec/amd64/Makefile => deleted_files/usr/src/lib/libinetcfg/spec/amd64/Makefile rename : usr/src/lib/libinetcfg/spec/i386/Makefile => deleted_files/usr/src/lib/libinetcfg/spec/i386/Makefile rename : usr/src/lib/libinetcfg/spec/inetcfg.spec => deleted_files/usr/src/lib/libinetcfg/spec/inetcfg.spec rename : usr/src/lib/libinetcfg/spec/sparc/Makefile => deleted_files/usr/src/lib/libinetcfg/spec/sparc/Makefile rename : usr/src/lib/libinetcfg/spec/sparcv9/Makefile => deleted_files/usr/src/lib/libinetcfg/spec/sparcv9/Makefile rename : usr/src/lib/libinetcfg/spec/versions => deleted_files/usr/src/lib/libinetcfg/spec/versions rename : usr/src/lib/libinetsvc/spec/Makefile => deleted_files/usr/src/lib/libinetsvc/spec/Makefile rename : usr/src/lib/libinetsvc/spec/Makefile.targ => deleted_files/usr/src/lib/libinetsvc/spec/Makefile.targ rename : usr/src/lib/libinetsvc/spec/amd64/Makefile => deleted_files/usr/src/lib/libinetsvc/spec/amd64/Makefile rename : usr/src/lib/libinetsvc/spec/i386/Makefile => deleted_files/usr/src/lib/libinetsvc/spec/i386/Makefile rename : usr/src/lib/libinetsvc/spec/inetsvc.spec => deleted_files/usr/src/lib/libinetsvc/spec/inetsvc.spec rename : usr/src/lib/libinetsvc/spec/sparc/Makefile => deleted_files/usr/src/lib/libinetsvc/spec/sparc/Makefile rename : usr/src/lib/libinetsvc/spec/sparcv9/Makefile => deleted_files/usr/src/lib/libinetsvc/spec/sparcv9/Makefile rename : usr/src/lib/libinetsvc/spec/versions => deleted_files/usr/src/lib/libinetsvc/spec/versions rename : usr/src/lib/libinetutil/spec/Makefile => deleted_files/usr/src/lib/libinetutil/spec/Makefile rename : usr/src/lib/libinetutil/spec/Makefile.targ => deleted_files/usr/src/lib/libinetutil/spec/Makefile.targ rename : usr/src/lib/libinetutil/spec/amd64/Makefile => deleted_files/usr/src/lib/libinetutil/spec/amd64/Makefile rename : usr/src/lib/libinetutil/spec/i386/Makefile => deleted_files/usr/src/lib/libinetutil/spec/i386/Makefile rename : usr/src/lib/libinetutil/spec/inetutil.spec => deleted_files/usr/src/lib/libinetutil/spec/inetutil.spec rename : usr/src/lib/libinetutil/spec/sparc/Makefile => deleted_files/usr/src/lib/libinetutil/spec/sparc/Makefile rename : usr/src/lib/libinetutil/spec/sparcv9/Makefile => deleted_files/usr/src/lib/libinetutil/spec/sparcv9/Makefile rename : usr/src/lib/libinetutil/spec/versions => deleted_files/usr/src/lib/libinetutil/spec/versions rename : usr/src/lib/libipmp/spec/Makefile => deleted_files/usr/src/lib/libipmp/spec/Makefile rename : usr/src/lib/libipmp/spec/Makefile.targ => deleted_files/usr/src/lib/libipmp/spec/Makefile.targ rename : usr/src/lib/libipmp/spec/amd64/Makefile => deleted_files/usr/src/lib/libipmp/spec/amd64/Makefile rename : usr/src/lib/libipmp/spec/i386/Makefile => deleted_files/usr/src/lib/libipmp/spec/i386/Makefile rename : usr/src/lib/libipmp/spec/ipmp.spec => deleted_files/usr/src/lib/libipmp/spec/ipmp.spec rename : usr/src/lib/libipmp/spec/sparc/Makefile => deleted_files/usr/src/lib/libipmp/spec/sparc/Makefile rename : usr/src/lib/libipmp/spec/sparcv9/Makefile => deleted_files/usr/src/lib/libipmp/spec/sparcv9/Makefile rename : usr/src/lib/libipmp/spec/versions => deleted_files/usr/src/lib/libipmp/spec/versions rename : usr/src/lib/libipp/spec/Makefile => deleted_files/usr/src/lib/libipp/spec/Makefile rename : usr/src/lib/libipp/spec/Makefile.targ => deleted_files/usr/src/lib/libipp/spec/Makefile.targ rename : usr/src/lib/libipp/spec/amd64/Makefile => deleted_files/usr/src/lib/libipp/spec/amd64/Makefile rename : usr/src/lib/libipp/spec/i386/Makefile => deleted_files/usr/src/lib/libipp/spec/i386/Makefile rename : usr/src/lib/libipp/spec/libipp.spec => deleted_files/usr/src/lib/libipp/spec/libipp.spec rename : usr/src/lib/libipp/spec/sparc/Makefile => deleted_files/usr/src/lib/libipp/spec/sparc/Makefile rename : usr/src/lib/libipp/spec/sparcv9/Makefile => deleted_files/usr/src/lib/libipp/spec/sparcv9/Makefile rename : usr/src/lib/libipp/spec/versions => deleted_files/usr/src/lib/libipp/spec/versions rename : usr/src/lib/libipsecutil/spec/Makefile => deleted_files/usr/src/lib/libipsecutil/spec/Makefile rename : usr/src/lib/libipsecutil/spec/Makefile.targ => deleted_files/usr/src/lib/libipsecutil/spec/Makefile.targ rename : usr/src/lib/libipsecutil/spec/algs.spec => deleted_files/usr/src/lib/libipsecutil/spec/algs.spec rename : usr/src/lib/libipsecutil/spec/amd64/Makefile => deleted_files/usr/src/lib/libipsecutil/spec/amd64/Makefile rename : usr/src/lib/libipsecutil/spec/err.spec => deleted_files/usr/src/lib/libipsecutil/spec/err.spec rename : usr/src/lib/libipsecutil/spec/i386/Makefile => deleted_files/usr/src/lib/libipsecutil/spec/i386/Makefile rename : usr/src/lib/libipsecutil/spec/ipsec_util.spec => deleted_files/usr/src/lib/libipsecutil/spec/ipsec_util.spec rename : usr/src/lib/libipsecutil/spec/sparc/Makefile => deleted_files/usr/src/lib/libipsecutil/spec/sparc/Makefile rename : usr/src/lib/libipsecutil/spec/sparcv9/Makefile => deleted_files/usr/src/lib/libipsecutil/spec/sparcv9/Makefile rename : usr/src/lib/libipsecutil/spec/versions => deleted_files/usr/src/lib/libipsecutil/spec/versions rename : usr/src/lib/libkstat/spec/Makefile => deleted_files/usr/src/lib/libkstat/spec/Makefile rename : usr/src/lib/libkstat/spec/Makefile.targ => deleted_files/usr/src/lib/libkstat/spec/Makefile.targ rename : usr/src/lib/libkstat/spec/amd64/Makefile => deleted_files/usr/src/lib/libkstat/spec/amd64/Makefile rename : usr/src/lib/libkstat/spec/i386/Makefile => deleted_files/usr/src/lib/libkstat/spec/i386/Makefile rename : usr/src/lib/libkstat/spec/kstat.spec => deleted_files/usr/src/lib/libkstat/spec/kstat.spec rename : usr/src/lib/libkstat/spec/sparc/Makefile => deleted_files/usr/src/lib/libkstat/spec/sparc/Makefile rename : usr/src/lib/libkstat/spec/sparcv9/Makefile => deleted_files/usr/src/lib/libkstat/spec/sparcv9/Makefile rename : usr/src/lib/libkstat/spec/versions => deleted_files/usr/src/lib/libkstat/spec/versions rename : usr/src/lib/libkvm/spec/Makefile => deleted_files/usr/src/lib/libkvm/spec/Makefile rename : usr/src/lib/libkvm/spec/Makefile.targ => deleted_files/usr/src/lib/libkvm/spec/Makefile.targ rename : usr/src/lib/libkvm/spec/amd64/Makefile => deleted_files/usr/src/lib/libkvm/spec/amd64/Makefile rename : usr/src/lib/libkvm/spec/i386/Makefile => deleted_files/usr/src/lib/libkvm/spec/i386/Makefile rename : usr/src/lib/libkvm/spec/kvm.spec => deleted_files/usr/src/lib/libkvm/spec/kvm.spec rename : usr/src/lib/libkvm/spec/sparc/Makefile => deleted_files/usr/src/lib/libkvm/spec/sparc/Makefile rename : usr/src/lib/libkvm/spec/sparcv9/Makefile => deleted_files/usr/src/lib/libkvm/spec/sparcv9/Makefile rename : usr/src/lib/libkvm/spec/versions => deleted_files/usr/src/lib/libkvm/spec/versions rename : usr/src/lib/liblaadm/spec/Makefile => deleted_files/usr/src/lib/liblaadm/spec/Makefile rename : usr/src/lib/liblaadm/spec/Makefile.targ => deleted_files/usr/src/lib/liblaadm/spec/Makefile.targ rename : usr/src/lib/liblaadm/spec/amd64/Makefile => deleted_files/usr/src/lib/liblaadm/spec/amd64/Makefile rename : usr/src/lib/liblaadm/spec/i386/Makefile => deleted_files/usr/src/lib/liblaadm/spec/i386/Makefile rename : usr/src/lib/liblaadm/spec/laadm.spec => deleted_files/usr/src/lib/liblaadm/spec/laadm.spec rename : usr/src/lib/liblaadm/spec/sparc/Makefile => deleted_files/usr/src/lib/liblaadm/spec/sparc/Makefile rename : usr/src/lib/liblaadm/spec/sparcv9/Makefile => deleted_files/usr/src/lib/liblaadm/spec/sparcv9/Makefile rename : usr/src/lib/liblaadm/spec/versions => deleted_files/usr/src/lib/liblaadm/spec/versions rename : usr/src/lib/libldap4/spec/Makefile => deleted_files/usr/src/lib/libldap4/spec/Makefile rename : usr/src/lib/libldap4/spec/Makefile.targ => deleted_files/usr/src/lib/libldap4/spec/Makefile.targ rename : usr/src/lib/libldap4/spec/amd64/Makefile => deleted_files/usr/src/lib/libldap4/spec/amd64/Makefile rename : usr/src/lib/libldap4/spec/i386/Makefile => deleted_files/usr/src/lib/libldap4/spec/i386/Makefile rename : usr/src/lib/libldap4/spec/ldap.spec => deleted_files/usr/src/lib/libldap4/spec/ldap.spec rename : usr/src/lib/libldap4/spec/sparc/Makefile => deleted_files/usr/src/lib/libldap4/spec/sparc/Makefile rename : usr/src/lib/libldap4/spec/sparcv9/Makefile => deleted_files/usr/src/lib/libldap4/spec/sparcv9/Makefile rename : usr/src/lib/libldap4/spec/versions => deleted_files/usr/src/lib/libldap4/spec/versions rename : usr/src/lib/libldap5/spec/Makefile => deleted_files/usr/src/lib/libldap5/spec/Makefile rename : usr/src/lib/libldap5/spec/Makefile.targ => deleted_files/usr/src/lib/libldap5/spec/Makefile.targ rename : usr/src/lib/libldap5/spec/amd64/Makefile => deleted_files/usr/src/lib/libldap5/spec/amd64/Makefile rename : usr/src/lib/libldap5/spec/i386/Makefile => deleted_files/usr/src/lib/libldap5/spec/i386/Makefile rename : usr/src/lib/libldap5/spec/ldap.spec => deleted_files/usr/src/lib/libldap5/spec/ldap.spec rename : usr/src/lib/libldap5/spec/sparc/Makefile => deleted_files/usr/src/lib/libldap5/spec/sparc/Makefile rename : usr/src/lib/libldap5/spec/sparcv9/Makefile => deleted_files/usr/src/lib/libldap5/spec/sparcv9/Makefile rename : usr/src/lib/libldap5/spec/versions => deleted_files/usr/src/lib/libldap5/spec/versions rename : usr/src/lib/liblgrp/spec/Makefile => deleted_files/usr/src/lib/liblgrp/spec/Makefile rename : usr/src/lib/liblgrp/spec/Makefile.targ => deleted_files/usr/src/lib/liblgrp/spec/Makefile.targ rename : usr/src/lib/liblgrp/spec/amd64/Makefile => deleted_files/usr/src/lib/liblgrp/spec/amd64/Makefile rename : usr/src/lib/liblgrp/spec/i386/Makefile => deleted_files/usr/src/lib/liblgrp/spec/i386/Makefile rename : usr/src/lib/liblgrp/spec/lgrp.spec => deleted_files/usr/src/lib/liblgrp/spec/lgrp.spec rename : usr/src/lib/liblgrp/spec/sparc/Makefile => deleted_files/usr/src/lib/liblgrp/spec/sparc/Makefile rename : usr/src/lib/liblgrp/spec/sparcv9/Makefile => deleted_files/usr/src/lib/liblgrp/spec/sparcv9/Makefile rename : usr/src/lib/liblgrp/spec/versions => deleted_files/usr/src/lib/liblgrp/spec/versions rename : usr/src/lib/liblm/spec/Makefile => deleted_files/usr/src/lib/liblm/spec/Makefile rename : usr/src/lib/liblm/spec/Makefile.targ => deleted_files/usr/src/lib/liblm/spec/Makefile.targ rename : usr/src/lib/liblm/spec/amd64/Makefile => deleted_files/usr/src/lib/liblm/spec/amd64/Makefile rename : usr/src/lib/liblm/spec/i386/Makefile => deleted_files/usr/src/lib/liblm/spec/i386/Makefile rename : usr/src/lib/liblm/spec/lm.spec => deleted_files/usr/src/lib/liblm/spec/lm.spec rename : usr/src/lib/liblm/spec/sparc/Makefile => deleted_files/usr/src/lib/liblm/spec/sparc/Makefile rename : usr/src/lib/liblm/spec/sparcv9/Makefile => deleted_files/usr/src/lib/liblm/spec/sparcv9/Makefile rename : usr/src/lib/liblm/spec/versions => deleted_files/usr/src/lib/liblm/spec/versions rename : usr/src/lib/libmacadm/spec/Makefile => deleted_files/usr/src/lib/libmacadm/spec/Makefile rename : usr/src/lib/libmacadm/spec/Makefile.targ => deleted_files/usr/src/lib/libmacadm/spec/Makefile.targ rename : usr/src/lib/libmacadm/spec/amd64/Makefile => deleted_files/usr/src/lib/libmacadm/spec/amd64/Makefile rename : usr/src/lib/libmacadm/spec/i386/Makefile => deleted_files/usr/src/lib/libmacadm/spec/i386/Makefile rename : usr/src/lib/libmacadm/spec/macadm.spec => deleted_files/usr/src/lib/libmacadm/spec/macadm.spec rename : usr/src/lib/libmacadm/spec/sparc/Makefile => deleted_files/usr/src/lib/libmacadm/spec/sparc/Makefile rename : usr/src/lib/libmacadm/spec/sparcv9/Makefile => deleted_files/usr/src/lib/libmacadm/spec/sparcv9/Makefile rename : usr/src/lib/libmacadm/spec/versions => deleted_files/usr/src/lib/libmacadm/spec/versions rename : usr/src/lib/libmail/spec/Makefile => deleted_files/usr/src/lib/libmail/spec/Makefile rename : usr/src/lib/libmail/spec/Makefile.targ => deleted_files/usr/src/lib/libmail/spec/Makefile.targ rename : usr/src/lib/libmail/spec/amd64/Makefile => deleted_files/usr/src/lib/libmail/spec/amd64/Makefile rename : usr/src/lib/libmail/spec/i386/Makefile => deleted_files/usr/src/lib/libmail/spec/i386/Makefile rename : usr/src/lib/libmail/spec/mail.spec => deleted_files/usr/src/lib/libmail/spec/mail.spec rename : usr/src/lib/libmail/spec/sparc/Makefile => deleted_files/usr/src/lib/libmail/spec/sparc/Makefile rename : usr/src/lib/libmail/spec/sparcv9/Makefile => deleted_files/usr/src/lib/libmail/spec/sparcv9/Makefile rename : usr/src/lib/libmail/spec/versions => deleted_files/usr/src/lib/libmail/spec/versions rename : usr/src/lib/libmalloc/spec/Makefile => deleted_files/usr/src/lib/libmalloc/spec/Makefile rename : usr/src/lib/libmalloc/spec/Makefile.targ => deleted_files/usr/src/lib/libmalloc/spec/Makefile.targ rename : usr/src/lib/libmalloc/spec/amd64/Makefile => deleted_files/usr/src/lib/libmalloc/spec/amd64/Makefile rename : usr/src/lib/libmalloc/spec/i386/Makefile => deleted_files/usr/src/lib/libmalloc/spec/i386/Makefile rename : usr/src/lib/libmalloc/spec/malloc.spec => deleted_files/usr/src/lib/libmalloc/spec/malloc.spec rename : usr/src/lib/libmalloc/spec/sparc/Makefile => deleted_files/usr/src/lib/libmalloc/spec/sparc/Makefile rename : usr/src/lib/libmalloc/spec/sparcv9/Makefile => deleted_files/usr/src/lib/libmalloc/spec/sparcv9/Makefile rename : usr/src/lib/libmalloc/spec/versions => deleted_files/usr/src/lib/libmalloc/spec/versions rename : usr/src/lib/libmapid/spec/Makefile => deleted_files/usr/src/lib/libmapid/spec/Makefile rename : usr/src/lib/libmapid/spec/Makefile.targ => deleted_files/usr/src/lib/libmapid/spec/Makefile.targ rename : usr/src/lib/libmapid/spec/i386/Makefile => deleted_files/usr/src/lib/libmapid/spec/i386/Makefile rename : usr/src/lib/libmapid/spec/mapid.spec => deleted_files/usr/src/lib/libmapid/spec/mapid.spec rename : usr/src/lib/libmapid/spec/sparc/Makefile => deleted_files/usr/src/lib/libmapid/spec/sparc/Makefile rename : usr/src/lib/libmapid/spec/versions => deleted_files/usr/src/lib/libmapid/spec/versions rename : usr/src/lib/libmapmalloc/spec/Makefile => deleted_files/usr/src/lib/libmapmalloc/spec/Makefile rename : usr/src/lib/libmapmalloc/spec/Makefile.targ => deleted_files/usr/src/lib/libmapmalloc/spec/Makefile.targ rename : usr/src/lib/libmapmalloc/spec/amd64/Makefile => deleted_files/usr/src/lib/libmapmalloc/spec/amd64/Makefile rename : usr/src/lib/libmapmalloc/spec/i386/Makefile => deleted_files/usr/src/lib/libmapmalloc/spec/i386/Makefile rename : usr/src/lib/libmapmalloc/spec/mapmalloc.spec => deleted_files/usr/src/lib/libmapmalloc/spec/mapmalloc.spec rename : usr/src/lib/libmapmalloc/spec/sparc/Makefile => deleted_files/usr/src/lib/libmapmalloc/spec/sparc/Makefile rename : usr/src/lib/libmapmalloc/spec/sparcv9/Makefile => deleted_files/usr/src/lib/libmapmalloc/spec/sparcv9/Makefile rename : usr/src/lib/libmapmalloc/spec/versions => deleted_files/usr/src/lib/libmapmalloc/spec/versions rename : usr/src/lib/libmd/spec/Makefile => deleted_files/usr/src/lib/libmd/spec/Makefile rename : usr/src/lib/libmd/spec/Makefile.targ => deleted_files/usr/src/lib/libmd/spec/Makefile.targ rename : usr/src/lib/libmd/spec/amd64/Makefile => deleted_files/usr/src/lib/libmd/spec/amd64/Makefile rename : usr/src/lib/libmd/spec/i386/Makefile => deleted_files/usr/src/lib/libmd/spec/i386/Makefile rename : usr/src/lib/libmd/spec/md.spec => deleted_files/usr/src/lib/libmd/spec/md.spec rename : usr/src/lib/libmd/spec/sparc/Makefile => deleted_files/usr/src/lib/libmd/spec/sparc/Makefile rename : usr/src/lib/libmd/spec/sparcv9/Makefile => deleted_files/usr/src/lib/libmd/spec/sparcv9/Makefile rename : usr/src/lib/libmd/spec/versions => deleted_files/usr/src/lib/libmd/spec/versions rename : usr/src/lib/libmp/spec/Makefile => deleted_files/usr/src/lib/libmp/spec/Makefile rename : usr/src/lib/libmp/spec/Makefile.targ => deleted_files/usr/src/lib/libmp/spec/Makefile.targ rename : usr/src/lib/libmp/spec/amd64/Makefile => deleted_files/usr/src/lib/libmp/spec/amd64/Makefile rename : usr/src/lib/libmp/spec/i386/Makefile => deleted_files/usr/src/lib/libmp/spec/i386/Makefile rename : usr/src/lib/libmp/spec/mp.spec => deleted_files/usr/src/lib/libmp/spec/mp.spec rename : usr/src/lib/libmp/spec/mp_1.spec => deleted_files/usr/src/lib/libmp/spec/mp_1.spec rename : usr/src/lib/libmp/spec/sparc/Makefile => deleted_files/usr/src/lib/libmp/spec/sparc/Makefile rename : usr/src/lib/libmp/spec/sparcv9/Makefile => deleted_files/usr/src/lib/libmp/spec/sparcv9/Makefile rename : usr/src/lib/libmp/spec/versions => deleted_files/usr/src/lib/libmp/spec/versions rename : usr/src/lib/libmtmalloc/spec/Makefile => deleted_files/usr/src/lib/libmtmalloc/spec/Makefile rename : usr/src/lib/libmtmalloc/spec/Makefile.targ => deleted_files/usr/src/lib/libmtmalloc/spec/Makefile.targ rename : usr/src/lib/libmtmalloc/spec/amd64/Makefile => deleted_files/usr/src/lib/libmtmalloc/spec/amd64/Makefile rename : usr/src/lib/libmtmalloc/spec/i386/Makefile => deleted_files/usr/src/lib/libmtmalloc/spec/i386/Makefile rename : usr/src/lib/libmtmalloc/spec/mtmalloc.spec => deleted_files/usr/src/lib/libmtmalloc/spec/mtmalloc.spec rename : usr/src/lib/libmtmalloc/spec/sparc/Makefile => deleted_files/usr/src/lib/libmtmalloc/spec/sparc/Makefile rename : usr/src/lib/libmtmalloc/spec/sparcv9/Makefile => deleted_files/usr/src/lib/libmtmalloc/spec/sparcv9/Makefile rename : usr/src/lib/libmtmalloc/spec/versions => deleted_files/usr/src/lib/libmtmalloc/spec/versions rename : usr/src/lib/libnisdb/spec/Makefile => deleted_files/usr/src/lib/libnisdb/spec/Makefile rename : usr/src/lib/libnisdb/spec/Makefile.targ => deleted_files/usr/src/lib/libnisdb/spec/Makefile.targ rename : usr/src/lib/libnisdb/spec/amd64/Makefile => deleted_files/usr/src/lib/libnisdb/spec/amd64/Makefile rename : usr/src/lib/libnisdb/spec/i386/Makefile => deleted_files/usr/src/lib/libnisdb/spec/i386/Makefile rename : usr/src/lib/libnisdb/spec/nisdb.spec => deleted_files/usr/src/lib/libnisdb/spec/nisdb.spec rename : usr/src/lib/libnisdb/spec/sparc/Makefile => deleted_files/usr/src/lib/libnisdb/spec/sparc/Makefile rename : usr/src/lib/libnisdb/spec/sparcv9/Makefile => deleted_files/usr/src/lib/libnisdb/spec/sparcv9/Makefile rename : usr/src/lib/libnisdb/spec/versions => deleted_files/usr/src/lib/libnisdb/spec/versions rename : usr/src/lib/libnls/spec/Makefile => deleted_files/usr/src/lib/libnls/spec/Makefile rename : usr/src/lib/libnls/spec/Makefile.targ => deleted_files/usr/src/lib/libnls/spec/Makefile.targ rename : usr/src/lib/libnls/spec/amd64/Makefile => deleted_files/usr/src/lib/libnls/spec/amd64/Makefile rename : usr/src/lib/libnls/spec/i386/Makefile => deleted_files/usr/src/lib/libnls/spec/i386/Makefile rename : usr/src/lib/libnls/spec/nls.spec => deleted_files/usr/src/lib/libnls/spec/nls.spec rename : usr/src/lib/libnls/spec/sparc/Makefile => deleted_files/usr/src/lib/libnls/spec/sparc/Makefile rename : usr/src/lib/libnls/spec/sparcv9/Makefile => deleted_files/usr/src/lib/libnls/spec/sparcv9/Makefile rename : usr/src/lib/libnls/spec/versions => deleted_files/usr/src/lib/libnls/spec/versions rename : usr/src/lib/libnsl/spec/Makefile => deleted_files/usr/src/lib/libnsl/spec/Makefile rename : usr/src/lib/libnsl/spec/Makefile.targ => deleted_files/usr/src/lib/libnsl/spec/Makefile.targ rename : usr/src/lib/libnsl/spec/amd64/Makefile => deleted_files/usr/src/lib/libnsl/spec/amd64/Makefile rename : usr/src/lib/libnsl/spec/des.spec => deleted_files/usr/src/lib/libnsl/spec/des.spec rename : usr/src/lib/libnsl/spec/dial.spec => deleted_files/usr/src/lib/libnsl/spec/dial.spec rename : usr/src/lib/libnsl/spec/i386/Makefile => deleted_files/usr/src/lib/libnsl/spec/i386/Makefile rename : usr/src/lib/libnsl/spec/inet.spec => deleted_files/usr/src/lib/libnsl/spec/inet.spec rename : usr/src/lib/libnsl/spec/ipsec.spec => deleted_files/usr/src/lib/libnsl/spec/ipsec.spec rename : usr/src/lib/libnsl/spec/netdir.spec => deleted_files/usr/src/lib/libnsl/spec/netdir.spec rename : usr/src/lib/libnsl/spec/nis.spec => deleted_files/usr/src/lib/libnsl/spec/nis.spec rename : usr/src/lib/libnsl/spec/nsl.spec => deleted_files/usr/src/lib/libnsl/spec/nsl.spec rename : usr/src/lib/libnsl/spec/private.spec => deleted_files/usr/src/lib/libnsl/spec/private.spec rename : usr/src/lib/libnsl/spec/rpc.spec => deleted_files/usr/src/lib/libnsl/spec/rpc.spec rename : usr/src/lib/libnsl/spec/sparc/Makefile => deleted_files/usr/src/lib/libnsl/spec/sparc/Makefile rename : usr/src/lib/libnsl/spec/sparcv9/Makefile => deleted_files/usr/src/lib/libnsl/spec/sparcv9/Makefile rename : usr/src/lib/libnsl/spec/tli.spec => deleted_files/usr/src/lib/libnsl/spec/tli.spec rename : usr/src/lib/libnsl/spec/versions => deleted_files/usr/src/lib/libnsl/spec/versions rename : usr/src/lib/libnsl/spec/xdr.spec => deleted_files/usr/src/lib/libnsl/spec/xdr.spec rename : usr/src/lib/libnsl/spec/xti.spec => deleted_files/usr/src/lib/libnsl/spec/xti.spec rename : usr/src/lib/libnsl/spec/yp.spec => deleted_files/usr/src/lib/libnsl/spec/yp.spec rename : usr/src/lib/libnvpair/spec/Makefile => deleted_files/usr/src/lib/libnvpair/spec/Makefile rename : usr/src/lib/libnvpair/spec/Makefile.targ => deleted_files/usr/src/lib/libnvpair/spec/Makefile.targ rename : usr/src/lib/libnvpair/spec/amd64/Makefile => deleted_files/usr/src/lib/libnvpair/spec/amd64/Makefile rename : usr/src/lib/libnvpair/spec/i386/Makefile => deleted_files/usr/src/lib/libnvpair/spec/i386/Makefile rename : usr/src/lib/libnvpair/spec/nvpair.spec => deleted_files/usr/src/lib/libnvpair/spec/nvpair.spec rename : usr/src/lib/libnvpair/spec/sparc/Makefile => deleted_files/usr/src/lib/libnvpair/spec/sparc/Makefile rename : usr/src/lib/libnvpair/spec/sparcv9/Makefile => deleted_files/usr/src/lib/libnvpair/spec/sparcv9/Makefile rename : usr/src/lib/libnvpair/spec/versions => deleted_files/usr/src/lib/libnvpair/spec/versions rename : usr/src/lib/libpam/spec/Makefile => deleted_files/usr/src/lib/libpam/spec/Makefile rename : usr/src/lib/libpam/spec/Makefile.targ => deleted_files/usr/src/lib/libpam/spec/Makefile.targ rename : usr/src/lib/libpam/spec/amd64/Makefile => deleted_files/usr/src/lib/libpam/spec/amd64/Makefile rename : usr/src/lib/libpam/spec/i386/Makefile => deleted_files/usr/src/lib/libpam/spec/i386/Makefile rename : usr/src/lib/libpam/spec/pam.spec => deleted_files/usr/src/lib/libpam/spec/pam.spec rename : usr/src/lib/libpam/spec/sparc/Makefile => deleted_files/usr/src/lib/libpam/spec/sparc/Makefile rename : usr/src/lib/libpam/spec/sparcv9/Makefile => deleted_files/usr/src/lib/libpam/spec/sparcv9/Makefile rename : usr/src/lib/libpam/spec/versions => deleted_files/usr/src/lib/libpam/spec/versions rename : usr/src/lib/libpctx/spec/Makefile => deleted_files/usr/src/lib/libpctx/spec/Makefile rename : usr/src/lib/libpctx/spec/Makefile.targ => deleted_files/usr/src/lib/libpctx/spec/Makefile.targ rename : usr/src/lib/libpctx/spec/amd64/Makefile => deleted_files/usr/src/lib/libpctx/spec/amd64/Makefile rename : usr/src/lib/libpctx/spec/i386/Makefile => deleted_files/usr/src/lib/libpctx/spec/i386/Makefile rename : usr/src/lib/libpctx/spec/pctx.spec => deleted_files/usr/src/lib/libpctx/spec/pctx.spec rename : usr/src/lib/libpctx/spec/sparc/Makefile => deleted_files/usr/src/lib/libpctx/spec/sparc/Makefile rename : usr/src/lib/libpctx/spec/sparcv9/Makefile => deleted_files/usr/src/lib/libpctx/spec/sparcv9/Makefile rename : usr/src/lib/libpctx/spec/versions => deleted_files/usr/src/lib/libpctx/spec/versions rename : usr/src/lib/libpicl/spec/Makefile => deleted_files/usr/src/lib/libpicl/spec/Makefile rename : usr/src/lib/libpicl/spec/Makefile.targ => deleted_files/usr/src/lib/libpicl/spec/Makefile.targ rename : usr/src/lib/libpicl/spec/amd64/Makefile => deleted_files/usr/src/lib/libpicl/spec/amd64/Makefile rename : usr/src/lib/libpicl/spec/i386/Makefile => deleted_files/usr/src/lib/libpicl/spec/i386/Makefile rename : usr/src/lib/libpicl/spec/picl.spec => deleted_files/usr/src/lib/libpicl/spec/picl.spec rename : usr/src/lib/libpicl/spec/sparc/Makefile => deleted_files/usr/src/lib/libpicl/spec/sparc/Makefile rename : usr/src/lib/libpicl/spec/sparcv9/Makefile => deleted_files/usr/src/lib/libpicl/spec/sparcv9/Makefile rename : usr/src/lib/libpicl/spec/versions => deleted_files/usr/src/lib/libpicl/spec/versions rename : usr/src/lib/libpicltree/spec/Makefile => deleted_files/usr/src/lib/libpicltree/spec/Makefile rename : usr/src/lib/libpicltree/spec/Makefile.targ => deleted_files/usr/src/lib/libpicltree/spec/Makefile.targ rename : usr/src/lib/libpicltree/spec/i386/Makefile => deleted_files/usr/src/lib/libpicltree/spec/i386/Makefile rename : usr/src/lib/libpicltree/spec/picltree.spec => deleted_files/usr/src/lib/libpicltree/spec/picltree.spec rename : usr/src/lib/libpicltree/spec/sparc/Makefile => deleted_files/usr/src/lib/libpicltree/spec/sparc/Makefile rename : usr/src/lib/libpicltree/spec/versions => deleted_files/usr/src/lib/libpicltree/spec/versions rename : usr/src/lib/libplot/plot/spec/Makefile => deleted_files/usr/src/lib/libplot/plot/spec/Makefile rename : usr/src/lib/libplot/plot/spec/Makefile.targ => deleted_files/usr/src/lib/libplot/plot/spec/Makefile.targ rename : usr/src/lib/libplot/plot/spec/amd64/Makefile => deleted_files/usr/src/lib/libplot/plot/spec/amd64/Makefile rename : usr/src/lib/libplot/plot/spec/i386/Makefile => deleted_files/usr/src/lib/libplot/plot/spec/i386/Makefile rename : usr/src/lib/libplot/plot/spec/plot.spec => deleted_files/usr/src/lib/libplot/plot/spec/plot.spec rename : usr/src/lib/libplot/plot/spec/sparc/Makefile => deleted_files/usr/src/lib/libplot/plot/spec/sparc/Makefile rename : usr/src/lib/libplot/plot/spec/sparcv9/Makefile => deleted_files/usr/src/lib/libplot/plot/spec/sparcv9/Makefile rename : usr/src/lib/libplot/plot/spec/versions => deleted_files/usr/src/lib/libplot/plot/spec/versions rename : usr/src/lib/libplot/t300/spec/Makefile => deleted_files/usr/src/lib/libplot/t300/spec/Makefile rename : usr/src/lib/libplot/t300/spec/Makefile.targ => deleted_files/usr/src/lib/libplot/t300/spec/Makefile.targ rename : usr/src/lib/libplot/t300/spec/amd64/Makefile => deleted_files/usr/src/lib/libplot/t300/spec/amd64/Makefile rename : usr/src/lib/libplot/t300/spec/i386/Makefile => deleted_files/usr/src/lib/libplot/t300/spec/i386/Makefile rename : usr/src/lib/libplot/t300/spec/sparc/Makefile => deleted_files/usr/src/lib/libplot/t300/spec/sparc/Makefile rename : usr/src/lib/libplot/t300/spec/sparcv9/Makefile => deleted_files/usr/src/lib/libplot/t300/spec/sparcv9/Makefile rename : usr/src/lib/libplot/t300/spec/t300.spec => deleted_files/usr/src/lib/libplot/t300/spec/t300.spec rename : usr/src/lib/libplot/t300/spec/versions => deleted_files/usr/src/lib/libplot/t300/spec/versions rename : usr/src/lib/libplot/t300s/spec/Makefile => deleted_files/usr/src/lib/libplot/t300s/spec/Makefile rename : usr/src/lib/libplot/t300s/spec/Makefile.targ => deleted_files/usr/src/lib/libplot/t300s/spec/Makefile.targ rename : usr/src/lib/libplot/t300s/spec/amd64/Makefile => deleted_files/usr/src/lib/libplot/t300s/spec/amd64/Makefile rename : usr/src/lib/libplot/t300s/spec/i386/Makefile => deleted_files/usr/src/lib/libplot/t300s/spec/i386/Makefile rename : usr/src/lib/libplot/t300s/spec/sparc/Makefile => deleted_files/usr/src/lib/libplot/t300s/spec/sparc/Makefile rename : usr/src/lib/libplot/t300s/spec/sparcv9/Makefile => deleted_files/usr/src/lib/libplot/t300s/spec/sparcv9/Makefile rename : usr/src/lib/libplot/t300s/spec/t300s.spec => deleted_files/usr/src/lib/libplot/t300s/spec/t300s.spec rename : usr/src/lib/libplot/t300s/spec/versions => deleted_files/usr/src/lib/libplot/t300s/spec/versions rename : usr/src/lib/libplot/t4014/spec/Makefile => deleted_files/usr/src/lib/libplot/t4014/spec/Makefile rename : usr/src/lib/libplot/t4014/spec/Makefile.targ => deleted_files/usr/src/lib/libplot/t4014/spec/Makefile.targ rename : usr/src/lib/libplot/t4014/spec/amd64/Makefile => deleted_files/usr/src/lib/libplot/t4014/spec/amd64/Makefile rename : usr/src/lib/libplot/t4014/spec/i386/Makefile => deleted_files/usr/src/lib/libplot/t4014/spec/i386/Makefile rename : usr/src/lib/libplot/t4014/spec/sparc/Makefile => deleted_files/usr/src/lib/libplot/t4014/spec/sparc/Makefile rename : usr/src/lib/libplot/t4014/spec/sparcv9/Makefile => deleted_files/usr/src/lib/libplot/t4014/spec/sparcv9/Makefile rename : usr/src/lib/libplot/t4014/spec/t4014.spec => deleted_files/usr/src/lib/libplot/t4014/spec/t4014.spec rename : usr/src/lib/libplot/t4014/spec/versions => deleted_files/usr/src/lib/libplot/t4014/spec/versions rename : usr/src/lib/libplot/t450/spec/Makefile => deleted_files/usr/src/lib/libplot/t450/spec/Makefile rename : usr/src/lib/libplot/t450/spec/Makefile.targ => deleted_files/usr/src/lib/libplot/t450/spec/Makefile.targ rename : usr/src/lib/libplot/t450/spec/amd64/Makefile => deleted_files/usr/src/lib/libplot/t450/spec/amd64/Makefile rename : usr/src/lib/libplot/t450/spec/i386/Makefile => deleted_files/usr/src/lib/libplot/t450/spec/i386/Makefile rename : usr/src/lib/libplot/t450/spec/sparc/Makefile => deleted_files/usr/src/lib/libplot/t450/spec/sparc/Makefile rename : usr/src/lib/libplot/t450/spec/sparcv9/Makefile => deleted_files/usr/src/lib/libplot/t450/spec/sparcv9/Makefile rename : usr/src/lib/libplot/t450/spec/t450.spec => deleted_files/usr/src/lib/libplot/t450/spec/t450.spec rename : usr/src/lib/libplot/t450/spec/versions => deleted_files/usr/src/lib/libplot/t450/spec/versions rename : usr/src/lib/libplot/vt0/spec/Makefile => deleted_files/usr/src/lib/libplot/vt0/spec/Makefile rename : usr/src/lib/libplot/vt0/spec/Makefile.targ => deleted_files/usr/src/lib/libplot/vt0/spec/Makefile.targ rename : usr/src/lib/libplot/vt0/spec/amd64/Makefile => deleted_files/usr/src/lib/libplot/vt0/spec/amd64/Makefile rename : usr/src/lib/libplot/vt0/spec/i386/Makefile => deleted_files/usr/src/lib/libplot/vt0/spec/i386/Makefile rename : usr/src/lib/libplot/vt0/spec/sparc/Makefile => deleted_files/usr/src/lib/libplot/vt0/spec/sparc/Makefile rename : usr/src/lib/libplot/vt0/spec/sparcv9/Makefile => deleted_files/usr/src/lib/libplot/vt0/spec/sparcv9/Makefile rename : usr/src/lib/libplot/vt0/spec/versions => deleted_files/usr/src/lib/libplot/vt0/spec/versions rename : usr/src/lib/libplot/vt0/spec/vt0.spec => deleted_files/usr/src/lib/libplot/vt0/spec/vt0.spec rename : usr/src/lib/libpool/spec/Makefile => deleted_files/usr/src/lib/libpool/spec/Makefile rename : usr/src/lib/libpool/spec/Makefile.targ => deleted_files/usr/src/lib/libpool/spec/Makefile.targ rename : usr/src/lib/libpool/spec/amd64/Makefile => deleted_files/usr/src/lib/libpool/spec/amd64/Makefile rename : usr/src/lib/libpool/spec/i386/Makefile => deleted_files/usr/src/lib/libpool/spec/i386/Makefile rename : usr/src/lib/libpool/spec/pool.spec => deleted_files/usr/src/lib/libpool/spec/pool.spec rename : usr/src/lib/libpool/spec/sparc/Makefile => deleted_files/usr/src/lib/libpool/spec/sparc/Makefile rename : usr/src/lib/libpool/spec/sparcv9/Makefile => deleted_files/usr/src/lib/libpool/spec/sparcv9/Makefile rename : usr/src/lib/libpool/spec/versions => deleted_files/usr/src/lib/libpool/spec/versions rename : usr/src/lib/libproc/spec/Makefile => deleted_files/usr/src/lib/libproc/spec/Makefile rename : usr/src/lib/libproc/spec/Makefile.targ => deleted_files/usr/src/lib/libproc/spec/Makefile.targ rename : usr/src/lib/libproc/spec/amd64/Makefile => deleted_files/usr/src/lib/libproc/spec/amd64/Makefile rename : usr/src/lib/libproc/spec/i386/Makefile => deleted_files/usr/src/lib/libproc/spec/i386/Makefile rename : usr/src/lib/libproc/spec/proc.spec => deleted_files/usr/src/lib/libproc/spec/proc.spec rename : usr/src/lib/libproc/spec/sparc/Makefile => deleted_files/usr/src/lib/libproc/spec/sparc/Makefile rename : usr/src/lib/libproc/spec/sparcv9/Makefile => deleted_files/usr/src/lib/libproc/spec/sparcv9/Makefile rename : usr/src/lib/libproc/spec/versions => deleted_files/usr/src/lib/libproc/spec/versions rename : usr/src/lib/libproject/spec/Makefile => deleted_files/usr/src/lib/libproject/spec/Makefile rename : usr/src/lib/libproject/spec/Makefile.targ => deleted_files/usr/src/lib/libproject/spec/Makefile.targ rename : usr/src/lib/libproject/spec/amd64/Makefile => deleted_files/usr/src/lib/libproject/spec/amd64/Makefile rename : usr/src/lib/libproject/spec/i386/Makefile => deleted_files/usr/src/lib/libproject/spec/i386/Makefile rename : usr/src/lib/libproject/spec/project.spec => deleted_files/usr/src/lib/libproject/spec/project.spec rename : usr/src/lib/libproject/spec/sparc/Makefile => deleted_files/usr/src/lib/libproject/spec/sparc/Makefile rename : usr/src/lib/libproject/spec/sparcv9/Makefile => deleted_files/usr/src/lib/libproject/spec/sparcv9/Makefile rename : usr/src/lib/libproject/spec/versions => deleted_files/usr/src/lib/libproject/spec/versions rename : usr/src/lib/librcm/spec/Makefile => deleted_files/usr/src/lib/librcm/spec/Makefile rename : usr/src/lib/librcm/spec/Makefile.targ => deleted_files/usr/src/lib/librcm/spec/Makefile.targ rename : usr/src/lib/librcm/spec/amd64/Makefile => deleted_files/usr/src/lib/librcm/spec/amd64/Makefile rename : usr/src/lib/librcm/spec/i386/Makefile => deleted_files/usr/src/lib/librcm/spec/i386/Makefile rename : usr/src/lib/librcm/spec/rcm.spec => deleted_files/usr/src/lib/librcm/spec/rcm.spec rename : usr/src/lib/librcm/spec/rcm_event.spec => deleted_files/usr/src/lib/librcm/spec/rcm_event.spec rename : usr/src/lib/librcm/spec/sparc/Makefile => deleted_files/usr/src/lib/librcm/spec/sparc/Makefile rename : usr/src/lib/librcm/spec/sparcv9/Makefile => deleted_files/usr/src/lib/librcm/spec/sparcv9/Makefile rename : usr/src/lib/librcm/spec/versions => deleted_files/usr/src/lib/librcm/spec/versions rename : usr/src/lib/libresolv/spec/Makefile => deleted_files/usr/src/lib/libresolv/spec/Makefile rename : usr/src/lib/libresolv/spec/Makefile.targ => deleted_files/usr/src/lib/libresolv/spec/Makefile.targ rename : usr/src/lib/libresolv/spec/amd64/Makefile => deleted_files/usr/src/lib/libresolv/spec/amd64/Makefile rename : usr/src/lib/libresolv/spec/i386/Makefile => deleted_files/usr/src/lib/libresolv/spec/i386/Makefile rename : usr/src/lib/libresolv/spec/res_mkquery.spec => deleted_files/usr/src/lib/libresolv/spec/res_mkquery.spec rename : usr/src/lib/libresolv/spec/resolv.spec => deleted_files/usr/src/lib/libresolv/spec/resolv.spec rename : usr/src/lib/libresolv/spec/sparc/Makefile => deleted_files/usr/src/lib/libresolv/spec/sparc/Makefile rename : usr/src/lib/libresolv/spec/sparcv9/Makefile => deleted_files/usr/src/lib/libresolv/spec/sparcv9/Makefile rename : usr/src/lib/libresolv/spec/versions => deleted_files/usr/src/lib/libresolv/spec/versions rename : usr/src/lib/libresolv2/cylink/spec/Makefile => deleted_files/usr/src/lib/libresolv2/cylink/spec/Makefile rename : usr/src/lib/libresolv2/cylink/spec/Makefile.targ => deleted_files/usr/src/lib/libresolv2/cylink/spec/Makefile.targ rename : usr/src/lib/libresolv2/cylink/spec/amd64/Makefile => deleted_files/usr/src/lib/libresolv2/cylink/spec/amd64/Makefile rename : usr/src/lib/libresolv2/cylink/spec/cylink.spec => deleted_files/usr/src/lib/libresolv2/cylink/spec/cylink.spec rename : usr/src/lib/libresolv2/cylink/spec/i386/Makefile => deleted_files/usr/src/lib/libresolv2/cylink/spec/i386/Makefile rename : usr/src/lib/libresolv2/cylink/spec/sparc/Makefile => deleted_files/usr/src/lib/libresolv2/cylink/spec/sparc/Makefile rename : usr/src/lib/libresolv2/cylink/spec/sparcv9/Makefile => deleted_files/usr/src/lib/libresolv2/cylink/spec/sparcv9/Makefile rename : usr/src/lib/libresolv2/cylink/spec/versions => deleted_files/usr/src/lib/libresolv2/cylink/spec/versions rename : usr/src/lib/libresolv2/dnssafe/spec/Makefile => deleted_files/usr/src/lib/libresolv2/dnssafe/spec/Makefile rename : usr/src/lib/libresolv2/dnssafe/spec/Makefile.targ => deleted_files/usr/src/lib/libresolv2/dnssafe/spec/Makefile.targ rename : usr/src/lib/libresolv2/dnssafe/spec/amd64/Makefile => deleted_files/usr/src/lib/libresolv2/dnssafe/spec/amd64/Makefile rename : usr/src/lib/libresolv2/dnssafe/spec/dnssafe.spec => deleted_files/usr/src/lib/libresolv2/dnssafe/spec/dnssafe.spec rename : usr/src/lib/libresolv2/dnssafe/spec/i386/Makefile => deleted_files/usr/src/lib/libresolv2/dnssafe/spec/i386/Makefile rename : usr/src/lib/libresolv2/dnssafe/spec/sparc/Makefile => deleted_files/usr/src/lib/libresolv2/dnssafe/spec/sparc/Makefile rename : usr/src/lib/libresolv2/dnssafe/spec/sparcv9/Makefile => deleted_files/usr/src/lib/libresolv2/dnssafe/spec/sparcv9/Makefile rename : usr/src/lib/libresolv2/dnssafe/spec/versions => deleted_files/usr/src/lib/libresolv2/dnssafe/spec/versions rename : usr/src/lib/libresolv2/irs/spec/Makefile => deleted_files/usr/src/lib/libresolv2/irs/spec/Makefile rename : usr/src/lib/libresolv2/irs/spec/Makefile.targ => deleted_files/usr/src/lib/libresolv2/irs/spec/Makefile.targ rename : usr/src/lib/libresolv2/irs/spec/amd64/Makefile => deleted_files/usr/src/lib/libresolv2/irs/spec/amd64/Makefile rename : usr/src/lib/libresolv2/irs/spec/i386/Makefile => deleted_files/usr/src/lib/libresolv2/irs/spec/i386/Makefile rename : usr/src/lib/libresolv2/irs/spec/irs.spec => deleted_files/usr/src/lib/libresolv2/irs/spec/irs.spec rename : usr/src/lib/libresolv2/irs/spec/sparc/Makefile => deleted_files/usr/src/lib/libresolv2/irs/spec/sparc/Makefile rename : usr/src/lib/libresolv2/irs/spec/sparcv9/Makefile => deleted_files/usr/src/lib/libresolv2/irs/spec/sparcv9/Makefile rename : usr/src/lib/libresolv2/irs/spec/versions => deleted_files/usr/src/lib/libresolv2/irs/spec/versions rename : usr/src/lib/libresolv2/spec/Makefile => deleted_files/usr/src/lib/libresolv2/spec/Makefile rename : usr/src/lib/libresolv2/spec/Makefile.targ => deleted_files/usr/src/lib/libresolv2/spec/Makefile.targ rename : usr/src/lib/libresolv2/spec/amd64/Makefile => deleted_files/usr/src/lib/libresolv2/spec/amd64/Makefile rename : usr/src/lib/libresolv2/spec/i386/Makefile => deleted_files/usr/src/lib/libresolv2/spec/i386/Makefile rename : usr/src/lib/libresolv2/spec/resolv2.spec => deleted_files/usr/src/lib/libresolv2/spec/resolv2.spec rename : usr/src/lib/libresolv2/spec/sparc/Makefile => deleted_files/usr/src/lib/libresolv2/spec/sparc/Makefile rename : usr/src/lib/libresolv2/spec/sparcv9/Makefile => deleted_files/usr/src/lib/libresolv2/spec/sparcv9/Makefile rename : usr/src/lib/libresolv2/spec/versions => deleted_files/usr/src/lib/libresolv2/spec/versions rename : usr/src/lib/librestart/spec/Makefile => deleted_files/usr/src/lib/librestart/spec/Makefile rename : usr/src/lib/librestart/spec/Makefile.targ => deleted_files/usr/src/lib/librestart/spec/Makefile.targ rename : usr/src/lib/librestart/spec/amd64/Makefile => deleted_files/usr/src/lib/librestart/spec/amd64/Makefile rename : usr/src/lib/librestart/spec/i386/Makefile => deleted_files/usr/src/lib/librestart/spec/i386/Makefile rename : usr/src/lib/librestart/spec/librestart.spec => deleted_files/usr/src/lib/librestart/spec/librestart.spec rename : usr/src/lib/librestart/spec/sparc/Makefile => deleted_files/usr/src/lib/librestart/spec/sparc/Makefile rename : usr/src/lib/librestart/spec/sparcv9/Makefile => deleted_files/usr/src/lib/librestart/spec/sparcv9/Makefile rename : usr/src/lib/librestart/spec/versions => deleted_files/usr/src/lib/librestart/spec/versions rename : usr/src/lib/librpcsvc/spec/Makefile => deleted_files/usr/src/lib/librpcsvc/spec/Makefile rename : usr/src/lib/librpcsvc/spec/Makefile.targ => deleted_files/usr/src/lib/librpcsvc/spec/Makefile.targ rename : usr/src/lib/librpcsvc/spec/amd64/Makefile => deleted_files/usr/src/lib/librpcsvc/spec/amd64/Makefile rename : usr/src/lib/librpcsvc/spec/i386/Makefile => deleted_files/usr/src/lib/librpcsvc/spec/i386/Makefile rename : usr/src/lib/librpcsvc/spec/rpcsvc.spec => deleted_files/usr/src/lib/librpcsvc/spec/rpcsvc.spec rename : usr/src/lib/librpcsvc/spec/sparc/Makefile => deleted_files/usr/src/lib/librpcsvc/spec/sparc/Makefile rename : usr/src/lib/librpcsvc/spec/sparcv9/Makefile => deleted_files/usr/src/lib/librpcsvc/spec/sparcv9/Makefile rename : usr/src/lib/librpcsvc/spec/versions => deleted_files/usr/src/lib/librpcsvc/spec/versions rename : usr/src/lib/librsm/spec/Makefile => deleted_files/usr/src/lib/librsm/spec/Makefile rename : usr/src/lib/librsm/spec/Makefile.targ => deleted_files/usr/src/lib/librsm/spec/Makefile.targ rename : usr/src/lib/librsm/spec/amd64/Makefile => deleted_files/usr/src/lib/librsm/spec/amd64/Makefile rename : usr/src/lib/librsm/spec/i386/Makefile => deleted_files/usr/src/lib/librsm/spec/i386/Makefile rename : usr/src/lib/librsm/spec/rsm.spec => deleted_files/usr/src/lib/librsm/spec/rsm.spec rename : usr/src/lib/librsm/spec/sparc/Makefile => deleted_files/usr/src/lib/librsm/spec/sparc/Makefile rename : usr/src/lib/librsm/spec/sparcv9/Makefile => deleted_files/usr/src/lib/librsm/spec/sparcv9/Makefile rename : usr/src/lib/librsm/spec/versions => deleted_files/usr/src/lib/librsm/spec/versions rename : usr/src/lib/libsasl/spec/Makefile => deleted_files/usr/src/lib/libsasl/spec/Makefile rename : usr/src/lib/libsasl/spec/Makefile.targ => deleted_files/usr/src/lib/libsasl/spec/Makefile.targ rename : usr/src/lib/libsasl/spec/amd64/Makefile => deleted_files/usr/src/lib/libsasl/spec/amd64/Makefile rename : usr/src/lib/libsasl/spec/i386/Makefile => deleted_files/usr/src/lib/libsasl/spec/i386/Makefile rename : usr/src/lib/libsasl/spec/sasl.spec => deleted_files/usr/src/lib/libsasl/spec/sasl.spec rename : usr/src/lib/libsasl/spec/sparc/Makefile => deleted_files/usr/src/lib/libsasl/spec/sparc/Makefile rename : usr/src/lib/libsasl/spec/sparcv9/Makefile => deleted_files/usr/src/lib/libsasl/spec/sparcv9/Makefile rename : usr/src/lib/libsasl/spec/versions => deleted_files/usr/src/lib/libsasl/spec/versions rename : usr/src/lib/libscf/spec/Makefile => deleted_files/usr/src/lib/libscf/spec/Makefile rename : usr/src/lib/libscf/spec/Makefile.targ => deleted_files/usr/src/lib/libscf/spec/Makefile.targ rename : usr/src/lib/libscf/spec/amd64/Makefile => deleted_files/usr/src/lib/libscf/spec/amd64/Makefile rename : usr/src/lib/libscf/spec/i386/Makefile => deleted_files/usr/src/lib/libscf/spec/i386/Makefile rename : usr/src/lib/libscf/spec/lowlevel.spec => deleted_files/usr/src/lib/libscf/spec/lowlevel.spec rename : usr/src/lib/libscf/spec/midlevel.spec => deleted_files/usr/src/lib/libscf/spec/midlevel.spec rename : usr/src/lib/libscf/spec/sparc/Makefile => deleted_files/usr/src/lib/libscf/spec/sparc/Makefile rename : usr/src/lib/libscf/spec/sparcv9/Makefile => deleted_files/usr/src/lib/libscf/spec/sparcv9/Makefile rename : usr/src/lib/libscf/spec/versions => deleted_files/usr/src/lib/libscf/spec/versions rename : usr/src/lib/libsctp/spec/Makefile => deleted_files/usr/src/lib/libsctp/spec/Makefile rename : usr/src/lib/libsctp/spec/Makefile.targ => deleted_files/usr/src/lib/libsctp/spec/Makefile.targ rename : usr/src/lib/libsctp/spec/amd64/Makefile => deleted_files/usr/src/lib/libsctp/spec/amd64/Makefile rename : usr/src/lib/libsctp/spec/i386/Makefile => deleted_files/usr/src/lib/libsctp/spec/i386/Makefile rename : usr/src/lib/libsctp/spec/sctp.spec => deleted_files/usr/src/lib/libsctp/spec/sctp.spec rename : usr/src/lib/libsctp/spec/sparc/Makefile => deleted_files/usr/src/lib/libsctp/spec/sparc/Makefile rename : usr/src/lib/libsctp/spec/sparcv9/Makefile => deleted_files/usr/src/lib/libsctp/spec/sparcv9/Makefile rename : usr/src/lib/libsctp/spec/versions => deleted_files/usr/src/lib/libsctp/spec/versions rename : usr/src/lib/libsec/spec/Makefile => deleted_files/usr/src/lib/libsec/spec/Makefile rename : usr/src/lib/libsec/spec/Makefile.targ => deleted_files/usr/src/lib/libsec/spec/Makefile.targ rename : usr/src/lib/libsec/spec/acl.spec => deleted_files/usr/src/lib/libsec/spec/acl.spec rename : usr/src/lib/libsec/spec/amd64/Makefile => deleted_files/usr/src/lib/libsec/spec/amd64/Makefile rename : usr/src/lib/libsec/spec/i386/Makefile => deleted_files/usr/src/lib/libsec/spec/i386/Makefile rename : usr/src/lib/libsec/spec/sparc/Makefile => deleted_files/usr/src/lib/libsec/spec/sparc/Makefile rename : usr/src/lib/libsec/spec/sparcv9/Makefile => deleted_files/usr/src/lib/libsec/spec/sparcv9/Makefile rename : usr/src/lib/libsec/spec/versions => deleted_files/usr/src/lib/libsec/spec/versions rename : usr/src/lib/libsecdb/spec/Makefile => deleted_files/usr/src/lib/libsecdb/spec/Makefile rename : usr/src/lib/libsecdb/spec/Makefile.targ => deleted_files/usr/src/lib/libsecdb/spec/Makefile.targ rename : usr/src/lib/libsecdb/spec/amd64/Makefile => deleted_files/usr/src/lib/libsecdb/spec/amd64/Makefile rename : usr/src/lib/libsecdb/spec/chkauthattr.spec => deleted_files/usr/src/lib/libsecdb/spec/chkauthattr.spec rename : usr/src/lib/libsecdb/spec/getauthattr.spec => deleted_files/usr/src/lib/libsecdb/spec/getauthattr.spec rename : usr/src/lib/libsecdb/spec/getexecattr.spec => deleted_files/usr/src/lib/libsecdb/spec/getexecattr.spec rename : usr/src/lib/libsecdb/spec/getprofattr.spec => deleted_files/usr/src/lib/libsecdb/spec/getprofattr.spec rename : usr/src/lib/libsecdb/spec/getuserattr.spec => deleted_files/usr/src/lib/libsecdb/spec/getuserattr.spec rename : usr/src/lib/libsecdb/spec/i386/Makefile => deleted_files/usr/src/lib/libsecdb/spec/i386/Makefile rename : usr/src/lib/libsecdb/spec/private.spec => deleted_files/usr/src/lib/libsecdb/spec/private.spec rename : usr/src/lib/libsecdb/spec/secdb.spec => deleted_files/usr/src/lib/libsecdb/spec/secdb.spec rename : usr/src/lib/libsecdb/spec/sparc/Makefile => deleted_files/usr/src/lib/libsecdb/spec/sparc/Makefile rename : usr/src/lib/libsecdb/spec/sparcv9/Makefile => deleted_files/usr/src/lib/libsecdb/spec/sparcv9/Makefile rename : usr/src/lib/libsecdb/spec/versions => deleted_files/usr/src/lib/libsecdb/spec/versions rename : usr/src/lib/libsendfile/spec/Makefile => deleted_files/usr/src/lib/libsendfile/spec/Makefile rename : usr/src/lib/libsendfile/spec/Makefile.targ => deleted_files/usr/src/lib/libsendfile/spec/Makefile.targ rename : usr/src/lib/libsendfile/spec/amd64/Makefile => deleted_files/usr/src/lib/libsendfile/spec/amd64/Makefile rename : usr/src/lib/libsendfile/spec/i386/Makefile => deleted_files/usr/src/lib/libsendfile/spec/i386/Makefile rename : usr/src/lib/libsendfile/spec/sendfile.spec => deleted_files/usr/src/lib/libsendfile/spec/sendfile.spec rename : usr/src/lib/libsendfile/spec/sparc/Makefile => deleted_files/usr/src/lib/libsendfile/spec/sparc/Makefile rename : usr/src/lib/libsendfile/spec/sparcv9/Makefile => deleted_files/usr/src/lib/libsendfile/spec/sparcv9/Makefile rename : usr/src/lib/libsendfile/spec/versions => deleted_files/usr/src/lib/libsendfile/spec/versions rename : usr/src/lib/libsldap/spec/Makefile => deleted_files/usr/src/lib/libsldap/spec/Makefile rename : usr/src/lib/libsldap/spec/Makefile.targ => deleted_files/usr/src/lib/libsldap/spec/Makefile.targ rename : usr/src/lib/libsldap/spec/amd64/Makefile => deleted_files/usr/src/lib/libsldap/spec/amd64/Makefile rename : usr/src/lib/libsldap/spec/i386/Makefile => deleted_files/usr/src/lib/libsldap/spec/i386/Makefile rename : usr/src/lib/libsldap/spec/sldap.spec => deleted_files/usr/src/lib/libsldap/spec/sldap.spec rename : usr/src/lib/libsldap/spec/sparc/Makefile => deleted_files/usr/src/lib/libsldap/spec/sparc/Makefile rename : usr/src/lib/libsldap/spec/sparcv9/Makefile => deleted_files/usr/src/lib/libsldap/spec/sparcv9/Makefile rename : usr/src/lib/libsldap/spec/versions => deleted_files/usr/src/lib/libsldap/spec/versions rename : usr/src/lib/libslp/spec/Makefile => deleted_files/usr/src/lib/libslp/spec/Makefile rename : usr/src/lib/libslp/spec/Makefile.targ => deleted_files/usr/src/lib/libslp/spec/Makefile.targ rename : usr/src/lib/libslp/spec/amd64/Makefile => deleted_files/usr/src/lib/libslp/spec/amd64/Makefile rename : usr/src/lib/libslp/spec/i386/Makefile => deleted_files/usr/src/lib/libslp/spec/i386/Makefile rename : usr/src/lib/libslp/spec/slp.spec => deleted_files/usr/src/lib/libslp/spec/slp.spec rename : usr/src/lib/libslp/spec/sparc/Makefile => deleted_files/usr/src/lib/libslp/spec/sparc/Makefile rename : usr/src/lib/libslp/spec/sparcv9/Makefile => deleted_files/usr/src/lib/libslp/spec/sparcv9/Makefile rename : usr/src/lib/libslp/spec/versions => deleted_files/usr/src/lib/libslp/spec/versions rename : usr/src/lib/libsmbios/spec/Makefile => deleted_files/usr/src/lib/libsmbios/spec/Makefile rename : usr/src/lib/libsmbios/spec/Makefile.targ => deleted_files/usr/src/lib/libsmbios/spec/Makefile.targ rename : usr/src/lib/libsmbios/spec/amd64/Makefile => deleted_files/usr/src/lib/libsmbios/spec/amd64/Makefile rename : usr/src/lib/libsmbios/spec/i386/Makefile => deleted_files/usr/src/lib/libsmbios/spec/i386/Makefile rename : usr/src/lib/libsmbios/spec/smbios.spec => deleted_files/usr/src/lib/libsmbios/spec/smbios.spec rename : usr/src/lib/libsmbios/spec/sparc/Makefile => deleted_files/usr/src/lib/libsmbios/spec/sparc/Makefile rename : usr/src/lib/libsmbios/spec/sparcv9/Makefile => deleted_files/usr/src/lib/libsmbios/spec/sparcv9/Makefile rename : usr/src/lib/libsmbios/spec/versions => deleted_files/usr/src/lib/libsmbios/spec/versions rename : usr/src/lib/libsmedia/library/spec/Makefile => deleted_files/usr/src/lib/libsmedia/library/spec/Makefile rename : usr/src/lib/libsmedia/library/spec/Makefile.targ => deleted_files/usr/src/lib/libsmedia/library/spec/Makefile.targ rename : usr/src/lib/libsmedia/library/spec/amd64/Makefile => deleted_files/usr/src/lib/libsmedia/library/spec/amd64/Makefile rename : usr/src/lib/libsmedia/library/spec/i386/Makefile => deleted_files/usr/src/lib/libsmedia/library/spec/i386/Makefile rename : usr/src/lib/libsmedia/library/spec/smedia.spec => deleted_files/usr/src/lib/libsmedia/library/spec/smedia.spec rename : usr/src/lib/libsmedia/library/spec/sparc/Makefile => deleted_files/usr/src/lib/libsmedia/library/spec/sparc/Makefile rename : usr/src/lib/libsmedia/library/spec/sparcv9/Makefile => deleted_files/usr/src/lib/libsmedia/library/spec/sparcv9/Makefile rename : usr/src/lib/libsmedia/library/spec/versions => deleted_files/usr/src/lib/libsmedia/library/spec/versions rename : usr/src/lib/libsmedia/plugins/floppy/spec/Makefile => deleted_files/usr/src/lib/libsmedia/plugins/floppy/spec/Makefile rename : usr/src/lib/libsmedia/plugins/floppy/spec/Makefile.targ => deleted_files/usr/src/lib/libsmedia/plugins/floppy/spec/Makefile.targ rename : usr/src/lib/libsmedia/plugins/floppy/spec/amd64/Makefile => deleted_files/usr/src/lib/libsmedia/plugins/floppy/spec/amd64/Makefile rename : usr/src/lib/libsmedia/plugins/floppy/spec/i386/Makefile => deleted_files/usr/src/lib/libsmedia/plugins/floppy/spec/i386/Makefile rename : usr/src/lib/libsmedia/plugins/floppy/spec/sm_fd.spec => deleted_files/usr/src/lib/libsmedia/plugins/floppy/spec/sm_fd.spec rename : usr/src/lib/libsmedia/plugins/floppy/spec/sparc/Makefile => deleted_files/usr/src/lib/libsmedia/plugins/floppy/spec/sparc/Makefile rename : usr/src/lib/libsmedia/plugins/floppy/spec/sparcv9/Makefile => deleted_files/usr/src/lib/libsmedia/plugins/floppy/spec/sparcv9/Makefile rename : usr/src/lib/libsmedia/plugins/floppy/spec/versions => deleted_files/usr/src/lib/libsmedia/plugins/floppy/spec/versions rename : usr/src/lib/libsmedia/plugins/pcata/spec/Makefile => deleted_files/usr/src/lib/libsmedia/plugins/pcata/spec/Makefile rename : usr/src/lib/libsmedia/plugins/pcata/spec/Makefile.targ => deleted_files/usr/src/lib/libsmedia/plugins/pcata/spec/Makefile.targ rename : usr/src/lib/libsmedia/plugins/pcata/spec/amd64/Makefile => deleted_files/usr/src/lib/libsmedia/plugins/pcata/spec/amd64/Makefile rename : usr/src/lib/libsmedia/plugins/pcata/spec/i386/Makefile => deleted_files/usr/src/lib/libsmedia/plugins/pcata/spec/i386/Makefile rename : usr/src/lib/libsmedia/plugins/pcata/spec/sm_pcata.spec => deleted_files/usr/src/lib/libsmedia/plugins/pcata/spec/sm_pcata.spec rename : usr/src/lib/libsmedia/plugins/pcata/spec/sparc/Makefile => deleted_files/usr/src/lib/libsmedia/plugins/pcata/spec/sparc/Makefile rename : usr/src/lib/libsmedia/plugins/pcata/spec/sparcv9/Makefile => deleted_files/usr/src/lib/libsmedia/plugins/pcata/spec/sparcv9/Makefile rename : usr/src/lib/libsmedia/plugins/pcata/spec/versions => deleted_files/usr/src/lib/libsmedia/plugins/pcata/spec/versions rename : usr/src/lib/libsmedia/plugins/pcmem/spec/Makefile => deleted_files/usr/src/lib/libsmedia/plugins/pcmem/spec/Makefile rename : usr/src/lib/libsmedia/plugins/pcmem/spec/Makefile.targ => deleted_files/usr/src/lib/libsmedia/plugins/pcmem/spec/Makefile.targ rename : usr/src/lib/libsmedia/plugins/pcmem/spec/amd64/Makefile => deleted_files/usr/src/lib/libsmedia/plugins/pcmem/spec/amd64/Makefile rename : usr/src/lib/libsmedia/plugins/pcmem/spec/i386/Makefile => deleted_files/usr/src/lib/libsmedia/plugins/pcmem/spec/i386/Makefile rename : usr/src/lib/libsmedia/plugins/pcmem/spec/sm_pcmem.spec => deleted_files/usr/src/lib/libsmedia/plugins/pcmem/spec/sm_pcmem.spec rename : usr/src/lib/libsmedia/plugins/pcmem/spec/sparc/Makefile => deleted_files/usr/src/lib/libsmedia/plugins/pcmem/spec/sparc/Makefile rename : usr/src/lib/libsmedia/plugins/pcmem/spec/sparcv9/Makefile => deleted_files/usr/src/lib/libsmedia/plugins/pcmem/spec/sparcv9/Makefile rename : usr/src/lib/libsmedia/plugins/pcmem/spec/versions => deleted_files/usr/src/lib/libsmedia/plugins/pcmem/spec/versions rename : usr/src/lib/libsmedia/plugins/scsi/spec/Makefile => deleted_files/usr/src/lib/libsmedia/plugins/scsi/spec/Makefile rename : usr/src/lib/libsmedia/plugins/scsi/spec/Makefile.targ => deleted_files/usr/src/lib/libsmedia/plugins/scsi/spec/Makefile.targ rename : usr/src/lib/libsmedia/plugins/scsi/spec/amd64/Makefile => deleted_files/usr/src/lib/libsmedia/plugins/scsi/spec/amd64/Makefile rename : usr/src/lib/libsmedia/plugins/scsi/spec/i386/Makefile => deleted_files/usr/src/lib/libsmedia/plugins/scsi/spec/i386/Makefile rename : usr/src/lib/libsmedia/plugins/scsi/spec/sm_scsi.spec => deleted_files/usr/src/lib/libsmedia/plugins/scsi/spec/sm_scsi.spec rename : usr/src/lib/libsmedia/plugins/scsi/spec/sparc/Makefile => deleted_files/usr/src/lib/libsmedia/plugins/scsi/spec/sparc/Makefile rename : usr/src/lib/libsmedia/plugins/scsi/spec/sparcv9/Makefile => deleted_files/usr/src/lib/libsmedia/plugins/scsi/spec/sparcv9/Makefile rename : usr/src/lib/libsmedia/plugins/scsi/spec/versions => deleted_files/usr/src/lib/libsmedia/plugins/scsi/spec/versions rename : usr/src/lib/libsocket/spec/Makefile => deleted_files/usr/src/lib/libsocket/spec/Makefile rename : usr/src/lib/libsocket/spec/Makefile.targ => deleted_files/usr/src/lib/libsocket/spec/Makefile.targ rename : usr/src/lib/libsocket/spec/amd64/Makefile => deleted_files/usr/src/lib/libsocket/spec/amd64/Makefile rename : usr/src/lib/libsocket/spec/i386/Makefile => deleted_files/usr/src/lib/libsocket/spec/i386/Makefile rename : usr/src/lib/libsocket/spec/socket.spec => deleted_files/usr/src/lib/libsocket/spec/socket.spec rename : usr/src/lib/libsocket/spec/sparc/Makefile => deleted_files/usr/src/lib/libsocket/spec/sparc/Makefile rename : usr/src/lib/libsocket/spec/sparcv9/Makefile => deleted_files/usr/src/lib/libsocket/spec/sparcv9/Makefile rename : usr/src/lib/libsocket/spec/svr4msg.spec => deleted_files/usr/src/lib/libsocket/spec/svr4msg.spec rename : usr/src/lib/libsocket/spec/versions => deleted_files/usr/src/lib/libsocket/spec/versions rename : usr/src/lib/libsocket/spec/xpgmsg.spec => deleted_files/usr/src/lib/libsocket/spec/xpgmsg.spec rename : usr/src/lib/libsysevent/spec/Makefile => deleted_files/usr/src/lib/libsysevent/spec/Makefile rename : usr/src/lib/libsysevent/spec/Makefile.targ => deleted_files/usr/src/lib/libsysevent/spec/Makefile.targ rename : usr/src/lib/libsysevent/spec/amd64/Makefile => deleted_files/usr/src/lib/libsysevent/spec/amd64/Makefile rename : usr/src/lib/libsysevent/spec/i386/Makefile => deleted_files/usr/src/lib/libsysevent/spec/i386/Makefile rename : usr/src/lib/libsysevent/spec/sparc/Makefile => deleted_files/usr/src/lib/libsysevent/spec/sparc/Makefile rename : usr/src/lib/libsysevent/spec/sparcv9/Makefile => deleted_files/usr/src/lib/libsysevent/spec/sparcv9/Makefile rename : usr/src/lib/libsysevent/spec/sysevent.spec => deleted_files/usr/src/lib/libsysevent/spec/sysevent.spec rename : usr/src/lib/libsysevent/spec/versions => deleted_files/usr/src/lib/libsysevent/spec/versions rename : usr/src/lib/libtecla/spec/Makefile => deleted_files/usr/src/lib/libtecla/spec/Makefile rename : usr/src/lib/libtecla/spec/Makefile.targ => deleted_files/usr/src/lib/libtecla/spec/Makefile.targ rename : usr/src/lib/libtecla/spec/amd64/Makefile => deleted_files/usr/src/lib/libtecla/spec/amd64/Makefile rename : usr/src/lib/libtecla/spec/i386/Makefile => deleted_files/usr/src/lib/libtecla/spec/i386/Makefile rename : usr/src/lib/libtecla/spec/sparc/Makefile => deleted_files/usr/src/lib/libtecla/spec/sparc/Makefile rename : usr/src/lib/libtecla/spec/sparcv9/Makefile => deleted_files/usr/src/lib/libtecla/spec/sparcv9/Makefile rename : usr/src/lib/libtecla/spec/tecla.spec => deleted_files/usr/src/lib/libtecla/spec/tecla.spec rename : usr/src/lib/libtecla/spec/versions => deleted_files/usr/src/lib/libtecla/spec/versions rename : usr/src/lib/libtnf/spec/Makefile => deleted_files/usr/src/lib/libtnf/spec/Makefile rename : usr/src/lib/libtnf/spec/Makefile.targ => deleted_files/usr/src/lib/libtnf/spec/Makefile.targ rename : usr/src/lib/libtnf/spec/amd64/Makefile => deleted_files/usr/src/lib/libtnf/spec/amd64/Makefile rename : usr/src/lib/libtnf/spec/i386/Makefile => deleted_files/usr/src/lib/libtnf/spec/i386/Makefile rename : usr/src/lib/libtnf/spec/sparc/Makefile => deleted_files/usr/src/lib/libtnf/spec/sparc/Makefile rename : usr/src/lib/libtnf/spec/sparcv9/Makefile => deleted_files/usr/src/lib/libtnf/spec/sparcv9/Makefile rename : usr/src/lib/libtnf/spec/tnf.spec => deleted_files/usr/src/lib/libtnf/spec/tnf.spec rename : usr/src/lib/libtnf/spec/versions => deleted_files/usr/src/lib/libtnf/spec/versions rename : usr/src/lib/libtnfctl/spec/Makefile => deleted_files/usr/src/lib/libtnfctl/spec/Makefile rename : usr/src/lib/libtnfctl/spec/Makefile.targ => deleted_files/usr/src/lib/libtnfctl/spec/Makefile.targ rename : usr/src/lib/libtnfctl/spec/amd64/Makefile => deleted_files/usr/src/lib/libtnfctl/spec/amd64/Makefile rename : usr/src/lib/libtnfctl/spec/i386/Makefile => deleted_files/usr/src/lib/libtnfctl/spec/i386/Makefile rename : usr/src/lib/libtnfctl/spec/sparc/Makefile => deleted_files/usr/src/lib/libtnfctl/spec/sparc/Makefile rename : usr/src/lib/libtnfctl/spec/sparcv9/Makefile => deleted_files/usr/src/lib/libtnfctl/spec/sparcv9/Makefile rename : usr/src/lib/libtnfctl/spec/tnfctl.spec => deleted_files/usr/src/lib/libtnfctl/spec/tnfctl.spec rename : usr/src/lib/libtnfctl/spec/versions => deleted_files/usr/src/lib/libtnfctl/spec/versions rename : usr/src/lib/libtnfprobe/spec/Makefile => deleted_files/usr/src/lib/libtnfprobe/spec/Makefile rename : usr/src/lib/libtnfprobe/spec/Makefile.targ => deleted_files/usr/src/lib/libtnfprobe/spec/Makefile.targ rename : usr/src/lib/libtnfprobe/spec/amd64/Makefile => deleted_files/usr/src/lib/libtnfprobe/spec/amd64/Makefile rename : usr/src/lib/libtnfprobe/spec/i386/Makefile => deleted_files/usr/src/lib/libtnfprobe/spec/i386/Makefile rename : usr/src/lib/libtnfprobe/spec/private.spec => deleted_files/usr/src/lib/libtnfprobe/spec/private.spec rename : usr/src/lib/libtnfprobe/spec/sparc/Makefile => deleted_files/usr/src/lib/libtnfprobe/spec/sparc/Makefile rename : usr/src/lib/libtnfprobe/spec/sparcv9/Makefile => deleted_files/usr/src/lib/libtnfprobe/spec/sparcv9/Makefile rename : usr/src/lib/libtnfprobe/spec/versions => deleted_files/usr/src/lib/libtnfprobe/spec/versions rename : usr/src/lib/libtsnet/spec/Makefile => deleted_files/usr/src/lib/libtsnet/spec/Makefile rename : usr/src/lib/libtsnet/spec/Makefile.targ => deleted_files/usr/src/lib/libtsnet/spec/Makefile.targ rename : usr/src/lib/libtsnet/spec/amd64/Makefile => deleted_files/usr/src/lib/libtsnet/spec/amd64/Makefile rename : usr/src/lib/libtsnet/spec/i386/Makefile => deleted_files/usr/src/lib/libtsnet/spec/i386/Makefile rename : usr/src/lib/libtsnet/spec/sparc/Makefile => deleted_files/usr/src/lib/libtsnet/spec/sparc/Makefile rename : usr/src/lib/libtsnet/spec/sparcv9/Makefile => deleted_files/usr/src/lib/libtsnet/spec/sparcv9/Makefile rename : usr/src/lib/libtsnet/spec/tsnet.spec => deleted_files/usr/src/lib/libtsnet/spec/tsnet.spec rename : usr/src/lib/libtsnet/spec/versions => deleted_files/usr/src/lib/libtsnet/spec/versions rename : usr/src/lib/libtsol/spec/Makefile => deleted_files/usr/src/lib/libtsol/spec/Makefile rename : usr/src/lib/libtsol/spec/Makefile.targ => deleted_files/usr/src/lib/libtsol/spec/Makefile.targ rename : usr/src/lib/libtsol/spec/amd64/Makefile => deleted_files/usr/src/lib/libtsol/spec/amd64/Makefile rename : usr/src/lib/libtsol/spec/i386/Makefile => deleted_files/usr/src/lib/libtsol/spec/i386/Makefile rename : usr/src/lib/libtsol/spec/obsolete.spec => deleted_files/usr/src/lib/libtsol/spec/obsolete.spec rename : usr/src/lib/libtsol/spec/private.spec => deleted_files/usr/src/lib/libtsol/spec/private.spec rename : usr/src/lib/libtsol/spec/sparc/Makefile => deleted_files/usr/src/lib/libtsol/spec/sparc/Makefile rename : usr/src/lib/libtsol/spec/sparcv9/Makefile => deleted_files/usr/src/lib/libtsol/spec/sparcv9/Makefile rename : usr/src/lib/libtsol/spec/tsol.spec => deleted_files/usr/src/lib/libtsol/spec/tsol.spec rename : usr/src/lib/libtsol/spec/versions => deleted_files/usr/src/lib/libtsol/spec/versions rename : usr/src/lib/libumem/spec/Makefile => deleted_files/usr/src/lib/libumem/spec/Makefile rename : usr/src/lib/libumem/spec/Makefile.targ => deleted_files/usr/src/lib/libumem/spec/Makefile.targ rename : usr/src/lib/libumem/spec/amd64/Makefile => deleted_files/usr/src/lib/libumem/spec/amd64/Makefile rename : usr/src/lib/libumem/spec/i386/Makefile => deleted_files/usr/src/lib/libumem/spec/i386/Makefile rename : usr/src/lib/libumem/spec/libumem.spec => deleted_files/usr/src/lib/libumem/spec/libumem.spec rename : usr/src/lib/libumem/spec/sparc/Makefile => deleted_files/usr/src/lib/libumem/spec/sparc/Makefile rename : usr/src/lib/libumem/spec/sparcv9/Makefile => deleted_files/usr/src/lib/libumem/spec/sparcv9/Makefile rename : usr/src/lib/libumem/spec/versions => deleted_files/usr/src/lib/libumem/spec/versions rename : usr/src/lib/libuuid/spec/Makefile => deleted_files/usr/src/lib/libuuid/spec/Makefile rename : usr/src/lib/libuuid/spec/Makefile.targ => deleted_files/usr/src/lib/libuuid/spec/Makefile.targ rename : usr/src/lib/libuuid/spec/amd64/Makefile => deleted_files/usr/src/lib/libuuid/spec/amd64/Makefile rename : usr/src/lib/libuuid/spec/i386/Makefile => deleted_files/usr/src/lib/libuuid/spec/i386/Makefile rename : usr/src/lib/libuuid/spec/sparc/Makefile => deleted_files/usr/src/lib/libuuid/spec/sparc/Makefile rename : usr/src/lib/libuuid/spec/sparcv9/Makefile => deleted_files/usr/src/lib/libuuid/spec/sparcv9/Makefile rename : usr/src/lib/libuuid/spec/uuid.spec => deleted_files/usr/src/lib/libuuid/spec/uuid.spec rename : usr/src/lib/libuuid/spec/versions => deleted_files/usr/src/lib/libuuid/spec/versions rename : usr/src/lib/libuutil/spec/Makefile => deleted_files/usr/src/lib/libuutil/spec/Makefile rename : usr/src/lib/libuutil/spec/Makefile.targ => deleted_files/usr/src/lib/libuutil/spec/Makefile.targ rename : usr/src/lib/libuutil/spec/amd64/Makefile => deleted_files/usr/src/lib/libuutil/spec/amd64/Makefile rename : usr/src/lib/libuutil/spec/i386/Makefile => deleted_files/usr/src/lib/libuutil/spec/i386/Makefile rename : usr/src/lib/libuutil/spec/sparc/Makefile => deleted_files/usr/src/lib/libuutil/spec/sparc/Makefile rename : usr/src/lib/libuutil/spec/sparcv9/Makefile => deleted_files/usr/src/lib/libuutil/spec/sparcv9/Makefile rename : usr/src/lib/libuutil/spec/updt.spec => deleted_files/usr/src/lib/libuutil/spec/updt.spec rename : usr/src/lib/libuutil/spec/uutil.spec => deleted_files/usr/src/lib/libuutil/spec/uutil.spec rename : usr/src/lib/libuutil/spec/versions => deleted_files/usr/src/lib/libuutil/spec/versions rename : usr/src/lib/libvolmgt/spec/Makefile => deleted_files/usr/src/lib/libvolmgt/spec/Makefile rename : usr/src/lib/libvolmgt/spec/Makefile.targ => deleted_files/usr/src/lib/libvolmgt/spec/Makefile.targ rename : usr/src/lib/libvolmgt/spec/amd64/Makefile => deleted_files/usr/src/lib/libvolmgt/spec/amd64/Makefile rename : usr/src/lib/libvolmgt/spec/i386/Makefile => deleted_files/usr/src/lib/libvolmgt/spec/i386/Makefile rename : usr/src/lib/libvolmgt/spec/sparc/Makefile => deleted_files/usr/src/lib/libvolmgt/spec/sparc/Makefile rename : usr/src/lib/libvolmgt/spec/sparcv9/Makefile => deleted_files/usr/src/lib/libvolmgt/spec/sparcv9/Makefile rename : usr/src/lib/libvolmgt/spec/versions => deleted_files/usr/src/lib/libvolmgt/spec/versions rename : usr/src/lib/libvolmgt/spec/volmgt.spec => deleted_files/usr/src/lib/libvolmgt/spec/volmgt.spec rename : usr/src/lib/libwanboot/spec/Makefile => deleted_files/usr/src/lib/libwanboot/spec/Makefile rename : usr/src/lib/libwanboot/spec/Makefile.targ => deleted_files/usr/src/lib/libwanboot/spec/Makefile.targ rename : usr/src/lib/libwanboot/spec/amd64/Makefile => deleted_files/usr/src/lib/libwanboot/spec/amd64/Makefile rename : usr/src/lib/libwanboot/spec/i386/Makefile => deleted_files/usr/src/lib/libwanboot/spec/i386/Makefile rename : usr/src/lib/libwanboot/spec/sparc/Makefile => deleted_files/usr/src/lib/libwanboot/spec/sparc/Makefile rename : usr/src/lib/libwanboot/spec/sparcv9/Makefile => deleted_files/usr/src/lib/libwanboot/spec/sparcv9/Makefile rename : usr/src/lib/libwanboot/spec/versions => deleted_files/usr/src/lib/libwanboot/spec/versions rename : usr/src/lib/libwanboot/spec/wanboot.spec => deleted_files/usr/src/lib/libwanboot/spec/wanboot.spec rename : usr/src/lib/libwanbootutil/spec/Makefile => deleted_files/usr/src/lib/libwanbootutil/spec/Makefile rename : usr/src/lib/libwanbootutil/spec/Makefile.targ => deleted_files/usr/src/lib/libwanbootutil/spec/Makefile.targ rename : usr/src/lib/libwanbootutil/spec/amd64/Makefile => deleted_files/usr/src/lib/libwanbootutil/spec/amd64/Makefile rename : usr/src/lib/libwanbootutil/spec/i386/Makefile => deleted_files/usr/src/lib/libwanbootutil/spec/i386/Makefile rename : usr/src/lib/libwanbootutil/spec/sparc/Makefile => deleted_files/usr/src/lib/libwanbootutil/spec/sparc/Makefile rename : usr/src/lib/libwanbootutil/spec/sparcv9/Makefile => deleted_files/usr/src/lib/libwanbootutil/spec/sparcv9/Makefile rename : usr/src/lib/libwanbootutil/spec/versions => deleted_files/usr/src/lib/libwanbootutil/spec/versions rename : usr/src/lib/libwanbootutil/spec/wanbootutil.spec => deleted_files/usr/src/lib/libwanbootutil/spec/wanbootutil.spec rename : usr/src/lib/libxcurses/spec/Makefile => deleted_files/usr/src/lib/libxcurses/spec/Makefile rename : usr/src/lib/libxcurses/spec/Makefile.targ => deleted_files/usr/src/lib/libxcurses/spec/Makefile.targ rename : usr/src/lib/libxcurses/spec/amd64/Makefile => deleted_files/usr/src/lib/libxcurses/spec/amd64/Makefile rename : usr/src/lib/libxcurses/spec/i386/Makefile => deleted_files/usr/src/lib/libxcurses/spec/i386/Makefile rename : usr/src/lib/libxcurses/spec/sparc/Makefile => deleted_files/usr/src/lib/libxcurses/spec/sparc/Makefile rename : usr/src/lib/libxcurses/spec/sparcv9/Makefile => deleted_files/usr/src/lib/libxcurses/spec/sparcv9/Makefile rename : usr/src/lib/libxcurses/spec/versions => deleted_files/usr/src/lib/libxcurses/spec/versions rename : usr/src/lib/libxcurses/spec/xcurses.spec => deleted_files/usr/src/lib/libxcurses/spec/xcurses.spec rename : usr/src/lib/libxcurses2/spec/Makefile => deleted_files/usr/src/lib/libxcurses2/spec/Makefile rename : usr/src/lib/libxcurses2/spec/Makefile.targ => deleted_files/usr/src/lib/libxcurses2/spec/Makefile.targ rename : usr/src/lib/libxcurses2/spec/amd64/Makefile => deleted_files/usr/src/lib/libxcurses2/spec/amd64/Makefile rename : usr/src/lib/libxcurses2/spec/i386/Makefile => deleted_files/usr/src/lib/libxcurses2/spec/i386/Makefile rename : usr/src/lib/libxcurses2/spec/sparc/Makefile => deleted_files/usr/src/lib/libxcurses2/spec/sparc/Makefile rename : usr/src/lib/libxcurses2/spec/sparcv9/Makefile => deleted_files/usr/src/lib/libxcurses2/spec/sparcv9/Makefile rename : usr/src/lib/libxcurses2/spec/versions => deleted_files/usr/src/lib/libxcurses2/spec/versions rename : usr/src/lib/libxcurses2/spec/xcurses.spec => deleted_files/usr/src/lib/libxcurses2/spec/xcurses.spec rename : usr/src/lib/libzfs/spec/Makefile => deleted_files/usr/src/lib/libzfs/spec/Makefile rename : usr/src/lib/libzfs/spec/Makefile.targ => deleted_files/usr/src/lib/libzfs/spec/Makefile.targ rename : usr/src/lib/libzfs/spec/amd64/Makefile => deleted_files/usr/src/lib/libzfs/spec/amd64/Makefile rename : usr/src/lib/libzfs/spec/i386/Makefile => deleted_files/usr/src/lib/libzfs/spec/i386/Makefile rename : usr/src/lib/libzfs/spec/libzfs.spec => deleted_files/usr/src/lib/libzfs/spec/libzfs.spec rename : usr/src/lib/libzfs/spec/sparc/Makefile => deleted_files/usr/src/lib/libzfs/spec/sparc/Makefile rename : usr/src/lib/libzfs/spec/sparcv9/Makefile => deleted_files/usr/src/lib/libzfs/spec/sparcv9/Makefile rename : usr/src/lib/libzfs/spec/versions => deleted_files/usr/src/lib/libzfs/spec/versions rename : usr/src/lib/libzfs_jni/spec/Makefile => deleted_files/usr/src/lib/libzfs_jni/spec/Makefile rename : usr/src/lib/libzfs_jni/spec/Makefile.targ => deleted_files/usr/src/lib/libzfs_jni/spec/Makefile.targ rename : usr/src/lib/libzfs_jni/spec/amd64/Makefile => deleted_files/usr/src/lib/libzfs_jni/spec/amd64/Makefile rename : usr/src/lib/libzfs_jni/spec/i386/Makefile => deleted_files/usr/src/lib/libzfs_jni/spec/i386/Makefile rename : usr/src/lib/libzfs_jni/spec/libzfs_jni.spec => deleted_files/usr/src/lib/libzfs_jni/spec/libzfs_jni.spec rename : usr/src/lib/libzfs_jni/spec/sparc/Makefile => deleted_files/usr/src/lib/libzfs_jni/spec/sparc/Makefile rename : usr/src/lib/libzfs_jni/spec/sparcv9/Makefile => deleted_files/usr/src/lib/libzfs_jni/spec/sparcv9/Makefile rename : usr/src/lib/libzfs_jni/spec/versions => deleted_files/usr/src/lib/libzfs_jni/spec/versions rename : usr/src/lib/libzonecfg/spec/Makefile => deleted_files/usr/src/lib/libzonecfg/spec/Makefile rename : usr/src/lib/libzonecfg/spec/Makefile.targ => deleted_files/usr/src/lib/libzonecfg/spec/Makefile.targ rename : usr/src/lib/libzonecfg/spec/amd64/Makefile => deleted_files/usr/src/lib/libzonecfg/spec/amd64/Makefile rename : usr/src/lib/libzonecfg/spec/i386/Makefile => deleted_files/usr/src/lib/libzonecfg/spec/i386/Makefile rename : usr/src/lib/libzonecfg/spec/libzonecfg.spec => deleted_files/usr/src/lib/libzonecfg/spec/libzonecfg.spec rename : usr/src/lib/libzonecfg/spec/sparc/Makefile => deleted_files/usr/src/lib/libzonecfg/spec/sparc/Makefile rename : usr/src/lib/libzonecfg/spec/sparcv9/Makefile => deleted_files/usr/src/lib/libzonecfg/spec/sparcv9/Makefile rename : usr/src/lib/libzonecfg/spec/versions => deleted_files/usr/src/lib/libzonecfg/spec/versions rename : usr/src/lib/libzoneinfo/spec/Makefile => deleted_files/usr/src/lib/libzoneinfo/spec/Makefile rename : usr/src/lib/libzoneinfo/spec/Makefile.targ => deleted_files/usr/src/lib/libzoneinfo/spec/Makefile.targ rename : usr/src/lib/libzoneinfo/spec/amd64/Makefile => deleted_files/usr/src/lib/libzoneinfo/spec/amd64/Makefile rename : usr/src/lib/libzoneinfo/spec/i386/Makefile => deleted_files/usr/src/lib/libzoneinfo/spec/i386/Makefile rename : usr/src/lib/libzoneinfo/spec/sparc/Makefile => deleted_files/usr/src/lib/libzoneinfo/spec/sparc/Makefile rename : usr/src/lib/libzoneinfo/spec/sparcv9/Makefile => deleted_files/usr/src/lib/libzoneinfo/spec/sparcv9/Makefile rename : usr/src/lib/libzoneinfo/spec/versions => deleted_files/usr/src/lib/libzoneinfo/spec/versions rename : usr/src/lib/libzoneinfo/spec/zoneinfo.spec => deleted_files/usr/src/lib/libzoneinfo/spec/zoneinfo.spec rename : usr/src/lib/lvm/libmeta/spec/Makefile => deleted_files/usr/src/lib/lvm/libmeta/spec/Makefile rename : usr/src/lib/lvm/libmeta/spec/Makefile.targ => deleted_files/usr/src/lib/lvm/libmeta/spec/Makefile.targ rename : usr/src/lib/lvm/libmeta/spec/amd64/Makefile => deleted_files/usr/src/lib/lvm/libmeta/spec/amd64/Makefile rename : usr/src/lib/lvm/libmeta/spec/i386/Makefile => deleted_files/usr/src/lib/lvm/libmeta/spec/i386/Makefile rename : usr/src/lib/lvm/libmeta/spec/meta.spec => deleted_files/usr/src/lib/lvm/libmeta/spec/meta.spec rename : usr/src/lib/lvm/libmeta/spec/sparc/Makefile => deleted_files/usr/src/lib/lvm/libmeta/spec/sparc/Makefile rename : usr/src/lib/lvm/libmeta/spec/sparcv9/Makefile => deleted_files/usr/src/lib/lvm/libmeta/spec/sparcv9/Makefile rename : usr/src/lib/lvm/libmeta/spec/versions => deleted_files/usr/src/lib/lvm/libmeta/spec/versions rename : usr/src/lib/lvm/libpreen/spec/Makefile => deleted_files/usr/src/lib/lvm/libpreen/spec/Makefile rename : usr/src/lib/lvm/libpreen/spec/Makefile.targ => deleted_files/usr/src/lib/lvm/libpreen/spec/Makefile.targ rename : usr/src/lib/lvm/libpreen/spec/amd64/Makefile => deleted_files/usr/src/lib/lvm/libpreen/spec/amd64/Makefile rename : usr/src/lib/lvm/libpreen/spec/i386/Makefile => deleted_files/usr/src/lib/lvm/libpreen/spec/i386/Makefile rename : usr/src/lib/lvm/libpreen/spec/preen.spec => deleted_files/usr/src/lib/lvm/libpreen/spec/preen.spec rename : usr/src/lib/lvm/libpreen/spec/sparc/Makefile => deleted_files/usr/src/lib/lvm/libpreen/spec/sparc/Makefile rename : usr/src/lib/lvm/libpreen/spec/sparcv9/Makefile => deleted_files/usr/src/lib/lvm/libpreen/spec/sparcv9/Makefile rename : usr/src/lib/lvm/libpreen/spec/versions => deleted_files/usr/src/lib/lvm/libpreen/spec/versions rename : usr/src/lib/lvm/libsvm/spec/Makefile => deleted_files/usr/src/lib/lvm/libsvm/spec/Makefile rename : usr/src/lib/lvm/libsvm/spec/Makefile.targ => deleted_files/usr/src/lib/lvm/libsvm/spec/Makefile.targ rename : usr/src/lib/lvm/libsvm/spec/amd64/Makefile => deleted_files/usr/src/lib/lvm/libsvm/spec/amd64/Makefile rename : usr/src/lib/lvm/libsvm/spec/i386/Makefile => deleted_files/usr/src/lib/lvm/libsvm/spec/i386/Makefile rename : usr/src/lib/lvm/libsvm/spec/sparc/Makefile => deleted_files/usr/src/lib/lvm/libsvm/spec/sparc/Makefile rename : usr/src/lib/lvm/libsvm/spec/sparcv9/Makefile => deleted_files/usr/src/lib/lvm/libsvm/spec/sparcv9/Makefile rename : usr/src/lib/lvm/libsvm/spec/svm.spec => deleted_files/usr/src/lib/lvm/libsvm/spec/svm.spec rename : usr/src/lib/lvm/libsvm/spec/versions => deleted_files/usr/src/lib/lvm/libsvm/spec/versions rename : usr/src/lib/nametoaddr/straddr/spec/Makefile => deleted_files/usr/src/lib/nametoaddr/straddr/spec/Makefile rename : usr/src/lib/nametoaddr/straddr/spec/Makefile.targ => deleted_files/usr/src/lib/nametoaddr/straddr/spec/Makefile.targ rename : usr/src/lib/nametoaddr/straddr/spec/amd64/Makefile => deleted_files/usr/src/lib/nametoaddr/straddr/spec/amd64/Makefile rename : usr/src/lib/nametoaddr/straddr/spec/i386/Makefile => deleted_files/usr/src/lib/nametoaddr/straddr/spec/i386/Makefile rename : usr/src/lib/nametoaddr/straddr/spec/sparc/Makefile => deleted_files/usr/src/lib/nametoaddr/straddr/spec/sparc/Makefile rename : usr/src/lib/nametoaddr/straddr/spec/sparcv9/Makefile => deleted_files/usr/src/lib/nametoaddr/straddr/spec/sparcv9/Makefile rename : usr/src/lib/nametoaddr/straddr/spec/straddr.spec => deleted_files/usr/src/lib/nametoaddr/straddr/spec/straddr.spec rename : usr/src/lib/nametoaddr/straddr/spec/versions => deleted_files/usr/src/lib/nametoaddr/straddr/spec/versions rename : usr/src/lib/ncad_addr/spec/Makefile => deleted_files/usr/src/lib/ncad_addr/spec/Makefile rename : usr/src/lib/ncad_addr/spec/Makefile.targ => deleted_files/usr/src/lib/ncad_addr/spec/Makefile.targ rename : usr/src/lib/ncad_addr/spec/amd64/Makefile => deleted_files/usr/src/lib/ncad_addr/spec/amd64/Makefile rename : usr/src/lib/ncad_addr/spec/i386/Makefile => deleted_files/usr/src/lib/ncad_addr/spec/i386/Makefile rename : usr/src/lib/ncad_addr/spec/ncad_addr.spec => deleted_files/usr/src/lib/ncad_addr/spec/ncad_addr.spec rename : usr/src/lib/ncad_addr/spec/sparc/Makefile => deleted_files/usr/src/lib/ncad_addr/spec/sparc/Makefile rename : usr/src/lib/ncad_addr/spec/sparcv9/Makefile => deleted_files/usr/src/lib/ncad_addr/spec/sparcv9/Makefile rename : usr/src/lib/ncad_addr/spec/versions => deleted_files/usr/src/lib/ncad_addr/spec/versions rename : usr/src/lib/pam_modules/allow/spec/Makefile => deleted_files/usr/src/lib/pam_modules/allow/spec/Makefile rename : usr/src/lib/pam_modules/allow/spec/Makefile.targ => deleted_files/usr/src/lib/pam_modules/allow/spec/Makefile.targ rename : usr/src/lib/pam_modules/allow/spec/allow.spec => deleted_files/usr/src/lib/pam_modules/allow/spec/allow.spec rename : usr/src/lib/pam_modules/allow/spec/amd64/Makefile => deleted_files/usr/src/lib/pam_modules/allow/spec/amd64/Makefile rename : usr/src/lib/pam_modules/allow/spec/i386/Makefile => deleted_files/usr/src/lib/pam_modules/allow/spec/i386/Makefile rename : usr/src/lib/pam_modules/allow/spec/sparc/Makefile => deleted_files/usr/src/lib/pam_modules/allow/spec/sparc/Makefile rename : usr/src/lib/pam_modules/allow/spec/sparcv9/Makefile => deleted_files/usr/src/lib/pam_modules/allow/spec/sparcv9/Makefile rename : usr/src/lib/pam_modules/allow/spec/versions => deleted_files/usr/src/lib/pam_modules/allow/spec/versions rename : usr/src/lib/pam_modules/authtok_check/spec/Makefile => deleted_files/usr/src/lib/pam_modules/authtok_check/spec/Makefile rename : usr/src/lib/pam_modules/authtok_check/spec/Makefile.targ => deleted_files/usr/src/lib/pam_modules/authtok_check/spec/Makefile.targ rename : usr/src/lib/pam_modules/authtok_check/spec/amd64/Makefile => deleted_files/usr/src/lib/pam_modules/authtok_check/spec/amd64/Makefile rename : usr/src/lib/pam_modules/authtok_check/spec/authtok_check.spec => deleted_files/usr/src/lib/pam_modules/authtok_check/spec/authtok_check.spec rename : usr/src/lib/pam_modules/authtok_check/spec/i386/Makefile => deleted_files/usr/src/lib/pam_modules/authtok_check/spec/i386/Makefile rename : usr/src/lib/pam_modules/authtok_check/spec/sparc/Makefile => deleted_files/usr/src/lib/pam_modules/authtok_check/spec/sparc/Makefile rename : usr/src/lib/pam_modules/authtok_check/spec/sparcv9/Makefile => deleted_files/usr/src/lib/pam_modules/authtok_check/spec/sparcv9/Makefile rename : usr/src/lib/pam_modules/authtok_check/spec/versions => deleted_files/usr/src/lib/pam_modules/authtok_check/spec/versions rename : usr/src/lib/pam_modules/authtok_get/spec/Makefile => deleted_files/usr/src/lib/pam_modules/authtok_get/spec/Makefile rename : usr/src/lib/pam_modules/authtok_get/spec/Makefile.targ => deleted_files/usr/src/lib/pam_modules/authtok_get/spec/Makefile.targ rename : usr/src/lib/pam_modules/authtok_get/spec/amd64/Makefile => deleted_files/usr/src/lib/pam_modules/authtok_get/spec/amd64/Makefile rename : usr/src/lib/pam_modules/authtok_get/spec/authtok_get.spec => deleted_files/usr/src/lib/pam_modules/authtok_get/spec/authtok_get.spec rename : usr/src/lib/pam_modules/authtok_get/spec/i386/Makefile => deleted_files/usr/src/lib/pam_modules/authtok_get/spec/i386/Makefile rename : usr/src/lib/pam_modules/authtok_get/spec/sparc/Makefile => deleted_files/usr/src/lib/pam_modules/authtok_get/spec/sparc/Makefile rename : usr/src/lib/pam_modules/authtok_get/spec/sparcv9/Makefile => deleted_files/usr/src/lib/pam_modules/authtok_get/spec/sparcv9/Makefile rename : usr/src/lib/pam_modules/authtok_get/spec/versions => deleted_files/usr/src/lib/pam_modules/authtok_get/spec/versions rename : usr/src/lib/pam_modules/authtok_store/spec/Makefile => deleted_files/usr/src/lib/pam_modules/authtok_store/spec/Makefile rename : usr/src/lib/pam_modules/authtok_store/spec/Makefile.targ => deleted_files/usr/src/lib/pam_modules/authtok_store/spec/Makefile.targ rename : usr/src/lib/pam_modules/authtok_store/spec/amd64/Makefile => deleted_files/usr/src/lib/pam_modules/authtok_store/spec/amd64/Makefile rename : usr/src/lib/pam_modules/authtok_store/spec/authtok_store.spec => deleted_files/usr/src/lib/pam_modules/authtok_store/spec/authtok_store.spec rename : usr/src/lib/pam_modules/authtok_store/spec/i386/Makefile => deleted_files/usr/src/lib/pam_modules/authtok_store/spec/i386/Makefile rename : usr/src/lib/pam_modules/authtok_store/spec/sparc/Makefile => deleted_files/usr/src/lib/pam_modules/authtok_store/spec/sparc/Makefile rename : usr/src/lib/pam_modules/authtok_store/spec/sparcv9/Makefile => deleted_files/usr/src/lib/pam_modules/authtok_store/spec/sparcv9/Makefile rename : usr/src/lib/pam_modules/authtok_store/spec/versions => deleted_files/usr/src/lib/pam_modules/authtok_store/spec/versions rename : usr/src/lib/pam_modules/deny/spec/Makefile => deleted_files/usr/src/lib/pam_modules/deny/spec/Makefile rename : usr/src/lib/pam_modules/deny/spec/Makefile.targ => deleted_files/usr/src/lib/pam_modules/deny/spec/Makefile.targ rename : usr/src/lib/pam_modules/deny/spec/amd64/Makefile => deleted_files/usr/src/lib/pam_modules/deny/spec/amd64/Makefile rename : usr/src/lib/pam_modules/deny/spec/deny.spec => deleted_files/usr/src/lib/pam_modules/deny/spec/deny.spec rename : usr/src/lib/pam_modules/deny/spec/i386/Makefile => deleted_files/usr/src/lib/pam_modules/deny/spec/i386/Makefile rename : usr/src/lib/pam_modules/deny/spec/sparc/Makefile => deleted_files/usr/src/lib/pam_modules/deny/spec/sparc/Makefile rename : usr/src/lib/pam_modules/deny/spec/sparcv9/Makefile => deleted_files/usr/src/lib/pam_modules/deny/spec/sparcv9/Makefile rename : usr/src/lib/pam_modules/deny/spec/versions => deleted_files/usr/src/lib/pam_modules/deny/spec/versions rename : usr/src/lib/pam_modules/dhkeys/spec/Makefile => deleted_files/usr/src/lib/pam_modules/dhkeys/spec/Makefile rename : usr/src/lib/pam_modules/dhkeys/spec/Makefile.targ => deleted_files/usr/src/lib/pam_modules/dhkeys/spec/Makefile.targ rename : usr/src/lib/pam_modules/dhkeys/spec/amd64/Makefile => deleted_files/usr/src/lib/pam_modules/dhkeys/spec/amd64/Makefile rename : usr/src/lib/pam_modules/dhkeys/spec/dhkeys.spec => deleted_files/usr/src/lib/pam_modules/dhkeys/spec/dhkeys.spec rename : usr/src/lib/pam_modules/dhkeys/spec/i386/Makefile => deleted_files/usr/src/lib/pam_modules/dhkeys/spec/i386/Makefile rename : usr/src/lib/pam_modules/dhkeys/spec/sparc/Makefile => deleted_files/usr/src/lib/pam_modules/dhkeys/spec/sparc/Makefile rename : usr/src/lib/pam_modules/dhkeys/spec/sparcv9/Makefile => deleted_files/usr/src/lib/pam_modules/dhkeys/spec/sparcv9/Makefile rename : usr/src/lib/pam_modules/dhkeys/spec/versions => deleted_files/usr/src/lib/pam_modules/dhkeys/spec/versions rename : usr/src/lib/pam_modules/dial_auth/spec/Makefile => deleted_files/usr/src/lib/pam_modules/dial_auth/spec/Makefile rename : usr/src/lib/pam_modules/dial_auth/spec/Makefile.targ => deleted_files/usr/src/lib/pam_modules/dial_auth/spec/Makefile.targ rename : usr/src/lib/pam_modules/dial_auth/spec/amd64/Makefile => deleted_files/usr/src/lib/pam_modules/dial_auth/spec/amd64/Makefile rename : usr/src/lib/pam_modules/dial_auth/spec/dial_auth.spec => deleted_files/usr/src/lib/pam_modules/dial_auth/spec/dial_auth.spec rename : usr/src/lib/pam_modules/dial_auth/spec/i386/Makefile => deleted_files/usr/src/lib/pam_modules/dial_auth/spec/i386/Makefile rename : usr/src/lib/pam_modules/dial_auth/spec/sparc/Makefile => deleted_files/usr/src/lib/pam_modules/dial_auth/spec/sparc/Makefile rename : usr/src/lib/pam_modules/dial_auth/spec/sparcv9/Makefile => deleted_files/usr/src/lib/pam_modules/dial_auth/spec/sparcv9/Makefile rename : usr/src/lib/pam_modules/dial_auth/spec/versions => deleted_files/usr/src/lib/pam_modules/dial_auth/spec/versions rename : usr/src/lib/pam_modules/krb5/spec/Makefile => deleted_files/usr/src/lib/pam_modules/krb5/spec/Makefile rename : usr/src/lib/pam_modules/krb5/spec/Makefile.targ => deleted_files/usr/src/lib/pam_modules/krb5/spec/Makefile.targ rename : usr/src/lib/pam_modules/krb5/spec/amd64/Makefile => deleted_files/usr/src/lib/pam_modules/krb5/spec/amd64/Makefile rename : usr/src/lib/pam_modules/krb5/spec/i386/Makefile => deleted_files/usr/src/lib/pam_modules/krb5/spec/i386/Makefile rename : usr/src/lib/pam_modules/krb5/spec/krb5.spec => deleted_files/usr/src/lib/pam_modules/krb5/spec/krb5.spec rename : usr/src/lib/pam_modules/krb5/spec/sparc/Makefile => deleted_files/usr/src/lib/pam_modules/krb5/spec/sparc/Makefile rename : usr/src/lib/pam_modules/krb5/spec/sparcv9/Makefile => deleted_files/usr/src/lib/pam_modules/krb5/spec/sparcv9/Makefile rename : usr/src/lib/pam_modules/krb5/spec/versions => deleted_files/usr/src/lib/pam_modules/krb5/spec/versions rename : usr/src/lib/pam_modules/krb5_migrate/spec/Makefile => deleted_files/usr/src/lib/pam_modules/krb5_migrate/spec/Makefile rename : usr/src/lib/pam_modules/krb5_migrate/spec/Makefile.targ => deleted_files/usr/src/lib/pam_modules/krb5_migrate/spec/Makefile.targ rename : usr/src/lib/pam_modules/krb5_migrate/spec/amd64/Makefile => deleted_files/usr/src/lib/pam_modules/krb5_migrate/spec/amd64/Makefile rename : usr/src/lib/pam_modules/krb5_migrate/spec/i386/Makefile => deleted_files/usr/src/lib/pam_modules/krb5_migrate/spec/i386/Makefile rename : usr/src/lib/pam_modules/krb5_migrate/spec/krb5_migrate.spec => deleted_files/usr/src/lib/pam_modules/krb5_migrate/spec/krb5_migrate.spec rename : usr/src/lib/pam_modules/krb5_migrate/spec/sparc/Makefile => deleted_files/usr/src/lib/pam_modules/krb5_migrate/spec/sparc/Makefile rename : usr/src/lib/pam_modules/krb5_migrate/spec/sparcv9/Makefile => deleted_files/usr/src/lib/pam_modules/krb5_migrate/spec/sparcv9/Makefile rename : usr/src/lib/pam_modules/krb5_migrate/spec/versions => deleted_files/usr/src/lib/pam_modules/krb5_migrate/spec/versions rename : usr/src/lib/pam_modules/ldap/spec/Makefile => deleted_files/usr/src/lib/pam_modules/ldap/spec/Makefile rename : usr/src/lib/pam_modules/ldap/spec/Makefile.targ => deleted_files/usr/src/lib/pam_modules/ldap/spec/Makefile.targ rename : usr/src/lib/pam_modules/ldap/spec/amd64/Makefile => deleted_files/usr/src/lib/pam_modules/ldap/spec/amd64/Makefile rename : usr/src/lib/pam_modules/ldap/spec/i386/Makefile => deleted_files/usr/src/lib/pam_modules/ldap/spec/i386/Makefile rename : usr/src/lib/pam_modules/ldap/spec/ldap.spec => deleted_files/usr/src/lib/pam_modules/ldap/spec/ldap.spec rename : usr/src/lib/pam_modules/ldap/spec/sparc/Makefile => deleted_files/usr/src/lib/pam_modules/ldap/spec/sparc/Makefile rename : usr/src/lib/pam_modules/ldap/spec/sparcv9/Makefile => deleted_files/usr/src/lib/pam_modules/ldap/spec/sparcv9/Makefile rename : usr/src/lib/pam_modules/ldap/spec/versions => deleted_files/usr/src/lib/pam_modules/ldap/spec/versions rename : usr/src/lib/pam_modules/passwd_auth/spec/Makefile => deleted_files/usr/src/lib/pam_modules/passwd_auth/spec/Makefile rename : usr/src/lib/pam_modules/passwd_auth/spec/Makefile.targ => deleted_files/usr/src/lib/pam_modules/passwd_auth/spec/Makefile.targ rename : usr/src/lib/pam_modules/passwd_auth/spec/amd64/Makefile => deleted_files/usr/src/lib/pam_modules/passwd_auth/spec/amd64/Makefile rename : usr/src/lib/pam_modules/passwd_auth/spec/i386/Makefile => deleted_files/usr/src/lib/pam_modules/passwd_auth/spec/i386/Makefile rename : usr/src/lib/pam_modules/passwd_auth/spec/passwd_auth.spec => deleted_files/usr/src/lib/pam_modules/passwd_auth/spec/passwd_auth.spec rename : usr/src/lib/pam_modules/passwd_auth/spec/sparc/Makefile => deleted_files/usr/src/lib/pam_modules/passwd_auth/spec/sparc/Makefile rename : usr/src/lib/pam_modules/passwd_auth/spec/sparcv9/Makefile => deleted_files/usr/src/lib/pam_modules/passwd_auth/spec/sparcv9/Makefile rename : usr/src/lib/pam_modules/passwd_auth/spec/versions => deleted_files/usr/src/lib/pam_modules/passwd_auth/spec/versions rename : usr/src/lib/pam_modules/projects/spec/Makefile => deleted_files/usr/src/lib/pam_modules/projects/spec/Makefile rename : usr/src/lib/pam_modules/projects/spec/Makefile.targ => deleted_files/usr/src/lib/pam_modules/projects/spec/Makefile.targ rename : usr/src/lib/pam_modules/projects/spec/amd64/Makefile => deleted_files/usr/src/lib/pam_modules/projects/spec/amd64/Makefile rename : usr/src/lib/pam_modules/projects/spec/i386/Makefile => deleted_files/usr/src/lib/pam_modules/projects/spec/i386/Makefile rename : usr/src/lib/pam_modules/projects/spec/projects.spec => deleted_files/usr/src/lib/pam_modules/projects/spec/projects.spec rename : usr/src/lib/pam_modules/projects/spec/sparc/Makefile => deleted_files/usr/src/lib/pam_modules/projects/spec/sparc/Makefile rename : usr/src/lib/pam_modules/projects/spec/sparcv9/Makefile => deleted_files/usr/src/lib/pam_modules/projects/spec/sparcv9/Makefile rename : usr/src/lib/pam_modules/projects/spec/versions => deleted_files/usr/src/lib/pam_modules/projects/spec/versions rename : usr/src/lib/pam_modules/rhosts_auth/spec/Makefile => deleted_files/usr/src/lib/pam_modules/rhosts_auth/spec/Makefile rename : usr/src/lib/pam_modules/rhosts_auth/spec/Makefile.targ => deleted_files/usr/src/lib/pam_modules/rhosts_auth/spec/Makefile.targ rename : usr/src/lib/pam_modules/rhosts_auth/spec/amd64/Makefile => deleted_files/usr/src/lib/pam_modules/rhosts_auth/spec/amd64/Makefile rename : usr/src/lib/pam_modules/rhosts_auth/spec/i386/Makefile => deleted_files/usr/src/lib/pam_modules/rhosts_auth/spec/i386/Makefile rename : usr/src/lib/pam_modules/rhosts_auth/spec/rhosts_auth.spec => deleted_files/usr/src/lib/pam_modules/rhosts_auth/spec/rhosts_auth.spec rename : usr/src/lib/pam_modules/rhosts_auth/spec/sparc/Makefile => deleted_files/usr/src/lib/pam_modules/rhosts_auth/spec/sparc/Makefile rename : usr/src/lib/pam_modules/rhosts_auth/spec/sparcv9/Makefile => deleted_files/usr/src/lib/pam_modules/rhosts_auth/spec/sparcv9/Makefile rename : usr/src/lib/pam_modules/rhosts_auth/spec/versions => deleted_files/usr/src/lib/pam_modules/rhosts_auth/spec/versions rename : usr/src/lib/pam_modules/roles/spec/Makefile => deleted_files/usr/src/lib/pam_modules/roles/spec/Makefile rename : usr/src/lib/pam_modules/roles/spec/Makefile.targ => deleted_files/usr/src/lib/pam_modules/roles/spec/Makefile.targ rename : usr/src/lib/pam_modules/roles/spec/amd64/Makefile => deleted_files/usr/src/lib/pam_modules/roles/spec/amd64/Makefile rename : usr/src/lib/pam_modules/roles/spec/i386/Makefile => deleted_files/usr/src/lib/pam_modules/roles/spec/i386/Makefile rename : usr/src/lib/pam_modules/roles/spec/roles.spec => deleted_files/usr/src/lib/pam_modules/roles/spec/roles.spec rename : usr/src/lib/pam_modules/roles/spec/sparc/Makefile => deleted_files/usr/src/lib/pam_modules/roles/spec/sparc/Makefile rename : usr/src/lib/pam_modules/roles/spec/sparcv9/Makefile => deleted_files/usr/src/lib/pam_modules/roles/spec/sparcv9/Makefile rename : usr/src/lib/pam_modules/roles/spec/versions => deleted_files/usr/src/lib/pam_modules/roles/spec/versions rename : usr/src/lib/pam_modules/sample/spec/Makefile => deleted_files/usr/src/lib/pam_modules/sample/spec/Makefile rename : usr/src/lib/pam_modules/sample/spec/Makefile.targ => deleted_files/usr/src/lib/pam_modules/sample/spec/Makefile.targ rename : usr/src/lib/pam_modules/sample/spec/amd64/Makefile => deleted_files/usr/src/lib/pam_modules/sample/spec/amd64/Makefile rename : usr/src/lib/pam_modules/sample/spec/i386/Makefile => deleted_files/usr/src/lib/pam_modules/sample/spec/i386/Makefile rename : usr/src/lib/pam_modules/sample/spec/sample.spec => deleted_files/usr/src/lib/pam_modules/sample/spec/sample.spec rename : usr/src/lib/pam_modules/sample/spec/sparc/Makefile => deleted_files/usr/src/lib/pam_modules/sample/spec/sparc/Makefile rename : usr/src/lib/pam_modules/sample/spec/sparcv9/Makefile => deleted_files/usr/src/lib/pam_modules/sample/spec/sparcv9/Makefile rename : usr/src/lib/pam_modules/sample/spec/versions => deleted_files/usr/src/lib/pam_modules/sample/spec/versions rename : usr/src/lib/pam_modules/unix_account/spec/Makefile => deleted_files/usr/src/lib/pam_modules/unix_account/spec/Makefile rename : usr/src/lib/pam_modules/unix_account/spec/Makefile.targ => deleted_files/usr/src/lib/pam_modules/unix_account/spec/Makefile.targ rename : usr/src/lib/pam_modules/unix_account/spec/amd64/Makefile => deleted_files/usr/src/lib/pam_modules/unix_account/spec/amd64/Makefile rename : usr/src/lib/pam_modules/unix_account/spec/i386/Makefile => deleted_files/usr/src/lib/pam_modules/unix_account/spec/i386/Makefile rename : usr/src/lib/pam_modules/unix_account/spec/sparc/Makefile => deleted_files/usr/src/lib/pam_modules/unix_account/spec/sparc/Makefile rename : usr/src/lib/pam_modules/unix_account/spec/sparcv9/Makefile => deleted_files/usr/src/lib/pam_modules/unix_account/spec/sparcv9/Makefile rename : usr/src/lib/pam_modules/unix_account/spec/unix_account.spec => deleted_files/usr/src/lib/pam_modules/unix_account/spec/unix_account.spec rename : usr/src/lib/pam_modules/unix_account/spec/versions => deleted_files/usr/src/lib/pam_modules/unix_account/spec/versions rename : usr/src/lib/pam_modules/unix_auth/spec/Makefile => deleted_files/usr/src/lib/pam_modules/unix_auth/spec/Makefile rename : usr/src/lib/pam_modules/unix_auth/spec/Makefile.targ => deleted_files/usr/src/lib/pam_modules/unix_auth/spec/Makefile.targ rename : usr/src/lib/pam_modules/unix_auth/spec/amd64/Makefile => deleted_files/usr/src/lib/pam_modules/unix_auth/spec/amd64/Makefile rename : usr/src/lib/pam_modules/unix_auth/spec/i386/Makefile => deleted_files/usr/src/lib/pam_modules/unix_auth/spec/i386/Makefile rename : usr/src/lib/pam_modules/unix_auth/spec/sparc/Makefile => deleted_files/usr/src/lib/pam_modules/unix_auth/spec/sparc/Makefile rename : usr/src/lib/pam_modules/unix_auth/spec/sparcv9/Makefile => deleted_files/usr/src/lib/pam_modules/unix_auth/spec/sparcv9/Makefile rename : usr/src/lib/pam_modules/unix_auth/spec/unix_auth.spec => deleted_files/usr/src/lib/pam_modules/unix_auth/spec/unix_auth.spec rename : usr/src/lib/pam_modules/unix_auth/spec/versions => deleted_files/usr/src/lib/pam_modules/unix_auth/spec/versions rename : usr/src/lib/pam_modules/unix_cred/spec/Makefile => deleted_files/usr/src/lib/pam_modules/unix_cred/spec/Makefile rename : usr/src/lib/pam_modules/unix_cred/spec/Makefile.targ => deleted_files/usr/src/lib/pam_modules/unix_cred/spec/Makefile.targ rename : usr/src/lib/pam_modules/unix_cred/spec/amd64/Makefile => deleted_files/usr/src/lib/pam_modules/unix_cred/spec/amd64/Makefile rename : usr/src/lib/pam_modules/unix_cred/spec/i386/Makefile => deleted_files/usr/src/lib/pam_modules/unix_cred/spec/i386/Makefile rename : usr/src/lib/pam_modules/unix_cred/spec/sparc/Makefile => deleted_files/usr/src/lib/pam_modules/unix_cred/spec/sparc/Makefile rename : usr/src/lib/pam_modules/unix_cred/spec/sparcv9/Makefile => deleted_files/usr/src/lib/pam_modules/unix_cred/spec/sparcv9/Makefile rename : usr/src/lib/pam_modules/unix_cred/spec/unix_cred.spec => deleted_files/usr/src/lib/pam_modules/unix_cred/spec/unix_cred.spec rename : usr/src/lib/pam_modules/unix_cred/spec/versions => deleted_files/usr/src/lib/pam_modules/unix_cred/spec/versions rename : usr/src/lib/pam_modules/unix_session/spec/Makefile => deleted_files/usr/src/lib/pam_modules/unix_session/spec/Makefile rename : usr/src/lib/pam_modules/unix_session/spec/Makefile.targ => deleted_files/usr/src/lib/pam_modules/unix_session/spec/Makefile.targ rename : usr/src/lib/pam_modules/unix_session/spec/amd64/Makefile => deleted_files/usr/src/lib/pam_modules/unix_session/spec/amd64/Makefile rename : usr/src/lib/pam_modules/unix_session/spec/i386/Makefile => deleted_files/usr/src/lib/pam_modules/unix_session/spec/i386/Makefile rename : usr/src/lib/pam_modules/unix_session/spec/sparc/Makefile => deleted_files/usr/src/lib/pam_modules/unix_session/spec/sparc/Makefile rename : usr/src/lib/pam_modules/unix_session/spec/sparcv9/Makefile => deleted_files/usr/src/lib/pam_modules/unix_session/spec/sparcv9/Makefile rename : usr/src/lib/pam_modules/unix_session/spec/unix_session.spec => deleted_files/usr/src/lib/pam_modules/unix_session/spec/unix_session.spec rename : usr/src/lib/pam_modules/unix_session/spec/versions => deleted_files/usr/src/lib/pam_modules/unix_session/spec/versions rename : usr/src/lib/passwdutil/spec/Makefile => deleted_files/usr/src/lib/passwdutil/spec/Makefile rename : usr/src/lib/passwdutil/spec/Makefile.targ => deleted_files/usr/src/lib/passwdutil/spec/Makefile.targ rename : usr/src/lib/passwdutil/spec/amd64/Makefile => deleted_files/usr/src/lib/passwdutil/spec/amd64/Makefile rename : usr/src/lib/passwdutil/spec/i386/Makefile => deleted_files/usr/src/lib/passwdutil/spec/i386/Makefile rename : usr/src/lib/passwdutil/spec/passwdutil.spec => deleted_files/usr/src/lib/passwdutil/spec/passwdutil.spec rename : usr/src/lib/passwdutil/spec/sparc/Makefile => deleted_files/usr/src/lib/passwdutil/spec/sparc/Makefile rename : usr/src/lib/passwdutil/spec/sparcv9/Makefile => deleted_files/usr/src/lib/passwdutil/spec/sparcv9/Makefile rename : usr/src/lib/passwdutil/spec/versions => deleted_files/usr/src/lib/passwdutil/spec/versions rename : usr/src/lib/pkcs11/libpkcs11/spec/Makefile => deleted_files/usr/src/lib/pkcs11/libpkcs11/spec/Makefile rename : usr/src/lib/pkcs11/libpkcs11/spec/Makefile.targ => deleted_files/usr/src/lib/pkcs11/libpkcs11/spec/Makefile.targ rename : usr/src/lib/pkcs11/libpkcs11/spec/amd64/Makefile => deleted_files/usr/src/lib/pkcs11/libpkcs11/spec/amd64/Makefile rename : usr/src/lib/pkcs11/libpkcs11/spec/i386/Makefile => deleted_files/usr/src/lib/pkcs11/libpkcs11/spec/i386/Makefile rename : usr/src/lib/pkcs11/libpkcs11/spec/pkcs11.spec => deleted_files/usr/src/lib/pkcs11/libpkcs11/spec/pkcs11.spec rename : usr/src/lib/pkcs11/libpkcs11/spec/sparc/Makefile => deleted_files/usr/src/lib/pkcs11/libpkcs11/spec/sparc/Makefile rename : usr/src/lib/pkcs11/libpkcs11/spec/sparcv9/Makefile => deleted_files/usr/src/lib/pkcs11/libpkcs11/spec/sparcv9/Makefile rename : usr/src/lib/pkcs11/libpkcs11/spec/versions => deleted_files/usr/src/lib/pkcs11/libpkcs11/spec/versions rename : usr/src/lib/pkcs11/pkcs11_kernel/spec/Makefile => deleted_files/usr/src/lib/pkcs11/pkcs11_kernel/spec/Makefile rename : usr/src/lib/pkcs11/pkcs11_kernel/spec/Makefile.targ => deleted_files/usr/src/lib/pkcs11/pkcs11_kernel/spec/Makefile.targ rename : usr/src/lib/pkcs11/pkcs11_kernel/spec/amd64/Makefile => deleted_files/usr/src/lib/pkcs11/pkcs11_kernel/spec/amd64/Makefile rename : usr/src/lib/pkcs11/pkcs11_kernel/spec/i386/Makefile => deleted_files/usr/src/lib/pkcs11/pkcs11_kernel/spec/i386/Makefile rename : usr/src/lib/pkcs11/pkcs11_kernel/spec/pkcs11_kernel.spec => deleted_files/usr/src/lib/pkcs11/pkcs11_kernel/spec/pkcs11_kernel.spec rename : usr/src/lib/pkcs11/pkcs11_kernel/spec/sparc/Makefile => deleted_files/usr/src/lib/pkcs11/pkcs11_kernel/spec/sparc/Makefile rename : usr/src/lib/pkcs11/pkcs11_kernel/spec/sparcv9/Makefile => deleted_files/usr/src/lib/pkcs11/pkcs11_kernel/spec/sparcv9/Makefile rename : usr/src/lib/pkcs11/pkcs11_kernel/spec/versions => deleted_files/usr/src/lib/pkcs11/pkcs11_kernel/spec/versions rename : usr/src/lib/pkcs11/pkcs11_softtoken/spec/Makefile => deleted_files/usr/src/lib/pkcs11/pkcs11_softtoken/spec/Makefile rename : usr/src/lib/pkcs11/pkcs11_softtoken/spec/Makefile.targ => deleted_files/usr/src/lib/pkcs11/pkcs11_softtoken/spec/Makefile.targ rename : usr/src/lib/pkcs11/pkcs11_softtoken/spec/amd64/Makefile => deleted_files/usr/src/lib/pkcs11/pkcs11_softtoken/spec/amd64/Makefile rename : usr/src/lib/pkcs11/pkcs11_softtoken/spec/i386/Makefile => deleted_files/usr/src/lib/pkcs11/pkcs11_softtoken/spec/i386/Makefile rename : usr/src/lib/pkcs11/pkcs11_softtoken/spec/pkcs11_softtoken.spec => deleted_files/usr/src/lib/pkcs11/pkcs11_softtoken/spec/pkcs11_softtoken.spec rename : usr/src/lib/pkcs11/pkcs11_softtoken/spec/sparc/Makefile => deleted_files/usr/src/lib/pkcs11/pkcs11_softtoken/spec/sparc/Makefile rename : usr/src/lib/pkcs11/pkcs11_softtoken/spec/sparcv9/Makefile => deleted_files/usr/src/lib/pkcs11/pkcs11_softtoken/spec/sparcv9/Makefile rename : usr/src/lib/pkcs11/pkcs11_softtoken/spec/versions => deleted_files/usr/src/lib/pkcs11/pkcs11_softtoken/spec/versions rename : usr/src/lib/pkcs11/pkcs11_softtoken_extra/spec/Makefile => deleted_files/usr/src/lib/pkcs11/pkcs11_softtoken_extra/spec/Makefile rename : usr/src/lib/pkcs11/pkcs11_softtoken_extra/spec/Makefile.targ => deleted_files/usr/src/lib/pkcs11/pkcs11_softtoken_extra/spec/Makefile.targ rename : usr/src/lib/pkcs11/pkcs11_softtoken_extra/spec/amd64/Makefile => deleted_files/usr/src/lib/pkcs11/pkcs11_softtoken_extra/spec/amd64/Makefile rename : usr/src/lib/pkcs11/pkcs11_softtoken_extra/spec/i386/Makefile => deleted_files/usr/src/lib/pkcs11/pkcs11_softtoken_extra/spec/i386/Makefile rename : usr/src/lib/pkcs11/pkcs11_softtoken_extra/spec/pkcs11_softtoken_extra.spec => deleted_files/usr/src/lib/pkcs11/pkcs11_softtoken_extra/spec/pkcs11_softtoken_extra.spec rename : usr/src/lib/pkcs11/pkcs11_softtoken_extra/spec/sparc/Makefile => deleted_files/usr/src/lib/pkcs11/pkcs11_softtoken_extra/spec/sparc/Makefile rename : usr/src/lib/pkcs11/pkcs11_softtoken_extra/spec/sparcv9/Makefile => deleted_files/usr/src/lib/pkcs11/pkcs11_softtoken_extra/spec/sparcv9/Makefile rename : usr/src/lib/pkcs11/pkcs11_softtoken_extra/spec/versions => deleted_files/usr/src/lib/pkcs11/pkcs11_softtoken_extra/spec/versions rename : usr/src/lib/sasl_plugins/cram/spec/Makefile => deleted_files/usr/src/lib/sasl_plugins/cram/spec/Makefile rename : usr/src/lib/sasl_plugins/cram/spec/Makefile.targ => deleted_files/usr/src/lib/sasl_plugins/cram/spec/Makefile.targ rename : usr/src/lib/sasl_plugins/cram/spec/amd64/Makefile => deleted_files/usr/src/lib/sasl_plugins/cram/spec/amd64/Makefile rename : usr/src/lib/sasl_plugins/cram/spec/cram.spec => deleted_files/usr/src/lib/sasl_plugins/cram/spec/cram.spec rename : usr/src/lib/sasl_plugins/cram/spec/i386/Makefile => deleted_files/usr/src/lib/sasl_plugins/cram/spec/i386/Makefile rename : usr/src/lib/sasl_plugins/cram/spec/sparc/Makefile => deleted_files/usr/src/lib/sasl_plugins/cram/spec/sparc/Makefile rename : usr/src/lib/sasl_plugins/cram/spec/sparcv9/Makefile => deleted_files/usr/src/lib/sasl_plugins/cram/spec/sparcv9/Makefile rename : usr/src/lib/sasl_plugins/cram/spec/versions => deleted_files/usr/src/lib/sasl_plugins/cram/spec/versions rename : usr/src/lib/sasl_plugins/digestmd5/spec/Makefile => deleted_files/usr/src/lib/sasl_plugins/digestmd5/spec/Makefile rename : usr/src/lib/sasl_plugins/digestmd5/spec/Makefile.targ => deleted_files/usr/src/lib/sasl_plugins/digestmd5/spec/Makefile.targ rename : usr/src/lib/sasl_plugins/digestmd5/spec/amd64/Makefile => deleted_files/usr/src/lib/sasl_plugins/digestmd5/spec/amd64/Makefile rename : usr/src/lib/sasl_plugins/digestmd5/spec/digestmd5.spec => deleted_files/usr/src/lib/sasl_plugins/digestmd5/spec/digestmd5.spec rename : usr/src/lib/sasl_plugins/digestmd5/spec/i386/Makefile => deleted_files/usr/src/lib/sasl_plugins/digestmd5/spec/i386/Makefile rename : usr/src/lib/sasl_plugins/digestmd5/spec/sparc/Makefile => deleted_files/usr/src/lib/sasl_plugins/digestmd5/spec/sparc/Makefile rename : usr/src/lib/sasl_plugins/digestmd5/spec/sparcv9/Makefile => deleted_files/usr/src/lib/sasl_plugins/digestmd5/spec/sparcv9/Makefile rename : usr/src/lib/sasl_plugins/digestmd5/spec/versions => deleted_files/usr/src/lib/sasl_plugins/digestmd5/spec/versions rename : usr/src/lib/sasl_plugins/gssapi/spec/Makefile => deleted_files/usr/src/lib/sasl_plugins/gssapi/spec/Makefile rename : usr/src/lib/sasl_plugins/gssapi/spec/Makefile.targ => deleted_files/usr/src/lib/sasl_plugins/gssapi/spec/Makefile.targ rename : usr/src/lib/sasl_plugins/gssapi/spec/amd64/Makefile => deleted_files/usr/src/lib/sasl_plugins/gssapi/spec/amd64/Makefile rename : usr/src/lib/sasl_plugins/gssapi/spec/gssapi.spec => deleted_files/usr/src/lib/sasl_plugins/gssapi/spec/gssapi.spec rename : usr/src/lib/sasl_plugins/gssapi/spec/i386/Makefile => deleted_files/usr/src/lib/sasl_plugins/gssapi/spec/i386/Makefile rename : usr/src/lib/sasl_plugins/gssapi/spec/sparc/Makefile => deleted_files/usr/src/lib/sasl_plugins/gssapi/spec/sparc/Makefile rename : usr/src/lib/sasl_plugins/gssapi/spec/sparcv9/Makefile => deleted_files/usr/src/lib/sasl_plugins/gssapi/spec/sparcv9/Makefile rename : usr/src/lib/sasl_plugins/gssapi/spec/versions => deleted_files/usr/src/lib/sasl_plugins/gssapi/spec/versions rename : usr/src/lib/sasl_plugins/plain/spec/Makefile => deleted_files/usr/src/lib/sasl_plugins/plain/spec/Makefile rename : usr/src/lib/sasl_plugins/plain/spec/Makefile.targ => deleted_files/usr/src/lib/sasl_plugins/plain/spec/Makefile.targ rename : usr/src/lib/sasl_plugins/plain/spec/amd64/Makefile => deleted_files/usr/src/lib/sasl_plugins/plain/spec/amd64/Makefile rename : usr/src/lib/sasl_plugins/plain/spec/i386/Makefile => deleted_files/usr/src/lib/sasl_plugins/plain/spec/i386/Makefile rename : usr/src/lib/sasl_plugins/plain/spec/plain.spec => deleted_files/usr/src/lib/sasl_plugins/plain/spec/plain.spec rename : usr/src/lib/sasl_plugins/plain/spec/sparc/Makefile => deleted_files/usr/src/lib/sasl_plugins/plain/spec/sparc/Makefile rename : usr/src/lib/sasl_plugins/plain/spec/sparcv9/Makefile => deleted_files/usr/src/lib/sasl_plugins/plain/spec/sparcv9/Makefile rename : usr/src/lib/sasl_plugins/plain/spec/versions => deleted_files/usr/src/lib/sasl_plugins/plain/spec/versions rename : usr/src/lib/udapl/libdat/spec/Makefile => deleted_files/usr/src/lib/udapl/libdat/spec/Makefile rename : usr/src/lib/udapl/libdat/spec/Makefile.targ => deleted_files/usr/src/lib/udapl/libdat/spec/Makefile.targ rename : usr/src/lib/udapl/libdat/spec/amd64/Makefile => deleted_files/usr/src/lib/udapl/libdat/spec/amd64/Makefile rename : usr/src/lib/udapl/libdat/spec/dat.spec => deleted_files/usr/src/lib/udapl/libdat/spec/dat.spec rename : usr/src/lib/udapl/libdat/spec/i386/Makefile => deleted_files/usr/src/lib/udapl/libdat/spec/i386/Makefile rename : usr/src/lib/udapl/libdat/spec/sparc/Makefile => deleted_files/usr/src/lib/udapl/libdat/spec/sparc/Makefile rename : usr/src/lib/udapl/libdat/spec/sparcv9/Makefile => deleted_files/usr/src/lib/udapl/libdat/spec/sparcv9/Makefile rename : usr/src/lib/udapl/libdat/spec/versions => deleted_files/usr/src/lib/udapl/libdat/spec/versions rename : usr/src/lib/watchmalloc/spec/Makefile => deleted_files/usr/src/lib/watchmalloc/spec/Makefile rename : usr/src/lib/watchmalloc/spec/Makefile.targ => deleted_files/usr/src/lib/watchmalloc/spec/Makefile.targ rename : usr/src/lib/watchmalloc/spec/amd64/Makefile => deleted_files/usr/src/lib/watchmalloc/spec/amd64/Makefile rename : usr/src/lib/watchmalloc/spec/i386/Makefile => deleted_files/usr/src/lib/watchmalloc/spec/i386/Makefile rename : usr/src/lib/watchmalloc/spec/sparc/Makefile => deleted_files/usr/src/lib/watchmalloc/spec/sparc/Makefile rename : usr/src/lib/watchmalloc/spec/sparcv9/Makefile => deleted_files/usr/src/lib/watchmalloc/spec/sparcv9/Makefile rename : usr/src/lib/watchmalloc/spec/versions => deleted_files/usr/src/lib/watchmalloc/spec/versions rename : usr/src/lib/watchmalloc/spec/watchmalloc.spec => deleted_files/usr/src/lib/watchmalloc/spec/watchmalloc.spec rename : usr/src/ucblib/libcurses/spec/Makefile => deleted_files/usr/src/ucblib/libcurses/spec/Makefile rename : usr/src/ucblib/libcurses/spec/Makefile.override => deleted_files/usr/src/ucblib/libcurses/spec/Makefile.override rename : usr/src/ucblib/libcurses/spec/Makefile.targ => deleted_files/usr/src/ucblib/libcurses/spec/Makefile.targ rename : usr/src/ucblib/libcurses/spec/amd64/Makefile => deleted_files/usr/src/ucblib/libcurses/spec/amd64/Makefile rename : usr/src/ucblib/libcurses/spec/curses.spec => deleted_files/usr/src/ucblib/libcurses/spec/curses.spec rename : usr/src/ucblib/libcurses/spec/i386/Makefile => deleted_files/usr/src/ucblib/libcurses/spec/i386/Makefile rename : usr/src/ucblib/libcurses/spec/sparc/Makefile => deleted_files/usr/src/ucblib/libcurses/spec/sparc/Makefile rename : usr/src/ucblib/libcurses/spec/sparcv9/Makefile => deleted_files/usr/src/ucblib/libcurses/spec/sparcv9/Makefile rename : usr/src/ucblib/libcurses/spec/versions => deleted_files/usr/src/ucblib/libcurses/spec/versions rename : usr/src/ucblib/libdbm/spec/Makefile => deleted_files/usr/src/ucblib/libdbm/spec/Makefile rename : usr/src/ucblib/libdbm/spec/Makefile.targ => deleted_files/usr/src/ucblib/libdbm/spec/Makefile.targ rename : usr/src/ucblib/libdbm/spec/amd64/Makefile => deleted_files/usr/src/ucblib/libdbm/spec/amd64/Makefile rename : usr/src/ucblib/libdbm/spec/dbm.spec => deleted_files/usr/src/ucblib/libdbm/spec/dbm.spec rename : usr/src/ucblib/libdbm/spec/i386/Makefile => deleted_files/usr/src/ucblib/libdbm/spec/i386/Makefile rename : usr/src/ucblib/libdbm/spec/sparc/Makefile => deleted_files/usr/src/ucblib/libdbm/spec/sparc/Makefile rename : usr/src/ucblib/libdbm/spec/sparcv9/Makefile => deleted_files/usr/src/ucblib/libdbm/spec/sparcv9/Makefile rename : usr/src/ucblib/libdbm/spec/versions => deleted_files/usr/src/ucblib/libdbm/spec/versions rename : usr/src/ucblib/librpcsoc/spec/Makefile => deleted_files/usr/src/ucblib/librpcsoc/spec/Makefile rename : usr/src/ucblib/librpcsoc/spec/Makefile.targ => deleted_files/usr/src/ucblib/librpcsoc/spec/Makefile.targ rename : usr/src/ucblib/librpcsoc/spec/amd64/Makefile => deleted_files/usr/src/ucblib/librpcsoc/spec/amd64/Makefile rename : usr/src/ucblib/librpcsoc/spec/i386/Makefile => deleted_files/usr/src/ucblib/librpcsoc/spec/i386/Makefile rename : usr/src/ucblib/librpcsoc/spec/rpcsoc.spec => deleted_files/usr/src/ucblib/librpcsoc/spec/rpcsoc.spec rename : usr/src/ucblib/librpcsoc/spec/sparc/Makefile => deleted_files/usr/src/ucblib/librpcsoc/spec/sparc/Makefile rename : usr/src/ucblib/librpcsoc/spec/sparcv9/Makefile => deleted_files/usr/src/ucblib/librpcsoc/spec/sparcv9/Makefile rename : usr/src/ucblib/librpcsoc/spec/versions => deleted_files/usr/src/ucblib/librpcsoc/spec/versions rename : usr/src/ucblib/libtermcap/spec/Makefile => deleted_files/usr/src/ucblib/libtermcap/spec/Makefile rename : usr/src/ucblib/libtermcap/spec/Makefile.targ => deleted_files/usr/src/ucblib/libtermcap/spec/Makefile.targ rename : usr/src/ucblib/libtermcap/spec/amd64/Makefile => deleted_files/usr/src/ucblib/libtermcap/spec/amd64/Makefile rename : usr/src/ucblib/libtermcap/spec/i386/Makefile => deleted_files/usr/src/ucblib/libtermcap/spec/i386/Makefile rename : usr/src/ucblib/libtermcap/spec/sparc/Makefile => deleted_files/usr/src/ucblib/libtermcap/spec/sparc/Makefile rename : usr/src/ucblib/libtermcap/spec/sparcv9/Makefile => deleted_files/usr/src/ucblib/libtermcap/spec/sparcv9/Makefile rename : usr/src/ucblib/libtermcap/spec/termcap.spec => deleted_files/usr/src/ucblib/libtermcap/spec/termcap.spec rename : usr/src/ucblib/libtermcap/spec/versions => deleted_files/usr/src/ucblib/libtermcap/spec/versions rename : usr/src/ucblib/libucb/spec/Makefile => deleted_files/usr/src/ucblib/libucb/spec/Makefile rename : usr/src/ucblib/libucb/spec/Makefile.override => deleted_files/usr/src/ucblib/libucb/spec/Makefile.override rename : usr/src/ucblib/libucb/spec/Makefile.targ => deleted_files/usr/src/ucblib/libucb/spec/Makefile.targ rename : usr/src/ucblib/libucb/spec/amd64/Makefile => deleted_files/usr/src/ucblib/libucb/spec/amd64/Makefile rename : usr/src/ucblib/libucb/spec/i386/Makefile => deleted_files/usr/src/ucblib/libucb/spec/i386/Makefile rename : usr/src/ucblib/libucb/spec/sparc/Makefile => deleted_files/usr/src/ucblib/libucb/spec/sparc/Makefile rename : usr/src/ucblib/libucb/spec/sparcv9/Makefile => deleted_files/usr/src/ucblib/libucb/spec/sparcv9/Makefile rename : usr/src/ucblib/libucb/spec/ucb.spec => deleted_files/usr/src/ucblib/libucb/spec/ucb.spec rename : usr/src/ucblib/libucb/spec/versions => deleted_files/usr/src/ucblib/libucb/spec/versions
Diffstat (limited to 'usr')
-rw-r--r--usr/src/Makefile2
-rw-r--r--usr/src/cmd/abi/libstabspf/amd64/Makefile37
-rw-r--r--usr/src/cmd/abi/libstabspf/spec/amd64/Makefile46
-rw-r--r--usr/src/cmd/agents/snmp/agent/Makefile.com14
-rw-r--r--usr/src/cmd/agents/snmp/snmplib/Makefile.com13
-rw-r--r--usr/src/cmd/backup/lib/Makefile12
-rw-r--r--usr/src/cmd/cmd-inet/usr.bin/pppd/plugins/Makefile38
-rw-r--r--usr/src/cmd/cmd-inet/usr.sadm/dhcpmgr/lib/Makefile13
-rw-r--r--usr/src/cmd/consadm/i386/Makefile16
-rw-r--r--usr/src/cmd/consadm/sparc/Makefile16
-rw-r--r--usr/src/cmd/fs.d/hsfs/fstyp/Makefile7
-rw-r--r--usr/src/cmd/fs.d/pcfs/fstyp/Makefile7
-rw-r--r--usr/src/cmd/fs.d/pcfs/ident/Makefile13
-rw-r--r--usr/src/cmd/fs.d/udfs/fstyp/Makefile7
-rw-r--r--usr/src/cmd/fs.d/udfs/ident/Makefile11
-rw-r--r--usr/src/cmd/fs.d/ufs/fstyp/Makefile7
-rw-r--r--usr/src/cmd/fs.d/ufs/ident/Makefile13
-rw-r--r--usr/src/cmd/fs.d/zfs/fstyp/Makefile7
-rw-r--r--usr/src/cmd/krb5/kadmin/gui/native/Makefile.com15
-rw-r--r--usr/src/cmd/lp/cmd/adaptor/Makefile5
-rw-r--r--usr/src/cmd/lp/lib/papi/Makefile7
-rw-r--r--usr/src/cmd/oamuser/lib/Makefile14
-rwxr-xr-xusr/src/cmd/pcidr/Makefile.com15
-rwxr-xr-xusr/src/cmd/pcidr/plugins/default/Makefile13
-rw-r--r--usr/src/cmd/perl/5.6.1/distrib/Makefile.lib14
-rw-r--r--usr/src/cmd/perl/5.8.4/distrib/Makefile.lib14
-rw-r--r--usr/src/cmd/picl/plugins/Makefile.com16
-rw-r--r--usr/src/cmd/picl/plugins/lib/picld_pluginutil/Makefile33
-rw-r--r--usr/src/cmd/picl/plugins/lib/picld_pluginutil/Makefile.com16
-rw-r--r--usr/src/cmd/picl/plugins/lib/picld_pluginutil/i386/Makefile13
-rw-r--r--usr/src/cmd/picl/plugins/lib/picld_pluginutil/mapfile-vers33
-rw-r--r--usr/src/cmd/picl/plugins/lib/picld_pluginutil/sparc/Makefile13
-rw-r--r--usr/src/cmd/picl/plugins/lib/picld_pluginutil/spec/Makefile62
-rw-r--r--usr/src/cmd/picl/plugins/lib/picld_pluginutil/spec/Makefile.targ32
-rw-r--r--usr/src/cmd/picl/plugins/lib/picld_pluginutil/spec/i386/Makefile51
-rw-r--r--usr/src/cmd/picl/plugins/lib/picld_pluginutil/spec/picld_pluginutil.spec34
-rw-r--r--usr/src/cmd/picl/plugins/lib/picld_pluginutil/spec/sparc/Makefile51
-rw-r--r--usr/src/cmd/picl/plugins/lib/picld_pluginutil/spec/versions34
-rw-r--r--usr/src/cmd/pools/poold/libjkstat/Makefile13
-rw-r--r--usr/src/cmd/pools/poold/libjkstat/Makefile.com10
-rw-r--r--usr/src/cmd/pools/poold/libjkstat/i386/Makefile14
-rw-r--r--usr/src/cmd/pools/poold/libjkstat/mapfile-vers41
-rw-r--r--usr/src/cmd/pools/poold/libjkstat/sparc/Makefile14
-rw-r--r--usr/src/cmd/pools/poold/libjkstat/spec/Makefile31
-rw-r--r--usr/src/cmd/pools/poold/libjkstat/spec/Makefile.targ36
-rw-r--r--usr/src/cmd/pools/poold/libjkstat/spec/amd64/Makefile43
-rw-r--r--usr/src/cmd/pools/poold/libjkstat/spec/i386/Makefile42
-rw-r--r--usr/src/cmd/pools/poold/libjkstat/spec/jkstat.spec101
-rw-r--r--usr/src/cmd/pools/poold/libjkstat/spec/sparc/Makefile41
-rw-r--r--usr/src/cmd/pools/poold/libjkstat/spec/sparcv9/Makefile36
-rw-r--r--usr/src/cmd/pools/poold/libjkstat/spec/versions36
-rw-r--r--usr/src/cmd/pools/poold/libjlgrp/Makefile13
-rw-r--r--usr/src/cmd/pools/poold/libjlgrp/Makefile.com12
-rw-r--r--usr/src/cmd/pools/poold/libjlgrp/i386/Makefile14
-rw-r--r--usr/src/cmd/pools/poold/libjlgrp/mapfile-vers38
-rw-r--r--usr/src/cmd/pools/poold/libjlgrp/sparc/Makefile14
-rw-r--r--usr/src/cmd/pools/poold/libjlgrp/spec/Makefile31
-rw-r--r--usr/src/cmd/pools/poold/libjlgrp/spec/Makefile.targ36
-rw-r--r--usr/src/cmd/pools/poold/libjlgrp/spec/amd64/Makefile43
-rw-r--r--usr/src/cmd/pools/poold/libjlgrp/spec/i386/Makefile42
-rw-r--r--usr/src/cmd/pools/poold/libjlgrp/spec/jlgrp.spec76
-rw-r--r--usr/src/cmd/pools/poold/libjlgrp/spec/sparc/Makefile41
-rw-r--r--usr/src/cmd/pools/poold/libjlgrp/spec/sparcv9/Makefile36
-rw-r--r--usr/src/cmd/pools/poold/libjlgrp/spec/versions36
-rw-r--r--usr/src/cmd/pools/poold/libjpool/Makefile13
-rw-r--r--usr/src/cmd/pools/poold/libjpool/Makefile.com13
-rw-r--r--usr/src/cmd/pools/poold/libjpool/i386/Makefile14
-rw-r--r--usr/src/cmd/pools/poold/libjpool/mapfile-vers121
-rw-r--r--usr/src/cmd/pools/poold/libjpool/sparc/Makefile14
-rw-r--r--usr/src/cmd/pools/poold/libjpool/spec/Makefile31
-rw-r--r--usr/src/cmd/pools/poold/libjpool/spec/Makefile.targ36
-rw-r--r--usr/src/cmd/pools/poold/libjpool/spec/amd64/Makefile43
-rw-r--r--usr/src/cmd/pools/poold/libjpool/spec/i386/Makefile42
-rw-r--r--usr/src/cmd/pools/poold/libjpool/spec/jpool.spec760
-rw-r--r--usr/src/cmd/pools/poold/libjpool/spec/sparc/Makefile41
-rw-r--r--usr/src/cmd/pools/poold/libjpool/spec/sparcv9/Makefile36
-rw-r--r--usr/src/cmd/pools/poold/libjpool/spec/versions36
-rw-r--r--usr/src/cmd/pools/poold/libjsyslog/Makefile13
-rw-r--r--usr/src/cmd/pools/poold/libjsyslog/Makefile.com12
-rw-r--r--usr/src/cmd/pools/poold/libjsyslog/i386/Makefile14
-rw-r--r--usr/src/cmd/pools/poold/libjsyslog/mapfile-vers35
-rw-r--r--usr/src/cmd/pools/poold/libjsyslog/sparc/Makefile14
-rw-r--r--usr/src/cmd/pools/poold/libjsyslog/spec/Makefile31
-rw-r--r--usr/src/cmd/pools/poold/libjsyslog/spec/Makefile.targ36
-rw-r--r--usr/src/cmd/pools/poold/libjsyslog/spec/amd64/Makefile43
-rw-r--r--usr/src/cmd/pools/poold/libjsyslog/spec/i386/Makefile42
-rw-r--r--usr/src/cmd/pools/poold/libjsyslog/spec/jsyslog.spec53
-rw-r--r--usr/src/cmd/pools/poold/libjsyslog/spec/sparc/Makefile41
-rw-r--r--usr/src/cmd/pools/poold/libjsyslog/spec/sparcv9/Makefile36
-rw-r--r--usr/src/cmd/pools/poold/libjsyslog/spec/versions36
-rw-r--r--usr/src/cmd/print/gateway/translators/cascade/Makefile10
-rw-r--r--usr/src/cmd/print/gateway/translators/test/Makefile10
-rw-r--r--usr/src/cmd/print/printmgr/com/sun/admin/pm/server/Makefile14
-rw-r--r--usr/src/cmd/sendmail/libmilter/Makefile.com4
-rw-r--r--usr/src/cmd/sgs/0@0/Makefile.com12
-rw-r--r--usr/src/cmd/sgs/Makefile3
-rw-r--r--usr/src/cmd/sgs/Makefile.com3
-rw-r--r--usr/src/cmd/sgs/ldprof/Makefile.com9
-rw-r--r--usr/src/cmd/sgs/ldprof/Makefile.targ14
-rw-r--r--usr/src/cmd/sgs/lex/Makefile.com16
-rw-r--r--usr/src/cmd/sgs/lex/Makefile.targ11
-rw-r--r--usr/src/cmd/sgs/libcrle/Makefile.com7
-rw-r--r--usr/src/cmd/sgs/libcrle/Makefile.targ14
-rw-r--r--usr/src/cmd/sgs/libdl/Makefile.com13
-rw-r--r--usr/src/cmd/sgs/libdl/Makefile.targ10
-rw-r--r--usr/src/cmd/sgs/libdl/amd64/Makefile11
-rw-r--r--usr/src/cmd/sgs/libdl/i386/Makefile10
-rw-r--r--usr/src/cmd/sgs/libdl/sparc/Makefile10
-rw-r--r--usr/src/cmd/sgs/libdl/sparcv9/Makefile12
-rw-r--r--usr/src/cmd/sgs/libelf/Makefile.com6
-rw-r--r--usr/src/cmd/sgs/libelf/Makefile.targ5
-rw-r--r--usr/src/cmd/sgs/libelf/Makefile.targ.643
-rw-r--r--usr/src/cmd/sgs/libld/Makefile.com8
-rw-r--r--usr/src/cmd/sgs/libld/Makefile.targ5
-rw-r--r--usr/src/cmd/sgs/liblddbg/Makefile.com7
-rw-r--r--usr/src/cmd/sgs/liblddbg/Makefile.targ5
-rw-r--r--usr/src/cmd/sgs/libldmake/Makefile.com11
-rw-r--r--usr/src/cmd/sgs/libldmake/Makefile.targ13
-rw-r--r--usr/src/cmd/sgs/libldstab/Makefile.com7
-rw-r--r--usr/src/cmd/sgs/libldstab/Makefile.targ16
-rw-r--r--usr/src/cmd/sgs/librtld/Makefile.com7
-rw-r--r--usr/src/cmd/sgs/librtld/Makefile.targ16
-rw-r--r--usr/src/cmd/sgs/librtld_db/Makefile.com5
-rw-r--r--usr/src/cmd/sgs/librtld_db/Makefile.targ3
-rw-r--r--usr/src/cmd/sgs/link_audit/Makefile.com13
-rw-r--r--usr/src/cmd/sgs/link_audit/Makefile.targ17
-rw-r--r--usr/src/cmd/sgs/rtld/Makefile.com7
-rw-r--r--usr/src/cmd/sgs/rtld/Makefile.targ3
-rw-r--r--usr/src/cmd/sgs/rtld/mdbmod/Makefile.com5
-rw-r--r--usr/src/cmd/sgs/rtld/mdbmod/Makefile.targ3
-rw-r--r--usr/src/cmd/sgs/yacc/Makefile.com16
-rw-r--r--usr/src/cmd/sgs/yacc/Makefile.targ11
-rw-r--r--usr/src/cmd/syseventd/modules/Makefile.com17
-rw-r--r--usr/src/cmd/volmgt/rmm/Makefile8
-rw-r--r--usr/src/cmd/volmgt/vold/Makefile7
-rw-r--r--usr/src/lib/Makefile10
-rw-r--r--usr/src/lib/Makefile.lib43
-rw-r--r--usr/src/lib/Makefile.lib.6413
-rw-r--r--usr/src/lib/Makefile.spec82
-rw-r--r--usr/src/lib/Makefile.spec.arch60
-rw-r--r--usr/src/lib/Makefile.spec.psm41
-rw-r--r--usr/src/lib/Makefile.targ8
-rw-r--r--usr/src/lib/README.Makefiles200
-rw-r--r--usr/src/lib/README.mapfiles437
-rw-r--r--usr/src/lib/abi/Makefile21
-rw-r--r--usr/src/lib/abi/apptrace/Makefile.com10
-rw-r--r--usr/src/lib/auditd_plugins/binfile/Makefile14
-rw-r--r--usr/src/lib/auditd_plugins/binfile/Makefile.com13
-rw-r--r--usr/src/lib/auditd_plugins/binfile/mapfile-vers35
-rw-r--r--usr/src/lib/auditd_plugins/binfile/spec/Makefile28
-rw-r--r--usr/src/lib/auditd_plugins/binfile/spec/Makefile.targ30
-rw-r--r--usr/src/lib/auditd_plugins/binfile/spec/amd64/Makefile30
-rw-r--r--usr/src/lib/auditd_plugins/binfile/spec/i386/Makefile35
-rw-r--r--usr/src/lib/auditd_plugins/binfile/spec/private.spec40
-rw-r--r--usr/src/lib/auditd_plugins/binfile/spec/sparc/Makefile35
-rw-r--r--usr/src/lib/auditd_plugins/binfile/spec/sparcv9/Makefile29
-rw-r--r--usr/src/lib/auditd_plugins/binfile/spec/versions33
-rw-r--r--usr/src/lib/auditd_plugins/syslog/Makefile14
-rw-r--r--usr/src/lib/auditd_plugins/syslog/Makefile.com12
-rw-r--r--usr/src/lib/auditd_plugins/syslog/mapfile-vers35
-rw-r--r--usr/src/lib/auditd_plugins/syslog/spec/Makefile28
-rw-r--r--usr/src/lib/auditd_plugins/syslog/spec/Makefile.targ30
-rw-r--r--usr/src/lib/auditd_plugins/syslog/spec/amd64/Makefile30
-rw-r--r--usr/src/lib/auditd_plugins/syslog/spec/i386/Makefile35
-rw-r--r--usr/src/lib/auditd_plugins/syslog/spec/private.spec40
-rw-r--r--usr/src/lib/auditd_plugins/syslog/spec/sparc/Makefile35
-rw-r--r--usr/src/lib/auditd_plugins/syslog/spec/sparcv9/Makefile29
-rw-r--r--usr/src/lib/auditd_plugins/syslog/spec/versions33
-rw-r--r--usr/src/lib/auditd_plugins/template/spec/template.spec42
-rw-r--r--usr/src/lib/cfgadm_plugins/ac/Makefile.com14
-rw-r--r--usr/src/lib/cfgadm_plugins/ib/Makefile15
-rw-r--r--usr/src/lib/cfgadm_plugins/ib/Makefile.com21
-rw-r--r--usr/src/lib/cfgadm_plugins/ib/amd64/Makefile12
-rw-r--r--usr/src/lib/cfgadm_plugins/ib/common/mapfile-vers38
-rw-r--r--usr/src/lib/cfgadm_plugins/ib/i386/Makefile12
-rw-r--r--usr/src/lib/cfgadm_plugins/ib/sparc/Makefile12
-rw-r--r--usr/src/lib/cfgadm_plugins/ib/sparcv9/Makefile12
-rw-r--r--usr/src/lib/cfgadm_plugins/ib/spec/Makefile30
-rw-r--r--usr/src/lib/cfgadm_plugins/ib/spec/Makefile.targ36
-rw-r--r--usr/src/lib/cfgadm_plugins/ib/spec/amd64/Makefile41
-rw-r--r--usr/src/lib/cfgadm_plugins/ib/spec/cfga_ib.spec76
-rw-r--r--usr/src/lib/cfgadm_plugins/ib/spec/i386/Makefile40
-rw-r--r--usr/src/lib/cfgadm_plugins/ib/spec/sparc/Makefile40
-rw-r--r--usr/src/lib/cfgadm_plugins/ib/spec/sparcv9/Makefile38
-rw-r--r--usr/src/lib/cfgadm_plugins/ib/spec/versions34
-rw-r--r--usr/src/lib/cfgadm_plugins/pci/Makefile17
-rw-r--r--usr/src/lib/cfgadm_plugins/pci/Makefile.com19
-rw-r--r--usr/src/lib/cfgadm_plugins/pci/amd64/Makefile8
-rw-r--r--usr/src/lib/cfgadm_plugins/pci/common/mapfile-vers38
-rw-r--r--usr/src/lib/cfgadm_plugins/pci/i386/Makefile13
-rw-r--r--usr/src/lib/cfgadm_plugins/pci/sparc/Makefile11
-rw-r--r--usr/src/lib/cfgadm_plugins/pci/sparcv9/Makefile11
-rw-r--r--usr/src/lib/cfgadm_plugins/pci/spec/Makefile30
-rw-r--r--usr/src/lib/cfgadm_plugins/pci/spec/Makefile.targ35
-rw-r--r--usr/src/lib/cfgadm_plugins/pci/spec/amd64/Makefile42
-rw-r--r--usr/src/lib/cfgadm_plugins/pci/spec/i386/Makefile42
-rw-r--r--usr/src/lib/cfgadm_plugins/pci/spec/pci.spec85
-rw-r--r--usr/src/lib/cfgadm_plugins/pci/spec/sparc/Makefile42
-rw-r--r--usr/src/lib/cfgadm_plugins/pci/spec/sparcv9/Makefile43
-rw-r--r--usr/src/lib/cfgadm_plugins/pci/spec/versions39
-rw-r--r--usr/src/lib/cfgadm_plugins/sata/Makefile9
-rw-r--r--usr/src/lib/cfgadm_plugins/sata/Makefile.com17
-rw-r--r--usr/src/lib/cfgadm_plugins/sata/amd64/Makefile2
-rw-r--r--usr/src/lib/cfgadm_plugins/sata/common/mapfile-vers38
-rw-r--r--usr/src/lib/cfgadm_plugins/sata/i386/Makefile4
-rw-r--r--usr/src/lib/cfgadm_plugins/sata/spec/Makefile31
-rw-r--r--usr/src/lib/cfgadm_plugins/sata/spec/Makefile.targ37
-rw-r--r--usr/src/lib/cfgadm_plugins/sata/spec/amd64/Makefile43
-rw-r--r--usr/src/lib/cfgadm_plugins/sata/spec/cfga_sata.spec77
-rw-r--r--usr/src/lib/cfgadm_plugins/sata/spec/i386/Makefile43
-rw-r--r--usr/src/lib/cfgadm_plugins/sata/spec/versions40
-rw-r--r--usr/src/lib/cfgadm_plugins/sbd/Makefile.com15
-rw-r--r--usr/src/lib/cfgadm_plugins/scsi/Makefile11
-rw-r--r--usr/src/lib/cfgadm_plugins/scsi/Makefile.com21
-rw-r--r--usr/src/lib/cfgadm_plugins/scsi/SUNW,SPARC-Enterprise/Makefile.com12
-rw-r--r--usr/src/lib/cfgadm_plugins/scsi/SUNW,SPARC-Enterprise/sparc/Makefile6
-rw-r--r--usr/src/lib/cfgadm_plugins/scsi/SUNW,SPARC-Enterprise/sparcv9/Makefile4
-rw-r--r--usr/src/lib/cfgadm_plugins/scsi/amd64/Makefile8
-rw-r--r--usr/src/lib/cfgadm_plugins/scsi/common/mapfile-vers38
-rw-r--r--usr/src/lib/cfgadm_plugins/scsi/i386/Makefile14
-rw-r--r--usr/src/lib/cfgadm_plugins/scsi/sparc/Makefile14
-rw-r--r--usr/src/lib/cfgadm_plugins/scsi/sparcv9/Makefile14
-rw-r--r--usr/src/lib/cfgadm_plugins/scsi/spec/Makefile30
-rw-r--r--usr/src/lib/cfgadm_plugins/scsi/spec/Makefile.targ36
-rw-r--r--usr/src/lib/cfgadm_plugins/scsi/spec/amd64/Makefile42
-rw-r--r--usr/src/lib/cfgadm_plugins/scsi/spec/cfga_scsi.spec71
-rw-r--r--usr/src/lib/cfgadm_plugins/scsi/spec/i386/Makefile42
-rw-r--r--usr/src/lib/cfgadm_plugins/scsi/spec/sparc/Makefile45
-rw-r--r--usr/src/lib/cfgadm_plugins/scsi/spec/sparcv9/Makefile43
-rw-r--r--usr/src/lib/cfgadm_plugins/scsi/spec/versions39
-rw-r--r--usr/src/lib/cfgadm_plugins/sysctrl/Makefile.com15
-rw-r--r--usr/src/lib/cfgadm_plugins/usb/Makefile17
-rw-r--r--usr/src/lib/cfgadm_plugins/usb/Makefile.com21
-rw-r--r--usr/src/lib/cfgadm_plugins/usb/amd64/Makefile8
-rw-r--r--usr/src/lib/cfgadm_plugins/usb/common/mapfile-vers38
-rw-r--r--usr/src/lib/cfgadm_plugins/usb/i386/Makefile14
-rw-r--r--usr/src/lib/cfgadm_plugins/usb/sparc/Makefile14
-rw-r--r--usr/src/lib/cfgadm_plugins/usb/sparcv9/Makefile14
-rw-r--r--usr/src/lib/cfgadm_plugins/usb/spec/Makefile30
-rw-r--r--usr/src/lib/cfgadm_plugins/usb/spec/Makefile.targ36
-rw-r--r--usr/src/lib/cfgadm_plugins/usb/spec/amd64/Makefile42
-rw-r--r--usr/src/lib/cfgadm_plugins/usb/spec/cfga_usb.spec70
-rw-r--r--usr/src/lib/cfgadm_plugins/usb/spec/i386/Makefile42
-rw-r--r--usr/src/lib/cfgadm_plugins/usb/spec/sparc/Makefile45
-rw-r--r--usr/src/lib/cfgadm_plugins/usb/spec/sparcv9/Makefile43
-rw-r--r--usr/src/lib/cfgadm_plugins/usb/spec/versions39
-rw-r--r--usr/src/lib/crypt_modules/Makefile.crypt_modules14
-rw-r--r--usr/src/lib/crypt_modules/bsdbf/Makefile16
-rw-r--r--usr/src/lib/crypt_modules/bsdbf/mapfile-vers34
-rw-r--r--usr/src/lib/crypt_modules/bsdbf/spec/Makefile28
-rw-r--r--usr/src/lib/crypt_modules/bsdbf/spec/Makefile.targ33
-rw-r--r--usr/src/lib/crypt_modules/bsdbf/spec/amd64/Makefile37
-rw-r--r--usr/src/lib/crypt_modules/bsdbf/spec/bsdbf.spec41
-rw-r--r--usr/src/lib/crypt_modules/bsdbf/spec/i386/Makefile34
-rw-r--r--usr/src/lib/crypt_modules/bsdbf/spec/sparc/Makefile34
-rw-r--r--usr/src/lib/crypt_modules/bsdbf/spec/sparcv9/Makefile35
-rw-r--r--usr/src/lib/crypt_modules/bsdbf/spec/versions39
-rw-r--r--usr/src/lib/crypt_modules/bsdmd5/Makefile16
-rw-r--r--usr/src/lib/crypt_modules/bsdmd5/mapfile-vers34
-rw-r--r--usr/src/lib/crypt_modules/bsdmd5/spec/Makefile28
-rw-r--r--usr/src/lib/crypt_modules/bsdmd5/spec/Makefile.targ33
-rw-r--r--usr/src/lib/crypt_modules/bsdmd5/spec/amd64/Makefile37
-rw-r--r--usr/src/lib/crypt_modules/bsdmd5/spec/bsdmd5.spec41
-rw-r--r--usr/src/lib/crypt_modules/bsdmd5/spec/i386/Makefile34
-rw-r--r--usr/src/lib/crypt_modules/bsdmd5/spec/sparc/Makefile34
-rw-r--r--usr/src/lib/crypt_modules/bsdmd5/spec/sparcv9/Makefile35
-rw-r--r--usr/src/lib/crypt_modules/bsdmd5/spec/versions39
-rw-r--r--usr/src/lib/crypt_modules/sunmd5/Makefile16
-rw-r--r--usr/src/lib/crypt_modules/sunmd5/mapfile-vers34
-rw-r--r--usr/src/lib/crypt_modules/sunmd5/spec/Makefile28
-rw-r--r--usr/src/lib/crypt_modules/sunmd5/spec/Makefile.targ33
-rw-r--r--usr/src/lib/crypt_modules/sunmd5/spec/amd64/Makefile37
-rw-r--r--usr/src/lib/crypt_modules/sunmd5/spec/i386/Makefile34
-rw-r--r--usr/src/lib/crypt_modules/sunmd5/spec/sparc/Makefile34
-rw-r--r--usr/src/lib/crypt_modules/sunmd5/spec/sparcv9/Makefile35
-rw-r--r--usr/src/lib/crypt_modules/sunmd5/spec/sunmd5.spec41
-rw-r--r--usr/src/lib/crypt_modules/sunmd5/spec/versions39
-rw-r--r--usr/src/lib/efcode/Makefile.efcode12
-rw-r--r--usr/src/lib/extendedFILE/Makefile.com10
-rw-r--r--usr/src/lib/fm/libdiagcode/Makefile18
-rw-r--r--usr/src/lib/fm/libdiagcode/Makefile.com9
-rw-r--r--usr/src/lib/fm/libdiagcode/common/mapfile-vers39
-rw-r--r--usr/src/lib/fm/libdiagcode/spec/Makefile31
-rw-r--r--usr/src/lib/fm/libdiagcode/spec/Makefile.targ34
-rw-r--r--usr/src/lib/fm/libdiagcode/spec/amd64/Makefile40
-rw-r--r--usr/src/lib/fm/libdiagcode/spec/diagcode.spec55
-rw-r--r--usr/src/lib/fm/libdiagcode/spec/i386/Makefile39
-rw-r--r--usr/src/lib/fm/libdiagcode/spec/sparc/Makefile37
-rw-r--r--usr/src/lib/fm/libdiagcode/spec/sparcv9/Makefile38
-rw-r--r--usr/src/lib/fm/libdiagcode/spec/versions42
-rw-r--r--usr/src/lib/fm/libfmd_adm/Makefile18
-rw-r--r--usr/src/lib/fm/libfmd_adm/Makefile.com5
-rw-r--r--usr/src/lib/fm/libfmd_adm/amd64/Makefile11
-rw-r--r--usr/src/lib/fm/libfmd_adm/common/mapfile-vers54
-rw-r--r--usr/src/lib/fm/libfmd_adm/i386/Makefile11
-rw-r--r--usr/src/lib/fm/libfmd_adm/sparc/Makefile11
-rw-r--r--usr/src/lib/fm/libfmd_adm/sparcv9/Makefile11
-rw-r--r--usr/src/lib/fm/libfmd_adm/spec/Makefile28
-rw-r--r--usr/src/lib/fm/libfmd_adm/spec/Makefile.targ32
-rw-r--r--usr/src/lib/fm/libfmd_adm/spec/amd64/Makefile36
-rw-r--r--usr/src/lib/fm/libfmd_adm/spec/fmd_adm.spec115
-rw-r--r--usr/src/lib/fm/libfmd_adm/spec/i386/Makefile35
-rw-r--r--usr/src/lib/fm/libfmd_adm/spec/sparc/Makefile35
-rw-r--r--usr/src/lib/fm/libfmd_adm/spec/sparcv9/Makefile36
-rw-r--r--usr/src/lib/fm/libfmd_adm/spec/versions41
-rw-r--r--usr/src/lib/fm/libfmd_log/Makefile18
-rw-r--r--usr/src/lib/fm/libfmd_log/Makefile.com13
-rw-r--r--usr/src/lib/fm/libfmd_log/amd64/Makefile11
-rw-r--r--usr/src/lib/fm/libfmd_log/common/mapfile-vers47
-rw-r--r--usr/src/lib/fm/libfmd_log/i386/Makefile11
-rw-r--r--usr/src/lib/fm/libfmd_log/sparc/Makefile11
-rw-r--r--usr/src/lib/fm/libfmd_log/sparcv9/Makefile11
-rw-r--r--usr/src/lib/fm/libfmd_log/spec/Makefile28
-rw-r--r--usr/src/lib/fm/libfmd_log/spec/Makefile.targ32
-rw-r--r--usr/src/lib/fm/libfmd_log/spec/amd64/Makefile36
-rw-r--r--usr/src/lib/fm/libfmd_log/spec/fmd_log.spec85
-rw-r--r--usr/src/lib/fm/libfmd_log/spec/i386/Makefile35
-rw-r--r--usr/src/lib/fm/libfmd_log/spec/sparc/Makefile35
-rw-r--r--usr/src/lib/fm/libfmd_log/spec/sparcv9/Makefile36
-rw-r--r--usr/src/lib/fm/libfmd_log/spec/versions41
-rw-r--r--usr/src/lib/fm/libfmd_snmp/Makefile7
-rw-r--r--usr/src/lib/fm/libfmd_snmp/Makefile.com5
-rw-r--r--usr/src/lib/fm/libfmd_snmp/amd64/Makefile2
-rw-r--r--usr/src/lib/fm/libfmd_snmp/common/mapfile-vers45
-rw-r--r--usr/src/lib/fm/libfmd_snmp/i386/Makefile2
-rw-r--r--usr/src/lib/fm/libfmd_snmp/sparc/Makefile2
-rw-r--r--usr/src/lib/fm/libfmd_snmp/sparcv9/Makefile2
-rw-r--r--usr/src/lib/fm/libldom/Makefile13
-rw-r--r--usr/src/lib/fm/libldom/Makefile.com5
-rw-r--r--usr/src/lib/fm/libldom/sparc/Makefile5
-rw-r--r--usr/src/lib/fm/libldom/sparc/mapfile-vers40
-rw-r--r--usr/src/lib/fm/libldom/sparcv9/Makefile4
-rw-r--r--usr/src/lib/fm/libldom/spec/Makefile27
-rw-r--r--usr/src/lib/fm/libldom/spec/Makefile.targ31
-rw-r--r--usr/src/lib/fm/libldom/spec/ldom.spec56
-rw-r--r--usr/src/lib/fm/libldom/spec/sparc/Makefile34
-rw-r--r--usr/src/lib/fm/libldom/spec/sparcv9/Makefile35
-rw-r--r--usr/src/lib/fm/libldom/spec/versions32
-rw-r--r--usr/src/lib/fm/libmdesc/Makefile18
-rw-r--r--usr/src/lib/fm/libmdesc/Makefile.com13
-rw-r--r--usr/src/lib/fm/libmdesc/common/mapfile-vers40
-rw-r--r--usr/src/lib/fm/libmdesc/sparc/Makefile11
-rw-r--r--usr/src/lib/fm/libmdesc/sparcv9/Makefile11
-rw-r--r--usr/src/lib/fm/libmdesc/spec/Makefile28
-rw-r--r--usr/src/lib/fm/libmdesc/spec/Makefile.targ32
-rw-r--r--usr/src/lib/fm/libmdesc/spec/mdesc.spec57
-rw-r--r--usr/src/lib/fm/libmdesc/spec/sparc/Makefile35
-rw-r--r--usr/src/lib/fm/libmdesc/spec/sparcv9/Makefile36
-rw-r--r--usr/src/lib/fm/libmdesc/spec/versions35
-rw-r--r--usr/src/lib/fm/topo/libtopo/Makefile19
-rw-r--r--usr/src/lib/fm/topo/libtopo/Makefile.com5
-rw-r--r--usr/src/lib/fm/topo/libtopo/amd64/Makefile9
-rw-r--r--usr/src/lib/fm/topo/libtopo/common/mapfile-vers117
-rw-r--r--usr/src/lib/fm/topo/libtopo/i386/Makefile9
-rw-r--r--usr/src/lib/fm/topo/libtopo/sparc/Makefile9
-rw-r--r--usr/src/lib/fm/topo/libtopo/sparcv9/Makefile5
-rw-r--r--usr/src/lib/fm/topo/libtopo/spec/Makefile28
-rw-r--r--usr/src/lib/fm/topo/libtopo/spec/Makefile.targ32
-rw-r--r--usr/src/lib/fm/topo/libtopo/spec/amd64/Makefile36
-rw-r--r--usr/src/lib/fm/topo/libtopo/spec/i386/Makefile35
-rw-r--r--usr/src/lib/fm/topo/libtopo/spec/sparc/Makefile35
-rw-r--r--usr/src/lib/fm/topo/libtopo/spec/sparcv9/Makefile36
-rw-r--r--usr/src/lib/fm/topo/libtopo/spec/topo.spec377
-rw-r--r--usr/src/lib/fm/topo/libtopo/spec/versions41
-rw-r--r--usr/src/lib/fm/topo/modules/Makefile.plugin3
-rw-r--r--usr/src/lib/gss_mechs/mech_dh/backend/Makefile.com17
-rw-r--r--usr/src/lib/gss_mechs/mech_dh/dh1024/Makefile.com17
-rw-r--r--usr/src/lib/gss_mechs/mech_dh/dh192/Makefile.com17
-rw-r--r--usr/src/lib/gss_mechs/mech_dh/dh640/Makefile.com17
-rw-r--r--usr/src/lib/gss_mechs/mech_dummy/Makefile.com12
-rw-r--r--usr/src/lib/gss_mechs/mech_krb5/Makefile35
-rw-r--r--usr/src/lib/gss_mechs/mech_krb5/Makefile.com36
-rw-r--r--usr/src/lib/gss_mechs/mech_krb5/amd64/Makefile23
-rw-r--r--usr/src/lib/gss_mechs/mech_krb5/i386/Makefile24
-rw-r--r--usr/src/lib/gss_mechs/mech_krb5/mapfile-vers791
-rw-r--r--usr/src/lib/gss_mechs/mech_krb5/mapfile-vers-clean33
-rw-r--r--usr/src/lib/gss_mechs/mech_krb5/sparc/Makefile22
-rw-r--r--usr/src/lib/gss_mechs/mech_krb5/sparcv9/Makefile24
-rw-r--r--usr/src/lib/gss_mechs/mech_krb5/spec/Makefile15
-rw-r--r--usr/src/lib/gss_mechs/mech_krb5/spec/Makefile.spec41
-rw-r--r--usr/src/lib/gss_mechs/mech_krb5/spec/Makefile.targ22
-rw-r--r--usr/src/lib/gss_mechs/mech_krb5/spec/amd64/Makefile36
-rw-r--r--usr/src/lib/gss_mechs/mech_krb5/spec/i386/Makefile38
-rw-r--r--usr/src/lib/gss_mechs/mech_krb5/spec/krb5_asn1.spec1029
-rw-r--r--usr/src/lib/gss_mechs/mech_krb5/spec/krb5_cache.spec460
-rw-r--r--usr/src/lib/gss_mechs/mech_krb5/spec/krb5_clean.spec20
-rw-r--r--usr/src/lib/gss_mechs/mech_krb5/spec/krb5_crypto.spec382
-rw-r--r--usr/src/lib/gss_mechs/mech_krb5/spec/krb5_errtbl.spec111
-rw-r--r--usr/src/lib/gss_mechs/mech_krb5/spec/krb5_gss.spec490
-rw-r--r--usr/src/lib/gss_mechs/mech_krb5/spec/krb5_int.spec451
-rw-r--r--usr/src/lib/gss_mechs/mech_krb5/spec/krb5_keytab.spec298
-rw-r--r--usr/src/lib/gss_mechs/mech_krb5/spec/krb5_krb.spec428
-rw-r--r--usr/src/lib/gss_mechs/mech_krb5/spec/krb5_mech1.spec556
-rw-r--r--usr/src/lib/gss_mechs/mech_krb5/spec/krb5_mech2.spec608
-rw-r--r--usr/src/lib/gss_mechs/mech_krb5/spec/krb5_mech3.spec830
-rw-r--r--usr/src/lib/gss_mechs/mech_krb5/spec/krb5_profile.spec171
-rw-r--r--usr/src/lib/gss_mechs/mech_krb5/spec/sparc/Makefile38
-rw-r--r--usr/src/lib/gss_mechs/mech_krb5/spec/sparcv9/Makefile37
-rw-r--r--usr/src/lib/gss_mechs/mech_krb5/spec/versions23
-rw-r--r--usr/src/lib/gss_mechs/mech_spnego/Makefile15
-rw-r--r--usr/src/lib/gss_mechs/mech_spnego/Makefile.com16
-rw-r--r--usr/src/lib/gss_mechs/mech_spnego/mapfile-vers53
-rw-r--r--usr/src/lib/gss_mechs/mech_spnego/mapfile-vers-clean31
-rw-r--r--usr/src/lib/gss_mechs/mech_spnego/spec/Makefile35
-rw-r--r--usr/src/lib/gss_mechs/mech_spnego/spec/Makefile.targ37
-rw-r--r--usr/src/lib/gss_mechs/mech_spnego/spec/amd64/Makefile36
-rw-r--r--usr/src/lib/gss_mechs/mech_spnego/spec/clean.spec31
-rw-r--r--usr/src/lib/gss_mechs/mech_spnego/spec/i386/Makefile36
-rw-r--r--usr/src/lib/gss_mechs/mech_spnego/spec/sparc/Makefile36
-rw-r--r--usr/src/lib/gss_mechs/mech_spnego/spec/sparcv9/Makefile36
-rw-r--r--usr/src/lib/gss_mechs/mech_spnego/spec/spnego.spec113
-rw-r--r--usr/src/lib/gss_mechs/mech_spnego/spec/versions39
-rw-r--r--usr/src/lib/krb5/Makefile.lib30
-rw-r--r--usr/src/lib/krb5/Makefile.spec.arch42
-rw-r--r--usr/src/lib/krb5/db2/Makefile31
-rw-r--r--usr/src/lib/krb5/db2/Makefile.com29
-rw-r--r--usr/src/lib/krb5/db2/i386/Makefile29
-rw-r--r--usr/src/lib/krb5/db2/mapfile-vers70
-rw-r--r--usr/src/lib/krb5/db2/sparc/Makefile29
-rw-r--r--usr/src/lib/krb5/db2/spec/Makefile9
-rw-r--r--usr/src/lib/krb5/db2/spec/Makefile.targ12
-rw-r--r--usr/src/lib/krb5/db2/spec/db2.spec184
-rw-r--r--usr/src/lib/krb5/db2/spec/i386/Makefile31
-rw-r--r--usr/src/lib/krb5/db2/spec/sparc/Makefile31
-rw-r--r--usr/src/lib/krb5/db2/spec/versions23
-rw-r--r--usr/src/lib/krb5/dyn/Makefile31
-rw-r--r--usr/src/lib/krb5/dyn/Makefile.com29
-rw-r--r--usr/src/lib/krb5/dyn/i386/Makefile29
-rw-r--r--usr/src/lib/krb5/dyn/mapfile-vers57
-rw-r--r--usr/src/lib/krb5/dyn/sparc/Makefile29
-rw-r--r--usr/src/lib/krb5/dyn/spec/Makefile9
-rw-r--r--usr/src/lib/krb5/dyn/spec/Makefile.targ12
-rw-r--r--usr/src/lib/krb5/dyn/spec/dyn.spec104
-rw-r--r--usr/src/lib/krb5/dyn/spec/i386/Makefile25
-rw-r--r--usr/src/lib/krb5/dyn/spec/sparc/Makefile25
-rw-r--r--usr/src/lib/krb5/dyn/spec/versions23
-rw-r--r--usr/src/lib/krb5/kadm5/clnt/Makefile32
-rw-r--r--usr/src/lib/krb5/kadm5/clnt/Makefile.com27
-rw-r--r--usr/src/lib/krb5/kadm5/clnt/amd64/Makefile26
-rw-r--r--usr/src/lib/krb5/kadm5/clnt/i386/Makefile24
-rw-r--r--usr/src/lib/krb5/kadm5/clnt/mapfile-vers148
-rw-r--r--usr/src/lib/krb5/kadm5/clnt/sparc/Makefile24
-rw-r--r--usr/src/lib/krb5/kadm5/clnt/sparcv9/Makefile26
-rw-r--r--usr/src/lib/krb5/kadm5/clnt/spec/Makefile9
-rw-r--r--usr/src/lib/krb5/kadm5/clnt/spec/Makefile.targ12
-rw-r--r--usr/src/lib/krb5/kadm5/clnt/spec/amd64/Makefile27
-rw-r--r--usr/src/lib/krb5/kadm5/clnt/spec/i386/Makefile27
-rw-r--r--usr/src/lib/krb5/kadm5/clnt/spec/kadm5clnt.spec702
-rw-r--r--usr/src/lib/krb5/kadm5/clnt/spec/sparc/Makefile30
-rw-r--r--usr/src/lib/krb5/kadm5/clnt/spec/sparcv9/Makefile28
-rw-r--r--usr/src/lib/krb5/kadm5/clnt/spec/versions19
-rw-r--r--usr/src/lib/krb5/kadm5/srv/Makefile31
-rw-r--r--usr/src/lib/krb5/kadm5/srv/Makefile.com29
-rw-r--r--usr/src/lib/krb5/kadm5/srv/i386/Makefile24
-rw-r--r--usr/src/lib/krb5/kadm5/srv/mapfile-vers205
-rw-r--r--usr/src/lib/krb5/kadm5/srv/sparc/Makefile24
-rw-r--r--usr/src/lib/krb5/kadm5/srv/spec/Makefile9
-rw-r--r--usr/src/lib/krb5/kadm5/srv/spec/Makefile.targ12
-rw-r--r--usr/src/lib/krb5/kadm5/srv/spec/i386/Makefile27
-rw-r--r--usr/src/lib/krb5/kadm5/srv/spec/kadm5srv.spec1004
-rw-r--r--usr/src/lib/krb5/kadm5/srv/spec/sparc/Makefile29
-rw-r--r--usr/src/lib/krb5/kadm5/srv/spec/versions23
-rw-r--r--usr/src/lib/krb5/kdb/Makefile31
-rw-r--r--usr/src/lib/krb5/kdb/Makefile.com29
-rw-r--r--usr/src/lib/krb5/kdb/i386/Makefile24
-rw-r--r--usr/src/lib/krb5/kdb/mapfile-vers95
-rw-r--r--usr/src/lib/krb5/kdb/sparc/Makefile24
-rw-r--r--usr/src/lib/krb5/kdb/spec/Makefile9
-rw-r--r--usr/src/lib/krb5/kdb/spec/Makefile.targ12
-rw-r--r--usr/src/lib/krb5/kdb/spec/i386/Makefile38
-rw-r--r--usr/src/lib/krb5/kdb/spec/kdb.spec284
-rw-r--r--usr/src/lib/krb5/kdb/spec/sparc/Makefile40
-rw-r--r--usr/src/lib/krb5/kdb/spec/versions23
-rw-r--r--usr/src/lib/krb5/ss/Makefile31
-rw-r--r--usr/src/lib/krb5/ss/Makefile.com29
-rw-r--r--usr/src/lib/krb5/ss/i386/Makefile29
-rw-r--r--usr/src/lib/krb5/ss/mapfile-vers59
-rw-r--r--usr/src/lib/krb5/ss/sparc/Makefile29
-rw-r--r--usr/src/lib/krb5/ss/spec/Makefile9
-rw-r--r--usr/src/lib/krb5/ss/spec/Makefile.targ12
-rw-r--r--usr/src/lib/krb5/ss/spec/amd64/Makefile26
-rw-r--r--usr/src/lib/krb5/ss/spec/i386/Makefile23
-rw-r--r--usr/src/lib/krb5/ss/spec/sparc/Makefile25
-rw-r--r--usr/src/lib/krb5/ss/spec/sparcv9/Makefile27
-rw-r--r--usr/src/lib/krb5/ss/spec/ss.spec155
-rw-r--r--usr/src/lib/krb5/ss/spec/versions19
-rw-r--r--usr/src/lib/libadm/Makefile16
-rw-r--r--usr/src/lib/libadm/Makefile.com12
-rw-r--r--usr/src/lib/libadm/amd64/mapfile-vers (renamed from usr/src/lib/fm/libfmd_snmp/spec/versions)18
-rw-r--r--usr/src/lib/libadm/common/mapfile-vers147
-rw-r--r--usr/src/lib/libadm/i386/mapfile-vers48
-rw-r--r--usr/src/lib/libadm/sparc/mapfile-vers48
-rw-r--r--usr/src/lib/libadm/sparcv9/mapfile-vers48
-rw-r--r--usr/src/lib/libadm/spec/Makefile29
-rw-r--r--usr/src/lib/libadm/spec/Makefile.targ34
-rw-r--r--usr/src/lib/libadm/spec/adm.spec746
-rw-r--r--usr/src/lib/libadm/spec/amd64/Makefile44
-rw-r--r--usr/src/lib/libadm/spec/i386/Makefile44
-rw-r--r--usr/src/lib/libadm/spec/sparc/Makefile44
-rw-r--r--usr/src/lib/libadm/spec/sparcv9/Makefile45
-rw-r--r--usr/src/lib/libadm/spec/versions52
-rw-r--r--usr/src/lib/libadt_jni/Makefile17
-rw-r--r--usr/src/lib/libadt_jni/Makefile.com15
-rw-r--r--usr/src/lib/libadt_jni/amd64/Makefile9
-rw-r--r--usr/src/lib/libadt_jni/common/mapfile-vers71
-rw-r--r--usr/src/lib/libadt_jni/i386/Makefile14
-rw-r--r--usr/src/lib/libadt_jni/sparc/Makefile14
-rw-r--r--usr/src/lib/libadt_jni/sparcv9/Makefile14
-rw-r--r--usr/src/lib/libadt_jni/spec/Makefile29
-rw-r--r--usr/src/lib/libadt_jni/spec/Makefile.targ34
-rw-r--r--usr/src/lib/libadt_jni/spec/amd64/Makefile36
-rw-r--r--usr/src/lib/libadt_jni/spec/i386/Makefile36
-rw-r--r--usr/src/lib/libadt_jni/spec/private.spec265
-rw-r--r--usr/src/lib/libadt_jni/spec/sparc/Makefile36
-rw-r--r--usr/src/lib/libadt_jni/spec/sparcv9/Makefile35
-rw-r--r--usr/src/lib/libadt_jni/spec/versions39
-rw-r--r--usr/src/lib/libaio/Makefile.com7
-rw-r--r--usr/src/lib/libavl/Makefile17
-rw-r--r--usr/src/lib/libavl/Makefile.com12
-rw-r--r--usr/src/lib/libavl/mapfile-vers (renamed from usr/src/lib/fm/libfmd_snmp/spec/i386/Makefile)27
-rw-r--r--usr/src/lib/libavl/spec/Makefile30
-rw-r--r--usr/src/lib/libavl/spec/Makefile.targ35
-rw-r--r--usr/src/lib/libavl/spec/amd64/Makefile44
-rw-r--r--usr/src/lib/libavl/spec/avl.spec111
-rw-r--r--usr/src/lib/libavl/spec/i386/Makefile44
-rw-r--r--usr/src/lib/libavl/spec/sparc/Makefile44
-rw-r--r--usr/src/lib/libavl/spec/sparcv9/Makefile45
-rw-r--r--usr/src/lib/libavl/spec/versions42
-rw-r--r--usr/src/lib/libbc/Makefile13
-rw-r--r--usr/src/lib/libbc/sparc/Makefile12
-rw-r--r--usr/src/lib/libbsdmalloc/Makefile18
-rw-r--r--usr/src/lib/libbsdmalloc/Makefile.com18
-rw-r--r--usr/src/lib/libbsdmalloc/amd64/Makefile8
-rw-r--r--usr/src/lib/libbsdmalloc/common/mapfile-vers35
-rw-r--r--usr/src/lib/libbsdmalloc/i386/Makefile14
-rw-r--r--usr/src/lib/libbsdmalloc/sparc/Makefile14
-rw-r--r--usr/src/lib/libbsdmalloc/sparcv9/Makefile14
-rw-r--r--usr/src/lib/libbsdmalloc/spec/Makefile30
-rw-r--r--usr/src/lib/libbsdmalloc/spec/Makefile.targ35
-rw-r--r--usr/src/lib/libbsdmalloc/spec/amd64/Makefile42
-rw-r--r--usr/src/lib/libbsdmalloc/spec/bsdmalloc.spec45
-rw-r--r--usr/src/lib/libbsdmalloc/spec/i386/Makefile42
-rw-r--r--usr/src/lib/libbsdmalloc/spec/sparc/Makefile44
-rw-r--r--usr/src/lib/libbsdmalloc/spec/sparcv9/Makefile43
-rw-r--r--usr/src/lib/libbsdmalloc/spec/versions39
-rw-r--r--usr/src/lib/libbsm/Makefile8
-rw-r--r--usr/src/lib/libbsm/Makefile.com13
-rw-r--r--usr/src/lib/libbsm/amd64/Makefile9
-rw-r--r--usr/src/lib/libbsm/common/mapfile-vers322
-rw-r--r--usr/src/lib/libbsm/i386/Makefile10
-rw-r--r--usr/src/lib/libbsm/sparc/Makefile10
-rw-r--r--usr/src/lib/libbsm/sparcv9/Makefile10
-rw-r--r--usr/src/lib/libbsm/spec/Makefile29
-rw-r--r--usr/src/lib/libbsm/spec/Makefile.targ51
-rw-r--r--usr/src/lib/libbsm/spec/amd64/Makefile44
-rw-r--r--usr/src/lib/libbsm/spec/au_open.spec52
-rw-r--r--usr/src/lib/libbsm/spec/au_preselect.spec37
-rw-r--r--usr/src/lib/libbsm/spec/au_to.spec192
-rw-r--r--usr/src/lib/libbsm/spec/au_user_mask.spec36
-rw-r--r--usr/src/lib/libbsm/spec/audit.spec36
-rw-r--r--usr/src/lib/libbsm/spec/auditon.spec36
-rw-r--r--usr/src/lib/libbsm/spec/auditsvc.spec37
-rw-r--r--usr/src/lib/libbsm/spec/devalloc.spec220
-rw-r--r--usr/src/lib/libbsm/spec/exceptions.spec48
-rw-r--r--usr/src/lib/libbsm/spec/getacinfo.spec74
-rw-r--r--usr/src/lib/libbsm/spec/getauclassent.spec75
-rw-r--r--usr/src/lib/libbsm/spec/getaudit.spec60
-rw-r--r--usr/src/lib/libbsm/spec/getauditflags.spec45
-rw-r--r--usr/src/lib/libbsm/spec/getauevent.spec87
-rw-r--r--usr/src/lib/libbsm/spec/getauid.spec44
-rw-r--r--usr/src/lib/libbsm/spec/getauusernam.spec73
-rw-r--r--usr/src/lib/libbsm/spec/getfauditflags.spec37
-rw-r--r--usr/src/lib/libbsm/spec/i386/Makefile44
-rw-r--r--usr/src/lib/libbsm/spec/private.spec1054
-rw-r--r--usr/src/lib/libbsm/spec/sparc/Makefile45
-rw-r--r--usr/src/lib/libbsm/spec/sparcv9/Makefile45
-rw-r--r--usr/src/lib/libbsm/spec/versions62
-rw-r--r--usr/src/lib/libc/Makefile12
-rw-r--r--usr/src/lib/libc/Makefile.targ2
-rw-r--r--usr/src/lib/libc/amd64/Makefile16
-rw-r--r--usr/src/lib/libc/amd64/mapfile-vers771
-rw-r--r--usr/src/lib/libc/i386/Makefile.com17
-rw-r--r--usr/src/lib/libc/i386/mapfile-vers909
-rw-r--r--usr/src/lib/libc/port/mapfile-vers2205
-rw-r--r--usr/src/lib/libc/sparc/Makefile18
-rw-r--r--usr/src/lib/libc/sparc/mapfile-vers951
-rw-r--r--usr/src/lib/libc/sparcv9/Makefile15
-rw-r--r--usr/src/lib/libc/sparcv9/mapfile-vers776
-rw-r--r--usr/src/lib/libc/spec/Makefile29
-rw-r--r--usr/src/lib/libc/spec/Makefile.targ56
-rw-r--r--usr/src/lib/libc/spec/aio.spec83
-rw-r--r--usr/src/lib/libc/spec/amd64/Makefile50
-rw-r--r--usr/src/lib/libc/spec/atomic.spec1193
-rw-r--r--usr/src/lib/libc/spec/data.spec207
-rw-r--r--usr/src/lib/libc/spec/door.spec173
-rw-r--r--usr/src/lib/libc/spec/fmtmsg.spec61
-rw-r--r--usr/src/lib/libc/spec/fp.spec224
-rw-r--r--usr/src/lib/libc/spec/gen.spec4904
-rw-r--r--usr/src/lib/libc/spec/i18n.spec914
-rw-r--r--usr/src/lib/libc/spec/i386/Makefile50
-rw-r--r--usr/src/lib/libc/spec/interface64.spec484
-rw-r--r--usr/src/lib/libc/spec/missing.spec825
-rw-r--r--usr/src/lib/libc/spec/print.spec97
-rw-r--r--usr/src/lib/libc/spec/private.spec3409
-rw-r--r--usr/src/lib/libc/spec/privatedata.spec244
-rw-r--r--usr/src/lib/libc/spec/regex.spec71
-rw-r--r--usr/src/lib/libc/spec/rt.spec641
-rw-r--r--usr/src/lib/libc/spec/sparc/Makefile50
-rw-r--r--usr/src/lib/libc/spec/sparcv9/Makefile51
-rw-r--r--usr/src/lib/libc/spec/stdio.spec602
-rw-r--r--usr/src/lib/libc/spec/sys.spec3546
-rw-r--r--usr/src/lib/libc/spec/threads.spec1288
-rw-r--r--usr/src/lib/libc/spec/unwind.spec199
-rw-r--r--usr/src/lib/libc/spec/versions174
-rw-r--r--usr/src/lib/libc/spec/widec.spec90
-rw-r--r--usr/src/lib/libc_db/Makefile13
-rw-r--r--usr/src/lib/libc_db/Makefile.com13
-rw-r--r--usr/src/lib/libc_db/common/mapfile-vers147
-rw-r--r--usr/src/lib/libc_db/spec/Makefile28
-rw-r--r--usr/src/lib/libc_db/spec/Makefile.targ34
-rw-r--r--usr/src/lib/libc_db/spec/amd64/Makefile44
-rw-r--r--usr/src/lib/libc_db/spec/i386/Makefile43
-rw-r--r--usr/src/lib/libc_db/spec/sparc/Makefile43
-rw-r--r--usr/src/lib/libc_db/spec/sparcv9/Makefile44
-rw-r--r--usr/src/lib/libc_db/spec/thread_db.spec582
-rw-r--r--usr/src/lib/libc_db/spec/versions63
-rw-r--r--usr/src/lib/libc_psr/Makefile8
-rw-r--r--usr/src/lib/libc_psr/spec/Makefile47
-rw-r--r--usr/src/lib/libc_psr/spec/Makefile.com60
-rw-r--r--usr/src/lib/libc_psr/spec/sun4u-opl/Makefile29
-rw-r--r--usr/src/lib/libc_psr/spec/sun4u-opl/Makefile.links37
-rw-r--r--usr/src/lib/libc_psr/spec/sun4u-opl/c_psr-sparc.spec66
-rw-r--r--usr/src/lib/libc_psr/spec/sun4u-opl/c_psr-sparcv9.spec67
-rw-r--r--usr/src/lib/libc_psr/spec/sun4u-opl/sparc/Makefile50
-rw-r--r--usr/src/lib/libc_psr/spec/sun4u-opl/sparcv9/Makefile50
-rw-r--r--usr/src/lib/libc_psr/spec/sun4u-opl/versions-sparc31
-rw-r--r--usr/src/lib/libc_psr/spec/sun4u-opl/versions-sparcv930
-rw-r--r--usr/src/lib/libc_psr/spec/sun4u/Makefile30
-rw-r--r--usr/src/lib/libc_psr/spec/sun4u/Makefile.links49
-rw-r--r--usr/src/lib/libc_psr/spec/sun4u/c_psr-sparc.spec67
-rw-r--r--usr/src/lib/libc_psr/spec/sun4u/c_psr-sparcv9.spec68
-rw-r--r--usr/src/lib/libc_psr/spec/sun4u/sparc/Makefile51
-rw-r--r--usr/src/lib/libc_psr/spec/sun4u/sparcv9/Makefile52
-rw-r--r--usr/src/lib/libc_psr/spec/sun4u/versions-sparc31
-rw-r--r--usr/src/lib/libc_psr/spec/sun4u/versions-sparcv931
-rw-r--r--usr/src/lib/libc_psr/spec/sun4u_hwcap1/Makefile31
-rw-r--r--usr/src/lib/libc_psr/spec/sun4u_hwcap1/Makefile.links57
-rw-r--r--usr/src/lib/libc_psr/spec/sun4u_hwcap1/c_psr-sparc.spec67
-rw-r--r--usr/src/lib/libc_psr/spec/sun4u_hwcap1/c_psr-sparcv9.spec67
-rw-r--r--usr/src/lib/libc_psr/spec/sun4u_hwcap1/sparc/Makefile52
-rw-r--r--usr/src/lib/libc_psr/spec/sun4u_hwcap1/sparcv9/Makefile53
-rw-r--r--usr/src/lib/libc_psr/spec/sun4u_hwcap1/versions-sparc31
-rw-r--r--usr/src/lib/libc_psr/spec/sun4u_hwcap1/versions-sparcv931
-rw-r--r--usr/src/lib/libc_psr/spec/sun4u_hwcap2/Makefile31
-rw-r--r--usr/src/lib/libc_psr/spec/sun4u_hwcap2/Makefile.links57
-rw-r--r--usr/src/lib/libc_psr/spec/sun4u_hwcap2/c_psr-sparc.spec67
-rw-r--r--usr/src/lib/libc_psr/spec/sun4u_hwcap2/c_psr-sparcv9.spec67
-rw-r--r--usr/src/lib/libc_psr/spec/sun4u_hwcap2/sparc/Makefile52
-rw-r--r--usr/src/lib/libc_psr/spec/sun4u_hwcap2/sparcv9/Makefile53
-rw-r--r--usr/src/lib/libc_psr/spec/sun4u_hwcap2/versions-sparc31
-rw-r--r--usr/src/lib/libc_psr/spec/sun4u_hwcap2/versions-sparcv931
-rw-r--r--usr/src/lib/libc_psr/spec/sun4v_hwcap1/Makefile30
-rw-r--r--usr/src/lib/libc_psr/spec/sun4v_hwcap1/Makefile.links34
-rw-r--r--usr/src/lib/libc_psr/spec/sun4v_hwcap1/c_psr-sparc.spec58
-rw-r--r--usr/src/lib/libc_psr/spec/sun4v_hwcap1/c_psr-sparcv9.spec58
-rw-r--r--usr/src/lib/libc_psr/spec/sun4v_hwcap1/sparc/Makefile52
-rw-r--r--usr/src/lib/libc_psr/spec/sun4v_hwcap1/sparcv9/Makefile53
-rw-r--r--usr/src/lib/libc_psr/spec/sun4v_hwcap1/versions-sparc31
-rw-r--r--usr/src/lib/libc_psr/spec/sun4v_hwcap1/versions-sparcv931
-rw-r--r--usr/src/lib/libc_psr/sun4u-opl/Makefile7
-rw-r--r--usr/src/lib/libc_psr/sun4u-opl/sparc/Makefile16
-rw-r--r--usr/src/lib/libc_psr/sun4u-opl/sparcv9/Makefile15
-rw-r--r--usr/src/lib/libc_psr/sun4u-us3/Makefile12
-rw-r--r--usr/src/lib/libc_psr/sun4u/Makefile14
-rw-r--r--usr/src/lib/libc_psr/sun4u/mapfile-vers40
-rw-r--r--usr/src/lib/libc_psr/sun4u/sparc/Makefile21
-rw-r--r--usr/src/lib/libc_psr/sun4u/sparcv9/Makefile21
-rw-r--r--usr/src/lib/libc_psr/sun4u_hwcap1/Makefile16
-rw-r--r--usr/src/lib/libc_psr/sun4u_hwcap1/sparc/Makefile24
-rw-r--r--usr/src/lib/libc_psr/sun4u_hwcap1/sparcv9/Makefile25
-rw-r--r--usr/src/lib/libc_psr/sun4u_hwcap2/Makefile16
-rw-r--r--usr/src/lib/libc_psr/sun4u_hwcap2/sparc/Makefile25
-rw-r--r--usr/src/lib/libc_psr/sun4u_hwcap2/sparcv9/Makefile26
-rw-r--r--usr/src/lib/libc_psr/sun4v/Makefile12
-rw-r--r--usr/src/lib/libc_psr/sun4v/mapfile-vers38
-rw-r--r--usr/src/lib/libc_psr/sun4v_hwcap1/Makefile14
-rw-r--r--usr/src/lib/libc_psr/sun4v_hwcap1/Makefile.com13
-rw-r--r--usr/src/lib/libc_psr/sun4v_hwcap1/sparc/Makefile22
-rw-r--r--usr/src/lib/libc_psr/sun4v_hwcap1/sparcv9/Makefile23
-rw-r--r--usr/src/lib/libcfgadm/Makefile17
-rw-r--r--usr/src/lib/libcfgadm/Makefile.com11
-rw-r--r--usr/src/lib/libcfgadm/common/mapfile-vers51
-rw-r--r--usr/src/lib/libcfgadm/spec/Makefile30
-rw-r--r--usr/src/lib/libcfgadm/spec/Makefile.targ36
-rw-r--r--usr/src/lib/libcfgadm/spec/amd64/Makefile42
-rw-r--r--usr/src/lib/libcfgadm/spec/cfgadm.spec108
-rw-r--r--usr/src/lib/libcfgadm/spec/i386/Makefile42
-rw-r--r--usr/src/lib/libcfgadm/spec/sparc/Makefile44
-rw-r--r--usr/src/lib/libcfgadm/spec/sparcv9/Makefile43
-rw-r--r--usr/src/lib/libcfgadm/spec/versions47
-rw-r--r--usr/src/lib/libcmd/Makefile13
-rw-r--r--usr/src/lib/libcmd/Makefile.com9
-rw-r--r--usr/src/lib/libcmd/common/mapfile-vers (renamed from usr/src/lib/libdtrace_jni/spec/Makefile.targ)14
-rw-r--r--usr/src/lib/libcmd/spec/Makefile30
-rw-r--r--usr/src/lib/libcmd/spec/Makefile.targ35
-rw-r--r--usr/src/lib/libcmd/spec/amd64/Makefile44
-rw-r--r--usr/src/lib/libcmd/spec/cmd.spec42
-rw-r--r--usr/src/lib/libcmd/spec/i386/Makefile44
-rw-r--r--usr/src/lib/libcmd/spec/sparc/Makefile44
-rw-r--r--usr/src/lib/libcmd/spec/sparcv9/Makefile45
-rw-r--r--usr/src/lib/libcmd/spec/versions39
-rw-r--r--usr/src/lib/libcmdutils/Makefile18
-rw-r--r--usr/src/lib/libcmdutils/Makefile.com13
-rw-r--r--usr/src/lib/libcmdutils/common/mapfile-vers35
-rw-r--r--usr/src/lib/libcmdutils/spec/Makefile30
-rw-r--r--usr/src/lib/libcmdutils/spec/Makefile.targ35
-rw-r--r--usr/src/lib/libcmdutils/spec/amd64/Makefile44
-rw-r--r--usr/src/lib/libcmdutils/spec/cmdutils.spec45
-rw-r--r--usr/src/lib/libcmdutils/spec/i386/Makefile44
-rw-r--r--usr/src/lib/libcmdutils/spec/sparc/Makefile44
-rw-r--r--usr/src/lib/libcmdutils/spec/sparcv9/Makefile45
-rw-r--r--usr/src/lib/libcmdutils/spec/versions44
-rw-r--r--usr/src/lib/libcontract/Makefile15
-rw-r--r--usr/src/lib/libcontract/Makefile.com11
-rw-r--r--usr/src/lib/libcontract/common/mapfile-vers99
-rw-r--r--usr/src/lib/libcontract/spec/Makefile29
-rw-r--r--usr/src/lib/libcontract/spec/Makefile.targ32
-rw-r--r--usr/src/lib/libcontract/spec/amd64/Makefile37
-rw-r--r--usr/src/lib/libcontract/spec/contract.spec374
-rw-r--r--usr/src/lib/libcontract/spec/i386/Makefile35
-rw-r--r--usr/src/lib/libcontract/spec/private.spec56
-rw-r--r--usr/src/lib/libcontract/spec/sparc/Makefile35
-rw-r--r--usr/src/lib/libcontract/spec/sparcv9/Makefile37
-rw-r--r--usr/src/lib/libcontract/spec/versions43
-rw-r--r--usr/src/lib/libcpc/Makefile16
-rw-r--r--usr/src/lib/libcpc/Makefile.com12
-rw-r--r--usr/src/lib/libcpc/amd64/Makefile9
-rw-r--r--usr/src/lib/libcpc/amd64/mapfile-vers (renamed from usr/src/lib/libtsol/spec/Makefile)4
-rw-r--r--usr/src/lib/libcpc/common/mapfile-vers70
-rw-r--r--usr/src/lib/libcpc/i386/mapfile-vers61
-rw-r--r--usr/src/lib/libcpc/sparc/mapfile-vers61
-rw-r--r--usr/src/lib/libcpc/sparcv9/mapfile-vers61
-rw-r--r--usr/src/lib/libcpc/spec/Makefile30
-rw-r--r--usr/src/lib/libcpc/spec/Makefile.targ33
-rw-r--r--usr/src/lib/libcpc/spec/amd64/Makefile44
-rw-r--r--usr/src/lib/libcpc/spec/cpc.spec448
-rw-r--r--usr/src/lib/libcpc/spec/i386/Makefile44
-rw-r--r--usr/src/lib/libcpc/spec/sparc/Makefile44
-rw-r--r--usr/src/lib/libcpc/spec/sparcv9/Makefile45
-rw-r--r--usr/src/lib/libcpc/spec/versions46
-rw-r--r--usr/src/lib/libcrypt/Makefile16
-rw-r--r--usr/src/lib/libcrypt/Makefile.com8
-rw-r--r--usr/src/lib/libcrypt/common/mapfile-vers65
-rw-r--r--usr/src/lib/libcrypt/spec/Makefile31
-rw-r--r--usr/src/lib/libcrypt/spec/Makefile.targ33
-rw-r--r--usr/src/lib/libcrypt/spec/amd64/Makefile37
-rw-r--r--usr/src/lib/libcrypt/spec/crypt.spec170
-rw-r--r--usr/src/lib/libcrypt/spec/i386/Makefile37
-rw-r--r--usr/src/lib/libcrypt/spec/sparc/Makefile37
-rw-r--r--usr/src/lib/libcrypt/spec/sparcv9/Makefile37
-rw-r--r--usr/src/lib/libcrypt/spec/versions44
-rw-r--r--usr/src/lib/libcryptoutil/Makefile16
-rw-r--r--usr/src/lib/libcryptoutil/Makefile.com8
-rw-r--r--usr/src/lib/libcryptoutil/common/mapfile-vers45
-rw-r--r--usr/src/lib/libcryptoutil/spec/Makefile28
-rw-r--r--usr/src/lib/libcryptoutil/spec/Makefile.targ31
-rw-r--r--usr/src/lib/libcryptoutil/spec/amd64/Makefile43
-rw-r--r--usr/src/lib/libcryptoutil/spec/cryptoutil.spec104
-rw-r--r--usr/src/lib/libcryptoutil/spec/i386/Makefile42
-rw-r--r--usr/src/lib/libcryptoutil/spec/sparc/Makefile42
-rw-r--r--usr/src/lib/libcryptoutil/spec/sparcv9/Makefile43
-rw-r--r--usr/src/lib/libcryptoutil/spec/versions38
-rw-r--r--usr/src/lib/libctf/Makefile15
-rw-r--r--usr/src/lib/libctf/Makefile.com8
-rw-r--r--usr/src/lib/libctf/amd64/Makefile8
-rw-r--r--usr/src/lib/libctf/common/mapfile-vers101
-rw-r--r--usr/src/lib/libctf/i386/Makefile13
-rw-r--r--usr/src/lib/libctf/sparc/Makefile13
-rw-r--r--usr/src/lib/libctf/sparcv9/Makefile13
-rw-r--r--usr/src/lib/libctf/spec/Makefile28
-rw-r--r--usr/src/lib/libctf/spec/Makefile.targ32
-rw-r--r--usr/src/lib/libctf/spec/amd64/Makefile37
-rw-r--r--usr/src/lib/libctf/spec/ctf.spec273
-rw-r--r--usr/src/lib/libctf/spec/i386/Makefile35
-rw-r--r--usr/src/lib/libctf/spec/sparc/Makefile35
-rw-r--r--usr/src/lib/libctf/spec/sparcv9/Makefile36
-rw-r--r--usr/src/lib/libctf/spec/versions46
-rw-r--r--usr/src/lib/libcurses/Makefile20
-rw-r--r--usr/src/lib/libcurses/Makefile.com37
-rw-r--r--usr/src/lib/libcurses/amd64/Makefile9
-rw-r--r--usr/src/lib/libcurses/i386/Makefile10
-rw-r--r--usr/src/lib/libcurses/screen/mapfile-vers581
-rw-r--r--usr/src/lib/libcurses/sparc/Makefile10
-rw-r--r--usr/src/lib/libcurses/sparcv9/Makefile14
-rw-r--r--usr/src/lib/libcurses/spec/Makefile29
-rw-r--r--usr/src/lib/libcurses/spec/Makefile.targ36
-rw-r--r--usr/src/lib/libcurses/spec/amd64/Makefile44
-rw-r--r--usr/src/lib/libcurses/spec/curses.spec2749
-rw-r--r--usr/src/lib/libcurses/spec/i386/Makefile43
-rw-r--r--usr/src/lib/libcurses/spec/sparc/Makefile43
-rw-r--r--usr/src/lib/libcurses/spec/sparcv9/Makefile45
-rw-r--r--usr/src/lib/libcurses/spec/versions43
-rw-r--r--usr/src/lib/libdevice/Makefile17
-rw-r--r--usr/src/lib/libdevice/Makefile.com11
-rw-r--r--usr/src/lib/libdevice/mapfile-vers78
-rw-r--r--usr/src/lib/libdevice/spec/Makefile30
-rw-r--r--usr/src/lib/libdevice/spec/Makefile.targ35
-rw-r--r--usr/src/lib/libdevice/spec/amd64/Makefile42
-rw-r--r--usr/src/lib/libdevice/spec/device.spec312
-rw-r--r--usr/src/lib/libdevice/spec/i386/Makefile42
-rw-r--r--usr/src/lib/libdevice/spec/sparc/Makefile44
-rw-r--r--usr/src/lib/libdevice/spec/sparcv9/Makefile43
-rw-r--r--usr/src/lib/libdevice/spec/versions39
-rw-r--r--usr/src/lib/libdevid/Makefile16
-rw-r--r--usr/src/lib/libdevid/Makefile.com11
-rw-r--r--usr/src/lib/libdevid/mapfile-vers55
-rw-r--r--usr/src/lib/libdevid/spec/Makefile30
-rw-r--r--usr/src/lib/libdevid/spec/Makefile.targ35
-rw-r--r--usr/src/lib/libdevid/spec/amd64/Makefile42
-rw-r--r--usr/src/lib/libdevid/spec/devid.spec135
-rw-r--r--usr/src/lib/libdevid/spec/i386/Makefile42
-rw-r--r--usr/src/lib/libdevid/spec/sparc/Makefile44
-rw-r--r--usr/src/lib/libdevid/spec/sparcv9/Makefile43
-rw-r--r--usr/src/lib/libdevid/spec/versions49
-rw-r--r--usr/src/lib/libdevinfo/Makefile17
-rw-r--r--usr/src/lib/libdevinfo/Makefile.com11
-rw-r--r--usr/src/lib/libdevinfo/amd64/Makefile8
-rw-r--r--usr/src/lib/libdevinfo/i386/Makefile9
-rw-r--r--usr/src/lib/libdevinfo/mapfile-vers185
-rw-r--r--usr/src/lib/libdevinfo/sparc/Makefile9
-rw-r--r--usr/src/lib/libdevinfo/sparcv9/Makefile9
-rw-r--r--usr/src/lib/libdevinfo/spec/Makefile30
-rw-r--r--usr/src/lib/libdevinfo/spec/Makefile.targ35
-rw-r--r--usr/src/lib/libdevinfo/spec/amd64/Makefile42
-rw-r--r--usr/src/lib/libdevinfo/spec/devinfo.spec975
-rw-r--r--usr/src/lib/libdevinfo/spec/i386/Makefile42
-rw-r--r--usr/src/lib/libdevinfo/spec/sparc/Makefile44
-rw-r--r--usr/src/lib/libdevinfo/spec/sparcv9/Makefile43
-rw-r--r--usr/src/lib/libdevinfo/spec/versions55
-rw-r--r--usr/src/lib/libdhcpagent/Makefile15
-rw-r--r--usr/src/lib/libdhcpagent/Makefile.com11
-rw-r--r--usr/src/lib/libdhcpagent/common/mapfile-vers52
-rw-r--r--usr/src/lib/libdhcpagent/spec/Makefile30
-rw-r--r--usr/src/lib/libdhcpagent/spec/Makefile.targ35
-rw-r--r--usr/src/lib/libdhcpagent/spec/amd64/Makefile32
-rw-r--r--usr/src/lib/libdhcpagent/spec/dhcpagent.spec159
-rw-r--r--usr/src/lib/libdhcpagent/spec/i386/Makefile44
-rw-r--r--usr/src/lib/libdhcpagent/spec/sparc/Makefile44
-rw-r--r--usr/src/lib/libdhcpagent/spec/sparcv9/Makefile33
-rw-r--r--usr/src/lib/libdhcpagent/spec/versions39
-rw-r--r--usr/src/lib/libdhcpdu/Makefile.com12
-rw-r--r--usr/src/lib/libdhcpsvc/Makefile.com9
-rw-r--r--usr/src/lib/libdhcpsvc/modules/Makefile.com14
-rw-r--r--usr/src/lib/libdhcpsvc/modules/binfiles/Makefile14
-rw-r--r--usr/src/lib/libdhcpsvc/modules/binfiles/mapfile-vers52
-rw-r--r--usr/src/lib/libdhcpsvc/modules/binfiles/spec/Makefile30
-rw-r--r--usr/src/lib/libdhcpsvc/modules/binfiles/spec/Makefile.targ32
-rw-r--r--usr/src/lib/libdhcpsvc/modules/binfiles/spec/amd64/Makefile30
-rw-r--r--usr/src/lib/libdhcpsvc/modules/binfiles/spec/ds_SUNWbinfiles.spec107
-rw-r--r--usr/src/lib/libdhcpsvc/modules/binfiles/spec/i386/Makefile36
-rw-r--r--usr/src/lib/libdhcpsvc/modules/binfiles/spec/sparc/Makefile36
-rw-r--r--usr/src/lib/libdhcpsvc/modules/binfiles/spec/sparcv9/Makefile31
-rw-r--r--usr/src/lib/libdhcpsvc/modules/binfiles/spec/versions39
-rw-r--r--usr/src/lib/libdhcpsvc/modules/files/Makefile14
-rw-r--r--usr/src/lib/libdhcpsvc/modules/files/mapfile-vers52
-rw-r--r--usr/src/lib/libdhcpsvc/modules/files/spec/Makefile30
-rw-r--r--usr/src/lib/libdhcpsvc/modules/files/spec/Makefile.targ32
-rw-r--r--usr/src/lib/libdhcpsvc/modules/files/spec/amd64/Makefile30
-rw-r--r--usr/src/lib/libdhcpsvc/modules/files/spec/ds_SUNWfiles.spec107
-rw-r--r--usr/src/lib/libdhcpsvc/modules/files/spec/i386/Makefile34
-rw-r--r--usr/src/lib/libdhcpsvc/modules/files/spec/sparc/Makefile36
-rw-r--r--usr/src/lib/libdhcpsvc/modules/files/spec/sparcv9/Makefile31
-rw-r--r--usr/src/lib/libdhcpsvc/modules/files/spec/versions39
-rw-r--r--usr/src/lib/libdhcpsvc/modules/files0/Makefile14
-rw-r--r--usr/src/lib/libdhcpsvc/modules/files0/mapfile-vers (renamed from usr/src/lib/fm/libfmd_snmp/spec/amd64/Makefile)34
-rw-r--r--usr/src/lib/libdhcpsvc/modules/files0/spec/Makefile30
-rw-r--r--usr/src/lib/libdhcpsvc/modules/files0/spec/Makefile.targ32
-rw-r--r--usr/src/lib/libdhcpsvc/modules/files0/spec/amd64/Makefile30
-rw-r--r--usr/src/lib/libdhcpsvc/modules/files0/spec/ds_SUNWfiles.spec103
-rw-r--r--usr/src/lib/libdhcpsvc/modules/files0/spec/i386/Makefile36
-rw-r--r--usr/src/lib/libdhcpsvc/modules/files0/spec/sparc/Makefile36
-rw-r--r--usr/src/lib/libdhcpsvc/modules/files0/spec/sparcv9/Makefile31
-rw-r--r--usr/src/lib/libdhcpsvc/modules/files0/spec/versions39
-rw-r--r--usr/src/lib/libdhcpsvc/modules/nisplus/Makefile15
-rw-r--r--usr/src/lib/libdhcpsvc/modules/nisplus/mapfile-vers51
-rw-r--r--usr/src/lib/libdhcpsvc/modules/nisplus/spec/Makefile30
-rw-r--r--usr/src/lib/libdhcpsvc/modules/nisplus/spec/Makefile.targ32
-rw-r--r--usr/src/lib/libdhcpsvc/modules/nisplus/spec/amd64/Makefile30
-rw-r--r--usr/src/lib/libdhcpsvc/modules/nisplus/spec/ds_SUNWnisplus.spec103
-rw-r--r--usr/src/lib/libdhcpsvc/modules/nisplus/spec/i386/Makefile36
-rw-r--r--usr/src/lib/libdhcpsvc/modules/nisplus/spec/sparc/Makefile36
-rw-r--r--usr/src/lib/libdhcpsvc/modules/nisplus/spec/sparcv9/Makefile31
-rw-r--r--usr/src/lib/libdhcpsvc/modules/nisplus/spec/versions39
-rw-r--r--usr/src/lib/libdhcpsvc/modules/nisplus0/Makefile15
-rw-r--r--usr/src/lib/libdhcpsvc/modules/nisplus0/mapfile-vers51
-rw-r--r--usr/src/lib/libdhcpsvc/modules/nisplus0/spec/Makefile30
-rw-r--r--usr/src/lib/libdhcpsvc/modules/nisplus0/spec/Makefile.targ32
-rw-r--r--usr/src/lib/libdhcpsvc/modules/nisplus0/spec/amd64/Makefile30
-rw-r--r--usr/src/lib/libdhcpsvc/modules/nisplus0/spec/ds_SUNWnisplus.spec103
-rw-r--r--usr/src/lib/libdhcpsvc/modules/nisplus0/spec/i386/Makefile36
-rw-r--r--usr/src/lib/libdhcpsvc/modules/nisplus0/spec/sparc/Makefile36
-rw-r--r--usr/src/lib/libdhcpsvc/modules/nisplus0/spec/sparcv9/Makefile31
-rw-r--r--usr/src/lib/libdhcpsvc/modules/nisplus0/spec/versions39
-rw-r--r--usr/src/lib/libdhcpsvc/modules/templates/Makefile15
-rw-r--r--usr/src/lib/libdhcpsvc/modules/templates/spec/Makefile30
-rw-r--r--usr/src/lib/libdhcpsvc/modules/templates/spec/Makefile.targ32
-rw-r--r--usr/src/lib/libdhcpsvc/modules/templates/spec/amd64/Makefile30
-rw-r--r--usr/src/lib/libdhcpsvc/modules/templates/spec/ds_RESOURCE.spec103
-rw-r--r--usr/src/lib/libdhcpsvc/modules/templates/spec/i386/Makefile36
-rw-r--r--usr/src/lib/libdhcpsvc/modules/templates/spec/public.spec136
-rw-r--r--usr/src/lib/libdhcpsvc/modules/templates/spec/sparc/Makefile36
-rw-r--r--usr/src/lib/libdhcpsvc/modules/templates/spec/sparcv9/Makefile31
-rw-r--r--usr/src/lib/libdhcpsvc/modules/templates/spec/versions39
-rw-r--r--usr/src/lib/libdhcpsvc/private/Makefile11
-rw-r--r--usr/src/lib/libdhcpsvc/private/Makefile.com8
-rw-r--r--usr/src/lib/libdhcpsvc/private/mapfile-vers63
-rw-r--r--usr/src/lib/libdhcpsvc/private/spec/Makefile30
-rw-r--r--usr/src/lib/libdhcpsvc/private/spec/Makefile.targ33
-rw-r--r--usr/src/lib/libdhcpsvc/private/spec/amd64/Makefile30
-rw-r--r--usr/src/lib/libdhcpsvc/private/spec/dhcpsvc.spec231
-rw-r--r--usr/src/lib/libdhcpsvc/private/spec/i386/Makefile36
-rw-r--r--usr/src/lib/libdhcpsvc/private/spec/sparc/Makefile36
-rw-r--r--usr/src/lib/libdhcpsvc/private/spec/sparcv9/Makefile31
-rw-r--r--usr/src/lib/libdhcpsvc/private/spec/versions39
-rw-r--r--usr/src/lib/libdhcputil/Makefile13
-rw-r--r--usr/src/lib/libdhcputil/Makefile.com13
-rw-r--r--usr/src/lib/libdhcputil/common/mapfile-vers61
-rw-r--r--usr/src/lib/libdhcputil/spec/Makefile30
-rw-r--r--usr/src/lib/libdhcputil/spec/Makefile.targ33
-rw-r--r--usr/src/lib/libdhcputil/spec/amd64/Makefile32
-rw-r--r--usr/src/lib/libdhcputil/spec/dhcputil.spec178
-rw-r--r--usr/src/lib/libdhcputil/spec/i386/Makefile36
-rw-r--r--usr/src/lib/libdhcputil/spec/sparc/Makefile36
-rw-r--r--usr/src/lib/libdhcputil/spec/sparcv9/Makefile33
-rw-r--r--usr/src/lib/libdhcputil/spec/versions43
-rw-r--r--usr/src/lib/libdiagcode/spec/amd64/Makefile36
-rw-r--r--usr/src/lib/libdisasm/Makefile10
-rw-r--r--usr/src/lib/libdisasm/Makefile.com5
-rw-r--r--usr/src/lib/libdisasm/Makefile.targ7
-rw-r--r--usr/src/lib/libdisasm/common/mapfile-vers40
-rw-r--r--usr/src/lib/libdisasm/spec/Makefile.targ30
-rw-r--r--usr/src/lib/libdisasm/spec/amd64/Makefile34
-rw-r--r--usr/src/lib/libdisasm/spec/i386/Makefile33
-rw-r--r--usr/src/lib/libdisasm/spec/libdisasm.spec57
-rw-r--r--usr/src/lib/libdisasm/spec/sparc/Makefile33
-rw-r--r--usr/src/lib/libdisasm/spec/sparcv9/Makefile34
-rw-r--r--usr/src/lib/libdisasm/spec/versions39
-rw-r--r--usr/src/lib/libdiskmgt/Makefile13
-rw-r--r--usr/src/lib/libdiskmgt/Makefile.com11
-rw-r--r--usr/src/lib/libdiskmgt/amd64/Makefile8
-rw-r--r--usr/src/lib/libdiskmgt/common/mapfile-vers49
-rw-r--r--usr/src/lib/libdiskmgt/sparcv9/Makefile11
-rw-r--r--usr/src/lib/libdiskmgt/spec/Makefile30
-rw-r--r--usr/src/lib/libdiskmgt/spec/Makefile.targ33
-rw-r--r--usr/src/lib/libdiskmgt/spec/amd64/Makefile42
-rw-r--r--usr/src/lib/libdiskmgt/spec/diskmgt.spec137
-rw-r--r--usr/src/lib/libdiskmgt/spec/i386/Makefile36
-rw-r--r--usr/src/lib/libdiskmgt/spec/sparc/Makefile36
-rw-r--r--usr/src/lib/libdiskmgt/spec/sparcv9/Makefile43
-rw-r--r--usr/src/lib/libdiskmgt/spec/versions39
-rw-r--r--usr/src/lib/libdladm/Makefile17
-rw-r--r--usr/src/lib/libdladm/Makefile.com13
-rw-r--r--usr/src/lib/libdladm/common/mapfile-vers35
-rw-r--r--usr/src/lib/libdladm/spec/Makefile29
-rw-r--r--usr/src/lib/libdladm/spec/Makefile.targ32
-rw-r--r--usr/src/lib/libdladm/spec/amd64/Makefile32
-rw-r--r--usr/src/lib/libdladm/spec/dladm.spec46
-rw-r--r--usr/src/lib/libdladm/spec/i386/Makefile35
-rw-r--r--usr/src/lib/libdladm/spec/sparc/Makefile35
-rw-r--r--usr/src/lib/libdladm/spec/sparcv9/Makefile32
-rw-r--r--usr/src/lib/libdladm/spec/versions42
-rw-r--r--usr/src/lib/libdlpi/Makefile17
-rw-r--r--usr/src/lib/libdlpi/Makefile.com13
-rw-r--r--usr/src/lib/libdlpi/common/mapfile-vers49
-rw-r--r--usr/src/lib/libdlpi/spec/Makefile29
-rw-r--r--usr/src/lib/libdlpi/spec/Makefile.targ32
-rw-r--r--usr/src/lib/libdlpi/spec/amd64/Makefile32
-rw-r--r--usr/src/lib/libdlpi/spec/dlpi.spec131
-rw-r--r--usr/src/lib/libdlpi/spec/i386/Makefile35
-rw-r--r--usr/src/lib/libdlpi/spec/sparc/Makefile35
-rw-r--r--usr/src/lib/libdlpi/spec/sparcv9/Makefile32
-rw-r--r--usr/src/lib/libdlpi/spec/versions42
-rw-r--r--usr/src/lib/libdoor/Makefile.com14
-rw-r--r--usr/src/lib/libdoor/amd64/Makefile8
-rw-r--r--usr/src/lib/libdoor/i386/Makefile13
-rw-r--r--usr/src/lib/libdoor/sparc/Makefile13
-rw-r--r--usr/src/lib/libdoor/sparcv9/Makefile8
-rw-r--r--usr/src/lib/libdscp/Makefile8
-rw-r--r--usr/src/lib/libdscp/Makefile.com8
-rw-r--r--usr/src/lib/libdscp/mapfile-vers37
-rw-r--r--usr/src/lib/libdscp/sparc/Makefile5
-rw-r--r--usr/src/lib/libdscp/spec/Makefile61
-rw-r--r--usr/src/lib/libdscp/spec/Makefile.targ35
-rw-r--r--usr/src/lib/libdscp/spec/libdscp.spec56
-rw-r--r--usr/src/lib/libdscp/spec/sparc/Makefile38
-rw-r--r--usr/src/lib/libdscp/spec/versions31
-rw-r--r--usr/src/lib/libdtrace/Makefile18
-rw-r--r--usr/src/lib/libdtrace/Makefile.com10
-rw-r--r--usr/src/lib/libdtrace/amd64/Makefile1
-rw-r--r--usr/src/lib/libdtrace/common/mapfile-vers114
-rw-r--r--usr/src/lib/libdtrace/i386/Makefile4
-rw-r--r--usr/src/lib/libdtrace/sparc/Makefile4
-rw-r--r--usr/src/lib/libdtrace/sparcv9/Makefile4
-rw-r--r--usr/src/lib/libdtrace/spec/Makefile28
-rw-r--r--usr/src/lib/libdtrace/spec/Makefile.targ32
-rw-r--r--usr/src/lib/libdtrace/spec/amd64/Makefile37
-rw-r--r--usr/src/lib/libdtrace/spec/dtrace.spec352
-rw-r--r--usr/src/lib/libdtrace/spec/i386/Makefile35
-rw-r--r--usr/src/lib/libdtrace/spec/sparc/Makefile35
-rw-r--r--usr/src/lib/libdtrace/spec/sparcv9/Makefile36
-rw-r--r--usr/src/lib/libdtrace/spec/versions42
-rw-r--r--usr/src/lib/libdtrace_jni/Makefile7
-rw-r--r--usr/src/lib/libdtrace_jni/Makefile.com2
-rw-r--r--usr/src/lib/libdtrace_jni/amd64/Makefile3
-rw-r--r--usr/src/lib/libdtrace_jni/common/mapfile-vers64
-rw-r--r--usr/src/lib/libdtrace_jni/i386/Makefile3
-rw-r--r--usr/src/lib/libdtrace_jni/sparc/Makefile3
-rw-r--r--usr/src/lib/libdtrace_jni/sparcv9/Makefile3
-rw-r--r--usr/src/lib/libdtrace_jni/spec/amd64/Makefile37
-rw-r--r--usr/src/lib/libdtrace_jni/spec/dtrace_jni.spec155
-rw-r--r--usr/src/lib/libdtrace_jni/spec/i386/Makefile36
-rw-r--r--usr/src/lib/libdtrace_jni/spec/sparc/Makefile36
-rw-r--r--usr/src/lib/libdtrace_jni/spec/sparcv9/Makefile37
-rw-r--r--usr/src/lib/libefi/Makefile15
-rw-r--r--usr/src/lib/libefi/Makefile.com9
-rw-r--r--usr/src/lib/libefi/common/mapfile-vers43
-rw-r--r--usr/src/lib/libefi/spec/Makefile29
-rw-r--r--usr/src/lib/libefi/spec/Makefile.targ34
-rw-r--r--usr/src/lib/libefi/spec/amd64/Makefile42
-rw-r--r--usr/src/lib/libefi/spec/efi.spec79
-rw-r--r--usr/src/lib/libefi/spec/i386/Makefile42
-rw-r--r--usr/src/lib/libefi/spec/sparc/Makefile44
-rw-r--r--usr/src/lib/libefi/spec/sparcv9/Makefile43
-rw-r--r--usr/src/lib/libefi/spec/versions47
-rw-r--r--usr/src/lib/libeti/form/Makefile15
-rw-r--r--usr/src/lib/libeti/form/Makefile.com17
-rw-r--r--usr/src/lib/libeti/form/amd64/Makefile10
-rw-r--r--usr/src/lib/libeti/form/common/mapfile-vers226
-rw-r--r--usr/src/lib/libeti/form/i386/Makefile10
-rw-r--r--usr/src/lib/libeti/form/sparc/Makefile10
-rw-r--r--usr/src/lib/libeti/form/sparcv9/Makefile16
-rw-r--r--usr/src/lib/libeti/form/spec/Makefile30
-rw-r--r--usr/src/lib/libeti/form/spec/Makefile.targ36
-rw-r--r--usr/src/lib/libeti/form/spec/amd64/Makefile42
-rw-r--r--usr/src/lib/libeti/form/spec/form.spec939
-rw-r--r--usr/src/lib/libeti/form/spec/i386/Makefile42
-rw-r--r--usr/src/lib/libeti/form/spec/sparc/Makefile44
-rw-r--r--usr/src/lib/libeti/form/spec/sparcv9/Makefile43
-rw-r--r--usr/src/lib/libeti/form/spec/versions43
-rw-r--r--usr/src/lib/libeti/menu/Makefile15
-rw-r--r--usr/src/lib/libeti/menu/Makefile.com15
-rw-r--r--usr/src/lib/libeti/menu/amd64/Makefile10
-rw-r--r--usr/src/lib/libeti/menu/common/mapfile-vers113
-rw-r--r--usr/src/lib/libeti/menu/i386/Makefile10
-rw-r--r--usr/src/lib/libeti/menu/sparc/Makefile10
-rw-r--r--usr/src/lib/libeti/menu/sparcv9/Makefile15
-rw-r--r--usr/src/lib/libeti/menu/spec/Makefile30
-rw-r--r--usr/src/lib/libeti/menu/spec/Makefile.targ36
-rw-r--r--usr/src/lib/libeti/menu/spec/amd64/Makefile42
-rw-r--r--usr/src/lib/libeti/menu/spec/i386/Makefile42
-rw-r--r--usr/src/lib/libeti/menu/spec/menu.spec456
-rw-r--r--usr/src/lib/libeti/menu/spec/sparc/Makefile44
-rw-r--r--usr/src/lib/libeti/menu/spec/sparcv9/Makefile43
-rw-r--r--usr/src/lib/libeti/menu/spec/versions43
-rw-r--r--usr/src/lib/libeti/panel/Makefile15
-rw-r--r--usr/src/lib/libeti/panel/Makefile.com15
-rw-r--r--usr/src/lib/libeti/panel/amd64/Makefile10
-rw-r--r--usr/src/lib/libeti/panel/common/mapfile-vers60
-rw-r--r--usr/src/lib/libeti/panel/i386/Makefile10
-rw-r--r--usr/src/lib/libeti/panel/sparc/Makefile10
-rw-r--r--usr/src/lib/libeti/panel/sparcv9/Makefile17
-rw-r--r--usr/src/lib/libeti/panel/spec/Makefile30
-rw-r--r--usr/src/lib/libeti/panel/spec/Makefile.targ36
-rw-r--r--usr/src/lib/libeti/panel/spec/amd64/Makefile42
-rw-r--r--usr/src/lib/libeti/panel/spec/i386/Makefile42
-rw-r--r--usr/src/lib/libeti/panel/spec/panel.spec154
-rw-r--r--usr/src/lib/libeti/panel/spec/sparc/Makefile44
-rw-r--r--usr/src/lib/libeti/panel/spec/sparcv9/Makefile43
-rw-r--r--usr/src/lib/libeti/panel/spec/versions43
-rw-r--r--usr/src/lib/libexacct/Makefile21
-rw-r--r--usr/src/lib/libexacct/Makefile.com11
-rw-r--r--usr/src/lib/libexacct/common/mapfile-vers74
-rw-r--r--usr/src/lib/libexacct/spec/Makefile31
-rw-r--r--usr/src/lib/libexacct/spec/Makefile.targ34
-rw-r--r--usr/src/lib/libexacct/spec/amd64/Makefile44
-rw-r--r--usr/src/lib/libexacct/spec/exacct.spec199
-rw-r--r--usr/src/lib/libexacct/spec/i386/Makefile37
-rw-r--r--usr/src/lib/libexacct/spec/sparc/Makefile45
-rw-r--r--usr/src/lib/libexacct/spec/sparcv9/Makefile46
-rw-r--r--usr/src/lib/libexacct/spec/versions50
-rw-r--r--usr/src/lib/libfru/Makefile.obj13
-rw-r--r--usr/src/lib/libfru/libfrupicl/Makefile.com17
-rw-r--r--usr/src/lib/libfru/libfrupicltree/Makefile.com16
-rw-r--r--usr/src/lib/libfru/libfrureg/Makefile.com18
-rw-r--r--usr/src/lib/libfruutils/Makefile.com9
-rw-r--r--usr/src/lib/libfsmgt/Makefile15
-rw-r--r--usr/src/lib/libfsmgt/Makefile.com13
-rw-r--r--usr/src/lib/libfsmgt/common/mapfile-vers90
-rw-r--r--usr/src/lib/libfsmgt/spec/Makefile30
-rw-r--r--usr/src/lib/libfsmgt/spec/Makefile.targ33
-rw-r--r--usr/src/lib/libfsmgt/spec/amd64/Makefile32
-rw-r--r--usr/src/lib/libfsmgt/spec/fsmgt.spec397
-rw-r--r--usr/src/lib/libfsmgt/spec/i386/Makefile36
-rw-r--r--usr/src/lib/libfsmgt/spec/sparc/Makefile36
-rw-r--r--usr/src/lib/libfsmgt/spec/sparcv9/Makefile33
-rw-r--r--usr/src/lib/libfsmgt/spec/versions39
-rw-r--r--usr/src/lib/libfstyp/Makefile6
-rw-r--r--usr/src/lib/libfstyp/Makefile.com2
-rw-r--r--usr/src/lib/libfstyp/common/mapfile-vers (renamed from usr/src/lib/libdtrace_jni/spec/versions)28
-rw-r--r--usr/src/lib/libfstyp/spec/Makefile55
-rw-r--r--usr/src/lib/libfstyp/spec/Makefile.targ33
-rw-r--r--usr/src/lib/libfstyp/spec/fstyp.spec70
-rw-r--r--usr/src/lib/libfstyp/spec/i386/Makefile41
-rw-r--r--usr/src/lib/libfstyp/spec/sparc/Makefile43
-rw-r--r--usr/src/lib/libgen/Makefile13
-rw-r--r--usr/src/lib/libgen/Makefile.com11
-rw-r--r--usr/src/lib/libgen/amd64/Makefile11
-rw-r--r--usr/src/lib/libgen/common/mapfile-vers103
-rw-r--r--usr/src/lib/libgen/common/mapfile32-vers36
-rw-r--r--usr/src/lib/libgen/i386/Makefile9
-rw-r--r--usr/src/lib/libgen/sparc/Makefile9
-rw-r--r--usr/src/lib/libgen/sparcv9/Makefile11
-rw-r--r--usr/src/lib/libgen/spec/Makefile29
-rw-r--r--usr/src/lib/libgen/spec/Makefile.targ35
-rw-r--r--usr/src/lib/libgen/spec/amd64/Makefile44
-rw-r--r--usr/src/lib/libgen/spec/gen.spec237
-rw-r--r--usr/src/lib/libgen/spec/i386/Makefile44
-rw-r--r--usr/src/lib/libgen/spec/private.spec40
-rw-r--r--usr/src/lib/libgen/spec/sparc/Makefile44
-rw-r--r--usr/src/lib/libgen/spec/sparcv9/Makefile45
-rw-r--r--usr/src/lib/libgen/spec/versions43
-rw-r--r--usr/src/lib/libgen/spec/weak.spec169
-rw-r--r--usr/src/lib/libgss/Makefile18
-rw-r--r--usr/src/lib/libgss/Makefile.com12
-rw-r--r--usr/src/lib/libgss/i386/Makefile9
-rw-r--r--usr/src/lib/libgss/mapfile-vers121
-rw-r--r--usr/src/lib/libgss/sparc/Makefile9
-rw-r--r--usr/src/lib/libgss/spec/Makefile30
-rw-r--r--usr/src/lib/libgss/spec/Makefile.targ36
-rw-r--r--usr/src/lib/libgss/spec/amd64/Makefile42
-rw-r--r--usr/src/lib/libgss/spec/gss.spec753
-rw-r--r--usr/src/lib/libgss/spec/i386/Makefile42
-rw-r--r--usr/src/lib/libgss/spec/sparc/Makefile44
-rw-r--r--usr/src/lib/libgss/spec/sparcv9/Makefile43
-rw-r--r--usr/src/lib/libgss/spec/versions47
-rw-r--r--usr/src/lib/libinetcfg/Makefile15
-rw-r--r--usr/src/lib/libinetcfg/Makefile.com11
-rw-r--r--usr/src/lib/libinetcfg/common/mapfile-vers74
-rw-r--r--usr/src/lib/libinetcfg/spec/Makefile30
-rw-r--r--usr/src/lib/libinetcfg/spec/Makefile.targ33
-rw-r--r--usr/src/lib/libinetcfg/spec/amd64/Makefile32
-rw-r--r--usr/src/lib/libinetcfg/spec/i386/Makefile36
-rw-r--r--usr/src/lib/libinetcfg/spec/inetcfg.spec310
-rw-r--r--usr/src/lib/libinetcfg/spec/sparc/Makefile36
-rw-r--r--usr/src/lib/libinetcfg/spec/sparcv9/Makefile33
-rw-r--r--usr/src/lib/libinetcfg/spec/versions39
-rw-r--r--usr/src/lib/libinetsvc/Makefile15
-rw-r--r--usr/src/lib/libinetsvc/Makefile.com8
-rw-r--r--usr/src/lib/libinetsvc/common/mapfile-vers66
-rw-r--r--usr/src/lib/libinetsvc/spec/Makefile29
-rw-r--r--usr/src/lib/libinetsvc/spec/Makefile.targ34
-rw-r--r--usr/src/lib/libinetsvc/spec/amd64/Makefile30
-rw-r--r--usr/src/lib/libinetsvc/spec/i386/Makefile43
-rw-r--r--usr/src/lib/libinetsvc/spec/inetsvc.spec249
-rw-r--r--usr/src/lib/libinetsvc/spec/sparc/Makefile43
-rw-r--r--usr/src/lib/libinetsvc/spec/sparcv9/Makefile30
-rw-r--r--usr/src/lib/libinetsvc/spec/versions32
-rw-r--r--usr/src/lib/libinetutil/Makefile13
-rw-r--r--usr/src/lib/libinetutil/Makefile.com12
-rw-r--r--usr/src/lib/libinetutil/common/mapfile-vers53
-rw-r--r--usr/src/lib/libinetutil/spec/Makefile30
-rw-r--r--usr/src/lib/libinetutil/spec/Makefile.targ35
-rw-r--r--usr/src/lib/libinetutil/spec/amd64/Makefile44
-rw-r--r--usr/src/lib/libinetutil/spec/i386/Makefile44
-rw-r--r--usr/src/lib/libinetutil/spec/inetutil.spec161
-rw-r--r--usr/src/lib/libinetutil/spec/sparc/Makefile44
-rw-r--r--usr/src/lib/libinetutil/spec/sparcv9/Makefile45
-rw-r--r--usr/src/lib/libinetutil/spec/versions39
-rw-r--r--usr/src/lib/libintl/Makefile.com17
-rw-r--r--usr/src/lib/libipmp/Makefile13
-rw-r--r--usr/src/lib/libipmp/Makefile.com11
-rw-r--r--usr/src/lib/libipmp/common/mapfile-vers52
-rw-r--r--usr/src/lib/libipmp/spec/Makefile29
-rw-r--r--usr/src/lib/libipmp/spec/Makefile.targ32
-rw-r--r--usr/src/lib/libipmp/spec/amd64/Makefile32
-rw-r--r--usr/src/lib/libipmp/spec/i386/Makefile35
-rw-r--r--usr/src/lib/libipmp/spec/ipmp.spec159
-rw-r--r--usr/src/lib/libipmp/spec/sparc/Makefile35
-rw-r--r--usr/src/lib/libipmp/spec/sparcv9/Makefile32
-rw-r--r--usr/src/lib/libipmp/spec/versions42
-rw-r--r--usr/src/lib/libipp/Makefile17
-rw-r--r--usr/src/lib/libipp/Makefile.com14
-rw-r--r--usr/src/lib/libipp/mapfile-vers41
-rw-r--r--usr/src/lib/libipp/spec/Makefile30
-rw-r--r--usr/src/lib/libipp/spec/Makefile.targ35
-rw-r--r--usr/src/lib/libipp/spec/amd64/Makefile44
-rw-r--r--usr/src/lib/libipp/spec/i386/Makefile44
-rw-r--r--usr/src/lib/libipp/spec/libipp.spec83
-rw-r--r--usr/src/lib/libipp/spec/sparc/Makefile44
-rw-r--r--usr/src/lib/libipp/spec/sparcv9/Makefile45
-rw-r--r--usr/src/lib/libipp/spec/versions39
-rw-r--r--usr/src/lib/libipsecutil/Makefile14
-rw-r--r--usr/src/lib/libipsecutil/Makefile.com13
-rw-r--r--usr/src/lib/libipsecutil/common/mapfile-vers74
-rw-r--r--usr/src/lib/libipsecutil/spec/Makefile29
-rw-r--r--usr/src/lib/libipsecutil/spec/Makefile.targ34
-rw-r--r--usr/src/lib/libipsecutil/spec/algs.spec114
-rw-r--r--usr/src/lib/libipsecutil/spec/amd64/Makefile31
-rw-r--r--usr/src/lib/libipsecutil/spec/err.spec83
-rw-r--r--usr/src/lib/libipsecutil/spec/i386/Makefile36
-rw-r--r--usr/src/lib/libipsecutil/spec/ipsec_util.spec166
-rw-r--r--usr/src/lib/libipsecutil/spec/sparc/Makefile36
-rw-r--r--usr/src/lib/libipsecutil/spec/sparcv9/Makefile31
-rw-r--r--usr/src/lib/libipsecutil/spec/versions35
-rwxr-xr-xusr/src/lib/libkrb5/Makefile3
-rwxr-xr-xusr/src/lib/libkrb5/Makefile.com4
-rw-r--r--usr/src/lib/libkrb5/amd64/Makefile3
-rwxr-xr-xusr/src/lib/libkrb5/i386/Makefile3
-rwxr-xr-xusr/src/lib/libkrb5/sparc/Makefile3
-rwxr-xr-xusr/src/lib/libkrb5/sparcv9/Makefile3
-rw-r--r--usr/src/lib/libkstat/Makefile17
-rw-r--r--usr/src/lib/libkstat/Makefile.com18
-rw-r--r--usr/src/lib/libkstat/amd64/Makefile9
-rw-r--r--usr/src/lib/libkstat/common/mapfile-vers48
-rw-r--r--usr/src/lib/libkstat/i386/Makefile14
-rw-r--r--usr/src/lib/libkstat/sparc/Makefile14
-rw-r--r--usr/src/lib/libkstat/sparcv9/Makefile10
-rw-r--r--usr/src/lib/libkstat/spec/Makefile29
-rw-r--r--usr/src/lib/libkstat/spec/Makefile.targ33
-rw-r--r--usr/src/lib/libkstat/spec/amd64/Makefile44
-rw-r--r--usr/src/lib/libkstat/spec/i386/Makefile44
-rw-r--r--usr/src/lib/libkstat/spec/kstat.spec78
-rw-r--r--usr/src/lib/libkstat/spec/sparc/Makefile44
-rw-r--r--usr/src/lib/libkstat/spec/sparcv9/Makefile45
-rw-r--r--usr/src/lib/libkstat/spec/versions47
-rw-r--r--usr/src/lib/libkvm/Makefile19
-rw-r--r--usr/src/lib/libkvm/Makefile.com18
-rw-r--r--usr/src/lib/libkvm/amd64/Makefile8
-rw-r--r--usr/src/lib/libkvm/common/mapfile-vers55
-rw-r--r--usr/src/lib/libkvm/i386/Makefile12
-rw-r--r--usr/src/lib/libkvm/sparc/Makefile12
-rw-r--r--usr/src/lib/libkvm/sparcv9/Makefile12
-rw-r--r--usr/src/lib/libkvm/spec/Makefile29
-rw-r--r--usr/src/lib/libkvm/spec/Makefile.targ33
-rw-r--r--usr/src/lib/libkvm/spec/amd64/Makefile44
-rw-r--r--usr/src/lib/libkvm/spec/i386/Makefile44
-rw-r--r--usr/src/lib/libkvm/spec/kvm.spec173
-rw-r--r--usr/src/lib/libkvm/spec/sparc/Makefile44
-rw-r--r--usr/src/lib/libkvm/spec/sparcv9/Makefile45
-rw-r--r--usr/src/lib/libkvm/spec/versions43
-rw-r--r--usr/src/lib/liblaadm/Makefile17
-rw-r--r--usr/src/lib/liblaadm/Makefile.com13
-rw-r--r--usr/src/lib/liblaadm/common/mapfile-vers49
-rw-r--r--usr/src/lib/liblaadm/spec/Makefile29
-rw-r--r--usr/src/lib/liblaadm/spec/Makefile.targ32
-rw-r--r--usr/src/lib/liblaadm/spec/amd64/Makefile32
-rw-r--r--usr/src/lib/liblaadm/spec/i386/Makefile35
-rw-r--r--usr/src/lib/liblaadm/spec/laadm.spec140
-rw-r--r--usr/src/lib/liblaadm/spec/sparc/Makefile35
-rw-r--r--usr/src/lib/liblaadm/spec/sparcv9/Makefile32
-rw-r--r--usr/src/lib/liblaadm/spec/versions42
-rw-r--r--usr/src/lib/libldap4/Makefile33
-rw-r--r--usr/src/lib/libldap4/Makefile.com32
-rw-r--r--usr/src/lib/libldap4/amd64/Makefile24
-rw-r--r--usr/src/lib/libldap4/common/mapfile-vers216
-rw-r--r--usr/src/lib/libldap4/i386/Makefile29
-rw-r--r--usr/src/lib/libldap4/sparc/Makefile29
-rw-r--r--usr/src/lib/libldap4/sparcv9/Makefile29
-rw-r--r--usr/src/lib/libldap4/spec/Makefile8
-rw-r--r--usr/src/lib/libldap4/spec/Makefile.targ13
-rw-r--r--usr/src/lib/libldap4/spec/amd64/Makefile26
-rw-r--r--usr/src/lib/libldap4/spec/i386/Makefile26
-rw-r--r--usr/src/lib/libldap4/spec/ldap.spec1288
-rw-r--r--usr/src/lib/libldap4/spec/sparc/Makefile26
-rw-r--r--usr/src/lib/libldap4/spec/sparcv9/Makefile27
-rw-r--r--usr/src/lib/libldap4/spec/versions27
-rw-r--r--usr/src/lib/libldap5/Makefile28
-rw-r--r--usr/src/lib/libldap5/Makefile.com7
-rw-r--r--usr/src/lib/libldap5/mapfile-vers252
-rw-r--r--usr/src/lib/libldap5/spec/Makefile10
-rw-r--r--usr/src/lib/libldap5/spec/Makefile.targ15
-rw-r--r--usr/src/lib/libldap5/spec/amd64/Makefile23
-rw-r--r--usr/src/lib/libldap5/spec/i386/Makefile24
-rw-r--r--usr/src/lib/libldap5/spec/ldap.spec1571
-rw-r--r--usr/src/lib/libldap5/spec/sparc/Makefile24
-rw-r--r--usr/src/lib/libldap5/spec/sparcv9/Makefile25
-rw-r--r--usr/src/lib/libldap5/spec/versions31
-rw-r--r--usr/src/lib/liblgrp/Makefile12
-rw-r--r--usr/src/lib/liblgrp/Makefile.com9
-rw-r--r--usr/src/lib/liblgrp/common/mapfile-vers53
-rw-r--r--usr/src/lib/liblgrp/spec/Makefile29
-rw-r--r--usr/src/lib/liblgrp/spec/Makefile.targ34
-rw-r--r--usr/src/lib/liblgrp/spec/amd64/Makefile42
-rw-r--r--usr/src/lib/liblgrp/spec/i386/Makefile41
-rw-r--r--usr/src/lib/liblgrp/spec/lgrp.spec135
-rw-r--r--usr/src/lib/liblgrp/spec/sparc/Makefile43
-rw-r--r--usr/src/lib/liblgrp/spec/sparcv9/Makefile42
-rw-r--r--usr/src/lib/liblgrp/spec/versions43
-rw-r--r--usr/src/lib/liblm/Makefile17
-rw-r--r--usr/src/lib/liblm/Makefile.com16
-rw-r--r--usr/src/lib/liblm/amd64/Makefile8
-rw-r--r--usr/src/lib/liblm/common/mapfile-vers33
-rw-r--r--usr/src/lib/liblm/i386/Makefile14
-rw-r--r--usr/src/lib/liblm/sparc/Makefile14
-rw-r--r--usr/src/lib/liblm/sparcv9/Makefile13
-rw-r--r--usr/src/lib/liblm/spec/Makefile30
-rw-r--r--usr/src/lib/liblm/spec/Makefile.targ35
-rw-r--r--usr/src/lib/liblm/spec/amd64/Makefile44
-rw-r--r--usr/src/lib/liblm/spec/i386/Makefile44
-rw-r--r--usr/src/lib/liblm/spec/lm.spec33
-rw-r--r--usr/src/lib/liblm/spec/sparc/Makefile44
-rw-r--r--usr/src/lib/liblm/spec/sparcv9/Makefile45
-rw-r--r--usr/src/lib/liblm/spec/versions39
-rw-r--r--usr/src/lib/libmacadm/Makefile17
-rw-r--r--usr/src/lib/libmacadm/Makefile.com11
-rw-r--r--usr/src/lib/libmacadm/common/mapfile-vers33
-rw-r--r--usr/src/lib/libmacadm/spec/Makefile29
-rw-r--r--usr/src/lib/libmacadm/spec/Makefile.targ32
-rw-r--r--usr/src/lib/libmacadm/spec/amd64/Makefile32
-rw-r--r--usr/src/lib/libmacadm/spec/i386/Makefile35
-rw-r--r--usr/src/lib/libmacadm/spec/macadm.spec34
-rw-r--r--usr/src/lib/libmacadm/spec/sparc/Makefile35
-rw-r--r--usr/src/lib/libmacadm/spec/sparcv9/Makefile32
-rw-r--r--usr/src/lib/libmacadm/spec/versions42
-rw-r--r--usr/src/lib/libmail/Makefile22
-rw-r--r--usr/src/lib/libmail/Makefile.com20
-rw-r--r--usr/src/lib/libmail/amd64/Makefile7
-rw-r--r--usr/src/lib/libmail/common/mapfile-vers52
-rw-r--r--usr/src/lib/libmail/common/mapfile32-vers47
-rw-r--r--usr/src/lib/libmail/i386/Makefile8
-rw-r--r--usr/src/lib/libmail/sparc/Makefile10
-rw-r--r--usr/src/lib/libmail/sparcv9/Makefile10
-rw-r--r--usr/src/lib/libmail/spec/Makefile30
-rw-r--r--usr/src/lib/libmail/spec/Makefile.targ35
-rw-r--r--usr/src/lib/libmail/spec/amd64/Makefile44
-rw-r--r--usr/src/lib/libmail/spec/i386/Makefile44
-rw-r--r--usr/src/lib/libmail/spec/mail.spec242
-rw-r--r--usr/src/lib/libmail/spec/sparc/Makefile44
-rw-r--r--usr/src/lib/libmail/spec/sparcv9/Makefile45
-rw-r--r--usr/src/lib/libmail/spec/versions43
-rw-r--r--usr/src/lib/libmalloc/Makefile19
-rw-r--r--usr/src/lib/libmalloc/Makefile.com19
-rw-r--r--usr/src/lib/libmalloc/amd64/Makefile8
-rw-r--r--usr/src/lib/libmalloc/common/mapfile-vers54
-rw-r--r--usr/src/lib/libmalloc/i386/Makefile10
-rw-r--r--usr/src/lib/libmalloc/sparc/Makefile10
-rw-r--r--usr/src/lib/libmalloc/sparcv9/Makefile14
-rw-r--r--usr/src/lib/libmalloc/spec/Makefile29
-rw-r--r--usr/src/lib/libmalloc/spec/Makefile.targ33
-rw-r--r--usr/src/lib/libmalloc/spec/amd64/Makefile44
-rw-r--r--usr/src/lib/libmalloc/spec/i386/Makefile44
-rw-r--r--usr/src/lib/libmalloc/spec/malloc.spec108
-rw-r--r--usr/src/lib/libmalloc/spec/sparc/Makefile44
-rw-r--r--usr/src/lib/libmalloc/spec/sparcv9/Makefile45
-rw-r--r--usr/src/lib/libmalloc/spec/versions47
-rw-r--r--usr/src/lib/libmapid/Makefile10
-rw-r--r--usr/src/lib/libmapid/Makefile.com7
-rw-r--r--usr/src/lib/libmapid/common/mapfile-vers36
-rw-r--r--usr/src/lib/libmapid/spec/Makefile55
-rw-r--r--usr/src/lib/libmapid/spec/Makefile.targ30
-rw-r--r--usr/src/lib/libmapid/spec/mapid.spec51
-rw-r--r--usr/src/lib/libmapid/spec/sparc/Makefile39
-rw-r--r--usr/src/lib/libmapmalloc/Makefile20
-rw-r--r--usr/src/lib/libmapmalloc/Makefile.com19
-rw-r--r--usr/src/lib/libmapmalloc/amd64/Makefile9
-rw-r--r--usr/src/lib/libmapmalloc/common/mapfile-vers (renamed from usr/src/lib/fm/libfmd_snmp/spec/sparcv9/Makefile)34
-rw-r--r--usr/src/lib/libmapmalloc/i386/Makefile15
-rw-r--r--usr/src/lib/libmapmalloc/sparc/Makefile15
-rw-r--r--usr/src/lib/libmapmalloc/sparcv9/Makefile15
-rw-r--r--usr/src/lib/libmapmalloc/spec/Makefile29
-rw-r--r--usr/src/lib/libmapmalloc/spec/Makefile.targ33
-rw-r--r--usr/src/lib/libmapmalloc/spec/amd64/Makefile49
-rw-r--r--usr/src/lib/libmapmalloc/spec/i386/Makefile49
-rw-r--r--usr/src/lib/libmapmalloc/spec/mapmalloc.spec85
-rw-r--r--usr/src/lib/libmapmalloc/spec/sparc/Makefile49
-rw-r--r--usr/src/lib/libmapmalloc/spec/sparcv9/Makefile50
-rw-r--r--usr/src/lib/libmapmalloc/spec/versions52
-rw-r--r--usr/src/lib/libmd/Makefile14
-rw-r--r--usr/src/lib/libmd/Makefile.com4
-rw-r--r--usr/src/lib/libmd/common/mapfile-vers54
-rw-r--r--usr/src/lib/libmd/spec/Makefile29
-rw-r--r--usr/src/lib/libmd/spec/Makefile.targ32
-rw-r--r--usr/src/lib/libmd/spec/amd64/Makefile35
-rw-r--r--usr/src/lib/libmd/spec/i386/Makefile34
-rw-r--r--usr/src/lib/libmd/spec/md.spec192
-rw-r--r--usr/src/lib/libmd/spec/sparc/Makefile32
-rw-r--r--usr/src/lib/libmd/spec/sparcv9/Makefile35
-rw-r--r--usr/src/lib/libmd/sun4u/sparc/Makefile7
-rw-r--r--usr/src/lib/libmd/sun4u/sparcv9/Makefile7
-rw-r--r--usr/src/lib/libmd/sun4v/sparc/Makefile7
-rw-r--r--usr/src/lib/libmd/sun4v/sparcv9/Makefile7
-rw-r--r--usr/src/lib/libmd5/Makefile6
-rw-r--r--usr/src/lib/libmd5/Makefile.com12
-rw-r--r--usr/src/lib/libmd5/i386/Makefile10
-rw-r--r--usr/src/lib/libmp/Makefile19
-rw-r--r--usr/src/lib/libmp/Makefile.com26
-rw-r--r--usr/src/lib/libmp/amd64/Makefile9
-rw-r--r--usr/src/lib/libmp/common/mapfile-vers55
-rw-r--r--usr/src/lib/libmp/common/mapfile_1-vers (renamed from usr/src/lib/fm/libfmd_snmp/spec/sparc/Makefile)35
-rw-r--r--usr/src/lib/libmp/i386/Makefile9
-rw-r--r--usr/src/lib/libmp/sparc/Makefile9
-rw-r--r--usr/src/lib/libmp/sparcv9/Makefile14
-rw-r--r--usr/src/lib/libmp/spec/Makefile30
-rw-r--r--usr/src/lib/libmp/spec/Makefile.targ44
-rw-r--r--usr/src/lib/libmp/spec/amd64/Makefile44
-rw-r--r--usr/src/lib/libmp/spec/i386/Makefile44
-rw-r--r--usr/src/lib/libmp/spec/mp.spec140
-rw-r--r--usr/src/lib/libmp/spec/mp_1.spec122
-rw-r--r--usr/src/lib/libmp/spec/sparc/Makefile44
-rw-r--r--usr/src/lib/libmp/spec/sparcv9/Makefile45
-rw-r--r--usr/src/lib/libmp/spec/versions43
-rw-r--r--usr/src/lib/libmtmalloc/Makefile14
-rw-r--r--usr/src/lib/libmtmalloc/Makefile.com21
-rw-r--r--usr/src/lib/libmtmalloc/amd64/Makefile8
-rw-r--r--usr/src/lib/libmtmalloc/common/mapfile-vers (renamed from usr/src/lib/libfstyp/spec/versions)42
-rw-r--r--usr/src/lib/libmtmalloc/i386/Makefile10
-rw-r--r--usr/src/lib/libmtmalloc/sparc/Makefile10
-rw-r--r--usr/src/lib/libmtmalloc/sparcv9/Makefile10
-rw-r--r--usr/src/lib/libmtmalloc/spec/Makefile29
-rw-r--r--usr/src/lib/libmtmalloc/spec/Makefile.targ33
-rw-r--r--usr/src/lib/libmtmalloc/spec/amd64/Makefile44
-rw-r--r--usr/src/lib/libmtmalloc/spec/i386/Makefile44
-rw-r--r--usr/src/lib/libmtmalloc/spec/mtmalloc.spec63
-rw-r--r--usr/src/lib/libmtmalloc/spec/sparc/Makefile44
-rw-r--r--usr/src/lib/libmtmalloc/spec/sparcv9/Makefile45
-rw-r--r--usr/src/lib/libmtmalloc/spec/versions47
-rw-r--r--usr/src/lib/libnisdb/Makefile30
-rw-r--r--usr/src/lib/libnisdb/mapfile-vers184
-rw-r--r--usr/src/lib/libnisdb/spec/Makefile55
-rw-r--r--usr/src/lib/libnisdb/spec/Makefile.targ35
-rw-r--r--usr/src/lib/libnisdb/spec/amd64/Makefile42
-rw-r--r--usr/src/lib/libnisdb/spec/i386/Makefile42
-rw-r--r--usr/src/lib/libnisdb/spec/nisdb.spec609
-rw-r--r--usr/src/lib/libnisdb/spec/sparc/Makefile44
-rw-r--r--usr/src/lib/libnisdb/spec/sparcv9/Makefile43
-rw-r--r--usr/src/lib/libnisdb/spec/versions43
-rw-r--r--usr/src/lib/libnls/Makefile17
-rw-r--r--usr/src/lib/libnls/Makefile.com18
-rw-r--r--usr/src/lib/libnls/amd64/Makefile9
-rw-r--r--usr/src/lib/libnls/common/mapfile-vers45
-rw-r--r--usr/src/lib/libnls/i386/Makefile14
-rw-r--r--usr/src/lib/libnls/sparc/Makefile14
-rw-r--r--usr/src/lib/libnls/sparcv9/Makefile14
-rw-r--r--usr/src/lib/libnls/spec/Makefile29
-rw-r--r--usr/src/lib/libnls/spec/Makefile.targ34
-rw-r--r--usr/src/lib/libnls/spec/amd64/Makefile44
-rw-r--r--usr/src/lib/libnls/spec/i386/Makefile43
-rw-r--r--usr/src/lib/libnls/spec/nls.spec78
-rw-r--r--usr/src/lib/libnls/spec/sparc/Makefile43
-rw-r--r--usr/src/lib/libnls/spec/sparcv9/Makefile44
-rw-r--r--usr/src/lib/libnls/spec/versions46
-rw-r--r--usr/src/lib/libnsl/Makefile12
-rw-r--r--usr/src/lib/libnsl/Makefile.com14
-rw-r--r--usr/src/lib/libnsl/amd64/mapfile-vers175
-rw-r--r--usr/src/lib/libnsl/common/mapfile-vers750
-rw-r--r--usr/src/lib/libnsl/i386/mapfile-vers184
-rw-r--r--usr/src/lib/libnsl/sparc/mapfile-vers188
-rw-r--r--usr/src/lib/libnsl/sparcv9/mapfile-vers175
-rw-r--r--usr/src/lib/libnsl/spec/Makefile29
-rw-r--r--usr/src/lib/libnsl/spec/Makefile.targ47
-rw-r--r--usr/src/lib/libnsl/spec/amd64/Makefile44
-rw-r--r--usr/src/lib/libnsl/spec/des.spec33
-rw-r--r--usr/src/lib/libnsl/spec/dial.spec40
-rw-r--r--usr/src/lib/libnsl/spec/i386/Makefile44
-rw-r--r--usr/src/lib/libnsl/spec/inet.spec82
-rw-r--r--usr/src/lib/libnsl/spec/ipsec.spec101
-rw-r--r--usr/src/lib/libnsl/spec/netdir.spec85
-rw-r--r--usr/src/lib/libnsl/spec/nis.spec452
-rw-r--r--usr/src/lib/libnsl/spec/nsl.spec288
-rw-r--r--usr/src/lib/libnsl/spec/private.spec1541
-rw-r--r--usr/src/lib/libnsl/spec/rpc.spec1039
-rw-r--r--usr/src/lib/libnsl/spec/sparc/Makefile44
-rw-r--r--usr/src/lib/libnsl/spec/sparcv9/Makefile45
-rw-r--r--usr/src/lib/libnsl/spec/tli.spec213
-rw-r--r--usr/src/lib/libnsl/spec/versions119
-rw-r--r--usr/src/lib/libnsl/spec/xdr.spec385
-rw-r--r--usr/src/lib/libnsl/spec/xti.spec255
-rw-r--r--usr/src/lib/libnsl/spec/yp.spec135
-rw-r--r--usr/src/lib/libnvpair/Makefile20
-rw-r--r--usr/src/lib/libnvpair/Makefile.com13
-rw-r--r--usr/src/lib/libnvpair/mapfile-vers146
-rw-r--r--usr/src/lib/libnvpair/spec/Makefile30
-rw-r--r--usr/src/lib/libnvpair/spec/Makefile.targ35
-rw-r--r--usr/src/lib/libnvpair/spec/amd64/Makefile42
-rw-r--r--usr/src/lib/libnvpair/spec/i386/Makefile42
-rw-r--r--usr/src/lib/libnvpair/spec/nvpair.spec703
-rw-r--r--usr/src/lib/libnvpair/spec/sparc/Makefile44
-rw-r--r--usr/src/lib/libnvpair/spec/sparcv9/Makefile43
-rw-r--r--usr/src/lib/libnvpair/spec/versions54
-rw-r--r--usr/src/lib/libpam/Makefile16
-rw-r--r--usr/src/lib/libpam/Makefile.com13
-rw-r--r--usr/src/lib/libpam/mapfile-vers65
-rw-r--r--usr/src/lib/libpam/spec/Makefile29
-rw-r--r--usr/src/lib/libpam/spec/Makefile.targ33
-rw-r--r--usr/src/lib/libpam/spec/amd64/Makefile44
-rw-r--r--usr/src/lib/libpam/spec/i386/Makefile44
-rw-r--r--usr/src/lib/libpam/spec/pam.spec266
-rw-r--r--usr/src/lib/libpam/spec/sparc/Makefile44
-rw-r--r--usr/src/lib/libpam/spec/sparcv9/Makefile45
-rw-r--r--usr/src/lib/libpam/spec/versions52
-rw-r--r--usr/src/lib/libpcp/Makefile.com16
-rw-r--r--usr/src/lib/libpctx/Makefile16
-rw-r--r--usr/src/lib/libpctx/Makefile.com11
-rw-r--r--usr/src/lib/libpctx/common/mapfile-vers43
-rw-r--r--usr/src/lib/libpctx/spec/Makefile30
-rw-r--r--usr/src/lib/libpctx/spec/Makefile.targ33
-rw-r--r--usr/src/lib/libpctx/spec/amd64/Makefile44
-rw-r--r--usr/src/lib/libpctx/spec/i386/Makefile44
-rw-r--r--usr/src/lib/libpctx/spec/pctx.spec80
-rw-r--r--usr/src/lib/libpctx/spec/sparc/Makefile44
-rw-r--r--usr/src/lib/libpctx/spec/sparcv9/Makefile45
-rw-r--r--usr/src/lib/libpctx/spec/versions43
-rw-r--r--usr/src/lib/libpicl/Makefile17
-rw-r--r--usr/src/lib/libpicl/Makefile.com11
-rw-r--r--usr/src/lib/libpicl/mapfile-vers60
-rw-r--r--usr/src/lib/libpicl/spec/Makefile30
-rw-r--r--usr/src/lib/libpicl/spec/Makefile.targ34
-rw-r--r--usr/src/lib/libpicl/spec/amd64/Makefile47
-rw-r--r--usr/src/lib/libpicl/spec/i386/Makefile51
-rw-r--r--usr/src/lib/libpicl/spec/picl.spec147
-rw-r--r--usr/src/lib/libpicl/spec/sparc/Makefile51
-rw-r--r--usr/src/lib/libpicl/spec/sparcv9/Makefile50
-rw-r--r--usr/src/lib/libpicl/spec/versions49
-rw-r--r--usr/src/lib/libpicltree/Makefile17
-rw-r--r--usr/src/lib/libpicltree/Makefile.com11
-rw-r--r--usr/src/lib/libpicltree/mapfile-vers97
-rw-r--r--usr/src/lib/libpicltree/spec/Makefile64
-rw-r--r--usr/src/lib/libpicltree/spec/Makefile.targ32
-rw-r--r--usr/src/lib/libpicltree/spec/i386/Makefile51
-rw-r--r--usr/src/lib/libpicltree/spec/picltree.spec303
-rw-r--r--usr/src/lib/libpicltree/spec/sparc/Makefile50
-rw-r--r--usr/src/lib/libpicltree/spec/versions57
-rw-r--r--usr/src/lib/libplot/plot/Makefile21
-rw-r--r--usr/src/lib/libplot/plot/Makefile.com19
-rw-r--r--usr/src/lib/libplot/plot/amd64/Makefile9
-rw-r--r--usr/src/lib/libplot/plot/common/mapfile-vers54
-rw-r--r--usr/src/lib/libplot/plot/i386/Makefile14
-rw-r--r--usr/src/lib/libplot/plot/sparc/Makefile14
-rw-r--r--usr/src/lib/libplot/plot/sparcv9/Makefile14
-rw-r--r--usr/src/lib/libplot/plot/spec/Makefile30
-rw-r--r--usr/src/lib/libplot/plot/spec/Makefile.targ36
-rw-r--r--usr/src/lib/libplot/plot/spec/amd64/Makefile42
-rw-r--r--usr/src/lib/libplot/plot/spec/i386/Makefile42
-rw-r--r--usr/src/lib/libplot/plot/spec/plot.spec133
-rw-r--r--usr/src/lib/libplot/plot/spec/sparc/Makefile44
-rw-r--r--usr/src/lib/libplot/plot/spec/sparcv9/Makefile43
-rw-r--r--usr/src/lib/libplot/plot/spec/versions43
-rw-r--r--usr/src/lib/libplot/t300/Makefile18
-rw-r--r--usr/src/lib/libplot/t300/Makefile.com21
-rw-r--r--usr/src/lib/libplot/t300/amd64/Makefile9
-rw-r--r--usr/src/lib/libplot/t300/common/mapfile-vers79
-rw-r--r--usr/src/lib/libplot/t300/i386/Makefile14
-rw-r--r--usr/src/lib/libplot/t300/sparc/Makefile14
-rw-r--r--usr/src/lib/libplot/t300/sparcv9/Makefile14
-rw-r--r--usr/src/lib/libplot/t300/spec/Makefile30
-rw-r--r--usr/src/lib/libplot/t300/spec/Makefile.targ34
-rw-r--r--usr/src/lib/libplot/t300/spec/amd64/Makefile42
-rw-r--r--usr/src/lib/libplot/t300/spec/i386/Makefile42
-rw-r--r--usr/src/lib/libplot/t300/spec/sparc/Makefile44
-rw-r--r--usr/src/lib/libplot/t300/spec/sparcv9/Makefile43
-rw-r--r--usr/src/lib/libplot/t300/spec/t300.spec200
-rw-r--r--usr/src/lib/libplot/t300/spec/versions43
-rw-r--r--usr/src/lib/libplot/t300s/Makefile18
-rw-r--r--usr/src/lib/libplot/t300s/Makefile.com19
-rw-r--r--usr/src/lib/libplot/t300s/amd64/Makefile9
-rw-r--r--usr/src/lib/libplot/t300s/common/mapfile-vers81
-rw-r--r--usr/src/lib/libplot/t300s/i386/Makefile14
-rw-r--r--usr/src/lib/libplot/t300s/sparc/Makefile14
-rw-r--r--usr/src/lib/libplot/t300s/sparcv9/Makefile14
-rw-r--r--usr/src/lib/libplot/t300s/spec/Makefile30
-rw-r--r--usr/src/lib/libplot/t300s/spec/Makefile.targ35
-rw-r--r--usr/src/lib/libplot/t300s/spec/amd64/Makefile42
-rw-r--r--usr/src/lib/libplot/t300s/spec/i386/Makefile42
-rw-r--r--usr/src/lib/libplot/t300s/spec/sparc/Makefile44
-rw-r--r--usr/src/lib/libplot/t300s/spec/sparcv9/Makefile43
-rw-r--r--usr/src/lib/libplot/t300s/spec/t300s.spec208
-rw-r--r--usr/src/lib/libplot/t300s/spec/versions43
-rw-r--r--usr/src/lib/libplot/t4014/Makefile18
-rw-r--r--usr/src/lib/libplot/t4014/Makefile.com21
-rw-r--r--usr/src/lib/libplot/t4014/amd64/Makefile9
-rw-r--r--usr/src/lib/libplot/t4014/common/mapfile-vers65
-rw-r--r--usr/src/lib/libplot/t4014/i386/Makefile14
-rw-r--r--usr/src/lib/libplot/t4014/sparc/Makefile14
-rw-r--r--usr/src/lib/libplot/t4014/sparcv9/Makefile14
-rw-r--r--usr/src/lib/libplot/t4014/spec/Makefile30
-rw-r--r--usr/src/lib/libplot/t4014/spec/Makefile.targ35
-rw-r--r--usr/src/lib/libplot/t4014/spec/amd64/Makefile42
-rw-r--r--usr/src/lib/libplot/t4014/spec/i386/Makefile42
-rw-r--r--usr/src/lib/libplot/t4014/spec/sparc/Makefile44
-rw-r--r--usr/src/lib/libplot/t4014/spec/sparcv9/Makefile43
-rw-r--r--usr/src/lib/libplot/t4014/spec/t4014.spec144
-rw-r--r--usr/src/lib/libplot/t4014/spec/versions43
-rw-r--r--usr/src/lib/libplot/t450/Makefile18
-rw-r--r--usr/src/lib/libplot/t450/Makefile.com19
-rw-r--r--usr/src/lib/libplot/t450/amd64/Makefile9
-rw-r--r--usr/src/lib/libplot/t450/common/mapfile-vers79
-rw-r--r--usr/src/lib/libplot/t450/i386/Makefile14
-rw-r--r--usr/src/lib/libplot/t450/sparc/Makefile14
-rw-r--r--usr/src/lib/libplot/t450/sparcv9/Makefile14
-rw-r--r--usr/src/lib/libplot/t450/spec/Makefile30
-rw-r--r--usr/src/lib/libplot/t450/spec/Makefile.targ35
-rw-r--r--usr/src/lib/libplot/t450/spec/amd64/Makefile42
-rw-r--r--usr/src/lib/libplot/t450/spec/i386/Makefile42
-rw-r--r--usr/src/lib/libplot/t450/spec/sparc/Makefile44
-rw-r--r--usr/src/lib/libplot/t450/spec/sparcv9/Makefile43
-rw-r--r--usr/src/lib/libplot/t450/spec/t450.spec200
-rw-r--r--usr/src/lib/libplot/t450/spec/versions43
-rw-r--r--usr/src/lib/libplot/vt0/Makefile19
-rw-r--r--usr/src/lib/libplot/vt0/Makefile.com19
-rw-r--r--usr/src/lib/libplot/vt0/amd64/Makefile8
-rw-r--r--usr/src/lib/libplot/vt0/common/mapfile-vers67
-rw-r--r--usr/src/lib/libplot/vt0/i386/Makefile14
-rw-r--r--usr/src/lib/libplot/vt0/sparc/Makefile13
-rw-r--r--usr/src/lib/libplot/vt0/sparcv9/Makefile13
-rw-r--r--usr/src/lib/libplot/vt0/spec/Makefile30
-rw-r--r--usr/src/lib/libplot/vt0/spec/Makefile.targ35
-rw-r--r--usr/src/lib/libplot/vt0/spec/amd64/Makefile42
-rw-r--r--usr/src/lib/libplot/vt0/spec/i386/Makefile42
-rw-r--r--usr/src/lib/libplot/vt0/spec/sparc/Makefile44
-rw-r--r--usr/src/lib/libplot/vt0/spec/sparcv9/Makefile43
-rw-r--r--usr/src/lib/libplot/vt0/spec/versions43
-rw-r--r--usr/src/lib/libplot/vt0/spec/vt0.spec154
-rw-r--r--usr/src/lib/libpool/Makefile19
-rw-r--r--usr/src/lib/libpool/Makefile.com13
-rw-r--r--usr/src/lib/libpool/common/mapfile-vers108
-rw-r--r--usr/src/lib/libpool/spec/Makefile31
-rw-r--r--usr/src/lib/libpool/spec/Makefile.targ34
-rw-r--r--usr/src/lib/libpool/spec/amd64/Makefile37
-rw-r--r--usr/src/lib/libpool/spec/i386/Makefile37
-rw-r--r--usr/src/lib/libpool/spec/pool.spec510
-rw-r--r--usr/src/lib/libpool/spec/sparc/Makefile37
-rw-r--r--usr/src/lib/libpool/spec/sparcv9/Makefile39
-rw-r--r--usr/src/lib/libpool/spec/versions43
-rw-r--r--usr/src/lib/libproc/Makefile22
-rw-r--r--usr/src/lib/libproc/Makefile.com14
-rw-r--r--usr/src/lib/libproc/amd64/mapfile-vers (renamed from usr/src/lib/libdisasm/spec/Makefile)5
-rw-r--r--usr/src/lib/libproc/common/mapfile-vers281
-rw-r--r--usr/src/lib/libproc/i386/mapfile-vers33
-rw-r--r--usr/src/lib/libproc/sparc/mapfile-vers36
-rw-r--r--usr/src/lib/libproc/sparcv9/mapfile-vers38
-rw-r--r--usr/src/lib/libproc/spec/Makefile29
-rw-r--r--usr/src/lib/libproc/spec/Makefile.targ32
-rw-r--r--usr/src/lib/libproc/spec/amd64/Makefile44
-rw-r--r--usr/src/lib/libproc/spec/i386/Makefile44
-rw-r--r--usr/src/lib/libproc/spec/proc.spec1056
-rw-r--r--usr/src/lib/libproc/spec/sparc/Makefile44
-rw-r--r--usr/src/lib/libproc/spec/sparcv9/Makefile45
-rw-r--r--usr/src/lib/libproc/spec/versions64
-rw-r--r--usr/src/lib/libproject/Makefile18
-rw-r--r--usr/src/lib/libproject/Makefile.com17
-rw-r--r--usr/src/lib/libproject/amd64/Makefile8
-rw-r--r--usr/src/lib/libproject/common/mapfile-vers53
-rw-r--r--usr/src/lib/libproject/i386/Makefile14
-rw-r--r--usr/src/lib/libproject/sparc/Makefile14
-rw-r--r--usr/src/lib/libproject/sparcv9/Makefile14
-rw-r--r--usr/src/lib/libproject/spec/Makefile31
-rw-r--r--usr/src/lib/libproject/spec/Makefile.targ34
-rw-r--r--usr/src/lib/libproject/spec/amd64/Makefile44
-rw-r--r--usr/src/lib/libproject/spec/i386/Makefile37
-rw-r--r--usr/src/lib/libproject/spec/project.spec102
-rw-r--r--usr/src/lib/libproject/spec/sparc/Makefile45
-rw-r--r--usr/src/lib/libproject/spec/sparcv9/Makefile46
-rw-r--r--usr/src/lib/libproject/spec/versions47
-rw-r--r--usr/src/lib/libprtdiag/Makefile.com3
-rw-r--r--usr/src/lib/libprtdiag_psr/sparc/Makefile.com10
-rw-r--r--usr/src/lib/libpthread/Makefile.com16
-rw-r--r--usr/src/lib/librcm/Makefile23
-rw-r--r--usr/src/lib/librcm/Makefile.com11
-rw-r--r--usr/src/lib/librcm/mapfile-vers80
-rw-r--r--usr/src/lib/librcm/spec/Makefile30
-rw-r--r--usr/src/lib/librcm/spec/Makefile.targ35
-rw-r--r--usr/src/lib/librcm/spec/amd64/Makefile42
-rw-r--r--usr/src/lib/librcm/spec/i386/Makefile42
-rw-r--r--usr/src/lib/librcm/spec/rcm.spec324
-rw-r--r--usr/src/lib/librcm/spec/rcm_event.spec45
-rw-r--r--usr/src/lib/librcm/spec/sparc/Makefile44
-rw-r--r--usr/src/lib/librcm/spec/sparcv9/Makefile43
-rw-r--r--usr/src/lib/librcm/spec/versions41
-rw-r--r--usr/src/lib/libresolv/Makefile42
-rw-r--r--usr/src/lib/libresolv/mapfile-vers65
-rw-r--r--usr/src/lib/libresolv/spec/Makefile55
-rw-r--r--usr/src/lib/libresolv/spec/Makefile.targ35
-rw-r--r--usr/src/lib/libresolv/spec/amd64/Makefile44
-rw-r--r--usr/src/lib/libresolv/spec/i386/Makefile44
-rw-r--r--usr/src/lib/libresolv/spec/res_mkquery.spec75
-rw-r--r--usr/src/lib/libresolv/spec/resolv.spec135
-rw-r--r--usr/src/lib/libresolv/spec/sparc/Makefile44
-rw-r--r--usr/src/lib/libresolv/spec/sparcv9/Makefile45
-rw-r--r--usr/src/lib/libresolv/spec/versions51
-rw-r--r--usr/src/lib/libresolv2/Makefile26
-rw-r--r--usr/src/lib/libresolv2/Makefile.com34
-rw-r--r--usr/src/lib/libresolv2/amd64/Makefile22
-rw-r--r--usr/src/lib/libresolv2/common/mapfile-vers312
-rw-r--r--usr/src/lib/libresolv2/cylink/Makefile32
-rw-r--r--usr/src/lib/libresolv2/cylink/Makefile.com26
-rw-r--r--usr/src/lib/libresolv2/cylink/amd64/Makefile24
-rw-r--r--usr/src/lib/libresolv2/cylink/mapfile-vers33
-rw-r--r--usr/src/lib/libresolv2/cylink/spec/Makefile8
-rw-r--r--usr/src/lib/libresolv2/cylink/spec/Makefile.targ12
-rw-r--r--usr/src/lib/libresolv2/cylink/spec/amd64/Makefile26
-rw-r--r--usr/src/lib/libresolv2/cylink/spec/cylink.spec11
-rw-r--r--usr/src/lib/libresolv2/cylink/spec/i386/Makefile26
-rw-r--r--usr/src/lib/libresolv2/cylink/spec/sparc/Makefile26
-rw-r--r--usr/src/lib/libresolv2/cylink/spec/sparcv9/Makefile27
-rw-r--r--usr/src/lib/libresolv2/cylink/spec/versions19
-rw-r--r--usr/src/lib/libresolv2/dnssafe/Makefile32
-rw-r--r--usr/src/lib/libresolv2/dnssafe/Makefile.com28
-rw-r--r--usr/src/lib/libresolv2/dnssafe/amd64/Makefile24
-rw-r--r--usr/src/lib/libresolv2/dnssafe/mapfile-vers36
-rw-r--r--usr/src/lib/libresolv2/dnssafe/spec/Makefile8
-rw-r--r--usr/src/lib/libresolv2/dnssafe/spec/Makefile.targ12
-rw-r--r--usr/src/lib/libresolv2/dnssafe/spec/amd64/Makefile26
-rw-r--r--usr/src/lib/libresolv2/dnssafe/spec/dnssafe.spec23
-rw-r--r--usr/src/lib/libresolv2/dnssafe/spec/i386/Makefile26
-rw-r--r--usr/src/lib/libresolv2/dnssafe/spec/sparc/Makefile26
-rw-r--r--usr/src/lib/libresolv2/dnssafe/spec/sparcv9/Makefile27
-rw-r--r--usr/src/lib/libresolv2/dnssafe/spec/versions19
-rw-r--r--usr/src/lib/libresolv2/i386/Makefile23
-rw-r--r--usr/src/lib/libresolv2/irs/Makefile32
-rw-r--r--usr/src/lib/libresolv2/irs/Makefile.com28
-rw-r--r--usr/src/lib/libresolv2/irs/amd64/Makefile24
-rw-r--r--usr/src/lib/libresolv2/irs/mapfile-vers (renamed from usr/src/lib/fm/libfmd_snmp/spec/Makefile.targ)13
-rw-r--r--usr/src/lib/libresolv2/irs/spec/Makefile8
-rw-r--r--usr/src/lib/libresolv2/irs/spec/Makefile.targ12
-rw-r--r--usr/src/lib/libresolv2/irs/spec/amd64/Makefile26
-rw-r--r--usr/src/lib/libresolv2/irs/spec/i386/Makefile26
-rw-r--r--usr/src/lib/libresolv2/irs/spec/irs.spec15
-rw-r--r--usr/src/lib/libresolv2/irs/spec/sparc/Makefile26
-rw-r--r--usr/src/lib/libresolv2/irs/spec/sparcv9/Makefile27
-rw-r--r--usr/src/lib/libresolv2/irs/spec/versions19
-rw-r--r--usr/src/lib/libresolv2/sparc/Makefile23
-rw-r--r--usr/src/lib/libresolv2/sparcv9/Makefile23
-rw-r--r--usr/src/lib/libresolv2/spec/Makefile8
-rw-r--r--usr/src/lib/libresolv2/spec/Makefile.targ12
-rw-r--r--usr/src/lib/libresolv2/spec/amd64/Makefile23
-rw-r--r--usr/src/lib/libresolv2/spec/i386/Makefile23
-rw-r--r--usr/src/lib/libresolv2/spec/resolv2.spec1096
-rw-r--r--usr/src/lib/libresolv2/spec/sparc/Makefile23
-rw-r--r--usr/src/lib/libresolv2/spec/sparcv9/Makefile24
-rw-r--r--usr/src/lib/libresolv2/spec/versions35
-rw-r--r--usr/src/lib/librestart/Makefile15
-rw-r--r--usr/src/lib/librestart/Makefile.com15
-rw-r--r--usr/src/lib/librestart/common/mapfile-vers (renamed from usr/src/lib/fm/libfmd_snmp/spec/fmd_snmp.spec)80
-rw-r--r--usr/src/lib/librestart/spec/Makefile28
-rw-r--r--usr/src/lib/librestart/spec/Makefile.targ34
-rw-r--r--usr/src/lib/librestart/spec/amd64/Makefile44
-rw-r--r--usr/src/lib/librestart/spec/i386/Makefile43
-rw-r--r--usr/src/lib/librestart/spec/librestart.spec160
-rw-r--r--usr/src/lib/librestart/spec/sparc/Makefile43
-rw-r--r--usr/src/lib/librestart/spec/sparcv9/Makefile44
-rw-r--r--usr/src/lib/librestart/spec/versions40
-rw-r--r--usr/src/lib/librpcsvc/Makefile21
-rw-r--r--usr/src/lib/librpcsvc/Makefile.com24
-rw-r--r--usr/src/lib/librpcsvc/amd64/Makefile13
-rw-r--r--usr/src/lib/librpcsvc/common/mapfile-vers136
-rw-r--r--usr/src/lib/librpcsvc/i386/Makefile10
-rw-r--r--usr/src/lib/librpcsvc/sparc/Makefile10
-rw-r--r--usr/src/lib/librpcsvc/sparcv9/Makefile14
-rw-r--r--usr/src/lib/librpcsvc/spec/Makefile29
-rw-r--r--usr/src/lib/librpcsvc/spec/Makefile.targ33
-rw-r--r--usr/src/lib/librpcsvc/spec/amd64/Makefile44
-rw-r--r--usr/src/lib/librpcsvc/spec/i386/Makefile44
-rw-r--r--usr/src/lib/librpcsvc/spec/rpcsvc.spec407
-rw-r--r--usr/src/lib/librpcsvc/spec/sparc/Makefile44
-rw-r--r--usr/src/lib/librpcsvc/spec/sparcv9/Makefile45
-rw-r--r--usr/src/lib/librpcsvc/spec/versions52
-rw-r--r--usr/src/lib/librsc/Makefile.com12
-rw-r--r--usr/src/lib/librsm/Makefile18
-rw-r--r--usr/src/lib/librsm/Makefile.com17
-rw-r--r--usr/src/lib/librsm/amd64/Makefile9
-rw-r--r--usr/src/lib/librsm/common/mapfile-vers116
-rw-r--r--usr/src/lib/librsm/i386/Makefile11
-rw-r--r--usr/src/lib/librsm/sparc/Makefile11
-rw-r--r--usr/src/lib/librsm/sparcv9/Makefile11
-rw-r--r--usr/src/lib/librsm/spec/Makefile30
-rw-r--r--usr/src/lib/librsm/spec/Makefile.targ34
-rw-r--r--usr/src/lib/librsm/spec/amd64/Makefile44
-rw-r--r--usr/src/lib/librsm/spec/i386/Makefile44
-rw-r--r--usr/src/lib/librsm/spec/rsm.spec532
-rw-r--r--usr/src/lib/librsm/spec/sparc/Makefile44
-rw-r--r--usr/src/lib/librsm/spec/sparcv9/Makefile45
-rw-r--r--usr/src/lib/librsm/spec/versions39
-rw-r--r--usr/src/lib/librt/Makefile.com8
-rw-r--r--usr/src/lib/libsasl/Makefile31
-rw-r--r--usr/src/lib/libsasl/Makefile.com24
-rw-r--r--usr/src/lib/libsasl/lib/mapfile-vers95
-rw-r--r--usr/src/lib/libsasl/spec/Makefile10
-rw-r--r--usr/src/lib/libsasl/spec/Makefile.targ15
-rw-r--r--usr/src/lib/libsasl/spec/amd64/Makefile15
-rw-r--r--usr/src/lib/libsasl/spec/i386/Makefile16
-rw-r--r--usr/src/lib/libsasl/spec/sasl.spec478
-rw-r--r--usr/src/lib/libsasl/spec/sparc/Makefile16
-rw-r--r--usr/src/lib/libsasl/spec/sparcv9/Makefile17
-rw-r--r--usr/src/lib/libsasl/spec/versions23
-rw-r--r--usr/src/lib/libscf/Makefile17
-rw-r--r--usr/src/lib/libscf/Makefile.com13
-rw-r--r--usr/src/lib/libscf/common/mapfile-vers230
-rw-r--r--usr/src/lib/libscf/spec/Makefile28
-rw-r--r--usr/src/lib/libscf/spec/Makefile.targ35
-rw-r--r--usr/src/lib/libscf/spec/amd64/Makefile41
-rw-r--r--usr/src/lib/libscf/spec/i386/Makefile43
-rw-r--r--usr/src/lib/libscf/spec/lowlevel.spec1023
-rw-r--r--usr/src/lib/libscf/spec/midlevel.spec196
-rw-r--r--usr/src/lib/libscf/spec/sparc/Makefile43
-rw-r--r--usr/src/lib/libscf/spec/sparcv9/Makefile44
-rw-r--r--usr/src/lib/libscf/spec/versions44
-rw-r--r--usr/src/lib/libsched/Makefile.com12
-rw-r--r--usr/src/lib/libsctp/Makefile15
-rw-r--r--usr/src/lib/libsctp/Makefile.com12
-rw-r--r--usr/src/lib/libsctp/common/mapfile-vers42
-rw-r--r--usr/src/lib/libsctp/spec/Makefile29
-rw-r--r--usr/src/lib/libsctp/spec/Makefile.targ35
-rw-r--r--usr/src/lib/libsctp/spec/amd64/Makefile44
-rw-r--r--usr/src/lib/libsctp/spec/i386/Makefile43
-rw-r--r--usr/src/lib/libsctp/spec/sctp.spec110
-rw-r--r--usr/src/lib/libsctp/spec/sparc/Makefile43
-rw-r--r--usr/src/lib/libsctp/spec/sparcv9/Makefile44
-rw-r--r--usr/src/lib/libsctp/spec/versions39
-rw-r--r--usr/src/lib/libsec/Makefile15
-rw-r--r--usr/src/lib/libsec/Makefile.com8
-rw-r--r--usr/src/lib/libsec/amd64/Makefile9
-rw-r--r--usr/src/lib/libsec/common/mapfile-vers79
-rw-r--r--usr/src/lib/libsec/i386/Makefile14
-rw-r--r--usr/src/lib/libsec/sparc/Makefile14
-rw-r--r--usr/src/lib/libsec/sparcv9/Makefile14
-rw-r--r--usr/src/lib/libsec/spec/Makefile29
-rw-r--r--usr/src/lib/libsec/spec/Makefile.targ33
-rw-r--r--usr/src/lib/libsec/spec/acl.spec238
-rw-r--r--usr/src/lib/libsec/spec/amd64/Makefile44
-rw-r--r--usr/src/lib/libsec/spec/i386/Makefile44
-rw-r--r--usr/src/lib/libsec/spec/sparc/Makefile44
-rw-r--r--usr/src/lib/libsec/spec/sparcv9/Makefile45
-rw-r--r--usr/src/lib/libsec/spec/versions55
-rw-r--r--usr/src/lib/libsecdb/Makefile17
-rw-r--r--usr/src/lib/libsecdb/Makefile.com11
-rw-r--r--usr/src/lib/libsecdb/common/mapfile-vers76
-rw-r--r--usr/src/lib/libsecdb/spec/Makefile30
-rw-r--r--usr/src/lib/libsecdb/spec/Makefile.targ40
-rw-r--r--usr/src/lib/libsecdb/spec/amd64/Makefile44
-rw-r--r--usr/src/lib/libsecdb/spec/chkauthattr.spec34
-rw-r--r--usr/src/lib/libsecdb/spec/getauthattr.spec59
-rw-r--r--usr/src/lib/libsecdb/spec/getexecattr.spec76
-rw-r--r--usr/src/lib/libsecdb/spec/getprofattr.spec71
-rw-r--r--usr/src/lib/libsecdb/spec/getuserattr.spec73
-rw-r--r--usr/src/lib/libsecdb/spec/i386/Makefile44
-rw-r--r--usr/src/lib/libsecdb/spec/private.spec107
-rw-r--r--usr/src/lib/libsecdb/spec/secdb.spec34
-rw-r--r--usr/src/lib/libsecdb/spec/sparc/Makefile44
-rw-r--r--usr/src/lib/libsecdb/spec/sparcv9/Makefile45
-rw-r--r--usr/src/lib/libsecdb/spec/versions43
-rw-r--r--usr/src/lib/libsendfile/Makefile15
-rw-r--r--usr/src/lib/libsendfile/Makefile.com10
-rw-r--r--usr/src/lib/libsendfile/amd64/Makefile9
-rw-r--r--usr/src/lib/libsendfile/common/mapfile-vers34
-rw-r--r--usr/src/lib/libsendfile/common/mapfile32-vers32
-rw-r--r--usr/src/lib/libsendfile/i386/Makefile11
-rw-r--r--usr/src/lib/libsendfile/sparc/Makefile11
-rw-r--r--usr/src/lib/libsendfile/sparcv9/Makefile11
-rw-r--r--usr/src/lib/libsendfile/spec/Makefile29
-rw-r--r--usr/src/lib/libsendfile/spec/Makefile.targ34
-rw-r--r--usr/src/lib/libsendfile/spec/amd64/Makefile42
-rw-r--r--usr/src/lib/libsendfile/spec/i386/Makefile42
-rw-r--r--usr/src/lib/libsendfile/spec/sendfile.spec67
-rw-r--r--usr/src/lib/libsendfile/spec/sparc/Makefile44
-rw-r--r--usr/src/lib/libsendfile/spec/sparcv9/Makefile43
-rw-r--r--usr/src/lib/libsendfile/spec/versions39
-rw-r--r--usr/src/lib/libsldap/Makefile18
-rw-r--r--usr/src/lib/libsldap/Makefile.com2
-rw-r--r--usr/src/lib/libsldap/common/mapfile-vers94
-rw-r--r--usr/src/lib/libsldap/spec/Makefile31
-rw-r--r--usr/src/lib/libsldap/spec/Makefile.targ36
-rw-r--r--usr/src/lib/libsldap/spec/amd64/Makefile44
-rw-r--r--usr/src/lib/libsldap/spec/i386/Makefile45
-rw-r--r--usr/src/lib/libsldap/spec/sldap.spec563
-rw-r--r--usr/src/lib/libsldap/spec/sparc/Makefile45
-rw-r--r--usr/src/lib/libsldap/spec/sparcv9/Makefile46
-rw-r--r--usr/src/lib/libsldap/spec/versions39
-rw-r--r--usr/src/lib/libslp/Makefile17
-rw-r--r--usr/src/lib/libslp/Makefile.com8
-rw-r--r--usr/src/lib/libslp/amd64/Makefile9
-rw-r--r--usr/src/lib/libslp/clib/mapfile-vers54
-rw-r--r--usr/src/lib/libslp/i386/Makefile13
-rw-r--r--usr/src/lib/libslp/sparc/Makefile13
-rw-r--r--usr/src/lib/libslp/sparcv9/Makefile13
-rw-r--r--usr/src/lib/libslp/spec/Makefile30
-rw-r--r--usr/src/lib/libslp/spec/Makefile.targ37
-rw-r--r--usr/src/lib/libslp/spec/amd64/Makefile42
-rw-r--r--usr/src/lib/libslp/spec/i386/Makefile42
-rw-r--r--usr/src/lib/libslp/spec/slp.spec171
-rw-r--r--usr/src/lib/libslp/spec/sparc/Makefile44
-rw-r--r--usr/src/lib/libslp/spec/sparcv9/Makefile43
-rw-r--r--usr/src/lib/libslp/spec/versions43
-rw-r--r--usr/src/lib/libsmbios/Makefile16
-rw-r--r--usr/src/lib/libsmbios/Makefile.com12
-rw-r--r--usr/src/lib/libsmbios/amd64/Makefile11
-rw-r--r--usr/src/lib/libsmbios/common/mapfile-vers119
-rw-r--r--usr/src/lib/libsmbios/i386/Makefile11
-rw-r--r--usr/src/lib/libsmbios/sparc/Makefile11
-rw-r--r--usr/src/lib/libsmbios/sparcv9/Makefile11
-rw-r--r--usr/src/lib/libsmbios/spec/Makefile28
-rw-r--r--usr/src/lib/libsmbios/spec/Makefile.targ32
-rw-r--r--usr/src/lib/libsmbios/spec/amd64/Makefile35
-rw-r--r--usr/src/lib/libsmbios/spec/i386/Makefile34
-rw-r--r--usr/src/lib/libsmbios/spec/smbios.spec374
-rw-r--r--usr/src/lib/libsmbios/spec/sparc/Makefile34
-rw-r--r--usr/src/lib/libsmbios/spec/sparcv9/Makefile35
-rw-r--r--usr/src/lib/libsmbios/spec/versions42
-rw-r--r--usr/src/lib/libsmedia/library/Makefile16
-rw-r--r--usr/src/lib/libsmedia/library/Makefile.com17
-rw-r--r--usr/src/lib/libsmedia/library/amd64/Makefile9
-rw-r--r--usr/src/lib/libsmedia/library/common/mapfile-vers47
-rw-r--r--usr/src/lib/libsmedia/library/i386/Makefile14
-rw-r--r--usr/src/lib/libsmedia/library/sparc/Makefile14
-rw-r--r--usr/src/lib/libsmedia/library/sparcv9/Makefile14
-rw-r--r--usr/src/lib/libsmedia/library/spec/Makefile30
-rw-r--r--usr/src/lib/libsmedia/library/spec/Makefile.targ35
-rw-r--r--usr/src/lib/libsmedia/library/spec/amd64/Makefile44
-rw-r--r--usr/src/lib/libsmedia/library/spec/i386/Makefile44
-rw-r--r--usr/src/lib/libsmedia/library/spec/smedia.spec132
-rw-r--r--usr/src/lib/libsmedia/library/spec/sparc/Makefile44
-rw-r--r--usr/src/lib/libsmedia/library/spec/sparcv9/Makefile45
-rw-r--r--usr/src/lib/libsmedia/library/spec/versions39
-rw-r--r--usr/src/lib/libsmedia/plugins/Makefile.com22
-rw-r--r--usr/src/lib/libsmedia/plugins/Makefile.plugin19
-rw-r--r--usr/src/lib/libsmedia/plugins/floppy/amd64/Makefile9
-rw-r--r--usr/src/lib/libsmedia/plugins/floppy/common/mapfile-vers43
-rw-r--r--usr/src/lib/libsmedia/plugins/floppy/i386/Makefile14
-rw-r--r--usr/src/lib/libsmedia/plugins/floppy/sparc/Makefile14
-rw-r--r--usr/src/lib/libsmedia/plugins/floppy/sparcv9/Makefile14
-rw-r--r--usr/src/lib/libsmedia/plugins/floppy/spec/Makefile30
-rw-r--r--usr/src/lib/libsmedia/plugins/floppy/spec/Makefile.targ35
-rw-r--r--usr/src/lib/libsmedia/plugins/floppy/spec/amd64/Makefile44
-rw-r--r--usr/src/lib/libsmedia/plugins/floppy/spec/i386/Makefile44
-rw-r--r--usr/src/lib/libsmedia/plugins/floppy/spec/sm_fd.spec94
-rw-r--r--usr/src/lib/libsmedia/plugins/floppy/spec/sparc/Makefile45
-rw-r--r--usr/src/lib/libsmedia/plugins/floppy/spec/sparcv9/Makefile45
-rw-r--r--usr/src/lib/libsmedia/plugins/floppy/spec/versions36
-rw-r--r--usr/src/lib/libsmedia/plugins/pcata/amd64/Makefile9
-rw-r--r--usr/src/lib/libsmedia/plugins/pcata/common/mapfile-vers37
-rw-r--r--usr/src/lib/libsmedia/plugins/pcata/i386/Makefile14
-rw-r--r--usr/src/lib/libsmedia/plugins/pcata/sparc/Makefile14
-rw-r--r--usr/src/lib/libsmedia/plugins/pcata/sparcv9/Makefile14
-rw-r--r--usr/src/lib/libsmedia/plugins/pcata/spec/Makefile30
-rw-r--r--usr/src/lib/libsmedia/plugins/pcata/spec/Makefile.targ35
-rw-r--r--usr/src/lib/libsmedia/plugins/pcata/spec/amd64/Makefile44
-rw-r--r--usr/src/lib/libsmedia/plugins/pcata/spec/i386/Makefile44
-rw-r--r--usr/src/lib/libsmedia/plugins/pcata/spec/sm_pcata.spec57
-rw-r--r--usr/src/lib/libsmedia/plugins/pcata/spec/sparc/Makefile45
-rw-r--r--usr/src/lib/libsmedia/plugins/pcata/spec/sparcv9/Makefile45
-rw-r--r--usr/src/lib/libsmedia/plugins/pcata/spec/versions37
-rw-r--r--usr/src/lib/libsmedia/plugins/pcmem/amd64/Makefile9
-rw-r--r--usr/src/lib/libsmedia/plugins/pcmem/common/mapfile-vers39
-rw-r--r--usr/src/lib/libsmedia/plugins/pcmem/i386/Makefile14
-rw-r--r--usr/src/lib/libsmedia/plugins/pcmem/sparc/Makefile14
-rw-r--r--usr/src/lib/libsmedia/plugins/pcmem/sparcv9/Makefile14
-rw-r--r--usr/src/lib/libsmedia/plugins/pcmem/spec/Makefile30
-rw-r--r--usr/src/lib/libsmedia/plugins/pcmem/spec/Makefile.targ35
-rw-r--r--usr/src/lib/libsmedia/plugins/pcmem/spec/amd64/Makefile44
-rw-r--r--usr/src/lib/libsmedia/plugins/pcmem/spec/i386/Makefile44
-rw-r--r--usr/src/lib/libsmedia/plugins/pcmem/spec/sm_pcmem.spec69
-rw-r--r--usr/src/lib/libsmedia/plugins/pcmem/spec/sparc/Makefile45
-rw-r--r--usr/src/lib/libsmedia/plugins/pcmem/spec/sparcv9/Makefile45
-rw-r--r--usr/src/lib/libsmedia/plugins/pcmem/spec/versions36
-rw-r--r--usr/src/lib/libsmedia/plugins/scsi/amd64/Makefile9
-rw-r--r--usr/src/lib/libsmedia/plugins/scsi/common/mapfile-vers46
-rw-r--r--usr/src/lib/libsmedia/plugins/scsi/i386/Makefile14
-rw-r--r--usr/src/lib/libsmedia/plugins/scsi/sparc/Makefile14
-rw-r--r--usr/src/lib/libsmedia/plugins/scsi/sparcv9/Makefile14
-rw-r--r--usr/src/lib/libsmedia/plugins/scsi/spec/Makefile30
-rw-r--r--usr/src/lib/libsmedia/plugins/scsi/spec/Makefile.targ35
-rw-r--r--usr/src/lib/libsmedia/plugins/scsi/spec/amd64/Makefile44
-rw-r--r--usr/src/lib/libsmedia/plugins/scsi/spec/i386/Makefile44
-rw-r--r--usr/src/lib/libsmedia/plugins/scsi/spec/sm_scsi.spec113
-rw-r--r--usr/src/lib/libsmedia/plugins/scsi/spec/sparc/Makefile45
-rw-r--r--usr/src/lib/libsmedia/plugins/scsi/spec/sparcv9/Makefile45
-rw-r--r--usr/src/lib/libsmedia/plugins/scsi/spec/versions37
-rw-r--r--usr/src/lib/libsocket/Makefile15
-rw-r--r--usr/src/lib/libsocket/Makefile.com13
-rw-r--r--usr/src/lib/libsocket/amd64/mapfile-vers54
-rw-r--r--usr/src/lib/libsocket/common/mapfile-vers178
-rw-r--r--usr/src/lib/libsocket/i386/mapfile-vers54
-rw-r--r--usr/src/lib/libsocket/inet/byteorder.c12
-rw-r--r--usr/src/lib/libsocket/sparc/mapfile-vers58
-rw-r--r--usr/src/lib/libsocket/sparcv9/mapfile-vers54
-rw-r--r--usr/src/lib/libsocket/spec/Makefile29
-rw-r--r--usr/src/lib/libsocket/spec/Makefile.targ36
-rw-r--r--usr/src/lib/libsocket/spec/amd64/Makefile44
-rw-r--r--usr/src/lib/libsocket/spec/i386/Makefile44
-rw-r--r--usr/src/lib/libsocket/spec/socket.spec895
-rw-r--r--usr/src/lib/libsocket/spec/sparc/Makefile44
-rw-r--r--usr/src/lib/libsocket/spec/sparcv9/Makefile45
-rw-r--r--usr/src/lib/libsocket/spec/svr4msg.spec131
-rw-r--r--usr/src/lib/libsocket/spec/versions84
-rw-r--r--usr/src/lib/libsocket/spec/xpgmsg.spec48
-rw-r--r--usr/src/lib/libsys/Makefile.com17
-rw-r--r--usr/src/lib/libsys/Makefile.targ10
-rw-r--r--usr/src/lib/libsysevent/Makefile18
-rw-r--r--usr/src/lib/libsysevent/Makefile.com12
-rw-r--r--usr/src/lib/libsysevent/mapfile-vers88
-rw-r--r--usr/src/lib/libsysevent/spec/Makefile30
-rw-r--r--usr/src/lib/libsysevent/spec/Makefile.targ35
-rw-r--r--usr/src/lib/libsysevent/spec/amd64/Makefile42
-rw-r--r--usr/src/lib/libsysevent/spec/i386/Makefile42
-rw-r--r--usr/src/lib/libsysevent/spec/sparc/Makefile44
-rw-r--r--usr/src/lib/libsysevent/spec/sparcv9/Makefile43
-rw-r--r--usr/src/lib/libsysevent/spec/sysevent.spec286
-rw-r--r--usr/src/lib/libsysevent/spec/versions57
-rw-r--r--usr/src/lib/libtecla/Makefile14
-rw-r--r--usr/src/lib/libtecla/Makefile.com12
-rw-r--r--usr/src/lib/libtecla/common/mapfile-vers138
-rw-r--r--usr/src/lib/libtecla/spec/Makefile29
-rw-r--r--usr/src/lib/libtecla/spec/Makefile.targ32
-rw-r--r--usr/src/lib/libtecla/spec/amd64/Makefile36
-rw-r--r--usr/src/lib/libtecla/spec/i386/Makefile35
-rw-r--r--usr/src/lib/libtecla/spec/sparc/Makefile35
-rw-r--r--usr/src/lib/libtecla/spec/sparcv9/Makefile37
-rw-r--r--usr/src/lib/libtecla/spec/tecla.spec507
-rw-r--r--usr/src/lib/libtecla/spec/versions64
-rw-r--r--usr/src/lib/libthread/Makefile.com15
-rw-r--r--usr/src/lib/libtnf/Makefile44
-rw-r--r--usr/src/lib/libtnf/mapfile-vers79
-rw-r--r--usr/src/lib/libtnf/spec/Makefile55
-rw-r--r--usr/src/lib/libtnf/spec/Makefile.targ34
-rw-r--r--usr/src/lib/libtnf/spec/amd64/Makefile44
-rw-r--r--usr/src/lib/libtnf/spec/i386/Makefile44
-rw-r--r--usr/src/lib/libtnf/spec/sparc/Makefile44
-rw-r--r--usr/src/lib/libtnf/spec/sparcv9/Makefile45
-rw-r--r--usr/src/lib/libtnf/spec/tnf.spec316
-rw-r--r--usr/src/lib/libtnf/spec/versions39
-rw-r--r--usr/src/lib/libtnfctl/Makefile23
-rw-r--r--usr/src/lib/libtnfctl/Makefile.com19
-rw-r--r--usr/src/lib/libtnfctl/amd64/Makefile8
-rw-r--r--usr/src/lib/libtnfctl/i386/Makefile13
-rw-r--r--usr/src/lib/libtnfctl/mapfile-vers65
-rw-r--r--usr/src/lib/libtnfctl/sparc/Makefile13
-rw-r--r--usr/src/lib/libtnfctl/sparcv9/Makefile13
-rw-r--r--usr/src/lib/libtnfctl/spec/Makefile29
-rw-r--r--usr/src/lib/libtnfctl/spec/Makefile.targ34
-rw-r--r--usr/src/lib/libtnfctl/spec/amd64/Makefile44
-rw-r--r--usr/src/lib/libtnfctl/spec/i386/Makefile44
-rw-r--r--usr/src/lib/libtnfctl/spec/sparc/Makefile44
-rw-r--r--usr/src/lib/libtnfctl/spec/sparcv9/Makefile45
-rw-r--r--usr/src/lib/libtnfctl/spec/tnfctl.spec234
-rw-r--r--usr/src/lib/libtnfctl/spec/versions43
-rw-r--r--usr/src/lib/libtnfprobe/Makefile19
-rw-r--r--usr/src/lib/libtnfprobe/Makefile.com21
-rw-r--r--usr/src/lib/libtnfprobe/amd64/Makefile8
-rw-r--r--usr/src/lib/libtnfprobe/amd64/mapfile-vers (renamed from usr/src/lib/fm/libfmd_snmp/spec/Makefile)5
-rw-r--r--usr/src/lib/libtnfprobe/i386/Makefile13
-rw-r--r--usr/src/lib/libtnfprobe/i386/mapfile-vers (renamed from usr/src/lib/libdtrace_jni/spec/Makefile)5
-rw-r--r--usr/src/lib/libtnfprobe/mapfile-vers93
-rw-r--r--usr/src/lib/libtnfprobe/sparc/Makefile13
-rw-r--r--usr/src/lib/libtnfprobe/sparc/mapfile-vers31
-rw-r--r--usr/src/lib/libtnfprobe/sparcv9/Makefile13
-rw-r--r--usr/src/lib/libtnfprobe/sparcv9/mapfile-vers31
-rw-r--r--usr/src/lib/libtnfprobe/spec/Makefile29
-rw-r--r--usr/src/lib/libtnfprobe/spec/Makefile.targ34
-rw-r--r--usr/src/lib/libtnfprobe/spec/amd64/Makefile44
-rw-r--r--usr/src/lib/libtnfprobe/spec/i386/Makefile44
-rw-r--r--usr/src/lib/libtnfprobe/spec/private.spec319
-rw-r--r--usr/src/lib/libtnfprobe/spec/sparc/Makefile44
-rw-r--r--usr/src/lib/libtnfprobe/spec/sparcv9/Makefile45
-rw-r--r--usr/src/lib/libtnfprobe/spec/versions39
-rw-r--r--usr/src/lib/libtsnet/Makefile10
-rw-r--r--usr/src/lib/libtsnet/Makefile.com8
-rw-r--r--usr/src/lib/libtsnet/common/mapfile-vers58
-rw-r--r--usr/src/lib/libtsnet/i386/Makefile3
-rw-r--r--usr/src/lib/libtsnet/spec/Makefile30
-rw-r--r--usr/src/lib/libtsnet/spec/Makefile.targ35
-rw-r--r--usr/src/lib/libtsnet/spec/amd64/Makefile33
-rw-r--r--usr/src/lib/libtsnet/spec/i386/Makefile34
-rw-r--r--usr/src/lib/libtsnet/spec/sparc/Makefile34
-rw-r--r--usr/src/lib/libtsnet/spec/sparcv9/Makefile33
-rw-r--r--usr/src/lib/libtsnet/spec/tsnet.spec206
-rw-r--r--usr/src/lib/libtsnet/spec/versions41
-rw-r--r--usr/src/lib/libtsol/Makefile12
-rw-r--r--usr/src/lib/libtsol/Makefile.com14
-rw-r--r--usr/src/lib/libtsol/common/mapfile-vers103
-rw-r--r--usr/src/lib/libtsol/spec/Makefile.targ33
-rw-r--r--usr/src/lib/libtsol/spec/amd64/Makefile33
-rw-r--r--usr/src/lib/libtsol/spec/i386/Makefile32
-rw-r--r--usr/src/lib/libtsol/spec/obsolete.spec122
-rw-r--r--usr/src/lib/libtsol/spec/private.spec239
-rw-r--r--usr/src/lib/libtsol/spec/sparc/Makefile32
-rw-r--r--usr/src/lib/libtsol/spec/sparcv9/Makefile33
-rw-r--r--usr/src/lib/libtsol/spec/tsol.spec143
-rw-r--r--usr/src/lib/libumem/Makefile17
-rw-r--r--usr/src/lib/libumem/Makefile.com14
-rw-r--r--usr/src/lib/libumem/Makefile.targ14
-rw-r--r--usr/src/lib/libumem/common/mapfile-vers64
-rw-r--r--usr/src/lib/libumem/spec/Makefile31
-rw-r--r--usr/src/lib/libumem/spec/Makefile.targ34
-rw-r--r--usr/src/lib/libumem/spec/amd64/Makefile36
-rw-r--r--usr/src/lib/libumem/spec/i386/Makefile37
-rw-r--r--usr/src/lib/libumem/spec/libumem.spec172
-rw-r--r--usr/src/lib/libumem/spec/sparc/Makefile37
-rw-r--r--usr/src/lib/libumem/spec/sparcv9/Makefile38
-rw-r--r--usr/src/lib/libumem/spec/versions43
-rw-r--r--usr/src/lib/libuuid/Makefile15
-rw-r--r--usr/src/lib/libuuid/Makefile.com11
-rw-r--r--usr/src/lib/libuuid/common/mapfile-vers (renamed from usr/src/lib/libtsol/spec/versions)36
-rw-r--r--usr/src/lib/libuuid/spec/Makefile30
-rw-r--r--usr/src/lib/libuuid/spec/Makefile.targ33
-rw-r--r--usr/src/lib/libuuid/spec/amd64/Makefile44
-rw-r--r--usr/src/lib/libuuid/spec/i386/Makefile45
-rw-r--r--usr/src/lib/libuuid/spec/sparc/Makefile44
-rw-r--r--usr/src/lib/libuuid/spec/sparcv9/Makefile46
-rw-r--r--usr/src/lib/libuuid/spec/uuid.spec88
-rw-r--r--usr/src/lib/libuuid/spec/versions48
-rw-r--r--usr/src/lib/libuutil/Makefile18
-rw-r--r--usr/src/lib/libuutil/Makefile.com12
-rw-r--r--usr/src/lib/libuutil/common/mapfile-vers101
-rw-r--r--usr/src/lib/libuutil/spec/Makefile29
-rw-r--r--usr/src/lib/libuutil/spec/Makefile.targ35
-rw-r--r--usr/src/lib/libuutil/spec/amd64/Makefile44
-rw-r--r--usr/src/lib/libuutil/spec/i386/Makefile43
-rw-r--r--usr/src/lib/libuutil/spec/sparc/Makefile43
-rw-r--r--usr/src/lib/libuutil/spec/sparcv9/Makefile44
-rw-r--r--usr/src/lib/libuutil/spec/updt.spec304
-rw-r--r--usr/src/lib/libuutil/spec/uutil.spec180
-rw-r--r--usr/src/lib/libuutil/spec/versions39
-rw-r--r--usr/src/lib/libvolmgt/Makefile17
-rw-r--r--usr/src/lib/libvolmgt/Makefile.com19
-rw-r--r--usr/src/lib/libvolmgt/amd64/Makefile9
-rw-r--r--usr/src/lib/libvolmgt/common/mapfile-vers (renamed from usr/src/lib/libmapid/spec/i386/Makefile)47
-rw-r--r--usr/src/lib/libvolmgt/i386/Makefile14
-rw-r--r--usr/src/lib/libvolmgt/sparc/Makefile14
-rw-r--r--usr/src/lib/libvolmgt/sparcv9/Makefile14
-rw-r--r--usr/src/lib/libvolmgt/spec/Makefile29
-rw-r--r--usr/src/lib/libvolmgt/spec/Makefile.targ34
-rw-r--r--usr/src/lib/libvolmgt/spec/amd64/Makefile44
-rw-r--r--usr/src/lib/libvolmgt/spec/i386/Makefile44
-rw-r--r--usr/src/lib/libvolmgt/spec/sparc/Makefile44
-rw-r--r--usr/src/lib/libvolmgt/spec/sparcv9/Makefile45
-rw-r--r--usr/src/lib/libvolmgt/spec/versions63
-rw-r--r--usr/src/lib/libvolmgt/spec/volmgt.spec132
-rw-r--r--usr/src/lib/libw/Makefile.com19
-rw-r--r--usr/src/lib/libwanboot/Makefile14
-rw-r--r--usr/src/lib/libwanboot/Makefile.com10
-rw-r--r--usr/src/lib/libwanboot/common/mapfile-vers82
-rw-r--r--usr/src/lib/libwanboot/spec/Makefile30
-rw-r--r--usr/src/lib/libwanboot/spec/Makefile.targ32
-rw-r--r--usr/src/lib/libwanboot/spec/amd64/Makefile32
-rw-r--r--usr/src/lib/libwanboot/spec/i386/Makefile36
-rw-r--r--usr/src/lib/libwanboot/spec/sparc/Makefile36
-rw-r--r--usr/src/lib/libwanboot/spec/sparcv9/Makefile33
-rw-r--r--usr/src/lib/libwanboot/spec/versions39
-rw-r--r--usr/src/lib/libwanboot/spec/wanboot.spec234
-rw-r--r--usr/src/lib/libwanbootutil/Makefile12
-rw-r--r--usr/src/lib/libwanbootutil/Makefile.com3
-rw-r--r--usr/src/lib/libwanbootutil/common/mapfile-vers60
-rw-r--r--usr/src/lib/libwanbootutil/spec/Makefile30
-rw-r--r--usr/src/lib/libwanbootutil/spec/Makefile.targ34
-rw-r--r--usr/src/lib/libwanbootutil/spec/amd64/Makefile32
-rw-r--r--usr/src/lib/libwanbootutil/spec/i386/Makefile36
-rw-r--r--usr/src/lib/libwanbootutil/spec/sparc/Makefile36
-rw-r--r--usr/src/lib/libwanbootutil/spec/sparcv9/Makefile33
-rw-r--r--usr/src/lib/libwanbootutil/spec/versions39
-rw-r--r--usr/src/lib/libwanbootutil/spec/wanbootutil.spec144
-rw-r--r--usr/src/lib/libwrap/Makefile.com27
-rw-r--r--usr/src/lib/libwrsmconf/Makefile.com10
-rw-r--r--usr/src/lib/libxcurses/Makefile19
-rw-r--r--usr/src/lib/libxcurses/Makefile.com18
-rw-r--r--usr/src/lib/libxcurses/amd64/Makefile8
-rw-r--r--usr/src/lib/libxcurses/i386/Makefile13
-rw-r--r--usr/src/lib/libxcurses/sparc/Makefile13
-rw-r--r--usr/src/lib/libxcurses/sparcv9/Makefile13
-rw-r--r--usr/src/lib/libxcurses/spec/Makefile30
-rw-r--r--usr/src/lib/libxcurses/spec/Makefile.targ36
-rw-r--r--usr/src/lib/libxcurses/spec/amd64/Makefile44
-rw-r--r--usr/src/lib/libxcurses/spec/i386/Makefile44
-rw-r--r--usr/src/lib/libxcurses/spec/sparc/Makefile46
-rw-r--r--usr/src/lib/libxcurses/spec/sparcv9/Makefile45
-rw-r--r--usr/src/lib/libxcurses/spec/versions47
-rw-r--r--usr/src/lib/libxcurses/spec/xcurses.spec2333
-rw-r--r--usr/src/lib/libxcurses/src/mapfile-vers421
-rw-r--r--usr/src/lib/libxcurses2/Makefile19
-rw-r--r--usr/src/lib/libxcurses2/Makefile.com18
-rw-r--r--usr/src/lib/libxcurses2/amd64/Makefile8
-rw-r--r--usr/src/lib/libxcurses2/i386/Makefile13
-rw-r--r--usr/src/lib/libxcurses2/sparc/Makefile13
-rw-r--r--usr/src/lib/libxcurses2/sparcv9/Makefile13
-rw-r--r--usr/src/lib/libxcurses2/spec/Makefile30
-rw-r--r--usr/src/lib/libxcurses2/spec/Makefile.targ36
-rw-r--r--usr/src/lib/libxcurses2/spec/amd64/Makefile44
-rw-r--r--usr/src/lib/libxcurses2/spec/i386/Makefile44
-rw-r--r--usr/src/lib/libxcurses2/spec/sparc/Makefile46
-rw-r--r--usr/src/lib/libxcurses2/spec/sparcv9/Makefile45
-rw-r--r--usr/src/lib/libxcurses2/spec/versions47
-rw-r--r--usr/src/lib/libxcurses2/spec/xcurses.spec2495
-rw-r--r--usr/src/lib/libxcurses2/src/mapfile-vers460
-rw-r--r--usr/src/lib/libxnet/Makefile.com12
-rw-r--r--usr/src/lib/libzfs/Makefile16
-rw-r--r--usr/src/lib/libzfs/Makefile.com16
-rw-r--r--usr/src/lib/libzfs/common/mapfile-vers128
-rw-r--r--usr/src/lib/libzfs/spec/Makefile28
-rw-r--r--usr/src/lib/libzfs/spec/Makefile.targ31
-rw-r--r--usr/src/lib/libzfs/spec/amd64/Makefile35
-rw-r--r--usr/src/lib/libzfs/spec/i386/Makefile34
-rw-r--r--usr/src/lib/libzfs/spec/libzfs.spec410
-rw-r--r--usr/src/lib/libzfs/spec/sparc/Makefile34
-rw-r--r--usr/src/lib/libzfs/spec/sparcv9/Makefile35
-rw-r--r--usr/src/lib/libzfs/spec/versions40
-rw-r--r--usr/src/lib/libzfs_jni/Makefile16
-rw-r--r--usr/src/lib/libzfs_jni/Makefile.com15
-rw-r--r--usr/src/lib/libzfs_jni/common/mapfile-vers59
-rw-r--r--usr/src/lib/libzfs_jni/spec/Makefile28
-rw-r--r--usr/src/lib/libzfs_jni/spec/Makefile.targ31
-rw-r--r--usr/src/lib/libzfs_jni/spec/amd64/Makefile35
-rw-r--r--usr/src/lib/libzfs_jni/spec/i386/Makefile34
-rw-r--r--usr/src/lib/libzfs_jni/spec/libzfs_jni.spec137
-rw-r--r--usr/src/lib/libzfs_jni/spec/sparc/Makefile34
-rw-r--r--usr/src/lib/libzfs_jni/spec/sparcv9/Makefile35
-rw-r--r--usr/src/lib/libzfs_jni/spec/versions43
-rw-r--r--usr/src/lib/libzonecfg/Makefile13
-rw-r--r--usr/src/lib/libzonecfg/Makefile.com6
-rw-r--r--usr/src/lib/libzonecfg/common/mapfile-vers178
-rw-r--r--usr/src/lib/libzonecfg/spec/Makefile29
-rw-r--r--usr/src/lib/libzonecfg/spec/Makefile.targ32
-rw-r--r--usr/src/lib/libzonecfg/spec/amd64/Makefile37
-rw-r--r--usr/src/lib/libzonecfg/spec/i386/Makefile35
-rw-r--r--usr/src/lib/libzonecfg/spec/libzonecfg.spec914
-rw-r--r--usr/src/lib/libzonecfg/spec/sparc/Makefile35
-rw-r--r--usr/src/lib/libzonecfg/spec/sparcv9/Makefile37
-rw-r--r--usr/src/lib/libzonecfg/spec/versions39
-rw-r--r--usr/src/lib/libzoneinfo/Makefile15
-rw-r--r--usr/src/lib/libzoneinfo/Makefile.com11
-rw-r--r--usr/src/lib/libzoneinfo/common/mapfile-vers42
-rw-r--r--usr/src/lib/libzoneinfo/spec/Makefile29
-rw-r--r--usr/src/lib/libzoneinfo/spec/Makefile.targ32
-rw-r--r--usr/src/lib/libzoneinfo/spec/amd64/Makefile32
-rw-r--r--usr/src/lib/libzoneinfo/spec/i386/Makefile35
-rw-r--r--usr/src/lib/libzoneinfo/spec/sparc/Makefile35
-rw-r--r--usr/src/lib/libzoneinfo/spec/sparcv9/Makefile32
-rw-r--r--usr/src/lib/libzoneinfo/spec/versions39
-rw-r--r--usr/src/lib/libzoneinfo/spec/zoneinfo.spec88
-rw-r--r--usr/src/lib/libzpool/Makefile.com11
-rw-r--r--usr/src/lib/lvm/libmeta/Makefile17
-rw-r--r--usr/src/lib/lvm/libmeta/Makefile.com9
-rw-r--r--usr/src/lib/lvm/libmeta/common/mapfile-vers969
-rw-r--r--usr/src/lib/lvm/libmeta/spec/Makefile29
-rw-r--r--usr/src/lib/lvm/libmeta/spec/Makefile.targ36
-rw-r--r--usr/src/lib/lvm/libmeta/spec/amd64/Makefile46
-rw-r--r--usr/src/lib/lvm/libmeta/spec/i386/Makefile47
-rw-r--r--usr/src/lib/lvm/libmeta/spec/meta.spec3778
-rw-r--r--usr/src/lib/lvm/libmeta/spec/sparc/Makefile47
-rw-r--r--usr/src/lib/lvm/libmeta/spec/sparcv9/Makefile47
-rw-r--r--usr/src/lib/lvm/libmeta/spec/versions31
-rw-r--r--usr/src/lib/lvm/libpreen/Makefile15
-rw-r--r--usr/src/lib/lvm/libpreen/Makefile.com10
-rw-r--r--usr/src/lib/lvm/libpreen/common/mapfile-vers33
-rw-r--r--usr/src/lib/lvm/libpreen/spec/Makefile29
-rw-r--r--usr/src/lib/lvm/libpreen/spec/Makefile.targ36
-rw-r--r--usr/src/lib/lvm/libpreen/spec/amd64/Makefile46
-rw-r--r--usr/src/lib/lvm/libpreen/spec/i386/Makefile47
-rw-r--r--usr/src/lib/lvm/libpreen/spec/preen.spec31
-rw-r--r--usr/src/lib/lvm/libpreen/spec/sparc/Makefile47
-rw-r--r--usr/src/lib/lvm/libpreen/spec/sparcv9/Makefile47
-rw-r--r--usr/src/lib/lvm/libpreen/spec/versions31
-rw-r--r--usr/src/lib/lvm/libsvm/Makefile15
-rw-r--r--usr/src/lib/lvm/libsvm/Makefile.com10
-rw-r--r--usr/src/lib/lvm/libsvm/common/mapfile-vers39
-rw-r--r--usr/src/lib/lvm/libsvm/spec/Makefile28
-rw-r--r--usr/src/lib/lvm/libsvm/spec/Makefile.targ41
-rw-r--r--usr/src/lib/lvm/libsvm/spec/amd64/Makefile50
-rw-r--r--usr/src/lib/lvm/libsvm/spec/i386/Makefile53
-rw-r--r--usr/src/lib/lvm/libsvm/spec/sparc/Makefile50
-rw-r--r--usr/src/lib/lvm/libsvm/spec/sparcv9/Makefile50
-rw-r--r--usr/src/lib/lvm/libsvm/spec/svm.spec55
-rw-r--r--usr/src/lib/lvm/libsvm/spec/versions31
-rw-r--r--usr/src/lib/madv/Makefile.com10
-rw-r--r--usr/src/lib/mpss/Makefile.com10
-rw-r--r--usr/src/lib/nametoaddr/straddr/Makefile13
-rw-r--r--usr/src/lib/nametoaddr/straddr/Makefile.com9
-rw-r--r--usr/src/lib/nametoaddr/straddr/common/mapfile-vers37
-rw-r--r--usr/src/lib/nametoaddr/straddr/spec/Makefile30
-rw-r--r--usr/src/lib/nametoaddr/straddr/spec/Makefile.targ36
-rw-r--r--usr/src/lib/nametoaddr/straddr/spec/amd64/Makefile45
-rw-r--r--usr/src/lib/nametoaddr/straddr/spec/i386/Makefile46
-rw-r--r--usr/src/lib/nametoaddr/straddr/spec/sparc/Makefile47
-rw-r--r--usr/src/lib/nametoaddr/straddr/spec/sparcv9/Makefile46
-rw-r--r--usr/src/lib/nametoaddr/straddr/spec/straddr.spec48
-rw-r--r--usr/src/lib/nametoaddr/straddr/spec/versions39
-rw-r--r--usr/src/lib/ncad_addr/Makefile15
-rw-r--r--usr/src/lib/ncad_addr/Makefile.com11
-rw-r--r--usr/src/lib/ncad_addr/amd64/mapfile-vers31
-rw-r--r--usr/src/lib/ncad_addr/common/mapfile-vers70
-rw-r--r--usr/src/lib/ncad_addr/i386/mapfile-vers31
-rw-r--r--usr/src/lib/ncad_addr/sparc/mapfile-vers36
-rw-r--r--usr/src/lib/ncad_addr/sparcv9/mapfile-vers31
-rw-r--r--usr/src/lib/ncad_addr/spec/Makefile29
-rw-r--r--usr/src/lib/ncad_addr/spec/Makefile.targ34
-rw-r--r--usr/src/lib/ncad_addr/spec/amd64/Makefile42
-rw-r--r--usr/src/lib/ncad_addr/spec/i386/Makefile42
-rw-r--r--usr/src/lib/ncad_addr/spec/ncad_addr.spec37
-rw-r--r--usr/src/lib/ncad_addr/spec/sparc/Makefile44
-rw-r--r--usr/src/lib/ncad_addr/spec/sparcv9/Makefile43
-rw-r--r--usr/src/lib/ncad_addr/spec/versions79
-rw-r--r--usr/src/lib/nsswitch/Makefile.com18
-rw-r--r--usr/src/lib/nsswitch/Makefile.targ14
-rw-r--r--usr/src/lib/openssl/Makefile.com2
-rw-r--r--usr/src/lib/openssl/libcrypto/Makefile.com10
-rw-r--r--usr/src/lib/openssl/libcrypto/sparc/Makefile11
-rw-r--r--usr/src/lib/openssl/libcrypto/sparcv9/Makefile14
-rw-r--r--usr/src/lib/openssl/libcrypto_extra/Makefile.com7
-rw-r--r--usr/src/lib/openssl/libssl/Makefile.com5
-rw-r--r--usr/src/lib/openssl/libssl_extra/Makefile.com7
-rw-r--r--usr/src/lib/pam_modules/Makefile.pam_modules13
-rw-r--r--usr/src/lib/pam_modules/allow/Makefile15
-rw-r--r--usr/src/lib/pam_modules/allow/mapfile-vers38
-rw-r--r--usr/src/lib/pam_modules/allow/spec/Makefile28
-rw-r--r--usr/src/lib/pam_modules/allow/spec/Makefile.targ31
-rw-r--r--usr/src/lib/pam_modules/allow/spec/allow.spec67
-rw-r--r--usr/src/lib/pam_modules/allow/spec/amd64/Makefile37
-rw-r--r--usr/src/lib/pam_modules/allow/spec/i386/Makefile34
-rw-r--r--usr/src/lib/pam_modules/allow/spec/sparc/Makefile34
-rw-r--r--usr/src/lib/pam_modules/allow/spec/sparcv9/Makefile35
-rw-r--r--usr/src/lib/pam_modules/allow/spec/versions41
-rw-r--r--usr/src/lib/pam_modules/authtok_check/Makefile16
-rw-r--r--usr/src/lib/pam_modules/authtok_check/mapfile-vers (renamed from usr/src/lib/libmapid/spec/versions)12
-rw-r--r--usr/src/lib/pam_modules/authtok_check/spec/Makefile30
-rw-r--r--usr/src/lib/pam_modules/authtok_check/spec/Makefile.targ33
-rw-r--r--usr/src/lib/pam_modules/authtok_check/spec/amd64/Makefile36
-rw-r--r--usr/src/lib/pam_modules/authtok_check/spec/authtok_check.spec35
-rw-r--r--usr/src/lib/pam_modules/authtok_check/spec/i386/Makefile36
-rw-r--r--usr/src/lib/pam_modules/authtok_check/spec/sparc/Makefile36
-rw-r--r--usr/src/lib/pam_modules/authtok_check/spec/sparcv9/Makefile36
-rw-r--r--usr/src/lib/pam_modules/authtok_check/spec/versions42
-rw-r--r--usr/src/lib/pam_modules/authtok_get/Makefile15
-rw-r--r--usr/src/lib/pam_modules/authtok_get/mapfile-vers35
-rw-r--r--usr/src/lib/pam_modules/authtok_get/spec/Makefile30
-rw-r--r--usr/src/lib/pam_modules/authtok_get/spec/Makefile.targ33
-rw-r--r--usr/src/lib/pam_modules/authtok_get/spec/amd64/Makefile36
-rw-r--r--usr/src/lib/pam_modules/authtok_get/spec/authtok_get.spec47
-rw-r--r--usr/src/lib/pam_modules/authtok_get/spec/i386/Makefile36
-rw-r--r--usr/src/lib/pam_modules/authtok_get/spec/sparc/Makefile36
-rw-r--r--usr/src/lib/pam_modules/authtok_get/spec/sparcv9/Makefile36
-rw-r--r--usr/src/lib/pam_modules/authtok_get/spec/versions42
-rw-r--r--usr/src/lib/pam_modules/authtok_store/Makefile16
-rw-r--r--usr/src/lib/pam_modules/authtok_store/mapfile-vers33
-rw-r--r--usr/src/lib/pam_modules/authtok_store/spec/Makefile30
-rw-r--r--usr/src/lib/pam_modules/authtok_store/spec/Makefile.targ33
-rw-r--r--usr/src/lib/pam_modules/authtok_store/spec/amd64/Makefile36
-rw-r--r--usr/src/lib/pam_modules/authtok_store/spec/authtok_store.spec35
-rw-r--r--usr/src/lib/pam_modules/authtok_store/spec/i386/Makefile36
-rw-r--r--usr/src/lib/pam_modules/authtok_store/spec/sparc/Makefile36
-rw-r--r--usr/src/lib/pam_modules/authtok_store/spec/sparcv9/Makefile36
-rw-r--r--usr/src/lib/pam_modules/authtok_store/spec/versions42
-rw-r--r--usr/src/lib/pam_modules/deny/Makefile15
-rw-r--r--usr/src/lib/pam_modules/deny/mapfile-vers38
-rw-r--r--usr/src/lib/pam_modules/deny/spec/Makefile30
-rw-r--r--usr/src/lib/pam_modules/deny/spec/Makefile.targ33
-rw-r--r--usr/src/lib/pam_modules/deny/spec/amd64/Makefile39
-rw-r--r--usr/src/lib/pam_modules/deny/spec/deny.spec69
-rw-r--r--usr/src/lib/pam_modules/deny/spec/i386/Makefile36
-rw-r--r--usr/src/lib/pam_modules/deny/spec/sparc/Makefile36
-rw-r--r--usr/src/lib/pam_modules/deny/spec/sparcv9/Makefile37
-rw-r--r--usr/src/lib/pam_modules/deny/spec/versions43
-rw-r--r--usr/src/lib/pam_modules/dhkeys/Makefile14
-rw-r--r--usr/src/lib/pam_modules/dhkeys/mapfile-vers35
-rw-r--r--usr/src/lib/pam_modules/dhkeys/spec/Makefile30
-rw-r--r--usr/src/lib/pam_modules/dhkeys/spec/Makefile.targ33
-rw-r--r--usr/src/lib/pam_modules/dhkeys/spec/amd64/Makefile36
-rw-r--r--usr/src/lib/pam_modules/dhkeys/spec/dhkeys.spec47
-rw-r--r--usr/src/lib/pam_modules/dhkeys/spec/i386/Makefile36
-rw-r--r--usr/src/lib/pam_modules/dhkeys/spec/sparc/Makefile36
-rw-r--r--usr/src/lib/pam_modules/dhkeys/spec/sparcv9/Makefile36
-rw-r--r--usr/src/lib/pam_modules/dhkeys/spec/versions42
-rw-r--r--usr/src/lib/pam_modules/dial_auth/Makefile15
-rw-r--r--usr/src/lib/pam_modules/dial_auth/mapfile-vers34
-rw-r--r--usr/src/lib/pam_modules/dial_auth/spec/Makefile30
-rw-r--r--usr/src/lib/pam_modules/dial_auth/spec/Makefile.targ33
-rw-r--r--usr/src/lib/pam_modules/dial_auth/spec/amd64/Makefile36
-rw-r--r--usr/src/lib/pam_modules/dial_auth/spec/dial_auth.spec41
-rw-r--r--usr/src/lib/pam_modules/dial_auth/spec/i386/Makefile36
-rw-r--r--usr/src/lib/pam_modules/dial_auth/spec/sparc/Makefile36
-rw-r--r--usr/src/lib/pam_modules/dial_auth/spec/sparcv9/Makefile36
-rw-r--r--usr/src/lib/pam_modules/dial_auth/spec/versions42
-rw-r--r--usr/src/lib/pam_modules/krb5/Makefile17
-rw-r--r--usr/src/lib/pam_modules/krb5/mapfile-vers38
-rw-r--r--usr/src/lib/pam_modules/krb5/spec/Makefile30
-rw-r--r--usr/src/lib/pam_modules/krb5/spec/Makefile.targ33
-rw-r--r--usr/src/lib/pam_modules/krb5/spec/amd64/Makefile36
-rw-r--r--usr/src/lib/pam_modules/krb5/spec/i386/Makefile36
-rw-r--r--usr/src/lib/pam_modules/krb5/spec/krb5.spec66
-rw-r--r--usr/src/lib/pam_modules/krb5/spec/sparc/Makefile36
-rw-r--r--usr/src/lib/pam_modules/krb5/spec/sparcv9/Makefile36
-rw-r--r--usr/src/lib/pam_modules/krb5/spec/versions42
-rw-r--r--usr/src/lib/pam_modules/krb5_migrate/Makefile15
-rw-r--r--usr/src/lib/pam_modules/krb5_migrate/mapfile-vers34
-rw-r--r--usr/src/lib/pam_modules/krb5_migrate/spec/Makefile30
-rw-r--r--usr/src/lib/pam_modules/krb5_migrate/spec/Makefile.targ33
-rw-r--r--usr/src/lib/pam_modules/krb5_migrate/spec/amd64/Makefile37
-rw-r--r--usr/src/lib/pam_modules/krb5_migrate/spec/i386/Makefile36
-rw-r--r--usr/src/lib/pam_modules/krb5_migrate/spec/krb5_migrate.spec42
-rw-r--r--usr/src/lib/pam_modules/krb5_migrate/spec/sparc/Makefile36
-rw-r--r--usr/src/lib/pam_modules/krb5_migrate/spec/sparcv9/Makefile37
-rw-r--r--usr/src/lib/pam_modules/krb5_migrate/spec/versions43
-rw-r--r--usr/src/lib/pam_modules/ldap/Makefile16
-rw-r--r--usr/src/lib/pam_modules/ldap/mapfile-vers38
-rw-r--r--usr/src/lib/pam_modules/ldap/spec/Makefile30
-rw-r--r--usr/src/lib/pam_modules/ldap/spec/Makefile.targ33
-rw-r--r--usr/src/lib/pam_modules/ldap/spec/amd64/Makefile36
-rw-r--r--usr/src/lib/pam_modules/ldap/spec/i386/Makefile36
-rw-r--r--usr/src/lib/pam_modules/ldap/spec/ldap.spec66
-rw-r--r--usr/src/lib/pam_modules/ldap/spec/sparc/Makefile36
-rw-r--r--usr/src/lib/pam_modules/ldap/spec/sparcv9/Makefile36
-rw-r--r--usr/src/lib/pam_modules/ldap/spec/versions42
-rw-r--r--usr/src/lib/pam_modules/passwd_auth/Makefile15
-rw-r--r--usr/src/lib/pam_modules/passwd_auth/mapfile-vers34
-rw-r--r--usr/src/lib/pam_modules/passwd_auth/spec/Makefile30
-rw-r--r--usr/src/lib/pam_modules/passwd_auth/spec/Makefile.targ33
-rw-r--r--usr/src/lib/pam_modules/passwd_auth/spec/amd64/Makefile36
-rw-r--r--usr/src/lib/pam_modules/passwd_auth/spec/i386/Makefile36
-rw-r--r--usr/src/lib/pam_modules/passwd_auth/spec/passwd_auth.spec41
-rw-r--r--usr/src/lib/pam_modules/passwd_auth/spec/sparc/Makefile37
-rw-r--r--usr/src/lib/pam_modules/passwd_auth/spec/sparcv9/Makefile36
-rw-r--r--usr/src/lib/pam_modules/passwd_auth/spec/versions42
-rw-r--r--usr/src/lib/pam_modules/projects/Makefile16
-rw-r--r--usr/src/lib/pam_modules/projects/mapfile-vers33
-rw-r--r--usr/src/lib/pam_modules/projects/spec/Makefile30
-rw-r--r--usr/src/lib/pam_modules/projects/spec/Makefile.targ33
-rw-r--r--usr/src/lib/pam_modules/projects/spec/amd64/Makefile36
-rw-r--r--usr/src/lib/pam_modules/projects/spec/i386/Makefile36
-rw-r--r--usr/src/lib/pam_modules/projects/spec/projects.spec35
-rw-r--r--usr/src/lib/pam_modules/projects/spec/sparc/Makefile36
-rw-r--r--usr/src/lib/pam_modules/projects/spec/sparcv9/Makefile36
-rw-r--r--usr/src/lib/pam_modules/projects/spec/versions42
-rw-r--r--usr/src/lib/pam_modules/rhosts_auth/Makefile16
-rw-r--r--usr/src/lib/pam_modules/rhosts_auth/mapfile-vers34
-rw-r--r--usr/src/lib/pam_modules/rhosts_auth/spec/Makefile30
-rw-r--r--usr/src/lib/pam_modules/rhosts_auth/spec/Makefile.targ33
-rw-r--r--usr/src/lib/pam_modules/rhosts_auth/spec/amd64/Makefile36
-rw-r--r--usr/src/lib/pam_modules/rhosts_auth/spec/i386/Makefile36
-rw-r--r--usr/src/lib/pam_modules/rhosts_auth/spec/rhosts_auth.spec41
-rw-r--r--usr/src/lib/pam_modules/rhosts_auth/spec/sparc/Makefile36
-rw-r--r--usr/src/lib/pam_modules/rhosts_auth/spec/sparcv9/Makefile36
-rw-r--r--usr/src/lib/pam_modules/rhosts_auth/spec/versions42
-rw-r--r--usr/src/lib/pam_modules/roles/Makefile15
-rw-r--r--usr/src/lib/pam_modules/roles/mapfile-vers33
-rw-r--r--usr/src/lib/pam_modules/roles/spec/Makefile30
-rw-r--r--usr/src/lib/pam_modules/roles/spec/Makefile.targ33
-rw-r--r--usr/src/lib/pam_modules/roles/spec/amd64/Makefile36
-rw-r--r--usr/src/lib/pam_modules/roles/spec/i386/Makefile36
-rw-r--r--usr/src/lib/pam_modules/roles/spec/roles.spec35
-rw-r--r--usr/src/lib/pam_modules/roles/spec/sparc/Makefile36
-rw-r--r--usr/src/lib/pam_modules/roles/spec/sparcv9/Makefile36
-rw-r--r--usr/src/lib/pam_modules/roles/spec/versions42
-rw-r--r--usr/src/lib/pam_modules/sample/Makefile16
-rw-r--r--usr/src/lib/pam_modules/sample/mapfile-vers38
-rw-r--r--usr/src/lib/pam_modules/sample/spec/Makefile30
-rw-r--r--usr/src/lib/pam_modules/sample/spec/Makefile.targ33
-rw-r--r--usr/src/lib/pam_modules/sample/spec/amd64/Makefile36
-rw-r--r--usr/src/lib/pam_modules/sample/spec/i386/Makefile36
-rw-r--r--usr/src/lib/pam_modules/sample/spec/sample.spec66
-rw-r--r--usr/src/lib/pam_modules/sample/spec/sparc/Makefile36
-rw-r--r--usr/src/lib/pam_modules/sample/spec/sparcv9/Makefile36
-rw-r--r--usr/src/lib/pam_modules/sample/spec/versions42
-rw-r--r--usr/src/lib/pam_modules/unix_account/Makefile15
-rw-r--r--usr/src/lib/pam_modules/unix_account/mapfile-vers33
-rw-r--r--usr/src/lib/pam_modules/unix_account/spec/Makefile30
-rw-r--r--usr/src/lib/pam_modules/unix_account/spec/Makefile.targ33
-rw-r--r--usr/src/lib/pam_modules/unix_account/spec/amd64/Makefile36
-rw-r--r--usr/src/lib/pam_modules/unix_account/spec/i386/Makefile36
-rw-r--r--usr/src/lib/pam_modules/unix_account/spec/sparc/Makefile36
-rw-r--r--usr/src/lib/pam_modules/unix_account/spec/sparcv9/Makefile36
-rw-r--r--usr/src/lib/pam_modules/unix_account/spec/unix_account.spec35
-rw-r--r--usr/src/lib/pam_modules/unix_account/spec/versions42
-rw-r--r--usr/src/lib/pam_modules/unix_auth/Makefile16
-rw-r--r--usr/src/lib/pam_modules/unix_auth/mapfile-vers34
-rw-r--r--usr/src/lib/pam_modules/unix_auth/spec/Makefile30
-rw-r--r--usr/src/lib/pam_modules/unix_auth/spec/Makefile.targ33
-rw-r--r--usr/src/lib/pam_modules/unix_auth/spec/amd64/Makefile36
-rw-r--r--usr/src/lib/pam_modules/unix_auth/spec/i386/Makefile36
-rw-r--r--usr/src/lib/pam_modules/unix_auth/spec/sparc/Makefile36
-rw-r--r--usr/src/lib/pam_modules/unix_auth/spec/sparcv9/Makefile36
-rw-r--r--usr/src/lib/pam_modules/unix_auth/spec/unix_auth.spec41
-rw-r--r--usr/src/lib/pam_modules/unix_auth/spec/versions42
-rw-r--r--usr/src/lib/pam_modules/unix_cred/Makefile15
-rw-r--r--usr/src/lib/pam_modules/unix_cred/mapfile-vers34
-rw-r--r--usr/src/lib/pam_modules/unix_cred/spec/Makefile30
-rw-r--r--usr/src/lib/pam_modules/unix_cred/spec/Makefile.targ33
-rw-r--r--usr/src/lib/pam_modules/unix_cred/spec/amd64/Makefile36
-rw-r--r--usr/src/lib/pam_modules/unix_cred/spec/i386/Makefile36
-rw-r--r--usr/src/lib/pam_modules/unix_cred/spec/sparc/Makefile36
-rw-r--r--usr/src/lib/pam_modules/unix_cred/spec/sparcv9/Makefile36
-rw-r--r--usr/src/lib/pam_modules/unix_cred/spec/unix_cred.spec41
-rw-r--r--usr/src/lib/pam_modules/unix_cred/spec/versions42
-rw-r--r--usr/src/lib/pam_modules/unix_session/Makefile16
-rw-r--r--usr/src/lib/pam_modules/unix_session/mapfile-vers34
-rw-r--r--usr/src/lib/pam_modules/unix_session/spec/Makefile30
-rw-r--r--usr/src/lib/pam_modules/unix_session/spec/Makefile.targ33
-rw-r--r--usr/src/lib/pam_modules/unix_session/spec/amd64/Makefile36
-rw-r--r--usr/src/lib/pam_modules/unix_session/spec/i386/Makefile36
-rw-r--r--usr/src/lib/pam_modules/unix_session/spec/sparc/Makefile36
-rw-r--r--usr/src/lib/pam_modules/unix_session/spec/sparcv9/Makefile36
-rw-r--r--usr/src/lib/pam_modules/unix_session/spec/unix_session.spec41
-rw-r--r--usr/src/lib/pam_modules/unix_session/spec/versions42
-rw-r--r--usr/src/lib/passwdutil/Makefile17
-rw-r--r--usr/src/lib/passwdutil/Makefile.com11
-rw-r--r--usr/src/lib/passwdutil/mapfile-vers39
-rw-r--r--usr/src/lib/passwdutil/spec/Makefile31
-rw-r--r--usr/src/lib/passwdutil/spec/Makefile.targ34
-rw-r--r--usr/src/lib/passwdutil/spec/amd64/Makefile37
-rw-r--r--usr/src/lib/passwdutil/spec/i386/Makefile39
-rw-r--r--usr/src/lib/passwdutil/spec/passwdutil.spec75
-rw-r--r--usr/src/lib/passwdutil/spec/sparc/Makefile38
-rw-r--r--usr/src/lib/passwdutil/spec/sparcv9/Makefile41
-rw-r--r--usr/src/lib/passwdutil/spec/versions39
-rw-r--r--usr/src/lib/pkcs11/Makefile.softtoken.com5
-rw-r--r--usr/src/lib/pkcs11/libpkcs11/Makefile17
-rw-r--r--usr/src/lib/pkcs11/libpkcs11/Makefile.com11
-rw-r--r--usr/src/lib/pkcs11/libpkcs11/common/mapfile-vers102
-rw-r--r--usr/src/lib/pkcs11/libpkcs11/spec/Makefile28
-rw-r--r--usr/src/lib/pkcs11/libpkcs11/spec/Makefile.targ33
-rw-r--r--usr/src/lib/pkcs11/libpkcs11/spec/amd64/Makefile38
-rw-r--r--usr/src/lib/pkcs11/libpkcs11/spec/i386/Makefile37
-rw-r--r--usr/src/lib/pkcs11/libpkcs11/spec/pkcs11.spec516
-rw-r--r--usr/src/lib/pkcs11/libpkcs11/spec/sparc/Makefile37
-rw-r--r--usr/src/lib/pkcs11/libpkcs11/spec/sparcv9/Makefile37
-rw-r--r--usr/src/lib/pkcs11/libpkcs11/spec/versions39
-rw-r--r--usr/src/lib/pkcs11/pkcs11_kernel/Makefile16
-rw-r--r--usr/src/lib/pkcs11/pkcs11_kernel/Makefile.com12
-rw-r--r--usr/src/lib/pkcs11/pkcs11_kernel/common/mapfile-vers100
-rw-r--r--usr/src/lib/pkcs11/pkcs11_kernel/spec/Makefile28
-rw-r--r--usr/src/lib/pkcs11/pkcs11_kernel/spec/Makefile.targ33
-rw-r--r--usr/src/lib/pkcs11/pkcs11_kernel/spec/amd64/Makefile36
-rw-r--r--usr/src/lib/pkcs11/pkcs11_kernel/spec/i386/Makefile35
-rw-r--r--usr/src/lib/pkcs11/pkcs11_kernel/spec/pkcs11_kernel.spec501
-rw-r--r--usr/src/lib/pkcs11/pkcs11_kernel/spec/sparc/Makefile36
-rw-r--r--usr/src/lib/pkcs11/pkcs11_kernel/spec/sparcv9/Makefile35
-rw-r--r--usr/src/lib/pkcs11/pkcs11_kernel/spec/versions39
-rw-r--r--usr/src/lib/pkcs11/pkcs11_softtoken/Makefile15
-rw-r--r--usr/src/lib/pkcs11/pkcs11_softtoken/common/mapfile-vers100
-rw-r--r--usr/src/lib/pkcs11/pkcs11_softtoken/spec/Makefile28
-rw-r--r--usr/src/lib/pkcs11/pkcs11_softtoken/spec/Makefile.targ33
-rw-r--r--usr/src/lib/pkcs11/pkcs11_softtoken/spec/amd64/Makefile37
-rw-r--r--usr/src/lib/pkcs11/pkcs11_softtoken/spec/i386/Makefile33
-rw-r--r--usr/src/lib/pkcs11/pkcs11_softtoken/spec/pkcs11_softtoken.spec501
-rw-r--r--usr/src/lib/pkcs11/pkcs11_softtoken/spec/sparc/Makefile35
-rw-r--r--usr/src/lib/pkcs11/pkcs11_softtoken/spec/sparcv9/Makefile36
-rw-r--r--usr/src/lib/pkcs11/pkcs11_softtoken/spec/versions39
-rw-r--r--usr/src/lib/pkcs11/pkcs11_softtoken_extra/Makefile15
-rw-r--r--usr/src/lib/pkcs11/pkcs11_softtoken_extra/common/mapfile-vers100
-rw-r--r--usr/src/lib/pkcs11/pkcs11_softtoken_extra/spec/Makefile28
-rw-r--r--usr/src/lib/pkcs11/pkcs11_softtoken_extra/spec/Makefile.targ33
-rw-r--r--usr/src/lib/pkcs11/pkcs11_softtoken_extra/spec/amd64/Makefile32
-rw-r--r--usr/src/lib/pkcs11/pkcs11_softtoken_extra/spec/i386/Makefile30
-rw-r--r--usr/src/lib/pkcs11/pkcs11_softtoken_extra/spec/pkcs11_softtoken_extra.spec501
-rw-r--r--usr/src/lib/pkcs11/pkcs11_softtoken_extra/spec/sparc/Makefile29
-rw-r--r--usr/src/lib/pkcs11/pkcs11_softtoken_extra/spec/sparcv9/Makefile31
-rw-r--r--usr/src/lib/pkcs11/pkcs11_softtoken_extra/spec/versions39
-rw-r--r--usr/src/lib/print/libhttp-core/Makefile.com11
-rw-r--r--usr/src/lib/print/libipp-core/Makefile.com11
-rw-r--r--usr/src/lib/print/libipp-listener/Makefile.com11
-rw-r--r--usr/src/lib/print/libpapi-common/Makefile.com11
-rw-r--r--usr/src/lib/print/libpapi-dynamic/Makefile.com8
-rw-r--r--usr/src/lib/print/libpapi-ipp/Makefile.com14
-rw-r--r--usr/src/lib/print/libpapi-lpd/Makefile.com13
-rw-r--r--usr/src/lib/print/libprint/Makefile.com9
-rw-r--r--usr/src/lib/print/mod_ipp/Makefile5
-rw-r--r--usr/src/lib/req.flg13
-rw-r--r--usr/src/lib/rpcsec_gss/Makefile.com13
-rw-r--r--usr/src/lib/sasl_plugins/Makefile28
-rw-r--r--usr/src/lib/sasl_plugins/Makefile.com29
-rw-r--r--usr/src/lib/sasl_plugins/Makefile.subdirs28
-rw-r--r--usr/src/lib/sasl_plugins/cram/spec/Makefile10
-rw-r--r--usr/src/lib/sasl_plugins/cram/spec/Makefile.targ11
-rw-r--r--usr/src/lib/sasl_plugins/cram/spec/amd64/Makefile14
-rw-r--r--usr/src/lib/sasl_plugins/cram/spec/cram.spec28
-rw-r--r--usr/src/lib/sasl_plugins/cram/spec/i386/Makefile15
-rw-r--r--usr/src/lib/sasl_plugins/cram/spec/sparc/Makefile15
-rw-r--r--usr/src/lib/sasl_plugins/cram/spec/sparcv9/Makefile16
-rw-r--r--usr/src/lib/sasl_plugins/cram/spec/versions19
-rw-r--r--usr/src/lib/sasl_plugins/digestmd5/spec/Makefile7
-rw-r--r--usr/src/lib/sasl_plugins/digestmd5/spec/Makefile.targ10
-rw-r--r--usr/src/lib/sasl_plugins/digestmd5/spec/amd64/Makefile14
-rw-r--r--usr/src/lib/sasl_plugins/digestmd5/spec/digestmd5.spec28
-rw-r--r--usr/src/lib/sasl_plugins/digestmd5/spec/i386/Makefile15
-rw-r--r--usr/src/lib/sasl_plugins/digestmd5/spec/sparc/Makefile15
-rw-r--r--usr/src/lib/sasl_plugins/digestmd5/spec/sparcv9/Makefile16
-rw-r--r--usr/src/lib/sasl_plugins/digestmd5/spec/versions19
-rw-r--r--usr/src/lib/sasl_plugins/gssapi/spec/Makefile7
-rw-r--r--usr/src/lib/sasl_plugins/gssapi/spec/Makefile.targ10
-rw-r--r--usr/src/lib/sasl_plugins/gssapi/spec/amd64/Makefile14
-rw-r--r--usr/src/lib/sasl_plugins/gssapi/spec/gssapi.spec28
-rw-r--r--usr/src/lib/sasl_plugins/gssapi/spec/i386/Makefile15
-rw-r--r--usr/src/lib/sasl_plugins/gssapi/spec/sparc/Makefile15
-rw-r--r--usr/src/lib/sasl_plugins/gssapi/spec/sparcv9/Makefile16
-rw-r--r--usr/src/lib/sasl_plugins/gssapi/spec/versions19
-rw-r--r--usr/src/lib/sasl_plugins/mapfile-vers34
-rw-r--r--usr/src/lib/sasl_plugins/plain/spec/Makefile7
-rw-r--r--usr/src/lib/sasl_plugins/plain/spec/Makefile.targ10
-rw-r--r--usr/src/lib/sasl_plugins/plain/spec/amd64/Makefile14
-rw-r--r--usr/src/lib/sasl_plugins/plain/spec/i386/Makefile15
-rw-r--r--usr/src/lib/sasl_plugins/plain/spec/plain.spec28
-rw-r--r--usr/src/lib/sasl_plugins/plain/spec/sparc/Makefile15
-rw-r--r--usr/src/lib/sasl_plugins/plain/spec/sparcv9/Makefile16
-rw-r--r--usr/src/lib/sasl_plugins/plain/spec/versions19
-rw-r--r--usr/src/lib/udapl/libdat/Makefile15
-rw-r--r--usr/src/lib/udapl/libdat/Makefile.com9
-rw-r--r--usr/src/lib/udapl/libdat/common/mapfile-vers104
-rw-r--r--usr/src/lib/udapl/libdat/spec/Makefile30
-rw-r--r--usr/src/lib/udapl/libdat/spec/Makefile.targ34
-rw-r--r--usr/src/lib/udapl/libdat/spec/amd64/Makefile37
-rw-r--r--usr/src/lib/udapl/libdat/spec/dat.spec459
-rw-r--r--usr/src/lib/udapl/libdat/spec/i386/Makefile36
-rw-r--r--usr/src/lib/udapl/libdat/spec/sparc/Makefile36
-rw-r--r--usr/src/lib/udapl/libdat/spec/sparcv9/Makefile37
-rw-r--r--usr/src/lib/udapl/libdat/spec/versions41
-rw-r--r--usr/src/lib/watchmalloc/Makefile14
-rw-r--r--usr/src/lib/watchmalloc/Makefile.com20
-rw-r--r--usr/src/lib/watchmalloc/amd64/Makefile8
-rw-r--r--usr/src/lib/watchmalloc/common/mapfile-vers51
-rw-r--r--usr/src/lib/watchmalloc/i386/Makefile13
-rw-r--r--usr/src/lib/watchmalloc/sparc/Makefile13
-rw-r--r--usr/src/lib/watchmalloc/sparcv9/Makefile13
-rw-r--r--usr/src/lib/watchmalloc/spec/Makefile30
-rw-r--r--usr/src/lib/watchmalloc/spec/Makefile.targ36
-rw-r--r--usr/src/lib/watchmalloc/spec/amd64/Makefile42
-rw-r--r--usr/src/lib/watchmalloc/spec/i386/Makefile42
-rw-r--r--usr/src/lib/watchmalloc/spec/sparc/Makefile44
-rw-r--r--usr/src/lib/watchmalloc/spec/sparcv9/Makefile43
-rw-r--r--usr/src/lib/watchmalloc/spec/versions43
-rw-r--r--usr/src/lib/watchmalloc/spec/watchmalloc.spec115
-rw-r--r--usr/src/lib/wrsm/Makefile.com10
-rw-r--r--usr/src/stand/lib/Makefile.com12
-rw-r--r--usr/src/tools/findunref/exception_list4
-rw-r--r--usr/src/tools/tokenize/Makefile9
-rw-r--r--usr/src/ucblib/libcurses/Makefile14
-rw-r--r--usr/src/ucblib/libcurses/Makefile.com36
-rw-r--r--usr/src/ucblib/libcurses/amd64/Makefile8
-rw-r--r--usr/src/ucblib/libcurses/i386/Makefile9
-rw-r--r--usr/src/ucblib/libcurses/mapfile-vers181
-rw-r--r--usr/src/ucblib/libcurses/sparc/Makefile9
-rw-r--r--usr/src/ucblib/libcurses/sparcv9/Makefile13
-rw-r--r--usr/src/ucblib/libcurses/spec/Makefile30
-rw-r--r--usr/src/ucblib/libcurses/spec/Makefile.override29
-rw-r--r--usr/src/ucblib/libcurses/spec/Makefile.targ36
-rw-r--r--usr/src/ucblib/libcurses/spec/amd64/Makefile43
-rw-r--r--usr/src/ucblib/libcurses/spec/curses.spec694
-rw-r--r--usr/src/ucblib/libcurses/spec/i386/Makefile43
-rw-r--r--usr/src/ucblib/libcurses/spec/sparc/Makefile45
-rw-r--r--usr/src/ucblib/libcurses/spec/sparcv9/Makefile44
-rw-r--r--usr/src/ucblib/libcurses/spec/versions43
-rw-r--r--usr/src/ucblib/libdbm/Makefile14
-rw-r--r--usr/src/ucblib/libdbm/Makefile.com19
-rw-r--r--usr/src/ucblib/libdbm/amd64/Makefile8
-rw-r--r--usr/src/ucblib/libdbm/i386/Makefile9
-rw-r--r--usr/src/ucblib/libdbm/mapfile-vers55
-rw-r--r--usr/src/ucblib/libdbm/sparc/Makefile9
-rw-r--r--usr/src/ucblib/libdbm/sparcv9/Makefile13
-rw-r--r--usr/src/ucblib/libdbm/spec/Makefile30
-rw-r--r--usr/src/ucblib/libdbm/spec/Makefile.targ36
-rw-r--r--usr/src/ucblib/libdbm/spec/amd64/Makefile42
-rw-r--r--usr/src/ucblib/libdbm/spec/dbm.spec128
-rw-r--r--usr/src/ucblib/libdbm/spec/i386/Makefile42
-rw-r--r--usr/src/ucblib/libdbm/spec/sparc/Makefile44
-rw-r--r--usr/src/ucblib/libdbm/spec/sparcv9/Makefile43
-rw-r--r--usr/src/ucblib/libdbm/spec/versions43
-rw-r--r--usr/src/ucblib/librpcsoc/Makefile18
-rw-r--r--usr/src/ucblib/librpcsoc/Makefile.com19
-rw-r--r--usr/src/ucblib/librpcsoc/amd64/Makefile8
-rw-r--r--usr/src/ucblib/librpcsoc/i386/Makefile9
-rw-r--r--usr/src/ucblib/librpcsoc/mapfile-vers (renamed from usr/src/lib/libmd/spec/versions)33
-rw-r--r--usr/src/ucblib/librpcsoc/sparc/Makefile9
-rw-r--r--usr/src/ucblib/librpcsoc/sparcv9/Makefile9
-rw-r--r--usr/src/ucblib/librpcsoc/spec/Makefile30
-rw-r--r--usr/src/ucblib/librpcsoc/spec/Makefile.targ36
-rw-r--r--usr/src/ucblib/librpcsoc/spec/amd64/Makefile42
-rw-r--r--usr/src/ucblib/librpcsoc/spec/i386/Makefile42
-rw-r--r--usr/src/ucblib/librpcsoc/spec/rpcsoc.spec117
-rw-r--r--usr/src/ucblib/librpcsoc/spec/sparc/Makefile44
-rw-r--r--usr/src/ucblib/librpcsoc/spec/sparcv9/Makefile43
-rw-r--r--usr/src/ucblib/librpcsoc/spec/versions43
-rw-r--r--usr/src/ucblib/libtermcap/Makefile18
-rw-r--r--usr/src/ucblib/libtermcap/Makefile.com20
-rw-r--r--usr/src/ucblib/libtermcap/amd64/Makefile8
-rw-r--r--usr/src/ucblib/libtermcap/i386/Makefile10
-rw-r--r--usr/src/ucblib/libtermcap/mapfile-vers42
-rw-r--r--usr/src/ucblib/libtermcap/sparc/Makefile10
-rw-r--r--usr/src/ucblib/libtermcap/sparcv9/Makefile13
-rw-r--r--usr/src/ucblib/libtermcap/spec/Makefile30
-rw-r--r--usr/src/ucblib/libtermcap/spec/Makefile.targ36
-rw-r--r--usr/src/ucblib/libtermcap/spec/amd64/Makefile42
-rw-r--r--usr/src/ucblib/libtermcap/spec/i386/Makefile42
-rw-r--r--usr/src/ucblib/libtermcap/spec/sparc/Makefile44
-rw-r--r--usr/src/ucblib/libtermcap/spec/sparcv9/Makefile43
-rw-r--r--usr/src/ucblib/libtermcap/spec/termcap.spec75
-rw-r--r--usr/src/ucblib/libtermcap/spec/versions39
-rw-r--r--usr/src/ucblib/libucb/Makefile18
-rw-r--r--usr/src/ucblib/libucb/Makefile.com29
-rw-r--r--usr/src/ucblib/libucb/amd64/Makefile11
-rw-r--r--usr/src/ucblib/libucb/amd64/mapfile-vers98
-rw-r--r--usr/src/ucblib/libucb/i386/Makefile10
-rw-r--r--usr/src/ucblib/libucb/i386/mapfile-vers108
-rw-r--r--usr/src/ucblib/libucb/port/mapfile-vers60
-rw-r--r--usr/src/ucblib/libucb/sparc/Makefile11
-rw-r--r--usr/src/ucblib/libucb/sparc/mapfile-vers108
-rw-r--r--usr/src/ucblib/libucb/sparcv9/Makefile18
-rw-r--r--usr/src/ucblib/libucb/sparcv9/mapfile-vers103
-rw-r--r--usr/src/ucblib/libucb/spec/Makefile30
-rw-r--r--usr/src/ucblib/libucb/spec/Makefile.override29
-rw-r--r--usr/src/ucblib/libucb/spec/Makefile.targ36
-rw-r--r--usr/src/ucblib/libucb/spec/amd64/Makefile43
-rw-r--r--usr/src/ucblib/libucb/spec/i386/Makefile43
-rw-r--r--usr/src/ucblib/libucb/spec/sparc/Makefile45
-rw-r--r--usr/src/ucblib/libucb/spec/sparcv9/Makefile44
-rw-r--r--usr/src/ucblib/libucb/spec/ucb.spec565
-rw-r--r--usr/src/ucblib/libucb/spec/versions60
-rw-r--r--usr/src/xmod/xmod_files4
2711 files changed, 30306 insertions, 145960 deletions
diff --git a/usr/src/Makefile b/usr/src/Makefile
index 1707c95d75..7f6d12be5b 100644
--- a/usr/src/Makefile
+++ b/usr/src/Makefile
@@ -202,7 +202,7 @@ check: $(CHKHDRSUBDIRS) $(CHKMFSTSUBDIRS)
# don't contain actual source code.
#
$(CLOSED_BUILD)XRDIRS += ../closed
-XRPRUNE = spec pkgdefs prototypes xmod
+XRPRUNE = pkgdefs prototypes xmod
XRINCDIRS = uts/common head ucbhead
$(CLOSED_BUILD)XRINCDIRS = uts/common ../closed/uts/common head ucbhead
diff --git a/usr/src/cmd/abi/libstabspf/amd64/Makefile b/usr/src/cmd/abi/libstabspf/amd64/Makefile
deleted file mode 100644
index 62e90b478c..0000000000
--- a/usr/src/cmd/abi/libstabspf/amd64/Makefile
+++ /dev/null
@@ -1,37 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-MAPDIR= ../spec/amd64
-include ../Makefile.lib
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-include ../Makefile.com
-
-LINTFLAGS64 += -Xarch=amd64 -sF -errtags=yes -erroff=E_BAD_PTR_CAST_ALIGN
-
-install: all $(ROOTABILIB64)
diff --git a/usr/src/cmd/abi/libstabspf/spec/amd64/Makefile b/usr/src/cmd/abi/libstabspf/spec/amd64/Makefile
deleted file mode 100644
index f2aa3557ce..0000000000
--- a/usr/src/cmd/abi/libstabspf/spec/amd64/Makefile
+++ /dev/null
@@ -1,46 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# cmd/abi/libstabspf/spec/amd64/Makefile
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#amd64_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(SPECMAP)
diff --git a/usr/src/cmd/agents/snmp/agent/Makefile.com b/usr/src/cmd/agents/snmp/agent/Makefile.com
index c192804f12..138c191413 100644
--- a/usr/src/cmd/agents/snmp/agent/Makefile.com
+++ b/usr/src/cmd/agents/snmp/agent/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -13,14 +12,14 @@
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
+# If applicable, add the following below this CDDL HEADER, with the
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
@@ -39,11 +38,10 @@ SRCS = $(SRCOBJS:%.o=$(SRCDIR)/%.c) personal.c
$(LINTLIB):= SRCS = $(SRCDIR)/$(LINTSRC)
LDLIBS += -lssasnmp -lc -lsocket -lnsl
-SRCDIR = ..
CLEANFILES += personal.c personal.lex.c
-MAPFILE = ../agent-mapfile-vers
-DYNFLAGS += -M$(MAPFILE)
+MAPFILES = ../agent-mapfile-vers
+
CPPFLAGS = -I. -I.. -I../../snmplib $(CPPFLAGS.master)
LINTFLAGS64 += -errchk=longptr64
#
diff --git a/usr/src/cmd/agents/snmp/snmplib/Makefile.com b/usr/src/cmd/agents/snmp/snmplib/Makefile.com
index 0ad478ae9f..94e5a6bc6b 100644
--- a/usr/src/cmd/agents/snmp/snmplib/Makefile.com
+++ b/usr/src/cmd/agents/snmp/snmplib/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -13,14 +12,14 @@
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
+# If applicable, add the following below this CDDL HEADER, with the
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
@@ -37,10 +36,8 @@ LIBS = $(DYNLIB) $(LINTLIB)
LDLIBS += -lc -lsocket -lnsl
$(LINTLIB):= SRCS = $(SRCDIR)/$(LINTSRC)
-SRCDIR = ..
-MAPFILE = ../snmp-mapfile-vers
+MAPFILES = ../snmp-mapfile-vers
-DYNFLAGS += -M$(MAPFILE)
CPPFLAGS += -I..
LINTFLAGS64 += -errchk=longptr64
diff --git a/usr/src/cmd/backup/lib/Makefile b/usr/src/cmd/backup/lib/Makefile
index 4c1d3955d8..9d02a60649 100644
--- a/usr/src/cmd/backup/lib/Makefile
+++ b/usr/src/cmd/backup/lib/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,13 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# cmd/backup/lib/Makefile
-#
+
LIBRARY= libdump.a
# Has to be before include of Makefile.backup
@@ -42,6 +40,8 @@ PROG= libdump
include ../../../lib/Makefile.lib
include ../Makefile.backup
+SRCDIR = .
+
# Specifically request the construction of a static library.
# This library is not installed in the proto area.
LIBS= $(LIBRARY)
diff --git a/usr/src/cmd/cmd-inet/usr.bin/pppd/plugins/Makefile b/usr/src/cmd/cmd-inet/usr.bin/pppd/plugins/Makefile
index b8d85c9c21..02b5c1b923 100644
--- a/usr/src/cmd/cmd-inet/usr.bin/pppd/plugins/Makefile
+++ b/usr/src/cmd/cmd-inet/usr.bin/pppd/plugins/Makefile
@@ -1,12 +1,29 @@
#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# cmd/cmd-inet/usr.bin/pppd/plugins/Makefile
-#
-
MINCONN = minconn.so
PASSPROMPT = passprompt.so
@@ -31,9 +48,9 @@ $(PPPOE):= PICS = pics/pppoe.o
# Establish external references through mapfiles and dependencies to allow
# use of -zdefs.
HSONAME=
-$(MINCONN):= MAPFILE = mapfile-minconn
-$(PASSPROMPT):= MAPFILE = mapfile-passprompt
-$(PPPOE):= MAPFILE = mapfile-pppoe
+$(MINCONN):= MAPFILES = mapfile-minconn
+$(PASSPROMPT):= MAPFILES = mapfile-passprompt
+$(PPPOE):= MAPFILES = mapfile-pppoe
# A bug in pmake causes redundancy when '+=' is conditionally assigned, so
# '=' is used with extra variables.
@@ -44,7 +61,6 @@ LDLIBS += $(XXXLDLIBS)
CPPFLAGS += -I.. -I$(SRC)/uts/common
# XX64 -- this should not be needed -- fix me
DYNFLAGS += -_gcc=-nostdlib
-DYNFLAGS += -M$(MAPFILE)
CLOBBERFILES += $(LIBRARIES)
@@ -75,15 +91,15 @@ $(ROOTSRCFILES):= GROUP = bin
all: $(LIBRARIES)
-$(MINCONN): pics .WAIT $$(MAPFILE) $$(PICS)
+$(MINCONN): pics .WAIT $$(PICS)
$(BUILD.SO)
$(POST_PROCESS_SO)
-$(PASSPROMPT): pics .WAIT $$(MAPFILE) $$(PICS)
+$(PASSPROMPT): pics .WAIT $$(PICS)
$(BUILD.SO)
$(POST_PROCESS_SO)
-$(PPPOE): pics .WAIT $$(MAPFILE) $$(PICS)
+$(PPPOE): pics .WAIT $$(PICS)
$(BUILD.SO)
$(POST_PROCESS_SO)
diff --git a/usr/src/cmd/cmd-inet/usr.sadm/dhcpmgr/lib/Makefile b/usr/src/cmd/cmd-inet/usr.sadm/dhcpmgr/lib/Makefile
index ed76f57b7a..a29bdf1caf 100644
--- a/usr/src/cmd/cmd-inet/usr.sadm/dhcpmgr/lib/Makefile
+++ b/usr/src/cmd/cmd-inet/usr.sadm/dhcpmgr/lib/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,11 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
+
LIBRARY= dhcpmgr.a
VERS= .1
OBJECTS= dhcptab.o exception.o network.o optiondefs.o service.o \
@@ -32,11 +32,16 @@ OBJECTS= dhcptab.o exception.o network.o optiondefs.o service.o \
include $(SRC)/lib/Makefile.lib
+SRCDIR = .
+
# Override install location
ROOTLIBDIR= $(ROOT)/usr/sadm/admin/dhcpmgr
LIBS= $(DYNLIB)
+# There should be a mapfile here
+MAPFILES =
+
CPPFLAGS += -I../com/sun/dhcpmgr/bridge \
-I$(JAVA_ROOT)/include \
-I$(JAVA_ROOT)/include/solaris \
diff --git a/usr/src/cmd/consadm/i386/Makefile b/usr/src/cmd/consadm/i386/Makefile
index cf306d374c..894822e5cf 100644
--- a/usr/src/cmd/consadm/i386/Makefile
+++ b/usr/src/cmd/consadm/i386/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,15 +19,10 @@
# CDDL HEADER END
#
#
-#ident "%Z%%M% %I% %E% SMI"
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-# Copyright (c) 1998 by Sun Microsystems, Inc.
-# All rights reserved.
+# ident "%Z%%M% %I% %E% SMI"
#
-# cmd/consadm/i386/Makefile
-
-SRCDIR= ..
-
-.KEEP_STATE:
include ../Makefile.com
diff --git a/usr/src/cmd/consadm/sparc/Makefile b/usr/src/cmd/consadm/sparc/Makefile
index 7b26e18b73..894822e5cf 100644
--- a/usr/src/cmd/consadm/sparc/Makefile
+++ b/usr/src/cmd/consadm/sparc/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,15 +19,10 @@
# CDDL HEADER END
#
#
-#ident "%Z%%M% %I% %E% SMI"
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-# Copyright (c) 1998 by Sun Microsystems, Inc.
-# All rights reserved.
+# ident "%Z%%M% %I% %E% SMI"
#
-# cmd/consadm/sparc/Makefile
-
-SRCDIR= ..
-
-.KEEP_STATE:
include ../Makefile.com
diff --git a/usr/src/cmd/fs.d/hsfs/fstyp/Makefile b/usr/src/cmd/fs.d/hsfs/fstyp/Makefile
index 460f95d3c6..85a26afd04 100644
--- a/usr/src/cmd/fs.d/hsfs/fstyp/Makefile
+++ b/usr/src/cmd/fs.d/hsfs/fstyp/Makefile
@@ -19,11 +19,11 @@
# CDDL HEADER END
#
#
-#ident "%Z%%M% %I% %E% SMI"
-#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
+# ident "%Z%%M% %I% %E% SMI"
+#
FSTYP_VERS=1
FSTYPE= hsfs
@@ -32,6 +32,9 @@ LIBPROG= fstyp.so.${FSTYP_VERS}
include ../../../../lib/Makefile.lib
include ../../Makefile.fstype
+# There should be a mapfile here
+MAPFILES =
+
CFLAGS += $(C_PICFLAGS)
DYNLIB= $(LIBPROG)
diff --git a/usr/src/cmd/fs.d/pcfs/fstyp/Makefile b/usr/src/cmd/fs.d/pcfs/fstyp/Makefile
index 8c28651fca..858d301da7 100644
--- a/usr/src/cmd/fs.d/pcfs/fstyp/Makefile
+++ b/usr/src/cmd/fs.d/pcfs/fstyp/Makefile
@@ -19,11 +19,11 @@
# CDDL HEADER END
#
#
-#ident "%Z%%M% %I% %E% SMI"
-#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
+# ident "%Z%%M% %I% %E% SMI"
+#
FSTYP_VERS=1
FSTYPE= pcfs
@@ -32,6 +32,9 @@ LIBPROG= fstyp.so.${FSTYP_VERS}
include ../../../../lib/Makefile.lib
include ../../Makefile.fstype
+# There should be a mapfile here
+MAPFILES =
+
CFLAGS += $(C_PICFLAGS)
DYNLIB= $(LIBPROG)
diff --git a/usr/src/cmd/fs.d/pcfs/ident/Makefile b/usr/src/cmd/fs.d/pcfs/ident/Makefile
index 8a3ebe7070..9118659b16 100644
--- a/usr/src/cmd/fs.d/pcfs/ident/Makefile
+++ b/usr/src/cmd/fs.d/pcfs/ident/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,15 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# Makefile for PCFS ident function.
-#
# ident "%Z%%M% %I% %E% SMI"
#
-
IDENT_VERS=1
FSTYPE= pcfs
LIBPROG= ident_pcfs.so.${IDENT_VERS}
@@ -36,6 +32,9 @@ LIBPROG= ident_pcfs.so.${IDENT_VERS}
include ../../../../lib/Makefile.lib
include ../../Makefile.fstype
+# There should be a mapfile here
+MAPFILES =
+
DYNLIB= $(LIBPROG)
#
# Override PMAP dependency
diff --git a/usr/src/cmd/fs.d/udfs/fstyp/Makefile b/usr/src/cmd/fs.d/udfs/fstyp/Makefile
index ea1a6385ec..55164e69cb 100644
--- a/usr/src/cmd/fs.d/udfs/fstyp/Makefile
+++ b/usr/src/cmd/fs.d/udfs/fstyp/Makefile
@@ -19,11 +19,11 @@
# CDDL HEADER END
#
#
-#ident "%Z%%M% %I% %E% SMI"
-#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
+# ident "%Z%%M% %I% %E% SMI"
+#
FSTYP_VERS=1
FSTYPE= udfs
@@ -32,6 +32,9 @@ LIBPROG= fstyp.so.${FSTYP_VERS}
include ../../../../lib/Makefile.lib
include ../../Makefile.fstype
+# There should be a mapfile here
+MAPFILES =
+
CFLAGS += $(C_PICFLAGS)
DYNLIB= $(LIBPROG)
diff --git a/usr/src/cmd/fs.d/udfs/ident/Makefile b/usr/src/cmd/fs.d/udfs/ident/Makefile
index 65bb2cfe66..f326e6a8d4 100644
--- a/usr/src/cmd/fs.d/udfs/ident/Makefile
+++ b/usr/src/cmd/fs.d/udfs/ident/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,13 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-
IDENT_VERS=1
FSTYPE= udfs
LIBPROG= ident_udfs.so.${IDENT_VERS}
@@ -34,6 +32,9 @@ LIBPROG= ident_udfs.so.${IDENT_VERS}
include ../../../../lib/Makefile.lib
include ../../Makefile.fstype
+# There should be a mapfile here
+MAPFILES =
+
DYNLIB= $(LIBPROG)
#
diff --git a/usr/src/cmd/fs.d/ufs/fstyp/Makefile b/usr/src/cmd/fs.d/ufs/fstyp/Makefile
index f5ea7c8062..6743bc67e0 100644
--- a/usr/src/cmd/fs.d/ufs/fstyp/Makefile
+++ b/usr/src/cmd/fs.d/ufs/fstyp/Makefile
@@ -19,11 +19,11 @@
# CDDL HEADER END
#
#
-#ident "%Z%%M% %I% %E% SMI"
-#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
+# ident "%Z%%M% %I% %E% SMI"
+#
FSTYP_VERS=1
FSTYPE= ufs
@@ -32,6 +32,9 @@ LIBPROG= fstyp.so.${FSTYP_VERS}
include ../../../../lib/Makefile.lib
include ../../Makefile.fstype
+# There should be a mapfile here
+MAPFILES =
+
CFLAGS += $(C_PICFLAGS)
DYNLIB= $(LIBPROG)
diff --git a/usr/src/cmd/fs.d/ufs/ident/Makefile b/usr/src/cmd/fs.d/ufs/ident/Makefile
index 816365331f..bd93aa9571 100644
--- a/usr/src/cmd/fs.d/ufs/ident/Makefile
+++ b/usr/src/cmd/fs.d/ufs/ident/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,15 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# Makefile for UFS ident function.
-#
# ident "%Z%%M% %I% %E% SMI"
#
-
IDENT_VERS=1
FSTYPE= ufs
LIBPROG= ident_ufs.so.${IDENT_VERS}
@@ -36,6 +32,9 @@ LIBPROG= ident_ufs.so.${IDENT_VERS}
include ../../../../lib/Makefile.lib
include ../../Makefile.fstype
+# There should be a mapfile here
+MAPFILES =
+
CFLAGS += $(C_PICFLAGS)
DYNLIB= $(LIBPROG)
diff --git a/usr/src/cmd/fs.d/zfs/fstyp/Makefile b/usr/src/cmd/fs.d/zfs/fstyp/Makefile
index 7ec81ac1af..ba28b9e39f 100644
--- a/usr/src/cmd/fs.d/zfs/fstyp/Makefile
+++ b/usr/src/cmd/fs.d/zfs/fstyp/Makefile
@@ -19,11 +19,11 @@
# CDDL HEADER END
#
#
-#ident "%Z%%M% %I% %E% SMI"
-#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
+# ident "%Z%%M% %I% %E% SMI"
+#
FSTYP_VERS=1
FSTYPE= zfs
@@ -32,6 +32,9 @@ LIBPROG= fstyp.so.${FSTYP_VERS}
include ../../../../lib/Makefile.lib
include ../../Makefile.fstype
+# There should be a mapfile here
+MAPFILES =
+
CFLAGS += $(C_PICFLAGS)
DYNLIB= $(LIBPROG)
diff --git a/usr/src/cmd/krb5/kadmin/gui/native/Makefile.com b/usr/src/cmd/krb5/kadmin/gui/native/Makefile.com
index 739948637c..42b179c552 100644
--- a/usr/src/cmd/krb5/kadmin/gui/native/Makefile.com
+++ b/usr/src/cmd/krb5/kadmin/gui/native/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -19,10 +18,12 @@
#
# CDDL HEADER END
#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
+#
LIBRARY= libkadmin.a
VERS= .1
@@ -36,8 +37,6 @@ include $(SRC)/lib/Makefile.lib
#
include $(SRC)/lib/gss_mechs/mech_krb5/Makefile.mech_krb5
-SRCDIR= ..
-MAPFILE= ../mapfile-vers
ROOTLIBDIR= $(ROOT)/usr/lib/krb5
LIBS = $(DYNLIB)
@@ -49,7 +48,7 @@ CPPFLAGS += -I../ -I$(SRC)/lib/krb5 \
-I$(JAVA_ROOT)/include -I$(JAVA_ROOT)/include/solaris
LDLIBS += $(KMECHLIB) -L$(ROOT)/$(KERBLIBDIR) -lkadm5clnt -lsocket -lc
-DYNFLAGS += $(KRUNPATH) -M $(MAPFILE)
+DYNFLAGS += $(KRUNPATH)
#
# This library is not directly linked against by any C applications
@@ -64,7 +63,5 @@ LINTFLAGS = -mxus
lint: lintcheck
-$(DYNLIB): $(MAPFILE)
-
include $(SRC)/lib/Makefile.targ
diff --git a/usr/src/cmd/lp/cmd/adaptor/Makefile b/usr/src/cmd/lp/cmd/adaptor/Makefile
index 04aaa4547b..088d384e24 100644
--- a/usr/src/cmd/lp/cmd/adaptor/Makefile
+++ b/usr/src/cmd/lp/cmd/adaptor/Makefile
@@ -17,8 +17,6 @@
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
-
-
#
#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
@@ -35,6 +33,9 @@ OBJECTS = show_queue.o cancel_job.o submit_job.o misc.o
include ../../../../lib/Makefile.lib
include ../../Makefile.lp
+# There should be a mapfile here
+MAPFILES =
+
ROOTLIBDIR= $(ROOT)/usr/lib/print/bsd-adaptor
CPPFLAGS += -I$(LPINC)
diff --git a/usr/src/cmd/lp/lib/papi/Makefile b/usr/src/cmd/lp/lib/papi/Makefile
index 2f3d18a668..28da2a87d5 100644
--- a/usr/src/cmd/lp/lib/papi/Makefile
+++ b/usr/src/cmd/lp/lib/papi/Makefile
@@ -24,8 +24,6 @@
#
# ident "%Z%%M% %I% %E% SMI"
#
-# cmd/lp/lib/papi/Makefile
-#
LIBRARY = psm-lpsched.a
VERS=.1
@@ -56,10 +54,9 @@ LDLIBS += -L$(SRC)/cmd/lp/lib/forms -llpfrm
LDLIBS += -L$(SRC)/cmd/lp/lib/access -llpacc
LDLIBS += -L$(SRC)/cmd/lp/lib/lp -llp
-MAPFILES= mapfile
-MAPOPTS= $(MAPFILES:%=-M%)
-DYNFLAGS += $(BDIRECT) $(MAPOPTS)
+MAPFILES = mapfile
+DYNFLAGS += $(BDIRECT)
LIBS = $(DYNLIB)
SRCS= $(OBJECTS:%.o=%.c)
diff --git a/usr/src/cmd/oamuser/lib/Makefile b/usr/src/cmd/oamuser/lib/Makefile
index 990c85493e..3f6475621b 100644
--- a/usr/src/cmd/oamuser/lib/Makefile
+++ b/usr/src/cmd/oamuser/lib/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,13 +19,12 @@
# CDDL HEADER END
#
#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# cmd/oamuser/lib/Makefile
+# ident "%Z%%M% %I% %E% SMI"
#
+
LIBRARY= lib.a
DATEFILE= ugdates
@@ -53,6 +51,8 @@ OBJECTS= putgrent.o \
include ../../Makefile.cmd
include ../../../lib/Makefile.lib
+SRCDIR = .
+
GREP= grep
FILEMODE= $(LIBFILEMODE)
diff --git a/usr/src/cmd/pcidr/Makefile.com b/usr/src/cmd/pcidr/Makefile.com
index 257987bb10..ff0bbce8e6 100755
--- a/usr/src/cmd/pcidr/Makefile.com
+++ b/usr/src/cmd/pcidr/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,15 @@
# CDDL HEADER END
#
#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
-# cmd/pcidr/Makefile.com
+
#
# to be included AFTER cmd/Makefile.cmd or lib/Makefile.lib
+#
TOP = $(SRC)/cmd/pcidr
INSTALLDIR = /usr/lib/pci
@@ -35,6 +35,9 @@ INSTALLDIR = /usr/lib/pci
#############################################################################
### used by macros in Makefile.cmd/lib
+# There should be a mapfile here
+MAPFILES =
+
HDRDIR = $(TOP)
HDRS_SH = cd $(HDRDIR); ls *.h
HDRS = $(HDRS_SH:sh)
diff --git a/usr/src/cmd/pcidr/plugins/default/Makefile b/usr/src/cmd/pcidr/plugins/default/Makefile
index 2a8ced542c..31d01bc649 100755
--- a/usr/src/cmd/pcidr/plugins/default/Makefile
+++ b/usr/src/cmd/pcidr/plugins/default/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,12 +19,10 @@
# CDDL HEADER END
#
#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# cmd/pcidr/plugins/default/Makefile
+# ident "%Z%%M% %I% %E% SMI"
#
.PARALLEL:
@@ -50,6 +47,8 @@ THISDIR = $(TOP)/plugins/default
# $(OBJECTS:%.o=$(SRCDIR)/%.c) where SRCDIR is this directory; set SRCS to a
# list of source paths if it differ from the default
#
+
+SRCDIR = .
SRCS = $(TOPOBJECTS:%.o=$(TOP)/%.c) $(LOCOBJECTS:%.o=$(SRCDIR)/%.c)
LIBS = $(DYNLIB)
diff --git a/usr/src/cmd/perl/5.6.1/distrib/Makefile.lib b/usr/src/cmd/perl/5.6.1/distrib/Makefile.lib
index c598f23298..c559d39e2e 100644
--- a/usr/src/cmd/perl/5.6.1/distrib/Makefile.lib
+++ b/usr/src/cmd/perl/5.6.1/distrib/Makefile.lib
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,15 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# cmd/perl/5.6.1/Makefile.lib
-#
-# Make libperl.so and libperl.so.1.
-#
# When building libperl.so, hidden command and dependency checking is OK.
.KEEP_STATE:
@@ -78,6 +73,9 @@ OBJECTS = \
include ../../../../lib/Makefile.lib
include ../Makefile.perlcfg
+# There should be a mapfile here
+MAPFILES =
+
# Add in the perl-specific flags (including largefile flags).
CPPFLAGS += $(PERL_COREFLAGS) $(PERL_LFFLAGS)
diff --git a/usr/src/cmd/perl/5.8.4/distrib/Makefile.lib b/usr/src/cmd/perl/5.8.4/distrib/Makefile.lib
index 8f7508c2f6..b5e6a6950f 100644
--- a/usr/src/cmd/perl/5.8.4/distrib/Makefile.lib
+++ b/usr/src/cmd/perl/5.8.4/distrib/Makefile.lib
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,12 +19,10 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Make libperl.so and libperl.so.1.
+# ident "%Z%%M% %I% %E% SMI"
#
# When building libperl.so, hidden command and dependency checking is OK.
@@ -82,6 +79,9 @@ OBJECTS = \
include ../../../../lib/Makefile.lib
include ../Makefile.perlcfg
+# There should be a mapfile here
+MAPFILES =
+
# Add in the perl-specific flags (including largefile flags).
CPPFLAGS += $(PERL_COREFLAGS) $(PERL_LFFLAGS)
diff --git a/usr/src/cmd/picl/plugins/Makefile.com b/usr/src/cmd/picl/plugins/Makefile.com
index f9c06f5cdc..5e5dda5d6c 100644
--- a/usr/src/cmd/picl/plugins/Makefile.com
+++ b/usr/src/cmd/picl/plugins/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,15 +19,15 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#
-# cmd/picl/plugins/Makefile.com
-#
-#ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
+# There should be a mapfile here
+MAPFILES =
+
CPPFLAGS += -I$(SRC)/lib/libpicl -I$(SRC)/lib/libpicltree
CPPFLAGS += -I$(SRC)/cmd/picl/plugins/inc
CFLAGS += $(CCVERBOSE)
@@ -63,4 +62,3 @@ ROOT_PLAT_PLUGINDIR := GROUP= sys
USR_LIB_PICLDIR = $(ROOT)/usr/lib/picl
USR_LIB_PLUGINDIR = $(USR_LIB_PICLDIR)/plugins
-
diff --git a/usr/src/cmd/picl/plugins/lib/picld_pluginutil/Makefile b/usr/src/cmd/picl/plugins/lib/picld_pluginutil/Makefile
index 361bf2b972..7a3936d04f 100644
--- a/usr/src/cmd/picl/plugins/lib/picld_pluginutil/Makefile
+++ b/usr/src/cmd/picl/plugins/lib/picld_pluginutil/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,33 +19,29 @@
# CDDL HEADER END
#
#
-#pragma ident "%Z%%M% %I% %E% SMI"
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-# Copyright (c) 1999-2000 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# cmd/picl/plugins/lib/picld_pluginutil/Makefile
+# ident "%Z%%M% %I% %E% SMI"
#
include $(SRC)/lib/Makefile.lib
-SUBDIRS = spec .WAIT $(MACH)
+SUBDIRS = $(MACH)
# conditional assignments
-all := TARGET= all
-install := TARGET= install
-clean := TARGET= clean
-clobber := TARGET= clobber
-lint := TARGET= lint
-_msg := TARGET= _msg
+all := TARGET= all
+clean := TARGET= clean
+clobber := TARGET= clobber
+install := TARGET= install
+lint := TARGET= lint
+_msg := TARGET= _msg
.KEEP_STATE:
-all install clean clobber lint: $(SUBDIRS)
-
-_msg: $(MACH)
+all clean clobber install lint _msg: $(SUBDIRS)
-$(MACH) spec: FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
diff --git a/usr/src/cmd/picl/plugins/lib/picld_pluginutil/Makefile.com b/usr/src/cmd/picl/plugins/lib/picld_pluginutil/Makefile.com
index c405952848..4d286b7475 100644
--- a/usr/src/cmd/picl/plugins/lib/picld_pluginutil/Makefile.com
+++ b/usr/src/cmd/picl/plugins/lib/picld_pluginutil/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,7 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
@@ -35,8 +34,7 @@ OBJECTS= picld_pluginutil.o
include $(SRC)/lib/Makefile.lib
SRCS= $(OBJECTS:%.o=../%.c)
-MAPFILE= $(MAPDIR)/mapfile
-CLOBBERFILES += $(MAPFILE)
+
CLOBBERFILES += $(LIBLINKS)
LIBS = $(DYNLIB) $(LINTLIB)
@@ -57,7 +55,6 @@ POFILE= picld_pluginutil.po
CPPFLAGS += -I.. -I$(SRC)/lib/libpicl -I$(SRC)/lib/libpicltree
CFLAGS += $(CCVERBOSE)
CPPFLAGS += -D_REENTRANT
-DYNFLAGS += -M $(MAPFILE)
LDLIBS += -L$(SRC)/lib/libpicltree/$(MACH)
LDLIBS += -lc -lpicltree
@@ -82,11 +79,6 @@ _msg: $(MSGDOMAIN) $(POFILE)
$(MSGDOMAIN):
$(INS.dir)
-$(DYNLIB): $(MAPFILE)
-
-$(MAPFILE):
- @cd $(MAPDIR); $(MAKE) mapfile
-
# include library targets
include $(SRC)/lib/Makefile.targ
diff --git a/usr/src/cmd/picl/plugins/lib/picld_pluginutil/i386/Makefile b/usr/src/cmd/picl/plugins/lib/picld_pluginutil/i386/Makefile
index 61b81518f1..8787dcca02 100644
--- a/usr/src/cmd/picl/plugins/lib/picld_pluginutil/i386/Makefile
+++ b/usr/src/cmd/picl/plugins/lib/picld_pluginutil/i386/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright (c) 1999-2000 by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-#pragma ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
-# cmd/picl/plugins/lib/picld_pluginutil/i386/Makefile
-MAPDIR= ../spec/i386
include ../Makefile.com
.KEEP_STATE:
diff --git a/usr/src/cmd/picl/plugins/lib/picld_pluginutil/mapfile-vers b/usr/src/cmd/picl/plugins/lib/picld_pluginutil/mapfile-vers
new file mode 100644
index 0000000000..7952756c2d
--- /dev/null
+++ b/usr/src/cmd/picl/plugins/lib/picld_pluginutil/mapfile-vers
@@ -0,0 +1,33 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNWprivate_1.1 {
+ global:
+ picld_pluginutil_parse_config_file;
+ local:
+ *;
+};
diff --git a/usr/src/cmd/picl/plugins/lib/picld_pluginutil/sparc/Makefile b/usr/src/cmd/picl/plugins/lib/picld_pluginutil/sparc/Makefile
index 1bf4f62744..8787dcca02 100644
--- a/usr/src/cmd/picl/plugins/lib/picld_pluginutil/sparc/Makefile
+++ b/usr/src/cmd/picl/plugins/lib/picld_pluginutil/sparc/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright (c) 1999-2000 by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-#pragma ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
-# cmd/picl/plugins/lib/picld_pluginutil/sparc/Makefile
-MAPDIR= ../spec/sparc
include ../Makefile.com
.KEEP_STATE:
diff --git a/usr/src/cmd/picl/plugins/lib/picld_pluginutil/spec/Makefile b/usr/src/cmd/picl/plugins/lib/picld_pluginutil/spec/Makefile
deleted file mode 100644
index 85b2b88b49..0000000000
--- a/usr/src/cmd/picl/plugins/lib/picld_pluginutil/spec/Makefile
+++ /dev/null
@@ -1,62 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-i386_ARCHITECTURES = i386
-sparc_ARCHITECTURES = sparc
-
-all := TARGET= all
-install := TARGET= install
-clean := TARGET= clean
-clobber := TARGET= clobber
-lint := TARGET= lint
-
-
-.KEEP_STATE:
-
-all install clean clobber: $($(MACH)_ARCHITECTURES)
-
-$($(MACH)_ARCHITECTURES): FRC
- @cd $@; pwd; $(MAKE) $(TARGET)
-
-#
-# This will make sure that any target not
-# explicitly defined will not break the build.
-#
-# XXX pmake on intel does not like the following rules
-# %: ignore_and_exit_quietly
-# ignore_and_exit_quietly:
-#
-# So here it is manually
-#
-IGNORE= _msg catalog install_h delete \
- package tcov debug private_h \
- check analyse test dynamic lint
-$(IGNORE):
-
-FRC:
-
diff --git a/usr/src/cmd/picl/plugins/lib/picld_pluginutil/spec/Makefile.targ b/usr/src/cmd/picl/plugins/lib/picld_pluginutil/spec/Makefile.targ
deleted file mode 100644
index a3a6cf3354..0000000000
--- a/usr/src/cmd/picl/plugins/lib/picld_pluginutil/spec/Makefile.targ
+++ /dev/null
@@ -1,32 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1999-2000 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# cmd/picl/plugins/lib/picld_pluginutil/spec/Makefile.targ
-LIBRARY = libpicld_pluginutil.a
-VERS = .1
-
-OBJECTS = picld_pluginutil.o
diff --git a/usr/src/cmd/picl/plugins/lib/picld_pluginutil/spec/i386/Makefile b/usr/src/cmd/picl/plugins/lib/picld_pluginutil/spec/i386/Makefile
deleted file mode 100644
index 37ccb3842c..0000000000
--- a/usr/src/cmd/picl/plugins/lib/picld_pluginutil/spec/i386/Makefile
+++ /dev/null
@@ -1,51 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# cmd/picl/plugins/lib/picld_pluginutil/spec/i386/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#i386_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-CPPFLAGS += -I$(SRC)/lib/libpicl -I$(SRC)/lib/libpicltree
-CPPFLAGS += -I$(SRC)/cmd/picl/plugins/lib/picld_pluginutil
-CFLAGS += $(CCVERBOSE)
-
-$(ROOTABIDIR):
- $(INS.dir)
-
-install: $(ROOTABIDIR) $(ROOTABILIB)
diff --git a/usr/src/cmd/picl/plugins/lib/picld_pluginutil/spec/picld_pluginutil.spec b/usr/src/cmd/picl/plugins/lib/picld_pluginutil/spec/picld_pluginutil.spec
deleted file mode 100644
index af4cf0b06a..0000000000
--- a/usr/src/cmd/picl/plugins/lib/picld_pluginutil/spec/picld_pluginutil.spec
+++ /dev/null
@@ -1,34 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# cmd/plugins/lib/picld_plugintuil/spec/picld_plugintuil.spec
-
-function picld_pluginutil_parse_config_file
-include <picl.h> <picltree.h> "picld_pluginutil.h"
-declaration int picld_pluginutil_parse_config_file(picl_nodehdl_t nh, const char *filename)
-version SUNWprivate_1.1
-end
-
diff --git a/usr/src/cmd/picl/plugins/lib/picld_pluginutil/spec/sparc/Makefile b/usr/src/cmd/picl/plugins/lib/picld_pluginutil/spec/sparc/Makefile
deleted file mode 100644
index 0d82a70c3e..0000000000
--- a/usr/src/cmd/picl/plugins/lib/picld_pluginutil/spec/sparc/Makefile
+++ /dev/null
@@ -1,51 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# cmd/picl/plugins/lib/picld_pluginutil/spec/sparc/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#sparc_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-CPPFLAGS += -I$(SRC)/lib/libpicl -I$(SRC)/lib/libpicltree
-CPPFLAGS += -I$(SRC)/cmd/picl/plugins/lib/picld_pluginutil
-CFLAGS += $(CCVERBOSE)
-
-$(ROOTABIDIR):
- $(INS.dir)
-
-install: $(ROOTABIDIR) $(ROOTABILIB)
diff --git a/usr/src/cmd/picl/plugins/lib/picld_pluginutil/spec/versions b/usr/src/cmd/picl/plugins/lib/picld_pluginutil/spec/versions
deleted file mode 100644
index dc8fbc1956..0000000000
--- a/usr/src/cmd/picl/plugins/lib/picld_pluginutil/spec/versions
+++ /dev/null
@@ -1,34 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-sparc {
- SUNWprivate_1.1;
-}
-
-i386 {
- SUNWprivate_1.1;
-}
diff --git a/usr/src/cmd/pools/poold/libjkstat/Makefile b/usr/src/cmd/pools/poold/libjkstat/Makefile
index 0e23e77ff5..6f9caf443b 100644
--- a/usr/src/cmd/pools/poold/libjkstat/Makefile
+++ b/usr/src/cmd/pools/poold/libjkstat/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,17 +19,15 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# cmd/pools/poold/libjkstat/Makefile
+# ident "%Z%%M% %I% %E% SMI"
#
include $(SRC)/lib/Makefile.lib
-SUBDIRS = spec .WAIT $(MACH)
+SUBDIRS = $(MACH)
all := TARGET = all
clean := TARGET = clean
diff --git a/usr/src/cmd/pools/poold/libjkstat/Makefile.com b/usr/src/cmd/pools/poold/libjkstat/Makefile.com
index a8871f0bc3..21f1762460 100644
--- a/usr/src/cmd/pools/poold/libjkstat/Makefile.com
+++ b/usr/src/cmd/pools/poold/libjkstat/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,13 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# cmd/pools/poold/libjkstat/Makefile.com
-#
LIBRARY = libjkstat.a
VERS = .1
@@ -41,7 +38,6 @@ INCS = -I$(JAVA_ROOT)/include \
LIBS = $(DYNLIB)
LDLIBS += -lkstat
ROOTLIBDIR = $(ROOT)/usr/lib/pool
-SRCDIR = $(SRC)/cmd/pools/poold/libjkstat
CFLAGS += $(CCVERBOSE)
CPPFLAGS += -D_REENTRANT -D_FILE_OFFSET_BITS=64 $(INCS)
diff --git a/usr/src/cmd/pools/poold/libjkstat/i386/Makefile b/usr/src/cmd/pools/poold/libjkstat/i386/Makefile
index 0f84e63530..35ac6d4219 100644
--- a/usr/src/cmd/pools/poold/libjkstat/i386/Makefile
+++ b/usr/src/cmd/pools/poold/libjkstat/i386/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,17 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
-# cmd/pools/poold/libjkstat/i386/Makefile
-#
-
include ../Makefile.com
-MAPDIR= ../spec/i386
-
install: all $(ROOTLIBS) $(ROOTLINKS)
diff --git a/usr/src/cmd/pools/poold/libjkstat/mapfile-vers b/usr/src/cmd/pools/poold/libjkstat/mapfile-vers
new file mode 100644
index 0000000000..39bfc234b6
--- /dev/null
+++ b/usr/src/cmd/pools/poold/libjkstat/mapfile-vers
@@ -0,0 +1,41 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNWprivate_1.1 {
+ global:
+ Java_com_sun_solaris_service_kstat_KstatCtl_chainUpdate;
+ Java_com_sun_solaris_service_kstat_KstatCtl_close;
+ Java_com_sun_solaris_service_kstat_KstatCtl_init;
+ Java_com_sun_solaris_service_kstat_KstatCtl_lookup;
+ Java_com_sun_solaris_service_kstat_KstatCtl_open;
+ Java_com_sun_solaris_service_kstat_Kstat_getCreationTime;
+ Java_com_sun_solaris_service_kstat_Kstat_getSnapTime;
+ Java_com_sun_solaris_service_kstat_Kstat_getValue;
+ Java_com_sun_solaris_service_kstat_Kstat_read;
+ local:
+ *;
+};
diff --git a/usr/src/cmd/pools/poold/libjkstat/sparc/Makefile b/usr/src/cmd/pools/poold/libjkstat/sparc/Makefile
index 1350b66bcf..35ac6d4219 100644
--- a/usr/src/cmd/pools/poold/libjkstat/sparc/Makefile
+++ b/usr/src/cmd/pools/poold/libjkstat/sparc/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,17 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
-# cmd/pools/poold/libjkstat/sparc/Makefile
-#
-
include ../Makefile.com
-MAPDIR= ../spec/sparc
-
install: all $(ROOTLIBS) $(ROOTLINKS)
diff --git a/usr/src/cmd/pools/poold/libjkstat/spec/Makefile b/usr/src/cmd/pools/poold/libjkstat/spec/Makefile
deleted file mode 100644
index 24a6d4bf52..0000000000
--- a/usr/src/cmd/pools/poold/libjkstat/spec/Makefile
+++ /dev/null
@@ -1,31 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# cmd/pools/poold/libjkstat/spec/Makefile
-#
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/cmd/pools/poold/libjkstat/spec/Makefile.targ b/usr/src/cmd/pools/poold/libjkstat/spec/Makefile.targ
deleted file mode 100644
index 0d7392118f..0000000000
--- a/usr/src/cmd/pools/poold/libjkstat/spec/Makefile.targ
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# cmd/pools/poold/libjkstat/spec/Makefile.targ
-#
-
-.KEEP_STATE:
-
-LIBRARY = libjkstat.a
-VERS = .1
-
-OBJECTS = jkstat.o
diff --git a/usr/src/cmd/pools/poold/libjkstat/spec/amd64/Makefile b/usr/src/cmd/pools/poold/libjkstat/spec/amd64/Makefile
deleted file mode 100644
index 1add7fe765..0000000000
--- a/usr/src/cmd/pools/poold/libjkstat/spec/amd64/Makefile
+++ /dev/null
@@ -1,43 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# cmd/pools/poold/libjkstat/spec/i386/Makefile
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-include $(SRC)/lib/Makefile.spec
-
-CFLAGS += -I$(JAVA_ROOT)/include \
- -I$(JAVA_ROOT)/include/solaris
-
-install: $(SPECMAP)
diff --git a/usr/src/cmd/pools/poold/libjkstat/spec/i386/Makefile b/usr/src/cmd/pools/poold/libjkstat/spec/i386/Makefile
deleted file mode 100644
index 4bd5775646..0000000000
--- a/usr/src/cmd/pools/poold/libjkstat/spec/i386/Makefile
+++ /dev/null
@@ -1,42 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# cmd/pools/poold/libjkstat/spec/i386/Makefile
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-include $(SRC)/lib/Makefile.lib
-
-include $(SRC)/lib/Makefile.spec
-
-CFLAGS += -I$(JAVA_ROOT)/include \
- -I$(JAVA_ROOT)/include/solaris
-
-install: $(SPECMAP)
diff --git a/usr/src/cmd/pools/poold/libjkstat/spec/jkstat.spec b/usr/src/cmd/pools/poold/libjkstat/spec/jkstat.spec
deleted file mode 100644
index 55571135de..0000000000
--- a/usr/src/cmd/pools/poold/libjkstat/spec/jkstat.spec
+++ /dev/null
@@ -1,101 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# cmd/pools/poold/libjkstat/spec/jkstat.spec
-
-function Java_com_sun_solaris_service_kstat_KstatCtl_chainUpdate
-include "../../jkstat.h"
-declaration void \
- Java_com_sun_solaris_service_kstat_KstatCtl_chainUpdate \
- (JNIEnv *env, jobject obj)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_solaris_service_kstat_KstatCtl_close
-include "../../jkstat.h"
-declaration int \
- Java_com_sun_solaris_service_kstat_KstatCtl_close \
- (JNIEnv *env, jobject obj, jlong kctl)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_solaris_service_kstat_KstatCtl_init
-include "../../jkstat.h"
-declaration void \
- Java_com_sun_solaris_service_kstat_KstatCtl_init \
- (JNIEnv *env, jclass clazz)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_solaris_service_kstat_KstatCtl_lookup
-include "../../jkstat.h"
-declaration jobject \
- Java_com_sun_solaris_service_kstat_KstatCtl_lookup \
- (JNIEnv *env, jobject obj, jstring moduleObj, \
- jint instance, jstring nameObj)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_solaris_service_kstat_KstatCtl_open
-include "../../jkstat.h"
-declaration jlong \
- Java_com_sun_solaris_service_kstat_KstatCtl_open \
- (JNIEnv *env, jobject obj)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_solaris_service_kstat_Kstat_getCreationTime
-include "../../jkstat.h"
-declaration jobject \
- Java_com_sun_solaris_service_kstat_Kstat_getCreationTime \
- (JNIEnv *env, jobject obj)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_solaris_service_kstat_Kstat_getSnapTime
-include "../../jkstat.h"
-declaration jobject \
- Java_com_sun_solaris_service_kstat_Kstat_getSnapTime \
- (JNIEnv *env, jobject obj)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_solaris_service_kstat_Kstat_getValue
-include "../../jkstat.h"
-declaration jobject \
- Java_com_sun_solaris_service_kstat_Kstat_getValue \
- (JNIEnv *env, jobject obj, jstring nameObj)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_solaris_service_kstat_Kstat_read
-include "../../jkstat.h"
-declaration void \
- Java_com_sun_solaris_service_kstat_Kstat_read \
- (JNIEnv *env, jobject obj)
-version SUNWprivate_1.1
-end
-
diff --git a/usr/src/cmd/pools/poold/libjkstat/spec/sparc/Makefile b/usr/src/cmd/pools/poold/libjkstat/spec/sparc/Makefile
deleted file mode 100644
index c755776ae9..0000000000
--- a/usr/src/cmd/pools/poold/libjkstat/spec/sparc/Makefile
+++ /dev/null
@@ -1,41 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# cmd/pools/poold/libjkstat/spec/sparc/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-include $(SRC)/lib/Makefile.lib
-
-include $(SRC)/lib/Makefile.spec
-
-CFLAGS += -I$(JAVA_ROOT)/include \
- -I$(JAVA_ROOT)/include/solaris
-
-install: $(SPECMAP)
diff --git a/usr/src/cmd/pools/poold/libjkstat/spec/sparcv9/Makefile b/usr/src/cmd/pools/poold/libjkstat/spec/sparcv9/Makefile
deleted file mode 100644
index 304c1d6ef3..0000000000
--- a/usr/src/cmd/pools/poold/libjkstat/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# cmd/pools/poold/libjkstat/spec/sparcv9/Makefile
-
-DISABLE_APPTRACE= $(POUND_SIGN)
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB64)
diff --git a/usr/src/cmd/pools/poold/libjkstat/spec/versions b/usr/src/cmd/pools/poold/libjkstat/spec/versions
deleted file mode 100644
index 9455f211e2..0000000000
--- a/usr/src/cmd/pools/poold/libjkstat/spec/versions
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# cmd/pools/poold/libjkstat/spec versions
-#
-
-i386 {
- SUNWprivate_1.1;
-}
-
-sparc {
- SUNWprivate_1.1;
-}
diff --git a/usr/src/cmd/pools/poold/libjlgrp/Makefile b/usr/src/cmd/pools/poold/libjlgrp/Makefile
index a7d93d5174..15721c3e8f 100644
--- a/usr/src/cmd/pools/poold/libjlgrp/Makefile
+++ b/usr/src/cmd/pools/poold/libjlgrp/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,17 +19,15 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# cmd/pools/poold/libjlgrp/Makefile
+# ident "%Z%%M% %I% %E% SMI"
#
include $(SRC)/lib/Makefile.lib
-SUBDIRS = spec .WAIT $(MACH)
+SUBDIRS = $(MACH)
all := TARGET = all
clean := TARGET = clean
diff --git a/usr/src/cmd/pools/poold/libjlgrp/Makefile.com b/usr/src/cmd/pools/poold/libjlgrp/Makefile.com
index 68ef5bf483..f878b1e6f2 100644
--- a/usr/src/cmd/pools/poold/libjlgrp/Makefile.com
+++ b/usr/src/cmd/pools/poold/libjlgrp/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,13 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# cmd/pools/poold/libjlgrp/Makefile.com
-#
LIBRARY = libjlgrp.a
VERS = .1
@@ -38,12 +35,9 @@ include $(SRC)/lib/Makefile.lib
INCS = -I$(JAVA_ROOT)/include \
-I$(JAVA_ROOT)/include/solaris
-MAPFILE = $(MAPDIR)/mapfile
-
LIBS = $(DYNLIB)
LDLIBS += -llgrp -lc
ROOTLIBDIR = $(ROOT)/usr/lib/pool
-SRCDIR = $(SRC)/cmd/pools/poold/libjlgrp
CFLAGS += $(CCVERBOSE)
CPPFLAGS += -D_REENTRANT -D_FILE_OFFSET_BITS=64 $(INCS)
diff --git a/usr/src/cmd/pools/poold/libjlgrp/i386/Makefile b/usr/src/cmd/pools/poold/libjlgrp/i386/Makefile
index 76ad708f5c..35ac6d4219 100644
--- a/usr/src/cmd/pools/poold/libjlgrp/i386/Makefile
+++ b/usr/src/cmd/pools/poold/libjlgrp/i386/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,17 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
-# cmd/pools/poold/libjlgrp/i386/Makefile
-#
-
include ../Makefile.com
-MAPDIR= ../spec/i386
-
install: all $(ROOTLIBS) $(ROOTLINKS)
diff --git a/usr/src/cmd/pools/poold/libjlgrp/mapfile-vers b/usr/src/cmd/pools/poold/libjlgrp/mapfile-vers
new file mode 100644
index 0000000000..fbd2dfd9ab
--- /dev/null
+++ b/usr/src/cmd/pools/poold/libjlgrp/mapfile-vers
@@ -0,0 +1,38 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNWprivate_1.1 {
+ global:
+ Java_com_sun_solaris_service_locality_LocalityDomain_jl_1fini;
+ Java_com_sun_solaris_service_locality_LocalityDomain_jl_1init;
+ Java_com_sun_solaris_service_locality_LocalityDomain_jl_1root;
+ Java_com_sun_solaris_service_locality_LocalityGroup_jl_1children;
+ Java_com_sun_solaris_service_locality_LocalityGroup_jl_1cpus;
+ Java_com_sun_solaris_service_locality_LocalityGroup_jl_1latency;
+ local:
+ *;
+};
diff --git a/usr/src/cmd/pools/poold/libjlgrp/sparc/Makefile b/usr/src/cmd/pools/poold/libjlgrp/sparc/Makefile
index 8dbc2500a1..35ac6d4219 100644
--- a/usr/src/cmd/pools/poold/libjlgrp/sparc/Makefile
+++ b/usr/src/cmd/pools/poold/libjlgrp/sparc/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,17 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
-# cmd/pools/poold/libjlgrp/sparc/Makefile
-#
-
include ../Makefile.com
-MAPDIR= ../spec/sparc
-
install: all $(ROOTLIBS) $(ROOTLINKS)
diff --git a/usr/src/cmd/pools/poold/libjlgrp/spec/Makefile b/usr/src/cmd/pools/poold/libjlgrp/spec/Makefile
deleted file mode 100644
index a5107dd9f9..0000000000
--- a/usr/src/cmd/pools/poold/libjlgrp/spec/Makefile
+++ /dev/null
@@ -1,31 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# cmd/pools/poold/libjlgrp/spec/Makefile
-#
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/cmd/pools/poold/libjlgrp/spec/Makefile.targ b/usr/src/cmd/pools/poold/libjlgrp/spec/Makefile.targ
deleted file mode 100644
index 48cdd9a230..0000000000
--- a/usr/src/cmd/pools/poold/libjlgrp/spec/Makefile.targ
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# cmd/pools/poold/libjlgrp/spec/Makefile.targ
-#
-
-.KEEP_STATE:
-
-LIBRARY = libjlgrp.a
-VERS = .1
-
-OBJECTS = jlgrp.o
diff --git a/usr/src/cmd/pools/poold/libjlgrp/spec/amd64/Makefile b/usr/src/cmd/pools/poold/libjlgrp/spec/amd64/Makefile
deleted file mode 100644
index e827ac53f6..0000000000
--- a/usr/src/cmd/pools/poold/libjlgrp/spec/amd64/Makefile
+++ /dev/null
@@ -1,43 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# cmd/pools/poold/libjlgrp/spec/i386/Makefile
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-include $(SRC)/lib/Makefile.spec
-
-CFLAGS += -I$(JAVA_ROOT)/include \
- -I$(JAVA_ROOT)/include/solaris
-
-install: $(SPECMAP)
diff --git a/usr/src/cmd/pools/poold/libjlgrp/spec/i386/Makefile b/usr/src/cmd/pools/poold/libjlgrp/spec/i386/Makefile
deleted file mode 100644
index f9d884b09f..0000000000
--- a/usr/src/cmd/pools/poold/libjlgrp/spec/i386/Makefile
+++ /dev/null
@@ -1,42 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# cmd/pools/poold/libjlgrp/spec/i386/Makefile
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-include $(SRC)/lib/Makefile.lib
-
-include $(SRC)/lib/Makefile.spec
-
-CFLAGS += -I$(JAVA_ROOT)/include \
- -I$(JAVA_ROOT)/include/solaris
-
-install: $(SPECMAP)
diff --git a/usr/src/cmd/pools/poold/libjlgrp/spec/jlgrp.spec b/usr/src/cmd/pools/poold/libjlgrp/spec/jlgrp.spec
deleted file mode 100644
index 81bc8189a6..0000000000
--- a/usr/src/cmd/pools/poold/libjlgrp/spec/jlgrp.spec
+++ /dev/null
@@ -1,76 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# cmd/pools/poold/libjlgrp/spec/jlgrp.spec
-
-function Java_com_sun_solaris_service_locality_LocalityDomain_jl_1fini
-include "../../jlgrp.h"
-declaration jint \
- Java_com_sun_solaris_service_locality_LocalityDomain_jl_1fini \
- (JNIEnv *env, jobject obj)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_solaris_service_locality_LocalityDomain_jl_1init
-include "../../jlgrp.h"
-declaration jlong \
- Java_com_sun_solaris_service_locality_LocalityDomain_jl_1init \
- (JNIEnv *env, jobject obj, jint view)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_solaris_service_locality_LocalityDomain_jl_1root
-include "../../jlgrp.h"
-declaration jobject \
- Java_com_sun_solaris_service_locality_LocalityDomain_jl_1root \
- (JNIEnv *env, jobject obj)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_solaris_service_locality_LocalityGroup_jl_1children
-include "../../jlgrp.h"
-declaration jlongArray \
- Java_com_sun_solaris_service_locality_LocalityGroup_jl_1children \
- (JNIEnv *env, jobject obj)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_solaris_service_locality_LocalityGroup_jl_1cpus
-include "../../jlgrp.h"
-declaration jintArray \
- Java_com_sun_solaris_service_locality_LocalityGroup_jl_1cpus \
- (JNIEnv *env, jobject obj)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_solaris_service_locality_LocalityGroup_jl_1latency
-include "../../jlgrp.h"
-declaration jint \
- Java_com_sun_solaris_service_locality_LocalityGroup_jl_1latency \
- (JNIEnv *env, jobject obj, jlong from, jlong to)
-version SUNWprivate_1.1
-end
-
diff --git a/usr/src/cmd/pools/poold/libjlgrp/spec/sparc/Makefile b/usr/src/cmd/pools/poold/libjlgrp/spec/sparc/Makefile
deleted file mode 100644
index ae86fd7d13..0000000000
--- a/usr/src/cmd/pools/poold/libjlgrp/spec/sparc/Makefile
+++ /dev/null
@@ -1,41 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# cmd/pools/poold/libjlgrp/spec/sparc/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-include $(SRC)/lib/Makefile.lib
-
-include $(SRC)/lib/Makefile.spec
-
-CFLAGS += -I$(JAVA_ROOT)/include \
- -I$(JAVA_ROOT)/include/solaris
-
-install: $(SPECMAP)
diff --git a/usr/src/cmd/pools/poold/libjlgrp/spec/sparcv9/Makefile b/usr/src/cmd/pools/poold/libjlgrp/spec/sparcv9/Makefile
deleted file mode 100644
index da5f498611..0000000000
--- a/usr/src/cmd/pools/poold/libjlgrp/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# cmd/pools/poold/libjlgrp/spec/sparcv9/Makefile
-
-DISABLE_APPTRACE= $(POUND_SIGN)
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB64)
diff --git a/usr/src/cmd/pools/poold/libjlgrp/spec/versions b/usr/src/cmd/pools/poold/libjlgrp/spec/versions
deleted file mode 100644
index 2d7d033084..0000000000
--- a/usr/src/cmd/pools/poold/libjlgrp/spec/versions
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# cmd/pools/poold/libjlgrp/spec versions
-#
-
-i386 {
- SUNWprivate_1.1;
-}
-
-sparc {
- SUNWprivate_1.1;
-}
diff --git a/usr/src/cmd/pools/poold/libjpool/Makefile b/usr/src/cmd/pools/poold/libjpool/Makefile
index 198a9ef241..8cdd821a9e 100644
--- a/usr/src/cmd/pools/poold/libjpool/Makefile
+++ b/usr/src/cmd/pools/poold/libjpool/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,17 +19,15 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# cmd/pools/poold/libjpool/Makefile
+# ident "%Z%%M% %I% %E% SMI"
#
include $(SRC)/lib/Makefile.lib
-SUBDIRS = spec .WAIT $(MACH)
+SUBDIRS = $(MACH)
all := TARGET = all
clean := TARGET = clean
diff --git a/usr/src/cmd/pools/poold/libjpool/Makefile.com b/usr/src/cmd/pools/poold/libjpool/Makefile.com
index 3de6d694a5..58567468ab 100644
--- a/usr/src/cmd/pools/poold/libjpool/Makefile.com
+++ b/usr/src/cmd/pools/poold/libjpool/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,13 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# cmd/pools/poold/libjpool/Makefile.com
-#
LIBRARY = libjpool.a
VERS = .1
@@ -38,13 +35,9 @@ include $(SRC)/lib/Makefile.lib
INCS = -I$(JAVA_ROOT)/include \
-I$(JAVA_ROOT)/include/solaris
-MAPFILE = $(MAPDIR)/mapfile
-
LIBS = $(DYNLIB)
-DYNFLAGS += -M $(MAPFILE)
LDLIBS += -lpool -lc
ROOTLIBDIR = $(ROOT)/usr/lib/pool
-SRCDIR = $(SRC)/cmd/pools/poold/libjpool
CFLAGS += $(CCVERBOSE)
CPPFLAGS += -D_REENTRANT -D_FILE_OFFSET_BITS=64 $(INCS)
diff --git a/usr/src/cmd/pools/poold/libjpool/i386/Makefile b/usr/src/cmd/pools/poold/libjpool/i386/Makefile
index 5540c23533..35ac6d4219 100644
--- a/usr/src/cmd/pools/poold/libjpool/i386/Makefile
+++ b/usr/src/cmd/pools/poold/libjpool/i386/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,17 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
-# cmd/pools/poold/libjpool/i386/Makefile
-#
-
include ../Makefile.com
-MAPDIR= ../spec/i386
-
install: all $(ROOTLIBS) $(ROOTLINKS)
diff --git a/usr/src/cmd/pools/poold/libjpool/mapfile-vers b/usr/src/cmd/pools/poold/libjpool/mapfile-vers
new file mode 100644
index 0000000000..dfba23da5b
--- /dev/null
+++ b/usr/src/cmd/pools/poold/libjpool/mapfile-vers
@@ -0,0 +1,121 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNWprivate_1.1 {
+ global:
+ Java_com_sun_solaris_service_pools_Element_walkProps;
+ Java_com_sun_solaris_service_pools_HRTime_timestamp;
+ Java_com_sun_solaris_service_pools_PoolInternal_get_1POC_1BOOL;
+ Java_com_sun_solaris_service_pools_PoolInternal_get_1POC_1DOUBLE;
+ Java_com_sun_solaris_service_pools_PoolInternal_get_1POC_1INT;
+ Java_com_sun_solaris_service_pools_PoolInternal_get_1POC_1INVAL;
+ Java_com_sun_solaris_service_pools_PoolInternal_get_1POC_1STRING;
+ Java_com_sun_solaris_service_pools_PoolInternal_get_1POC_1UINT;
+ Java_com_sun_solaris_service_pools_PoolInternal_get_1POF_1DESTROY;
+ Java_com_sun_solaris_service_pools_PoolInternal_get_1POF_1INVALID;
+ Java_com_sun_solaris_service_pools_PoolInternal_get_1POF_1VALID;
+ Java_com_sun_solaris_service_pools_PoolInternal_get_1POV_1LOOSE;
+ Java_com_sun_solaris_service_pools_PoolInternal_get_1POV_1NONE;
+ Java_com_sun_solaris_service_pools_PoolInternal_get_1POV_1RUNTIME;
+ Java_com_sun_solaris_service_pools_PoolInternal_get_1POV_1STRICT;
+ Java_com_sun_solaris_service_pools_PoolInternal_get_1POX_1NATIVE;
+ Java_com_sun_solaris_service_pools_PoolInternal_get_1POX_1TEXT;
+ Java_com_sun_solaris_service_pools_PoolInternal_init;
+ Java_com_sun_solaris_service_pools_PoolInternal_pool_1associate;
+ Java_com_sun_solaris_service_pools_PoolInternal_pool_1component_1info;
+ Java_com_sun_solaris_service_pools_PoolInternal_pool_1component_1to_1elem;
+ Java_com_sun_solaris_service_pools_PoolInternal_pool_1conf_1alloc;
+ Java_com_sun_solaris_service_pools_PoolInternal_pool_1conf_1close;
+ Java_com_sun_solaris_service_pools_PoolInternal_pool_1conf_1commit;
+ Java_com_sun_solaris_service_pools_PoolInternal_pool_1conf_1export;
+ Java_com_sun_solaris_service_pools_PoolInternal_pool_1conf_1free;
+ Java_com_sun_solaris_service_pools_PoolInternal_pool_1conf_1info;
+ Java_com_sun_solaris_service_pools_PoolInternal_pool_1conf_1location;
+ Java_com_sun_solaris_service_pools_PoolInternal_pool_1conf_1open;
+ Java_com_sun_solaris_service_pools_PoolInternal_pool_1conf_1remove;
+ Java_com_sun_solaris_service_pools_PoolInternal_pool_1conf_1rollback;
+ Java_com_sun_solaris_service_pools_PoolInternal_pool_1conf_1status;
+ Java_com_sun_solaris_service_pools_PoolInternal_pool_1conf_1to_1elem;
+ Java_com_sun_solaris_service_pools_PoolInternal_pool_1conf_1update;
+ Java_com_sun_solaris_service_pools_PoolInternal_pool_1conf_1validate;
+ Java_com_sun_solaris_service_pools_PoolInternal_pool_1create;
+ Java_com_sun_solaris_service_pools_PoolInternal_pool_1destroy;
+ Java_com_sun_solaris_service_pools_PoolInternal_pool_1dissociate;
+ Java_com_sun_solaris_service_pools_PoolInternal_pool_1dynamic_1location;
+ Java_com_sun_solaris_service_pools_PoolInternal_pool_1error;
+ Java_com_sun_solaris_service_pools_PoolInternal_pool_1get_1binding;
+ Java_com_sun_solaris_service_pools_PoolInternal_pool_1get_1owning_1resource;
+ Java_com_sun_solaris_service_pools_PoolInternal_pool_1get_1pool;
+ Java_com_sun_solaris_service_pools_PoolInternal_pool_1get_1property;
+ Java_com_sun_solaris_service_pools_PoolInternal_pool_1get_1resource;
+ Java_com_sun_solaris_service_pools_PoolInternal_pool_1get_1resource_1binding;
+ Java_com_sun_solaris_service_pools_PoolInternal_pool_1get_1status;
+ Java_com_sun_solaris_service_pools_PoolInternal_pool_1info;
+ Java_com_sun_solaris_service_pools_PoolInternal_pool_1put_1property;
+ Java_com_sun_solaris_service_pools_PoolInternal_pool_1query_1components;
+ Java_com_sun_solaris_service_pools_PoolInternal_pool_1query_1pool_1resources;
+ Java_com_sun_solaris_service_pools_PoolInternal_pool_1query_1pools;
+ Java_com_sun_solaris_service_pools_PoolInternal_pool_1query_1resource_1components;
+ Java_com_sun_solaris_service_pools_PoolInternal_pool_1query_1resources;
+ Java_com_sun_solaris_service_pools_PoolInternal_pool_1resource_1create;
+ Java_com_sun_solaris_service_pools_PoolInternal_pool_1resource_1destroy;
+ Java_com_sun_solaris_service_pools_PoolInternal_pool_1resource_1info;
+ Java_com_sun_solaris_service_pools_PoolInternal_pool_1resource_1to_1elem;
+ Java_com_sun_solaris_service_pools_PoolInternal_pool_1resource_1transfer;
+ Java_com_sun_solaris_service_pools_PoolInternal_pool_1resource_1type_1list;
+ Java_com_sun_solaris_service_pools_PoolInternal_pool_1resource_1xtransfer;
+ Java_com_sun_solaris_service_pools_PoolInternal_pool_1rm_1property;
+ Java_com_sun_solaris_service_pools_PoolInternal_pool_1set_1binding;
+ Java_com_sun_solaris_service_pools_PoolInternal_pool_1set_1status;
+ Java_com_sun_solaris_service_pools_PoolInternal_pool_1static_1location;
+ Java_com_sun_solaris_service_pools_PoolInternal_pool_1strerror;
+ Java_com_sun_solaris_service_pools_PoolInternal_pool_1strerror_1sys;
+ Java_com_sun_solaris_service_pools_PoolInternal_pool_1to_1elem;
+ Java_com_sun_solaris_service_pools_PoolInternal_pool_1value_1alloc;
+ Java_com_sun_solaris_service_pools_PoolInternal_pool_1value_1free;
+ Java_com_sun_solaris_service_pools_PoolInternal_pool_1value_1get_1name;
+ Java_com_sun_solaris_service_pools_PoolInternal_pool_1value_1get_1type;
+ Java_com_sun_solaris_service_pools_PoolInternal_pool_1value_1set_1bool;
+ Java_com_sun_solaris_service_pools_PoolInternal_pool_1value_1set_1double;
+ Java_com_sun_solaris_service_pools_PoolInternal_pool_1value_1set_1int64;
+ Java_com_sun_solaris_service_pools_PoolInternal_pool_1value_1set_1name;
+ Java_com_sun_solaris_service_pools_PoolInternal_pool_1value_1set_1string;
+ Java_com_sun_solaris_service_pools_PoolInternal_pool_1value_1set_1uint64;
+ Java_com_sun_solaris_service_pools_PoolInternal_pool_1version;
+ Java_com_sun_solaris_service_pools_PoolInternal_pool_1walk_1components;
+ Java_com_sun_solaris_service_pools_PoolInternal_pool_1walk_1pools;
+ Java_com_sun_solaris_service_pools_PoolInternal_pool_1walk_1properties;
+ Java_com_sun_solaris_service_pools_PoolInternal_pool_1walk_1resources;
+ Java_com_sun_solaris_service_pools_PoolsException_getErrno;
+ Java_com_sun_solaris_service_pools_Value_getBoolValue;
+ Java_com_sun_solaris_service_pools_Value_getDoubleValue;
+ Java_com_sun_solaris_service_pools_Value_getLongValue;
+ Java_com_sun_solaris_service_pools_Value_getStringValue;
+ Java_com_sun_solaris_service_pools_Value_getUnsignedInt64Value;
+ local:
+ *;
+};
diff --git a/usr/src/cmd/pools/poold/libjpool/sparc/Makefile b/usr/src/cmd/pools/poold/libjpool/sparc/Makefile
index c362cddcde..35ac6d4219 100644
--- a/usr/src/cmd/pools/poold/libjpool/sparc/Makefile
+++ b/usr/src/cmd/pools/poold/libjpool/sparc/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,17 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
-# cmd/pools/poold/libjpool/sparc/Makefile
-#
-
include ../Makefile.com
-MAPDIR= ../spec/sparc
-
install: all $(ROOTLIBS) $(ROOTLINKS)
diff --git a/usr/src/cmd/pools/poold/libjpool/spec/Makefile b/usr/src/cmd/pools/poold/libjpool/spec/Makefile
deleted file mode 100644
index ac42336aea..0000000000
--- a/usr/src/cmd/pools/poold/libjpool/spec/Makefile
+++ /dev/null
@@ -1,31 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# cmd/pools/poold/libjpool/spec/Makefile
-#
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/cmd/pools/poold/libjpool/spec/Makefile.targ b/usr/src/cmd/pools/poold/libjpool/spec/Makefile.targ
deleted file mode 100644
index 1fecfd654a..0000000000
--- a/usr/src/cmd/pools/poold/libjpool/spec/Makefile.targ
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# cmd/pools/poold/libjpool/spec/Makefile.targ
-#
-
-.KEEP_STATE:
-
-LIBRARY = libjpool.a
-VERS = .1
-
-OBJECTS = jpool.o
diff --git a/usr/src/cmd/pools/poold/libjpool/spec/amd64/Makefile b/usr/src/cmd/pools/poold/libjpool/spec/amd64/Makefile
deleted file mode 100644
index aa209263c6..0000000000
--- a/usr/src/cmd/pools/poold/libjpool/spec/amd64/Makefile
+++ /dev/null
@@ -1,43 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# cmd/pools/poold/libjpool/spec/i386/Makefile
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-include $(SRC)/lib/Makefile.spec
-
-CFLAGS += -I$(JAVA_ROOT)/include \
- -I$(JAVA_ROOT)/include/solaris
-
-install: $(SPECMAP64)
diff --git a/usr/src/cmd/pools/poold/libjpool/spec/i386/Makefile b/usr/src/cmd/pools/poold/libjpool/spec/i386/Makefile
deleted file mode 100644
index 616e85b404..0000000000
--- a/usr/src/cmd/pools/poold/libjpool/spec/i386/Makefile
+++ /dev/null
@@ -1,42 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# cmd/pools/poold/libjpool/spec/i386/Makefile
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-include $(SRC)/lib/Makefile.lib
-
-include $(SRC)/lib/Makefile.spec
-
-CFLAGS += -I$(JAVA_ROOT)/include \
- -I$(JAVA_ROOT)/include/solaris
-
-install: $(SPECMAP)
diff --git a/usr/src/cmd/pools/poold/libjpool/spec/jpool.spec b/usr/src/cmd/pools/poold/libjpool/spec/jpool.spec
deleted file mode 100644
index faeabb575e..0000000000
--- a/usr/src/cmd/pools/poold/libjpool/spec/jpool.spec
+++ /dev/null
@@ -1,760 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# "../../jpool.h"
-
-function Java_com_sun_solaris_service_pools_Value_getUnsignedInt64Value
-include "../../jpool.h"
-declaration jobject \
- Java_com_sun_solaris_service_pools_Value_getUnsignedInt64Value \
- (JNIEnv *jenv, jclass class, jlong pointer)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_solaris_service_pools_PoolInternal_pool_1value_1set_1bool
-include "../../jpool.h"
-declaration void \
- Java_com_sun_solaris_service_pools_PoolInternal_pool_1value_1set_1bool \
- (JNIEnv *jenv, jclass jcls, jlong jvalue, jshort jb)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_solaris_service_pools_PoolInternal_pool_1value_1get_1type
-include "../../jpool.h"
-declaration jint \
- Java_com_sun_solaris_service_pools_PoolInternal_pool_1value_1get_1type \
- (JNIEnv *jenv, jclass jcls, jlong jvalue)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_solaris_service_pools_PoolInternal_get_1POC_1INVAL
-include "../../jpool.h"
-declaration jint \
- Java_com_sun_solaris_service_pools_PoolInternal_get_1POC_1INVAL \
- (JNIEnv *jenv, jclass jcls)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_solaris_service_pools_PoolInternal_pool_1info
-include "../../jpool.h"
-declaration jstring \
- Java_com_sun_solaris_service_pools_PoolInternal_pool_1info \
- (JNIEnv *jenv, jclass jcls, jlong jconf, jlong jpool, \
- jint jflags)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_solaris_service_pools_PoolInternal_pool_1rm_1property
-include "../../jpool.h"
-declaration jint \
- Java_com_sun_solaris_service_pools_PoolInternal_pool_1rm_1property \
- (JNIEnv *jenv, jclass jcls, jlong jconf, jlong jelem, \
- jstring jname)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_solaris_service_pools_PoolInternal_get_1POF_1DESTROY
-include "../../jpool.h"
-declaration jint \
- Java_com_sun_solaris_service_pools_PoolInternal_get_1POF_1DESTROY \
- (JNIEnv *jenv, jclass jcls)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_solaris_service_pools_PoolInternal_pool_1walk_1properties
-include "../../jpool.h"
-declaration jint \
- Java_com_sun_solaris_service_pools_PoolInternal_pool_1walk_1properties \
- (JNIEnv *jenv, jclass jcls, jlong jconf, jlong jelem, \
- jlong jarg, jlong jcallback)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_solaris_service_pools_PoolInternal_get_1POF_1INVALID
-include "../../jpool.h"
-declaration jint \
- Java_com_sun_solaris_service_pools_PoolInternal_get_1POF_1INVALID \
- (JNIEnv *jenv, jclass jcls)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_solaris_service_pools_PoolInternal_get_1POV_1NONE
-include "../../jpool.h"
-declaration jint \
- Java_com_sun_solaris_service_pools_PoolInternal_get_1POV_1NONE \
- (JNIEnv *jenv, jclass jcls)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_solaris_service_pools_Value_getDoubleValue
-include "../../jpool.h"
-declaration jdouble \
- Java_com_sun_solaris_service_pools_Value_getDoubleValue \
- (JNIEnv *jenv, jclass class, jlong pointer)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_solaris_service_pools_PoolInternal_pool_1to_1elem
-include "../../jpool.h"
-declaration jlong \
- Java_com_sun_solaris_service_pools_PoolInternal_pool_1to_1elem \
- (JNIEnv *jenv, jclass jcls, jlong jconf, jlong jpool)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_solaris_service_pools_PoolInternal_pool_1static_1location
-include "../../jpool.h"
-declaration jstring \
- Java_com_sun_solaris_service_pools_PoolInternal_pool_1static_1location \
- (JNIEnv *jenv, jclass jcls)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_solaris_service_pools_PoolInternal_get_1POC_1INT
-include "../../jpool.h"
-declaration jint \
- Java_com_sun_solaris_service_pools_PoolInternal_get_1POC_1INT \
- (JNIEnv *jenv, jclass jcls)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_solaris_service_pools_PoolInternal_pool_1conf_1rollback
-include "../../jpool.h"
-declaration jint \
- Java_com_sun_solaris_service_pools_PoolInternal_pool_1conf_1rollback \
- (JNIEnv *jenv, jclass jcls, jlong jconf)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_solaris_service_pools_PoolInternal_pool_1conf_1status
-include "../../jpool.h"
-declaration jint \
- Java_com_sun_solaris_service_pools_PoolInternal_pool_1conf_1status \
- (JNIEnv *jenv, jclass jcls, jlong jconf)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_solaris_service_pools_Value_getBoolValue
-include "../../jpool.h"
-declaration jboolean \
- Java_com_sun_solaris_service_pools_Value_getBoolValue \
- (JNIEnv *jenv, jclass class, jlong pointer)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_solaris_service_pools_PoolInternal_pool_1walk_1components
-include "../../jpool.h"
-declaration jint \
- Java_com_sun_solaris_service_pools_PoolInternal_pool_1walk_1components \
- (JNIEnv *jenv, jclass jcls, jlong jconf, jlong jresource, \
- jlong jarg, jlong jcallback)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_solaris_service_pools_PoolInternal_pool_1version
-include "../../jpool.h"
-declaration jlong \
- Java_com_sun_solaris_service_pools_PoolInternal_pool_1version \
- (JNIEnv *jenv, jclass jcls, jlong jver)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_solaris_service_pools_PoolInternal_pool_1value_1set_1name
-include "../../jpool.h"
-declaration jint \
- Java_com_sun_solaris_service_pools_PoolInternal_pool_1value_1set_1name \
- (JNIEnv *jenv, jclass jcls, jlong jvalue, jstring jname)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_solaris_service_pools_PoolInternal_pool_1value_1free
-include "../../jpool.h"
-declaration void \
- Java_com_sun_solaris_service_pools_PoolInternal_pool_1value_1free \
- (JNIEnv *jenv, jclass jcls, jlong jvalue)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_solaris_service_pools_PoolInternal_pool_1set_1status
-include "../../jpool.h"
-declaration jint \
- Java_com_sun_solaris_service_pools_PoolInternal_pool_1set_1status \
- (JNIEnv *jenv, jclass jcls, jint jstate)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_solaris_service_pools_PoolInternal_pool_1resource_1xtransfer
-include "../../jpool.h"
-declaration jint \
- Java_com_sun_solaris_service_pools_PoolInternal_pool_1resource_1xtransfer \
- (JNIEnv *jenv, jclass jcls, jlong jconf, jlong jsource, \
- jlong jtarget, jobject jcomponents)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_solaris_service_pools_PoolInternal_get_1POC_1DOUBLE
-include "../../jpool.h"
-declaration jint \
- Java_com_sun_solaris_service_pools_PoolInternal_get_1POC_1DOUBLE \
- (JNIEnv *jenv, jclass jcls)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_solaris_service_pools_PoolInternal_get_1POF_1VALID
-include "../../jpool.h"
-declaration jint \
- Java_com_sun_solaris_service_pools_PoolInternal_get_1POF_1VALID \
- (JNIEnv *jenv, jclass jcls)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_solaris_service_pools_PoolInternal_pool_1conf_1alloc
-include "../../jpool.h"
-declaration jlong \
- Java_com_sun_solaris_service_pools_PoolInternal_pool_1conf_1alloc \
- (JNIEnv *jenv, jclass jcls)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_solaris_service_pools_PoolInternal_pool_1query_1resources
-include "../../jpool.h"
-declaration jobject \
- Java_com_sun_solaris_service_pools_PoolInternal_pool_1query_1resources \
- (JNIEnv *jenv, jclass jcls, jlong jconf, jobject jprops)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_solaris_service_pools_Value_getLongValue
-include "../../jpool.h"
-declaration jlong \
- Java_com_sun_solaris_service_pools_Value_getLongValue \
- (JNIEnv *jenv, jclass class, jlong pointer)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_solaris_service_pools_PoolInternal_pool_1strerror_1sys
-include "../../jpool.h"
-declaration jstring \
- Java_com_sun_solaris_service_pools_PoolInternal_pool_1strerror_1sys \
- (JNIEnv * jenv, jclass jcls)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_solaris_service_pools_PoolInternal_pool_1destroy
-include "../../jpool.h"
-declaration jint \
- Java_com_sun_solaris_service_pools_PoolInternal_pool_1destroy \
- (JNIEnv *jenv, jclass jcls, jlong jconf, jlong jpool)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_solaris_service_pools_PoolInternal_pool_1get_1property
-include "../../jpool.h"
-declaration jint \
- Java_com_sun_solaris_service_pools_PoolInternal_pool_1get_1property \
- (JNIEnv *jenv, jclass jcls, jlong jconf, jlong jelem, \
- jstring jname, jlong jproperty)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_solaris_service_pools_PoolInternal_pool_1dynamic_1location
-include "../../jpool.h"
-declaration jstring \
- Java_com_sun_solaris_service_pools_PoolInternal_pool_1dynamic_1location \
- (JNIEnv *jenv, jclass jcls)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_solaris_service_pools_PoolInternal_pool_1component_1to_1elem
-include "../../jpool.h"
-declaration jlong \
- Java_com_sun_solaris_service_pools_PoolInternal_pool_1component_1to_1elem \
- (JNIEnv *jenv, jclass jcls, jlong jconf, jlong jcomponent)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_solaris_service_pools_PoolInternal_pool_1get_1status
-include "../../jpool.h"
-declaration jint \
- Java_com_sun_solaris_service_pools_PoolInternal_pool_1get_1status \
- (JNIEnv *jenv, jclass jcls, jlong jstatep)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_solaris_service_pools_PoolInternal_get_1POV_1LOOSE
-include "../../jpool.h"
-declaration jint \
- Java_com_sun_solaris_service_pools_PoolInternal_get_1POV_1LOOSE \
- (JNIEnv *jenv, jclass jcls)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_solaris_service_pools_HRTime_timestamp
-include "../../jpool.h"
-declaration jobject \
- Java_com_sun_solaris_service_pools_HRTime_timestamp \
- (JNIEnv *env, jobject obj)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_solaris_service_pools_PoolInternal_pool_1resource_1info
-include "../../jpool.h"
-declaration jstring \
- Java_com_sun_solaris_service_pools_PoolInternal_pool_1resource_1info \
- (JNIEnv *jenv, jclass jcls, jlong jconf, jlong jresource, \
- jint jflags)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_solaris_service_pools_PoolInternal_pool_1value_1alloc
-include "../../jpool.h"
-declaration jlong \
- Java_com_sun_solaris_service_pools_PoolInternal_pool_1value_1alloc \
- (JNIEnv *jenv, jclass jcls)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_solaris_service_pools_PoolInternal_get_1POC_1STRING
-include "../../jpool.h"
-declaration jint \
- Java_com_sun_solaris_service_pools_PoolInternal_get_1POC_1STRING \
- (JNIEnv *jenv, jclass jcls)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_solaris_service_pools_PoolInternal_pool_1create
-include "../../jpool.h"
-declaration jlong \
- Java_com_sun_solaris_service_pools_PoolInternal_pool_1create \
- (JNIEnv *jenv, jclass jcls, jlong jconf, jstring jname)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_solaris_service_pools_PoolInternal_pool_1get_1owning_1resource
-include "../../jpool.h"
-declaration jlong \
- Java_com_sun_solaris_service_pools_PoolInternal_pool_1get_1owning_1resource \
- (JNIEnv *jenv, jclass jcls, jlong jconf, jlong jcomponent)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_solaris_service_pools_PoolInternal_init
-include "../../jpool.h"
-declaration void \
- Java_com_sun_solaris_service_pools_PoolInternal_init \
- (JNIEnv *env, jclass clazz)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_solaris_service_pools_Value_getStringValue
-include "../../jpool.h"
-declaration jstring \
- Java_com_sun_solaris_service_pools_Value_getStringValue \
- (JNIEnv *jenv, jclass class, jlong pointer)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_solaris_service_pools_PoolInternal_pool_1walk_1resources
-include "../../jpool.h"
-declaration jint \
- Java_com_sun_solaris_service_pools_PoolInternal_pool_1walk_1resources \
- (JNIEnv *jenv, jclass jcls, jlong jconf, jlong jpool, \
- jlong jarg, jlong jcallback)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_solaris_service_pools_PoolInternal_pool_1set_1binding
-include "../../jpool.h"
-declaration jint \
- Java_com_sun_solaris_service_pools_PoolInternal_pool_1set_1binding \
- (JNIEnv *jenv, jclass jcls, jstring jpool, jint jidtype, \
- jint jpid)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_solaris_service_pools_PoolInternal_pool_1conf_1info
-include "../../jpool.h"
-declaration jstring \
- Java_com_sun_solaris_service_pools_PoolInternal_pool_1conf_1info \
- (JNIEnv *jenv, jclass jcls, jlong jconf, jint jflags)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_solaris_service_pools_PoolInternal_get_1POX_1NATIVE
-include "../../jpool.h"
-declaration jint \
- Java_com_sun_solaris_service_pools_PoolInternal_get_1POX_1NATIVE \
- (JNIEnv *jenv, jclass jcls)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_solaris_service_pools_PoolInternal_pool_1conf_1validate
-include "../../jpool.h"
-declaration jint \
- Java_com_sun_solaris_service_pools_PoolInternal_pool_1conf_1validate \
- (JNIEnv *jenv, jclass jcls, jlong jconf, jint jlevel)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_solaris_service_pools_PoolInternal_pool_1get_1resource
-include "../../jpool.h"
-declaration jlong \
- Java_com_sun_solaris_service_pools_PoolInternal_pool_1get_1resource \
- (JNIEnv *jenv, jclass jcls, jlong jconf, jstring jtype, \
- jstring jname)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_solaris_service_pools_PoolInternal_pool_1dissociate
-include "../../jpool.h"
-declaration jint \
- Java_com_sun_solaris_service_pools_PoolInternal_pool_1dissociate \
- (JNIEnv *jenv, jclass jcls, jlong jconf, jlong jpool, \
- jlong jresource)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_solaris_service_pools_PoolsException_getErrno
-include "../../jpool.h"
-declaration jint \
- Java_com_sun_solaris_service_pools_PoolsException_getErrno \
- (JNIEnv *jenv, jclass jcls)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_solaris_service_pools_PoolInternal_pool_1conf_1to_1elem
-include "../../jpool.h"
-declaration jlong \
- Java_com_sun_solaris_service_pools_PoolInternal_pool_1conf_1to_1elem \
- (JNIEnv *jenv, jclass jcls, jlong jconf)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_solaris_service_pools_PoolInternal_pool_1query_1pools
-include "../../jpool.h"
-declaration jobject \
- Java_com_sun_solaris_service_pools_PoolInternal_pool_1query_1pools \
- (JNIEnv *jenv, jclass jcls, jlong jconf, jobject jprops)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_solaris_service_pools_PoolInternal_pool_1query_1resource_1components
-include "../../jpool.h"
-declaration jobject \
- Java_com_sun_solaris_service_pools_PoolInternal_pool_1query_1resource_1components \
- (JNIEnv *jenv, jclass jcls, jlong jconf, jlong resource, \
- jobject jprops)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_solaris_service_pools_PoolInternal_get_1POX_1TEXT
-include "../../jpool.h"
-declaration jint \
- Java_com_sun_solaris_service_pools_PoolInternal_get_1POX_1TEXT \
- (JNIEnv *jenv, jclass jcls)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_solaris_service_pools_PoolInternal_pool_1conf_1location
-include "../../jpool.h"
-declaration jstring \
- Java_com_sun_solaris_service_pools_PoolInternal_pool_1conf_1location \
- (JNIEnv *jenv, jclass jcls, jlong jconf)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_solaris_service_pools_PoolInternal_pool_1conf_1close
-include "../../jpool.h"
-declaration jint \
- Java_com_sun_solaris_service_pools_PoolInternal_pool_1conf_1close \
- (JNIEnv *jenv, jclass jcls, jlong jconf)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_solaris_service_pools_PoolInternal_pool_1associate
-include "../../jpool.h"
-declaration jint \
- Java_com_sun_solaris_service_pools_PoolInternal_pool_1associate \
- (JNIEnv *jenv, jclass jcls, jlong jconf, jlong jpool, \
- jlong jresource)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_solaris_service_pools_PoolInternal_pool_1put_1property
-include "../../jpool.h"
-declaration jint \
- Java_com_sun_solaris_service_pools_PoolInternal_pool_1put_1property \
- (JNIEnv *jenv, jclass jcls, jlong jconf, jlong jelem, \
- jstring jname, jlong jvalue)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_solaris_service_pools_PoolInternal_pool_1get_1resource_1binding
-include "../../jpool.h"
-declaration jstring \
- Java_com_sun_solaris_service_pools_PoolInternal_pool_1get_1resource_1binding \
- (JNIEnv *jenv, jclass jcls, jstring jtype, jint jpid)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_solaris_service_pools_PoolInternal_pool_1value_1set_1int64
-include "../../jpool.h"
-declaration void \
- Java_com_sun_solaris_service_pools_PoolInternal_pool_1value_1set_1int64 \
- (JNIEnv *jenv, jclass jcls, jlong jvalue, jlong ji64)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_solaris_service_pools_PoolInternal_pool_1resource_1type_1list
-include "../../jpool.h"
-declaration jint \
- Java_com_sun_solaris_service_pools_PoolInternal_pool_1resource_1type_1list \
- (JNIEnv *jenv, jclass jcls, jlong jreslist, jlong jnumres)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_solaris_service_pools_PoolInternal_pool_1resource_1destroy
-include "../../jpool.h"
-declaration jint \
- Java_com_sun_solaris_service_pools_PoolInternal_pool_1resource_1destroy \
- (JNIEnv *jenv, jclass jcls, jlong jconf, jlong jresource)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_solaris_service_pools_PoolInternal_pool_1get_1pool
-include "../../jpool.h"
-declaration jlong \
- Java_com_sun_solaris_service_pools_PoolInternal_pool_1get_1pool \
- (JNIEnv *jenv, jclass jcls, jlong jconf, jstring jname)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_solaris_service_pools_PoolInternal_pool_1conf_1commit
-include "../../jpool.h"
-declaration jint \
- Java_com_sun_solaris_service_pools_PoolInternal_pool_1conf_1commit \
- (JNIEnv *jenv, jclass jcls, jlong jconf, jint jactive)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_solaris_service_pools_PoolInternal_pool_1value_1set_1uint64
-include "../../jpool.h"
-declaration void \
- Java_com_sun_solaris_service_pools_PoolInternal_pool_1value_1set_1uint64 \
- (JNIEnv *jenv, jclass jcls, jlong jvalue, jlong jui64)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_solaris_service_pools_PoolInternal_pool_1value_1set_1double
-include "../../jpool.h"
-declaration void \
- Java_com_sun_solaris_service_pools_PoolInternal_pool_1value_1set_1double \
- (JNIEnv *jenv, jclass jcls, jlong jvalue, jdouble jd)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_solaris_service_pools_PoolInternal_pool_1value_1get_1name
-include "../../jpool.h"
-declaration jstring \
- Java_com_sun_solaris_service_pools_PoolInternal_pool_1value_1get_1name \
- (JNIEnv *jenv, jclass jcls, jlong jvalue)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_solaris_service_pools_PoolInternal_get_1POC_1UINT
-include "../../jpool.h"
-declaration jint \
- Java_com_sun_solaris_service_pools_PoolInternal_get_1POC_1UINT \
- (JNIEnv *jenv, jclass jcls)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_solaris_service_pools_PoolInternal_pool_1conf_1remove
-include "../../jpool.h"
-declaration jint \
- Java_com_sun_solaris_service_pools_PoolInternal_pool_1conf_1remove \
- (JNIEnv *jenv, jclass jcls, jlong jconf)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_solaris_service_pools_PoolInternal_get_1POV_1STRICT
-include "../../jpool.h"
-declaration jint \
- Java_com_sun_solaris_service_pools_PoolInternal_get_1POV_1STRICT \
- (JNIEnv *jenv, jclass jcls)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_solaris_service_pools_Element_walkProps
-include "../../jpool.h"
-declaration jint \
- Java_com_sun_solaris_service_pools_Element_walkProps \
- (JNIEnv *env, jobject obj, jlong conf, jlong elem, \
- jobject handler, jobject userobj)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_solaris_service_pools_PoolInternal_pool_1conf_1open
-include "../../jpool.h"
-declaration jint \
- Java_com_sun_solaris_service_pools_PoolInternal_pool_1conf_1open \
- (JNIEnv *jenv, jclass jcls, jlong jconf, jstring jlocation, \
- jint jflags)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_solaris_service_pools_PoolInternal_pool_1conf_1free
-include "../../jpool.h"
-declaration void \
- Java_com_sun_solaris_service_pools_PoolInternal_pool_1conf_1free \
- (JNIEnv *jenv, jclass jcls, jlong jconf)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_solaris_service_pools_PoolInternal_pool_1error
-include "../../jpool.h"
-declaration jint \
- Java_com_sun_solaris_service_pools_PoolInternal_pool_1error \
- (JNIEnv *jenv, jclass jcls)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_solaris_service_pools_PoolInternal_pool_1resource_1transfer
-include "../../jpool.h"
-declaration jint \
- Java_com_sun_solaris_service_pools_PoolInternal_pool_1resource_1transfer \
- (JNIEnv *jenv, jclass jcls, jlong jconf, jlong jsource, \
- jlong jtarget, jlong jsize)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_solaris_service_pools_PoolInternal_pool_1resource_1to_1elem
-include "../../jpool.h"
-declaration jlong \
- Java_com_sun_solaris_service_pools_PoolInternal_pool_1resource_1to_1elem \
- (JNIEnv *jenv, jclass jcls, jlong jconf, jlong jresource)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_solaris_service_pools_PoolInternal_pool_1conf_1update
-include "../../jpool.h"
-declaration jint \
- Java_com_sun_solaris_service_pools_PoolInternal_pool_1conf_1update \
- (JNIEnv *jenv, jclass jcls, jlong jconf)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_solaris_service_pools_PoolInternal_pool_1walk_1pools
-include "../../jpool.h"
-declaration jint \
- Java_com_sun_solaris_service_pools_PoolInternal_pool_1walk_1pools \
- (JNIEnv *jenv, jclass jcls, jlong jconf, jlong jarg, \
- jlong jcallback)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_solaris_service_pools_PoolInternal_pool_1resource_1create
-include "../../jpool.h"
-declaration jlong \
- Java_com_sun_solaris_service_pools_PoolInternal_pool_1resource_1create \
- (JNIEnv *jenv, jclass jcls, jlong jconf, jstring jtype, \
- jstring jname)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_solaris_service_pools_PoolInternal_get_1POV_1RUNTIME
-include "../../jpool.h"
-declaration jint \
- Java_com_sun_solaris_service_pools_PoolInternal_get_1POV_1RUNTIME \
- (JNIEnv *jenv, jclass jcls)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_solaris_service_pools_PoolInternal_pool_1component_1info
-include "../../jpool.h"
-declaration jstring \
- Java_com_sun_solaris_service_pools_PoolInternal_pool_1component_1info \
- (JNIEnv *jenv, jclass jcls, jlong jconf, jlong jcomponent, \
- jint jflags)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_solaris_service_pools_PoolInternal_pool_1get_1binding
-include "../../jpool.h"
-declaration jstring \
- Java_com_sun_solaris_service_pools_PoolInternal_pool_1get_1binding \
- (JNIEnv *jenv, jclass jcls, jint jpid)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_solaris_service_pools_PoolInternal_pool_1strerror
-include "../../jpool.h"
-declaration jstring \
- Java_com_sun_solaris_service_pools_PoolInternal_pool_1strerror \
- (JNIEnv *jenv, jclass jcls, jint jperr)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_solaris_service_pools_PoolInternal_get_1POC_1BOOL
-include "../../jpool.h"
-declaration jint \
- Java_com_sun_solaris_service_pools_PoolInternal_get_1POC_1BOOL \
- (JNIEnv *jenv, jclass jcls)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_solaris_service_pools_PoolInternal_pool_1value_1set_1string
-include "../../jpool.h"
-declaration jint \
- Java_com_sun_solaris_service_pools_PoolInternal_pool_1value_1set_1string \
- (JNIEnv * jenv, jclass jcls, jlong jvalue, jstring jstr)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_solaris_service_pools_PoolInternal_pool_1query_1pool_1resources
-include "../../jpool.h"
-declaration jobject \
- Java_com_sun_solaris_service_pools_PoolInternal_pool_1query_1pool_1resources \
- (JNIEnv *jenv, jclass jcls, jlong jconf, jlong jpool, jobject jprops)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_solaris_service_pools_PoolInternal_pool_1conf_1export
-include "../../jpool.h"
-declaration jint \
- Java_com_sun_solaris_service_pools_PoolInternal_pool_1conf_1export \
- (JNIEnv *jenv, jclass jcls, jlong jconf, jstring jlocation, \
- jint jformat)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_solaris_service_pools_PoolInternal_pool_1query_1components
-include "../../jpool.h"
-declaration jobject \
- Java_com_sun_solaris_service_pools_PoolInternal_pool_1query_1components \
- (JNIEnv *jenv, jclass jcls, jlong jconf, jobject jprops)
-version SUNWprivate_1.1
-end
diff --git a/usr/src/cmd/pools/poold/libjpool/spec/sparc/Makefile b/usr/src/cmd/pools/poold/libjpool/spec/sparc/Makefile
deleted file mode 100644
index 00d0224208..0000000000
--- a/usr/src/cmd/pools/poold/libjpool/spec/sparc/Makefile
+++ /dev/null
@@ -1,41 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# cmd/pools/poold/libjpool/spec/sparc/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-include $(SRC)/lib/Makefile.lib
-
-include $(SRC)/lib/Makefile.spec
-
-CFLAGS += -I$(JAVA_ROOT)/include \
- -I$(JAVA_ROOT)/include/solaris
-
-install: $(SPECMAP)
diff --git a/usr/src/cmd/pools/poold/libjpool/spec/sparcv9/Makefile b/usr/src/cmd/pools/poold/libjpool/spec/sparcv9/Makefile
deleted file mode 100644
index d7de5d0445..0000000000
--- a/usr/src/cmd/pools/poold/libjpool/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# cmd/pools/poold/libjpool/spec/sparcv9/Makefile
-
-DISABLE_APPTRACE= $(POUND_SIGN)
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB64)
diff --git a/usr/src/cmd/pools/poold/libjpool/spec/versions b/usr/src/cmd/pools/poold/libjpool/spec/versions
deleted file mode 100644
index 88bc34e512..0000000000
--- a/usr/src/cmd/pools/poold/libjpool/spec/versions
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# cmd/pools/poold/libjpool/spec versions
-#
-
-i386 {
- SUNWprivate_1.1;
-}
-
-sparc {
- SUNWprivate_1.1;
-}
diff --git a/usr/src/cmd/pools/poold/libjsyslog/Makefile b/usr/src/cmd/pools/poold/libjsyslog/Makefile
index c668a01be3..80b59a3afb 100644
--- a/usr/src/cmd/pools/poold/libjsyslog/Makefile
+++ b/usr/src/cmd/pools/poold/libjsyslog/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,17 +19,15 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# cmd/pools/poold/libjsyslog/Makefile
+# ident "%Z%%M% %I% %E% SMI"
#
include $(SRC)/lib/Makefile.lib
-SUBDIRS = spec .WAIT $(MACH)
+SUBDIRS = $(MACH)
all := TARGET = all
clean := TARGET = clean
diff --git a/usr/src/cmd/pools/poold/libjsyslog/Makefile.com b/usr/src/cmd/pools/poold/libjsyslog/Makefile.com
index eec6efccfa..9b0fc312a8 100644
--- a/usr/src/cmd/pools/poold/libjsyslog/Makefile.com
+++ b/usr/src/cmd/pools/poold/libjsyslog/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,13 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# cmd/pools/poold/libjsyslog/Makefile.com
-#
LIBRARY = libjsyslog.a
VERS = .1
@@ -37,13 +34,10 @@ include $(SRC)/lib/Makefile.lib
INCS = -I$(JAVA_ROOT)/include \
-I$(JAVA_ROOT)/include/solaris
-MAPFILE = $(MAPDIR)/mapfile
LIBS = $(DYNLIB)
LDLIBS += -lc
-DYNFLAGS += -M$(MAPFILE)
ROOTLIBDIR = $(ROOT)/usr/lib/pool
-SRCDIR = $(SRC)/cmd/pools/poold/libjsyslog
CFLAGS += $(CCVERBOSE)
CPPFLAGS += -D_REENTRANT -D_FILE_OFFSET_BITS=64 $(INCS)
diff --git a/usr/src/cmd/pools/poold/libjsyslog/i386/Makefile b/usr/src/cmd/pools/poold/libjsyslog/i386/Makefile
index c47e40e1d6..35ac6d4219 100644
--- a/usr/src/cmd/pools/poold/libjsyslog/i386/Makefile
+++ b/usr/src/cmd/pools/poold/libjsyslog/i386/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,17 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
-# cmd/pools/poold/libjsyslog/i386/Makefile
-#
-
include ../Makefile.com
-MAPDIR= ../spec/i386
-
install: all $(ROOTLIBS) $(ROOTLINKS)
diff --git a/usr/src/cmd/pools/poold/libjsyslog/mapfile-vers b/usr/src/cmd/pools/poold/libjsyslog/mapfile-vers
new file mode 100644
index 0000000000..7f181565b7
--- /dev/null
+++ b/usr/src/cmd/pools/poold/libjsyslog/mapfile-vers
@@ -0,0 +1,35 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNWprivate_1.1 {
+ global:
+ Java_com_sun_solaris_service_logging_SyslogHandler_closelog;
+ Java_com_sun_solaris_service_logging_SyslogHandler_openlog;
+ Java_com_sun_solaris_service_logging_SyslogHandler_syslog;
+ local:
+ *;
+};
diff --git a/usr/src/cmd/pools/poold/libjsyslog/sparc/Makefile b/usr/src/cmd/pools/poold/libjsyslog/sparc/Makefile
index 73c4c909f0..35ac6d4219 100644
--- a/usr/src/cmd/pools/poold/libjsyslog/sparc/Makefile
+++ b/usr/src/cmd/pools/poold/libjsyslog/sparc/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,17 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
-# cmd/pools/poold/libjsyslog/sparc/Makefile
-#
-
include ../Makefile.com
-MAPDIR= ../spec/sparc
-
install: all $(ROOTLIBS) $(ROOTLINKS)
diff --git a/usr/src/cmd/pools/poold/libjsyslog/spec/Makefile b/usr/src/cmd/pools/poold/libjsyslog/spec/Makefile
deleted file mode 100644
index 7f90194f7a..0000000000
--- a/usr/src/cmd/pools/poold/libjsyslog/spec/Makefile
+++ /dev/null
@@ -1,31 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# cmd/pools/poold/libjsyslog/spec/Makefile
-#
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/cmd/pools/poold/libjsyslog/spec/Makefile.targ b/usr/src/cmd/pools/poold/libjsyslog/spec/Makefile.targ
deleted file mode 100644
index 902097f7f3..0000000000
--- a/usr/src/cmd/pools/poold/libjsyslog/spec/Makefile.targ
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# cmd/pools/poold/libjsyslog/spec/Makefile.targ
-#
-
-.KEEP_STATE:
-
-LIBRARY = libjsyslog.a
-VERS = .1
-
-OBJECTS = jsyslog.o
diff --git a/usr/src/cmd/pools/poold/libjsyslog/spec/amd64/Makefile b/usr/src/cmd/pools/poold/libjsyslog/spec/amd64/Makefile
deleted file mode 100644
index 834ae5533d..0000000000
--- a/usr/src/cmd/pools/poold/libjsyslog/spec/amd64/Makefile
+++ /dev/null
@@ -1,43 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# cmd/pools/poold/libjsyslog/spec/i386/Makefile
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-include $(SRC)/lib/Makefile.spec
-
-CFLAGS64 += -I$(JAVA_ROOT)/include \
- -I$(JAVA_ROOT)/include/solaris
-
-install: $(SPECMAP64)
diff --git a/usr/src/cmd/pools/poold/libjsyslog/spec/i386/Makefile b/usr/src/cmd/pools/poold/libjsyslog/spec/i386/Makefile
deleted file mode 100644
index d3a8371369..0000000000
--- a/usr/src/cmd/pools/poold/libjsyslog/spec/i386/Makefile
+++ /dev/null
@@ -1,42 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# cmd/pools/poold/libjsyslog/spec/i386/Makefile
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-include $(SRC)/lib/Makefile.lib
-
-include $(SRC)/lib/Makefile.spec
-
-CFLAGS += -I$(JAVA_ROOT)/include \
- -I$(JAVA_ROOT)/include/solaris
-
-install: $(SPECMAP)
diff --git a/usr/src/cmd/pools/poold/libjsyslog/spec/jsyslog.spec b/usr/src/cmd/pools/poold/libjsyslog/spec/jsyslog.spec
deleted file mode 100644
index 090b4de9bd..0000000000
--- a/usr/src/cmd/pools/poold/libjsyslog/spec/jsyslog.spec
+++ /dev/null
@@ -1,53 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# cmd/pools/poold/libjsyslog/spec/jsyslog.spec
-
-function Java_com_sun_solaris_service_logging_SyslogHandler_closelog
-include "../../jsyslog.h"
-declaration void \
- Java_com_sun_solaris_service_logging_SyslogHandler_closelog \
- (JNIEnv *env, jclass clazz)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_solaris_service_logging_SyslogHandler_openlog
-include "../../jsyslog.h"
-declaration void \
- Java_com_sun_solaris_service_logging_SyslogHandler_openlog \
- (JNIEnv *env, jclass clazz, jstring identObj, jint logopt, \
- jint facility)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_solaris_service_logging_SyslogHandler_syslog
-include "../../jsyslog.h"
-declaration void \
- Java_com_sun_solaris_service_logging_SyslogHandler_syslog \
- (JNIEnv *env, jclass clazz, jint severity, jstring messageObj)
-version SUNWprivate_1.1
-end
-
diff --git a/usr/src/cmd/pools/poold/libjsyslog/spec/sparc/Makefile b/usr/src/cmd/pools/poold/libjsyslog/spec/sparc/Makefile
deleted file mode 100644
index 57a87c60a4..0000000000
--- a/usr/src/cmd/pools/poold/libjsyslog/spec/sparc/Makefile
+++ /dev/null
@@ -1,41 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# cmd/pools/poold/libjsyslog/spec/sparc/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-include $(SRC)/lib/Makefile.lib
-
-include $(SRC)/lib/Makefile.spec
-
-CFLAGS += -I$(JAVA_ROOT)/include \
- -I$(JAVA_ROOT)/include/solaris
-
-install: $(SPECMAP)
diff --git a/usr/src/cmd/pools/poold/libjsyslog/spec/sparcv9/Makefile b/usr/src/cmd/pools/poold/libjsyslog/spec/sparcv9/Makefile
deleted file mode 100644
index 754d9ca943..0000000000
--- a/usr/src/cmd/pools/poold/libjsyslog/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# cmd/pools/poold/libjsyslog/spec/sparcv9/Makefile
-
-DISABLE_APPTRACE= $(POUND_SIGN)
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB64)
diff --git a/usr/src/cmd/pools/poold/libjsyslog/spec/versions b/usr/src/cmd/pools/poold/libjsyslog/spec/versions
deleted file mode 100644
index e1a5cf94b6..0000000000
--- a/usr/src/cmd/pools/poold/libjsyslog/spec/versions
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# cmd/pools/poold/libjsyslog/spec versions
-#
-
-i386 {
- SUNWprivate_1.1;
-}
-
-sparc {
- SUNWprivate_1.1;
-}
diff --git a/usr/src/cmd/print/gateway/translators/cascade/Makefile b/usr/src/cmd/print/gateway/translators/cascade/Makefile
index ee0cd19f03..efff220e82 100644
--- a/usr/src/cmd/print/gateway/translators/cascade/Makefile
+++ b/usr/src/cmd/print/gateway/translators/cascade/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,7 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 1996, 2002 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
@@ -34,6 +33,9 @@ OBJECTS = cascade.o
include ../../../../../lib/Makefile.lib
include ../../../Makefile.sp
+# There should be a mapfile here
+MAPFILES =
+
ROOTLIBDIR= $(ROOT)/usr/lib/print/bsd-adaptor
#CPPFLAGS += -I$(LPINC)
diff --git a/usr/src/cmd/print/gateway/translators/test/Makefile b/usr/src/cmd/print/gateway/translators/test/Makefile
index e237bab625..301e3b8649 100644
--- a/usr/src/cmd/print/gateway/translators/test/Makefile
+++ b/usr/src/cmd/print/gateway/translators/test/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,7 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 1989, 2002 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
@@ -34,6 +33,9 @@ OBJECTS = test.o
include ../../../../../lib/Makefile.lib
include ../../../Makefile.sp
+# There should be a mapfile here
+MAPFILES =
+
ROOTLIBDIR= $(ROOT)/usr/lib/print/bsd-adaptor
#CPPFLAGS += -I$(LPINC)
diff --git a/usr/src/cmd/print/printmgr/com/sun/admin/pm/server/Makefile b/usr/src/cmd/print/printmgr/com/sun/admin/pm/server/Makefile
index ce9fecbf20..35f3b5cb78 100644
--- a/usr/src/cmd/print/printmgr/com/sun/admin/pm/server/Makefile
+++ b/usr/src/cmd/print/printmgr/com/sun/admin/pm/server/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,11 +19,13 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
+
+#
# Makefile for Java Print Manager server
#
@@ -63,6 +64,11 @@ JNICLASSFILES = DoPrinterNS.class
include $(SRC)/lib/Makefile.lib
+SRCDIR = .
+
+# There should be a mapfile here
+MAPFILES =
+
CLASSPATH= $(SRC)/cmd/print/printmgr
JAVAFILES = $(CLASSFILES:.class=.java)
diff --git a/usr/src/cmd/sendmail/libmilter/Makefile.com b/usr/src/cmd/sendmail/libmilter/Makefile.com
index a6fdd9828e..96545bdfd7 100644
--- a/usr/src/cmd/sendmail/libmilter/Makefile.com
+++ b/usr/src/cmd/sendmail/libmilter/Makefile.com
@@ -18,7 +18,6 @@
#
# CDDL HEADER END
#
-
#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
@@ -40,6 +39,9 @@ include $(SRC)/lib/Makefile.lib
REMDIR= $(SENDMAIL)/libsm
SRCDIR= $(SENDMAIL)/libmilter
+# There should be a mapfile here
+MAPFILES =
+
SRCS= $(LOCOBJS:%.o=$(SRCDIR)/%.c) $(REMOBJS:%.o=$(REMDIR)/%.c)
INCPATH= -I$(SENDMAIL)/src -I$(SENDMAIL)/include
diff --git a/usr/src/cmd/sgs/0@0/Makefile.com b/usr/src/cmd/sgs/0@0/Makefile.com
index 1bd9227bf3..6d0dc93fb1 100644
--- a/usr/src/cmd/sgs/0@0/Makefile.com
+++ b/usr/src/cmd/sgs/0@0/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,11 +19,11 @@
# CDDL HEADER END
#
#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
+# ident "%Z%%M% %I% %E% SMI"
+#
LIBRARY= 0@0.a
VERS= .1
@@ -36,6 +35,7 @@ CRTS= $(CRTI) $(CRTN)
include $(SRC)/lib/Makefile.lib
+MAPFILES=
ASFLAGS= -P -D_ASM $(CPPFLAGS)
DYNFLAGS += $(BLOCAL) $(ZNOVERSION) $(ZINITFIRST)
LDLIBS += -lc
diff --git a/usr/src/cmd/sgs/Makefile b/usr/src/cmd/sgs/Makefile
index 40572f3e35..3374590b0b 100644
--- a/usr/src/cmd/sgs/Makefile
+++ b/usr/src/cmd/sgs/Makefile
@@ -28,6 +28,7 @@
include $(SRC)/cmd/Makefile.cmd
SUBDIRS-common= libconv \
+ .WAIT \
libdl \
libelf \
liblddbg \
@@ -173,7 +174,7 @@ FRC:
# Cross-reference customization: ignore the directories named by XRPRUNE,
# and tweak the file globs slightly.
#
-XRPRUNE= rtld.4.x spec packages abi
+XRPRUNE= rtld.4.x packages abi
XRADD= *.msg mapfile* llib-[a-z]*
XRDEL= Makefile* kobj_*
diff --git a/usr/src/cmd/sgs/Makefile.com b/usr/src/cmd/sgs/Makefile.com
index d45a4d537b..7944654db2 100644
--- a/usr/src/cmd/sgs/Makefile.com
+++ b/usr/src/cmd/sgs/Makefile.com
@@ -18,7 +18,6 @@
#
# CDDL HEADER END
#
-
#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
@@ -116,7 +115,7 @@ CHKMSGFLAGS = $(SGSMSGTARG:%=-m %) $(SGSMSGCHK:%=-m %)
# Native targets should use the minimum of ld(1) flags to allow building on
# previous releases. We use mapfiles to scope, but don't bother versioning.
-native := DYNFLAGS = $(MAPOPTS) -R$(SGSPROTO) -L$(SGSPROTO) $(ZNOVERSION)
+native := DYNFLAGS = -R$(SGSPROTO) -L$(SGSPROTO) $(ZNOVERSION)
USE_PROTO = -Yl,$(SGSPROTO)
diff --git a/usr/src/cmd/sgs/ldprof/Makefile.com b/usr/src/cmd/sgs/ldprof/Makefile.com
index de60ed4ff5..d14c2e9d39 100644
--- a/usr/src/cmd/sgs/ldprof/Makefile.com
+++ b/usr/src/cmd/sgs/ldprof/Makefile.com
@@ -19,10 +19,11 @@
# CDDL HEADER END
#
#
-# ident "%Z%%M% %I% %E% SMI"
-#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
LIBRARY= ldprof.a
VERS= .1
@@ -39,7 +40,7 @@ ROOTLIBDIR= $(ROOT)/usr/lib/link_audit
SGSPROTO= ../../proto/$(MACH)
-MAPFILE= mapfile-vers
+MAPFILES = mapfile-vers
# Building SUNWonld results in a call to the `package' target. Requirements
# needed to run this application on older releases are established:
@@ -48,7 +49,7 @@ MAPFILE= mapfile-vers
DLLIB = $(VAR_DL_LIB)
package := DLLIB = $(VAR_PKG_DL_LIB)
-DYNFLAGS += -M$(MAPFILE) $(USE_PROTO)
+DYNFLAGS += $(USE_PROTO)
CPPFLAGS= -I. -I../common -I../../include \
-I../../rtld/common \
-I../../include/$(MACH) \
diff --git a/usr/src/cmd/sgs/ldprof/Makefile.targ b/usr/src/cmd/sgs/ldprof/Makefile.targ
index 3800548181..a52407b7b6 100644
--- a/usr/src/cmd/sgs/ldprof/Makefile.targ
+++ b/usr/src/cmd/sgs/ldprof/Makefile.targ
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,10 +19,11 @@
# CDDL HEADER END
#
#
-#ident "%Z%%M% %I% %E% SMI"
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
#
-# Copyright (c) 2001 by Sun Microsystems, Inc.
-# All rights reserved.
lint: $(SGSLINTOUT)
@@ -38,8 +38,6 @@ pics/%.o: ../common/%.c
delete:
-$(RM) $(DYNLIB)
-$(DYNLIB): $(MAPFILE)
-
include ../../../../lib/Makefile.targ
include $(SRC)/cmd/sgs/Makefile.targ
diff --git a/usr/src/cmd/sgs/lex/Makefile.com b/usr/src/cmd/sgs/lex/Makefile.com
index afa0793390..7e498ee7d1 100644
--- a/usr/src/cmd/sgs/lex/Makefile.com
+++ b/usr/src/cmd/sgs/lex/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# cmd/sgs/lex/Makefile.com
-#
-
MACHOBJS= main.o sub1.o sub2.o sub3.o header.o parser.o
WHATOBJS= whatdir.o
@@ -44,11 +40,10 @@ OBJECTS= $(LIBOBJS) $(LIBOBJS_W) $(LIBOBJS_E)
FORMS= nceucform ncform nrform
-# 32-bit environment mapfile
-MAPFILE= ../common/mapfile-vers
-
include ../../../../lib/Makefile.lib
+SRCDIR = ../common
+
C99MODE= $(C99_ENABLE)
# Override default source file derivation rule (in Makefile.lib)
@@ -95,7 +90,6 @@ DYNLINKLIB= $(LIBLINKS:%=$(DYNLINKLIBDIR)/%)
$(DYNLIB) := CFLAGS += $(CCVERBOSE)
$(DYNLIB) := CFLAGS64 += $(CCVERBOSE)
-DYNFLAGS += -M $(MAPFILE)
$(DYNLIB) := LDLIBS += -lc
CLEANFILES += ../common/parser.c $(LINTPOUT) $(LINTOUT)
diff --git a/usr/src/cmd/sgs/lex/Makefile.targ b/usr/src/cmd/sgs/lex/Makefile.targ
index d0920f1cf2..41d7fcaf0a 100644
--- a/usr/src/cmd/sgs/lex/Makefile.targ
+++ b/usr/src/cmd/sgs/lex/Makefile.targ
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,13 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# cmd/sgs/lex/Makefile.targ
-#
$(PROG): objs .WAIT $(POBJS)
$(LINK.c) $(POBJS) -o $@ $(LDLIBS)
@@ -69,7 +66,7 @@ $(LIBRARY): objs .WAIT $$(OBJS)
$(BUILD.AR)
$(POST_PROCESS_A)
-$(DYNLIB): $(MAPFILE) pics .WAIT $$(PICS)
+$(DYNLIB): pics .WAIT $$(PICS)
$(BUILD.SO)
$(POST_PROCESS_SO)
diff --git a/usr/src/cmd/sgs/libcrle/Makefile.com b/usr/src/cmd/sgs/libcrle/Makefile.com
index 1fbfb4adef..5ff1d69c30 100644
--- a/usr/src/cmd/sgs/libcrle/Makefile.com
+++ b/usr/src/cmd/sgs/libcrle/Makefile.com
@@ -18,7 +18,6 @@
#
# CDDL HEADER END
#
-
#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
@@ -38,8 +37,7 @@ OBJECTS= $(BLTOBJ) $(COMOBJS)
include $(SRC)/lib/Makefile.lib
include $(SRC)/cmd/sgs/Makefile.com
-MAPFILES += ../common/mapfile-vers
-MAPOPTS= $(MAPFILES:%=-M%)
+SRCDIR = ../common
# Building SUNWonld results in a call to the `package' target. Requirements
# needed to run this application on older releases are established:
@@ -55,8 +53,7 @@ LINTFLAGS += -u
LINTFLAGS64 += -u
CPPFLAGS += -I$(SRCBASE)/lib/libc/inc -I$(SRC)/common/sgsrtcid
-DYNFLAGS += $(VERSREF) $(CONVLIBDIR) -lconv \
- $(MAPOPTS) $(USE_PROTO)
+DYNFLAGS += $(VERSREF) $(CONVLIBDIR) -lconv $(USE_PROTO)
BLTDEFS= msg.h
diff --git a/usr/src/cmd/sgs/libcrle/Makefile.targ b/usr/src/cmd/sgs/libcrle/Makefile.targ
index a87d02c2b8..c92cabe859 100644
--- a/usr/src/cmd/sgs/libcrle/Makefile.targ
+++ b/usr/src/cmd/sgs/libcrle/Makefile.targ
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,10 +19,11 @@
# CDDL HEADER END
#
#
-#ident "%Z%%M% %I% %E% SMI"
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
#
-# Copyright (c) 2001 by Sun Microsystems, Inc.
-# All rights reserved.
pics64/%.o: ../common/%.c
$(COMPILE.c) -o $@ -D_ELF64 $<
@@ -33,8 +33,6 @@ pics/%.o: ../common/%.c
$(COMPILE.c) -o $@ $<
$(POST_PROCESS_O)
-$(DYNLIB): $(MAPFILES)
-
$(LIBLINKS):
-$(RM) $@; $(SYMLINK) $(DYNLIB) $@
diff --git a/usr/src/cmd/sgs/libdl/Makefile.com b/usr/src/cmd/sgs/libdl/Makefile.com
index 3b6957dd8a..54bbb2c080 100644
--- a/usr/src/cmd/sgs/libdl/Makefile.com
+++ b/usr/src/cmd/sgs/libdl/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,7 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
@@ -32,8 +31,9 @@ VERS= .1
include $(SRC)/lib/Makefile.lib
include $(SRC)/cmd/sgs/Makefile.com
-MAPFILES= ../common/mapfile-vers mapfile-vers $(MAPFILE-FLTR)
-MAPOPTS= $(MAPFILES:%=-M%)
+SRCDIR = ../common
+
+MAPFILES += mapfile-vers $(MAPFILE-FLTR)
# Redefine shared object build rule to use $(LD) directly (this avoids .init
# and .fini sections being added). Also, since there are no OBJECTS, turn
@@ -50,7 +50,6 @@ SRCS= ../common/llib-ldl
CLEANFILES +=
CLOBBERFILES += $(DYNLIB) $(LINTLIB) $(LINTOUTS) $(LIBLINKS)
-CLOBBERFILES += $(MAPFILE)
ROOTFS_DYNLIB64= $(DYNLIB:%=$(ROOTFS_LIBDIR64)/%)
diff --git a/usr/src/cmd/sgs/libdl/Makefile.targ b/usr/src/cmd/sgs/libdl/Makefile.targ
index 9983cc71ff..95cc2d06bd 100644
--- a/usr/src/cmd/sgs/libdl/Makefile.targ
+++ b/usr/src/cmd/sgs/libdl/Makefile.targ
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# sgs/libdl/Makefile.targ
-
-$(DYNLIB): $(MAPFILES)
$(ROOTFS_LIBDIR)/%: %
$(INS.file)
diff --git a/usr/src/cmd/sgs/libdl/amd64/Makefile b/usr/src/cmd/sgs/libdl/amd64/Makefile
index 1e44e9a2d7..e2bc6ec326 100644
--- a/usr/src/cmd/sgs/libdl/amd64/Makefile
+++ b/usr/src/cmd/sgs/libdl/amd64/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,7 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
@@ -29,7 +28,7 @@
include ../Makefile.com
CONVLIBDIR= $(CONVLIBDIR64)
-DYNFLAGS += -F /usr/lib/$(MACH64)/ld.so.1 -64 $(MAPOPTS)
+DYNFLAGS += -F /usr/lib/$(MACH64)/ld.so.1 -64
LINTFLAGS64 += $(VAR_LINTFLAGS64)
.KEEP_STATE:
@@ -41,6 +40,4 @@ all: $(DYNLIB) $(LINTLIB)
install: all $(ROOTFS_DYNLIB64) $(ROOTFS_LINKS64) $(ROOTFS_LINTLIB64)
-$(DYNLIB): $(MAPFILES)
-
BUILD.SO= $(LD) -o $@ -G -64 $(DYNFLAGS) $(PICS)
diff --git a/usr/src/cmd/sgs/libdl/i386/Makefile b/usr/src/cmd/sgs/libdl/i386/Makefile
index 248838c8c0..9c83ff9ca9 100644
--- a/usr/src/cmd/sgs/libdl/i386/Makefile
+++ b/usr/src/cmd/sgs/libdl/i386/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,15 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
+#
include ../Makefile.com
-DYNFLAGS += -F /usr/lib/ld.so.1 $(MAPOPTS)
+DYNFLAGS += -F /usr/lib/ld.so.1
.KEEP_STATE:
diff --git a/usr/src/cmd/sgs/libdl/sparc/Makefile b/usr/src/cmd/sgs/libdl/sparc/Makefile
index a9a5a1923b..9dedb74d9d 100644
--- a/usr/src/cmd/sgs/libdl/sparc/Makefile
+++ b/usr/src/cmd/sgs/libdl/sparc/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,16 +19,17 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
+#
4VERS= .0
include ../Makefile.com
-DYNFLAGS += -F /usr/lib/ld.so.1 $(MAPOPTS)
+DYNFLAGS += -F /usr/lib/ld.so.1
# A symbolic link from /usr/4lib/libdl.so.1.0 is required for BCP.
diff --git a/usr/src/cmd/sgs/libdl/sparcv9/Makefile b/usr/src/cmd/sgs/libdl/sparcv9/Makefile
index 1d03d75179..e2bc6ec326 100644
--- a/usr/src/cmd/sgs/libdl/sparcv9/Makefile
+++ b/usr/src/cmd/sgs/libdl/sparcv9/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,17 +19,16 @@
# CDDL HEADER END
#
#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# cmd/sgs/libdl/sparcv9/Makefile
include ../Makefile.com
CONVLIBDIR= $(CONVLIBDIR64)
-DYNFLAGS += -F /usr/lib/$(MACH64)/ld.so.1 -64 $(MAPOPTS)
+DYNFLAGS += -F /usr/lib/$(MACH64)/ld.so.1 -64
LINTFLAGS64 += $(VAR_LINTFLAGS64)
.KEEP_STATE:
@@ -42,6 +40,4 @@ all: $(DYNLIB) $(LINTLIB)
install: all $(ROOTFS_DYNLIB64) $(ROOTFS_LINKS64) $(ROOTFS_LINTLIB64)
-$(DYNLIB): $(MAPFILES)
-
BUILD.SO= $(LD) -o $@ -G -64 $(DYNFLAGS) $(PICS)
diff --git a/usr/src/cmd/sgs/libelf/Makefile.com b/usr/src/cmd/sgs/libelf/Makefile.com
index 04fc80ed74..4e17b26de8 100644
--- a/usr/src/cmd/sgs/libelf/Makefile.com
+++ b/usr/src/cmd/sgs/libelf/Makefile.com
@@ -18,7 +18,6 @@
#
# CDDL HEADER END
#
-
#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
@@ -64,12 +63,11 @@ $(OBJS) := XFFLAG=
WARLOCKFILES= $(OBJECTS:%.o=wlocks/%.ll)
-MAPFILES= ../common/mapfile-common
-MAPOPTS= $(MAPFILES:%=-M%)
+MAPFILES = ../common/mapfile-common
CLOBBERFILES +=
-DYNFLAGS += $(VERSREF) $(MAPOPTS)
+DYNFLAGS += $(VERSREF)
LDLIBS += $(CONVLIBDIR) $(CONV_LIB) $(VAR_LIBELF_LDLIBS) -lc
LINTFLAGS += -u -erroff=E_BAD_PTR_CAST_ALIGN
diff --git a/usr/src/cmd/sgs/libelf/Makefile.targ b/usr/src/cmd/sgs/libelf/Makefile.targ
index e2264e5178..a6d140f8a6 100644
--- a/usr/src/cmd/sgs/libelf/Makefile.targ
+++ b/usr/src/cmd/sgs/libelf/Makefile.targ
@@ -18,7 +18,6 @@
#
# CDDL HEADER END
#
-
#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
@@ -66,8 +65,6 @@ $(VAR_POUND_2)lint := LIBTHREADFLAG=-lthread
delete:
$(RM) $(DYNLIB)
-$(DYNLIB): $$(MAPFILES)
-
$(LIBLINKS):
$(RM) $(LIBLINKS)
$(SYMLINK) $(DYNLIB) $(LIBLINKS)
@@ -136,7 +133,7 @@ wlocks/%.ll: ../common/%.c
native: $(SGSPROTO)/$(DYNLIB)
$(SGSPROTO)/$(DYNLIB): \
- pics .WAIT $$(PICS) $(MAPFILES)
+ pics .WAIT $$(PICS)
$(BUILD.SO)
$(POST_PROCESS_SO)
-@$(RM) $(SGSPROTO)/$(LIBLINKS)
diff --git a/usr/src/cmd/sgs/libelf/Makefile.targ.64 b/usr/src/cmd/sgs/libelf/Makefile.targ.64
index 4bb6e6f15f..5c932f4045 100644
--- a/usr/src/cmd/sgs/libelf/Makefile.targ.64
+++ b/usr/src/cmd/sgs/libelf/Makefile.targ.64
@@ -18,7 +18,6 @@
#
# CDDL HEADER END
#
-
#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
@@ -61,8 +60,6 @@ $(VAR_POUND_2)lint := LIBTHREADFLAG=-lthread
delete:
$(RM) $(DYNLIB)
-$(DYNLIB): $(MAPFILES)
-
$(LIBLINKS):
$(RM) $(LIBLINKS)
$(SYMLINK) $(DYNLIB) $(LIBLINKS)
diff --git a/usr/src/cmd/sgs/libld/Makefile.com b/usr/src/cmd/sgs/libld/Makefile.com
index f79ced9e66..2bb0f77183 100644
--- a/usr/src/cmd/sgs/libld/Makefile.com
+++ b/usr/src/cmd/sgs/libld/Makefile.com
@@ -18,7 +18,6 @@
#
# CDDL HEADER END
#
-
#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
@@ -63,9 +62,7 @@ OBJECTS = $(BLTOBJ) $(G_MACHOBJS32) $(G_MACHOBJS64) \
include $(SRC)/lib/Makefile.lib
include $(SRC)/cmd/sgs/Makefile.com
-MAPFILES= ../common/mapfile-vers
-MAPOPTS= $(MAPFILES:%=-M%)
-
+SRCDIR = ../common
ELFCAP= $(SRC)/common/elfcap
# Building SUNWonld results in a call to the `package' target. Requirements
@@ -85,10 +82,9 @@ LINTFLAGS += -u -D_REENTRANT
LINTFLAGS64 += -u -D_REENTRANT
DYNFLAGS += $(BDIRECT) $(VERSREF) \
- $(ZLAZYLOAD) $(MAPOPTS) $(USE_PROTO) '-R$$ORIGIN'
+ $(ZLAZYLOAD) $(USE_PROTO) '-R$$ORIGIN'
$(VAR_POUND_3)DEFS=
-$(VAR_POUND_3)native:= MAPOPTS =
native:= DYNFLAGS += $(CONVLIBDIR)
BLTDEFS = msg.h
diff --git a/usr/src/cmd/sgs/libld/Makefile.targ b/usr/src/cmd/sgs/libld/Makefile.targ
index 372eaa1bd3..46a7ef93c5 100644
--- a/usr/src/cmd/sgs/libld/Makefile.targ
+++ b/usr/src/cmd/sgs/libld/Makefile.targ
@@ -18,7 +18,6 @@
#
# CDDL HEADER END
#
-
#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
@@ -66,8 +65,6 @@ pics/elfcap.o: $(ELFCAP)/elfcap.c
$(COMPILE.c) -o $@ -DCAP_LOWERCASE $(ELFCAP)/elfcap.c
$(POST_PROCESS_O)
-$(DYNLIB): $(MAPFILES)
-
$(LIBLINKS):
$(RM) $@; $(SYMLINK) $(DYNLIB) $@
@@ -85,7 +82,7 @@ lint: $(LINTLIB32) $(LINTOUT32) $(LINTLIB64) $(LINTOUT64) \
native: $(SGSPROTO)/$(DYNLIB)
$(SGSPROTO)/$(DYNLIB): \
- pics .WAIT $$(PICS) $(MAPFILES)
+ pics .WAIT $$(PICS)
$(BUILD.SO)
$(POST_PROCESS_SO)
@$(RM) $(SGSPROTO)/$(LIBLINKS)
diff --git a/usr/src/cmd/sgs/liblddbg/Makefile.com b/usr/src/cmd/sgs/liblddbg/Makefile.com
index 677f149049..613f4d3a90 100644
--- a/usr/src/cmd/sgs/liblddbg/Makefile.com
+++ b/usr/src/cmd/sgs/liblddbg/Makefile.com
@@ -18,7 +18,6 @@
#
# CDDL HEADER END
#
-
#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
@@ -56,14 +55,13 @@ OBJECTS = $(BLTOBJ) $(COMOBJS) $(COMOBJS32) $(COMOBJS64) $(TOOLOBJ)
include $(SRC)/lib/Makefile.lib
include $(SRC)/cmd/sgs/Makefile.com
-MAPFILES += ../common/mapfile-vers
-MAPOPTS = $(MAPFILES:%=-M%)
+SRCDIR = ../common
LINTFLAGS += -u -D_REENTRANT
LINTFLAGS64 += -u -D_REENTRANT
CPPFLAGS += -I$(SRCBASE)/lib/libc/inc $(VAR_LIBLDDBG_CPPFLAGS)
-DYNFLAGS += $(VERSREF) $(MAPOPTS) $(ZLAZYLOAD) '-R$$ORIGIN'
+DYNFLAGS += $(VERSREF) $(ZLAZYLOAD) '-R$$ORIGIN'
LDLIBS += $(CONVLIBDIR) $(CONV_LIB) -lc
# A bug in pmake causes redundancy when '+=' is conditionally assigned, so
@@ -74,7 +72,6 @@ XXXFLAGS=
$(DYNLIB) := XXXFLAGS= $(USE_PROTO)
DYNFLAGS += $(XXXFLAGS)
-native := MAPOPTS=
native := DYNFLAGS += $(CONVLIBDIR)
BLTDEFS = msg.h
diff --git a/usr/src/cmd/sgs/liblddbg/Makefile.targ b/usr/src/cmd/sgs/liblddbg/Makefile.targ
index 1802dc3cf4..71c17d0bae 100644
--- a/usr/src/cmd/sgs/liblddbg/Makefile.targ
+++ b/usr/src/cmd/sgs/liblddbg/Makefile.targ
@@ -18,7 +18,6 @@
#
# CDDL HEADER END
#
-
#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
@@ -42,8 +41,6 @@ pics/%64.o: ../common/%.c
$(COMPILE.c) -D_ELF64 -o $@ $<
$(POST_PROCESS_O)
-$(DYNLIB): $(MAPFILES)
-
$(LIBLINKS):
-$(RM) $@; $(SYMLINK) $(DYNLIB) $@
@@ -61,7 +58,7 @@ lint: $(LINTLIB32) $(LINTOUT32) $(LINTLIB64) $(LINTOUT64) \
native: $(SGSPROTO)/$(DYNLIB)
$(SGSPROTO)/$(DYNLIB): \
- pics .WAIT $$(PICS) $(MAPFILES)
+ pics .WAIT $$(PICS)
$(BUILD.SO)
$(POST_PROCESS_SO)
-@$(RM) $(SGSPROTO)/$(LIBLINKS)
diff --git a/usr/src/cmd/sgs/libldmake/Makefile.com b/usr/src/cmd/sgs/libldmake/Makefile.com
index bd1c06b9fc..0d6ebd7891 100644
--- a/usr/src/cmd/sgs/libldmake/Makefile.com
+++ b/usr/src/cmd/sgs/libldmake/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,7 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
@@ -38,9 +37,9 @@ ROOTLIBDIR64= $(ROOT)/opt/SUNWonld/lib/$(MACH64)
SGSPROTO= ../../proto/$(MACH)
-MAPFILE= ../common/mapfile-vers
+SRCDIR = ../common
-DYNFLAGS += $(USE_PROTO) -M$(MAPFILE)
+DYNFLAGS += $(USE_PROTO)
CFLAGS += $(C_PICFLAGS)
CFLAGS64 += $(C_PICFLAGS64)
diff --git a/usr/src/cmd/sgs/libldmake/Makefile.targ b/usr/src/cmd/sgs/libldmake/Makefile.targ
index 53893565d8..de946c6334 100644
--- a/usr/src/cmd/sgs/libldmake/Makefile.targ
+++ b/usr/src/cmd/sgs/libldmake/Makefile.targ
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,11 +19,11 @@
# CDDL HEADER END
#
#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright 1994,2002 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
+# ident "%Z%%M% %I% %E% SMI"
+#
lint: $(LINTLIB) $(LINTOUT32) $(LINTOUT64) $(SGSLINTOUT)
@@ -39,7 +38,5 @@ pics/%.o: ../common/%.c
delete:
-$(RM) $(DYNLIB)
-$(DYNLIB): $(MAPFILE)
-
include $(SRC)/lib/Makefile.targ
include $(SRC)/cmd/sgs/Makefile.targ
diff --git a/usr/src/cmd/sgs/libldstab/Makefile.com b/usr/src/cmd/sgs/libldstab/Makefile.com
index d862036421..91f93046a1 100644
--- a/usr/src/cmd/sgs/libldstab/Makefile.com
+++ b/usr/src/cmd/sgs/libldstab/Makefile.com
@@ -18,7 +18,6 @@
#
# CDDL HEADER END
#
-
#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
@@ -38,13 +37,11 @@ OBJECTS= $(BLTOBJ) $(COMOBJS) $(DUPOBJS)
include $(SRC)/lib/Makefile.lib
include $(SRC)/cmd/sgs/Makefile.com
+SRCDIR = ../common
SRCBASE= ../../../..
-MAPFILES= ../common/mapfile-vers
-MAPOPTS= $(MAPFILES:%=-M%)
-
LDLIBS += $(CONVLIBDIR) $(CONV_LIB) $(ELFLIBDIR) -lelf -lc
-DYNFLAGS += $(VERSREF) $(MAPOPTS)
+DYNFLAGS += $(VERSREF)
LINTFLAGS += -erroff=E_NAME_DECL_NOT_USED_DEF2 \
-erroff=E_NAME_DEF_NOT_USED2 \
diff --git a/usr/src/cmd/sgs/libldstab/Makefile.targ b/usr/src/cmd/sgs/libldstab/Makefile.targ
index 53fd6aace6..9ffef5b4d5 100644
--- a/usr/src/cmd/sgs/libldstab/Makefile.targ
+++ b/usr/src/cmd/sgs/libldstab/Makefile.targ
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,10 +19,11 @@
# CDDL HEADER END
#
#
-#ident "%Z%%M% %I% %E% SMI"
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
#
-# Copyright (c) 2001 by Sun Microsystems, Inc.
-# All rights reserved.
pics/%.o: ../common/%.c
$(COMPILE.c) -o $@ $<
@@ -38,15 +38,13 @@ lint: $(LINTOUT32) $(SGSLINTOUT)
delete:
-$(RM) $(DYNLIB)
-$(DYNLIB): $(MAPFILES)
-
# Special target for native builds (ie. when we need to build a version of ld
# to build a version of ld :-).
native: $(SGSPROTO)/$(DYNLIB)
$(SGSPROTO)/$(DYNLIB): \
- pics .WAIT $$(PICS) $(MAPFILES)
+ pics .WAIT $$(PICS)
$(BUILD.SO)
$(POST_PROCESS_SO)
diff --git a/usr/src/cmd/sgs/librtld/Makefile.com b/usr/src/cmd/sgs/librtld/Makefile.com
index 9d3d5b1735..7b0763aeb4 100644
--- a/usr/src/cmd/sgs/librtld/Makefile.com
+++ b/usr/src/cmd/sgs/librtld/Makefile.com
@@ -18,7 +18,6 @@
#
# CDDL HEADER END
#
-
#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
@@ -40,9 +39,7 @@ OBJECTS= $(BLTOBJ) $(MACHOBJS) $(COMOBJS)
include $(SRC)/lib/Makefile.lib
include $(SRC)/cmd/sgs/Makefile.com
-MAPFILES = ../common/mapfile-vers
-MAPOPTS = $(MAPFILES:%=-M%)
-
+SRCDIR = ../common
CPPFLAGS += -I../../rtld/common -I$(SRCBASE)/lib/libc/inc \
-I$(SRCBASE)/uts/common/krtld -I$(SRC)/common/sgsrtcid
DYNFLAGS += $(VERSREF) $(ZLAZYLOAD) '-R$$ORIGIN'
@@ -55,7 +52,7 @@ LINTFLAGS64 += -u -erroff=E_NAME_DECL_NOT_USED_DEF2
# '=' is used with extra variables.
#
XXXFLAGS=
-$(DYNLIB) := XXXFLAGS= $(USE_PROTO) $(MAPOPTS)
+$(DYNLIB) := XXXFLAGS= $(USE_PROTO)
DYNFLAGS += $(XXXFLAGS)
diff --git a/usr/src/cmd/sgs/librtld/Makefile.targ b/usr/src/cmd/sgs/librtld/Makefile.targ
index 5404ef3806..134daba96a 100644
--- a/usr/src/cmd/sgs/librtld/Makefile.targ
+++ b/usr/src/cmd/sgs/librtld/Makefile.targ
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,17 +19,16 @@
# CDDL HEADER END
#
#
-#ident "%Z%%M% %I% %E% SMI"
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
#
-# Copyright (c) 2001 by Sun Microsystems, Inc.
-# All rights reserved.
pics/%.o: ../common/%.c
$(COMPILE.c) -o $@ $<
$(POST_PROCESS_O)
-$(DYNLIB): $(MAPFILE)
-
$(LIBLINKS):
-$(RM) $@; $(SYMLINK) $(DYNLIB) $@
@@ -43,7 +41,7 @@ delete:
native: $(SGSPROTO)/$(DYNLIB)
$(SGSPROTO)/$(DYNLIB): \
- pics .WAIT $$(PICS) $(MAPFILE)
+ pics .WAIT $$(PICS)
$(BUILD.SO)
$(POST_PROCESS_SO)
-@$(RM) $(SGSPROTO)/$(LIBLINKS)
diff --git a/usr/src/cmd/sgs/librtld_db/Makefile.com b/usr/src/cmd/sgs/librtld_db/Makefile.com
index c0bdcded69..5a87d8d2f9 100644
--- a/usr/src/cmd/sgs/librtld_db/Makefile.com
+++ b/usr/src/cmd/sgs/librtld_db/Makefile.com
@@ -18,7 +18,6 @@
#
# CDDL HEADER END
#
-
#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
@@ -37,10 +36,10 @@ OBJECTS = $(BLTOBJ) $(COMOBJS) $(COMOBJS64) $(PLTOBJS)
include $(SRC)/lib/Makefile.lib
include $(SRC)/cmd/sgs/Makefile.com
-MAPFILE= ../common/mapfile-vers
+SRCDIR = ../common
CPPFLAGS += -I$(SRCBASE)/lib/libc/inc
-DYNFLAGS += -M$(MAPFILE) $(VERSREF)
+DYNFLAGS += $(VERSREF)
LDLIBS += $(CONVLIBDIR) $(CONV_LIB) -lc
LINTFLAGS += -u -erroff=E_NAME_DECL_NOT_USED_DEF2
diff --git a/usr/src/cmd/sgs/librtld_db/Makefile.targ b/usr/src/cmd/sgs/librtld_db/Makefile.targ
index 6dbbe262a7..04c1f137c4 100644
--- a/usr/src/cmd/sgs/librtld_db/Makefile.targ
+++ b/usr/src/cmd/sgs/librtld_db/Makefile.targ
@@ -18,7 +18,6 @@
#
# CDDL HEADER END
#
-
#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
@@ -40,8 +39,6 @@ pics/%64.o: ../common/%.c
$(COMPILE.c) -D_ELF64 $(PICFLAGS) -o $@ $<
$(POST_PROCESS_O)
-$(DYNLIB): $(MAPFILE)
-
delete:
-$(RM) $(DYNLIB)
diff --git a/usr/src/cmd/sgs/link_audit/Makefile.com b/usr/src/cmd/sgs/link_audit/Makefile.com
index b47b460b54..0d0bbf0543 100644
--- a/usr/src/cmd/sgs/link_audit/Makefile.com
+++ b/usr/src/cmd/sgs/link_audit/Makefile.com
@@ -18,7 +18,6 @@
#
# CDDL HEADER END
#
-
#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
@@ -95,11 +94,11 @@ $(WHOLIB):= SONAME = $(WHOLIB)
$(SYMBINDREP):= SONAME = $(SYMBINDREP)
$(BINDLIB):= SONAME = $(BINDLIB)
-$(TRUSSLIB):= MAPFILE = mapfile-vers-truss
-$(PERFLIB):= MAPFILE = mapfile-vers-perfcnt
-$(WHOLIB):= MAPFILE = mapfile-vers-who
-$(SYMBINDREP):= MAPFILE = mapfile-vers-symbindrep
-$(BINDLIB):= MAPFILE = mapfile-vers-bindings
+$(TRUSSLIB):= MAPFILES = mapfile-vers-truss
+$(PERFLIB):= MAPFILES = mapfile-vers-perfcnt
+$(WHOLIB):= MAPFILES = mapfile-vers-who
+$(SYMBINDREP):= MAPFILES = mapfile-vers-symbindrep
+$(BINDLIB):= MAPFILES = mapfile-vers-bindings
$(ROOTCCSLIB) := OWNER = root
$(ROOTCCSLIB) := GROUP = bin
@@ -107,7 +106,7 @@ $(ROOTCCSLIB) := DIRMODE = 755
CPPFLAGS += -D_REENTRANT
LDFLAGS += $(USE_PROTO)
-DYNFLAGS += $(VERSREF) -M$(MAPFILE)
+DYNFLAGS += $(VERSREF)
LINTFLAGS += -uaxs $(LDLIBS)
LINTFLAGS64 += -uaxs $(LDLIBS)
diff --git a/usr/src/cmd/sgs/link_audit/Makefile.targ b/usr/src/cmd/sgs/link_audit/Makefile.targ
index 6efd456ee3..621d5a9e85 100644
--- a/usr/src/cmd/sgs/link_audit/Makefile.targ
+++ b/usr/src/cmd/sgs/link_audit/Makefile.targ
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,7 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
@@ -47,23 +46,23 @@ $(OBJDIR)/%.o: ../common/%.c
$(COMPILE.c) $< -o $@
$(POST_PROCESS_O)
-$(TRUSSLIB): $(TRUSSPICS) $$(MAPFILE)
+$(TRUSSLIB): $(TRUSSPICS)
$(BUILD.SO)
$(POST_PROCESS_SO)
-$(BINDLIB): $(BINDPICS) $$(MAPFILE)
+$(BINDLIB): $(BINDPICS)
$(BUILD.SO)
$(POST_PROCESS_SO)
-$(SYMBINDREP): $(SYMBINDREPPICS) $$(MAPFILE)
+$(SYMBINDREP): $(SYMBINDREPPICS)
$(BUILD.SO)
$(POST_PROCESS_SO)
-$(PERFLIB): $(PERFPICS) $$(MAPFILE)
+$(PERFLIB): $(PERFPICS)
$(BUILD.SO)
$(POST_PROCESS_SO)
-$(WHOLIB): $(WHOPICS) $$(MAPFILE)
+$(WHOLIB): $(WHOPICS)
$(BUILD.SO)
$(POST_PROCESS_SO)
diff --git a/usr/src/cmd/sgs/rtld/Makefile.com b/usr/src/cmd/sgs/rtld/Makefile.com
index a9a4080ae4..1a719315ec 100644
--- a/usr/src/cmd/sgs/rtld/Makefile.com
+++ b/usr/src/cmd/sgs/rtld/Makefile.com
@@ -18,7 +18,6 @@
#
# CDDL HEADER END
#
-
#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
@@ -45,13 +44,13 @@ NOCTFOBJS= $(ASOBJS)
include $(SRC)/lib/Makefile.lib
include $(SRC)/cmd/sgs/Makefile.com
+SRCDIR = ../common
PLAT = $(VAR_PLAT_$(BASEPLAT))
# Dtrace needs an executable data segment.
NX_MAP=
-MAPFILES = ../common/mapfile-vers $(MAPFILE-ORDER) $(MAPFILE-PLAT)
-MAPOPTS = $(MAPFILES:%=-M%)
+MAPFILES += $(MAPFILE-ORDER) $(MAPFILE-PLAT)
# For the libc/libthread unified world:
# This library needs to be placed in /lib to allow
@@ -97,7 +96,7 @@ LDLIBS += $(CONVLIBDIR) $(CONV_LIB) \
$(LDLIB) $(LD_LIB)
DYNFLAGS += -i -e _rt_boot $(VERSREF) -Bsymbolic -zlazyload -znodlopen \
- -z interpose -zdtrace=dtrace_data $(MAPOPTS) '-R$$ORIGIN'
+ -z interpose -zdtrace=dtrace_data '-R$$ORIGIN'
BUILD.s= $(AS) $(ASFLAGS) $< -o $@
diff --git a/usr/src/cmd/sgs/rtld/Makefile.targ b/usr/src/cmd/sgs/rtld/Makefile.targ
index c35e499d5b..c3ec985afa 100644
--- a/usr/src/cmd/sgs/rtld/Makefile.targ
+++ b/usr/src/cmd/sgs/rtld/Makefile.targ
@@ -18,7 +18,6 @@
#
# CDDL HEADER END
#
-
#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
@@ -63,7 +62,7 @@ pics/%.o: $(SRCBASE)/uts/$(PLAT)/krtld/%.c
$(COMPILE.c) -o $@ $< $(WARNFLAGS)
$(POST_PROCESS_O)
-$(RTLD): pics $(PICS) $(CRTS) $(MAPFILES)
+$(RTLD): pics $(PICS) $(CRTS)
$(SGSPROTO)/ld -o $@ -dy -G $(DYNFLAGS) $(CRTI) $(PICS) \
$(LDLIBS) $(CRTN)
$(POST_PROCESS_SO)
diff --git a/usr/src/cmd/sgs/rtld/mdbmod/Makefile.com b/usr/src/cmd/sgs/rtld/mdbmod/Makefile.com
index 1690f2ff09..960356c572 100644
--- a/usr/src/cmd/sgs/rtld/mdbmod/Makefile.com
+++ b/usr/src/cmd/sgs/rtld/mdbmod/Makefile.com
@@ -18,7 +18,6 @@
#
# CDDL HEADER END
#
-
#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
@@ -40,7 +39,7 @@ include $(SRC)/cmd/sgs/Makefile.com
SGSMSGALL= rtld.msg
-MAPFILE= ../common/mapfile
+MAPFILES = ../common/mapfile
SRCS= $(OBJECTS:%.o=../common/%.c)
BLTDEFS= msg.h
@@ -73,7 +72,7 @@ CPPFLAGS += -I. -I../common -I../../common -I../../../include \
-I$(SRC)/common/sgsrtcid \
-I$(SRC)/uts/$(ARCH)/sys
-DYNFLAGS += $(VERSREF) -M $(MAPFILE)
+DYNFLAGS += $(VERSREF)
LDLIBS += $(CONVLIBDIR) $(CONV_LIB) -lc
ROOTMDBLIB= $(ROOT)/usr/lib/mdb/proc
diff --git a/usr/src/cmd/sgs/rtld/mdbmod/Makefile.targ b/usr/src/cmd/sgs/rtld/mdbmod/Makefile.targ
index 42f6344249..dbe4afe5ad 100644
--- a/usr/src/cmd/sgs/rtld/mdbmod/Makefile.targ
+++ b/usr/src/cmd/sgs/rtld/mdbmod/Makefile.targ
@@ -18,7 +18,6 @@
#
# CDDL HEADER END
#
-
#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
@@ -26,8 +25,6 @@
# ident "%Z%%M% %I% %E% SMI"
#
-$(DYNLIB): $(MAPFILE)
-
catalog:
pics/%.o: ../common/%.c
diff --git a/usr/src/cmd/sgs/yacc/Makefile.com b/usr/src/cmd/sgs/yacc/Makefile.com
index b07cc03225..3beb4021fb 100644
--- a/usr/src/cmd/sgs/yacc/Makefile.com
+++ b/usr/src/cmd/sgs/yacc/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,13 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# cmd/sgs/yacc/Makefile.com
-#
COMOBJS= y1.o y2.o y3.o y4.o
WHATOBJS= whatdir.o
@@ -39,11 +36,10 @@ LIBRARY= liby.a
VERS= .1
YACCPAR= yaccpar
-# 32-bit environment mapfile
-MAPFILE= ../common/mapfile-vers
-
include ../../../../lib/Makefile.lib
+SRCDIR = ../common
+
# Override default source file derivation rule (in Makefile.lib)
# from objects
#
@@ -83,7 +79,5 @@ DYNLINKLIB= $(LIBLINKS:%=$(DYNLINKLIBDIR)/%)
$(DYNLIB) := LDLIBS += -lc
-DYNFLAGS += -M$(MAPFILE)
-
CLEANFILES += $(LINTPOUT) $(LINTOUT)
CLOBBERFILES += $(LIBS) $(LIBRARY)
diff --git a/usr/src/cmd/sgs/yacc/Makefile.targ b/usr/src/cmd/sgs/yacc/Makefile.targ
index 75f692c9e5..5f909b5291 100644
--- a/usr/src/cmd/sgs/yacc/Makefile.targ
+++ b/usr/src/cmd/sgs/yacc/Makefile.targ
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,13 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright 1993-2003 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# cmd/sgs/yacc/Makefile.targ
-#
$(PROG): objs .WAIT $(POBJS)
$(LINK.c) $(POBJS) -o $@ $(LDLIBS)
@@ -69,7 +66,7 @@ $(LIBRARY): objs .WAIT $$(OBJS)
$(BUILD.AR)
$(POST_PROCESS_A)
-$(DYNLIB): $(MAPFILE) pics .WAIT $$(PICS)
+$(DYNLIB): pics .WAIT $$(PICS)
$(BUILD.SO)
$(POST_PROCESS_SO)
diff --git a/usr/src/cmd/syseventd/modules/Makefile.com b/usr/src/cmd/syseventd/modules/Makefile.com
index 8720a40b2c..e8b6ee468c 100644
--- a/usr/src/cmd/syseventd/modules/Makefile.com
+++ b/usr/src/cmd/syseventd/modules/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,12 +19,11 @@
# CDDL HEADER END
#
#
-#ident "%Z%%M% %I% %E% SMI"
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-# Copyright (c) 2001 by Sun Microsystems, Inc.
-# All rights reserved.
+# ident "%Z%%M% %I% %E% SMI"
#
-# cmd/syseventd/modules/Makefile.com
#
# Common prologue for Makefiles for all sysevent loadable .so modules
@@ -37,6 +35,8 @@ OBJECTS = $(LIBRARY:%=%.o)
include $(SRC)/lib/Makefile.lib
include $(SRC)/cmd/syseventd/Makefile.com
+SRCDIR = .
+
#
# Build modules with -Kpic, -z combreloc and -z text but not -z defs
# Note: -K pic is inherited by including Makefile.lib
@@ -44,6 +44,9 @@ include $(SRC)/cmd/syseventd/Makefile.com
HSONAME =
ZDEFS =
+# There should be a mapfile here
+MAPFILES =
+
#
# sysevent loadable modules require sysevent header files
#
diff --git a/usr/src/cmd/volmgt/rmm/Makefile b/usr/src/cmd/volmgt/rmm/Makefile
index 9c6390e1ba..150a98ce17 100644
--- a/usr/src/cmd/volmgt/rmm/Makefile
+++ b/usr/src/cmd/volmgt/rmm/Makefile
@@ -18,16 +18,15 @@
#
# CDDL HEADER END
#
-
#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# Makefile for Removable Media Mounter.
+
#
-# cmd/volmgt/rmm/Makefile
+# Makefile for Removable Media Mounter.
#
PROG= rmmount
@@ -37,6 +36,9 @@ include ../../../lib/Makefile.lib
include ../../Makefile.cmd
include ../Makefile.volmgt
+# There should be a mapfile here
+MAPFILES =
+
SED= sed
OBJS= rmm.o rmm_util.o rmm_config.o
diff --git a/usr/src/cmd/volmgt/vold/Makefile b/usr/src/cmd/volmgt/vold/Makefile
index 91fdb270eb..0cc8d97806 100644
--- a/usr/src/cmd/volmgt/vold/Makefile
+++ b/usr/src/cmd/volmgt/vold/Makefile
@@ -24,9 +24,9 @@
#
# ident "%Z%%M% %I% %E% SMI"
#
-# Makefile for volume management daemon
+
#
-# cmd/volmgt/vold/Makefile
+# Makefile for volume management daemon
#
PROG= vold
@@ -35,6 +35,9 @@ include ../../../lib/Makefile.lib
include ../../Makefile.cmd
include ../Makefile.volmgt
+# There should be a mapfile here
+MAPFILES =
+
SED= sed
OBJS= nfs_server.o nfs_trace.o vold_err.o vold_main.o vold_proc.o \
diff --git a/usr/src/lib/Makefile b/usr/src/lib/Makefile
index fd687773f4..d2ee41d742 100644
--- a/usr/src/lib/Makefile
+++ b/usr/src/lib/Makefile
@@ -23,6 +23,7 @@
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
+#
include ../Makefile.master
@@ -53,8 +54,6 @@ include ../Makefile.master
#
SUBDIRS= \
common .WAIT \
- abi/apptrace .WAIT \
- ../cmd/abi/spectrans .WAIT \
../cmd/sgs/libconv \
../cmd/sgs/libdl .WAIT
@@ -63,7 +62,6 @@ $(CLOSED_BUILD)SUBDIRS += \
SUBDIRS += \
libc .WAIT \
- libmapmalloc .WAIT \
../cmd/sgs/libelf .WAIT \
libmd \
libmd5 \
@@ -115,6 +113,7 @@ SUBDIRS += \
liblm \
libmacadm \
libmalloc \
+ libmapmalloc \
libmtmalloc \
libnls \
libsmbios \
@@ -147,6 +146,7 @@ SUBDIRS += \
pam_modules \
crypt_modules \
libadt_jni \
+ abi \
auditd_plugins \
libvolmgt \
libdevice \
@@ -492,14 +492,14 @@ libsec: libavl
# in certain situations (e.g., exportable source builds,
# OpenSolaris).
#
-$(SUBDIRS) abi: FRC
+$(SUBDIRS): FRC
@if [ -f $@/Makefile ]; then \
cd $@; pwd; $(MAKE) $(TARGET); \
else \
true; \
fi
-$(SUBDIRS:%=%-nodepend) abi-nodepend:
+$(SUBDIRS:%=%-nodepend):
@if [ -f $(@:%-nodepend=%)/Makefile ]; then \
cd $(@:%-nodepend=%); pwd; $(MAKE) $(TARGET); \
else \
diff --git a/usr/src/lib/Makefile.lib b/usr/src/lib/Makefile.lib
index 8218c4924b..f68c2e21e2 100644
--- a/usr/src/lib/Makefile.lib
+++ b/usr/src/lib/Makefile.lib
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -25,6 +24,8 @@
#
# ident "%Z%%M% %I% %E% SMI"
#
+
+#
# Definitions common to libraries.
#
# include global definitions; SRC should be defined in the shell.
@@ -43,6 +44,27 @@ NX_MAP_sparc=
NX_MAP= $(NX_MAP_$(MACH))
+#
+# By default, we define the source directory for libraries to be
+# one level up from the ISA-specific directory, where the code is
+# actually built. Many libraries define a 'common' directory to
+# contain the source. These libraries must redefine SRCDIR as:
+# SRCDIR = ../common
+# Other variations are possible (../port, ../src, etc).
+#
+SRCDIR = ..
+
+#
+# We define MAPFILES here for the benefit of most libraries,
+# those that follow the convention of having source files and other
+# common files in the $(SRCDIR) directory. Libraries that do not
+# follow this convention must define MAPFILES for themselves.
+# Libraries that do follow this convention but that need supplemental
+# ISA-specific mapfiles can augment MAPFILES like this:
+# MAPFILES += mapfile-vers
+#
+MAPFILES = $(SRCDIR)/mapfile-vers
+
C_SYNONYMS_H= $(SRC)/lib/common/inc/c_synonyms.h
#
@@ -53,7 +75,7 @@ C_SYNONYMS_H= $(SRC)/lib/common/inc/c_synonyms.h
# name that will almost surely not exist on the build machine.
#
HDRDIR= /__nonexistent_directory__
-SRCDIR= .
+
#
# We don't build archive (*.a) libraries by default anymore.
# If a component of the build needs to build an archive library
@@ -147,7 +169,7 @@ SONAME= $(DYNLIB)
HSONAME= -h$(SONAME)
DYNFLAGS= $(HSONAME) $(ZTEXT) $(ZDEFS) $(ZCOMBRELOC) \
- $(SPECMAPFILE:%=-M%) $(PGA_MAPFILE:%=-M%) $(NX_MAP:%=-M%)
+ $(MAPFILES:%=-M%) $(PGA_MAPFILE:%=-M%) $(NX_MAP:%=-M%)
LDLIBS= $(LDLIBS.lib)
@@ -221,7 +243,7 @@ HSONAMECCC= -h $(SONAMECCC)
# Keep in sync with the standard DYNFLAGS
#
$(DYNLIBCCC):= DYNFLAGS = $(HSONAMECCC) $(ZTEXT) $(ZDEFS) $(ZCOMBRELOC) \
- $(SPECMAPFILE:%=-M%) $(PGA_MAPFILE:%=-M%) $(NX_MAP:%=-M%) \
+ $(MAPFILES:%=-M%) $(PGA_MAPFILE:%=-M%) $(NX_MAP:%=-M%) \
$(NORUNPATH)
@@ -252,15 +274,12 @@ LINTCHECKFLAGS = -m -erroff=E_NAME_DEF_NOT_USED2
LINTCHECKFLAGS += -erroff=E_NAME_DECL_NOT_USED_DEF2
#
-# Spec/ABI stuff
+# Target Architecture
#
-# Spectranslator Target Architecture
-TRANSMACH= $(MACH)
-SPECMAPFILES= $(SPECMAPFILE:%/$(MACH64)/mapfile=%/$(MACH)/mapfile)
-$(BUILD64)SPECMAPFILES += $(SPECMAPFILE:%/$(MACH)/mapfile=%/$(MACH64)/mapfile)
+TARGETMACH= $(MACH)
#
# Allow people to define their own clobber rules. Normal makefiles
# shouldn't override this - they should override $(CLOBBERFILES) instead.
#
-CLOBBERTARGFILES= $(LIBS) $(DYNLIB) $(SPECMAPFILE) $(CLOBBERFILES)
+CLOBBERTARGFILES= $(LIBS) $(DYNLIB) $(CLOBBERFILES)
diff --git a/usr/src/lib/Makefile.lib.64 b/usr/src/lib/Makefile.lib.64
index 8fd20d7bb9..244e892b2d 100644
--- a/usr/src/lib/Makefile.lib.64
+++ b/usr/src/lib/Makefile.lib.64
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,16 +19,18 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
+
+#
# Include overrides for library builds of 64-bit objects
#
include $(SRC)/Makefile.master.64
#
-# Spectranslator Target Architecture
+# Target Architecture
#
-TRANSMACH= $(MACH64)
+TARGETMACH= $(MACH64)
diff --git a/usr/src/lib/Makefile.spec b/usr/src/lib/Makefile.spec
deleted file mode 100644
index 4c15107cbc..0000000000
--- a/usr/src/lib/Makefile.spec
+++ /dev/null
@@ -1,82 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/Makefile.spec
-
-.KEEP_STATE:
-
-#
-# This file depends on the macro $(OBJECTS) containing a .o file for every
-# spec file and $(SRC)/usr/lib/Makefile.lib(.64) being included.
-#
-SPECTRANS= $(SRC)/cmd/abi/spectrans
-#
-# If the shell variable SPECWS is defined the spectrans tools from the current
-# workspace will be used
-#
-SPECWS= $(POUND_SIGN)
-
-ABILIBDIR= $($(TRANSMACH)_ABILIBDIR)
-
-# Map OBJECTS to .spec files
-SPECS= $(OBJECTS:%.o=../%.spec)
-
-# Name of shared object to actually build
-ABILNROOT= $(LIBRARY:%.a=%)
-
-# Where to find spec files that this spec may depend on
-TRANSCPP += -I$(SRC)/lib
-# Fall back to parent workspace if spec file is not in this Workspace
-TRANSCPP += $(ENVCPPFLAGS2:%/proto/root_$(MACH)/usr/include=%/usr/src/lib)
-TRANSFLAGS= -a $(TRANSMACH) -l $(ABILNROOT) $(TRANSCPP)
-SPEC2MAP_FLAGS= -p
-
-SPECMAP= mapfile$(SPECVERS)
-VERSFILE= ../versions$(SPECVERS)
-
-CLEANFILES += $(SRCS)
-CLOBBERFILES += $(SPECMAP)
-
-SPEC2MAP= /usr/lib/abi/spec2map
-$(SPECWS)SPEC2MAP= $(SPECTRANS)/spec2map/$(MACH)/spec2map
-
-all install: $(SPECMAP)
-
-$(SPECMAP): $(VERSFILE) $(SPECS)
- $(SPEC2MAP) $(SPEC2MAP_FLAGS) $(TRANSFLAGS) -v $(VERSFILE) \
- -o $@ $(SPECS) \
-
-# We define the following two targets (clean, and clobber)
-# instead of inheriting them from Makefile.targ to avoid inheriting the
-# other rules which cause incremental build failures
-clean:
- -$(RM) $(OBJS) $(CLEANFILES)
-
-clobber: clean
- -$(RM) $(CLOBBERFILES)
-
-FRC:
diff --git a/usr/src/lib/Makefile.spec.arch b/usr/src/lib/Makefile.spec.arch
deleted file mode 100644
index d5eab5a0af..0000000000
--- a/usr/src/lib/Makefile.spec.arch
+++ /dev/null
@@ -1,60 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-i386_ARCHITECTURES = i386 amd64
-sparc_ARCHITECTURES = sparc sparcv9
-
-all := TARGET= all
-install := TARGET= install
-clean := TARGET= clean
-clobber := TARGET= clobber
-lint := TARGET= lint
-
-.KEEP_STATE:
-
-all install clean clobber: $($(MACH)_ARCHITECTURES)
-
-$($(MACH)_ARCHITECTURES): FRC
- @cd $@; pwd; $(MAKE) $(TARGET)
-
-#
-# This will make sure that any target not
-# explicitly defined will not break the build.
-#
-# XXX pmake on intel does not like the following rules
-# %: ignore_and_exit_quietly
-# ignore_and_exit_quietly:
-#
-# So here it is manually
-#
-IGNORE= _msg catalog install_h delete \
- package tcov debug private_h \
- check analyse test dynamic lint
-$(IGNORE):
-
-FRC:
diff --git a/usr/src/lib/Makefile.spec.psm b/usr/src/lib/Makefile.spec.psm
deleted file mode 100644
index a25271ddc5..0000000000
--- a/usr/src/lib/Makefile.spec.psm
+++ /dev/null
@@ -1,41 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1998-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/Makefile.spec.psm
-
-include $(SRC)/Makefile.psm
-
-USR_PSM_ABILIB= $(USR_PSM_LIB_ABI_DIR)/$(ABILIB)
-USR_PSM_ABILIB64= $(USR_PSM_LIB_ABI_DIR_64)/$(ABILIB)
-
-$(USR_PSM_ABILIB): $(USR_PSM_LIB_ABI_DIR) .WAIT $(SPECMAP) $(ABILIB)
- $(INS.file) $(ABILIB)
-
-$(USR_PSM_ABILIB64): $(USR_PSM_LIB_ABI_DIR_64) .WAIT $(SPECMAP) $(ABILIB)
- $(INS.file) $(ABILIB)
-
-include $(SRC)/Makefile.psm.targ
diff --git a/usr/src/lib/Makefile.targ b/usr/src/lib/Makefile.targ
index d8f38a337a..9918ad77fd 100644
--- a/usr/src/lib/Makefile.targ
+++ b/usr/src/lib/Makefile.targ
@@ -18,13 +18,14 @@
#
# CDDL HEADER END
#
-
#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
+
+#
# included to define local library targets
#
@@ -85,7 +86,7 @@ $(LIBRARY): objs .WAIT $$(OBJS)
$(BUILD.AR)
$(POST_PROCESS_A)
-$(DYNLIB): $$(SPECMAPFILE)
+$(DYNLIB): $$(MAPFILES)
$(DYNLIB): pics .WAIT $$(PICS) $$(ALTPICS)
$(BUILD.SO)
@@ -104,9 +105,6 @@ $(LINTLIB): $$(SRCS)
lintcheck: $$(SRCS)
$(LINT.c) $(LINTCHECKFLAGS) $(SRCS) $(LDLIBS)
-$(SPECMAPFILES):
- cd $(MAPDIR); pwd; $(MAKE) $(@F)
-
clobber: clean
-$(RM) $(CLOBBERTARGFILES)
diff --git a/usr/src/lib/README.Makefiles b/usr/src/lib/README.Makefiles
index dacebf4157..b576c3a9fc 100644
--- a/usr/src/lib/README.Makefiles
+++ b/usr/src/lib/README.Makefiles
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -19,14 +18,16 @@
#
# CDDL HEADER END
#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
Writing Library Makefiles in ON
===============================
- Copyright 2004 Sun Microsystems, Inc. All rights reserved.
- Use is subject to license terms.
-
-ident "%Z%%M% %I% %E% SMI"
-
Introduction
------------
@@ -57,7 +58,7 @@ Your library should consist of a hierarchical collection of Makefiles:
lib/<library>/<isa>/Makefile
These are your library's ISA-specific Makefiles, one per ISA
- (usually sparc and i386, and sometimes sparcv9 and ia64). These
+ (usually sparc and i386, and often sparcv9 and amd64). These
Makefiles should include your common Makefile and then provide any
needed ISA-specific rules and definitions, perhaps overriding those
provided in your common Makefile.
@@ -74,7 +75,7 @@ Makefiles before introducing your own custom build macros or rules.
lib/Makefile.lib.64
This contains macros for building 64-bit objects, and should be
- included in Makfiles for 64-bit native ISAs.
+ included in Makefiles for 64-bit native ISAs.
lib/Makefile.rootfs
@@ -98,20 +99,20 @@ ISA-independent targets usually consist of:
install_h
- Install all library header files into the proto area. Can be
- omitted if your library has no header files.
+ Install all library header files into the proto area.
+ Can be omitted if your library has no header files.
check
- Check all library header files for hdrchk compliance. Can be
- omitted if your library has no header files.
+ Check all library header files for hdrchk compliance.
+ Can be omitted if your library has no header files.
_msg
- Build and install a message catalog. Can be omitted if your
- library has no message catalog.
+ Build and install a message catalog.
+ Can be omitted if your library has no message catalog.
-Of course, other targets are (such as `cstyle') are fine as well, as long as
+Of course, other targets (such as `cstyle') are fine as well, as long as
they are ISA-independent.
The ROOTHDRS and CHECKHDRS targets are provided in lib/Makefile.lib to make
@@ -164,7 +165,7 @@ above example. If you need to skip the C preprocessor, just use the native
(.[ch]) suffix.
The only time you shouldn't use BUILDPO.msgfiles as the preferred means of
-extracting messages in when you're extracting them from shell scripts; in
+extracting messages is when you're extracting them from shell scripts; in
that case, you can use the BUILDPO.pofiles macro as explained below.
To build a message catalog from other message catalogs, or from source files
@@ -227,7 +228,7 @@ ISA-specific Makefiles. You can do this by:
2. Providing a common "descend into SUBDIRS" rule:
- spec $(SUBDIRS): FRC
+ $(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
@@ -245,56 +246,41 @@ ISA-specific Makefiles. You can do this by:
4. Having the aforementioned targets depend on SUBDIRS:
- all clean clobber install: spec .WAIT $(SUBDIRS)
-
- lint: $(SUBDIRS)
-
- A few notes are in order here:
+ all clean clobber install lint: $(SUBDIRS)
- * The `all' target must be listed first; the others might as
- well be listed alphabetically.
-
- * The `lint' target is listed separately because there is
- nothing to lint in the spec subdirectory.
-
- * The .WAIT between spec and $(SUBDIRS) is suboptimal but
- currently required to make sure that two different make
- invocations don't simultaneously build the mapfiles. It
- will likely be replaced with a more sophisticated
- mechanism in the future.
+ The `all' target must be listed first so that make uses it as the
+ default target; the others might as well be listed alphabetically.
As an example of how all of this goes together, here's libinetutil's
-top-level library Makefile (copyright omitted):
+top-level library Makefile (license notice and copyright omitted):
- include ../Makefile.lib
-
- HDRS = libinetutil.h
- HDRDIR = common
- SUBDIRS = $(MACH)
- $(BUILD64)SUBDIRS += $(MACH64)
+ include ../Makefile.lib
- all := TARGET = all
- clean := TARGET = clean
- clobber := TARGET = clobber
- install := TARGET = install
- lint := TARGET = lint
+ HDRS = libinetutil.h
+ HDRDIR = common
+ SUBDIRS = $(MACH)
+ $(BUILD64)SUBDIRS += $(MACH64)
- .KEEP_STATE:
+ all := TARGET = all
+ clean := TARGET = clean
+ clobber := TARGET = clobber
+ install := TARGET = install
+ lint := TARGET = lint
- all clean clobber install: spec .WAIT $(SUBDIRS)
+ .KEEP_STATE:
- lint: $(SUBDIRS)
+ all clean clobber install lint: $(SUBDIRS)
- install_h: $(ROOTHDRS)
+ install_h: $(ROOTHDRS)
- check: $(CHECKHDRS)
+ check: $(CHECKHDRS)
- $(SUBDIRS) spec: FRC
- @cd $@; pwd; $(MAKE) $(TARGET)
+ $(SUBDIRS): FRC
+ @cd $@; pwd; $(MAKE) $(TARGET)
- FRC:
+ FRC:
- include ../Makefile.targ
+ include ../Makefile.targ
The Common Makefile
-------------------
@@ -303,7 +289,9 @@ In concept, your common Makefile should contain all of the rules and
definitions that are the same on all ISAs. However, for reasons of
maintainability and cleanliness, you're encouraged to place even
ISA-dependent rules and definitions, as long you express them in an
-ISA-independent way (e.g., by using $(MACH), $(TRANSMACH), and their kin).
+ISA-independent way (e.g., by using $(MACH), $(TARGETMACH), and their kin).
+(TARGETMACH is the same as MACH for 32-bit targets, and the same as MACH64
+for 64-bit targets).
The common Makefile can be conceptually split up into four sections:
@@ -425,37 +413,17 @@ The third section typically consists of the following macros:
should be put in DYNFLAGS (if they apply only to shared object
construction) or LDFLAGS (if they apply in general).
- MAPDIR
-
- Set to the directory in which your library mapfile is built. If
- your library builds its mapfile from specfiles, set this to
- `../spec/$(TRANSMACH)' (TRANSMACH is the same as MACH for
- 32-bit targets, and the same as MACH64 for 64-bit targets).
-
- MAPFILE (required if your mapfile is under source control)
+ MAPFILES (if necessary)
- Set to the path to your library mapfile. If your library builds
- its mapfile from specfiles, this need not be set. If you set this,
- you must also set DYNFLAGS to include `-M $(MAPFILE)' and set
- DYNLIB to depend on MAPFILE.
+ Set to the list of mapfiles used to link each ISA-specific version
+ of your library. This defaults to `$(SRCDIR)/mapfile-vers' in
+ Makefile.lib, so you only need to change this if you have additional
+ mapfiles or your mapfile doesn't follow the standard naming
+ convention. If you have supplemental ISA-dependent mapfiles that
+ reside in the respective <isa> directories, you can augment
+ MAPFILES like this:
- SPECMAPFILE (required if your mapfile is generated from specfiles)
-
- Set to the path to your generated mapfile (usually
- `$(MAPDIR)/mapfile'). If your library mapfile is under source
- control, you need not set this. Setting this triggers a number of
- features in higher-level Makefiles:
-
- * Your shared library will automatically be linked with
- `-M $(SPECMAPFILE)'.
-
- * A `make clobber' will remove $(SPECMAPFILE).
-
- * Changes to $(SPECMAPFILE) will cause your shared library
- to be rebuilt.
-
- * An attempt to build $(SPECMAPFILE) will automatically
- cause a `make mapfile' to be done in MAPDIR.
+ MAPFILES += mapfile-vers
CPPFLAGS (if necessary)
@@ -539,38 +507,41 @@ Once again, here's libinetutil's common Makefile, which shows how many of
these directives go together. Note that Makefile.rootfs is included to
cause libinetutil.so.1 to be installed in /lib rather than /usr/lib:
- LIBRARY = libinetutil.a
- VERS = .1
- OBJECTS = octet.o inetutil4.o ifspec.o
+ LIBRARY = libinetutil.a
+ VERS = .1
+ OBJECTS = octet.o inetutil4.o ifspec.o ifaddrlist.o eh.o tq.o
- include ../../Makefile.lib
- include ../../Makefile.rootfs
+ include ../../Makefile.lib
+ include ../../Makefile.rootfs
- LIBS = $(DYNLIB) $(LINTLIB)
- SRCS = $(COMDIR)/octet.c $(SRCDIR)/inetutil4.c \
- $(SRCDIR)/ifspec.c
- $(LINTLIB):= SRCS = $(SRCDIR)/$(LINTSRC)
- LDLIBS += -lsocket -lc
+ LIBS = $(DYNLIB) $(LINTLIB)
- SRCDIR = ../common
- COMDIR = $(SRC)/common/net/dhcp
- MAPDIR = ../spec/$(TRANSMACH)
- SPECMAPFILE = $(MAPDIR)/mapfile
+ SRCDIR = ../common
+ COMDIR = $(SRC)/common/net/dhcp
+ SRCS = $(COMDIR)/octet.c $(SRCDIR)/inetutil4.c \
+ $(SRCDIR)/ifspec.c $(SRCDIR)/eh.c $(SRCDIR)/tq.c \
+ $(SRCDIR)/ifaddrlist.c
- CFLAGS += $(CCVERBOSE)
- CPPFLAGS += -I$(SRCDIR)
+ $(LINTLIB):= SRCS = $(SRCDIR)/$(LINTSRC)
+ LDLIBS += -lsocket -lc
- .KEEP_STATE:
+ CFLAGS += $(CCVERBOSE)
+ CPPFLAGS += -I$(SRCDIR)
- all: $(LIBS)
+ .KEEP_STATE:
- lint: lintcheck
+ all: $(LIBS)
+
+ lint: lintcheck
- pics/%.o: $(COMDIR)/%.c
- $(COMPILE.c) -o $@ $<
- $(POST_PROCESS_O)
+ pics/%.o: $(COMDIR)/%.c
+ $(COMPILE.c) -o $@ $<
+ $(POST_PROCESS_O)
- include ../../Makefile.targ
+ include ../../Makefile.targ
+
+The mapfile for libinetutil is named `mapfile-vers' and resides in $(SRCDIR),
+so the MAPFILES definition is omitted, defaulting to $(SRCDIR)/mapfile-vers.
Note that for libinetutil, not all of the object files come from SRCDIR. To
support this, an alternate source file directory named COMDIR is defined, and
@@ -608,9 +579,16 @@ Makefiles for libinetutil:
install: all $(ROOTLIBS) $(ROOTLINKS) $(ROOTLINT)
+ amd64/Makefile:
+
+ include ../Makefile.com
+ include ../../Makefile.lib.64
+
+ install: all $(ROOTLIBS64) $(ROOTLINKS64)
+
Observe that there is no .KEEP_STATE directive in these Makefiles, since all
of these Makefiles include libinetutil/Makefile.com, and it already has a
-.KEEP_STATE directive. Also, note that the 64-bit Makefile also includes
+.KEEP_STATE directive. Also, note that the 64-bit Makefiles also include
Makefile.lib.64, which overrides some of the definitions contained in the
higher level Makefiles included by the common Makefile so that 64-bit
compiles work correctly.
@@ -618,7 +596,7 @@ compiles work correctly.
CTF Data in Libraries
---------------------
-By default, all position-indepedent objects are built with CTF data using
+By default, all position-independent objects are built with CTF data using
ctfconvert, which is then merged together using ctfmerge when the shared
object is built. All C-source objects processed via ctfmerge need to be
processed via ctfconvert or the build will fail. Objects built from non-C
diff --git a/usr/src/lib/README.mapfiles b/usr/src/lib/README.mapfiles
new file mode 100644
index 0000000000..be3e2be16d
--- /dev/null
+++ b/usr/src/lib/README.mapfiles
@@ -0,0 +1,437 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+Mapfiles and versioning in ON
+=============================
+
+1.0 Objective of this README
+
+This README describes the engineering practices of creating and updating
+visible library interfaces. It describes various kinds of actions that
+typically occur as libraries are evolved, and shows how interface
+specifications are affected or updated in accordance. It tells you what
+you must do as a shared library developer if you:
+
+ 1. Make interface additions to an existing library
+ - add a Public interface
+ - add a Private interface
+ 2. Update an interface in an existing library
+ - remove an existing interface
+ - promote a Private interface to Public
+ - scope a Private interface to local
+ - move an interface from one library to another
+ - copy interfaces which are part of the standard to a new or
+ existing library
+ 3. Introduce a new library
+ - source directory hierarchy
+ - creation of the "mapfile-vers" file
+ - Makefiles
+ 4. Make an entire library obsolete before end-of-life
+ - introduce SUNWobsolete to the "mapfile-vers" file
+
+-------------------------------------------------------------------------------
+
+2.0 What's a mapfile?
+
+Mapfiles are used to tell the link editor ("ld") all sorts of things about
+how to generate an executable file or a shared object from a collection of
+relocatable objects, such as generated by a compiler. For all the gory
+details, see the Solaris Linker and Libraries Guide, which can be found
+under http://docs.sun.com.
+
+Here, we are only concerned with specifying externally-visible interfaces
+for shared libraries (shared objects) and with specifying their versions
+for ABI (Application Binary Interface) purposes. For these purposes, we
+only need to deal with a subset of the mapfile interfaces.
+
+There should be a "mapfile-vers" file associated with every shared library
+and it should reside in the common source directory for that library, most
+often in a "common" directory. This is the usual layout of a library's
+top-level directory (usr/src/lib/libwombat):
+ Makefile amd64/ i386/ sparcv9/
+ Makefile.com common/ sparc/
+
+The "common" directory contains the source files and other common files
+for the library:
+ bat.c libwombat_impl.h mapfile-vers wom.c
+ libwombat.h llib-lwombat util.c wombat.c
+
+The mapfile's name is, by convention, "mapfile-vers" because it is used
+for only two purposes: to specify externally-visible interface names while
+suppressing visibility of all other names, and to specify their respective
+unique version names.
+
+-------------------------------------------------------------------------------
+
+3.0 Contents of mapfile-vers
+
+The structure of mapfile-vers is best explained by an example
+(the license notification and copyright notice is omitted here
+for brevity):
+
+SUNW_1.2 { # update to libwombat, Solaris 10
+ global:
+ wb_readv;
+ wb_stat;
+ wb_writev;
+} SUNW_1.1;
+
+SUNW_1.1 { # first release of libwombat, Solaris 9
+ global:
+ wb_read;
+ wb_write;
+};
+
+SUNWprivate { # private libwombat symbols
+ global:
+ wb_add;
+ wb_delete;
+ wb_search;
+ local:
+ *;
+};
+
+The SUNW_1.* names are the Public version names for the library.
+There should be at most one version name for each release of Solaris,
+with the minor number incremented by one over the previous version.
+
+If no update to the Public-visible names in the library is made
+in a given Solaris release, no new version name should be generated
+for that release. If multiple updates are made to the library at
+different points in the development of a given release of Solaris,
+only one version should be used for the entire release.
+
+So, for example, if an update to libwombat is made in Solaris 11,
+you would add "SUNW_1.3" at the start of the mapfile:
+
+SUNW_1.3 { # update to libwombat, Solaris 11
+ global:
+ wb_lseek;
+} SUNW_1.2;
+
+Each version must inherit all symbols from its preceding version,
+specified at the ending "}" for each version. SUNW_1.1 does not
+inherit any symbols. SUNWprivate, if present, stands alone.
+
+The two lines in SUNWprivate:
+ local:
+ *;
+ensure that no symbols other than those listed in the mapfile are
+visible to clients of the library. If there is no SUNWprivate,
+these two lines should appear in SUNW_1.1.
+
+For maintainability, the list of names in each version block should
+be sorted in dictionary order (sort -d). Please comply.
+
+In addition to the common mapfile:
+ common/mapfile-vers
+some libraries require ISA-specific supplemental mapfiles, one in each
+of the ISA directories:
+ amd64/mapfile-vers
+ i386/mapfile-vers
+ sparc/mapfile-vers
+ sparcv9/mapfile-vers
+This is necessary only if there are ISA-specific library interfaces not
+common to all instances of the library. For example, see libproc, or,
+if you are masochistic, libc or libnsl.
+
+The ISA-specific mapfiles look like the common mapfile, except that only
+the ISA-specific names appear. The version names are the same as those
+in the common mapfile, but only non-empty version instances are present
+and no inheritance specification is present.
+
+-------------------------------------------------------------------------------
+
+4.0 Making interface additions to an existing library
+
+4.1 Adding a Public interface
+
+The first engineer to update the existing mapfile-vers file in a release needs
+to identify the current highest version name and properly increment the minor
+version number by 1 to be the new version name. If this is the first Public
+interface in the shared object, a new SUNW_1.1 version name must be introduced.
+
+The major revision number is incremented whenever an incompatible change is
+made to an interface. This could be the case if an API changes so dramatically
+as to invalidate dependencies. This rarely occurs in practice. It also
+requires changing the suffix of the shared object from, say, .so.1 to .so.2
+and introducing code to continue to ship the .so.1 version of the library.
+
+The minor revision number is incremented whenever one or more new interfaces
+is added to a library. Note that the minor number is not incremented on every
+putback that makes an interface addition to the library. Rather, it is
+incremented at most once per (external to Sun) release of the library.
+
+4.2 Adding a Private interface
+
+Private interfaces are the non-ABI interfaces of the library. Unlike
+introducing a Public interface, a new entry is simply added to the
+SUNWprivate version. No minor number increment is necessary.
+
+If this interface happens to be the first Private interface introduced
+into the library, the SUNWprivate version must be created (no major.minor
+version numbers). It inherits nothing and nothing inherits from it.
+
+If the library already has Private interfaces, they may have numbered version
+names like SUNWprivate_m.n (due to errors of the past). If so, just use the
+highest numbered private version name to version the new interface. There
+is no need to introduce a new private version name. Be careful not to use
+a lower numbered private version name; doing so can cause runtime errors
+(as opposed to load time errors) when running an application with older
+versions of the library.
+
+4.3 Adding new public interfaces in an update release
+
+Adding new public interfaces in an update release requires careful
+coordination with the next marketing release currently under development.
+Multiple updates ship during the period before the next marketing release
+ships, and since it is generally impossible to know the full set of new
+interfaces in the next marketing release until late in its development
+(after multiple updates have shipped) it must be assumed that not all
+interfaces added to the next marketing release will be added to an update.
+
+Consequently, the new version number for an update cannot be a minor
+increment, but must be a micro increment. For example, if Release N
+has version number SUNW_1.3 and Release N+1 will have SUNW_1.4, then
+interfaces added to an update of Release N must have micro numbers such
+as SUNW_1.3.1, SUNW_1.3.2, etc. (note that the micro number is not
+directly tied to the update number: SUNW_1.3.1 may appear in Update 2).
+The micro versions form an inheritance chain that is inserted between
+two successive minor versions. For example, the mapfile-vers file for
+minor release "N+1" to reflect its inclusion of micro releases will
+look like the following:
+
+SUNW_1.4 { # release N+1
+ global:
+ ...
+} SUNW_1.3.2;
+
+SUNW_1.3.2 { # micro release 2 (e.g., release NU3)
+ global:
+ ...
+} SUNW_1.3.1;
+
+SUNW_1.3.1 { # micro release 1 (e.g., release NU2)
+ global:
+ ...
+} SUNW_1.3;
+
+SUNW_1.3 { # release N
+ global:
+ ...
+} SUNW_1.2;
+
+SUNW_1.2 { # release N-1
+ global:
+ ...
+} SUNW_1.1;
+
+SUNW_1.1 { # first release
+ global:
+ ...
+};
+
+SUNW_private { # same in all releases
+ global:
+ ...
+ local:
+ *;
+};
+
+The corresponding update/patch mapfile-vers file will be identical
+except for the exclusion of SUNW_1.4.
+
+Those interfaces which are only present in Release N+1 are always put
+into the next minor version set, SUNW_1.4.
+
+Thus when adding a new public interface to an update, both the mapfiles
+of the update release and next marketing release must be modified to be
+consistent. The update versions should not be added to the marketing
+release until the putback to the update release has occurred, to avoid
+timing problems with the update releases (it's all too easy for projects
+to slip out of updates, or to change ordering).
+
+-------------------------------------------------------------------------------
+
+5.0 How to update an interface in an existing library
+
+5.1 Removing an existing interface
+
+5.1.1 Moving a Public interface
+
+No Public interfaces should ever be removed from any mapfile.
+
+To move an interface from one library to (say) libc, the code has to be
+deleted from the library and added to libc, then the mapfile for the
+library has to have the interface's entry changed from:
+ getfoobar;
+to:
+ getfoobar = FUNCTION FILTER libc.so.1;
+See, for example, libnsl's common/mapfile-vers file.
+
+Follow the rules for adding a new interface for the necessary changes
+to libc's mapfile to accommodate the moved interface. In particular,
+the new interface must be added to the current highest libc version.
+
+To move an entire library into libc, look at what has already been done
+for libthread, libaio, and librt.
+
+5.1.2 Removing a Private interface
+
+Deletion of Private interfaces is allowed, but caution should be taken;
+it should first be established that the interface is not being used.
+To remove a Private interface, simply delete the corresponding entry
+for that symbol from the mapfile's SUNWprivate section.
+
+Do not forget to delete these Public or Private interfaces from the library's
+header files as well as from the code that implements the interfaces.
+
+5.2 Promoting a Private interface to Public
+
+This is similar to what's done when adding a Public interface. Promoting an
+existing Private interface to a Public one only requires a change to the
+existing interface definition. Private interfaces have the symbol version name
+"SUNWprivate" associated with them. To make the interface a Public one, the
+interface must be put into a set associated with the current Public release
+level of the library.
+
+As an example, if we were modifying libwombat.so.1 and its version in the
+last release of Solaris was SUNW_1.23, any new ABI introduced in the next
+release would be put into a version called SUNW_1.24. Therefore, whether
+you wish to promote an existing Private interface to Public, or to introduce
+a new Public interface, this (next successive minor numbered version level)
+would be the version that it would be associated with.
+
+5.3 Scoping a Private interface local
+
+Any interfaces not present in the mapfile-vers file will automatically be
+scoped local (i.e., they will not be visible outside the library). Simply
+remove the Private interface from the mapfile-vers file and the header file
+to prevent it from being exported. This may require moving the Private
+interface into a library-private header file. Scope reduction of Public
+interfaces is not allowed.
+
+For the interface to be used in more than one file within the library, it
+should be in a header file that can be included by each file in the library
+that uses the interface. For example:
+
+ #include "libprivate.h"
+
+5.4 How to copy interfaces which are part of a standard to a new or existing
+ library
+
+SYSVABI and SISCD are reserved version names for interfaces listed in the
+System V Interface Definition and the Sparc Compliance Definition. Avoid using
+these version names when copying the implementation of standard interfaces to
+another library. Instead, use SUNW_1.1 for a new library, and SUNW_m.n for
+an existing library (where m.n is the next release version; i.e., if the
+last version was SUNW_1.18, then you should version the interfaces with
+SUNW_1.19).
+
+-------------------------------------------------------------------------------
+
+6.0 Introducing a new library
+
+6.1 Directories
+
+The normal discipline for introducing a new library in OS/Net is to create a
+new subdirectory of /usr/src/lib. The interface definition discipline is to
+create a common/mapfile-vers file for the new library. If we were introducing
+a new foo library, libfoo, we'd create /usr/src/lib/libfoo containing:
+ Makefile amd64/ i386/ sparcv9/
+ Makefile.com common/ sparc/
+The common subdirectory would contain the normal source files plus the
+mapfile-vers file. See usr/src/lib/README.Makefiles for directions on
+how to organize the Makefiles.
+
+6.2 The mapfile
+
+The new common/mapfile-vers file would contain:
+
+SUNW_1.1 { # first release of libfoo
+ global:
+ ...
+};
+
+SUNWprivate {
+ global:
+ ...
+ local:
+ *;
+};
+
+If there are no Public interfaces, the SUNW_1.1 section would be omitted.
+If there are no Private interfaces, the SUNWprivate section would be
+omitted and the two lines:
+ local:
+ *;
+would be moved into SUNW_1.1
+
+To decide which interfaces are Public (part of the ABI) and which are Private
+(unstable interfaces not intended to be used by third party applications or
+unbundled products), the heuristic which works to a first approximation is
+that if it has a man page then it's Public. Also, it is really the ARC case
+for the new interfaces that prescribes which interfaces are Public and
+which are not (hence, which interfaces have man pages and which do not).
+
+For maintainability, the list of names in each version block should
+be sorted in dictionary order (sort -d). Please comply.
+
+-------------------------------------------------------------------------------
+
+7.0 Make an entire library obsolete
+
+7.1 Introduce SUNWobsolete version
+
+Use this version name not for specific interfaces but for marking an entire
+library as obsolete. The existing public/private version names are left
+unchanged, but a new SUNWobsolete version is created with no symbols in it.
+This becomes a tag by which the obsolescence of the library can be recognized.
+There is no numbering of this version name.
+
+SUNWobsolete {
+ global:
+ SUNWobsolete; # This is the only way to do it.
+} SUNW_1.2;
+
+SUNW_1.2 {
+...
+
+-------------------------------------------------------------------------------
+
+8.0 Documentation
+
+For further information, please refer to the following documents:
+
+ "Solaris Linker and Libraries Guide", http://docs.sun.com
+ /shared/ON/general_docs/scoping-rules.fm.ps
+
+For information on the now-obsolete spec files, used in Solaris releases
+7 through 10, see:
+ /shared/ON/general_docs/README.spec
+ /shared/ON/general_docs/libspec-rules.ps
+ /shared/ON/general_docs/spectrans/*
diff --git a/usr/src/lib/abi/Makefile b/usr/src/lib/abi/Makefile
index 3500a99444..ce037a6606 100644
--- a/usr/src/lib/abi/Makefile
+++ b/usr/src/lib/abi/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,7 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
@@ -28,23 +27,14 @@
include $(SRC)/lib/Makefile.lib
-#
-# NOTE: The `spec' target builds and installs the libraries needed to
-# build the spec subdirectories of the ON libraries.
-#
-
SUBDIRS = apptrace
-ROOTABILIBDIRS = $(ROOT)/usr/lib/abi
-$(BUILD64)ROOTABILIBDIRS += $(ROOT)/usr/lib/abi/$(MACH64)
-
all := TARGET = all
clean := TARGET = clean
clobber := TARGET = clobber
install := TARGET = install
lint := TARGET = lint
_msg := TARGET = _msg
-spec := TARGET = install
.PARALLEL:
@@ -52,11 +42,6 @@ spec := TARGET = install
all clean clobber install lint _msg: $(SUBDIRS)
-spec: $(ROOTABILIBDIRS) .WAIT $(SUBDIRS)
-
-$(ROOTABILIBDIRS):
- $(INS.dir)
-
$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
diff --git a/usr/src/lib/abi/apptrace/Makefile.com b/usr/src/lib/abi/apptrace/Makefile.com
index 6a171938cb..578ccf83eb 100644
--- a/usr/src/lib/abi/apptrace/Makefile.com
+++ b/usr/src/lib/abi/apptrace/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,7 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
@@ -35,6 +34,9 @@ include ../../Makefile.abi
LIBS = $(DYNLIB)
CPPFLAGS = -I. $(CPPFLAGS.master)
+# No mapfile here
+MAPFILES =
+
# Because we are compiling native, amd64/Makefile wants us to suppress
# linking with any 64-bit libraries unless the build machine is able
# to run amd64 64-bit executables:
diff --git a/usr/src/lib/auditd_plugins/binfile/Makefile b/usr/src/lib/auditd_plugins/binfile/Makefile
index 2da57f987d..a8d5726fcc 100644
--- a/usr/src/lib/auditd_plugins/binfile/Makefile
+++ b/usr/src/lib/auditd_plugins/binfile/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,15 @@
# CDDL HEADER END
#
#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
+#
include $(SRC)/lib/Makefile.lib
-SUBDIRS = spec .WAIT $(MACH)
+SUBDIRS = $(MACH)
TEXT_DOMAIN= SUNW_OST_OSCMD
POFILE= audit_binfile.po
@@ -41,9 +41,7 @@ lint := TARGET= lint
.KEEP_STATE:
-all clean clobber install: $(SUBDIRS)
-
-lint: $(SUBDIRS)
+all clean clobber install lint: $(SUBDIRS)
$(POFILE): pofile_MSGFILES
diff --git a/usr/src/lib/auditd_plugins/binfile/Makefile.com b/usr/src/lib/auditd_plugins/binfile/Makefile.com
index d0b820fc3e..96185b4af1 100644
--- a/usr/src/lib/auditd_plugins/binfile/Makefile.com
+++ b/usr/src/lib/auditd_plugins/binfile/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,10 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
+#
LIBRARY= audit_binfile.a
VERS= .1
@@ -33,8 +33,6 @@ LIBBSM= $(SRC)/lib/libbsm/common
include $(SRC)/lib/Makefile.lib
-SRCDIR= ..
-
LIBS= $(DYNLIB)
LDLIBS += -lbsm -lsecdb -lc
@@ -42,9 +40,6 @@ CFLAGS += $(CCVERBOSE)
CPPFLAGS += -D_REENTRANT -I$(LIBBSM)
CPPFLAGS += -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-MAPDIR= ../spec/$(TRANSMACH)
-SPECMAPFILE= $(MAPDIR)/mapfile
-
ROOTLIBDIR= $(ROOT)/usr/lib/security
.KEEP_STATE:
diff --git a/usr/src/lib/auditd_plugins/binfile/mapfile-vers b/usr/src/lib/auditd_plugins/binfile/mapfile-vers
new file mode 100644
index 0000000000..801006018e
--- /dev/null
+++ b/usr/src/lib/auditd_plugins/binfile/mapfile-vers
@@ -0,0 +1,35 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNWprivate_1.1 {
+ global:
+ auditd_plugin;
+ auditd_plugin_close;
+ auditd_plugin_open;
+ local:
+ *;
+};
diff --git a/usr/src/lib/auditd_plugins/binfile/spec/Makefile b/usr/src/lib/auditd_plugins/binfile/spec/Makefile
deleted file mode 100644
index d9ff13c10b..0000000000
--- a/usr/src/lib/auditd_plugins/binfile/spec/Makefile
+++ /dev/null
@@ -1,28 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/auditd_plugins/binfile/spec/Makefile.targ b/usr/src/lib/auditd_plugins/binfile/spec/Makefile.targ
deleted file mode 100644
index d54d00f883..0000000000
--- a/usr/src/lib/auditd_plugins/binfile/spec/Makefile.targ
+++ /dev/null
@@ -1,30 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-
-LIBRARY = audit_binfile.a
-VERS = .1
-OBJECTS = private.o
diff --git a/usr/src/lib/auditd_plugins/binfile/spec/amd64/Makefile b/usr/src/lib/auditd_plugins/binfile/spec/amd64/Makefile
deleted file mode 100644
index 98f45d6f94..0000000000
--- a/usr/src/lib/auditd_plugins/binfile/spec/amd64/Makefile
+++ /dev/null
@@ -1,30 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-all install clean clobber:
- @echo "Nothing to $@ on amd64"
diff --git a/usr/src/lib/auditd_plugins/binfile/spec/i386/Makefile b/usr/src/lib/auditd_plugins/binfile/spec/i386/Makefile
deleted file mode 100644
index b7374bd0ea..0000000000
--- a/usr/src/lib/auditd_plugins/binfile/spec/i386/Makefile
+++ /dev/null
@@ -1,35 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB)
diff --git a/usr/src/lib/auditd_plugins/binfile/spec/private.spec b/usr/src/lib/auditd_plugins/binfile/spec/private.spec
deleted file mode 100644
index c33a968e35..0000000000
--- a/usr/src/lib/auditd_plugins/binfile/spec/private.spec
+++ /dev/null
@@ -1,40 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-function auditd_plugin_open extends auditd_plugins/template/spec/template.spec
-arch i386 sparc
-version SUNWprivate_1.1
-end
-
-function auditd_plugin extends auditd_plugins/template/spec/template.spec
-arch i386 sparc
-version SUNWprivate_1.1
-end
-
-function auditd_plugin_close extends auditd_plugins/template/spec/template.spec
-arch i386 sparc
-version SUNWprivate_1.1
-end
diff --git a/usr/src/lib/auditd_plugins/binfile/spec/sparc/Makefile b/usr/src/lib/auditd_plugins/binfile/spec/sparc/Makefile
deleted file mode 100644
index b7374bd0ea..0000000000
--- a/usr/src/lib/auditd_plugins/binfile/spec/sparc/Makefile
+++ /dev/null
@@ -1,35 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB)
diff --git a/usr/src/lib/auditd_plugins/binfile/spec/sparcv9/Makefile b/usr/src/lib/auditd_plugins/binfile/spec/sparcv9/Makefile
deleted file mode 100644
index 4bae41ca27..0000000000
--- a/usr/src/lib/auditd_plugins/binfile/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,29 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-
-all install clean clobber:
- @echo "Nothing to $@ on sparcv9"
diff --git a/usr/src/lib/auditd_plugins/binfile/spec/versions b/usr/src/lib/auditd_plugins/binfile/spec/versions
deleted file mode 100644
index d0b09b98ae..0000000000
--- a/usr/src/lib/auditd_plugins/binfile/spec/versions
+++ /dev/null
@@ -1,33 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-sparc {
- SUNWprivate_1.1;
-}
-
-i386 {
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/auditd_plugins/syslog/Makefile b/usr/src/lib/auditd_plugins/syslog/Makefile
index 4930c661ea..39802d1dfd 100644
--- a/usr/src/lib/auditd_plugins/syslog/Makefile
+++ b/usr/src/lib/auditd_plugins/syslog/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,15 @@
# CDDL HEADER END
#
#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
+#
include $(SRC)/lib/Makefile.lib
-SUBDIRS = spec .WAIT $(MACH)
+SUBDIRS = $(MACH)
TEXT_DOMAIN= SUNW_OST_OSCMD
POFILE= audit_syslog.po
@@ -41,9 +41,7 @@ lint := TARGET= lint
.KEEP_STATE:
-all clean clobber install: $(SUBDIRS)
-
-lint: $(SUBDIRS)
+all clean clobber install lint: $(SUBDIRS)
$(POFILE): pofile_MSGFILES
diff --git a/usr/src/lib/auditd_plugins/syslog/Makefile.com b/usr/src/lib/auditd_plugins/syslog/Makefile.com
index aa93c27c13..40ecbc25bd 100644
--- a/usr/src/lib/auditd_plugins/syslog/Makefile.com
+++ b/usr/src/lib/auditd_plugins/syslog/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,7 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
@@ -36,8 +35,6 @@ OBJECTS= sysplugin.o \
include $(SRC)/lib/Makefile.lib
-SRCDIR= ..
-
SRCS= $(SRCDIR)/sysplugin.c \
$(PRAUDIT)/toktable.c \
$(SRCDIR)/systoken.c
@@ -52,9 +49,6 @@ CPPFLAGS += -D_REENTRANT
CPPFLAGS += -I$(PRAUDIT)
CPPFLAGS += -I$(LIBBSM)
-MAPDIR= ../spec/$(TRANSMACH)
-SPECMAPFILE= $(MAPDIR)/mapfile
-
ROOTLIBDIR= $(ROOT)/usr/lib/security
.KEEP_STATE:
diff --git a/usr/src/lib/auditd_plugins/syslog/mapfile-vers b/usr/src/lib/auditd_plugins/syslog/mapfile-vers
new file mode 100644
index 0000000000..801006018e
--- /dev/null
+++ b/usr/src/lib/auditd_plugins/syslog/mapfile-vers
@@ -0,0 +1,35 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNWprivate_1.1 {
+ global:
+ auditd_plugin;
+ auditd_plugin_close;
+ auditd_plugin_open;
+ local:
+ *;
+};
diff --git a/usr/src/lib/auditd_plugins/syslog/spec/Makefile b/usr/src/lib/auditd_plugins/syslog/spec/Makefile
deleted file mode 100644
index d9ff13c10b..0000000000
--- a/usr/src/lib/auditd_plugins/syslog/spec/Makefile
+++ /dev/null
@@ -1,28 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/auditd_plugins/syslog/spec/Makefile.targ b/usr/src/lib/auditd_plugins/syslog/spec/Makefile.targ
deleted file mode 100644
index 21621fe572..0000000000
--- a/usr/src/lib/auditd_plugins/syslog/spec/Makefile.targ
+++ /dev/null
@@ -1,30 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-
-LIBRARY = audit_syslog.a
-VERS = .1
-OBJECTS = private.o
diff --git a/usr/src/lib/auditd_plugins/syslog/spec/amd64/Makefile b/usr/src/lib/auditd_plugins/syslog/spec/amd64/Makefile
deleted file mode 100644
index 98f45d6f94..0000000000
--- a/usr/src/lib/auditd_plugins/syslog/spec/amd64/Makefile
+++ /dev/null
@@ -1,30 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-all install clean clobber:
- @echo "Nothing to $@ on amd64"
diff --git a/usr/src/lib/auditd_plugins/syslog/spec/i386/Makefile b/usr/src/lib/auditd_plugins/syslog/spec/i386/Makefile
deleted file mode 100644
index b7374bd0ea..0000000000
--- a/usr/src/lib/auditd_plugins/syslog/spec/i386/Makefile
+++ /dev/null
@@ -1,35 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB)
diff --git a/usr/src/lib/auditd_plugins/syslog/spec/private.spec b/usr/src/lib/auditd_plugins/syslog/spec/private.spec
deleted file mode 100644
index c33a968e35..0000000000
--- a/usr/src/lib/auditd_plugins/syslog/spec/private.spec
+++ /dev/null
@@ -1,40 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-function auditd_plugin_open extends auditd_plugins/template/spec/template.spec
-arch i386 sparc
-version SUNWprivate_1.1
-end
-
-function auditd_plugin extends auditd_plugins/template/spec/template.spec
-arch i386 sparc
-version SUNWprivate_1.1
-end
-
-function auditd_plugin_close extends auditd_plugins/template/spec/template.spec
-arch i386 sparc
-version SUNWprivate_1.1
-end
diff --git a/usr/src/lib/auditd_plugins/syslog/spec/sparc/Makefile b/usr/src/lib/auditd_plugins/syslog/spec/sparc/Makefile
deleted file mode 100644
index b7374bd0ea..0000000000
--- a/usr/src/lib/auditd_plugins/syslog/spec/sparc/Makefile
+++ /dev/null
@@ -1,35 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB)
diff --git a/usr/src/lib/auditd_plugins/syslog/spec/sparcv9/Makefile b/usr/src/lib/auditd_plugins/syslog/spec/sparcv9/Makefile
deleted file mode 100644
index 4bae41ca27..0000000000
--- a/usr/src/lib/auditd_plugins/syslog/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,29 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-
-all install clean clobber:
- @echo "Nothing to $@ on sparcv9"
diff --git a/usr/src/lib/auditd_plugins/syslog/spec/versions b/usr/src/lib/auditd_plugins/syslog/spec/versions
deleted file mode 100644
index d0b09b98ae..0000000000
--- a/usr/src/lib/auditd_plugins/syslog/spec/versions
+++ /dev/null
@@ -1,33 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-sparc {
- SUNWprivate_1.1;
-}
-
-i386 {
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/auditd_plugins/template/spec/template.spec b/usr/src/lib/auditd_plugins/template/spec/template.spec
deleted file mode 100644
index d1a1f33ea8..0000000000
--- a/usr/src/lib/auditd_plugins/template/spec/template.spec
+++ /dev/null
@@ -1,42 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-function auditd_plugin_open
-include <security/auditd.h> <secdb.h>
-declaration auditd_rc_t auditd_plugin_open(const kva_t *kvlist,\
- char **ret_list, char **error)
-end
-
-function auditd_plugin
-include <security/auditd.h> <secdb.h>
-declaration auditd_rc_t auditd_plugin(const char *input,\
- size_t in_len, uint32_t sequence, char **error)
-end
-
-function auditd_plugin_close
-include <security/auditd.h> <secdb.h>
-declaration auditd_rc_t auditd_plugin_close(char **error)
-end
diff --git a/usr/src/lib/cfgadm_plugins/ac/Makefile.com b/usr/src/lib/cfgadm_plugins/ac/Makefile.com
index c7aa48aadc..a191402d23 100644
--- a/usr/src/lib/cfgadm_plugins/ac/Makefile.com
+++ b/usr/src/lib/cfgadm_plugins/ac/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,12 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/ac/Makefile.com
include $(SRC)/lib/cfgadm_plugins/Makefile.com
@@ -53,13 +51,11 @@ USR_PSM_LIB_CFG_DIR_64 = $(USR_PSM_LIB_CFG_DIR)/$(MACH64)
ROOTLIBDIR= $(USR_PSM_LIB_CFG_DIR)
ROOTLIBDIR64= $(USR_PSM_LIB_CFG_DIR_64)
-MAPFILE= ../common/mapfile-vers
-SRCS= $(OBJECTS:%.o=../common/%.c)
+SRCDIR = ../common
LIBS = $(DYNLIB)
CFLAGS += $(CCVERBOSE)
-DYNFLAGS += -M $(MAPFILE)
LDLIBS += -lc
CPPFLAGS += -I$(ROOT)/usr/platform/$(PLATFORM)/include
@@ -70,8 +66,6 @@ all: $(LIBS)
lint: lintcheck
-$(DYNLIB): $(MAPFILE)
-
# Create target directories
$(USR_PSM_DIR): $(LINKED_DIRS)
-$(INS.dir.root.sys)
diff --git a/usr/src/lib/cfgadm_plugins/ib/Makefile b/usr/src/lib/cfgadm_plugins/ib/Makefile
index 83ac985cd4..822ed3efc5 100644
--- a/usr/src/lib/cfgadm_plugins/ib/Makefile
+++ b/usr/src/lib/cfgadm_plugins/ib/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,16 +19,16 @@
# CDDL HEADER END
#
#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#pragma ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
-# lib/cfgadm_plugins/ib/Makefile
include ../../Makefile.lib
-SUBDIRS= spec .WAIT $(MACH) $(BUILD64) $(MACH64)
+SUBDIRS = $(MACH)
+$(BUILD64)SUBDIRS += $(MACH64)
all := TARGET= all
clean := TARGET= clean
@@ -53,7 +52,7 @@ CP= cp
all clean clobber delete install lint package: $(SUBDIRS)
-$(MACH) $(MACH64) spec: FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
_msg: $(MSGDOMAIN) $(POFILE)
diff --git a/usr/src/lib/cfgadm_plugins/ib/Makefile.com b/usr/src/lib/cfgadm_plugins/ib/Makefile.com
index a0f4ec3e54..659d07eaa7 100644
--- a/usr/src/lib/cfgadm_plugins/ib/Makefile.com
+++ b/usr/src/lib/cfgadm_plugins/ib/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,13 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/cfgadm_plugins/ib/Makefile.com
-#
LIBRARY= ib.a
VERS= .1
@@ -36,14 +33,10 @@ OBJECTS= cfga_ib.o cfga_rcm.o cfga_conf.o
# include library definitions
include ../../../Makefile.lib
+SRCDIR = ../common
ROOTLIBDIR= $(ROOT)/usr/lib/cfgadm
ROOTLIBDIR64= $(ROOTLIBDIR)/$(MACH64)
-MAPFILE= $(MAPDIR)/mapfile
-CLOBBERFILES += $(MAPFILE)
-
-SRCS= $(OBJECTS:%.o=../common/%.c)
-
LIBS= $(DYNLIB)
LINTFLAGS += -DDEBUG
@@ -52,7 +45,6 @@ LINTFLAGS64 += -DDEBUG
CFLAGS += $(CCVERBOSE)
CFLAGS64 += $(CCVERBOSE)
-DYNFLAGS += -M $(MAPFILE)
LDLIBS += -lc -ldevice -ldevinfo -lrcm -lnvpair
.KEEP_STATE:
@@ -61,11 +53,6 @@ all: $(LIBS)
lint: lintcheck
-$(DYNLIB): $(MAPFILE)
-
-$(MAPFILE):
- @cd $(MAPDIR); $(MAKE) mapfile
-
# Install rules
$(ROOTLIBDIR)/%: % $(ROOTLIBDIR)
diff --git a/usr/src/lib/cfgadm_plugins/ib/amd64/Makefile b/usr/src/lib/cfgadm_plugins/ib/amd64/Makefile
index b0e26c2283..4b07c3a63e 100644
--- a/usr/src/lib/cfgadm_plugins/ib/amd64/Makefile
+++ b/usr/src/lib/cfgadm_plugins/ib/amd64/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,15 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/cfgadm_plugins/ib/amd64/Makefile
+# ident "%Z%%M% %I% %E% SMI"
#
-MAPDIR= ../spec/amd64
include ../Makefile.com
include ../../../Makefile.lib.64
diff --git a/usr/src/lib/cfgadm_plugins/ib/common/mapfile-vers b/usr/src/lib/cfgadm_plugins/ib/common/mapfile-vers
new file mode 100644
index 0000000000..986c2b9b75
--- /dev/null
+++ b/usr/src/lib/cfgadm_plugins/ib/common/mapfile-vers
@@ -0,0 +1,38 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNWprivate_1.1 {
+ global:
+ cfga_change_state;
+ cfga_help;
+ cfga_list_ext;
+ cfga_private_func;
+ cfga_test;
+ cfga_version;
+ local:
+ *;
+};
diff --git a/usr/src/lib/cfgadm_plugins/ib/i386/Makefile b/usr/src/lib/cfgadm_plugins/ib/i386/Makefile
index 8022c2a063..25e03c3f72 100644
--- a/usr/src/lib/cfgadm_plugins/ib/i386/Makefile
+++ b/usr/src/lib/cfgadm_plugins/ib/i386/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,15 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/cfgadm_plugins/ib/i386/Makefile
+# ident "%Z%%M% %I% %E% SMI"
#
-MAPDIR= ../spec/i386
include ../Makefile.com
.KEEP_STATE:
diff --git a/usr/src/lib/cfgadm_plugins/ib/sparc/Makefile b/usr/src/lib/cfgadm_plugins/ib/sparc/Makefile
index fa95546e40..25e03c3f72 100644
--- a/usr/src/lib/cfgadm_plugins/ib/sparc/Makefile
+++ b/usr/src/lib/cfgadm_plugins/ib/sparc/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,15 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/cfgadm_plugins/ib/sparc/Makefile
+# ident "%Z%%M% %I% %E% SMI"
#
-MAPDIR= ../spec/sparc
include ../Makefile.com
.KEEP_STATE:
diff --git a/usr/src/lib/cfgadm_plugins/ib/sparcv9/Makefile b/usr/src/lib/cfgadm_plugins/ib/sparcv9/Makefile
index c340752bb3..a0aa2c59c4 100644
--- a/usr/src/lib/cfgadm_plugins/ib/sparcv9/Makefile
+++ b/usr/src/lib/cfgadm_plugins/ib/sparcv9/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,15 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/cfgadm_plugins/ib/sparcv9/Makefile
+# ident "%Z%%M% %I% %E% SMI"
#
-MAPDIR= ../spec/sparcv9
include ../Makefile.com
include ../../../Makefile.lib.64
diff --git a/usr/src/lib/cfgadm_plugins/ib/spec/Makefile b/usr/src/lib/cfgadm_plugins/ib/spec/Makefile
deleted file mode 100644
index 33f7f7a082..0000000000
--- a/usr/src/lib/cfgadm_plugins/ib/spec/Makefile
+++ /dev/null
@@ -1,30 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/cfgadm_plugins/ib/spec/Makefile
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/cfgadm_plugins/ib/spec/Makefile.targ b/usr/src/lib/cfgadm_plugins/ib/spec/Makefile.targ
deleted file mode 100644
index 93ae557a05..0000000000
--- a/usr/src/lib/cfgadm_plugins/ib/spec/Makefile.targ
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/cfgadm_plugins/ib/spec/Makefile.targ
-
-LIBRARY= ib.a
-VERS= .1
-
-OBJECTS= cfga_ib.o
-
-TRANSCPP =
-SPECCPP =
diff --git a/usr/src/lib/cfgadm_plugins/ib/spec/amd64/Makefile b/usr/src/lib/cfgadm_plugins/ib/spec/amd64/Makefile
deleted file mode 100644
index 4d70ca12b2..0000000000
--- a/usr/src/lib/cfgadm_plugins/ib/spec/amd64/Makefile
+++ /dev/null
@@ -1,41 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/cfgadm_plugins/ib/spec/i386/Makefile
-#
-
-.KEEP_STATE:
-
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB64)
diff --git a/usr/src/lib/cfgadm_plugins/ib/spec/cfga_ib.spec b/usr/src/lib/cfgadm_plugins/ib/spec/cfga_ib.spec
deleted file mode 100644
index 55396bf6d9..0000000000
--- a/usr/src/lib/cfgadm_plugins/ib/spec/cfga_ib.spec
+++ /dev/null
@@ -1,76 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/cfgadm_plugins/ib/spec/cfga_ib.spec
-
-function cfga_change_state
-include <sys/param.h>, <config_admin.h>
-declaration cfga_err_t cfga_change_state(cfga_cmd_t, const char *, \
- const char *, struct cfga_confirm *, \
- struct cfga_msg *, char **, cfga_flags_t)
-arch sparc sparcv9
-version SUNWprivate_1.1
-end
-
-function cfga_help
-include <sys/param.h>, <config_admin.h>
-declaration cfga_err_t cfga_help(struct cfga_msg *, const char *, \
- cfga_flags_t)
-arch sparc sparcv9
-version SUNWprivate_1.1
-end
-
-function cfga_list_ext
-include <sys/param.h>, <config_admin.h>
-declaration cfga_err_t cfga_list_ext(const char *, \
- struct cfga_list_data **, int *, const char *, \
- const char *, char **, cfga_flags_t)
-arch sparc sparcv9
-version SUNWprivate_1.1
-end
-
-function cfga_private_func
-include <sys/param.h>, <config_admin.h>
-declaration cfga_err_t cfga_private_func(const char *, const char *, \
- const char *, struct cfga_confirm *, \
- struct cfga_msg *, char **, cfga_flags_t)
-arch sparc sparcv9
-version SUNWprivate_1.1
-end
-
-function cfga_test
-include <sys/param.h>, <config_admin.h>
-declaration cfga_err_t cfga_test(const char *, const char *, \
- struct cfga_msg *, char **, cfga_flags_t)
-arch sparc sparcv9
-version SUNWprivate_1.1
-end
-
-data cfga_version
-declaration int cfga_version
-arch sparc sparcv9
-version SUNWprivate_1.1
-end
diff --git a/usr/src/lib/cfgadm_plugins/ib/spec/i386/Makefile b/usr/src/lib/cfgadm_plugins/ib/spec/i386/Makefile
deleted file mode 100644
index b00af9887a..0000000000
--- a/usr/src/lib/cfgadm_plugins/ib/spec/i386/Makefile
+++ /dev/null
@@ -1,40 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/cfgadm_plugins/ib/spec/i386/Makefile
-#
-
-.KEEP_STATE:
-
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB)
diff --git a/usr/src/lib/cfgadm_plugins/ib/spec/sparc/Makefile b/usr/src/lib/cfgadm_plugins/ib/spec/sparc/Makefile
deleted file mode 100644
index 7a9ab38247..0000000000
--- a/usr/src/lib/cfgadm_plugins/ib/spec/sparc/Makefile
+++ /dev/null
@@ -1,40 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/cfgadm_plugins/ib/spec/sparc/Makefile
-#
-
-.KEEP_STATE:
-
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB)
diff --git a/usr/src/lib/cfgadm_plugins/ib/spec/sparcv9/Makefile b/usr/src/lib/cfgadm_plugins/ib/spec/sparcv9/Makefile
deleted file mode 100644
index f96d11d5ba..0000000000
--- a/usr/src/lib/cfgadm_plugins/ib/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,38 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/cfgadm_plugins/ib/spec/sparcv9/Makefile
-
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB64)
diff --git a/usr/src/lib/cfgadm_plugins/ib/spec/versions b/usr/src/lib/cfgadm_plugins/ib/spec/versions
deleted file mode 100644
index 567008d876..0000000000
--- a/usr/src/lib/cfgadm_plugins/ib/spec/versions
+++ /dev/null
@@ -1,34 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# usr/src/lib/cfgadm_plugins/ib/spec/versions
-#
-sparc {
- SUNWprivate_1.1;
-}
-sparcv9 {
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/cfgadm_plugins/pci/Makefile b/usr/src/lib/cfgadm_plugins/pci/Makefile
index 865b46e881..9a190d45f8 100644
--- a/usr/src/lib/cfgadm_plugins/pci/Makefile
+++ b/usr/src/lib/cfgadm_plugins/pci/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,16 +19,16 @@
# CDDL HEADER END
#
#
-# Copyright (c) 1999, by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-#pragma ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
-# lib/cfgadm_plugins/pci/Makefile
include ../../../Makefile.master
-SUBDIRS= spec .WAIT $(MACH) $(BUILD64) $(MACH64)
+SUBDIRS = $(MACH)
+$(BUILD64)SUBDIRS += $(MACH64)
all := TARGET= all
clean := TARGET= clean
@@ -53,7 +52,7 @@ CP= cp
all clean clobber delete install lint package: $(SUBDIRS)
-$(MACH) $(MACH64) spec: FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
_msg: $(MSGDOMAIN) $(POFILE)
diff --git a/usr/src/lib/cfgadm_plugins/pci/Makefile.com b/usr/src/lib/cfgadm_plugins/pci/Makefile.com
index aa1c9120db..fe0d0703d0 100644
--- a/usr/src/lib/cfgadm_plugins/pci/Makefile.com
+++ b/usr/src/lib/cfgadm_plugins/pci/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,13 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/cfgadm_plugins/pci/Makefile.com
-#
LIBRARY= pci.a
VERS= .1
@@ -35,6 +32,7 @@ OBJECTS= cfga.o pci_strings.o
# include library definitions
include ../../../Makefile.lib
+SRCDIR = ../common
INS.dir.root.sys= $(INS) -s -d -m $(DIRMODE) $@
$(CH)INS.dir.root.sys= $(INS) -s -d -m $(DIRMODE) -u root -g sys $@
INS.dir.bin.bin= $(INS) -s -d -m $(DIRMODE) $@
@@ -47,16 +45,12 @@ USR_LIB_DIR_CFGADM_64 = $(USR_LIB_DIR_CFGADM)/$(MACH64)
ROOTLIBDIR= $(USR_LIB_DIR_CFGADM)
ROOTLIBDIR64= $(USR_LIB_DIR_CFGADM_64)
-MAPFILE= $(MAPDIR)/mapfile
-CLOBBERFILES += $(MAPFILE)
-
SRCS= ../common/cfga.c $(SRC)/common/pci/pci_strings.c
LIBS = $(DYNLIB)
CPPFLAGS += -D_POSIX_PTHREAD_SEMANTICS
CFLAGS += $(CCVERBOSE)
-DYNFLAGS += -M $(MAPFILE)
LDLIBS += -lc -ldevice -ldevinfo -lrcm
.KEEP_STATE:
@@ -65,11 +59,6 @@ all: $(LIBS)
lint: lintcheck
-$(DYNLIB): $(MAPFILE)
-
-$(MAPFILE):
- @cd $(MAPDIR); $(MAKE) mapfile
-
# Create target directories
$(USR_LIB_DIR):
-$(INS.dir.root.sys)
diff --git a/usr/src/lib/cfgadm_plugins/pci/amd64/Makefile b/usr/src/lib/cfgadm_plugins/pci/amd64/Makefile
index c89e294820..4b07c3a63e 100644
--- a/usr/src/lib/cfgadm_plugins/pci/amd64/Makefile
+++ b/usr/src/lib/cfgadm_plugins/pci/amd64/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,13 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-MAPDIR= ../spec/amd64
include ../Makefile.com
include ../../../Makefile.lib.64
diff --git a/usr/src/lib/cfgadm_plugins/pci/common/mapfile-vers b/usr/src/lib/cfgadm_plugins/pci/common/mapfile-vers
new file mode 100644
index 0000000000..986c2b9b75
--- /dev/null
+++ b/usr/src/lib/cfgadm_plugins/pci/common/mapfile-vers
@@ -0,0 +1,38 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNWprivate_1.1 {
+ global:
+ cfga_change_state;
+ cfga_help;
+ cfga_list_ext;
+ cfga_private_func;
+ cfga_test;
+ cfga_version;
+ local:
+ *;
+};
diff --git a/usr/src/lib/cfgadm_plugins/pci/i386/Makefile b/usr/src/lib/cfgadm_plugins/pci/i386/Makefile
index 5dcc284162..50dd2a7dd7 100644
--- a/usr/src/lib/cfgadm_plugins/pci/i386/Makefile
+++ b/usr/src/lib/cfgadm_plugins/pci/i386/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright (c) 1999, by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
-# lib/cfgadm_plugins/pci/i386/Makefile
-MAPDIR= ../spec/i386
include ../Makefile.com
.KEEP_STATE:
diff --git a/usr/src/lib/cfgadm_plugins/pci/sparc/Makefile b/usr/src/lib/cfgadm_plugins/pci/sparc/Makefile
index 39b2f356be..50dd2a7dd7 100644
--- a/usr/src/lib/cfgadm_plugins/pci/sparc/Makefile
+++ b/usr/src/lib/cfgadm_plugins/pci/sparc/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright (c) 1999, by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/cfgadm_plugins/pci/sparc/Makefile
-MAPDIR= ../spec/sparc
include ../Makefile.com
.KEEP_STATE:
diff --git a/usr/src/lib/cfgadm_plugins/pci/sparcv9/Makefile b/usr/src/lib/cfgadm_plugins/pci/sparcv9/Makefile
index 83382433a5..4b07c3a63e 100644
--- a/usr/src/lib/cfgadm_plugins/pci/sparcv9/Makefile
+++ b/usr/src/lib/cfgadm_plugins/pci/sparcv9/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright (c) 1999, by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/cfgadm_plugins/pci/sparcv9/Makefile
-MAPDIR= ../spec/sparcv9
include ../Makefile.com
include ../../../Makefile.lib.64
diff --git a/usr/src/lib/cfgadm_plugins/pci/spec/Makefile b/usr/src/lib/cfgadm_plugins/pci/spec/Makefile
deleted file mode 100644
index 4aed628ebb..0000000000
--- a/usr/src/lib/cfgadm_plugins/pci/spec/Makefile
+++ /dev/null
@@ -1,30 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/cfgadm_plugins/pci/spec/Makefile
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/cfgadm_plugins/pci/spec/Makefile.targ b/usr/src/lib/cfgadm_plugins/pci/spec/Makefile.targ
deleted file mode 100644
index 554ecd55c1..0000000000
--- a/usr/src/lib/cfgadm_plugins/pci/spec/Makefile.targ
+++ /dev/null
@@ -1,35 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/cfgadm_plugins/pci/spec/Makefile.targ
-
-LIBRARY = pci.a
-VERS = .1
-
-OBJECTS = pci.o
-
-SPECCPP =
diff --git a/usr/src/lib/cfgadm_plugins/pci/spec/amd64/Makefile b/usr/src/lib/cfgadm_plugins/pci/spec/amd64/Makefile
deleted file mode 100644
index 5dd1b7240f..0000000000
--- a/usr/src/lib/cfgadm_plugins/pci/spec/amd64/Makefile
+++ /dev/null
@@ -1,42 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#amd64_C_PICFLAGS = $(amd64_C_BIGPICFLAGS)
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/cfgadm_plugins/pci/spec/i386/Makefile b/usr/src/lib/cfgadm_plugins/pci/spec/i386/Makefile
deleted file mode 100644
index 7c10315acd..0000000000
--- a/usr/src/lib/cfgadm_plugins/pci/spec/i386/Makefile
+++ /dev/null
@@ -1,42 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/cfgadm_plugins/pci/spec/i386/Makefile
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#i386_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/cfgadm_plugins/pci/spec/pci.spec b/usr/src/lib/cfgadm_plugins/pci/spec/pci.spec
deleted file mode 100644
index 76eaad9434..0000000000
--- a/usr/src/lib/cfgadm_plugins/pci/spec/pci.spec
+++ /dev/null
@@ -1,85 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/cfgadm_plugins/pci/pci.spec
-
-function cfga_change_state
-include <sys/types.h>
-include <sys/param.h>
-include <config_admin.h>
-declaration cfga_err_t cfga_change_state(cfga_cmd_t state_change_cmd, \
- const char *ap_id, char *options, \
- struct cfga_confirm *confp, struct cfga_msg *msgp, \
- char **errstring, cfga_flags_t flags)
-version SUNWprivate_1.1
-end
-
-function cfga_private_func
-include <sys/types.h>
-include <sys/param.h>
-include <config_admin.h>
-declaration cfga_err_t cfga_private_func(const char *function, \
- const char *ap_id, const char *options, \
- struct cfga_confirm *confp, struct cfga_msg *msgp, \
- char **errstring, cfga_flags_t flags)
-version SUNWprivate_1.1
-end
-
-function cfga_test
-include <sys/types.h>
-include <sys/param.h>
-include <config_admin.h>
-declaration cfga_err_t cfga_test(int num_ap_ids, char *const *ap_ids, \
- const char *options, struct cfga_msg *msgp, \
- char **errstring, cfga_flags_t flags)
-version SUNWprivate_1.1
-end
-
-function cfga_list_ext
-include <sys/types.h>
-include <sys/param.h>
-include <config_admin.h>
-declaration cfga_err_t cfga_list_ext(const char *ap_id, \
- cfga_list_data_t **cs, int *nlist, \
- const char *options, const char *listopts, \
- char **errstring, cfga_flags_t flags)
-version SUNWprivate_1.1
-end
-
-
-function cfga_help
-include <sys/types.h>
-include <sys/param.h>
-include <config_admin.h>
-declaration cfga_err_t cfga_help(struct cfga_msg *msgp, \
- const char *options, cfga_flags_t flags)
-version SUNWprivate_1.1
-end
-
-data cfga_version
-declaration int cfga_version
-version SUNWprivate_1.1
-end
diff --git a/usr/src/lib/cfgadm_plugins/pci/spec/sparc/Makefile b/usr/src/lib/cfgadm_plugins/pci/spec/sparc/Makefile
deleted file mode 100644
index 753d945350..0000000000
--- a/usr/src/lib/cfgadm_plugins/pci/spec/sparc/Makefile
+++ /dev/null
@@ -1,42 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# lib/cfgadm_plugins/pci/spec/sparc/Makefile
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#sparc_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/cfgadm_plugins/pci/spec/sparcv9/Makefile b/usr/src/lib/cfgadm_plugins/pci/spec/sparcv9/Makefile
deleted file mode 100644
index ac0abc07cf..0000000000
--- a/usr/src/lib/cfgadm_plugins/pci/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,43 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# lib/cfgadm_plugins/pci/spec/sparcv9/Makefile
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#sparcv9_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/cfgadm_plugins/pci/spec/versions b/usr/src/lib/cfgadm_plugins/pci/spec/versions
deleted file mode 100644
index a542a0f7fc..0000000000
--- a/usr/src/lib/cfgadm_plugins/pci/spec/versions
+++ /dev/null
@@ -1,39 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-sparc {
- SUNWprivate_1.1;
-}
-sparcv9 {
- SUNWprivate_1.1;
-}
-i386 {
- SUNWprivate_1.1;
-}
-amd64 {
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/cfgadm_plugins/sata/Makefile b/usr/src/lib/cfgadm_plugins/sata/Makefile
index 691964397e..1187341292 100644
--- a/usr/src/lib/cfgadm_plugins/sata/Makefile
+++ b/usr/src/lib/cfgadm_plugins/sata/Makefile
@@ -18,18 +18,17 @@
#
# CDDL HEADER END
#
-
#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/cfgadm_plugins/sata/Makefile
include ../../Makefile.lib
-SUBDIRS= spec .WAIT $(MACH) $(BUILD64) $(MACH64)
+SUBDIRS = $(MACH)
+$(BUILD64)SUBDIRS += $(MACH64)
all := TARGET= all
clean := TARGET= clean
@@ -53,7 +52,7 @@ CP= cp
all clean clobber delete install lint package: $(SUBDIRS)
-$(MACH) $(MACH64) spec: FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
_msg: $(MSGDOMAIN) $(POFILE)
diff --git a/usr/src/lib/cfgadm_plugins/sata/Makefile.com b/usr/src/lib/cfgadm_plugins/sata/Makefile.com
index dd1fb7e8b9..6b10ca7b3f 100644
--- a/usr/src/lib/cfgadm_plugins/sata/Makefile.com
+++ b/usr/src/lib/cfgadm_plugins/sata/Makefile.com
@@ -18,15 +18,12 @@
#
# CDDL HEADER END
#
-
#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/cfgadm_plugins/sata/Makefile.com
-#
LIBRARY= sata.a
VERS= .1
@@ -36,14 +33,10 @@ OBJECTS= cfga_sata.o cfga_rcm.o
# include library definitions
include ../../../Makefile.lib
+SRCDIR = ../common
ROOTLIBDIR= $(ROOT)/usr/lib/cfgadm
ROOTLIBDIR64= $(ROOTLIBDIR)/$(MACH64)
-MAPFILE= $(MAPDIR)/mapfile
-CLOBBERFILES += $(MAPFILE)
-
-SRCS= $(OBJECTS:%.o=../common/%.c)
-
LIBS= $(DYNLIB)
LINTFLAGS += -DDEBUG
@@ -52,7 +45,6 @@ LINTFLAGS64 += -DDEBUG
CFLAGS += $(CCVERBOSE)
CFLAGS64 += $(CCVERBOSE)
-DYNFLAGS += -M $(MAPFILE)
LDLIBS += -lc -ldevice -ldevinfo -lrcm -lnvpair
.KEEP_STATE:
@@ -61,11 +53,6 @@ all: $(LIBS)
lint: lintcheck
-$(DYNLIB): $(MAPFILE)
-
-$(MAPFILE):
- @cd $(MAPDIR); $(MAKE) mapfile
-
# Install rules
$(ROOTLIBDIR)/%: % $(ROOTLIBDIR)
diff --git a/usr/src/lib/cfgadm_plugins/sata/amd64/Makefile b/usr/src/lib/cfgadm_plugins/sata/amd64/Makefile
index 2caa30e412..12fe21de7f 100644
--- a/usr/src/lib/cfgadm_plugins/sata/amd64/Makefile
+++ b/usr/src/lib/cfgadm_plugins/sata/amd64/Makefile
@@ -18,7 +18,6 @@
#
# CDDL HEADER END
#
-
#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
@@ -26,7 +25,6 @@
# ident "%Z%%M% %I% %E% SMI"
#
-MAPDIR= ../spec/amd64
include ../Makefile.com
include ../../../Makefile.lib.64
CFLAGS += -D_POSIX_PTHREAD_SEMANTICS
diff --git a/usr/src/lib/cfgadm_plugins/sata/common/mapfile-vers b/usr/src/lib/cfgadm_plugins/sata/common/mapfile-vers
new file mode 100644
index 0000000000..986c2b9b75
--- /dev/null
+++ b/usr/src/lib/cfgadm_plugins/sata/common/mapfile-vers
@@ -0,0 +1,38 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNWprivate_1.1 {
+ global:
+ cfga_change_state;
+ cfga_help;
+ cfga_list_ext;
+ cfga_private_func;
+ cfga_test;
+ cfga_version;
+ local:
+ *;
+};
diff --git a/usr/src/lib/cfgadm_plugins/sata/i386/Makefile b/usr/src/lib/cfgadm_plugins/sata/i386/Makefile
index 04d069c967..9c9593ade6 100644
--- a/usr/src/lib/cfgadm_plugins/sata/i386/Makefile
+++ b/usr/src/lib/cfgadm_plugins/sata/i386/Makefile
@@ -18,17 +18,13 @@
#
# CDDL HEADER END
#
-
#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/cfgadm_plugins/sata/i386/Makefile
-#
-MAPDIR= ../spec/i386
include ../Makefile.com
CFLAGS += -D_POSIX_PTHREAD_SEMANTICS
LINTFLAGS += -D_POSIX_PTHREAD_SEMANTICS
diff --git a/usr/src/lib/cfgadm_plugins/sata/spec/Makefile b/usr/src/lib/cfgadm_plugins/sata/spec/Makefile
deleted file mode 100644
index be85571cfa..0000000000
--- a/usr/src/lib/cfgadm_plugins/sata/spec/Makefile
+++ /dev/null
@@ -1,31 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-
-#
-# lib/cfgadm_plugins/sata/spec/Makefile
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/cfgadm_plugins/sata/spec/Makefile.targ b/usr/src/lib/cfgadm_plugins/sata/spec/Makefile.targ
deleted file mode 100644
index ebf2c3ed62..0000000000
--- a/usr/src/lib/cfgadm_plugins/sata/spec/Makefile.targ
+++ /dev/null
@@ -1,37 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/cfgadm_plugins/sata/spec/Makefile.targ
-
-LIBRARY= sata.a
-VERS= .1
-
-OBJECTS= cfga_sata.o
-
-TRANSCPP =
-SPECCPP =
-
diff --git a/usr/src/lib/cfgadm_plugins/sata/spec/amd64/Makefile b/usr/src/lib/cfgadm_plugins/sata/spec/amd64/Makefile
deleted file mode 100644
index a06ecae4b3..0000000000
--- a/usr/src/lib/cfgadm_plugins/sata/spec/amd64/Makefile
+++ /dev/null
@@ -1,43 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#amd64_C_PICFLAGS = $(amd64_C_BIGPICFLAGS)
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
-
diff --git a/usr/src/lib/cfgadm_plugins/sata/spec/cfga_sata.spec b/usr/src/lib/cfgadm_plugins/sata/spec/cfga_sata.spec
deleted file mode 100644
index 83793393bd..0000000000
--- a/usr/src/lib/cfgadm_plugins/sata/spec/cfga_sata.spec
+++ /dev/null
@@ -1,77 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# lib/cfgadm_plugins/sata/spec/cfga_sata.spec
-
-function cfga_change_state
-include <sys/param.h>, <config_admin.h>
-declaration cfga_err_t cfga_change_state(cfga_cmd_t, const char *, \
- const char *, struct cfga_confirm *, \
- struct cfga_msg *, char **, cfga_flags_t)
-version SUNWprivate_1.1
-end
-
-
-function cfga_help
-include <sys/param.h>, <config_admin.h>
-declaration cfga_err_t cfga_help(struct cfga_msg *, const char *, \
- cfga_flags_t)
-version SUNWprivate_1.1
-end
-
-
-function cfga_list_ext
-include <sys/param.h>, <config_admin.h>
-declaration cfga_err_t cfga_list_ext(const char *, \
- struct cfga_list_data **, int *, const char *, \
- const char *, char **, cfga_flags_t)
-version SUNWprivate_1.1
-end
-
-
-function cfga_private_func
-include <sys/param.h>, <config_admin.h>
-declaration cfga_err_t cfga_private_func(const char *, const char *, \
- const char *, struct cfga_confirm *, \
- struct cfga_msg *, char **, cfga_flags_t)
-version SUNWprivate_1.1
-end
-
-
-function cfga_test
-include <sys/param.h>, <config_admin.h>
-declaration cfga_err_t cfga_test(const char *, const char *, \
- struct cfga_msg *, char **, cfga_flags_t)
-version SUNWprivate_1.1
-end
-
-data cfga_version
-declaration int cfga_version
-version SUNWprivate_1.1
-end
-
-
diff --git a/usr/src/lib/cfgadm_plugins/sata/spec/i386/Makefile b/usr/src/lib/cfgadm_plugins/sata/spec/i386/Makefile
deleted file mode 100644
index 2b765a917c..0000000000
--- a/usr/src/lib/cfgadm_plugins/sata/spec/i386/Makefile
+++ /dev/null
@@ -1,43 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# lib/cfgadm_plugins/sata/spec/i386/Makefile
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#i386_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
-
diff --git a/usr/src/lib/cfgadm_plugins/sata/spec/versions b/usr/src/lib/cfgadm_plugins/sata/spec/versions
deleted file mode 100644
index 9bd9c66def..0000000000
--- a/usr/src/lib/cfgadm_plugins/sata/spec/versions
+++ /dev/null
@@ -1,40 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-sparc {
- SUNWprivate_1.1;
-}
-sparcv9 {
- SUNWprivate_1.1;
-}
-i386 {
- SUNWprivate_1.1;
-}
-amd64 {
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/cfgadm_plugins/sbd/Makefile.com b/usr/src/lib/cfgadm_plugins/sbd/Makefile.com
index 757b9d611b..f4ab702c77 100644
--- a/usr/src/lib/cfgadm_plugins/sbd/Makefile.com
+++ b/usr/src/lib/cfgadm_plugins/sbd/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,13 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/sbd/Makefile.com
-#
PLATFORM= sun4u
LIBRARY= sbd.a
@@ -51,13 +48,11 @@ USR_PSM_LIB_CFG_DIR_64 = $(USR_PSM_LIB_CFG_DIR)/$(MACH64)
ROOTLIBDIR= $(USR_PSM_LIB_CFG_DIR)
ROOTLIBDIR64= $(USR_PSM_LIB_CFG_DIR_64)
-MAPFILE= ../common/mapfile-vers
-SRCS= $(OBJECTS:%.o=../common/%.c)
+SRCDIR = ../common
LIBS = $(DYNLIB)
CFLAGS += $(CCVERBOSE)
-DYNFLAGS += -M $(MAPFILE)
LDLIBS += -lc -lkstat -lnvpair
CPPFLAGS += -I$(ROOT)/usr/platform/$(PLATFORM)/include -DSBD_DEBUG
@@ -74,8 +69,6 @@ all: $(LIBS)
lint: lintcheck
-$(DYNLIB): $(MAPFILE)
-
# Create target directories
$(USR_PSM_DIR):
-$(INS.dir.root.sys)
diff --git a/usr/src/lib/cfgadm_plugins/scsi/Makefile b/usr/src/lib/cfgadm_plugins/scsi/Makefile
index a0b7f07b08..af85aa5804 100644
--- a/usr/src/lib/cfgadm_plugins/scsi/Makefile
+++ b/usr/src/lib/cfgadm_plugins/scsi/Makefile
@@ -18,19 +18,18 @@
#
# CDDL HEADER END
#
-
#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#pragma ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
-# lib/cfgadm_plugins/scsi/Makefile
include ../../Makefile.lib
sparc_SUBDIRS= SUNW,SPARC-Enterprise
-SUBDIRS= spec .WAIT $(MACH) $(BUILD64) $(MACH64) $($(MACH)_SUBDIRS)
+SUBDIRS = $(MACH)
+$(BUILD64)SUBDIRS += $(MACH64) $($(MACH)_SUBDIRS)
all := TARGET= all
clean := TARGET= clean
@@ -54,7 +53,7 @@ CP= cp
all clean clobber delete install lint package: $(SUBDIRS)
-$(MACH) $(MACH64) spec $($(MACH)_SUBDIRS): FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
_msg: $(MSGDOMAIN) $(POFILE)
diff --git a/usr/src/lib/cfgadm_plugins/scsi/Makefile.com b/usr/src/lib/cfgadm_plugins/scsi/Makefile.com
index fa435b3484..c29b5bc91d 100644
--- a/usr/src/lib/cfgadm_plugins/scsi/Makefile.com
+++ b/usr/src/lib/cfgadm_plugins/scsi/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,13 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/cfgadm_plugins/scsi/Makefile.com
-#
LIBRARY= scsi.a
VERS= .1
@@ -36,19 +33,14 @@ OBJECTS= cfga_ctl.o cfga_cvt.o cfga_list.o cfga_scsi.o cfga_utils.o cfga_rcm.o
# include library definitions
include ../../../Makefile.lib
+SRCDIR = ../common
ROOTLIBDIR= $(ROOT)/usr/lib/cfgadm
ROOTLIBDIR64= $(ROOTLIBDIR)/$(MACH64)
-MAPFILE= $(MAPDIR)/mapfile
-CLOBBERFILES += $(MAPFILE)
-
-SRCS= $(OBJECTS:%.o=../common/%.c)
-
LIBS= $(DYNLIB)
CFLAGS += $(CCVERBOSE)
-DYNFLAGS += -M $(MAPFILE)
LDLIBS += -lc -ldevice -ldevinfo -lrcm
.KEEP_STATE:
@@ -57,11 +49,6 @@ all: $(LIBS)
lint: lintcheck
-$(DYNLIB): $(MAPFILE)
-
-$(MAPFILE):
- @cd $(MAPDIR); $(MAKE) mapfile
-
# Install rules
$(ROOTLIBDIR)/%: % $(ROOTLIBDIR)
diff --git a/usr/src/lib/cfgadm_plugins/scsi/SUNW,SPARC-Enterprise/Makefile.com b/usr/src/lib/cfgadm_plugins/scsi/SUNW,SPARC-Enterprise/Makefile.com
index 7c84f49c1c..e675ae9d87 100644
--- a/usr/src/lib/cfgadm_plugins/scsi/SUNW,SPARC-Enterprise/Makefile.com
+++ b/usr/src/lib/cfgadm_plugins/scsi/SUNW,SPARC-Enterprise/Makefile.com
@@ -18,15 +18,12 @@
#
# CDDL HEADER END
#
-
#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/cfgadm_plugins/scsi/SUNW,SPARC-Enterprise/Makefile.com
-#
LIBRARY= scsi.a
VERS= .1
@@ -47,8 +44,7 @@ include $(SRC)/lib/Makefile.lib
ROOTLIBDIR= $(ROOT)/usr/platform/SUNW,SPARC-Enterprise/lib/cfgadm
ROOTLIBDIR64= $(ROOTLIBDIR)/$(MACH64)
-MAPFILE= $(MAPDIR)/mapfile
-CLOBBERFILES += $(MAPFILE)
+SRCDIR = ../../common
SRCS= $(GEN_OBJECTS:%.o=../../common/%.c) $(OPL_OBJECTS:%.o=../common/%.c)
@@ -56,7 +52,6 @@ LIBS= $(DYNLIB)
CFLAGS += $(CCVERBOSE)
-DYNFLAGS += -M $(MAPFILE)
LDLIBS += -lc -ldevice -ldevinfo -lrcm
.KEEP_STATE:
@@ -65,11 +60,6 @@ all: $(LIBS)
lint: lintcheck
-$(DYNLIB): $(MAPFILE)
-
-$(MAPFILE):
- @cd $(MAPDIR); $(MAKE) mapfile
-
# Install rules
$(ROOTLIBDIR)/%: % $(ROOTLIBDIR)
diff --git a/usr/src/lib/cfgadm_plugins/scsi/SUNW,SPARC-Enterprise/sparc/Makefile b/usr/src/lib/cfgadm_plugins/scsi/SUNW,SPARC-Enterprise/sparc/Makefile
index 14a712eb3b..c845c24bfc 100644
--- a/usr/src/lib/cfgadm_plugins/scsi/SUNW,SPARC-Enterprise/sparc/Makefile
+++ b/usr/src/lib/cfgadm_plugins/scsi/SUNW,SPARC-Enterprise/sparc/Makefile
@@ -18,17 +18,13 @@
#
# CDDL HEADER END
#
-
#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/cfgadm_plugins/scsi/SUNW,SPARC-Enterprise/sparc/Makefile
+# ident "%Z%%M% %I% %E% SMI"
#
-MAPDIR= ../../spec/sparc
include ../Makefile.com
CFLAGS += -I../../common -I$(SRC)/uts/sun4u/opl
diff --git a/usr/src/lib/cfgadm_plugins/scsi/SUNW,SPARC-Enterprise/sparcv9/Makefile b/usr/src/lib/cfgadm_plugins/scsi/SUNW,SPARC-Enterprise/sparcv9/Makefile
index 88e3961369..c05026a824 100644
--- a/usr/src/lib/cfgadm_plugins/scsi/SUNW,SPARC-Enterprise/sparcv9/Makefile
+++ b/usr/src/lib/cfgadm_plugins/scsi/SUNW,SPARC-Enterprise/sparcv9/Makefile
@@ -18,17 +18,13 @@
#
# CDDL HEADER END
#
-
#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/cfgadm_plugins/scsi/SUNW,SPARC-Enterprise/sparcv9/Makefile
-#
-MAPDIR= ../../spec/sparcv9
include ../Makefile.com
include ../../../../Makefile.lib.64
CFLAGS64 += -I../../common -I$(SRC)/uts/sun4u/opl
diff --git a/usr/src/lib/cfgadm_plugins/scsi/amd64/Makefile b/usr/src/lib/cfgadm_plugins/scsi/amd64/Makefile
index a95e1e4bbd..a0aa2c59c4 100644
--- a/usr/src/lib/cfgadm_plugins/scsi/amd64/Makefile
+++ b/usr/src/lib/cfgadm_plugins/scsi/amd64/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,13 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-MAPDIR= ../spec/amd64
include ../Makefile.com
include ../../../Makefile.lib.64
diff --git a/usr/src/lib/cfgadm_plugins/scsi/common/mapfile-vers b/usr/src/lib/cfgadm_plugins/scsi/common/mapfile-vers
new file mode 100644
index 0000000000..986c2b9b75
--- /dev/null
+++ b/usr/src/lib/cfgadm_plugins/scsi/common/mapfile-vers
@@ -0,0 +1,38 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNWprivate_1.1 {
+ global:
+ cfga_change_state;
+ cfga_help;
+ cfga_list_ext;
+ cfga_private_func;
+ cfga_test;
+ cfga_version;
+ local:
+ *;
+};
diff --git a/usr/src/lib/cfgadm_plugins/scsi/i386/Makefile b/usr/src/lib/cfgadm_plugins/scsi/i386/Makefile
index deed4004f1..25e03c3f72 100644
--- a/usr/src/lib/cfgadm_plugins/scsi/i386/Makefile
+++ b/usr/src/lib/cfgadm_plugins/scsi/i386/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,15 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright (c) 1998-1999 by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/cfgadm_plugins/scsi/i386/Makefile
+# ident "%Z%%M% %I% %E% SMI"
#
-MAPDIR= ../spec/i386
include ../Makefile.com
.KEEP_STATE:
diff --git a/usr/src/lib/cfgadm_plugins/scsi/sparc/Makefile b/usr/src/lib/cfgadm_plugins/scsi/sparc/Makefile
index 81ba4e1d91..25e03c3f72 100644
--- a/usr/src/lib/cfgadm_plugins/scsi/sparc/Makefile
+++ b/usr/src/lib/cfgadm_plugins/scsi/sparc/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,15 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright (c) 1998-1999 by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/cfgadm_plugins/scsi/sparc/Makefile
+# ident "%Z%%M% %I% %E% SMI"
#
-MAPDIR= ../spec/sparc
include ../Makefile.com
.KEEP_STATE:
diff --git a/usr/src/lib/cfgadm_plugins/scsi/sparcv9/Makefile b/usr/src/lib/cfgadm_plugins/scsi/sparcv9/Makefile
index 7218db5703..a0aa2c59c4 100644
--- a/usr/src/lib/cfgadm_plugins/scsi/sparcv9/Makefile
+++ b/usr/src/lib/cfgadm_plugins/scsi/sparcv9/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,15 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright (c) 1998-1999 by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/cfgadm_plugins/scsi/sparcv9/Makefile
+# ident "%Z%%M% %I% %E% SMI"
#
-MAPDIR= ../spec/sparcv9
include ../Makefile.com
include ../../../Makefile.lib.64
diff --git a/usr/src/lib/cfgadm_plugins/scsi/spec/Makefile b/usr/src/lib/cfgadm_plugins/scsi/spec/Makefile
deleted file mode 100644
index 53b36048b6..0000000000
--- a/usr/src/lib/cfgadm_plugins/scsi/spec/Makefile
+++ /dev/null
@@ -1,30 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/cfgadm_plugins/scsi/spec/Makefile
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/cfgadm_plugins/scsi/spec/Makefile.targ b/usr/src/lib/cfgadm_plugins/scsi/spec/Makefile.targ
deleted file mode 100644
index 582dfef74f..0000000000
--- a/usr/src/lib/cfgadm_plugins/scsi/spec/Makefile.targ
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/cfgadm_plugins/scsi/spec/Makefile.targ
-
-LIBRARY= scsi.a
-VERS= .1
-
-OBJECTS= cfga_scsi.o
-
-TRANSCPP =
-SPECCPP =
diff --git a/usr/src/lib/cfgadm_plugins/scsi/spec/amd64/Makefile b/usr/src/lib/cfgadm_plugins/scsi/spec/amd64/Makefile
deleted file mode 100644
index 5dd1b7240f..0000000000
--- a/usr/src/lib/cfgadm_plugins/scsi/spec/amd64/Makefile
+++ /dev/null
@@ -1,42 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#amd64_C_PICFLAGS = $(amd64_C_BIGPICFLAGS)
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/cfgadm_plugins/scsi/spec/cfga_scsi.spec b/usr/src/lib/cfgadm_plugins/scsi/spec/cfga_scsi.spec
deleted file mode 100644
index f896b36f80..0000000000
--- a/usr/src/lib/cfgadm_plugins/scsi/spec/cfga_scsi.spec
+++ /dev/null
@@ -1,71 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/cfgadm_plugins/scsi/spec/cfga_scsi.spec
-
-
-function cfga_change_state
-include <sys/param.h>, <config_admin.h>
-declaration cfga_err_t cfga_change_state(cfga_cmd_t, const char *, \
- const char *, struct cfga_confirm *, \
- struct cfga_msg *, char **, cfga_flags_t)
-version SUNWprivate_1.1
-end
-
-function cfga_help
-include <sys/param.h>, <config_admin.h>
-declaration cfga_err_t cfga_help(struct cfga_msg *, const char *, \
- cfga_flags_t)
-version SUNWprivate_1.1
-end
-
-function cfga_list_ext
-include <sys/param.h>, <config_admin.h>
-declaration cfga_err_t cfga_list_ext(const char *, \
- struct cfga_list_data **, int *, const char *, \
- const char *, char **, cfga_flags_t)
-version SUNWprivate_1.1
-end
-
-function cfga_private_func
-include <sys/param.h>, <config_admin.h>
-declaration cfga_err_t cfga_private_func(const char *, const char *, \
- const char *, struct cfga_confirm *, \
- struct cfga_msg *, char **, cfga_flags_t)
-version SUNWprivate_1.1
-end
-
-function cfga_test
-include <sys/param.h>, <config_admin.h>
-declaration cfga_err_t cfga_test(const char *, const char *, \
- struct cfga_msg *, char **, cfga_flags_t)
-version SUNWprivate_1.1
-end
-
-data cfga_version
-declaration int cfga_version
-version SUNWprivate_1.1
-end
diff --git a/usr/src/lib/cfgadm_plugins/scsi/spec/i386/Makefile b/usr/src/lib/cfgadm_plugins/scsi/spec/i386/Makefile
deleted file mode 100644
index 41d7ee2ed9..0000000000
--- a/usr/src/lib/cfgadm_plugins/scsi/spec/i386/Makefile
+++ /dev/null
@@ -1,42 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/cfgadm_plugins/scsi/spec/i386/Makefile
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#i386_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/cfgadm_plugins/scsi/spec/sparc/Makefile b/usr/src/lib/cfgadm_plugins/scsi/spec/sparc/Makefile
deleted file mode 100644
index b86d0d4ff0..0000000000
--- a/usr/src/lib/cfgadm_plugins/scsi/spec/sparc/Makefile
+++ /dev/null
@@ -1,45 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/cfgadm_plugins/scsi/spec/sparc/Makefile
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#sparc_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/cfgadm_plugins/scsi/spec/sparcv9/Makefile b/usr/src/lib/cfgadm_plugins/scsi/spec/sparcv9/Makefile
deleted file mode 100644
index ec134c723c..0000000000
--- a/usr/src/lib/cfgadm_plugins/scsi/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,43 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/cfgadm_plugins/scsi/spec/sparcv9/Makefile
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#sparcv9_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/cfgadm_plugins/scsi/spec/versions b/usr/src/lib/cfgadm_plugins/scsi/spec/versions
deleted file mode 100644
index a542a0f7fc..0000000000
--- a/usr/src/lib/cfgadm_plugins/scsi/spec/versions
+++ /dev/null
@@ -1,39 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-sparc {
- SUNWprivate_1.1;
-}
-sparcv9 {
- SUNWprivate_1.1;
-}
-i386 {
- SUNWprivate_1.1;
-}
-amd64 {
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/cfgadm_plugins/sysctrl/Makefile.com b/usr/src/lib/cfgadm_plugins/sysctrl/Makefile.com
index f37a852473..beeeea5b3c 100644
--- a/usr/src/lib/cfgadm_plugins/sysctrl/Makefile.com
+++ b/usr/src/lib/cfgadm_plugins/sysctrl/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,13 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/sysctrl/Makefile.com
-#
include $(SRC)/lib/cfgadm_plugins/Makefile.com
@@ -53,13 +50,11 @@ USR_PSM_LIB_CFG_DIR_64 = $(USR_PSM_LIB_CFG_DIR)/$(MACH64)
ROOTLIBDIR= $(USR_PSM_LIB_CFG_DIR)
ROOTLIBDIR64= $(USR_PSM_LIB_CFG_DIR_64)
-MAPFILE= ../common/mapfile-vers
-SRCS= $(OBJECTS:%.o=../common/%.c)
+SRCDIR = ../common
LIBS = $(DYNLIB)
CFLAGS += $(CCVERBOSE)
-DYNFLAGS += -M $(MAPFILE)
LDLIBS += -lc
CPPFLAGS += -I$(ROOT)/usr/platform/$(PLATFORM)/include
@@ -70,8 +65,6 @@ all: $(LIBS)
lint: lintcheck
-$(DYNLIB): $(MAPFILE)
-
# Create target directories
$(USR_PSM_DIR): $(LINKED_DIRS)
-$(INS.dir.root.sys)
diff --git a/usr/src/lib/cfgadm_plugins/usb/Makefile b/usr/src/lib/cfgadm_plugins/usb/Makefile
index a934235ecd..c112dc38e3 100644
--- a/usr/src/lib/cfgadm_plugins/usb/Makefile
+++ b/usr/src/lib/cfgadm_plugins/usb/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,16 +19,16 @@
# CDDL HEADER END
#
#
-# Copyright (c) 2001 by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-#pragma ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
-# lib/cfgadm_plugins/usb/Makefile
include ../../Makefile.lib
-SUBDIRS= spec .WAIT $(MACH) $(BUILD64) $(MACH64)
+SUBDIRS = $(MACH)
+$(BUILD64)SUBDIRS += $(MACH64)
all := TARGET= all
clean := TARGET= clean
@@ -53,7 +52,7 @@ CP= cp
all clean clobber delete install lint package: $(SUBDIRS)
-$(MACH) $(MACH64) spec: FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
_msg: $(MSGDOMAIN) $(POFILE)
diff --git a/usr/src/lib/cfgadm_plugins/usb/Makefile.com b/usr/src/lib/cfgadm_plugins/usb/Makefile.com
index 4c0c59ecf9..bd2941c04c 100644
--- a/usr/src/lib/cfgadm_plugins/usb/Makefile.com
+++ b/usr/src/lib/cfgadm_plugins/usb/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,13 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/cfgadm_plugins/usb/Makefile.com
-#
LIBRARY= usb.a
VERS= .1
@@ -36,14 +33,10 @@ OBJECTS= cfga_usb.o cfga_rcm.o cfga_configfile.o
# include library definitions
include ../../../Makefile.lib
+SRCDIR = ../common
ROOTLIBDIR= $(ROOT)/usr/lib/cfgadm
ROOTLIBDIR64= $(ROOTLIBDIR)/$(MACH64)
-MAPFILE= $(MAPDIR)/mapfile
-CLOBBERFILES += $(MAPFILE)
-
-SRCS= $(OBJECTS:%.o=../common/%.c)
-
LIBS= $(DYNLIB)
LINTFLAGS += -DDEBUG
@@ -52,7 +45,6 @@ LINTFLAGS64 += -DDEBUG
CFLAGS += $(CCVERBOSE)
CFLAGS64 += $(CCVERBOSE)
-DYNFLAGS += -M $(MAPFILE)
LDLIBS += -lc -ldevice -ldevinfo -lrcm -lnvpair
.KEEP_STATE:
@@ -61,11 +53,6 @@ all: $(LIBS)
lint: lintcheck
-$(DYNLIB): $(MAPFILE)
-
-$(MAPFILE):
- @cd $(MAPDIR); $(MAKE) mapfile
-
# Install rules
$(ROOTLIBDIR)/%: % $(ROOTLIBDIR)
diff --git a/usr/src/lib/cfgadm_plugins/usb/amd64/Makefile b/usr/src/lib/cfgadm_plugins/usb/amd64/Makefile
index a95e1e4bbd..a0aa2c59c4 100644
--- a/usr/src/lib/cfgadm_plugins/usb/amd64/Makefile
+++ b/usr/src/lib/cfgadm_plugins/usb/amd64/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,13 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-MAPDIR= ../spec/amd64
include ../Makefile.com
include ../../../Makefile.lib.64
diff --git a/usr/src/lib/cfgadm_plugins/usb/common/mapfile-vers b/usr/src/lib/cfgadm_plugins/usb/common/mapfile-vers
new file mode 100644
index 0000000000..986c2b9b75
--- /dev/null
+++ b/usr/src/lib/cfgadm_plugins/usb/common/mapfile-vers
@@ -0,0 +1,38 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNWprivate_1.1 {
+ global:
+ cfga_change_state;
+ cfga_help;
+ cfga_list_ext;
+ cfga_private_func;
+ cfga_test;
+ cfga_version;
+ local:
+ *;
+};
diff --git a/usr/src/lib/cfgadm_plugins/usb/i386/Makefile b/usr/src/lib/cfgadm_plugins/usb/i386/Makefile
index cb57b7323e..25e03c3f72 100644
--- a/usr/src/lib/cfgadm_plugins/usb/i386/Makefile
+++ b/usr/src/lib/cfgadm_plugins/usb/i386/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,15 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright (c) 2001 by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/cfgadm_plugins/usb/i386/Makefile
+# ident "%Z%%M% %I% %E% SMI"
#
-MAPDIR= ../spec/i386
include ../Makefile.com
.KEEP_STATE:
diff --git a/usr/src/lib/cfgadm_plugins/usb/sparc/Makefile b/usr/src/lib/cfgadm_plugins/usb/sparc/Makefile
index bccf710e4a..25e03c3f72 100644
--- a/usr/src/lib/cfgadm_plugins/usb/sparc/Makefile
+++ b/usr/src/lib/cfgadm_plugins/usb/sparc/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,15 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright (c) 2001 by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/cfgadm_plugins/usb/sparc/Makefile
+# ident "%Z%%M% %I% %E% SMI"
#
-MAPDIR= ../spec/sparc
include ../Makefile.com
.KEEP_STATE:
diff --git a/usr/src/lib/cfgadm_plugins/usb/sparcv9/Makefile b/usr/src/lib/cfgadm_plugins/usb/sparcv9/Makefile
index db46bd9557..a0aa2c59c4 100644
--- a/usr/src/lib/cfgadm_plugins/usb/sparcv9/Makefile
+++ b/usr/src/lib/cfgadm_plugins/usb/sparcv9/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,15 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright (c) 2001 by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/cfgadm_plugins/usb/sparcv9/Makefile
+# ident "%Z%%M% %I% %E% SMI"
#
-MAPDIR= ../spec/sparcv9
include ../Makefile.com
include ../../../Makefile.lib.64
diff --git a/usr/src/lib/cfgadm_plugins/usb/spec/Makefile b/usr/src/lib/cfgadm_plugins/usb/spec/Makefile
deleted file mode 100644
index c3663627b8..0000000000
--- a/usr/src/lib/cfgadm_plugins/usb/spec/Makefile
+++ /dev/null
@@ -1,30 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 2001 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/cfgadm_plugins/usb/spec/Makefile
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/cfgadm_plugins/usb/spec/Makefile.targ b/usr/src/lib/cfgadm_plugins/usb/spec/Makefile.targ
deleted file mode 100644
index 104af2d358..0000000000
--- a/usr/src/lib/cfgadm_plugins/usb/spec/Makefile.targ
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 2001 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/cfgadm_plugins/usb/spec/Makefile.targ
-
-LIBRARY= usb.a
-VERS= .1
-
-OBJECTS= cfga_usb.o
-
-TRANSCPP =
-SPECCPP =
diff --git a/usr/src/lib/cfgadm_plugins/usb/spec/amd64/Makefile b/usr/src/lib/cfgadm_plugins/usb/spec/amd64/Makefile
deleted file mode 100644
index 5dd1b7240f..0000000000
--- a/usr/src/lib/cfgadm_plugins/usb/spec/amd64/Makefile
+++ /dev/null
@@ -1,42 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#amd64_C_PICFLAGS = $(amd64_C_BIGPICFLAGS)
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/cfgadm_plugins/usb/spec/cfga_usb.spec b/usr/src/lib/cfgadm_plugins/usb/spec/cfga_usb.spec
deleted file mode 100644
index b1c0aa9cb5..0000000000
--- a/usr/src/lib/cfgadm_plugins/usb/spec/cfga_usb.spec
+++ /dev/null
@@ -1,70 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/cfgadm_plugins/usb/spec/cfga_usb.spec
-
-function cfga_change_state
-include <sys/param.h>, <config_admin.h>
-declaration cfga_err_t cfga_change_state(cfga_cmd_t, const char *, \
- const char *, struct cfga_confirm *, \
- struct cfga_msg *, char **, cfga_flags_t)
-version SUNWprivate_1.1
-end
-
-function cfga_help
-include <sys/param.h>, <config_admin.h>
-declaration cfga_err_t cfga_help(struct cfga_msg *, const char *, \
- cfga_flags_t)
-version SUNWprivate_1.1
-end
-
-function cfga_list_ext
-include <sys/param.h>, <config_admin.h>
-declaration cfga_err_t cfga_list_ext(const char *, \
- struct cfga_list_data **, int *, const char *, \
- const char *, char **, cfga_flags_t)
-version SUNWprivate_1.1
-end
-
-function cfga_private_func
-include <sys/param.h>, <config_admin.h>
-declaration cfga_err_t cfga_private_func(const char *, const char *, \
- const char *, struct cfga_confirm *, \
- struct cfga_msg *, char **, cfga_flags_t)
-version SUNWprivate_1.1
-end
-
-function cfga_test
-include <sys/param.h>, <config_admin.h>
-declaration cfga_err_t cfga_test(const char *, const char *, \
- struct cfga_msg *, char **, cfga_flags_t)
-version SUNWprivate_1.1
-end
-
-data cfga_version
-declaration int cfga_version
-version SUNWprivate_1.1
-end
diff --git a/usr/src/lib/cfgadm_plugins/usb/spec/i386/Makefile b/usr/src/lib/cfgadm_plugins/usb/spec/i386/Makefile
deleted file mode 100644
index f73285202b..0000000000
--- a/usr/src/lib/cfgadm_plugins/usb/spec/i386/Makefile
+++ /dev/null
@@ -1,42 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 2001 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/cfgadm_plugins/usb/spec/i386/Makefile
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#i386_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/cfgadm_plugins/usb/spec/sparc/Makefile b/usr/src/lib/cfgadm_plugins/usb/spec/sparc/Makefile
deleted file mode 100644
index f754ed4c66..0000000000
--- a/usr/src/lib/cfgadm_plugins/usb/spec/sparc/Makefile
+++ /dev/null
@@ -1,45 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 2001 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/cfgadm_plugins/usb/spec/sparc/Makefile
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#sparc_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/cfgadm_plugins/usb/spec/sparcv9/Makefile b/usr/src/lib/cfgadm_plugins/usb/spec/sparcv9/Makefile
deleted file mode 100644
index 6c2baae2fa..0000000000
--- a/usr/src/lib/cfgadm_plugins/usb/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,43 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 2001 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/cfgadm_plugins/usb/spec/sparcv9/Makefile
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#sparcv9_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/cfgadm_plugins/usb/spec/versions b/usr/src/lib/cfgadm_plugins/usb/spec/versions
deleted file mode 100644
index a542a0f7fc..0000000000
--- a/usr/src/lib/cfgadm_plugins/usb/spec/versions
+++ /dev/null
@@ -1,39 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-sparc {
- SUNWprivate_1.1;
-}
-sparcv9 {
- SUNWprivate_1.1;
-}
-i386 {
- SUNWprivate_1.1;
-}
-amd64 {
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/crypt_modules/Makefile.crypt_modules b/usr/src/lib/crypt_modules/Makefile.crypt_modules
index abc97b8d52..56fea36cc1 100644
--- a/usr/src/lib/crypt_modules/Makefile.crypt_modules
+++ b/usr/src/lib/crypt_modules/Makefile.crypt_modules
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,18 +19,18 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
+
+#
# Common build macros used by (most every) crypt module.
#
include $(SRC)/lib/Makefile.lib
-SRCDIR= ..
-
LIBS= $(DYNLIB)
CFLAGS += $(CCVERBOSE)
@@ -39,9 +38,6 @@ CPPFLAGS += -D_REENTRANT
LINTFLAGS += -y
LINTFLAGS64 += -y
-MAPDIR= ../spec/$(TRANSMACH)
-SPECMAPFILE= $(MAPDIR)/mapfile
-
ROOTLIBDIR= $(ROOT)/usr/lib/security
ROOTLIBDIR64= $(ROOT)/usr/lib/security/$(MACH64)
diff --git a/usr/src/lib/crypt_modules/bsdbf/Makefile b/usr/src/lib/crypt_modules/bsdbf/Makefile
index a8ec19b7dd..6eb0c845ec 100644
--- a/usr/src/lib/crypt_modules/bsdbf/Makefile
+++ b/usr/src/lib/crypt_modules/bsdbf/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,10 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright 2002 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
+#
include $(SRC)/lib/Makefile.lib
@@ -40,15 +40,13 @@ package := TARGET= package
.KEEP_STATE:
-all clean clobber delete install package: spec .WAIT $(SUBDIRS)
-
-lint: $(SUBDIRS)
+all clean clobber delete install lint package: $(SUBDIRS)
_msg:
catalog:
-$(SUBDIRS) spec: FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
diff --git a/usr/src/lib/crypt_modules/bsdbf/mapfile-vers b/usr/src/lib/crypt_modules/bsdbf/mapfile-vers
new file mode 100644
index 0000000000..0ed1e6c0c5
--- /dev/null
+++ b/usr/src/lib/crypt_modules/bsdbf/mapfile-vers
@@ -0,0 +1,34 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNW_1.0 {
+ global:
+ crypt_genhash_impl;
+ crypt_gensalt_impl;
+ local:
+ *;
+};
diff --git a/usr/src/lib/crypt_modules/bsdbf/spec/Makefile b/usr/src/lib/crypt_modules/bsdbf/spec/Makefile
deleted file mode 100644
index 3adc9dfc19..0000000000
--- a/usr/src/lib/crypt_modules/bsdbf/spec/Makefile
+++ /dev/null
@@ -1,28 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2002 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/crypt_modules/bsdbf/spec/Makefile.targ b/usr/src/lib/crypt_modules/bsdbf/spec/Makefile.targ
deleted file mode 100644
index 9b212125b8..0000000000
--- a/usr/src/lib/crypt_modules/bsdbf/spec/Makefile.targ
+++ /dev/null
@@ -1,33 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2002 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-LIBRARY = bsdbf.a
-VERS = .1
-
-OBJECTS = bsdbf.o
-
-SPECCPP =
diff --git a/usr/src/lib/crypt_modules/bsdbf/spec/amd64/Makefile b/usr/src/lib/crypt_modules/bsdbf/spec/amd64/Makefile
deleted file mode 100644
index 25ccbbbd01..0000000000
--- a/usr/src/lib/crypt_modules/bsdbf/spec/amd64/Makefile
+++ /dev/null
@@ -1,37 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB)
diff --git a/usr/src/lib/crypt_modules/bsdbf/spec/bsdbf.spec b/usr/src/lib/crypt_modules/bsdbf/spec/bsdbf.spec
deleted file mode 100644
index 46e30228ae..0000000000
--- a/usr/src/lib/crypt_modules/bsdbf/spec/bsdbf.spec
+++ /dev/null
@@ -1,41 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-function crypt_genhash_impl
-include <crypt.h>
-declaration char * crypt_genhash_impl(char *ctbuffer, size_t ctbufflen, \
- const char *plaintext, const char *switchsalt,\
- const char **params)
-version SUNW_1.0
-end
-
-function crypt_gensalt_impl
-include <crypt.h>
-declaration char *crypt_gensalt_impl(char *gsbuffer, size_t gsbufflen, \
- const char *oldsalt, const struct passwd *userinfo, \
- const char **params)
-version SUNW_1.0
-end
diff --git a/usr/src/lib/crypt_modules/bsdbf/spec/i386/Makefile b/usr/src/lib/crypt_modules/bsdbf/spec/i386/Makefile
deleted file mode 100644
index ebf8d7f907..0000000000
--- a/usr/src/lib/crypt_modules/bsdbf/spec/i386/Makefile
+++ /dev/null
@@ -1,34 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB)
diff --git a/usr/src/lib/crypt_modules/bsdbf/spec/sparc/Makefile b/usr/src/lib/crypt_modules/bsdbf/spec/sparc/Makefile
deleted file mode 100644
index ebf8d7f907..0000000000
--- a/usr/src/lib/crypt_modules/bsdbf/spec/sparc/Makefile
+++ /dev/null
@@ -1,34 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB)
diff --git a/usr/src/lib/crypt_modules/bsdbf/spec/sparcv9/Makefile b/usr/src/lib/crypt_modules/bsdbf/spec/sparcv9/Makefile
deleted file mode 100644
index 77087cd2af..0000000000
--- a/usr/src/lib/crypt_modules/bsdbf/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,35 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB)
diff --git a/usr/src/lib/crypt_modules/bsdbf/spec/versions b/usr/src/lib/crypt_modules/bsdbf/spec/versions
deleted file mode 100644
index 26282a6b11..0000000000
--- a/usr/src/lib/crypt_modules/bsdbf/spec/versions
+++ /dev/null
@@ -1,39 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-sparc {
- SUNW_1.0;
-}
-sparcv9 {
- SUNW_1.0;
-}
-i386 {
- SUNW_1.0;
-}
-amd64 {
- SUNW_1.0;
-}
diff --git a/usr/src/lib/crypt_modules/bsdmd5/Makefile b/usr/src/lib/crypt_modules/bsdmd5/Makefile
index d7bd54983e..56ab3b9de1 100644
--- a/usr/src/lib/crypt_modules/bsdmd5/Makefile
+++ b/usr/src/lib/crypt_modules/bsdmd5/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,10 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright 2002 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
+#
include $(SRC)/lib/Makefile.lib
@@ -40,15 +40,13 @@ package := TARGET= package
.KEEP_STATE:
-all clean clobber delete install package: spec .WAIT $(SUBDIRS)
-
-lint: $(SUBDIRS)
+all clean clobber delete install lint package: $(SUBDIRS)
_msg:
catalog:
-$(SUBDIRS) spec: FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
diff --git a/usr/src/lib/crypt_modules/bsdmd5/mapfile-vers b/usr/src/lib/crypt_modules/bsdmd5/mapfile-vers
new file mode 100644
index 0000000000..0ed1e6c0c5
--- /dev/null
+++ b/usr/src/lib/crypt_modules/bsdmd5/mapfile-vers
@@ -0,0 +1,34 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNW_1.0 {
+ global:
+ crypt_genhash_impl;
+ crypt_gensalt_impl;
+ local:
+ *;
+};
diff --git a/usr/src/lib/crypt_modules/bsdmd5/spec/Makefile b/usr/src/lib/crypt_modules/bsdmd5/spec/Makefile
deleted file mode 100644
index 3adc9dfc19..0000000000
--- a/usr/src/lib/crypt_modules/bsdmd5/spec/Makefile
+++ /dev/null
@@ -1,28 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2002 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/crypt_modules/bsdmd5/spec/Makefile.targ b/usr/src/lib/crypt_modules/bsdmd5/spec/Makefile.targ
deleted file mode 100644
index 36ffc54005..0000000000
--- a/usr/src/lib/crypt_modules/bsdmd5/spec/Makefile.targ
+++ /dev/null
@@ -1,33 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2002 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-LIBRARY = bsdmd5.a
-VERS = .1
-
-OBJECTS = bsdmd5.o
-
-SPECCPP =
diff --git a/usr/src/lib/crypt_modules/bsdmd5/spec/amd64/Makefile b/usr/src/lib/crypt_modules/bsdmd5/spec/amd64/Makefile
deleted file mode 100644
index 25ccbbbd01..0000000000
--- a/usr/src/lib/crypt_modules/bsdmd5/spec/amd64/Makefile
+++ /dev/null
@@ -1,37 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB)
diff --git a/usr/src/lib/crypt_modules/bsdmd5/spec/bsdmd5.spec b/usr/src/lib/crypt_modules/bsdmd5/spec/bsdmd5.spec
deleted file mode 100644
index 46e30228ae..0000000000
--- a/usr/src/lib/crypt_modules/bsdmd5/spec/bsdmd5.spec
+++ /dev/null
@@ -1,41 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-function crypt_genhash_impl
-include <crypt.h>
-declaration char * crypt_genhash_impl(char *ctbuffer, size_t ctbufflen, \
- const char *plaintext, const char *switchsalt,\
- const char **params)
-version SUNW_1.0
-end
-
-function crypt_gensalt_impl
-include <crypt.h>
-declaration char *crypt_gensalt_impl(char *gsbuffer, size_t gsbufflen, \
- const char *oldsalt, const struct passwd *userinfo, \
- const char **params)
-version SUNW_1.0
-end
diff --git a/usr/src/lib/crypt_modules/bsdmd5/spec/i386/Makefile b/usr/src/lib/crypt_modules/bsdmd5/spec/i386/Makefile
deleted file mode 100644
index ebf8d7f907..0000000000
--- a/usr/src/lib/crypt_modules/bsdmd5/spec/i386/Makefile
+++ /dev/null
@@ -1,34 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB)
diff --git a/usr/src/lib/crypt_modules/bsdmd5/spec/sparc/Makefile b/usr/src/lib/crypt_modules/bsdmd5/spec/sparc/Makefile
deleted file mode 100644
index ebf8d7f907..0000000000
--- a/usr/src/lib/crypt_modules/bsdmd5/spec/sparc/Makefile
+++ /dev/null
@@ -1,34 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB)
diff --git a/usr/src/lib/crypt_modules/bsdmd5/spec/sparcv9/Makefile b/usr/src/lib/crypt_modules/bsdmd5/spec/sparcv9/Makefile
deleted file mode 100644
index 77087cd2af..0000000000
--- a/usr/src/lib/crypt_modules/bsdmd5/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,35 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB)
diff --git a/usr/src/lib/crypt_modules/bsdmd5/spec/versions b/usr/src/lib/crypt_modules/bsdmd5/spec/versions
deleted file mode 100644
index 26282a6b11..0000000000
--- a/usr/src/lib/crypt_modules/bsdmd5/spec/versions
+++ /dev/null
@@ -1,39 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-sparc {
- SUNW_1.0;
-}
-sparcv9 {
- SUNW_1.0;
-}
-i386 {
- SUNW_1.0;
-}
-amd64 {
- SUNW_1.0;
-}
diff --git a/usr/src/lib/crypt_modules/sunmd5/Makefile b/usr/src/lib/crypt_modules/sunmd5/Makefile
index d7bd54983e..56ab3b9de1 100644
--- a/usr/src/lib/crypt_modules/sunmd5/Makefile
+++ b/usr/src/lib/crypt_modules/sunmd5/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,10 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright 2002 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
+#
include $(SRC)/lib/Makefile.lib
@@ -40,15 +40,13 @@ package := TARGET= package
.KEEP_STATE:
-all clean clobber delete install package: spec .WAIT $(SUBDIRS)
-
-lint: $(SUBDIRS)
+all clean clobber delete install lint package: $(SUBDIRS)
_msg:
catalog:
-$(SUBDIRS) spec: FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
diff --git a/usr/src/lib/crypt_modules/sunmd5/mapfile-vers b/usr/src/lib/crypt_modules/sunmd5/mapfile-vers
new file mode 100644
index 0000000000..0ed1e6c0c5
--- /dev/null
+++ b/usr/src/lib/crypt_modules/sunmd5/mapfile-vers
@@ -0,0 +1,34 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNW_1.0 {
+ global:
+ crypt_genhash_impl;
+ crypt_gensalt_impl;
+ local:
+ *;
+};
diff --git a/usr/src/lib/crypt_modules/sunmd5/spec/Makefile b/usr/src/lib/crypt_modules/sunmd5/spec/Makefile
deleted file mode 100644
index 3adc9dfc19..0000000000
--- a/usr/src/lib/crypt_modules/sunmd5/spec/Makefile
+++ /dev/null
@@ -1,28 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2002 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/crypt_modules/sunmd5/spec/Makefile.targ b/usr/src/lib/crypt_modules/sunmd5/spec/Makefile.targ
deleted file mode 100644
index 6963190527..0000000000
--- a/usr/src/lib/crypt_modules/sunmd5/spec/Makefile.targ
+++ /dev/null
@@ -1,33 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2002 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-LIBRARY = sunmd5.a
-VERS = .1
-
-OBJECTS = sunmd5.o
-
-SPECCPP =
diff --git a/usr/src/lib/crypt_modules/sunmd5/spec/amd64/Makefile b/usr/src/lib/crypt_modules/sunmd5/spec/amd64/Makefile
deleted file mode 100644
index 25ccbbbd01..0000000000
--- a/usr/src/lib/crypt_modules/sunmd5/spec/amd64/Makefile
+++ /dev/null
@@ -1,37 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB)
diff --git a/usr/src/lib/crypt_modules/sunmd5/spec/i386/Makefile b/usr/src/lib/crypt_modules/sunmd5/spec/i386/Makefile
deleted file mode 100644
index ebf8d7f907..0000000000
--- a/usr/src/lib/crypt_modules/sunmd5/spec/i386/Makefile
+++ /dev/null
@@ -1,34 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB)
diff --git a/usr/src/lib/crypt_modules/sunmd5/spec/sparc/Makefile b/usr/src/lib/crypt_modules/sunmd5/spec/sparc/Makefile
deleted file mode 100644
index ebf8d7f907..0000000000
--- a/usr/src/lib/crypt_modules/sunmd5/spec/sparc/Makefile
+++ /dev/null
@@ -1,34 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB)
diff --git a/usr/src/lib/crypt_modules/sunmd5/spec/sparcv9/Makefile b/usr/src/lib/crypt_modules/sunmd5/spec/sparcv9/Makefile
deleted file mode 100644
index 77087cd2af..0000000000
--- a/usr/src/lib/crypt_modules/sunmd5/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,35 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB)
diff --git a/usr/src/lib/crypt_modules/sunmd5/spec/sunmd5.spec b/usr/src/lib/crypt_modules/sunmd5/spec/sunmd5.spec
deleted file mode 100644
index 46e30228ae..0000000000
--- a/usr/src/lib/crypt_modules/sunmd5/spec/sunmd5.spec
+++ /dev/null
@@ -1,41 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-function crypt_genhash_impl
-include <crypt.h>
-declaration char * crypt_genhash_impl(char *ctbuffer, size_t ctbufflen, \
- const char *plaintext, const char *switchsalt,\
- const char **params)
-version SUNW_1.0
-end
-
-function crypt_gensalt_impl
-include <crypt.h>
-declaration char *crypt_gensalt_impl(char *gsbuffer, size_t gsbufflen, \
- const char *oldsalt, const struct passwd *userinfo, \
- const char **params)
-version SUNW_1.0
-end
diff --git a/usr/src/lib/crypt_modules/sunmd5/spec/versions b/usr/src/lib/crypt_modules/sunmd5/spec/versions
deleted file mode 100644
index 26282a6b11..0000000000
--- a/usr/src/lib/crypt_modules/sunmd5/spec/versions
+++ /dev/null
@@ -1,39 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-sparc {
- SUNW_1.0;
-}
-sparcv9 {
- SUNW_1.0;
-}
-i386 {
- SUNW_1.0;
-}
-amd64 {
- SUNW_1.0;
-}
diff --git a/usr/src/lib/efcode/Makefile.efcode b/usr/src/lib/efcode/Makefile.efcode
index 748c0294c2..b8c1e73b3d 100644
--- a/usr/src/lib/efcode/Makefile.efcode
+++ b/usr/src/lib/efcode/Makefile.efcode
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,11 +19,13 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
+
+#
# Common build rules for efcode shared objects.
#
# For historical reasons, these shared objects aren't explicitly versioned, so
@@ -41,11 +42,12 @@ LIBS = $(DYNLIB)
LDLIBS += -lc
LIBLINKS =
+MAPFILES =
+
CPPFLAGS += -DDEBUG -DFCODE_INTERNAL
CPPFLAGS += -I $(SRC)/lib/efcode/include -I $(ROOT)/usr/platform/sun4u/include
DYNFLAGS += -R\$$ORIGIN
-SRCDIR = ..
EFCODE64DIR = /usr/lib/efcode/$(MACH64)
ROOTLIBDIR = $(ROOT)/usr/lib/efcode
ROOTLIBDIR64 = $(ROOT)/usr/lib/efcode/$(MACH64)
diff --git a/usr/src/lib/extendedFILE/Makefile.com b/usr/src/lib/extendedFILE/Makefile.com
index 765237b411..cbe5370c10 100644
--- a/usr/src/lib/extendedFILE/Makefile.com
+++ b/usr/src/lib/extendedFILE/Makefile.com
@@ -24,7 +24,6 @@
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/extendedFILE/Makefile.com
LIBRARY = extendedFILE.a
VERS = .1
@@ -34,17 +33,14 @@ OBJECTS = extendedFILE.o
# include library definitions
include ../../Makefile.lib
-MAPFILE = ../common/mapfile-vers
-
-SRCS = $(OBJECTS:%.o=../common/%.c)
+SRCDIR = ../common
LIBS = $(DYNLIB)
LDLIBS += -lc
CFLAGS += $(CCVERBOSE)
-CPPFLAGS += -D_REENTRANT -I../common
-DYNFLAGS += -M$(MAPFILE) $(ZINTERPOSE)
+CPPFLAGS += -D_REENTRANT -I../common -I../../common/inc
-CPPFLAGS += -I../../common/inc
+DYNFLAGS += $(ZINTERPOSE)
.KEEP_STATE:
diff --git a/usr/src/lib/fm/libdiagcode/Makefile b/usr/src/lib/fm/libdiagcode/Makefile
index 322e291379..c6a223942a 100644
--- a/usr/src/lib/fm/libdiagcode/Makefile
+++ b/usr/src/lib/fm/libdiagcode/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,10 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
+#
include ../../Makefile.lib
include ../Makefile.lib
@@ -43,17 +43,13 @@ test := TARGET= test
.KEEP_STATE:
-all clean clobber install: spec .WAIT $(SUBDIRS)
-
-lint: $(SUBDIRS)
-
-test: $(SUBDIRS)
+all clean clobber install lint test: $(SUBDIRS)
install_h: $(ROOTFMHDRS)
check: $(CHECKHDRS)
-$(SUBDIRS) spec: FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
diff --git a/usr/src/lib/fm/libdiagcode/Makefile.com b/usr/src/lib/fm/libdiagcode/Makefile.com
index 49bb01a7c7..edb174cecb 100644
--- a/usr/src/lib/fm/libdiagcode/Makefile.com
+++ b/usr/src/lib/fm/libdiagcode/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,7 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
@@ -40,8 +39,6 @@ LDLIBS += -lc
CLOBBERFILES += test $(TSTOBJECTS)
SRCDIR = ../common
-MAPDIR = ../spec/$(TRANSMACH)
-SPECMAPFILE = $(MAPDIR)/mapfile
CFLAGS += $(CCVERBOSE)
diff --git a/usr/src/lib/fm/libdiagcode/common/mapfile-vers b/usr/src/lib/fm/libdiagcode/common/mapfile-vers
new file mode 100644
index 0000000000..48c9feb79d
--- /dev/null
+++ b/usr/src/lib/fm/libdiagcode/common/mapfile-vers
@@ -0,0 +1,39 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNWprivate {
+ global:
+ fm_dc_closedict;
+ fm_dc_code2key;
+ fm_dc_codelen;
+ fm_dc_getprop;
+ fm_dc_key2code;
+ fm_dc_maxkey;
+ fm_dc_opendict;
+ local:
+ *;
+};
diff --git a/usr/src/lib/fm/libdiagcode/spec/Makefile b/usr/src/lib/fm/libdiagcode/spec/Makefile
deleted file mode 100644
index 331f5a8c84..0000000000
--- a/usr/src/lib/fm/libdiagcode/spec/Makefile
+++ /dev/null
@@ -1,31 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libdiagcode/spec/Makefile
-#
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/fm/libdiagcode/spec/Makefile.targ b/usr/src/lib/fm/libdiagcode/spec/Makefile.targ
deleted file mode 100644
index da70279522..0000000000
--- a/usr/src/lib/fm/libdiagcode/spec/Makefile.targ
+++ /dev/null
@@ -1,34 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libdiagcode/spec/Makefile.targ
-
-LIBRARY = libdiagcode.a
-VERS = .1
-
-OBJECTS = diagcode.o
-
diff --git a/usr/src/lib/fm/libdiagcode/spec/amd64/Makefile b/usr/src/lib/fm/libdiagcode/spec/amd64/Makefile
deleted file mode 100644
index f0681fb2d9..0000000000
--- a/usr/src/lib/fm/libdiagcode/spec/amd64/Makefile
+++ /dev/null
@@ -1,40 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libdiagcode/spec/i386/Makefile
-#
-
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB64)
diff --git a/usr/src/lib/fm/libdiagcode/spec/diagcode.spec b/usr/src/lib/fm/libdiagcode/spec/diagcode.spec
deleted file mode 100644
index 02305cfedb..0000000000
--- a/usr/src/lib/fm/libdiagcode/spec/diagcode.spec
+++ /dev/null
@@ -1,55 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libdiagcode/spec/diagcode.spec
-
-function fm_dc_opendict
-version SUNWprivate
-end
-
-function fm_dc_closedict
-version SUNWprivate
-end
-
-function fm_dc_codelen
-version SUNWprivate
-end
-
-function fm_dc_maxkey
-version SUNWprivate
-end
-
-function fm_dc_key2code
-version SUNWprivate
-end
-
-function fm_dc_code2key
-version SUNWprivate
-end
-
-function fm_dc_getprop
-version SUNWprivate
-end
diff --git a/usr/src/lib/fm/libdiagcode/spec/i386/Makefile b/usr/src/lib/fm/libdiagcode/spec/i386/Makefile
deleted file mode 100644
index 737c38c9c3..0000000000
--- a/usr/src/lib/fm/libdiagcode/spec/i386/Makefile
+++ /dev/null
@@ -1,39 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libdiagcode/spec/i386/Makefile
-#
-
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB)
diff --git a/usr/src/lib/fm/libdiagcode/spec/sparc/Makefile b/usr/src/lib/fm/libdiagcode/spec/sparc/Makefile
deleted file mode 100644
index 941355bc7a..0000000000
--- a/usr/src/lib/fm/libdiagcode/spec/sparc/Makefile
+++ /dev/null
@@ -1,37 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libdiagcode/spec/sparc/Makefile
-
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB)
diff --git a/usr/src/lib/fm/libdiagcode/spec/sparcv9/Makefile b/usr/src/lib/fm/libdiagcode/spec/sparcv9/Makefile
deleted file mode 100644
index 141b507494..0000000000
--- a/usr/src/lib/fm/libdiagcode/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,38 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libdiagcode/spec/sparcv9/Makefile
-
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB)
diff --git a/usr/src/lib/fm/libdiagcode/spec/versions b/usr/src/lib/fm/libdiagcode/spec/versions
deleted file mode 100644
index 157a741300..0000000000
--- a/usr/src/lib/fm/libdiagcode/spec/versions
+++ /dev/null
@@ -1,42 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-sparc {
- SUNWprivate;
-}
-
-sparcv9 {
- SUNWprivate;
-}
-
-i386 {
- SUNWprivate;
-}
-
-amd64 {
- SUNWprivate;
-}
diff --git a/usr/src/lib/fm/libfmd_adm/Makefile b/usr/src/lib/fm/libfmd_adm/Makefile
index 6b32b9c1f4..a05449c6c5 100644
--- a/usr/src/lib/fm/libfmd_adm/Makefile
+++ b/usr/src/lib/fm/libfmd_adm/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,10 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
+#
include ../../Makefile.lib
include ../Makefile.lib
@@ -42,17 +42,15 @@ lint := TARGET = lint
.KEEP_STATE:
-all clean clobber: spec .WAIT $(SUBDIRS)
-
-install: install_h spec .WAIT $(SUBDIRS)
+all clean clobber lint: $(SUBDIRS)
-lint: $(SUBDIRS)
+install: install_h .WAIT $(SUBDIRS)
install_h: $(ROOTFMHDRS)
check: $(CHECKHDRS)
-spec $(SUBDIRS): FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
diff --git a/usr/src/lib/fm/libfmd_adm/Makefile.com b/usr/src/lib/fm/libfmd_adm/Makefile.com
index b9760e1c20..250494f315 100644
--- a/usr/src/lib/fm/libfmd_adm/Makefile.com
+++ b/usr/src/lib/fm/libfmd_adm/Makefile.com
@@ -18,12 +18,12 @@
#
# CDDL HEADER END
#
-
#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
+#
LIBRARY = libfmd_adm.a
VERS = .1
@@ -38,8 +38,7 @@ SRCS = $(LIBSRCS:%.c=../common/%.c)
LIBS = $(DYNLIB) $(LINTLIB)
CLEANFILES += fmd_rpc.c fmd_xdr.c fmd_rpc_adm.h fmd_rpc_adm.x
-SRCDIR = ../common
-SPECMAPFILE = $(MAPDIR)/mapfile
+SRCDIR = ../common
CPPFLAGS += -I../common -I.
CFLAGS += $(CCVERBOSE) $(C_BIGPICFLAGS)
diff --git a/usr/src/lib/fm/libfmd_adm/amd64/Makefile b/usr/src/lib/fm/libfmd_adm/amd64/Makefile
index 07fe45208f..d7bfc90e79 100644
--- a/usr/src/lib/fm/libfmd_adm/amd64/Makefile
+++ b/usr/src/lib/fm/libfmd_adm/amd64/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,12 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
+#
-MAPDIR = ../spec/amd64
include ../Makefile.com
include ../../../Makefile.lib.64
diff --git a/usr/src/lib/fm/libfmd_adm/common/mapfile-vers b/usr/src/lib/fm/libfmd_adm/common/mapfile-vers
new file mode 100644
index 0000000000..1760838562
--- /dev/null
+++ b/usr/src/lib/fm/libfmd_adm/common/mapfile-vers
@@ -0,0 +1,54 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNWprivate {
+ global:
+ fmd_adm_case_iter;
+ fmd_adm_case_repair;
+ fmd_adm_close;
+ fmd_adm_errmsg;
+ fmd_adm_log_rotate;
+ fmd_adm_module_gc;
+ fmd_adm_module_iter;
+ fmd_adm_module_load;
+ fmd_adm_module_reset;
+ fmd_adm_module_stats;
+ fmd_adm_module_unload;
+ fmd_adm_open;
+ fmd_adm_rsrc_count;
+ fmd_adm_rsrc_flush;
+ fmd_adm_rsrc_iter;
+ fmd_adm_rsrc_repair;
+ fmd_adm_serd_iter;
+ fmd_adm_serd_reset;
+ fmd_adm_stats_free;
+ fmd_adm_stats_read;
+ fmd_adm_xprt_iter;
+ fmd_adm_xprt_stats;
+ local:
+ *;
+};
diff --git a/usr/src/lib/fm/libfmd_adm/i386/Makefile b/usr/src/lib/fm/libfmd_adm/i386/Makefile
index 905c136359..a333224278 100644
--- a/usr/src/lib/fm/libfmd_adm/i386/Makefile
+++ b/usr/src/lib/fm/libfmd_adm/i386/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,12 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
+#
-MAPDIR = ../spec/i386
include ../Makefile.com
install: all $(ROOTLIBS) $(ROOTLINKS) $(ROOTLINT)
diff --git a/usr/src/lib/fm/libfmd_adm/sparc/Makefile b/usr/src/lib/fm/libfmd_adm/sparc/Makefile
index 65682c4299..a333224278 100644
--- a/usr/src/lib/fm/libfmd_adm/sparc/Makefile
+++ b/usr/src/lib/fm/libfmd_adm/sparc/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,12 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
+#
-MAPDIR = ../spec/sparc
include ../Makefile.com
install: all $(ROOTLIBS) $(ROOTLINKS) $(ROOTLINT)
diff --git a/usr/src/lib/fm/libfmd_adm/sparcv9/Makefile b/usr/src/lib/fm/libfmd_adm/sparcv9/Makefile
index 98cef7b91a..d7bfc90e79 100644
--- a/usr/src/lib/fm/libfmd_adm/sparcv9/Makefile
+++ b/usr/src/lib/fm/libfmd_adm/sparcv9/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,12 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
+#
-MAPDIR = ../spec/sparcv9
include ../Makefile.com
include ../../../Makefile.lib.64
diff --git a/usr/src/lib/fm/libfmd_adm/spec/Makefile b/usr/src/lib/fm/libfmd_adm/spec/Makefile
deleted file mode 100644
index babb709ad7..0000000000
--- a/usr/src/lib/fm/libfmd_adm/spec/Makefile
+++ /dev/null
@@ -1,28 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/fm/libfmd_adm/spec/Makefile.targ b/usr/src/lib/fm/libfmd_adm/spec/Makefile.targ
deleted file mode 100644
index db289f7958..0000000000
--- a/usr/src/lib/fm/libfmd_adm/spec/Makefile.targ
+++ /dev/null
@@ -1,32 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-.KEEP_STATE:
-
-LIBRARY = libfmd_adm.a
-VERS = .1
-OBJECTS = fmd_adm.o
diff --git a/usr/src/lib/fm/libfmd_adm/spec/amd64/Makefile b/usr/src/lib/fm/libfmd_adm/spec/amd64/Makefile
deleted file mode 100644
index 7d4d7e8b1b..0000000000
--- a/usr/src/lib/fm/libfmd_adm/spec/amd64/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB64)
diff --git a/usr/src/lib/fm/libfmd_adm/spec/fmd_adm.spec b/usr/src/lib/fm/libfmd_adm/spec/fmd_adm.spec
deleted file mode 100644
index 7a00630a6f..0000000000
--- a/usr/src/lib/fm/libfmd_adm/spec/fmd_adm.spec
+++ /dev/null
@@ -1,115 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-
-#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-function fmd_adm_case_repair
-version SUNWprivate
-end
-
-function fmd_adm_case_iter
-version SUNWprivate
-end
-
-function fmd_adm_close
-version SUNWprivate
-end
-
-function fmd_adm_errmsg
-version SUNWprivate
-end
-
-function fmd_adm_log_rotate
-version SUNWprivate
-end
-
-function fmd_adm_module_gc
-version SUNWprivate
-end
-
-function fmd_adm_module_iter
-version SUNWprivate
-end
-
-function fmd_adm_module_load
-version SUNWprivate
-end
-
-function fmd_adm_module_reset
-version SUNWprivate
-end
-
-function fmd_adm_module_stats
-version SUNWprivate
-end
-
-function fmd_adm_module_unload
-version SUNWprivate
-end
-
-function fmd_adm_open
-version SUNWprivate
-end
-
-function fmd_adm_rsrc_count
-version SUNWprivate
-end
-
-function fmd_adm_rsrc_flush
-version SUNWprivate
-end
-
-function fmd_adm_rsrc_iter
-version SUNWprivate
-end
-
-function fmd_adm_rsrc_repair
-version SUNWprivate
-end
-
-function fmd_adm_serd_iter
-version SUNWprivate
-end
-
-function fmd_adm_serd_reset
-version SUNWprivate
-end
-
-function fmd_adm_stats_free
-version SUNWprivate
-end
-
-function fmd_adm_stats_read
-version SUNWprivate
-end
-
-function fmd_adm_xprt_iter
-version SUNWprivate
-end
-
-function fmd_adm_xprt_stats
-version SUNWprivate
-end
diff --git a/usr/src/lib/fm/libfmd_adm/spec/i386/Makefile b/usr/src/lib/fm/libfmd_adm/spec/i386/Makefile
deleted file mode 100644
index 684c03a198..0000000000
--- a/usr/src/lib/fm/libfmd_adm/spec/i386/Makefile
+++ /dev/null
@@ -1,35 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB)
diff --git a/usr/src/lib/fm/libfmd_adm/spec/sparc/Makefile b/usr/src/lib/fm/libfmd_adm/spec/sparc/Makefile
deleted file mode 100644
index 281960b060..0000000000
--- a/usr/src/lib/fm/libfmd_adm/spec/sparc/Makefile
+++ /dev/null
@@ -1,35 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB)
diff --git a/usr/src/lib/fm/libfmd_adm/spec/sparcv9/Makefile b/usr/src/lib/fm/libfmd_adm/spec/sparcv9/Makefile
deleted file mode 100644
index 9f9cb6ace4..0000000000
--- a/usr/src/lib/fm/libfmd_adm/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB64)
diff --git a/usr/src/lib/fm/libfmd_adm/spec/versions b/usr/src/lib/fm/libfmd_adm/spec/versions
deleted file mode 100644
index de52db1857..0000000000
--- a/usr/src/lib/fm/libfmd_adm/spec/versions
+++ /dev/null
@@ -1,41 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-i386 {
- SUNWprivate;
-}
-
-amd64 {
- SUNWprivate;
-}
-
-sparc {
- SUNWprivate;
-}
-
-sparcv9 {
- SUNWprivate;
-}
diff --git a/usr/src/lib/fm/libfmd_log/Makefile b/usr/src/lib/fm/libfmd_log/Makefile
index 834551b6c3..03101f021b 100644
--- a/usr/src/lib/fm/libfmd_log/Makefile
+++ b/usr/src/lib/fm/libfmd_log/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,10 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
+#
include ../../Makefile.lib
include ../Makefile.lib
@@ -42,17 +42,15 @@ lint := TARGET = lint
.KEEP_STATE:
-all clean clobber: spec .WAIT $(SUBDIRS)
-
-install: install_h spec .WAIT $(SUBDIRS)
+all clean clobber lint: $(SUBDIRS)
-lint: $(SUBDIRS)
+install: install_h .WAIT $(SUBDIRS)
install_h: $(ROOTFMHDRS)
check: $(CHECKHDRS)
-spec $(SUBDIRS): FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
diff --git a/usr/src/lib/fm/libfmd_log/Makefile.com b/usr/src/lib/fm/libfmd_log/Makefile.com
index 1916a013ad..c48aff2a87 100644
--- a/usr/src/lib/fm/libfmd_log/Makefile.com
+++ b/usr/src/lib/fm/libfmd_log/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,10 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
+#
LIBRARY = libfmd_log.a
VERS = .1
@@ -37,8 +37,7 @@ include ../../Makefile.lib
SRCS = $(LIBSRCS:%.c=../common/%.c)
LIBS = $(DYNLIB) $(LINTLIB)
-SRCDIR = ../common
-SPECMAPFILE = $(MAPDIR)/mapfile
+SRCDIR = ../common
CPPFLAGS += -I../common -I.
CFLAGS += $(CCVERBOSE) $(C_BIGPICFLAGS)
diff --git a/usr/src/lib/fm/libfmd_log/amd64/Makefile b/usr/src/lib/fm/libfmd_log/amd64/Makefile
index 07fe45208f..d7bfc90e79 100644
--- a/usr/src/lib/fm/libfmd_log/amd64/Makefile
+++ b/usr/src/lib/fm/libfmd_log/amd64/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,12 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
+#
-MAPDIR = ../spec/amd64
include ../Makefile.com
include ../../../Makefile.lib.64
diff --git a/usr/src/lib/fm/libfmd_log/common/mapfile-vers b/usr/src/lib/fm/libfmd_log/common/mapfile-vers
new file mode 100644
index 0000000000..d7ba3e2c45
--- /dev/null
+++ b/usr/src/lib/fm/libfmd_log/common/mapfile-vers
@@ -0,0 +1,47 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNWprivate {
+ global:
+ fmd_log_close;
+ fmd_log_errmsg;
+ fmd_log_errno;
+ fmd_log_filter;
+ fmd_log_filter_after;
+ fmd_log_filter_before;
+ fmd_log_filter_class;
+ fmd_log_filter_uuid;
+ fmd_log_header;
+ fmd_log_iter;
+ fmd_log_label;
+ fmd_log_open;
+ fmd_log_rewind;
+ fmd_log_seek;
+ fmd_log_xiter;
+ local:
+ *;
+};
diff --git a/usr/src/lib/fm/libfmd_log/i386/Makefile b/usr/src/lib/fm/libfmd_log/i386/Makefile
index 905c136359..a333224278 100644
--- a/usr/src/lib/fm/libfmd_log/i386/Makefile
+++ b/usr/src/lib/fm/libfmd_log/i386/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,12 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
+#
-MAPDIR = ../spec/i386
include ../Makefile.com
install: all $(ROOTLIBS) $(ROOTLINKS) $(ROOTLINT)
diff --git a/usr/src/lib/fm/libfmd_log/sparc/Makefile b/usr/src/lib/fm/libfmd_log/sparc/Makefile
index 65682c4299..a333224278 100644
--- a/usr/src/lib/fm/libfmd_log/sparc/Makefile
+++ b/usr/src/lib/fm/libfmd_log/sparc/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,12 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
+#
-MAPDIR = ../spec/sparc
include ../Makefile.com
install: all $(ROOTLIBS) $(ROOTLINKS) $(ROOTLINT)
diff --git a/usr/src/lib/fm/libfmd_log/sparcv9/Makefile b/usr/src/lib/fm/libfmd_log/sparcv9/Makefile
index 98cef7b91a..d7bfc90e79 100644
--- a/usr/src/lib/fm/libfmd_log/sparcv9/Makefile
+++ b/usr/src/lib/fm/libfmd_log/sparcv9/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,12 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
+#
-MAPDIR = ../spec/sparcv9
include ../Makefile.com
include ../../../Makefile.lib.64
diff --git a/usr/src/lib/fm/libfmd_log/spec/Makefile b/usr/src/lib/fm/libfmd_log/spec/Makefile
deleted file mode 100644
index babb709ad7..0000000000
--- a/usr/src/lib/fm/libfmd_log/spec/Makefile
+++ /dev/null
@@ -1,28 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/fm/libfmd_log/spec/Makefile.targ b/usr/src/lib/fm/libfmd_log/spec/Makefile.targ
deleted file mode 100644
index 7e145824d8..0000000000
--- a/usr/src/lib/fm/libfmd_log/spec/Makefile.targ
+++ /dev/null
@@ -1,32 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-.KEEP_STATE:
-
-LIBRARY = libfmd_log.a
-VERS = .1
-OBJECTS = fmd_log.o
diff --git a/usr/src/lib/fm/libfmd_log/spec/amd64/Makefile b/usr/src/lib/fm/libfmd_log/spec/amd64/Makefile
deleted file mode 100644
index 7d4d7e8b1b..0000000000
--- a/usr/src/lib/fm/libfmd_log/spec/amd64/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB64)
diff --git a/usr/src/lib/fm/libfmd_log/spec/fmd_log.spec b/usr/src/lib/fm/libfmd_log/spec/fmd_log.spec
deleted file mode 100644
index 03a5c2b82e..0000000000
--- a/usr/src/lib/fm/libfmd_log/spec/fmd_log.spec
+++ /dev/null
@@ -1,85 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-function fmd_log_close
-version SUNWprivate
-end
-
-function fmd_log_errmsg
-version SUNWprivate
-end
-
-function fmd_log_errno
-version SUNWprivate
-end
-
-function fmd_log_filter
-version SUNWprivate
-end
-
-function fmd_log_filter_after
-version SUNWprivate
-end
-
-function fmd_log_filter_before
-version SUNWprivate
-end
-
-function fmd_log_filter_class
-version SUNWprivate
-end
-
-function fmd_log_filter_uuid
-version SUNWprivate
-end
-
-function fmd_log_header
-version SUNWprivate
-end
-
-function fmd_log_iter
-version SUNWprivate
-end
-
-function fmd_log_label
-version SUNWprivate
-end
-
-function fmd_log_open
-version SUNWprivate
-end
-
-function fmd_log_rewind
-version SUNWprivate
-end
-
-function fmd_log_seek
-version SUNWprivate
-end
-
-function fmd_log_xiter
-version SUNWprivate
-end
diff --git a/usr/src/lib/fm/libfmd_log/spec/i386/Makefile b/usr/src/lib/fm/libfmd_log/spec/i386/Makefile
deleted file mode 100644
index 684c03a198..0000000000
--- a/usr/src/lib/fm/libfmd_log/spec/i386/Makefile
+++ /dev/null
@@ -1,35 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB)
diff --git a/usr/src/lib/fm/libfmd_log/spec/sparc/Makefile b/usr/src/lib/fm/libfmd_log/spec/sparc/Makefile
deleted file mode 100644
index 281960b060..0000000000
--- a/usr/src/lib/fm/libfmd_log/spec/sparc/Makefile
+++ /dev/null
@@ -1,35 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB)
diff --git a/usr/src/lib/fm/libfmd_log/spec/sparcv9/Makefile b/usr/src/lib/fm/libfmd_log/spec/sparcv9/Makefile
deleted file mode 100644
index 9f9cb6ace4..0000000000
--- a/usr/src/lib/fm/libfmd_log/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB64)
diff --git a/usr/src/lib/fm/libfmd_log/spec/versions b/usr/src/lib/fm/libfmd_log/spec/versions
deleted file mode 100644
index de52db1857..0000000000
--- a/usr/src/lib/fm/libfmd_log/spec/versions
+++ /dev/null
@@ -1,41 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-i386 {
- SUNWprivate;
-}
-
-amd64 {
- SUNWprivate;
-}
-
-sparc {
- SUNWprivate;
-}
-
-sparcv9 {
- SUNWprivate;
-}
diff --git a/usr/src/lib/fm/libfmd_snmp/Makefile b/usr/src/lib/fm/libfmd_snmp/Makefile
index 8d9f7fea7f..9af0aa42de 100644
--- a/usr/src/lib/fm/libfmd_snmp/Makefile
+++ b/usr/src/lib/fm/libfmd_snmp/Makefile
@@ -18,7 +18,6 @@
#
# CDDL HEADER END
#
-
#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
@@ -51,9 +50,9 @@ lint := TARGET = lint
.KEEP_STATE:
-all lint clean clobber: spec .WAIT $(SUBDIRS)
+all lint clean clobber: $(SUBDIRS)
-install: install_h install_mibs spec .WAIT $(SUBDIRS)
+install: install_h install_mibs .WAIT $(SUBDIRS)
install_h: $(ROOTFMHDRS)
@@ -61,7 +60,7 @@ install_mibs: $(ROOTSMAMIBDIR) $(ROOTMIBS)
check: $(CHECKHDRS)
-spec $(SUBDIRS): FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
$(ROOTSMAMIBDIR):
diff --git a/usr/src/lib/fm/libfmd_snmp/Makefile.com b/usr/src/lib/fm/libfmd_snmp/Makefile.com
index b670761e40..cc316a0a76 100644
--- a/usr/src/lib/fm/libfmd_snmp/Makefile.com
+++ b/usr/src/lib/fm/libfmd_snmp/Makefile.com
@@ -18,7 +18,6 @@
#
# CDDL HEADER END
#
-
#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
@@ -26,7 +25,6 @@
# ident "%Z%%M% %I% %E% SMI"
#
-
LIBRARY = libfmd_snmp.a
VERS = .1
@@ -46,8 +44,7 @@ include ../../Makefile.lib
SRCS = $(LIBSRCS:%.c=../common/%.c)
LIBS = $(DYNLIB) $(LINTLIB)
-SRCDIR = ../common
-SPECMAPFILE = $(MAPDIR)/mapfile
+SRCDIR = ../common
CPPFLAGS += -I../common -I. -I/usr/sfw/include
$(NOT_RELEASE_BUILD)CPPFLAGS += -DDEBUG
diff --git a/usr/src/lib/fm/libfmd_snmp/amd64/Makefile b/usr/src/lib/fm/libfmd_snmp/amd64/Makefile
index 8d9565b2de..90f182e191 100644
--- a/usr/src/lib/fm/libfmd_snmp/amd64/Makefile
+++ b/usr/src/lib/fm/libfmd_snmp/amd64/Makefile
@@ -18,7 +18,6 @@
#
# CDDL HEADER END
#
-
#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
@@ -26,7 +25,6 @@
# ident "%Z%%M% %I% %E% SMI"
#
-MAPDIR = ../spec/amd64
MACH_LDLIBS = -L$(ROOT)/usr/lib/fm/$(MACH64)
include ../Makefile.com
diff --git a/usr/src/lib/fm/libfmd_snmp/common/mapfile-vers b/usr/src/lib/fm/libfmd_snmp/common/mapfile-vers
new file mode 100644
index 0000000000..5052a6aabf
--- /dev/null
+++ b/usr/src/lib/fm/libfmd_snmp/common/mapfile-vers
@@ -0,0 +1,45 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNWprivate {
+ global:
+ fmd_fmri_alloc;
+ fmd_fmri_error;
+ fmd_fmri_free;
+ fmd_fmri_get_drgen;
+ fmd_fmri_get_platform;
+ fmd_fmri_get_rootdir;
+ fmd_fmri_set_errno;
+ fmd_fmri_strdup;
+ fmd_fmri_strescape;
+ fmd_fmri_strfree;
+ fmd_fmri_warn;
+ fmd_fmri_zalloc;
+ init_sunFM;
+ local:
+ *;
+};
diff --git a/usr/src/lib/fm/libfmd_snmp/i386/Makefile b/usr/src/lib/fm/libfmd_snmp/i386/Makefile
index a46e9857cf..2a905ab007 100644
--- a/usr/src/lib/fm/libfmd_snmp/i386/Makefile
+++ b/usr/src/lib/fm/libfmd_snmp/i386/Makefile
@@ -18,7 +18,6 @@
#
# CDDL HEADER END
#
-
#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
@@ -26,7 +25,6 @@
# ident "%Z%%M% %I% %E% SMI"
#
-MAPDIR = ../spec/i386
MACH_LDLIBS = -L$(ROOT)/usr/lib/fm
include ../Makefile.com
diff --git a/usr/src/lib/fm/libfmd_snmp/sparc/Makefile b/usr/src/lib/fm/libfmd_snmp/sparc/Makefile
index 7e1078bf63..2a905ab007 100644
--- a/usr/src/lib/fm/libfmd_snmp/sparc/Makefile
+++ b/usr/src/lib/fm/libfmd_snmp/sparc/Makefile
@@ -18,7 +18,6 @@
#
# CDDL HEADER END
#
-
#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
@@ -26,7 +25,6 @@
# ident "%Z%%M% %I% %E% SMI"
#
-MAPDIR = ../spec/sparc
MACH_LDLIBS = -L$(ROOT)/usr/lib/fm
include ../Makefile.com
diff --git a/usr/src/lib/fm/libfmd_snmp/sparcv9/Makefile b/usr/src/lib/fm/libfmd_snmp/sparcv9/Makefile
index 330b4782ae..90f182e191 100644
--- a/usr/src/lib/fm/libfmd_snmp/sparcv9/Makefile
+++ b/usr/src/lib/fm/libfmd_snmp/sparcv9/Makefile
@@ -18,7 +18,6 @@
#
# CDDL HEADER END
#
-
#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
@@ -26,7 +25,6 @@
# ident "%Z%%M% %I% %E% SMI"
#
-MAPDIR = ../spec/sparcv9
MACH_LDLIBS = -L$(ROOT)/usr/lib/fm/$(MACH64)
include ../Makefile.com
diff --git a/usr/src/lib/fm/libldom/Makefile b/usr/src/lib/fm/libldom/Makefile
index f317a664ce..a5de1baa50 100644
--- a/usr/src/lib/fm/libldom/Makefile
+++ b/usr/src/lib/fm/libldom/Makefile
@@ -22,7 +22,8 @@
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
+#
include ../../Makefile.lib
include ../Makefile.lib
@@ -42,17 +43,13 @@ lint := TARGET = lint
.KEEP_STATE:
-all clean clobber: spec .WAIT $(SUBDIRS)
-
-install: install_h spec .WAIT $(SUBDIRS)
-
-lint: $(SUBDIRS)
+all clean clobber install_h lint: $(SUBDIRS)
-install_h: $(SUBDIRS)
+install: install_h .WAIT $(SUBDIRS)
check: $(CHECKHDRS)
-spec $(SUBDIRS): FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
diff --git a/usr/src/lib/fm/libldom/Makefile.com b/usr/src/lib/fm/libldom/Makefile.com
index 42ad27f826..46df47b9ab 100644
--- a/usr/src/lib/fm/libldom/Makefile.com
+++ b/usr/src/lib/fm/libldom/Makefile.com
@@ -22,7 +22,8 @@
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
+#
LIBRARY = libldom.a
VERS = .1
@@ -38,8 +39,6 @@ SRCDIR = ../sparc
LIBS = $(DYNLIB) $(LINTLIB)
-SPECMAPFILE = $(MAPDIR)/mapfile
-
CPPFLAGS += -I. -I$(SRC)/uts/sun4v
CFLAGS += $(CCVERBOSE) $(C_BIGPICFLAGS)
CFLAGS64 += $(CCVERBOSE) $(C_BIGPICFLAGS)
diff --git a/usr/src/lib/fm/libldom/sparc/Makefile b/usr/src/lib/fm/libldom/sparc/Makefile
index 014c39fe59..261bf4c60f 100644
--- a/usr/src/lib/fm/libldom/sparc/Makefile
+++ b/usr/src/lib/fm/libldom/sparc/Makefile
@@ -22,9 +22,9 @@
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
+#
-MAPDIR = ../spec/sparc
MACH_LDLIBS = -L$(ROOT)/usr/lib/fm
include ../Makefile.com
@@ -33,7 +33,6 @@ DYNFLAGS += -R/usr/lib/fm
FMHDRS = ldom.h
HDRDIR = .
-SRCDIR = .
ROOTFMHDRDIR = $(ROOT)/usr/platform/sun4v/include/sys/fm
diff --git a/usr/src/lib/fm/libldom/sparc/mapfile-vers b/usr/src/lib/fm/libldom/sparc/mapfile-vers
new file mode 100644
index 0000000000..1533c21c9d
--- /dev/null
+++ b/usr/src/lib/fm/libldom/sparc/mapfile-vers
@@ -0,0 +1,40 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNWprivate {
+ global:
+ ldom_fini;
+ ldom_fmri_blacklist;
+ ldom_fmri_retire;
+ ldom_fmri_status;
+ ldom_get_core_md;
+ ldom_init;
+ ldom_major_version;
+ ldom_on_service;
+ local:
+ *;
+};
diff --git a/usr/src/lib/fm/libldom/sparcv9/Makefile b/usr/src/lib/fm/libldom/sparcv9/Makefile
index aeef7ffa5b..4502ccb407 100644
--- a/usr/src/lib/fm/libldom/sparcv9/Makefile
+++ b/usr/src/lib/fm/libldom/sparcv9/Makefile
@@ -22,9 +22,9 @@
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
+#
-MAPDIR = ../spec/sparcv9
MACH_LDLIBS = -L$(ROOT)/usr/lib/fm/$(MACH64)
include ../Makefile.com
diff --git a/usr/src/lib/fm/libldom/spec/Makefile b/usr/src/lib/fm/libldom/spec/Makefile
deleted file mode 100644
index 08cdfb34ac..0000000000
--- a/usr/src/lib/fm/libldom/spec/Makefile
+++ /dev/null
@@ -1,27 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/fm/libldom/spec/Makefile.targ b/usr/src/lib/fm/libldom/spec/Makefile.targ
deleted file mode 100644
index 6fe36a13a5..0000000000
--- a/usr/src/lib/fm/libldom/spec/Makefile.targ
+++ /dev/null
@@ -1,31 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-.KEEP_STATE:
-
-LIBRARY = libldom.a
-VERS = .1
-OBJECTS = ldom.o
diff --git a/usr/src/lib/fm/libldom/spec/ldom.spec b/usr/src/lib/fm/libldom/spec/ldom.spec
deleted file mode 100644
index f2e2844dfd..0000000000
--- a/usr/src/lib/fm/libldom/spec/ldom.spec
+++ /dev/null
@@ -1,56 +0,0 @@
-#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-function ldom_init
-version SUNWprivate
-end
-
-function ldom_fini
-version SUNWprivate
-end
-
-function ldom_fmri_status
-version SUNWprivate
-end
-
-function ldom_fmri_retire
-version SUNWprivate
-end
-
-function ldom_fmri_blacklist
-version SUNWprivate
-end
-
-function ldom_get_core_md
-version SUNWprivate
-end
-
-function ldom_major_version
-version SUNWprivate
-end
-
-function ldom_on_service
-version SUNWprivate
-end
diff --git a/usr/src/lib/fm/libldom/spec/sparc/Makefile b/usr/src/lib/fm/libldom/spec/sparc/Makefile
deleted file mode 100644
index 8c109c851c..0000000000
--- a/usr/src/lib/fm/libldom/spec/sparc/Makefile
+++ /dev/null
@@ -1,34 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB)
diff --git a/usr/src/lib/fm/libldom/spec/sparcv9/Makefile b/usr/src/lib/fm/libldom/spec/sparcv9/Makefile
deleted file mode 100644
index 6d49e3f9d5..0000000000
--- a/usr/src/lib/fm/libldom/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,35 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB64)
diff --git a/usr/src/lib/fm/libldom/spec/versions b/usr/src/lib/fm/libldom/spec/versions
deleted file mode 100644
index 097712f238..0000000000
--- a/usr/src/lib/fm/libldom/spec/versions
+++ /dev/null
@@ -1,32 +0,0 @@
-#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-sparc {
- SUNWprivate;
-}
-
-sparcv9 {
- SUNWprivate;
-}
diff --git a/usr/src/lib/fm/libmdesc/Makefile b/usr/src/lib/fm/libmdesc/Makefile
index 81dde4a4f6..8d529ad6b7 100644
--- a/usr/src/lib/fm/libmdesc/Makefile
+++ b/usr/src/lib/fm/libmdesc/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,10 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
+#
include ../../Makefile.lib
include ../Makefile.lib
@@ -42,17 +42,15 @@ lint := TARGET = lint
.KEEP_STATE:
-all clean clobber: spec .WAIT $(SUBDIRS)
-
-install: install_h spec .WAIT $(SUBDIRS)
+all clean clobber lint: $(SUBDIRS)
-lint: $(SUBDIRS)
+install: install_h .WAIT $(SUBDIRS)
install_h: $(ROOTFMHDRS)
check: $(CHECKHDRS)
-spec $(SUBDIRS): FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
diff --git a/usr/src/lib/fm/libmdesc/Makefile.com b/usr/src/lib/fm/libmdesc/Makefile.com
index 14ceedb9bf..4da5c59d6a 100644
--- a/usr/src/lib/fm/libmdesc/Makefile.com
+++ b/usr/src/lib/fm/libmdesc/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,10 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
+#
LIBRARY = libmdesc.a
VERS = .1
@@ -47,8 +47,7 @@ SRCS = $(LIBSRCS:%.c=$(SRC)/common/mdesc/%.c)
LIBS = $(DYNLIB) $(LINTLIB)
-SRCDIR = ../common
-SPECMAPFILE = $(MAPDIR)/mapfile
+SRCDIR = ../common
CPPFLAGS += -I../common -I.
CFLAGS += $(CCVERBOSE) -K PIC
diff --git a/usr/src/lib/fm/libmdesc/common/mapfile-vers b/usr/src/lib/fm/libmdesc/common/mapfile-vers
new file mode 100644
index 0000000000..999a531591
--- /dev/null
+++ b/usr/src/lib/fm/libmdesc/common/mapfile-vers
@@ -0,0 +1,40 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNWprivate {
+ global:
+ md_find_name;
+ md_find_node_prop;
+ md_fini;
+ md_get_prop_str;
+ md_get_prop_val;
+ md_init_intern;
+ md_node_count;
+ md_scan_dag;
+ local:
+ *;
+};
diff --git a/usr/src/lib/fm/libmdesc/sparc/Makefile b/usr/src/lib/fm/libmdesc/sparc/Makefile
index dca1669f5d..a333224278 100644
--- a/usr/src/lib/fm/libmdesc/sparc/Makefile
+++ b/usr/src/lib/fm/libmdesc/sparc/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,12 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
+#
-MAPDIR = ../spec/sparc
include ../Makefile.com
install: all $(ROOTLIBS) $(ROOTLINKS) $(ROOTLINT)
diff --git a/usr/src/lib/fm/libmdesc/sparcv9/Makefile b/usr/src/lib/fm/libmdesc/sparcv9/Makefile
index 6614c15f09..d7bfc90e79 100644
--- a/usr/src/lib/fm/libmdesc/sparcv9/Makefile
+++ b/usr/src/lib/fm/libmdesc/sparcv9/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,12 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
+#
-MAPDIR = ../spec/sparcv9
include ../Makefile.com
include ../../../Makefile.lib.64
diff --git a/usr/src/lib/fm/libmdesc/spec/Makefile b/usr/src/lib/fm/libmdesc/spec/Makefile
deleted file mode 100644
index 2cb984bfc9..0000000000
--- a/usr/src/lib/fm/libmdesc/spec/Makefile
+++ /dev/null
@@ -1,28 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/fm/libmdesc/spec/Makefile.targ b/usr/src/lib/fm/libmdesc/spec/Makefile.targ
deleted file mode 100644
index bad8b2b5de..0000000000
--- a/usr/src/lib/fm/libmdesc/spec/Makefile.targ
+++ /dev/null
@@ -1,32 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-.KEEP_STATE:
-
-LIBRARY = libmdesc.a
-VERS = .1
-OBJECTS = mdesc.o
diff --git a/usr/src/lib/fm/libmdesc/spec/mdesc.spec b/usr/src/lib/fm/libmdesc/spec/mdesc.spec
deleted file mode 100644
index e64d5d6f25..0000000000
--- a/usr/src/lib/fm/libmdesc/spec/mdesc.spec
+++ /dev/null
@@ -1,57 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-function md_fini
-version SUNWprivate
-end
-
-function md_find_name
-version SUNWprivate
-end
-
-function md_find_node_prop
-version SUNWprivate
-end
-
-function md_get_prop_str
-version SUNWprivate
-end
-
-function md_get_prop_val
-version SUNWprivate
-end
-
-function md_init_intern
-version SUNWprivate
-end
-
-function md_node_count
-version SUNWprivate
-end
-
-function md_scan_dag
-version SUNWprivate
-end
diff --git a/usr/src/lib/fm/libmdesc/spec/sparc/Makefile b/usr/src/lib/fm/libmdesc/spec/sparc/Makefile
deleted file mode 100644
index 2ad3b54409..0000000000
--- a/usr/src/lib/fm/libmdesc/spec/sparc/Makefile
+++ /dev/null
@@ -1,35 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB)
diff --git a/usr/src/lib/fm/libmdesc/spec/sparcv9/Makefile b/usr/src/lib/fm/libmdesc/spec/sparcv9/Makefile
deleted file mode 100644
index b6eb6145ad..0000000000
--- a/usr/src/lib/fm/libmdesc/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB64)
diff --git a/usr/src/lib/fm/libmdesc/spec/versions b/usr/src/lib/fm/libmdesc/spec/versions
deleted file mode 100644
index 1da266aa3a..0000000000
--- a/usr/src/lib/fm/libmdesc/spec/versions
+++ /dev/null
@@ -1,35 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-sparc {
- SUNWprivate;
-}
-
-sparcv9 {
- SUNWprivate;
-}
-
diff --git a/usr/src/lib/fm/topo/libtopo/Makefile b/usr/src/lib/fm/topo/libtopo/Makefile
index 506f95de93..02d911d5cb 100644
--- a/usr/src/lib/fm/topo/libtopo/Makefile
+++ b/usr/src/lib/fm/topo/libtopo/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -23,7 +22,8 @@
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
+#
include ../../../Makefile.lib
include ../../Makefile.lib
@@ -31,10 +31,7 @@ include ../../Makefile.lib
FMHDRS = libtopo.h topo_mod.h
HDRDIR = common
-MACH_SUBDIRS = $(MACH)
-
SUBDIRS = $(MACH)
-
$(BUILD64)SUBDIRS += $(MACH64)
all := TARGET = all
@@ -45,17 +42,15 @@ lint := TARGET = lint
.KEEP_STATE:
-all clean clobber: spec .WAIT $(SUBDIRS)
-
-install: install_h spec .WAIT $(SUBDIRS)
+all clean clobber lint: $(SUBDIRS)
-lint: $(SUBDIRS)
+install: install_h .WAIT $(SUBDIRS)
install_h: $(ROOTFMHDRS)
check: $(CHECKHDRS)
-spec $(SUBDIRS): FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
diff --git a/usr/src/lib/fm/topo/libtopo/Makefile.com b/usr/src/lib/fm/topo/libtopo/Makefile.com
index 02233ec267..5b43c663de 100644
--- a/usr/src/lib/fm/topo/libtopo/Makefile.com
+++ b/usr/src/lib/fm/topo/libtopo/Makefile.com
@@ -18,12 +18,12 @@
#
# CDDL HEADER END
#
-
#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
+#
LIBRARY = libtopo.a
VERS = .1
@@ -66,8 +66,7 @@ include ../../../Makefile.lib
SRCS = $(BUILTINSRCS:%.c=../common/%.c) $(LIBSRCS:%.c=../common/%.c)
LIBS = $(DYNLIB) $(LINTLIB)
-SRCDIR = ../common
-SPECMAPFILE = $(MAPDIR)/mapfile
+SRCDIR = ../common
CLEANFILES += ../common/topo_error.c
diff --git a/usr/src/lib/fm/topo/libtopo/amd64/Makefile b/usr/src/lib/fm/topo/libtopo/amd64/Makefile
index 15debba846..f81fcaa5f0 100644
--- a/usr/src/lib/fm/topo/libtopo/amd64/Makefile
+++ b/usr/src/lib/fm/topo/libtopo/amd64/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -23,9 +22,9 @@
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
+#
-MAPDIR = ../spec/amd64
include ../Makefile.com
include ../../../../Makefile.lib.64
diff --git a/usr/src/lib/fm/topo/libtopo/common/mapfile-vers b/usr/src/lib/fm/topo/libtopo/common/mapfile-vers
new file mode 100644
index 0000000000..84378f8c76
--- /dev/null
+++ b/usr/src/lib/fm/topo/libtopo/common/mapfile-vers
@@ -0,0 +1,117 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNWprivate {
+ global:
+ topo_close;
+ topo_debug_set;
+ topo_fmri_asru;
+ topo_fmri_compare;
+ topo_fmri_contains;
+ topo_fmri_create;
+ topo_fmri_expand;
+ topo_fmri_fru;
+ topo_fmri_invoke;
+ topo_fmri_nvl2str;
+ topo_fmri_present;
+ topo_fmri_str2nvl;
+ topo_fmri_unusable;
+ topo_hdl_alloc;
+ topo_hdl_errmsg;
+ topo_hdl_errno;
+ topo_hdl_free;
+ topo_hdl_nvalloc;
+ topo_hdl_nvdup;
+ topo_hdl_strdup;
+ topo_hdl_strfree;
+ topo_hdl_zalloc;
+ topo_method_invoke;
+ topo_method_register;
+ topo_method_unregister;
+ topo_method_unregister_all;
+ topo_mod_alloc;
+ topo_mod_clrdebug;
+ topo_mod_dprintf;
+ topo_mod_enumerate;
+ topo_mod_errmsg;
+ topo_mod_errno;
+ topo_mod_free;
+ topo_mod_handle;
+ topo_mod_load;
+ topo_mod_nvalloc;
+ topo_mod_nvdup;
+ topo_mod_private;
+ topo_mod_register;
+ topo_mod_rootdir;
+ topo_mod_setdebug;
+ topo_mod_seterrno;
+ topo_mod_strdup;
+ topo_mod_strfree;
+ topo_mod_unload;
+ topo_mod_unregister;
+ topo_mod_zalloc;
+ topo_node_asru;
+ topo_node_asru_set;
+ topo_node_bind;
+ topo_node_fru;
+ topo_node_fru_set;
+ topo_node_instance;
+ topo_node_label;
+ topo_node_label_set;
+ topo_node_name;
+ topo_node_private;
+ topo_node_range_create;
+ topo_node_range_destroy;
+ topo_node_resource;
+ topo_node_unbind;
+ topo_open;
+ topo_pgroup_create;
+ topo_pgroup_destroy;
+ topo_prop_get_all;
+ topo_prop_get_fmri;
+ topo_prop_get_int32;
+ topo_prop_get_int64;
+ topo_prop_get_string;
+ topo_prop_get_uint32;
+ topo_prop_get_uint64;
+ topo_prop_inherit;
+ topo_prop_set_fmri;
+ topo_prop_set_int32;
+ topo_prop_set_int64;
+ topo_prop_set_string;
+ topo_prop_set_uint32;
+ topo_prop_set_uint64;
+ topo_prop_stability;
+ topo_snap_hold;
+ topo_snap_release;
+ topo_strerror;
+ topo_walk_fini;
+ topo_walk_init;
+ topo_walk_step;
+ local:
+ *;
+};
diff --git a/usr/src/lib/fm/topo/libtopo/i386/Makefile b/usr/src/lib/fm/topo/libtopo/i386/Makefile
index c4b1489ab7..a333224278 100644
--- a/usr/src/lib/fm/topo/libtopo/i386/Makefile
+++ b/usr/src/lib/fm/topo/libtopo/i386/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -23,9 +22,9 @@
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
+#
-MAPDIR = ../spec/i386
include ../Makefile.com
install: all $(ROOTLIBS) $(ROOTLINKS) $(ROOTLINT)
diff --git a/usr/src/lib/fm/topo/libtopo/sparc/Makefile b/usr/src/lib/fm/topo/libtopo/sparc/Makefile
index a925bc82f9..a333224278 100644
--- a/usr/src/lib/fm/topo/libtopo/sparc/Makefile
+++ b/usr/src/lib/fm/topo/libtopo/sparc/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -23,9 +22,9 @@
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
+#
-MAPDIR = ../spec/sparc
include ../Makefile.com
install: all $(ROOTLIBS) $(ROOTLINKS) $(ROOTLINT)
diff --git a/usr/src/lib/fm/topo/libtopo/sparcv9/Makefile b/usr/src/lib/fm/topo/libtopo/sparcv9/Makefile
index 3e287aef61..f81fcaa5f0 100644
--- a/usr/src/lib/fm/topo/libtopo/sparcv9/Makefile
+++ b/usr/src/lib/fm/topo/libtopo/sparcv9/Makefile
@@ -18,14 +18,13 @@
#
# CDDL HEADER END
#
-
#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
+#
-MAPDIR = ../spec/sparcv9
include ../Makefile.com
include ../../../../Makefile.lib.64
diff --git a/usr/src/lib/fm/topo/libtopo/spec/Makefile b/usr/src/lib/fm/topo/libtopo/spec/Makefile
deleted file mode 100644
index 1208d7a09f..0000000000
--- a/usr/src/lib/fm/topo/libtopo/spec/Makefile
+++ /dev/null
@@ -1,28 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/fm/topo/libtopo/spec/Makefile.targ b/usr/src/lib/fm/topo/libtopo/spec/Makefile.targ
deleted file mode 100644
index e1102bd53f..0000000000
--- a/usr/src/lib/fm/topo/libtopo/spec/Makefile.targ
+++ /dev/null
@@ -1,32 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-.KEEP_STATE:
-
-LIBRARY = libtopo.a
-VERS = .1
-OBJECTS = topo.o
diff --git a/usr/src/lib/fm/topo/libtopo/spec/amd64/Makefile b/usr/src/lib/fm/topo/libtopo/spec/amd64/Makefile
deleted file mode 100644
index a04ea5eb47..0000000000
--- a/usr/src/lib/fm/topo/libtopo/spec/amd64/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB64)
diff --git a/usr/src/lib/fm/topo/libtopo/spec/i386/Makefile b/usr/src/lib/fm/topo/libtopo/spec/i386/Makefile
deleted file mode 100644
index afd97ec009..0000000000
--- a/usr/src/lib/fm/topo/libtopo/spec/i386/Makefile
+++ /dev/null
@@ -1,35 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB)
diff --git a/usr/src/lib/fm/topo/libtopo/spec/sparc/Makefile b/usr/src/lib/fm/topo/libtopo/spec/sparc/Makefile
deleted file mode 100644
index afd97ec009..0000000000
--- a/usr/src/lib/fm/topo/libtopo/spec/sparc/Makefile
+++ /dev/null
@@ -1,35 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB)
diff --git a/usr/src/lib/fm/topo/libtopo/spec/sparcv9/Makefile b/usr/src/lib/fm/topo/libtopo/spec/sparcv9/Makefile
deleted file mode 100644
index a04ea5eb47..0000000000
--- a/usr/src/lib/fm/topo/libtopo/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB64)
diff --git a/usr/src/lib/fm/topo/libtopo/spec/topo.spec b/usr/src/lib/fm/topo/libtopo/spec/topo.spec
deleted file mode 100644
index 3954952908..0000000000
--- a/usr/src/lib/fm/topo/libtopo/spec/topo.spec
+++ /dev/null
@@ -1,377 +0,0 @@
-#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-
-function topo_open
-version SUNWprivate
-end
-
-function topo_close
-version SUNWprivate
-end
-
-function topo_snap_hold
-version SUNWprivate
-end
-
-function topo_snap_release
-version SUNWprivate
-end
-
-function topo_node_name
-version SUNWprivate
-end
-
-function topo_node_instance
-version SUNWprivate
-end
-
-function topo_node_private
-version SUNWprivate
-end
-
-function topo_hdl_errno
-version SUNWprivate
-end
-
-function topo_strerror
-version SUNWprivate
-end
-
-function topo_hdl_errmsg
-version SUNWprivate
-end
-
-function topo_hdl_alloc
-version SUNWprivate
-end
-
-function topo_hdl_zalloc
-version SUNWprivate
-end
-
-function topo_hdl_free
-version SUNWprivate
-end
-
-function topo_hdl_nvalloc
-version SUNWprivate
-end
-
-function topo_hdl_nvdup
-version SUNWprivate
-end
-
-function topo_hdl_strdup
-version SUNWprivate
-end
-
-function topo_hdl_strfree
-version SUNWprivate
-end
-
-function topo_walk_init
-version SUNWprivate
-end
-
-function topo_walk_step
-version SUNWprivate
-end
-
-function topo_walk_fini
-version SUNWprivate
-end
-
-function topo_debug_set
-version SUNWprivate
-end
-
-function topo_pgroup_create
-version SUNWprivate
-end
-
-function topo_pgroup_destroy
-version SUNWprivate
-end
-
-function topo_prop_get_int32
-version SUNWprivate
-end
-
-function topo_prop_get_uint32
-version SUNWprivate
-end
-
-function topo_prop_get_int64
-version SUNWprivate
-end
-
-function topo_prop_get_uint64
-version SUNWprivate
-end
-
-function topo_prop_get_string
-version SUNWprivate
-end
-
-function topo_prop_get_fmri
-version SUNWprivate
-end
-
-function topo_prop_get_all
-version SUNWprivate
-end
-
-function topo_prop_set_int32
-version SUNWprivate
-end
-
-function topo_prop_set_uint32
-version SUNWprivate
-end
-
-function topo_prop_set_int64
-version SUNWprivate
-end
-
-function topo_prop_set_uint64
-version SUNWprivate
-end
-
-function topo_prop_set_string
-version SUNWprivate
-end
-
-function topo_prop_set_fmri
-version SUNWprivate
-end
-
-function topo_prop_inherit
-version SUNWprivate
-end
-
-function topo_prop_stability
-version SUNWprivate
-end
-
-function topo_node_resource
-version SUNWprivate
-end
-
-function topo_node_asru
-version SUNWprivate
-end
-
-function topo_node_fru
-version SUNWprivate
-end
-
-function topo_node_label
-version SUNWprivate
-end
-
-function topo_node_fru_set
-version SUNWprivate
-end
-
-function topo_node_asru_set
-version SUNWprivate
-end
-
-function topo_node_label_set
-version SUNWprivate
-end
-
-function topo_node_range_create
-version SUNWprivate
-end
-
-function topo_node_range_destroy
-version SUNWprivate
-end
-
-function topo_node_bind
-version SUNWprivate
-end
-
-function topo_node_unbind
-version SUNWprivate
-end
-
-function topo_node_name
-version SUNWprivate
-end
-
-function topo_node_private
-version SUNWprivate
-end
-
-function topo_node_instance
-version SUNWprivate
-end
-
-function topo_mod_alloc
-version SUNWprivate
-end
-
-function topo_mod_zalloc
-version SUNWprivate
-end
-
-function topo_mod_free
-version SUNWprivate
-end
-
-function topo_mod_nvalloc
-version SUNWprivate
-end
-
-function topo_mod_nvdup
-version SUNWprivate
-end
-
-function topo_mod_strfree
-version SUNWprivate
-end
-
-function topo_mod_strdup
-version SUNWprivate
-end
-
-function topo_fmri_present
-version SUNWprivate
-end
-
-function topo_fmri_contains
-version SUNWprivate
-end
-
-function topo_fmri_create
-version SUNWprivate
-end
-
-function topo_fmri_unusable
-version SUNWprivate
-end
-
-function topo_fmri_nvl2str
-version SUNWprivate
-end
-
-function topo_fmri_str2nvl
-version SUNWprivate
-end
-
-function topo_fmri_expand
-version SUNWprivate
-end
-
-function topo_fmri_asru
-version SUNWprivate
-end
-
-function topo_fmri_fru
-version SUNWprivate
-end
-
-function topo_fmri_compare
-version SUNWprivate
-end
-
-function topo_fmri_invoke
-version SUNWprivate
-end
-
-function topo_mod_clrdebug
-version SUNWprivate
-end
-
-function topo_mod_setdebug
-version SUNWprivate
-end
-
-function topo_mod_seterrno
-version SUNWprivate
-end
-
-function topo_mod_dprintf
-version SUNWprivate
-end
-
-function topo_mod_errmsg
-version SUNWprivate
-end
-
-function topo_mod_errno
-version SUNWprivate
-end
-
-function topo_mod_load
-version SUNWprivate
-end
-
-function topo_mod_unload
-version SUNWprivate
-end
-
-function topo_mod_register
-version SUNWprivate
-end
-
-function topo_mod_unregister
-version SUNWprivate
-end
-
-function topo_mod_enumerate
-version SUNWprivate
-end
-
-function topo_method_invoke
-version SUNWprivate
-end
-
-function topo_method_register
-version SUNWprivate
-end
-
-function topo_method_unregister
-version SUNWprivate
-end
-
-function topo_method_unregister_all
-version SUNWprivate
-end
-
-function topo_mod_rootdir
-version SUNWprivate
-end
-
-function topo_mod_private
-version SUNWprivate
-end
-
-function topo_mod_handle
-version SUNWprivate
-end
-
diff --git a/usr/src/lib/fm/topo/libtopo/spec/versions b/usr/src/lib/fm/topo/libtopo/spec/versions
deleted file mode 100644
index 7a65542162..0000000000
--- a/usr/src/lib/fm/topo/libtopo/spec/versions
+++ /dev/null
@@ -1,41 +0,0 @@
-#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-i386 {
- SUNWprivate;
-}
-
-amd64 {
- SUNWprivate;
-}
-
-sparc {
- SUNWprivate;
-}
-
-sparcv9 {
- SUNWprivate;
-}
diff --git a/usr/src/lib/fm/topo/modules/Makefile.plugin b/usr/src/lib/fm/topo/modules/Makefile.plugin
index e711bbd58d..82a3cff0d9 100644
--- a/usr/src/lib/fm/topo/modules/Makefile.plugin
+++ b/usr/src/lib/fm/topo/modules/Makefile.plugin
@@ -18,12 +18,12 @@
#
# CDDL HEADER END
#
-
#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
+#
.KEEP_STATE:
.SUFFIXES:
@@ -59,6 +59,7 @@ LINTFLAGS += -mu
LINTFILES = $(SRCS:%.c=%.ln)
APIMAP = ../../../libtopo/common/topo_mod.map
+MAPFILES = # use APIMAP instead
CFLAGS += $(CTF_FLAGS) $(CCVERBOSE) $(XSTRCONST) $(CC_PICFLAGS)
CFLAGS += -G $(XREGSFLAG)
diff --git a/usr/src/lib/gss_mechs/mech_dh/backend/Makefile.com b/usr/src/lib/gss_mechs/mech_dh/backend/Makefile.com
index 4c10189a4f..fbc32c2d59 100644
--- a/usr/src/lib/gss_mechs/mech_dh/backend/Makefile.com
+++ b/usr/src/lib/gss_mechs/mech_dh/backend/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,11 +19,13 @@
# CDDL HEADER END
#
#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
+
+#
# This make file will build mech_dh.so.1. This shared object
# contains all the functionality needed to support Diffie-Hellman GSS-API
# mechanism.
@@ -59,11 +60,9 @@ $(PICS) := CCFLAGS64 += $(XFFLAG)
LIBS = $(DYNLIB)
LIBNAME = $(LIBRARY:%.a=%)
-MAPFILE = ../mapfile-vers
-
-$(EXPORT_RELEASE_BUILD)MAPFILE = $(CLOSED)/lib/gss_mechs/mech_dh/backend/mapfile-vers-export
-
-DYNFLAGS += -M$(MAPFILE)
+MAPFILES = ../mapfile-vers
+$(EXPORT_RELEASE_BUILD)MAPFILES = \
+ $(CLOSED)/lib/gss_mechs/mech_dh/backend/mapfile-vers-export
LDLIBS += -lgss -lnsl -lc
diff --git a/usr/src/lib/gss_mechs/mech_dh/dh1024/Makefile.com b/usr/src/lib/gss_mechs/mech_dh/dh1024/Makefile.com
index 91c47d2f87..daa1aab50e 100644
--- a/usr/src/lib/gss_mechs/mech_dh/dh1024/Makefile.com
+++ b/usr/src/lib/gss_mechs/mech_dh/dh1024/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,12 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/gss_mechs/mech_dh/dh1024.so
+
#
# This make file will build dh1024.so.1. This shared object
# contains the functionality needed to initialize the Diffie-Hellman GSS-API
@@ -58,11 +57,9 @@ $(PICS) := CCFLAGS64 += $(XFFLAG)
LIBS = $(DYNLIB)
LIBNAME = $(LIBRARY:%.a=%)
-MAPFILE = ../mapfile-vers
-
-$(EXPORT_RELEASE_BUILD)MAPFILE = $(CLOSED)/lib/gss_mechs/mech_dh/dh1024/mapfile-vers-export
-
-DYNFLAGS += -M$(MAPFILE)
+MAPFILES = ../mapfile-vers
+$(EXPORT_RELEASE_BUILD)MAPFILES = \
+ $(CLOSED)/lib/gss_mechs/mech_dh/dh1024/mapfile-vers-export
LDLIBS += -lnsl -lmp -lc
diff --git a/usr/src/lib/gss_mechs/mech_dh/dh192/Makefile.com b/usr/src/lib/gss_mechs/mech_dh/dh192/Makefile.com
index 1fa573f0df..f6086a0450 100644
--- a/usr/src/lib/gss_mechs/mech_dh/dh192/Makefile.com
+++ b/usr/src/lib/gss_mechs/mech_dh/dh192/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,12 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/gss_mechs/mech_dh/dh192/dh192.so
+
#
# This make file will build dh192.so.1. This shared object
# contains the functionality needed to initialize the Diffie-Hellman GSS-API
@@ -58,11 +57,9 @@ $(PICS) := CCFLAGS64 += $(XFFLAG)
LIBS = $(DYNLIB)
LIBNAME = $(LIBRARY:%.a=%)
-MAPFILE = ../mapfile-vers
-
-$(EXPORT_RELEASE_BUILD)MAPFILE = $(CLOSED)/lib/gss_mechs/mech_dh/dh192/mapfile-vers-export
-
-DYNFLAGS += -M$(MAPFILE)
+MAPFILES = ../mapfile-vers
+$(EXPORT_RELEASE_BUILD)MAPFILES = \
+ $(CLOSED)/lib/gss_mechs/mech_dh/dh192/mapfile-vers-export
LDLIBS += -lnsl -lmp -lc
diff --git a/usr/src/lib/gss_mechs/mech_dh/dh640/Makefile.com b/usr/src/lib/gss_mechs/mech_dh/dh640/Makefile.com
index 0a614b0ea1..484c1257ce 100644
--- a/usr/src/lib/gss_mechs/mech_dh/dh640/Makefile.com
+++ b/usr/src/lib/gss_mechs/mech_dh/dh640/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,12 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/gss_mechs/mech_dh/dh640.so
+
#
# This make file will build dh640.so.1. This shared object
# contains the functionality needed to initialize the Diffie-Hellman GSS-API
@@ -58,11 +57,9 @@ $(PICS) := CCFLAGS64 += $(XFFLAG)
LIBS = $(DYNLIB)
LIBNAME = $(LIBRARY:%.a=%)
-MAPFILE = ../mapfile-vers
-
-$(EXPORT_RELEASE_BUILD)MAPFILE = $(CLOSED)/lib/gss_mechs/mech_dh/dh640/mapfile-vers-export
-
-DYNFLAGS += -M$(MAPFILE)
+MAPFILES = ../mapfile-vers
+$(EXPORT_RELEASE_BUILD)MAPFILES = \
+ $(CLOSED)/lib/gss_mechs/mech_dh/dh640/mapfile-vers-export
LDLIBS += -lnsl -lmp -lc
diff --git a/usr/src/lib/gss_mechs/mech_dummy/Makefile.com b/usr/src/lib/gss_mechs/mech_dummy/Makefile.com
index 3dee3af5db..4335c5acf5 100644
--- a/usr/src/lib/gss_mechs/mech_dummy/Makefile.com
+++ b/usr/src/lib/gss_mechs/mech_dummy/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,11 +19,13 @@
# CDDL HEADER END
#
#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
+
+#
# The mech_dummy shared object contains all the functionality needed to
# support the Dummy GSS-API mechanism.
#
@@ -35,6 +36,9 @@ OBJECTS = dmech.o
include $(SRC)/lib/Makefile.lib
+# There should be a mapfile here
+MAPFILES =
+
CPPFLAGS += -I../../libgss -I$(SRC)/uts/common/gssapi/include \
-I$(ROOT)/usr/include/gssapi
diff --git a/usr/src/lib/gss_mechs/mech_krb5/Makefile b/usr/src/lib/gss_mechs/mech_krb5/Makefile
index 58657e1b8d..c004c604a6 100644
--- a/usr/src/lib/gss_mechs/mech_krb5/Makefile
+++ b/usr/src/lib/gss_mechs/mech_krb5/Makefile
@@ -1,10 +1,30 @@
#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/gss_mechs/mech_krb5/Makefile
+
#
# This make file will build mech_krb5.so.1. This shared object
# contains all the functionality needed to support the Kereros V5 GSS-API
@@ -13,7 +33,8 @@
include ../../../Makefile.master
-SUBDIRS= spec .WAIT $(MACH) $(BUILD64) $(MACH64)
+SUBDIRS = $(MACH)
+$(BUILD64)SUBDIRS += $(MACH64)
# include library definitions
include ../../Makefile.lib
@@ -40,9 +61,7 @@ lint := TARGET= lint
.KEEP_STATE:
-all: .WAIT $(SUBDIRS)
-
-lint: .WAIT $(SUBDIRS)
+all clean lint: $(SUBDIRS)
install: install_dir all .WAIT $(SUBDIRS)
@@ -53,8 +72,6 @@ install_dir: $(ROOTLIBDIR) $(BUILD64)
install_h:
-clean: $(SUBDIRS)
-
clobber: $(SUBDIRS)
$(RM) $(POFILE) $(POFILES)
@@ -70,7 +87,7 @@ $(ROOTLIBDIR):
# include library targets
# include ../../Makefile.targ
-spec $(MACH) $(MACH64): FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
diff --git a/usr/src/lib/gss_mechs/mech_krb5/Makefile.com b/usr/src/lib/gss_mechs/mech_krb5/Makefile.com
index 0d39b26c16..97a7440871 100644
--- a/usr/src/lib/gss_mechs/mech_krb5/Makefile.com
+++ b/usr/src/lib/gss_mechs/mech_krb5/Makefile.com
@@ -1,9 +1,31 @@
#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
+
+#
# This make file will build mech_krb5.so.1. This shared object
# contains all the functionality needed to support the Kereros V5 GSS-API
# mechanism. No other Kerberos libraries are needed.
@@ -12,7 +34,6 @@
LIBRARY= mech_krb5.a
VERS = .1
-MAPFILE= $(MAPDIR)/mapfile
GROUP= sys
FILEMODE= 755
@@ -226,15 +247,17 @@ CPPFLAGS += -I$(REL_PATH)/libgss -I../include \
CPPFLAGS += $(KRB5_DEFS)
+MAPFILE_EXPORT = ../mapfile-vers-clean
+$(EXPORT_RELEASE_BUILD)MAPFILE_EXPORT = \
+ $(CLOSED)/lib/gss_mechs/mech_krb5/mapfile-vers-export
+MAPFILES = ../mapfile-vers $(MAPFILE_EXPORT)
+
$(EXPORT_RELEASE_BUILD)include $(CLOSED)/lib/gss_mechs/mech_krb5/Makefile.export
#CPPFLAGS += -D_REENTRANT
$(PICS) := CFLAGS += $(XFFLAG)
$(PICS) := CCFLAGS += $(XFFLAG)
-CLOBBERFILES += $(MAPFILE)
-DYNFLAGS += -M$(MAPFILE)
-
LIBS = $(DYNLIB) $(K5LIBLINK)
# override ROOTLIBDIR and ROOTLINKS
@@ -442,11 +465,6 @@ objs/%.o pics/%.o: $(REL_PATH)/support/%.c
$(COMPILE.c) -o $@ $<
$(POST_PROCESS_O)
-$(DYNLIB): $(MAPFILE)
-
-$(MAPFILE):
- @cd $(MAPDIR); $(MAKE) mapfile
-
# include library targets
include $(REL_PATH)/../../Makefile.targ
# We need to include all CPPFLAGS for the files since we are using
diff --git a/usr/src/lib/gss_mechs/mech_krb5/amd64/Makefile b/usr/src/lib/gss_mechs/mech_krb5/amd64/Makefile
index 678eac769c..e21d09eacc 100644
--- a/usr/src/lib/gss_mechs/mech_krb5/amd64/Makefile
+++ b/usr/src/lib/gss_mechs/mech_krb5/amd64/Makefile
@@ -1,11 +1,30 @@
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-MAPDIR= ../spec/amd64
include ../Makefile.com
include ../../../Makefile.lib.64
diff --git a/usr/src/lib/gss_mechs/mech_krb5/i386/Makefile b/usr/src/lib/gss_mechs/mech_krb5/i386/Makefile
index e0af9c4797..43d5c6cf02 100644
--- a/usr/src/lib/gss_mechs/mech_krb5/i386/Makefile
+++ b/usr/src/lib/gss_mechs/mech_krb5/i386/Makefile
@@ -1,12 +1,30 @@
#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/gss_mechs/mech_krb5/i386/Makefile
-MAPDIR= ../spec/i386
include ../Makefile.com
.KEEP_STATE:
diff --git a/usr/src/lib/gss_mechs/mech_krb5/mapfile-vers b/usr/src/lib/gss_mechs/mech_krb5/mapfile-vers
new file mode 100644
index 0000000000..a61439d044
--- /dev/null
+++ b/usr/src/lib/gss_mechs/mech_krb5/mapfile-vers
@@ -0,0 +1,791 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+# Due to mistakes made early in the history of this library, there are
+# no SUNW_1.1 symbols, but the version is now kept as a placeholder.
+# Don't add any symbols to this version.
+
+SUNW_1.1 {
+ global:
+ SUNW_1.1;
+};
+
+SUNWprivate_1.1 {
+ global:
+ adb_error_table;
+ asn12krb5_buf;
+ asn1buf_create;
+ asn1buf_destroy;
+ asn1buf_ensure_space;
+ asn1buf_expand;
+ asn1buf_free;
+ asn1buf_hex_unparse;
+ asn1buf_imbed;
+ asn1buf_insert_charstring;
+ asn1buf_insert_octet;
+ asn1buf_insert_octetstring;
+ asn1buf_len;
+ asn1buf_remains;
+ asn1buf_remove_charstring;
+ asn1buf_remove_octet;
+ asn1buf_remove_octetstring;
+ asn1buf_size;
+ asn1buf_skiptail;
+ asn1buf_sync;
+ asn1buf_unparse;
+ asn1buf_wrap_data;
+ asn1_decode_addrtype;
+ asn1_decode_ap_options;
+ asn1_decode_authdata_elt;
+ asn1_decode_authdatatype;
+ asn1_decode_authorization_data;
+ asn1_decode_charstring;
+ asn1_decode_checksum;
+ asn1_decode_cksumtype;
+ asn1_decode_enc_kdc_rep_part;
+ asn1_decode_encrypted_data;
+ asn1_decode_encryption_key;
+ asn1_decode_enc_sam_key;
+ asn1_decode_enc_sam_response_enc;
+ asn1_decode_enctype;
+ asn1_decode_etype_info;
+ asn1_decode_generalstring;
+ asn1_decode_generaltime;
+ asn1_decode_host_address;
+ asn1_decode_host_addresses;
+ asn1_decode_ia5string;
+ asn1_decode_int;
+ asn1_decode_int32;
+ asn1_decode_integer;
+ asn1_decode_kdc_options;
+ asn1_decode_kdc_rep;
+ asn1_decode_kdc_req;
+ asn1_decode_kdc_req_body;
+ asn1_decode_kerberos_time;
+ asn1_decode_krb5_flags;
+ asn1_decode_krb_cred_info;
+ asn1_decode_krb_safe_body;
+ asn1_decode_kvno;
+ asn1_decode_last_req;
+ asn1_decode_last_req_entry;
+ asn1_decode_msgtype;
+ asn1_decode_null;
+ asn1_decode_octet;
+ asn1_decode_octetstring;
+ asn1_decode_pa_data;
+ asn1_decode_passwdsequence;
+ asn1_decode_predicted_sam_response;
+ asn1_decode_principal_name;
+ asn1_decode_printablestring;
+ asn1_decode_realm;
+ asn1_decode_sam_challenge;
+ asn1_decode_sam_flags;
+ asn1_decode_sam_response;
+ asn1_decode_sequence_of_enctype;
+ asn1_decode_sequence_of_krb_cred_info;
+ asn1_decode_sequence_of_pa_data;
+ asn1_decode_sequence_of_passwdsequence;
+ asn1_decode_sequence_of_ticket;
+ asn1_decode_ticket;
+ asn1_decode_ticket_flags;
+ asn1_decode_transited_encoding;
+ asn1_decode_ui_2;
+ asn1_decode_ui_4;
+ asn1_decode_unsigned_integer;
+ asn1_encode_ap_options;
+ asn1_encode_authorization_data;
+ asn1_encode_charstring;
+ asn1_encode_checksum;
+ asn1_encode_enc_kdc_rep_part;
+ asn1_encode_encrypted_data;
+ asn1_encode_encryption_key;
+ asn1_encode_enc_sam_response_enc;
+ asn1_encode_etype_info;
+ asn1_encode_etype_info_entry;
+ asn1_encode_generalstring;
+ asn1_encode_generaltime;
+ asn1_encode_host_address;
+ asn1_encode_host_addresses;
+ asn1_encode_ia5string;
+ asn1_encode_integer;
+ asn1_encode_kdc_options;
+ asn1_encode_kdc_rep;
+ asn1_encode_kdc_req;
+ asn1_encode_kdc_req_body;
+ asn1_encode_kerberos_time;
+ asn1_encode_krb5_authdata_elt;
+ asn1_encode_krb5_flags;
+ asn1_encode_krb_cred_info;
+ asn1_encode_krb_safe_body;
+ asn1_encode_last_req;
+ asn1_encode_last_req_entry;
+ asn1_encode_null;
+ asn1_encode_octetstring;
+ asn1_encode_pa_data;
+ asn1_encode_passwdsequence;
+ asn1_encode_predicted_sam_response;
+ asn1_encode_principal_name;
+ asn1_encode_printablestring;
+ asn1_encode_realm;
+ asn1_encode_sam_challenge;
+ asn1_encode_sam_flags;
+ asn1_encode_sam_key;
+ asn1_encode_sam_response;
+ asn1_encode_sequence_of_enctype;
+ asn1_encode_sequence_of_krb_cred_info;
+ asn1_encode_sequence_of_pa_data;
+ asn1_encode_sequence_of_passwdsequence;
+ asn1_encode_sequence_of_ticket;
+ asn1_encode_ticket;
+ asn1_encode_ticket_flags;
+ asn1_encode_transited_encoding;
+ asn1_encode_ui_4;
+ asn1_encode_unsigned_integer;
+ asn1_error_table;
+ asn1_get_sequence;
+ asn1_get_tag_2;
+ asn1_krb5_realm_copy;
+ asn1_make_etag;
+ asn1_make_id;
+ asn1_make_length;
+ asn1_make_sequence;
+ asn1_make_set;
+ asn1_make_string;
+ asn1_make_tag;
+ com_err;
+ com_err_va;
+ daemon;
+ decode_krb5_alt_method;
+ decode_krb5_ap_rep;
+ decode_krb5_ap_rep_enc_part;
+ decode_krb5_ap_req;
+ decode_krb5_as_rep;
+ decode_krb5_as_req;
+ decode_krb5_authdata;
+ decode_krb5_authenticator;
+ decode_krb5_cred;
+ decode_krb5_enc_cred_part;
+ decode_krb5_enc_data;
+ decode_krb5_enc_kdc_rep_part;
+ decode_krb5_enc_priv_part;
+ decode_krb5_encryption_key;
+ decode_krb5_enc_sam_key;
+ decode_krb5_enc_sam_response_enc;
+ decode_krb5_enc_tkt_part;
+ decode_krb5_error;
+ decode_krb5_etype_info;
+ decode_krb5_kdc_req_body;
+ decode_krb5_padata_sequence;
+ decode_krb5_pa_enc_ts;
+ decode_krb5_predicted_sam_response;
+ decode_krb5_priv;
+ decode_krb5_pwd_data;
+ decode_krb5_pwd_sequence;
+ decode_krb5_safe;
+ decode_krb5_sam_challenge;
+ decode_krb5_sam_response;
+ decode_krb5_tgs_rep;
+ decode_krb5_tgs_req;
+ decode_krb5_ticket;
+ display_unknown;
+ encode_krb5_alt_method;
+ encode_krb5_ap_rep;
+ encode_krb5_ap_rep_enc_part;
+ encode_krb5_ap_req;
+ encode_krb5_as_rep;
+ encode_krb5_as_req;
+ encode_krb5_authdata;
+ encode_krb5_authenticator;
+ encode_krb5_cred;
+ encode_krb5_enc_cred_part;
+ encode_krb5_enc_data;
+ encode_krb5_enc_kdc_rep_part;
+ encode_krb5_enc_priv_part;
+ encode_krb5_encryption_key;
+ encode_krb5_enc_sam_response_enc;
+ encode_krb5_enc_tkt_part;
+ encode_krb5_error;
+ encode_krb5_etype_info;
+ encode_krb5_etype_info2;
+ encode_krb5_kdc_req_body;
+ encode_krb5_padata_sequence;
+ encode_krb5_pa_enc_ts;
+ encode_krb5_predicted_sam_response;
+ encode_krb5_priv;
+ encode_krb5_pwd_data;
+ encode_krb5_pwd_sequence;
+ encode_krb5_safe;
+ encode_krb5_sam_challenge;
+ encode_krb5_sam_key;
+ encode_krb5_sam_response;
+ encode_krb5_tgs_rep;
+ encode_krb5_tgs_req;
+ encode_krb5_ticket;
+ error_message;
+ foreach_localaddr;
+ g_delete_cred_id;
+ g_delete_ctx_id;
+ g_delete_name;
+ g_display_com_err_status;
+ g_display_major_status;
+ ggss_error_table;
+ g_local_host_name;
+ g_make_string_buffer;
+ g_make_token_header;
+ gmt_mktime;
+ g_order_check;
+ g_order_free;
+ g_order_init;
+ g_queue_externalize;
+ g_queue_internalize;
+ g_queue_size;
+ g_save_cred_id;
+ g_save_ctx_id;
+ g_save_name;
+ g_set_destroy;
+ g_set_entry_add;
+ g_set_entry_delete;
+ g_set_entry_get;
+ g_set_init;
+ gss_krb5_ccache_name;
+ gss_krb5_copy_ccache;
+ gss_krb5_get_tkt_flags;
+ gss_mech_krb5;
+ gss_mech_krb5_old;
+ gss_mech_krb5_v2;
+ gss_mech_set_krb5;
+ gss_mech_set_krb5_both;
+ gss_mech_set_krb5_old;
+ gss_mech_set_krb5_v1v2;
+ gss_mech_set_krb5_v2;
+ gss_nt_krb5_name;
+ gss_nt_krb5_principal;
+ gssspi_acquire_cred_with_password;
+ g_strdup;
+ g_token_size;
+ g_validate_cred_id;
+ g_validate_ctx_id;
+ g_validate_name;
+ g_verify_token_header;
+ imp_error_table;
+ k5_ef_hash;
+ k5_ef_mac;
+ k5g_error_table;
+ kadm_error_table;
+ kdb5_error_table;
+ kdc5_error_table;
+ kg2_parse_token;
+ kg_checksum_channel_bindings;
+ kg_confounder_size;
+ kg_context;
+ kg_ctx_externalize;
+ kg_ctx_internalize;
+ kg_ctx_size;
+ kg_decrypt;
+ kg_encrypt;
+ kg_encrypt_size;
+ kg_get_context;
+ kg_get_defcred;
+ kg_get_seq_num;
+ kg_make_confounder;
+ kg_make_seed;
+ kg_make_seq_num;
+ kg_oid_size;
+ kg_queue_size;
+ kg_release_defcred;
+ kg_seal;
+ kg_unseal;
+ kg_vdb;
+ kpws_error_table;
+ krb5_425_conv_principal;
+ krb5_524_conv_principal;
+ krb5_address_compare;
+ krb5_address_order;
+ krb5_address_search;
+ krb5_aname_to_localname;
+ krb5_appdefault_boolean;
+ krb5_appdefault_string;
+ krb5_auth_con_free;
+ krb5_auth_con_genaddrs;
+ krb5_auth_con_getaddrs;
+ krb5_auth_con_getauthenticator;
+ krb5_auth_con_get_checksum_func;
+ krb5_auth_con_getflags;
+ krb5_auth_con_getivector;
+ krb5_auth_con_getkey;
+ krb5_auth_con_getlocalseqnumber;
+ krb5_auth_con_getlocalsubkey;
+ krb5_auth_con_getpermetypes;
+ krb5_auth_con_getrcache;
+ krb5_auth_con_getrecvsubkey;
+ krb5_auth_con_getremoteseqnumber;
+ krb5_auth_con_getremotesubkey;
+ krb5_auth_con_getsendsubkey;
+ krb5_auth_con_init;
+ krb5_auth_con_initivector;
+ krb5_auth_con_setaddrs;
+ krb5_auth_con_set_checksum_func;
+ krb5_auth_con_setflags;
+ krb5_auth_con_setivector;
+ krb5_auth_con_setpermetypes;
+ krb5_auth_con_setports;
+ krb5_auth_con_setrcache;
+ krb5_auth_con_setrecvsubkey;
+ krb5_auth_con_set_req_cksumtype;
+ krb5_auth_con_set_safe_cksumtype;
+ krb5_auth_con_setsendsubkey;
+ krb5_auth_con_setuseruserkey;
+ krb5_auth_to_rep;
+ krb5_build_principal;
+ krb5_build_principal_ext;
+ krb5_build_principal_va;
+ krb5_c_block_size;
+ krb5_cc_close;
+ krb5_cc_copy_creds;
+ krb5_cc_default;
+ krb5_cc_default_name;
+ krb5_cc_destroy;
+ krb5_cc_dfl_ops;
+ krb5_cc_end_seq_get;
+ krb5_cc_file_ops;
+ krb5_cc_get_name;
+ krb5_cc_get_principal;
+ krb5_cc_get_type;
+ krb5_c_checksum_length;
+ krb5_cc_initialize;
+ krb5_cc_next_cred;
+ krb5_cc_register;
+ krb5_cc_resolve;
+ krb5_cc_retrieve_cred;
+ krb5_cc_set_default_name;
+ krb5_cc_set_flags;
+ krb5_cc_start_seq_get;
+ krb5_cc_store_cred;
+ krb5_c_decrypt;
+ krb5_c_encrypt;
+ krb5_c_encrypt_length;
+ krb5_c_enctype_compare;
+ krb5_c_free_state;
+ krb5_change_cache;
+ krb5_change_password;
+ krb5_checksum_size;
+ krb5_check_transited_list;
+ krb5_c_init_state;
+ krb5_c_is_coll_proof_cksum;
+ krb5_c_is_keyed_cksum;
+ krb5_c_keyed_checksum_types;
+ krb5_cksumtypes_length;
+ krb5_cksumtypes_list;
+ krb5_cksumtype_to_string;
+ krb5_c_make_checksum;
+ krb5_c_make_random_key;
+ krb5_copy_addr;
+ krb5_copy_addresses;
+ krb5_copy_authdata;
+ krb5_copy_authenticator;
+ krb5_copy_checksum;
+ krb5_copy_creds;
+ krb5_copy_data;
+ krb5_copy_keyblock;
+ krb5_copy_keyblock_contents;
+ krb5_copy_keyblock_data;
+ krb5_copy_principal;
+ krb5_copy_ticket;
+ krb5_c_random_make_octets;
+ krb5_c_random_seed;
+ krb5_create_secure_file;
+ krb5_crypto_us_timeofday;
+ krb5_c_string_to_key;
+ krb5_c_string_to_key_with_params;
+ krb5_c_valid_cksumtype;
+ krb5_c_valid_enctype;
+ krb5_c_verify_checksum;
+ krb5_decode_kdc_rep;
+ krb5_decode_ticket;
+ krb5_decrypt_tkt_part;
+ krb5_default_pwd_prompt1;
+ krb5_default_pwd_prompt2;
+ krb5_defkeyname;
+ krb5_do_preauth;
+ krb5_encode_kdc_rep;
+ krb5_encrypt_helper;
+ krb5_encrypt_tkt_part;
+ krb5_enctypes_length;
+ krb5_enctypes_list;
+ krb5_enctype_to_string;
+ krb5_error_table;
+ krb5_externalize_data;
+ krb5_externalize_opaque;
+ krb5_fcc_ops;
+ krb5_find_serializer;
+ krb5_free_address;
+ krb5_free_addresses;
+ krb5_free_ap_rep;
+ krb5_free_ap_rep_enc_part;
+ krb5_free_ap_req;
+ krb5_free_authdata;
+ krb5_free_authenticator;
+ krb5_free_authenticator_contents;
+ krb5_free_checksum;
+ krb5_free_checksum_contents;
+ krb5_free_cksumtypes;
+ krb5_free_config_files;
+ krb5_free_context;
+ krb5_free_cred;
+ krb5_free_cred_contents;
+ krb5_free_cred_enc_part;
+ krb5_free_creds;
+ krb5_free_data;
+ krb5_free_data_contents;
+ krb5_free_default_realm;
+ krb5_free_ef_handle;
+ krb5_free_enc_kdc_rep_part;
+ krb5_free_enc_sam_response_enc;
+ krb5_free_enc_sam_response_enc_contents;
+ krb5_free_enc_tkt_part;
+ krb5_free_error;
+ krb5_free_etype_info;
+ krb5_free_host_realm;
+ krb5_free_kdc_rep;
+ krb5_free_kdc_req;
+ krb5_free_keyblock;
+ krb5_free_keyblock_contents;
+ krb5_free_krbhst;
+ krb5_free_ktypes;
+ krb5_free_last_req;
+ krb5_free_pa_data;
+ krb5_free_pa_enc_ts;
+ krb5_free_predicted_sam_response;
+ krb5_free_predicted_sam_response_contents;
+ krb5_free_principal;
+ krb5_free_priv;
+ krb5_free_priv_enc_part;
+ krb5_free_pwd_data;
+ krb5_free_pwd_sequences;
+ krb5_free_realm_string;
+ krb5_free_realm_tree;
+ krb5_free_safe;
+ krb5_free_sam_challenge;
+ krb5_free_sam_challenge_contents;
+ krb5_free_sam_response;
+ krb5_free_sam_response_contents;
+ krb5_free_tgt_creds;
+ krb5_free_ticket;
+ krb5_free_tickets;
+ krb5_free_tkt_authent;
+ krb5_free_uio;
+ krb5_free_unparsed_name;
+ krb5_fwd_tgt_creds;
+ krb5_generate_seq_number;
+ krb5_generate_subkey;
+ krb5_gen_portaddr;
+ krb5_gen_replay_name;
+ krb5_get_credentials;
+ krb5_get_credentials_renew;
+ krb5_get_credentials_validate;
+ krb5_get_cred_from_kdc;
+ krb5_get_cred_from_kdc_renew;
+ krb5_get_cred_from_kdc_validate;
+ krb5_get_cred_via_tkt;
+ krb5_get_default_config_files;
+ krb5_get_default_in_tkt_ktypes;
+ krb5_get_default_realm;
+ krb5_getenv;
+ krb5_get_host_realm;
+ krb5_get_init_creds;
+ krb5_get_init_creds_keytab;
+ krb5_get_init_creds_opt_init;
+ krb5_get_init_creds_opt_set_address_list;
+ krb5_get_init_creds_opt_set_etype_list;
+ krb5_get_init_creds_opt_set_forwardable;
+ krb5_get_init_creds_opt_set_preauth_list;
+ krb5_get_init_creds_opt_set_proxiable;
+ krb5_get_init_creds_opt_set_renew_life;
+ krb5_get_init_creds_opt_set_salt;
+ krb5_get_init_creds_opt_set_tkt_life;
+ krb5_get_init_creds_password;
+ krb5_get_key_data;
+ krb5_get_key_enctype;
+ krb5_get_key_length;
+ krb5_get_krbhst;
+ krb5_get_notification_message;
+ krb5_get_permitted_enctypes;
+ krb5_get_profile;
+ krb5_get_prompt_types;
+ krb5_get_realm_domain;
+ krb5_get_renewed_creds;
+ krb5_get_servername;
+ krb5_get_server_rcache;
+ krb5_get_tgs_ktypes;
+ krb5_get_time_offsets;
+ krb5_get_validated_creds;
+ krb5_gss_import_name;
+ krb5_gss_init_sec_context;
+ krb5_gss_oid_array;
+ krb5_gss_userok;
+ krb5_hmac;
+ krb5_init_allocated_keyblock;
+ krb5_init_context;
+ krb5_init_ef_handle;
+ krb5_init_keyblock;
+ krb5_init_secure_context;
+ krb5int_aes_encrypt;
+ krb5int_cm_call_select;
+ krb5_internalize_opaque;
+ krb5int_pbkdf2_hmac_sha1;
+ krb5int_sendtokdc_debug_handler;
+ krb5_is_permitted_enctype;
+ krb5_kdc_rep_decrypt_proc;
+ krb5_kt_add_entry;
+ krb5_kt_close;
+ krb5_kt_default;
+ krb5_kt_default_name;
+ krb5_kt_dfl_ops;
+ krb5_kt_end_seq_get;
+ krb5_ktfile_add;
+ krb5_ktfile_close;
+ krb5_ktfile_end_get;
+ krb5_ktfile_get_entry;
+ krb5_ktfile_get_name;
+ krb5_ktfile_get_next;
+ krb5_ktfileint_close;
+ krb5_ktfileint_delete_entry;
+ krb5_ktfileint_find_slot;
+ krb5_ktfileint_internal_read_entry;
+ krb5_ktfileint_openr;
+ krb5_ktfileint_openw;
+ krb5_ktfileint_read_entry;
+ krb5_ktfileint_size_entry;
+ krb5_ktfileint_write_entry;
+ krb5_ktfile_remove;
+ krb5_ktfile_resolve;
+ krb5_ktfile_ser_entry;
+ krb5_ktfile_start_seq_get;
+ krb5_ktfile_wresolve;
+ krb5_ktf_ops;
+ krb5_kt_free_entry;
+ krb5_ktf_writable_ops;
+ krb5_kt_get_entry;
+ krb5_kt_get_name;
+ krb5_kt_next_entry;
+ krb5_kt_read_service_key;
+ krb5_kt_register;
+ krb5_kt_remove_entry;
+ krb5_kt_resolve;
+ krb5_kt_start_seq_get;
+ krb5_kuserok;
+ krb5_libdefault_boolean;
+ krb5_locate_kdc;
+ krb5_lock_file;
+ krb5_make_fulladdr;
+ krb5_make_full_ipaddr;
+ krb5_max_dgram_size;
+ krb5_max_skdc_timeout;
+ krb5_mk_1cred;
+ krb5_mk_error;
+ krb5_mk_ncred;
+ krb5_mk_priv;
+ krb5_mk_rep;
+ krb5_mk_req;
+ krb5_mk_req_extended;
+ krb5_mk_safe;
+ krb5_mutex;
+ krb5_net_read;
+ krb5_net_write;
+ krb5_nfold;
+ krb5_old_decrypt;
+ krb5_old_encrypt;
+ krb5_old_encrypt_length;
+ krb5_os_free_context;
+ krb5_os_get_tty_uio;
+ krb5_os_hostaddr;
+ krb5_os_init_context;
+ krb5_os_localaddr;
+ krb5_overridekeyname;
+ krb5_parse_name;
+ krb5_pname_to_uid;
+ krb5_principal2salt;
+ krb5_principal2salt_norealm;
+ krb5_principal_compare;
+ krb5_privacy_allowed;
+ krb5_prompter_posix;
+ krb5_raw_decrypt;
+ krb5_raw_encrypt;
+ krb5_raw_encrypt_length;
+ krb5_rc_close;
+ krb5_rc_default;
+ krb5_rc_default_name;
+ krb5_rc_file_close;
+ krb5_rc_file_close_no_free;
+ krb5_rc_file_destroy;
+ krb5_rc_file_expunge;
+ krb5_rc_file_get_name;
+ krb5_rc_file_get_span;
+ krb5_rc_file_init;
+ krb5_rc_file_ops;
+ krb5_rc_file_recover;
+ krb5_rc_file_resolve;
+ krb5_rc_file_store;
+ krb5_rc_free_entry;
+ krb5_rc_get_type;
+ krb5_rc_io_close;
+ krb5_rc_io_creat;
+ krb5_rc_io_destroy;
+ krb5_rc_io_mark;
+ krb5_rc_io_move;
+ krb5_rc_io_open;
+ krb5_rc_io_read;
+ krb5_rc_io_size;
+ krb5_rc_io_sync;
+ krb5_rc_io_unmark;
+ krb5_rc_io_write;
+ krb5_rc_mem_close;
+ krb5_rc_mem_destroy;
+ krb5_rc_mem_get_name;
+ krb5_rc_mem_get_span;
+ krb5_rc_mem_init;
+ krb5_rc_mem_ops;
+ krb5_rc_mem_recover;
+ krb5_rc_mem_resolve;
+ krb5_rc_mem_store;
+ krb5_rc_register_type;
+ krb5_rc_resolve;
+ krb5_rc_resolve_full;
+ krb5_rd_cred;
+ krb5_rd_error;
+ krb5_rd_priv;
+ krb5_rd_rep;
+ krb5_rd_req;
+ krb5_rd_req_decoded;
+ krb5_rd_req_decoded_anyflag;
+ krb5_rd_safe;
+ krb5_read_message;
+ krb5_read_password;
+ krb5_realm_compare;
+ krb5_realm_iterator;
+ krb5_realm_iterator_create;
+ krb5_realm_iterator_free;
+ krb5_recvauth;
+ krb5_recvauth_version;
+ krb5_register_serializer;
+ krb5_salttype_to_string;
+ krb5_secure_config_files;
+ krb5_sendauth;
+ krb5_send_tgs;
+ krb5_sendto_kdc;
+ krb5_ser_address_init;
+ krb5_ser_auth_context_init;
+ krb5_ser_authdata_init;
+ krb5_ser_authenticator_init;
+ krb5_ser_ccache_init;
+ krb5_ser_checksum_init;
+ krb5_ser_context_init;
+ krb5_ser_keyblock_init;
+ krb5_ser_keytab_init;
+ krb5_ser_pack_bytes;
+ krb5_ser_pack_int32;
+ krb5_ser_principal_init;
+ krb5_ser_rcache_init;
+ krb5_ser_unpack_bytes;
+ krb5_ser_unpack_int32;
+ krb5_set_config_files;
+ krb5_set_debugging_time;
+ krb5_set_default_in_tkt_ktypes;
+ krb5_set_default_realm;
+ krb5_set_default_tgs_ktypes;
+ krb5_setenv;
+ krb5_set_key_data;
+ krb5_set_key_enctype;
+ krb5_set_key_length;
+ krb5_set_password;
+ krb5_set_principal_realm;
+ krb5_set_real_time;
+ krb5_set_time_offsets;
+ krb5_size_opaque;
+ krb5_skdc_timeout_1;
+ krb5_skdc_timeout_shift;
+ krb5_sname_to_principal;
+ krb5_string_to_cksumtype;
+ krb5_string_to_deltat;
+ krb5_string_to_enctype;
+ krb5_string_to_key;
+ krb5_string_to_salttype;
+ krb5_string_to_timestamp;
+ krb5_sync_disk_file;
+ krb5_tgtname;
+ krb5_timeofday;
+ krb5_timestamp_to_sfstring;
+ krb5_timestamp_to_string;
+ krb5_unlock_file;
+ krb5_unpack_full_ipaddr;
+ krb5_unparse_name;
+ krb5_unparse_name_ext;
+ krb5_unsetenv;
+ krb5_use_enctype;
+ krb5_use_natural_time;
+ krb5_us_timeofday;
+ krb5_validate_times;
+ krb5_verify_init_creds;
+ krb5_verify_init_creds_opt_init;
+ krb5_verify_init_creds_opt_set_ap_req_nofail;
+ krb5_walk_realm_tree;
+ krb5_write_message;
+ kv5m_error_table;
+ mit_des_check_key_parity;
+ mit_des_fixup_key_parity;
+ mit_des_is_weak_key;
+ ovk_error_table;
+ ovku_error_table;
+ prof_error_table;
+ profile_add_node;
+ profile_close_file;
+ profile_create_node;
+ profile_find_node_relation;
+ profile_find_node_subsection;
+ profile_free_node;
+ profile_get_integer;
+ profile_get_node_parent;
+ profile_get_options_boolean;
+ profile_get_options_string;
+ profile_get_string;
+ profile_get_values;
+ profile_init;
+ profile_init_path;
+ profile_open_file;
+ profile_parse_file;
+ profile_release;
+ profile_ser_externalize;
+ profile_ser_internalize;
+ profile_ser_size;
+ profile_verify_node;
+ pty_error_table;
+ reset_com_err_hook;
+ set_com_err_hook;
+ ss_error_table;
+ local:
+ *;
+};
diff --git a/usr/src/lib/gss_mechs/mech_krb5/mapfile-vers-clean b/usr/src/lib/gss_mechs/mech_krb5/mapfile-vers-clean
new file mode 100644
index 0000000000..6c27fdea9c
--- /dev/null
+++ b/usr/src/lib/gss_mechs/mech_krb5/mapfile-vers-clean
@@ -0,0 +1,33 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNWprivate_1.1 {
+ global:
+ gss_mech_initialize;
+ mit_afs_string_to_key;
+ mit_des_string_to_key_int;
+};
diff --git a/usr/src/lib/gss_mechs/mech_krb5/sparc/Makefile b/usr/src/lib/gss_mechs/mech_krb5/sparc/Makefile
index 76ddfcd781..4a270806e9 100644
--- a/usr/src/lib/gss_mechs/mech_krb5/sparc/Makefile
+++ b/usr/src/lib/gss_mechs/mech_krb5/sparc/Makefile
@@ -1,12 +1,30 @@
#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/gss_mechs/mech_krb5/sparc/Makefile
-MAPDIR= ../spec/sparc
include ../Makefile.com
sparc_C_PICFLAGS = $(C_BIGPICFLAGS)
diff --git a/usr/src/lib/gss_mechs/mech_krb5/sparcv9/Makefile b/usr/src/lib/gss_mechs/mech_krb5/sparcv9/Makefile
index 6d11fcc758..cce46ce8d9 100644
--- a/usr/src/lib/gss_mechs/mech_krb5/sparcv9/Makefile
+++ b/usr/src/lib/gss_mechs/mech_krb5/sparcv9/Makefile
@@ -1,12 +1,30 @@
#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
-# lib/gss_mechs/mech_dummy/sparcv9/Makefile
-MAPDIR= ../spec/sparcv9
include ../Makefile.com
include ../../../Makefile.lib.64
diff --git a/usr/src/lib/gss_mechs/mech_krb5/spec/Makefile b/usr/src/lib/gss_mechs/mech_krb5/spec/Makefile
deleted file mode 100644
index 1fb89ffa2f..0000000000
--- a/usr/src/lib/gss_mechs/mech_krb5/spec/Makefile
+++ /dev/null
@@ -1,15 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/gss_mechs/mech_krb5/spec/Makefile
-
-include $(SRC)/lib/Makefile.spec.arch
-
-CHMOD= /usr/bin/chmod
-MV= /usr/bin/mv -f
-RM= /usr/bin/rm -f
-SED= /usr/bin/sed
-
diff --git a/usr/src/lib/gss_mechs/mech_krb5/spec/Makefile.spec b/usr/src/lib/gss_mechs/mech_krb5/spec/Makefile.spec
deleted file mode 100644
index 83e66353d4..0000000000
--- a/usr/src/lib/gss_mechs/mech_krb5/spec/Makefile.spec
+++ /dev/null
@@ -1,41 +0,0 @@
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# gss_mechs/mech_krb5/spec/Makefile.spec
-
-include $(SRC)/lib/gss_mechs/mech_krb5/Makefile.mech_krb5
-include $(SRC)/lib/Makefile.spec
-
-ABILINK= $(ABILIBNAME).so$(VERS)
-
-#
-# usr/lib/gss/abi targets
-#
-
-ROOTABIDIR= $(ROOT)$(KLIBDIR)/abi
-ROOTABIDIR_REL= ../../abi
-
-RELABIDIR64= ../../../../gss/abi/$(MACH64)
-ROOTABIDIR64= $(ROOTABIDIR)/$(MACH64)
-
-ROOTABIDIR64_REL= ../$(ROOTABIDIR_REL)/$(MACH64)
-GSSABIDIR64= $(ROOT)/usr/lib/$(MACH64)/gss/abi
-
-ROOTABILIB= $(ROOTABIDIR)/$(ABILIB)
-ROOTABILIB_REL= $(ROOTABIDIR_REL)/$(ABILIB)
-ROOTABILIB64= $(ROOTABIDIR64)/$(ABILIB)
-ROOTABILIB64_REL= $(ROOTABIDIR64_REL)/$(ABILIB)
-
-ROOTABILINK= $(ROOTABIDIR)/$(ABILINK)
-ROOTABILINK64= $(ROOTABIDIR64)/$(ABILINK)
-RELABILINK64= $(RELABIDIR64)/$(ABILINK)
-GSSABILINK64= $(GSSABIDIR64)/$(ABILINK)
-
-$(ROOTABIDIR) $(ROOTABIDIR64) $(GSSABIDIR64):
- $(INS.dir)
-
-$(ROOTABILIB) $(ROOTABILIB64): $(SPECMAP) $(ABILIB)
- $(INS.abilib)
-
diff --git a/usr/src/lib/gss_mechs/mech_krb5/spec/Makefile.targ b/usr/src/lib/gss_mechs/mech_krb5/spec/Makefile.targ
deleted file mode 100644
index 320d564b2d..0000000000
--- a/usr/src/lib/gss_mechs/mech_krb5/spec/Makefile.targ
+++ /dev/null
@@ -1,22 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# lib/gss_mechs/mech_krb5/spec/Makefile.targ
-
-LIBRARY = mech_krb5.a
-VERS = .1
-
-EXPORT = krb5_clean.o
-$(EXPORT_RELEASE_BUILD)EXPORT = ../../../../../closed/lib/gss_mechs/mech_krb5/spec/krb5_export.o
-
-OBJECTS = krb5_asn1.o krb5_gss.o krb5_int.o krb5_cache.o \
- krb5_mech1.o krb5_mech2.o krb5_mech3.o krb5_crypto.o \
- krb5_profile.o krb5_errtbl.o krb5_keytab.o krb5_krb.o \
- $(EXPORT)
-
-TRANSCPP =
-
-SPECCPP = -I..
diff --git a/usr/src/lib/gss_mechs/mech_krb5/spec/amd64/Makefile b/usr/src/lib/gss_mechs/mech_krb5/spec/amd64/Makefile
deleted file mode 100644
index d256579bdc..0000000000
--- a/usr/src/lib/gss_mechs/mech_krb5/spec/amd64/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-# Uncomment the following if the linker complains
-#amd64_C_PICFLAGS = -K PIC
-
-# These include paths must be searched before includes paths in CPPFLAGS
-CFLAGS64 += -I$(SRC)/lib/gss_mechs/mech_krb5/include \
- -I$(SRC)/lib/gss_mechs/mech_krb5/include/krb5 \
- -I$(SRC)/lib/gss_mechs/mech_krb5/krb5/asn.1 \
- -I$(SRC)/lib/gss_mechs/mech_krb5/profile \
- -I$(SRC)/lib/gss_mechs/mech_krb5/krb5/ccache/file \
- -I$(SRC)/lib/gss_mechs/mech_krb5/krb5/ccache/stdio \
- -I$(SRC)/lib/gss_mechs/mech_krb5/krb5/keytab/file \
- -I$(SRC)/lib/gss_mechs/mech_krb5/krb5/os \
- -I$(SRC)/lib/gss_mechs/mech_krb5/krb5/rcache \
- -I$(SRC)/lib/gss_mechs/mech_krb5/et \
- -I$(SRC)/uts/common/gssapi \
- -I$(SRC)/uts/common/gssapi/include \
- -I$(SRC)/uts/common/gssapi/mechs/krb5/include
-
-include $(SRC)/lib/gss_mechs/mech_krb5/spec/Makefile.spec
-
-install:
diff --git a/usr/src/lib/gss_mechs/mech_krb5/spec/i386/Makefile b/usr/src/lib/gss_mechs/mech_krb5/spec/i386/Makefile
deleted file mode 100644
index 578a4b2eaa..0000000000
--- a/usr/src/lib/gss_mechs/mech_krb5/spec/i386/Makefile
+++ /dev/null
@@ -1,38 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# lib/gss_mechs/mech_krb5/spec/i386/Makefile
-
-.KEEP_STATE:
-
-include $(SRC)/lib/Makefile.lib
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-# Uncomment the following if the linker complains
-i386_C_PICFLAGS = $(C_BIGPICFLAGS)
-
-# These include paths must be searched before includes paths in CPPFLAGS
-CFLAGS += -I$(SRC)/lib/gss_mechs/mech_krb5/include \
- -I$(SRC)/lib/gss_mechs/mech_krb5/include/krb5 \
- -I$(SRC)/lib/gss_mechs/mech_krb5/krb5/asn.1 \
- -I$(SRC)/lib/gss_mechs/mech_krb5/profile \
- -I$(SRC)/lib/gss_mechs/mech_krb5/krb5/ccache/file \
- -I$(SRC)/lib/gss_mechs/mech_krb5/krb5/ccache/stdio \
- -I$(SRC)/lib/gss_mechs/mech_krb5/krb5/keytab/file \
- -I$(SRC)/lib/gss_mechs/mech_krb5/krb5/os \
- -I$(SRC)/lib/gss_mechs/mech_krb5/krb5/rcache \
- -I$(SRC)/lib/gss_mechs/mech_krb5/et \
- -I$(SRC)/uts/common/gssapi/ \
- -I$(SRC)/uts/common/gssapi/include \
- -I$(SRC)/uts/common/gssapi/mechs/krb5/include
-
-include $(SRC)/lib/gss_mechs/mech_krb5/spec/Makefile.spec
-
-install:
diff --git a/usr/src/lib/gss_mechs/mech_krb5/spec/krb5_asn1.spec b/usr/src/lib/gss_mechs/mech_krb5/spec/krb5_asn1.spec
deleted file mode 100644
index 806451ca0a..0000000000
--- a/usr/src/lib/gss_mechs/mech_krb5/spec/krb5_asn1.spec
+++ /dev/null
@@ -1,1029 +0,0 @@
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# lib/gss_mechs/mech_krb5/spec/krb5_asn1.spec
-#
-
-function asn12krb5_buf
-include <asn1buf.h>
-declaration asn1_error_code asn12krb5_buf \
- (const asn1buf *buf, krb5_data **code)
-version SUNWprivate_1.1
-end
-
-function asn1_decode_addrtype
-include <asn1_k_decode.h>
-declaration asn1_error_code asn1_decode_addrtype \
- (asn1buf *buf, krb5_addrtype *val)
-version SUNWprivate_1.1
-end
-
-function asn1_decode_ap_options
-include <asn1_k_decode.h>
-declaration asn1_error_code asn1_decode_ap_options \
- (asn1buf *buf, krb5_flags *val)
-version SUNWprivate_1.1
-end
-
-function asn1_decode_authdata_elt
-include <asn1_k_decode.h>
-declaration asn1_error_code asn1_decode_authdata_elt \
- (asn1buf *buf, krb5_authdata *val)
-version SUNWprivate_1.1
-end
-
-function asn1_decode_authdatatype
-include <asn1_k_decode.h>
-declaration asn1_error_code asn1_decode_authdatatype \
- (asn1buf *buf, krb5_authdatatype *val)
-version SUNWprivate_1.1
-end
-
-function asn1_decode_authorization_data
-include <asn1_k_decode.h>
-declaration asn1_error_code asn1_decode_authorization_data \
- (asn1buf *buf, krb5_authdata ***val)
-version SUNWprivate_1.1
-end
-
-function asn1_decode_charstring
-include <asn1_decode.h>
-declaration asn1_error_code asn1_decode_charstring \
- (asn1buf *buf, unsigned int *retlen, char **val)
-version SUNWprivate_1.1
-end
-
-function asn1_decode_checksum
-include <asn1_k_decode.h>
-declaration asn1_error_code asn1_decode_checksum \
- (asn1buf *buf, krb5_checksum *val)
-version SUNWprivate_1.1
-end
-
-function asn1_decode_cksumtype
-include <asn1_k_decode.h>
-declaration asn1_error_code asn1_decode_cksumtype \
- (asn1buf *buf, krb5_cksumtype *val)
-version SUNWprivate_1.1
-end
-
-function asn1_decode_enc_kdc_rep_part
-include <asn1_k_decode.h>
-declaration asn1_error_code asn1_decode_enc_kdc_rep_part \
- (asn1buf *buf, krb5_enc_kdc_rep_part *val)
-version SUNWprivate_1.1
-end
-
-function asn1_decode_enc_sam_key
-include <asn1_k_decode.h>
-declaration asn1_error_code asn1_decode_enc_sam_key \
- (asn1buf *buf, krb5_sam_key *val)
-version SUNWprivate_1.1
-end
-
-function asn1_decode_enc_sam_response_enc
-include <asn1_k_decode.h>
-declaration asn1_error_code asn1_decode_enc_sam_response_enc \
- (asn1buf *buf, krb5_enc_sam_response_enc *val)
-version SUNWprivate_1.1
-end
-
-function asn1_decode_encrypted_data
-include <asn1_k_decode.h>
-declaration asn1_error_code asn1_decode_encrypted_data \
- (asn1buf *buf, krb5_enc_data *val)
-version SUNWprivate_1.1
-end
-
-function asn1_decode_encryption_key
-include <asn1_k_decode.h>
-declaration asn1_error_code asn1_decode_encryption_key \
- (asn1buf *buf, krb5_keyblock *val)
-version SUNWprivate_1.1
-end
-
-function asn1_decode_enctype
-include <asn1_k_decode.h>
-declaration asn1_error_code asn1_decode_enctype \
- (asn1buf *buf, krb5_enctype *val)
-version SUNWprivate_1.1
-end
-
-function asn1_decode_etype_info
-include <asn1_k_decode.h>
-declaration asn1_error_code asn1_decode_etype_info \
- (asn1buf *buf, krb5_etype_info_entry ***val)
-version SUNWprivate_1.1
-end
-
-function asn1_decode_generalstring
-include <asn1_decode.h>
-declaration asn1_error_code asn1_decode_generalstring \
- (asn1buf *buf, unsigned int *retlen, char **val)
-version SUNWprivate_1.1
-end
-
-function asn1_decode_generaltime
-include <asn1_decode.h>
-declaration asn1_error_code asn1_decode_generaltime \
- (asn1buf *buf, time_t *val)
-version SUNWprivate_1.1
-end
-
-function asn1_decode_host_address
-include <asn1_k_decode.h>
-declaration asn1_error_code asn1_decode_host_address \
- (asn1buf *buf, krb5_address *val)
-version SUNWprivate_1.1
-end
-
-function asn1_decode_host_addresses
-include <asn1_k_decode.h>
-declaration asn1_error_code asn1_decode_host_addresses \
- (asn1buf *buf, krb5_address ***val)
-version SUNWprivate_1.1
-end
-
-function asn1_decode_ia5string
-include <asn1_decode.h>
-declaration asn1_error_code asn1_decode_ia5string \
- (asn1buf *buf, int *retlen, char **val)
-version SUNWprivate_1.1
-end
-
-function asn1_decode_int
-include <asn1_k_decode.h>
-declaration asn1_error_code asn1_decode_int \
- (asn1buf *buf, int *val)
-version SUNWprivate_1.1
-end
-
-function asn1_decode_int32
-include <asn1_k_decode.h>
-declaration asn1_error_code asn1_decode_int32 \
- (asn1buf *buf, krb5_int32 *val)
-version SUNWprivate_1.1
-end
-
-function asn1_decode_integer
-include <asn1_decode.h>
-declaration asn1_error_code asn1_decode_integer \
- (asn1buf *buf, long *val)
-version SUNWprivate_1.1
-end
-
-function asn1_decode_kdc_options
-include <asn1_k_decode.h>
-declaration asn1_error_code asn1_decode_kdc_options \
- (asn1buf *buf, krb5_flags *val)
-version SUNWprivate_1.1
-end
-
-function asn1_decode_kdc_rep
-include <asn1_k_decode.h>
-declaration asn1_error_code asn1_decode_kdc_rep \
- (asn1buf *buf, krb5_kdc_rep *val)
-version SUNWprivate_1.1
-end
-
-function asn1_decode_kdc_req
-include <asn1_k_decode.h>
-declaration asn1_error_code asn1_decode_kdc_req \
- (asn1buf *buf, krb5_kdc_req *val)
-version SUNWprivate_1.1
-end
-
-function asn1_decode_kdc_req_body
-include <asn1_k_decode.h>
-declaration asn1_error_code asn1_decode_kdc_req_body \
- (asn1buf *buf, krb5_kdc_req *val)
-version SUNWprivate_1.1
-end
-
-function asn1_decode_kerberos_time
-include <asn1_k_decode.h>
-declaration asn1_error_code asn1_decode_kerberos_time \
- (asn1buf *buf, krb5_timestamp *val)
-version SUNWprivate_1.1
-end
-
-function asn1_decode_krb5_flags
-include <asn1_k_decode.h>
-declaration asn1_error_code asn1_decode_krb5_flags \
- (asn1buf *buf, krb5_flags *val)
-version SUNWprivate_1.1
-end
-
-function asn1_decode_krb_cred_info
-include <asn1_k_decode.h>
-declaration asn1_error_code asn1_decode_krb_cred_info \
- (asn1buf *buf, krb5_cred_info *val)
-version SUNWprivate_1.1
-end
-
-function asn1_decode_krb_safe_body
-include <asn1_k_decode.h>
-declaration asn1_error_code asn1_decode_krb_safe_body \
- (asn1buf *buf, krb5_safe *val)
-version SUNWprivate_1.1
-end
-
-function asn1_decode_kvno
-include <asn1_k_decode.h>
-declaration asn1_error_code asn1_decode_kvno \
- (asn1buf *buf, krb5_kvno *val)
-version SUNWprivate_1.1
-end
-
-function asn1_decode_last_req
-include <asn1_k_decode.h>
-declaration asn1_error_code asn1_decode_last_req \
- (asn1buf *buf, krb5_last_req_entry ***val)
-version SUNWprivate_1.1
-end
-
-function asn1_decode_last_req_entry
-include <asn1_k_decode.h>
-declaration asn1_error_code asn1_decode_last_req_entry \
- (asn1buf *buf, krb5_last_req_entry *val)
-version SUNWprivate_1.1
-end
-
-function asn1_decode_msgtype
-include <asn1_k_decode.h>
-declaration asn1_error_code asn1_decode_msgtype \
- (asn1buf *buf, krb5_msgtype *val)
-version SUNWprivate_1.1
-end
-
-function asn1_decode_null
-include <asn1_decode.h>
-declaration asn1_error_code asn1_decode_null(asn1buf *buf)
-version SUNWprivate_1.1
-end
-
-function asn1_decode_octet
-include <asn1_k_decode.h>
-declaration asn1_error_code asn1_decode_octet \
- (asn1buf *buf, krb5_octet *val)
-version SUNWprivate_1.1
-end
-
-function asn1_decode_octetstring
-include <asn1_decode.h>
-declaration asn1_error_code asn1_decode_octetstring \
- (asn1buf *buf, unsigned int *retlen, asn1_octet **val)
-version SUNWprivate_1.1
-end
-
-function asn1_decode_pa_data
-include <asn1_k_decode.h>
-declaration asn1_error_code asn1_decode_pa_data \
- (asn1buf *buf, krb5_pa_data *val)
-version SUNWprivate_1.1
-end
-
-function asn1_decode_passwdsequence
-include <asn1_k_decode.h>
-declaration asn1_error_code asn1_decode_passwdsequence \
- (asn1buf *buf, passwd_phrase_element *val)
-version SUNWprivate_1.1
-end
-
-function asn1_decode_predicted_sam_response
-include <asn1_k_decode.h>
-declaration asn1_error_code asn1_decode_predicted_sam_response \
- (asn1buf *buf, krb5_predicted_sam_response *val)
-version SUNWprivate_1.1
-end
-
-function asn1_decode_principal_name
-include <asn1_k_decode.h>
-declaration asn1_error_code asn1_decode_principal_name \
- (asn1buf *buf, krb5_principal *val)
-version SUNWprivate_1.1
-end
-
-function asn1_decode_printablestring
-include <asn1_decode.h>
-declaration asn1_error_code asn1_decode_printablestring \
- (asn1buf *buf, int *retlen, char **val)
-version SUNWprivate_1.1
-end
-
-function asn1_decode_realm
-include <asn1_k_decode.h>
-declaration asn1_error_code asn1_decode_realm \
- (asn1buf *buf, krb5_principal *val)
-version SUNWprivate_1.1
-end
-
-function asn1_decode_sam_challenge
-include <asn1_k_decode.h>
-declaration asn1_error_code asn1_decode_sam_challenge \
- (asn1buf *buf, krb5_sam_challenge *val)
-version SUNWprivate_1.1
-end
-
-function asn1_decode_sam_flags
-include <asn1_k_decode.h>
-declaration asn1_error_code asn1_decode_sam_flags \
- (asn1buf *buf, krb5_flags *val)
-version SUNWprivate_1.1
-end
-
-function asn1_decode_sam_response
-include <asn1_k_decode.h>
-declaration asn1_error_code asn1_decode_sam_response \
- (asn1buf *buf, krb5_sam_response *val)
-version SUNWprivate_1.1
-end
-
-function asn1_decode_sequence_of_enctype
-include <asn1_k_decode.h>
-declaration asn1_error_code asn1_decode_sequence_of_enctype \
- (asn1buf *buf, int *num, krb5_enctype **val)
-version SUNWprivate_1.1
-end
-
-function asn1_decode_sequence_of_krb_cred_info
-include <asn1_k_decode.h>
-declaration asn1_error_code asn1_decode_sequence_of_krb_cred_info \
- (asn1buf *buf, krb5_cred_info ***val)
-version SUNWprivate_1.1
-end
-
-function asn1_decode_sequence_of_pa_data
-include <asn1_k_decode.h>
-declaration asn1_error_code asn1_decode_sequence_of_pa_data \
- (asn1buf *buf, krb5_pa_data ***val)
-version SUNWprivate_1.1
-end
-
-function asn1_decode_sequence_of_passwdsequence
-include <asn1_k_decode.h>
-declaration asn1_error_code asn1_decode_sequence_of_passwdsequence \
- (asn1buf *buf, passwd_phrase_element ***val)
-version SUNWprivate_1.1
-end
-
-function asn1_decode_sequence_of_ticket
-include <asn1_k_decode.h>
-declaration asn1_error_code asn1_decode_sequence_of_ticket \
- (asn1buf *buf, krb5_ticket ***val)
-version SUNWprivate_1.1
-end
-
-function asn1_decode_ticket
-include <asn1_k_decode.h>
-declaration asn1_error_code asn1_decode_ticket \
- (asn1buf *buf, krb5_ticket *val)
-version SUNWprivate_1.1
-end
-
-function asn1_decode_ticket_flags
-include <asn1_k_decode.h>
-declaration asn1_error_code asn1_decode_ticket_flags \
- (asn1buf *buf, krb5_flags *val)
-version SUNWprivate_1.1
-end
-
-function asn1_decode_transited_encoding
-include <asn1_k_decode.h>
-declaration asn1_error_code asn1_decode_transited_encoding \
- (asn1buf *buf, krb5_transited *val)
-version SUNWprivate_1.1
-end
-
-function asn1_decode_ui_2
-include <asn1_k_decode.h>
-declaration asn1_error_code asn1_decode_ui_2 \
- (asn1buf *buf, krb5_ui_2 *val)
-version SUNWprivate_1.1
-end
-
-function asn1_decode_ui_4
-include <asn1_k_decode.h>
-declaration asn1_error_code asn1_decode_ui_4 \
- (asn1buf *buf, krb5_ui_4 *val)
-version SUNWprivate_1.1
-end
-
-function asn1_decode_unsigned_integer
-include <asn1_decode.h>
-declaration asn1_error_code asn1_decode_unsigned_integer \
- (asn1buf *buf, unsigned long *val)
-version SUNWprivate_1.1
-end
-
-function asn1_encode_ap_options
-include <asn1_k_encode.h>
-declaration asn1_error_code asn1_encode_ap_options \
- (asn1buf *buf, const krb5_flags val, \
- unsigned int *retlen)
-version SUNWprivate_1.1
-end
-
-function asn1_encode_authorization_data
-include <asn1_k_encode.h>
-declaration asn1_error_code asn1_encode_authorization_data \
- (asn1buf *buf, const krb5_authdata **val, \
- unsigned int *retlen)
-version SUNWprivate_1.1
-end
-
-function asn1_encode_charstring
-include <asn1_k_encode.h>
-declaration asn1_error_code asn1_encode_charstring (asn1buf *buf, \
- const unsigned int len, const char *val, \
- unsigned int *retlen)
-version SUNWprivate_1.1
-end
-
-function asn1_encode_checksum
-include <asn1_k_encode.h>
-declaration asn1_error_code asn1_encode_checksum (asn1buf *buf, \
- const krb5_checksum *val, unsigned int *retlen)
-version SUNWprivate_1.1
-end
-
-function asn1_encode_enc_kdc_rep_part
-include <asn1_k_encode.h>
-declaration asn1_error_code asn1_encode_enc_kdc_rep_part (asn1buf *buf, \
- const krb5_enc_kdc_rep_part *val, \
- unsigned int *retlen)
-version SUNWprivate_1.1
-end
-
-function asn1_encode_enc_sam_response_enc
-include <asn1_k_encode.h>
-declaration asn1_error_code asn1_encode_enc_sam_response_enc (asn1buf *buf, \
- const krb5_enc_sam_response_enc *val, \
- unsigned int *retlen)
-version SUNWprivate_1.1
-end
-
-function asn1_encode_encrypted_data
-include <asn1_k_encode.h>
-declaration asn1_error_code asn1_encode_encrypted_data \
- (asn1buf *buf, const krb5_enc_data *val, \
- unsigned int *retlen)
-version SUNWprivate_1.1
-end
-
-function asn1_encode_encryption_key
-include <asn1_k_encode.h>
-declaration asn1_error_code asn1_encode_encryption_key \
- (asn1buf *buf, const krb5_keyblock *val, \
- unsigned int *retlen)
-version SUNWprivate_1.1
-end
-
-function asn1_encode_etype_info
-include <asn1_k_encode.h>
-declaration asn1_error_code asn1_encode_etype_info (asn1buf *buf, \
- const krb5_etype_info_entry **val, \
- unsigned int *retlen, int etype_info2)
-version SUNWprivate_1.1
-end
-
-function asn1_encode_etype_info_entry
-include <asn1_k_encode.h>
-declaration asn1_error_code asn1_encode_etype_info_entry (asn1buf *buf, \
- const krb5_etype_info_entry *val, \
- unsigned int *retlen, int etype_info2)
-version SUNWprivate_1.1
-end
-
-function asn1_encode_generalstring
-include <asn1_encode.h>
-declaration asn1_error_code asn1_encode_generalstring (asn1buf *buf, \
- const unsigned int len, const char *val, \
- unsigned int *retlen)
-version SUNWprivate_1.1
-end
-
-function asn1_encode_generaltime
-include <asn1_encode.h>
-declaration asn1_error_code asn1_encode_generaltime \
- (asn1buf *buf, const time_t val, \
- unsigned int *retlen)
-version SUNWprivate_1.1
-end
-
-function asn1_encode_host_address
-include <asn1_k_encode.h>
-declaration asn1_error_code asn1_encode_host_address (asn1buf *buf, \
- const krb5_address *val, \
- unsigned int *retlen)
-version SUNWprivate_1.1
-end
-
-function asn1_encode_host_addresses
-include <asn1_k_encode.h>
-declaration asn1_error_code asn1_encode_host_addresses (asn1buf *buf, \
- const krb5_address **val, \
- unsigned int *retlen)
-version SUNWprivate_1.1
-end
-
-function asn1_encode_ia5string
-include <asn1_encode.h>
-declaration asn1_error_code asn1_encode_ia5string (asn1buf *buf, \
- const unsigned int len, const char *val, \
- int *retlen)
-version SUNWprivate_1.1
-end
-
-function asn1_encode_integer
-include <asn1_encode.h>
-declaration asn1_error_code asn1_encode_integer \
- (asn1buf *buf, const long val, \
- unsigned int *retlen)
-version SUNWprivate_1.1
-end
-
-function asn1_encode_kdc_options
-include <asn1_k_encode.h>
-declaration asn1_error_code asn1_encode_kdc_options \
- (asn1buf *buf, const krb5_flags val, \
- unsigned int *retlen)
-version SUNWprivate_1.1
-end
-
-function asn1_encode_kdc_rep
-include <asn1_k_encode.h>
-declaration asn1_error_code asn1_encode_kdc_rep (int msg_type, \
- asn1buf *buf, const krb5_kdc_rep *val, \
- unsigned int *retlen)
-version SUNWprivate_1.1
-end
-
-function asn1_encode_kdc_req
-include <asn1_k_encode.h>
-declaration asn1_error_code asn1_encode_kdc_req (int msg_type, \
- asn1buf *buf, const krb5_kdc_req *val, \
- unsigned int *retlen)
-version SUNWprivate_1.1
-end
-
-function asn1_encode_kdc_req_body
-include <asn1_k_encode.h>
-declaration asn1_error_code asn1_encode_kdc_req_body \
- (asn1buf *buf, const krb5_kdc_req *val, \
- unsigned int *retlen)
-version SUNWprivate_1.1
-end
-
-function asn1_encode_kerberos_time
-include <asn1_k_encode.h>
-declaration asn1_error_code asn1_encode_kerberos_time \
- (asn1buf *buf, const krb5_timestamp val, \
- unsigned int *retlen)
-version SUNWprivate_1.1
-end
-
-function asn1_encode_krb5_authdata_elt
-include <asn1_k_encode.h>
-declaration asn1_error_code asn1_encode_krb5_authdata_elt \
- (asn1buf *buf, const krb5_authdata *val, \
- unsigned int *retlen)
-version SUNWprivate_1.1
-end
-
-function asn1_encode_krb5_flags
-include <asn1_k_encode.h>
-declaration asn1_error_code asn1_encode_krb5_flags \
- (asn1buf *buf, const krb5_flags val, \
- unsigned int *retlen)
-version SUNWprivate_1.1
-end
-
-function asn1_encode_krb_cred_info
-include <asn1_k_encode.h>
-declaration asn1_error_code asn1_encode_krb_cred_info \
- (asn1buf *buf, const krb5_cred_info *val, \
- unsigned int *retlen)
-version SUNWprivate_1.1
-end
-
-function asn1_encode_krb_safe_body
-include <asn1_k_encode.h>
-declaration asn1_error_code asn1_encode_krb_safe_body \
- (asn1buf *buf, const krb5_safe *val, \
- unsigned int *retlen)
-version SUNWprivate_1.1
-end
-
-function asn1_encode_last_req
-include <asn1_k_encode.h>
-declaration asn1_error_code asn1_encode_last_req (asn1buf *buf, \
- const krb5_last_req_entry **val, \
- unsigned int *retlen)
-version SUNWprivate_1.1
-end
-
-function asn1_encode_last_req_entry
-include <asn1_k_encode.h>
-declaration asn1_error_code asn1_encode_last_req_entry (asn1buf *buf, \
- const krb5_last_req_entry *val, \
- unsigned int *retlen)
-version SUNWprivate_1.1
-end
-
-function asn1_encode_null
-include <asn1_encode.h>
-declaration asn1_error_code asn1_encode_null (asn1buf *buf, int *retlen)
-version SUNWprivate_1.1
-end
-
-function asn1_encode_octetstring
-include <asn1_encode.h>
-declaration asn1_error_code asn1_encode_octetstring (asn1buf *buf, \
- const unsigned int len, const asn1_octet *val, \
- unsigned int *retlen)
-version SUNWprivate_1.1
-end
-
-function asn1_encode_pa_data
-include <asn1_k_encode.h>
-declaration asn1_error_code asn1_encode_pa_data \
- (asn1buf *buf, const krb5_pa_data *val, \
- unsigned int *retlen)
-version SUNWprivate_1.1
-end
-
-function asn1_encode_passwdsequence
-include <asn1_k_encode.h>
-declaration asn1_error_code asn1_encode_passwdsequence (asn1buf *buf, \
- const passwd_phrase_element *val, \
- unsigned int *retlen)
-version SUNWprivate_1.1
-end
-
-function asn1_encode_predicted_sam_response
-include <asn1_k_encode.h>
-declaration asn1_error_code asn1_encode_predicted_sam_response (asn1buf *buf, \
- const krb5_predicted_sam_response *val, \
- unsigned int *retlen)
-version SUNWprivate_1.1
-end
-
-function asn1_encode_principal_name
-include <asn1_k_encode.h>
-declaration asn1_error_code asn1_encode_principal_name \
- (asn1buf *buf, const krb5_principal val, \
- unsigned int *retlen)
-version SUNWprivate_1.1
-end
-
-function asn1_encode_printablestring
-include <asn1_encode.h>
-declaration asn1_error_code asn1_encode_printablestring (asn1buf *buf, \
- const unsigned int len, const char *val, \
- int *retlen)
-version SUNWprivate_1.1
-end
-
-function asn1_encode_realm
-include <asn1_k_encode.h>
-declaration asn1_error_code asn1_encode_realm \
- (asn1buf *buf, const krb5_principal val, \
- unsigned int *retlen)
-version SUNWprivate_1.1
-end
-
-function asn1_encode_sam_challenge
-include <asn1_k_encode.h>
-declaration asn1_error_code asn1_encode_sam_challenge (asn1buf *buf, \
- const krb5_sam_challenge * val, \
- unsigned int *retlen)
-version SUNWprivate_1.1
-end
-
-function asn1_encode_sam_flags
-include <asn1_k_encode.h>
-declaration asn1_error_code asn1_encode_sam_flags \
- (asn1buf * buf, const krb5_flags val, \
- unsigned int *retlen)
-version SUNWprivate_1.1
-end
-
-function asn1_encode_sam_key
-include <asn1_k_encode.h>
-declaration asn1_error_code asn1_encode_sam_key \
- (asn1buf *buf, const krb5_sam_key *val, \
- unsigned int *retlen)
-version SUNWprivate_1.1
-end
-
-function asn1_encode_sam_response
-include <asn1_k_encode.h>
-declaration asn1_error_code asn1_encode_sam_response (asn1buf *buf, \
- const krb5_sam_response *val, \
- unsigned int *retlen)
-version SUNWprivate_1.1
-end
-
-function asn1_encode_sequence_of_enctype
-include <asn1_k_encode.h>
-declaration asn1_error_code asn1_encode_sequence_of_enctype (asn1buf *buf, \
- const int len, const krb5_enctype *val, \
- unsigned int *retlen)
-version SUNWprivate_1.1
-end
-
-function asn1_encode_sequence_of_krb_cred_info
-include <asn1_k_encode.h>
-declaration asn1_error_code asn1_encode_sequence_of_krb_cred_info \
- (asn1buf *buf, const krb5_cred_info **val, \
- unsigned int *retlen)
-version SUNWprivate_1.1
-end
-
-function asn1_encode_sequence_of_pa_data
-include <asn1_k_encode.h>
-declaration asn1_error_code asn1_encode_sequence_of_pa_data \
- (asn1buf *buf, const krb5_pa_data **val, \
- unsigned int *retlen)
-version SUNWprivate_1.1
-end
-
-function asn1_encode_sequence_of_passwdsequence
-include <asn1_k_encode.h>
-declaration asn1_error_code asn1_encode_sequence_of_passwdsequence \
- (asn1buf *buf, const passwd_phrase_element **val, \
- unsigned int *retlen)
-version SUNWprivate_1.1
-end
-
-function asn1_encode_sequence_of_ticket
-include <asn1_k_encode.h>
-declaration asn1_error_code asn1_encode_sequence_of_ticket \
- (asn1buf *buf, const krb5_ticket **val, \
- unsigned int *retlen)
-version SUNWprivate_1.1
-end
-
-function asn1_encode_ticket
-include <asn1_k_encode.h>
-declaration asn1_error_code asn1_encode_ticket \
- (asn1buf *buf, const krb5_ticket *val, \
- unsigned int *retlen)
-version SUNWprivate_1.1
-end
-
-function asn1_encode_ticket_flags
-include <asn1_k_encode.h>
-declaration asn1_error_code asn1_encode_ticket_flags \
- (asn1buf *buf, const krb5_flags val, \
- unsigned int *retlen)
-version SUNWprivate_1.1
-end
-
-function asn1_encode_transited_encoding
-include <asn1_k_encode.h>
-declaration asn1_error_code asn1_encode_transited_encoding \
- (asn1buf *buf, const krb5_transited *val, \
- unsigned int *retlen)
-version SUNWprivate_1.1
-end
-
-function asn1_encode_ui_4
-include <asn1_k_encode.h>
-declaration asn1_error_code asn1_encode_ui_4 (asn1buf *buf, \
- const krb5_ui_4 val, \
- unsigned int *retlen)
-version SUNWprivate_1.1
-end
-
-function asn1_encode_unsigned_integer
-include <asn1_encode.h>
-declaration asn1_error_code asn1_encode_unsigned_integer \
- (asn1buf *buf, const unsigned long val, \
- unsigned int *retlen)
-version SUNWprivate_1.1
-end
-
-function asn1_get_sequence
-include <asn1_get.h>
-declaration asn1_error_code asn1_get_sequence \
- (asn1buf *buf, unsigned int *retlen, \
- int *indef)
-version SUNWprivate_1.1
-end
-
-function asn1_get_tag_2
-include <asn1_get.h>
-declaration asn1_error_code asn1_get_tag_2 (asn1buf *buf, taginfo *tinfo)
-version SUNWprivate_1.1
-end
-
-function asn1_krb5_realm_copy
-include <asn1_misc.h>
-declaration asn1_error_code asn1_krb5_realm_copy \
- (krb5_principal target, krb5_principal source)
-version SUNWprivate_1.1
-end
-
-function asn1_make_etag
-include <asn1_make.h>
-declaration asn1_error_code asn1_make_etag (asn1buf *buf, \
- const asn1_class class, \
- const asn1_tagnum tagnum, \
- const unsigned int in_len, \
- unsigned int *retlen)
-version SUNWprivate_1.1
-end
-
-function asn1_make_id
-include <asn1_make.h>
-declaration asn1_error_code asn1_make_id (asn1buf *buf, const asn1_class class, \
- const asn1_construction construction, const asn1_tagnum tagnum, \
- unsigned int *retlen)
-version SUNWprivate_1.1
-end
-
-function asn1_make_length
-include <asn1_make.h>
-declaration asn1_error_code asn1_make_length \
- (asn1buf *buf, const unsigned int in_len, \
- unsigned int *retlen)
-version SUNWprivate_1.1
-end
-
-function asn1_make_sequence
-include <asn1_make.h>
-declaration asn1_error_code asn1_make_sequence \
- (asn1buf *buf, const unsigned int seq_len, \
- unsigned int *len)
-version SUNWprivate_1.1
-end
-
-function asn1_make_set
-include <asn1_make.h>
-declaration asn1_error_code asn1_make_set \
- (asn1buf *buf, const unsigned int set_len, \
- unsigned int *retlen)
-version SUNWprivate_1.1
-end
-
-function asn1_make_string
-include <asn1_make.h>
-declaration asn1_error_code asn1_make_string (asn1buf *buf, \
- const unsigned int len, const char *string, \
- int *retlen)
-version SUNWprivate_1.1
-end
-
-function asn1_make_tag
-include <asn1_make.h>
-declaration asn1_error_code asn1_make_tag \
- (asn1buf *buf, const asn1_class class, \
- const asn1_construction construction, \
- const asn1_tagnum tagnum, \
- const unsigned int in_len, unsigned int *retlen)
-version SUNWprivate_1.1
-end
-
-function asn1buf_create
-include <asn1buf.h>
-declaration asn1_error_code asn1buf_create (asn1buf **buf)
-version SUNWprivate_1.1
-end
-
-function asn1buf_destroy
-include <asn1buf.h>
-declaration asn1_error_code asn1buf_destroy (asn1buf **buf)
-version SUNWprivate_1.1
-end
-
-function asn1buf_ensure_space
-include <asn1buf.h>
-declaration asn1_error_code asn1buf_ensure_space \
- (asn1buf *buf, const unsigned int amount)
-version SUNWprivate_1.1
-end
-
-function asn1buf_expand
-include <asn1buf.h>
-declaration asn1_error_code asn1buf_expand \
- (asn1buf *buf, unsigned int inc)
-version SUNWprivate_1.1
-end
-
-function asn1buf_free
-include <asn1buf.h>
-declaration int asn1buf_free (const asn1buf *buf)
-version SUNWprivate_1.1
-end
-
-function asn1buf_hex_unparse
-include <asn1buf.h>
-declaration asn1_error_code asn1buf_hex_unparse \
- (const asn1buf *buf, char **s)
-version SUNWprivate_1.1
-end
-
-function asn1buf_imbed
-include <asn1buf.h>
-declaration asn1_error_code asn1buf_imbed \
- (asn1buf *subbuf, const asn1buf *buf, \
- const unsigned int length,\
- const int indef)
-version SUNWprivate_1.1
-end
-
-function asn1buf_insert_charstring
-include <asn1buf.h>
-declaration asn1_error_code asn1buf_insert_charstring \
- (asn1buf *buf, const unsigned int len, const char *s)
-version SUNWprivate_1.1
-end
-
-function asn1buf_insert_octet
-include <asn1buf.h>
-declaration asn1_error_code asn1buf_insert_octet \
- (asn1buf *buf, const int o)
-version SUNWprivate_1.1
-end
-
-function asn1buf_insert_octetstring
-include <asn1buf.h>
-declaration asn1_error_code asn1buf_insert_octetstring \
- (asn1buf *buf, const unsigned int len, \
- const asn1_octet *s)
-version SUNWprivate_1.1
-end
-
-function asn1buf_len
-include <asn1buf.h>
-declaration int asn1buf_len (const asn1buf *buf)
-version SUNWprivate_1.1
-end
-
-function asn1buf_remains
-include <asn1buf.h>
-declaration int asn1buf_remains (asn1buf *buf, int indef)
-version SUNWprivate_1.1
-end
-
-function asn1buf_remove_charstring
-include <asn1buf.h>
-declaration asn1_error_code asn1buf_remove_charstring \
- (asn1buf *buf, const unsigned int len, char **s)
-version SUNWprivate_1.1
-end
-
-function asn1buf_remove_octet
-include <asn1buf.h>
-declaration asn1_error_code asn1buf_remove_octet \
- (asn1buf *buf, asn1_octet *o)
-version SUNWprivate_1.1
-end
-
-function asn1buf_remove_octetstring
-include <asn1buf.h>
-declaration asn1_error_code asn1buf_remove_octetstring \
- (asn1buf *buf, const unsigned int len, asn1_octet **s)
-version SUNWprivate_1.1
-end
-
-function asn1buf_size
-include <asn1buf.h>
-declaration int asn1buf_size (const asn1buf *buf)
-version SUNWprivate_1.1
-end
-
-function asn1buf_skiptail
-include <asn1buf.h>
-declaration asn1_error_code asn1buf_skiptail \
- (asn1buf *buf, const unsigned int length, const int indef)
-version SUNWprivate_1.1
-end
-
-function asn1buf_sync
-include <asn1buf.h>
-declaration asn1_error_code asn1buf_sync (asn1buf *buf, asn1buf *subbuf, \
- const asn1_class class, const asn1_tagnum lasttag, \
- const unsigned int length, const int indef, \
- const int seqindef)
-version SUNWprivate_1.1
-end
-
-function asn1buf_unparse
-include <asn1buf.h>
-declaration asn1_error_code asn1buf_unparse \
- (const asn1buf *buf, char **s)
-version SUNWprivate_1.1
-end
-
-function asn1buf_wrap_data
-include <asn1buf.h>
-declaration asn1_error_code asn1buf_wrap_data \
- (asn1buf *buf, const krb5_data *code)
-version SUNWprivate_1.1
-end
diff --git a/usr/src/lib/gss_mechs/mech_krb5/spec/krb5_cache.spec b/usr/src/lib/gss_mechs/mech_krb5/spec/krb5_cache.spec
deleted file mode 100644
index fa60cbe503..0000000000
--- a/usr/src/lib/gss_mechs/mech_krb5/spec/krb5_cache.spec
+++ /dev/null
@@ -1,460 +0,0 @@
-#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# lib/gss_mechs/mech_krb5/spec/krb5_cache.spec
-#
-
-
-
-data krb5_fcc_ops
-declaration krb5_cc_ops krb5_fcc_ops
-version SUNWprivate_1.1
-end
-
-function krb5_rc_close
-include <krb5.h>
-declaration krb5_error_code krb5_rc_close \
- (krb5_context context, krb5_rcache id)
-version SUNWprivate_1.1
-end
-
-function krb5_rc_default
-include <krb5.h>
-declaration krb5_error_code krb5_rc_default \
- (krb5_context context, krb5_rcache *id)
-version SUNWprivate_1.1
-end
-
-function krb5_rc_default_name
-include <krb5.h>
-declaration char * krb5_rc_default_name (krb5_context context)
-version SUNWprivate_1.1
-end
-
-function krb5_rc_file_close
-include <krb5.h>, <k5-int.h>, <rc_file.h>
-declaration krb5_error_code krb5_rc_file_close \
- (krb5_context context, krb5_rcache id)
-version SUNWprivate_1.1
-end
-
-function krb5_rc_file_close_no_free
-include <krb5.h>, <k5-int.h>, <rc_file.h>
-declaration krb5_error_code krb5_rc_file_close_no_free \
- (krb5_context context, krb5_rcache id)
-version SUNWprivate_1.1
-end
-
-function krb5_rc_file_destroy
-include <krb5.h>, <k5-int.h>, <rc_file.h>
-declaration krb5_error_code krb5_rc_file_destroy \
- (krb5_context context, krb5_rcache id)
-version SUNWprivate_1.1
-end
-
-function krb5_rc_file_expunge
-include <krb5.h>, <k5-int.h>, <rc_file.h>
-declaration krb5_error_code krb5_rc_file_expunge \
- (krb5_context context, krb5_rcache id)
-version SUNWprivate_1.1
-end
-
-function krb5_rc_file_get_name
-include <krb5.h>, <k5-int.h>, <rc_file.h>
-declaration char * krb5_rc_file_get_name \
- (krb5_context context, krb5_rcache id)
-version SUNWprivate_1.1
-end
-
-function krb5_rc_file_get_span
-include <krb5.h>, <k5-int.h>, <rc_file.h>
-declaration krb5_error_code krb5_rc_file_get_span \
- (krb5_context context, krb5_rcache id, \
- krb5_deltat *lifespan)
-version SUNWprivate_1.1
-end
-
-function krb5_rc_file_init
-include <krb5.h>, <k5-int.h>, <rc_file.h>
-declaration krb5_error_code krb5_rc_file_init \
- (krb5_context context, krb5_rcache id, \
- krb5_deltat lifespan)
-version SUNWprivate_1.1
-end
-
-data krb5_rc_file_ops
-declaration krb5_rc_ops krb5_rc_file_ops
-version SUNWprivate_1.1
-end
-
-function krb5_rc_file_recover
-include <krb5.h>, <k5-int.h>, <rc_file.h>
-declaration krb5_error_code krb5_rc_file_recover \
- (krb5_context context, krb5_rcache id)
-version SUNWprivate_1.1
-end
-
-function krb5_rc_file_resolve
-include <krb5.h>, <k5-int.h>, <rc_file.h>
-declaration krb5_error_code krb5_rc_file_resolve \
- (krb5_context context, krb5_rcache id, \
- char *name)
-version SUNWprivate_1.1
-end
-
-function krb5_rc_file_store
-include <krb5.h>, <k5-int.h>, <rc_file.h>
-declaration krb5_error_code krb5_rc_file_store \
- (krb5_context context, krb5_rcache id, \
- krb5_donot_replay *rep)
-version SUNWprivate_1.1
-end
-
-function krb5_rc_free_entry
-include <krb5.h>, <k5-int.h>, <rc_file.h>
-declaration void krb5_rc_free_entry \
- (krb5_context context, \
- krb5_donot_replay **rep)
-version SUNWprivate_1.1
-end
-
-function krb5_rc_get_type
-include <krb5.h>
-declaration char * krb5_rc_get_type \
- (krb5_context context, krb5_rcache id)
-version SUNWprivate_1.1
-end
-
-function krb5_rc_io_close
-include <krb5.h>, <rc_io.h>
-declaration krb5_error_code krb5_rc_io_close \
- (krb5_context context, krb5_rc_iostuff *d)
-version SUNWprivate_1.1
-end
-
-function krb5_rc_io_creat
-include <krb5.h>, <rc_io.h>
-declaration krb5_error_code krb5_rc_io_creat \
- (krb5_context context, \
- krb5_rc_iostuff *d, char **fn)
-version SUNWprivate_1.1
-end
-
-function krb5_rc_io_destroy
-include <krb5.h>, <rc_io.h>
-declaration krb5_error_code krb5_rc_io_destroy \
- (krb5_context context, krb5_rc_iostuff *d)
-version SUNWprivate_1.1
-end
-
-function krb5_rc_io_mark
-include <krb5.h>, <rc_io.h>
-declaration krb5_error_code krb5_rc_io_mark \
- (krb5_context context, krb5_rc_iostuff *d)
-version SUNWprivate_1.1
-end
-
-function krb5_rc_io_move
-include <krb5.h>, <rc_io.h>
-declaration krb5_error_code krb5_rc_io_move \
- (krb5_context context, krb5_rc_iostuff *new, \
- krb5_rc_iostuff *old)
-version SUNWprivate_1.1
-end
-
-function krb5_rc_io_open
-include <krb5.h>, <rc_io.h>
-declaration krb5_error_code krb5_rc_io_open \
- (krb5_context context, \
- krb5_rc_iostuff *d, char *fn)
-version SUNWprivate_1.1
-end
-
-function krb5_rc_io_read
-include <krb5.h>, <rc_io.h>
-declaration krb5_error_code krb5_rc_io_read \
- (krb5_context context, krb5_rc_iostuff *d, \
- krb5_pointer buf, int num)
-version SUNWprivate_1.1
-end
-
-function krb5_rc_io_size
-include <krb5.h>, <rc_io.h>
-declaration long krb5_rc_io_size \
- (krb5_context context, krb5_rc_iostuff *d)
-version SUNWprivate_1.1
-end
-
-function krb5_rc_io_sync
-include <krb5.h>, <rc_io.h>
-declaration krb5_error_code krb5_rc_io_sync \
- (krb5_context context, krb5_rc_iostuff *d)
-version SUNWprivate_1.1
-end
-
-function krb5_rc_io_unmark
-include <krb5.h>, <rc_io.h>
-declaration krb5_error_code krb5_rc_io_unmark \
- (krb5_context context, krb5_rc_iostuff *d)
-version SUNWprivate_1.1
-end
-
-function krb5_rc_io_write
-include <krb5.h>, <rc_io.h>
-declaration krb5_error_code krb5_rc_io_write \
- (krb5_context context, krb5_rc_iostuff *d, \
- krb5_pointer buf, int num)
-version SUNWprivate_1.1
-end
-
-function krb5_rc_mem_close
-include <krb5.h>, <k5-int.h>, <rc_mem.h>
-declaration krb5_error_code krb5_rc_mem_close \
- (krb5_context context, krb5_rcache id)
-version SUNWprivate_1.1
-end
-
-function krb5_rc_mem_destroy
-include <krb5.h>, <k5-int.h>, <rc_mem.h>
-declaration krb5_error_code krb5_rc_mem_destroy \
- (krb5_context context, krb5_rcache id)
-version SUNWprivate_1.1
-end
-
-function krb5_rc_mem_get_name
-include <krb5.h>, <k5-int.h>, <rc_mem.h>
-declaration char * krb5_rc_mem_get_name \
- (krb5_context context, krb5_rcache id)
-version SUNWprivate_1.1
-end
-
-function krb5_rc_mem_get_span
-include <krb5.h>, <k5-int.h>, <rc_mem.h>
-declaration krb5_error_code krb5_rc_mem_get_span \
- (krb5_context context, krb5_rcache id, \
- krb5_deltat *lifespan)
-version SUNWprivate_1.1
-end
-
-function krb5_rc_mem_init
-include <krb5.h>, <k5-int.h>, <rc_mem.h>
-declaration krb5_error_code krb5_rc_mem_init \
- (krb5_context context, krb5_rcache id, \
- krb5_deltat lifespan)
-version SUNWprivate_1.1
-end
-
-data krb5_rc_mem_ops
-declaration krb5_rc_ops krb5_rc_mem_ops
-version SUNWprivate_1.1
-end
-
-function krb5_rc_mem_recover
-include <krb5.h>, <k5-int.h>, <rc_mem.h>
-declaration krb5_error_code krb5_rc_mem_recover \
- (krb5_context context, krb5_rcache id)
-version SUNWprivate_1.1
-end
-
-function krb5_rc_mem_resolve
-include <krb5.h>, <k5-int.h>, <rc_mem.h>
-declaration krb5_error_code krb5_rc_mem_resolve \
- (krb5_context context, krb5_rcache id, \
- char *name)
-version SUNWprivate_1.1
-end
-
-function krb5_rc_mem_store
-include <krb5.h>, <k5-int.h>, <rc_mem.h>
-declaration krb5_error_code krb5_rc_mem_store \
- (krb5_context context, krb5_rcache id, \
- krb5_donot_replay *rep)
-version SUNWprivate_1.1
-end
-function krb5_rc_register_type
-include <krb5.h>
-declaration krb5_error_code krb5_rc_register_type \
- (krb5_context context, krb5_rc_ops *ops)
-version SUNWprivate_1.1
-end
-
-function krb5_rc_resolve
-include <krb5.h>
-declaration krb5_error_code krb5_rc_resolve \
- (krb5_context context, krb5_rcache id, \
- char *name)
-version SUNWprivate_1.1
-end
-
-function krb5_rc_resolve_full
-include <krb5.h>
-declaration krb5_error_code krb5_rc_resolve_full \
- (krb5_context context, krb5_rcache *id, \
- char *string_name)
-version SUNWprivate_1.1
-end
-
-
-
-function krb5_cc_copy_creds
-include <krb5.h>
-declaration krb5_error_code krb5_cc_copy_creds \
- (krb5_context context, krb5_ccache incc, \
- krb5_ccache outcc)
-version SUNWprivate_1.1
-end
-
-function krb5_cc_default
-include <krb5.h>
-declaration krb5_error_code krb5_cc_default ( \
- krb5_context context, \
- krb5_ccache *ccache)
-version SUNWprivate_1.1
-end
-
-function krb5_cc_default_name
-include <krb5.h>
-declaration const char * krb5_cc_default_name (krb5_context context)
-version SUNWprivate_1.1
-end
-
-data krb5_cc_dfl_ops
-declaration krb5_cc_ops *krb5_cc_dfl_ops
-version SUNWprivate_1.1
-end
-
-data krb5_cc_file_ops
-declaration krb5_cc_ops krb5_cc_file_ops
-version SUNWprivate_1.1
-end
-
-function krb5_cc_register
-include <krb5.h>
-declaration krb5_error_code krb5_cc_register \
- (krb5_context context, krb5_cc_ops *ops, \
- krb5_boolean override)
-version SUNWprivate_1.1
-end
-
-function krb5_cc_resolve
-include <krb5.h>
-declaration krb5_error_code krb5_cc_resolve \
- (krb5_context context, const char *name, \
- krb5_ccache *cache)
-version SUNWprivate_1.1
-end
-
-function krb5_cc_retrieve_cred
-include <krb5.h>
-declaration krb5_error_code krb5_cc_retrieve_cred \
- (krb5_context context, krb5_ccache id, \
- krb5_flags flags, krb5_creds *mcreds, \
- krb5_creds *creds)
-version SUNWprivate_1.1
-end
-
-function krb5_cc_set_default_name
-include <krb5.h>
-declaration krb5_error_code krb5_cc_set_default_name ( \
- krb5_context context, const char *name)
-version SUNWprivate_1.1
-end
-
-function krb5_change_cache
-include <fcc-proto.h>
-declaration krb5_error_code krb5_change_cache (void)
-version SUNWprivate_1.1
-end
-
-function krb5_get_notification_message
-include <fcc-proto.h>
-declaration unsigned int krb5_get_notification_message (void)
-version SUNWprivate_1.1
-end
-
-function krb5_cc_initialize
-include <krb5.h>
-declaration krb5_error_code krb5_cc_initialize \
- (krb5_context context, krb5_ccache cache, \
- krb5_principal principal)
-version SUNWprivate_1.1
-end
-
-function krb5_cc_get_principal
-include <krb5.h>
-declaration krb5_error_code krb5_cc_get_principal \
- (krb5_context context, krb5_ccache cache, \
- krb5_principal *principal)
-version SUNWprivate_1.1
-end
-
-function krb5_cc_close
-include <krb5.h>
-declaration krb5_error_code krb5_cc_close \
- (krb5_context context, krb5_ccache cache)
-version SUNWprivate_1.1
-end
-
-function krb5_cc_destroy
-include <krb5.h>
-declaration krb5_error_code krb5_cc_destroy \
- (krb5_context context, krb5_ccache cache)
-version SUNWprivate_1.1
-end
-
-function krb5_cc_end_seq_get
-include <krb5.h>
-declaration krb5_error_code krb5_cc_end_seq_get \
- (krb5_context context, krb5_ccache cache, \
- krb5_cc_cursor *cursor)
-version SUNWprivate_1.1
-end
-
-function krb5_cc_get_name
-include <krb5.h>
-declaration krb5_error_code krb5_cc_get_name \
- (krb5_context context, krb5_ccache cache)
-version SUNWprivate_1.1
-end
-
-function krb5_cc_get_type
-include <krb5.h>
-declaration krb5_error_code krb5_cc_get_type \
- (krb5_context context, krb5_ccache cache)
-version SUNWprivate_1.1
-end
-
-function krb5_cc_next_cred
-include <krb5.h>
-declaration krb5_error_code krb5_cc_next_cred \
- (krb5_context context, krb5_ccache cache, \
- krb5_cc_cursor *cursor, krb5_creds *creds)
-version SUNWprivate_1.1
-end
-
-function krb5_cc_set_flags
-include <krb5.h>
-declaration krb5_error_code krb5_cc_destroy \
- (krb5_context context, krb5_ccache cache, \
- krb5_flags flags)
-version SUNWprivate_1.1
-end
-
-function krb5_cc_start_seq_get
-include <krb5.h>
-declaration krb5_error_code krb5_cc_start_seq_get \
- (krb5_context context, krb5_ccache cache, \
- krb5_cc_cursor *cursor)
-version SUNWprivate_1.1
-end
-
-function krb5_cc_store_cred
-include <krb5.h>
-declaration krb5_error_code krb5_cc_store_cred \
- (krb5_context context, krb5_ccache cache, \
- krb5_creds *creds)
-version SUNWprivate_1.1
-end
diff --git a/usr/src/lib/gss_mechs/mech_krb5/spec/krb5_clean.spec b/usr/src/lib/gss_mechs/mech_krb5/spec/krb5_clean.spec
deleted file mode 100644
index e083e41a0b..0000000000
--- a/usr/src/lib/gss_mechs/mech_krb5/spec/krb5_clean.spec
+++ /dev/null
@@ -1,20 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# lib/gss_mechs/mech_krb5/spec/krb5_clean.spec
-#
-
-function mit_des_string_to_key_int
-version SUNWprivate_1.1
-end
-
-function mit_afs_string_to_key
-version SUNWprivate_1.1
-end
-
-function gss_mech_initialize
-version SUNWprivate_1.1
-end
diff --git a/usr/src/lib/gss_mechs/mech_krb5/spec/krb5_crypto.spec b/usr/src/lib/gss_mechs/mech_krb5/spec/krb5_crypto.spec
deleted file mode 100644
index 5817ed05a5..0000000000
--- a/usr/src/lib/gss_mechs/mech_krb5/spec/krb5_crypto.spec
+++ /dev/null
@@ -1,382 +0,0 @@
-#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# lib/gss_mechs/mech_krb5/spec/krb5_crypto.spec
-#
-
-function krb5_c_is_coll_proof_cksum
-include <k5-int.h>, <cksumtypes.h>
-declaration krb5_boolean krb5_c_is_coll_proof_cksum( \
- krb5_cksumtype ctype)
-version SUNWprivate_1.1
-end
-
-function krb5_c_is_keyed_cksum
-include <k5-int.h>, <cksumtypes.h>
-declaration krb5_boolean krb5_c_is_keyed_cksum( \
- krb5_cksumtype ctype)
-version SUNWprivate_1.1
-end
-
-function krb5_c_block_size
-include <k5-int.h>, <etypes.h>
-declaration krb5_error_code krb5_c_block_size( \
- krb5_context context, \
- krb5_enctype enctype, \
- size_t *blocksize)
-version SUNWprivate_1.1
-end
-
-function krb5_c_init_state
-include <krb5.h>
-declaration krb5_error_code krb5_c_init_state( \
- krb5_context, const krb5_keyblock *, \
- krb5_keyusage, krb5_data *)
-version SUNWprivate_1.1
-end
-
-function krb5_c_free_state
-include <k5-int.h>
-declaration krb5_error_code krb5_c_free_state( \
- krb5_context, const krb5_keyblock *, \
- krb5_data *)
-version SUNWprivate_1.1
-end
-
-function krb5_c_checksum_length
-include <k5-int.h>, <cksumtypes.h>
-declaration krb5_error_code krb5_c_checksum_length( \
- krb5_context context, \
- krb5_cksumtype cksumtype, \
- size_t *length)
-version SUNWprivate_1.1
-end
-
-function krb5_c_decrypt
-include <k5-int.h>, <etypes.h>
-declaration krb5_error_code krb5_c_decrypt( \
- krb5_context context, \
- const krb5_keyblock *key, \
- krb5_keyusage usage, \
- const krb5_data *ivec, \
- const krb5_enc_data *input, \
- krb5_data *output)
-version SUNWprivate_1.1
-end
-
-function krb5_c_encrypt
-include <k5-int.h>, <etypes.h>
-declaration krb5_error_code krb5_c_encrypt( \
- krb5_context context, \
- const krb5_keyblock *key, \
- krb5_keyusage usage, \
- const krb5_data *ivec, \
- const krb5_data *input, \
- krb5_enc_data *output)
-version SUNWprivate_1.1
-end
-
-function krb5_c_encrypt_length
-include <k5-int.h>, <etypes.h>
-declaration krb5_error_code krb5_c_encrypt_length( \
- krb5_context context, \
- krb5_enctype enctype, \
- size_t inputlen, \
- size_t *length)
-version SUNWprivate_1.1
-end
-
-function krb5_c_enctype_compare
-include <k5-int.h>, <etypes.h>
-declaration krb5_error_code krb5_c_enctype_compare( \
- krb5_context context, \
- krb5_enctype e1, \
- krb5_enctype e2, \
- krb5_boolean *similar)
-version SUNWprivate_1.1
-end
-
-function krb5_c_keyed_checksum_types
-include <k5-int.h>, <etypes.h>, <cksumtypes.h>
-declaration krb5_error_code krb5_c_keyed_checksum_types( \
- krb5_context context, \
- krb5_enctype enctype, \
- unsigned int *count, \
- krb5_cksumtype **cksumtypes)
-version SUNWprivate_1.1
-end
-
-function krb5_c_make_checksum
-include <k5-int.h>, <cksumtypes.h>, <etypes.h>
-declaration krb5_error_code krb5_c_make_checksum ( \
- krb5_context context, \
- krb5_cksumtype cksumtype, \
- const krb5_keyblock *key, \
- krb5_keyusage usage, \
- const krb5_data *input, \
- krb5_checksum *cksum)
-version SUNWprivate_1.1
-end
-
-function krb5_c_verify_checksum
-include <k5-int.h>, <cksumtypes.h>
-declaration krb5_error_code krb5_c_verify_checksum ( \
- krb5_context context, \
- const krb5_keyblock *key, \
- krb5_keyusage usage, \
- const krb5_data *data, \
- const krb5_checksum *cksum, \
- krb5_boolean *valid)
-
-version SUNWprivate_1.1
-end
-
-function krb5_c_make_random_key
-include <k5-int.h>, <etypes.h>
-declaration krb5_error_code krb5_c_make_random_key( \
- krb5_context context, \
- krb5_enctype enctype, \
- krb5_keyblock *random_key)
-version SUNWprivate_1.1
-end
-
-function krb5_c_random_make_octets
-include <k5-int.h>, <enc_provider.h>
-declaration krb5_error_code krb5_c_random_make_octets( \
- krb5_context context, krb5_data *data)
-version SUNWprivate_1.1
-end
-
-function krb5_c_random_seed
-include <k5-int.h>, <enc_provider.h>
-declaration krb5_error_code krb5_c_random_seed( \
- krb5_context context, krb5_data *data)
-version SUNWprivate_1.1
-end
-
-function krb5_c_string_to_key
-include <k5-int.h>, <etypes.h>
-declaration krb5_error_code krb5_c_string_to_key( \
- krb5_context context, \
- krb5_enctype enctype, \
- const krb5_data *string, \
- const krb5_data *salt, \
- krb5_keyblock *key)
-version SUNWprivate_1.1
-end
-
-function krb5_c_string_to_key_with_params
-include <k5-int.h>, <etypes.h>
-declaration krb5_error_code krb5_c_string_to_key_with_params( \
- krb5_context context, \
- krb5_enctype enctype, \
- const krb5_data *string, \
- const krb5_data *salt, \
- const krb5_data *params, \
- krb5_keyblock *key)
-version SUNWprivate_1.1
-end
-
-function krb5_cksumtype_to_string
-include <k5-int.h>, <cksumtypes.h>
-declaration krb5_error_code krb5_cksumtype_to_string( \
- krb5_cksumtype cksumtype, \
- char * buffer, \
- size_t buflen)
-version SUNWprivate_1.1
-end
-
-function krb5_enctype_to_string
-include <k5-int.h>, <etypes.h>
-declaration krb5_error_code krb5_enctype_to_string( \
- krb5_enctype enctype, \
- char * buffer, \
- size_t buflen)
-version SUNWprivate_1.1
-end
-
-function krb5_old_decrypt
-include <k5-int.h>
-declaration krb5_error_code krb5_old_decrypt ( \
- krb5_context context, \
- const struct krb5_enc_provider *enc, \
- const struct krb5_hash_provider *hash, \
- const krb5_keyblock *key, krb5_keyusage usage,\
- const krb5_data *ivec, \
- const krb5_data *input, \
- krb5_data *arg_output)
-version SUNWprivate_1.1
-end
-
-function krb5_old_encrypt
-include <k5-int.h>
-declaration void krb5_old_encrypt ( \
- krb5_context context, \
- const struct krb5_enc_provider *enc, \
- const struct krb5_hash_provider *hash, \
- const krb5_keyblock *key, krb5_keyusage usage, \
- const krb5_data *ivec, const krb5_data *input, \
- krb5_data *output)
-version SUNWprivate_1.1
-end
-
-function krb5_old_encrypt_length
-include <k5-int.h>
-declaration void krb5_old_encrypt_length ( \
- const struct krb5_enc_provider *enc, \
- const struct krb5_hash_provider *hash, \
- size_t input, size_t *length)
-version SUNWprivate_1.1
-end
-
-function krb5_raw_decrypt
-include <k5-int.h>, <raw.h>
-declaration krb5_error_code krb5_raw_decrypt ( \
- krb5_context context, \
- const struct krb5_enc_provider *enc, \
- const struct krb5_hash_provider *hash, \
- const krb5_keyblock *key, \
- krb5_keyusage usage, \
- const krb5_data *ivec, \
- const krb5_data *input, \
- krb5_data *output)
-version SUNWprivate_1.1
-end
-
-function krb5_raw_encrypt
-include <k5-int.h>, <raw.h>
-declaration krb5_error_code krb5_raw_encrypt( \
- krb5_context context, \
- const struct krb5_enc_provider *enc, \
- const struct krb5_hash_provider *hash, \
- const krb5_keyblock *key, \
- krb5_keyusage usage, \
- const krb5_data *ivec, \
- const krb5_data *input, \
- krb5_data *output)
-version SUNWprivate_1.1
-end
-
-function krb5_raw_encrypt_length
-include <k5-int.h>, <raw.h>
-declaration void krb5_raw_encrypt_length ( \
- const struct krb5_enc_provider *enc, \
- const struct krb5_hash_provider *hash, \
- size_t inputlen, \
- size_t *length)
-version SUNWprivate_1.1
-end
-
-function mit_des_check_key_parity
-include <krb5.h>, <des_int.h>
-declaration int mit_des_check_key_parity (mit_des_cblock key)
-version SUNWprivate_1.1
-end
-
-function mit_des_fixup_key_parity
-include <krb5.h>, <des_int.h>
-declaration void mit_des_fixup_key_parity (mit_des_cblock key)
-version SUNWprivate_1.1
-end
-
-function mit_des_is_weak_key
-include <des_int.h>
-declaration int mit_des_is_weak_key (mit_des_cblock key)
-version SUNWprivate_1.1
-end
-
-function krb5_string_to_cksumtype
-include <k5-int.h>, <cksumtypes.h>
-declaration krb5_error_code krb5_string_to_cksumtype( \
- char * string, krb5_cksumtype * cksumtypep)
-version SUNWprivate_1.1
-end
-
-function krb5_string_to_enctype
-include <k5-int.h>, <etypes.h>
-declaration krb5_error_code krb5_string_to_enctype( \
- char * string, krb5_enctype * enctypep)
-version SUNWprivate_1.1
-end
-
-function krb5_c_valid_cksumtype
-include <k5-int.h>, <cksumtypes.h>
-declaration krb5_boolean krb5_c_valid_cksumtype( \
- krb5_cksumtype ctype)
-version SUNWprivate_1.1
-end
-
-function krb5_c_valid_enctype
-include <k5-int.h>, <etypes.h>
-declaration krb5_boolean krb5_c_valid_enctype( \
- krb5_enctype etype)
-version SUNWprivate_1.1
-end
-
-function k5_ef_hash
-include <k5-int.h>, <security/pkcs11.h>
-declaration krb5_error_code k5_ef_hash(krb5_context context, \
- CK_MECHANISM *mechanism, \
- unsigned int icount, \
- const krb5_data *input, \
- krb5_data *output)
-version SUNWprivate_1.1
-end
-
-function k5_ef_mac
-include <k5-int.h>, <security/pkcs11.h>
-declaration krb5_error_code k5_ef_mac(krb5_context context, \
- krb5_keyblock *key, \
- krb5_data *ivec, \
- const krb5_data *input, \
- krb5_data *output)
-version SUNWprivate_1.1
-end
-
-
-function krb5int_aes_encrypt
-include <k5-int.h>, <security/pkcs11.h>
-declaration krb5_error_code \
- krb5int_aes_encrypt(krb5_context context, \
- const krb5_keyblock *key, const krb5_data *ivec,\
- const krb5_data *input, krb5_data *output)
-version SUNWprivate_1.1
-end
-
-function krb5int_pbkdf2_hmac_sha1
-include <k5-int.h>, <security/pkcs11.h>
-declaration krb5_error_code krb5int_pbkdf2_hmac_sha1 ( \
- krb5_context context, \
- const krb5_data *out, unsigned long count, \
- krb5_enctype enctype, \
- const krb5_data *pass, const krb5_data *salt)
-version SUNWprivate_1.1
-end
-
-function krb5_string_to_key
-include <k5-int.h>
-declaration krb5_error_code krb5_string_to_key(krb5_context context,\
- const krb5_encrypt_block *eblock,\
- krb5_keyblock *keyblock, const krb5_data *data,\
- const krb5_data *salt)
-version SUNWprivate_1.1
-end
-
-function krb5_use_enctype
-include <k5-int.h>
-declaration krb5_error_code krb5_use_enctype(krb5_context context,\
- krb5_encrypt_block *eblock,\
- krb5_enctype enctype)
-version SUNWprivate_1.1
-end
-
-function krb5_checksum_size
-include <k5-int.h>
-declaration size_t krb5_checksum_size(krb5_context context, \
- krb5_cksumtype ctype)
-version SUNWprivate_1.1
-end
-
diff --git a/usr/src/lib/gss_mechs/mech_krb5/spec/krb5_errtbl.spec b/usr/src/lib/gss_mechs/mech_krb5/spec/krb5_errtbl.spec
deleted file mode 100644
index 7372a638f3..0000000000
--- a/usr/src/lib/gss_mechs/mech_krb5/spec/krb5_errtbl.spec
+++ /dev/null
@@ -1,111 +0,0 @@
-#
-# Copyright (c) 1998-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/gss_mechs/mech_krb5/spec/krb5_errtbl.spec
-#
-
-function asn1_error_table
-include <error_message.h>
-declaration const char *asn1_error_table(long errno)
-version SUNWprivate_1.1
-end
-
-function adb_error_table
-include <error_message.h>
-declaration const char *adb_error_table(long errno)
-version SUNWprivate_1.1
-end
-
-# spec2trace RFE
-function error_message
-include <com_err.h>
-declaration const char * error_message (long code)
-version SUNWprivate_1.1
-end
-
-function ggss_error_table
-include <error_message.h>
-declaration const char *ggss_error_table (long errno)
-version SUNWprivate_1.1
-end
-
-function imp_error_table
-include <error_message.h>
-declaration const char *imp_error_table (long errno)
-version SUNWprivate_1.1
-end
-
-function k5g_error_table
-include <error_message.h>
-declaration const char *k5g_error_table (long errno)
-version SUNWprivate_1.1
-end
-
-function kadm_error_table
-include <error_message.h>
-declaration const char * kadm_error_table (long errno)
-version SUNWprivate_1.1
-end
-
-function kdb5_error_table
-include <error_message.h>
-declaration const char * kdb5_error_table (long errno)
-version SUNWprivate_1.1
-end
-
-function kdc5_error_table
-include <error_message.h>
-declaration const char * kdc5_error_table (long errno)
-version SUNWprivate_1.1
-end
-
-function krb5_error_table
-include <error_message.h>
-declaration const char * krb5_error_table (long errno)
-version SUNWprivate_1.1
-end
-
-function kpws_error_table
-include <error_message.h>
-declaration const char * kpws_error_table (long errno)
-version SUNWprivate_1.1
-end
-
-function kv5m_error_table
-include <error_message.h>
-declaration const char *kv5m_error_table (long errorno)
-version SUNWprivate_1.1
-end
-
-function ovk_error_table
-include <error_message.h>
-declaration const char *ovk_error_table (long errorno)
-version SUNWprivate_1.1
-end
-
-function ovku_error_table
-include <error_message.h>
-declaration const char *ovku_error_table (long errorno)
-version SUNWprivate_1.1
-end
-
-function prof_error_table
-include <error_message.h>
-declaration const char *prof_error_table (long errorno)
-version SUNWprivate_1.1
-end
-
-function pty_error_table
-include <error_message.h>
-declaration const char *pty_error_table (long errorno)
-version SUNWprivate_1.1
-end
-
-function ss_error_table
-include <error_message.h>
-declaration const char *ss_error_table (long errorno)
-version SUNWprivate_1.1
-end
diff --git a/usr/src/lib/gss_mechs/mech_krb5/spec/krb5_gss.spec b/usr/src/lib/gss_mechs/mech_krb5/spec/krb5_gss.spec
deleted file mode 100644
index fc08da65f3..0000000000
--- a/usr/src/lib/gss_mechs/mech_krb5/spec/krb5_gss.spec
+++ /dev/null
@@ -1,490 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# lib/gss_mechs/mech_krb5/spec/krb5_gss.spec
-#
-
-function g_delete_cred_id
-include <gssapi_krb5.h>
-declaration int g_delete_cred_id (void **vdb, gss_cred_id_t cred)
-version SUNWprivate_1.1
-end
-
-function g_delete_ctx_id
-include <gssapi_krb5.h>
-declaration int g_delete_ctx_id (void **vdb, gss_ctx_id_t ctx)
-version SUNWprivate_1.1
-end
-
-function g_delete_name
-include <gssapi_krb5.h>
-declaration int g_delete_name (void **vdb, gss_name_t name)
-version SUNWprivate_1.1
-end
-
-function g_display_com_err_status
-include <gssapi_krb5.h>
-declaration OM_uint32 g_display_com_err_status (OM_uint32 *minor_status, \
- OM_uint32 status_value, gss_buffer_t status_string)
-version SUNWprivate_1.1
-end
-
-function g_display_major_status
-include <gssapi_krb5.h>
-declaration OM_uint32 g_display_major_status (OM_uint32 *minor_status, \
- OM_uint32 status_value, OM_uint32 *message_context, \
- gss_buffer_t status_string)
-version SUNWprivate_1.1
-end
-
-function g_local_host_name
-include <gssapi_krb5.h>
-declaration char *g_local_host_name (void);
-version SUNWprivate_1.1
-end
-
-function g_make_string_buffer
-include <gssapi_krb5.h>
-declaration int g_make_string_buffer (const char *str, \
- gss_buffer_t buffer)
-version SUNWprivate_1.1
-end
-
-function g_make_token_header
-include <gssapi_krb5.h>
-declaration void g_make_token_header (gss_OID mech, int body_size, \
- unsigned char **buf, int tok_type)
-version SUNWprivate_1.1
-end
-
-function g_order_check
-include <gssapi_krb5.h>
-declaration gss_int32 g_order_check (void **vqueue, gssint_uint64 seqnum)
-version SUNWprivate_1.1
-end
-
-function g_order_free
-include <gssapi_krb5.h>
-declaration void g_order_free (void **vqueue)
-version SUNWprivate_1.1
-end
-
-function g_order_init
-include <gssapi_krb5.h>
-declaration gss_int32 g_order_init (void **queue, gssint_uint64 seqnum, \
- int do_replay, int do_sequence, int wide)
-version SUNWprivate_1.1
-end
-
-function g_queue_externalize
-include <gssapi_krb5.h>
-declaration gss_uint32 g_queue_externalize (void *vqueue, \
- unsigned char **buf, size_t *lenremain)
-version SUNWprivate_1.1
-end
-
-function g_queue_internalize
-include <gssapi_krb5.h>
-declaration gss_uint32 g_queue_internalize (void **vqueue, \
- unsigned char **buf, size_t *lenremain)
-version SUNWprivate_1.1
-end
-
-function g_queue_size
-include <gssapi_krb5.h>
-declaration gss_uint32 g_queue_size (void *vqueue, size_t *sizep)
-version SUNWprivate_1.1
-end
-
-function g_save_cred_id
-include <gssapi_krb5.h>
-declaration int g_save_cred_id (void **vdb, gss_cred_id_t cred)
-version SUNWprivate_1.1
-end
-
-function g_save_ctx_id
-include <gssapi_krb5.h>
-declaration int g_save_ctx_id (void **vdb, gss_ctx_id_t ctx)
-version SUNWprivate_1.1
-end
-
-function g_save_name
-include <gssapi_krb5.h>
-declaration int g_save_name (void **vdb, gss_name_t name)
-version SUNWprivate_1.1
-end
-
-function g_set_destroy
-include <gssapi_krb5.h>
-declaration int g_set_destroy (g_set *s)
-version SUNWprivate_1.1
-end
-
-function g_set_entry_add
-include <gssapi_krb5.h>
-declaration int g_set_entry_add (g_set *s, void *key, void *value)
-version SUNWprivate_1.1
-end
-
-function g_set_entry_delete
-include <gssapi_krb5.h>
-declaration int g_set_entry_delete (g_set *s, void *key)
-version SUNWprivate_1.1
-end
-
-function g_set_entry_get
-include <gssapi_krb5.h>
-declaration int g_set_entry_get (g_set *s, void *key, void **value)
-version SUNWprivate_1.1
-end
-
-function g_set_init
-include <gssapi_krb5.h>
-declaration int g_set_init (g_set *s)
-version SUNWprivate_1.1
-end
-
-function g_strdup
-include <gssapi_krb5.h>
-declaration char *g_strdup (char *str)
-version SUNWprivate_1.1
-end
-
-function g_token_size
-include <gssapi_krb5.h>
-declaration int g_token_size (gss_OID mech, unsigned int body_size)
-version SUNWprivate_1.1
-end
-
-function g_validate_cred_id
-include <gssapi_krb5.h>
-declaration int g_validate_cred_id (void **vdb, gss_cred_id_t cred)
-version SUNWprivate_1.1
-end
-
-function g_validate_ctx_id
-include <gssapi_krb5.h>
-declaration int g_validate_ctx_id (void **vdb, gss_ctx_id_t ctx)
-version SUNWprivate_1.1
-end
-
-function g_validate_name
-include <gssapi_krb5.h>
-declaration int g_validate_name (void **vdb, gss_name_t name)
-version SUNWprivate_1.1
-end
-
-function g_verify_token_header
-include <gssapi_krb5.h>
-declaration gss_int32 g_verify_token_header \
- (gss_OID mech, unsigned int *body_size, \
- unsigned char **buf, int tok_type, \
- unsigned int toksize, int wrapper_required)
-version SUNWprivate_1.1
-end
-
-function gmt_mktime
-declaration time_t gmt_mktime (struct tm *t)
-version SUNWprivate_1.1
-end
-
-function gss_krb5_ccache_name
-include <gssapi_krb5.h>
-declaration OM_uint32 gss_krb5_ccache_name ( \
- OM_uint32 *minor_status, \
- const char *name, \
- const char **out_name)
-version SUNWprivate_1.1
-end
-
-function gss_krb5_copy_ccache
-include <gssapi_krb5.h>
-declaration OM_uint32 gss_krb5_copy_ccache ( \
- void *ctx, \
- OM_uint32 *minor_status, \
- gss_cred_id_t cred_handle, \
- krb5_ccache out_ccache)
-version SUNWprivate_1.1
-end
-
-function gss_krb5_get_tkt_flags
-include <gssapi_krb5.h>
-declaration OM_uint32 gss_krb5_get_tkt_flags (OM_uint32 *minor_status, \
- gss_ctx_id_t context_handle, krb5_flags *ticket_flags)
-version SUNWprivate_1.1
-end
-
-data gss_mech_krb5
-declaration const gss_OID_desc * const gss_mech_krb5
-version SUNWprivate_1.1
-end
-
-data gss_mech_krb5_old
-declaration const gss_OID_desc * const gss_mech_krb5_old
-version SUNWprivate_1.1
-end
-
-data gss_mech_krb5_v2
-declaration const gss_OID_desc * const gss_mech_krb5_v2
-version SUNWprivate_1.1
-end
-
-data gss_mech_set_krb5
-declaration const gss_OID_set_desc * const gss_mech_set_krb5
-version SUNWprivate_1.1
-end
-
-data gss_mech_set_krb5_both
-declaration const gss_OID_set_desc * const gss_mech_set_krb5_both
-version SUNWprivate_1.1
-end
-
-data gss_mech_set_krb5_old
-declaration const gss_OID_set_desc * const gss_mech_set_krb5_old
-version SUNWprivate_1.1
-end
-
-data gss_mech_set_krb5_v2
-declaration const gss_OID_set_desc * const gss_mech_set_krb5_old
-version SUNWprivate_1.1
-end
-
-data gss_mech_set_krb5_v1v2
-declaration const gss_OID_set_desc * const gss_mech_set_krb5_old
-version SUNWprivate_1.1
-end
-
-data gss_nt_krb5_name
-declaration const gss_OID_desc * const gss_nt_krb5_name
-version SUNWprivate_1.1
-end
-
-data gss_nt_krb5_principal
-declaration const gss_OID_desc * const gss_nt_krb5_principal
-version SUNWprivate_1.1
-end
-
-function kg_checksum_channel_bindings
-include <gssapiP_krb5.h>
-declaration krb5_error_code kg_checksum_channel_bindings (krb5_context context, \
- gss_channel_bindings_t cb, krb5_checksum *cksum, \
- int bigend)
-version SUNWprivate_1.1
-end
-
-function kg_confounder_size
-include <gssapiP_krb5.h>
-declaration int kg_confounder_size (krb5_context context, krb5_keyblock *key)
-version SUNWprivate_1.1
-end
-
-data kg_context
-declaration krb5_context kg_context
-version SUNWprivate_1.1
-end
-
-function kg_ctx_externalize
-include <gssapiP_krb5.h>
-declaration krb5_error_code kg_ctx_externalize (krb5_context kcontext, \
- krb5_pointer arg, krb5_octet **buffer, size_t *lenremain)
-version SUNWprivate_1.1
-end
-
-function kg_ctx_internalize
-include <gssapiP_krb5.h>
-declaration krb5_error_code kg_ctx_internalize (krb5_context kcontext, \
- krb5_pointer *argp, krb5_octet **buffer, size_t *lenremain)
-version SUNWprivate_1.1
-end
-
-function kg_ctx_size
-include <gssapiP_krb5.h>
-declaration krb5_error_code kg_ctx_size (krb5_context kcontext, \
- krb5_pointer arg, size_t *sizep)
-version SUNWprivate_1.1
-end
-
-function kg_decrypt
-include <gssapiP_krb5.h>
-declaration krb5_error_code kg_decrypt (krb5_context context, \
- krb5_keyblock *key, \
- int usage, \
- krb5_pointer iv, \
- krb5_pointer in, krb5_pointer out, int length)
-version SUNWprivate_1.1
-end
-
-function kg_encrypt
-include <gssapiP_krb5.h>
-declaration krb5_error_code kg_encrypt (krb5_context context, \
- krb5_keyblock *key, \
- int usage, \
- krb5_pointer iv, \
- krb5_pointer in, \
- krb5_pointer out, \
- int length)
-version SUNWprivate_1.1
-end
-
-function kg_encrypt_size
-include <gssapiP_krb5.h>
-declaration int kg_encrypt_size (krb5_context context, \
- krb5_keyblock *key, int n)
-version SUNWprivate_1.1
-end
-
-function kg_get_context
-include <gssapiP_krb5.h>
-declaration OM_uint32 kg_get_context (OM_uint32 *minor_status, \
- krb5_context *context)
-version SUNWprivate_1.1
-end
-
-function kg_get_defcred
-include <gssapiP_krb5.h>
-declaration OM_uint32 kg_get_defcred (OM_uint32 *minor_status, \
- gss_cred_id_t *cred)
-version SUNWprivate_1.1
-end
-
-function kg_get_seq_num
-include <gssapiP_krb5.h>
-declaration krb5_error_code kg_get_seq_num (krb5_context context, \
- krb5_keyblock *key, unsigned char *cksum, \
- unsigned char *buf, int *direction, \
- krb5_ui_4 *seqnum)
-version SUNWprivate_1.1
-end
-
-function kg_make_confounder
-include <gssapiP_krb5.h>
-declaration krb5_error_code kg_make_confounder ( \
- krb5_context context, \
- krb5_keyblock *key, unsigned char *buf)
-version SUNWprivate_1.1
-end
-
-function kg_make_seed
-include <gssapiP_krb5.h>
-declaration krb5_error_code kg_make_seed (krb5_context context, \
- krb5_keyblock *key, unsigned char *seed)
-version SUNWprivate_1.1
-end
-
-function kg_make_seq_num
-include <gssapiP_krb5.h>
-declaration krb5_error_code kg_make_seq_num (krb5_context context, \
- krb5_keyblock *key, int direction, \
- krb5_ui_4 seqnum, unsigned char *cksum, \
- unsigned char *buf)
-version SUNWprivate_1.1
-end
-
-function kg_oid_size
-declaration krb5_error_code kg_oid_size \
- (krb5_context kcontext, \
- krb5_pointer arg, size_t *sizep)
-version SUNWprivate_1.1
-end
-
-function kg_queue_size
-declaration krb5_error_code kg_queue_size \
- (krb5_context kcontext, \
- krb5_pointer arg, size_t *sizep)
-version SUNWprivate_1.1
-end
-
-function kg_release_defcred
-include <gssapiP_krb5.h>
-declaration OM_uint32 kg_release_defcred (OM_uint32 *minor_status)
-version SUNWprivate_1.1
-end
-
-function kg_seal
-include <gssapiP_krb5.h>
-declaration OM_uint32 kg_seal (krb5_context context, \
- OM_uint32 *minor_status, gss_ctx_id_t context_handle, \
- int conf_req_flag, int qop_req, \
- gss_buffer_t input_msg_buffer, int *conf_state, \
- gss_buffer_t output_msg_buffer, int toktype)
-version SUNWprivate_1.1
-end
-
-function kg_unseal
-include <gssapiP_krb5.h>
-declaration OM_uint32 kg_unseal (krb5_context context, \
- OM_uint32 *minor_status, gss_ctx_id_t context_handle, \
- gss_buffer_t input_token_buffer, \
- gss_buffer_t message_buffer, int *conf_state, \
- int *qop_state, int toktype)
-version SUNWprivate_1.1
-end
-
-data kg_vdb
-declaration void *kg_vdb
-version SUNWprivate_1.1
-end
-
-function kg2_parse_token
-include <gssapiP_krb5.h>
-declaration OM_uint32 kg2_parse_token (OM_uint32 *minor_status, \
- unsigned char *ptr, \
- int length, \
- krb5_ui_4 *flags, \
- int *nctypes, \
- krb5_cksumtype **ctypes, \
- int noptions, \
- struct kg2_option *options, \
- krb5_data *kmsg, \
- krb5_data *mic)
-version SUNWprivate_1.1
-end
-
-function krb5_gss_import_name
-include <gssapiP_krb5.h>
-declaration OM_uint32 krb5_gss_import_name \
- (void *ctx, OM_uint32 *minor_status, \
- gss_buffer_t input_buffer_type, \
- gss_OID input_name_type, gss_name_t *output_name)
-version SUNWprivate_1.1
-end
-
-function krb5_gss_init_sec_context
-include <gssapiP_krb5.h>
-declaration OM_uint32 krb5_gss_init_sec_context \
- (void *ct, OM_uint32 *context, \
- gss_cred_id_t cred_handle, \
- gss_ctx_id_t *context_handle, \
- gss_name_t target_name, gss_OID mech_type, \
- OM_uint32 req_flags, OM_uint32 time_req, \
- gss_channel_bindings_t input_chan_bindings, \
- gss_buffer_t input_token, gss_OID *actual_mech_type, \
- gss_buffer_t output_token, \
- OM_uint32 *ret_flags, OM_uint32 *time_rec)
-version SUNWprivate_1.1
-end
-
-function gssspi_acquire_cred_with_password
-include <gssapiP_krb5.h>
-declaration OM_uint32 gssspi_acquire_cred_with_password \
- (void *ct ,\
- OM_uint32 *minor_status ,\
- const gss_name_t desired_name ,\
- const gss_buffer_t password ,\
- OM_uint32 time_req ,\
- const gss_OID_set desired_mechs ,\
- gss_cred_usage_t cred_usage ,\
- gss_cred_id_t *output_cred_handle ,\
- gss_OID_set *actual_mechs ,\
- OM_uint32 *time_rec)
-
-version SUNWprivate_1.1
-end
-
-data krb5_gss_oid_array
-declaration const gss_OID_desc krb5_gss_oid_array[];
-version SUNWprivate_1.1
-end
diff --git a/usr/src/lib/gss_mechs/mech_krb5/spec/krb5_int.spec b/usr/src/lib/gss_mechs/mech_krb5/spec/krb5_int.spec
deleted file mode 100644
index 29a42cef36..0000000000
--- a/usr/src/lib/gss_mechs/mech_krb5/spec/krb5_int.spec
+++ /dev/null
@@ -1,451 +0,0 @@
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# lib/gss_mechs/mech_krb5/spec/krb5_int.spec
-#
-
-function com_err
-version SUNWprivate_1.1
-end
-
-function com_err_va
-version SUNWprivate_1.1
-end
-
-function daemon
-declaration int daemon (int nochdir, int noclose)
-version SUNWprivate_1.1
-end
-
-function decode_krb5_alt_method
-declaration krb5_error_code decode_krb5_alt_method \
- (const krb5_data *code, krb5_alt_method **rep)
-version SUNWprivate_1.1
-end
-
-function decode_krb5_ap_rep
-declaration krb5_error_code decode_krb5_ap_rep \
- (const krb5_data *code, krb5_ap_rep **rep)
-version SUNWprivate_1.1
-end
-
-function decode_krb5_ap_rep_enc_part
-declaration krb5_error_code decode_krb5_ap_rep_enc_part \
- (const krb5_data *code, krb5_ap_rep_enc_part **rep)
-version SUNWprivate_1.1
-end
-
-function decode_krb5_ap_req
-declaration krb5_error_code decode_krb5_ap_req \
- (const krb5_data *code, krb5_ap_req **rep)
-version SUNWprivate_1.1
-end
-
-function decode_krb5_as_rep
-declaration krb5_error_code decode_krb5_as_rep \
- (const krb5_data *code, krb5_kdc_rep **rep)
-version SUNWprivate_1.1
-end
-
-function decode_krb5_as_req
-declaration krb5_error_code decode_krb5_as_req \
- (const krb5_data *code, krb5_kdc_req **rep)
-version SUNWprivate_1.1
-end
-
-function decode_krb5_authdata
-declaration krb5_error_code decode_krb5_authdata \
- (const krb5_data *code, krb5_authdata ***rep)
-version SUNWprivate_1.1
-end
-
-function decode_krb5_authenticator
-declaration krb5_error_code decode_krb5_authenticator \
- (const krb5_data *code, krb5_authenticator **rep)
-version SUNWprivate_1.1
-end
-
-function decode_krb5_cred
-declaration krb5_error_code decode_krb5_cred \
- (const krb5_data *code, krb5_cred **rep)
-version SUNWprivate_1.1
-end
-
-function decode_krb5_enc_cred_part
-declaration krb5_error_code decode_krb5_enc_cred_part \
- (const krb5_data *code, krb5_cred_enc_part **rep)
-version SUNWprivate_1.1
-end
-
-function decode_krb5_enc_data
-declaration krb5_error_code decode_krb5_enc_data \
- (const krb5_data *code, krb5_enc_data **rep)
-version SUNWprivate_1.1
-end
-
-function decode_krb5_enc_kdc_rep_part
-declaration krb5_error_code decode_krb5_enc_kdc_rep_part \
- (const krb5_data *code, krb5_enc_kdc_rep_part **rep)
-version SUNWprivate_1.1
-end
-
-function decode_krb5_enc_priv_part
-declaration krb5_error_code decode_krb5_enc_priv_part \
- (const krb5_data *code, krb5_priv_enc_part **rep)
-version SUNWprivate_1.1
-end
-
-function decode_krb5_enc_sam_key
-declaration krb5_error_code decode_krb5_enc_sam_key \
- (const krb5_data *code, krb5_sam_key **rep)
-version SUNWprivate_1.1
-end
-
-function decode_krb5_enc_sam_response_enc
-declaration krb5_error_code decode_krb5_enc_sam_response_enc \
- (const krb5_data *code, krb5_enc_sam_response_enc **rep)
-version SUNWprivate_1.1
-end
-
-function decode_krb5_enc_tkt_part
-declaration krb5_error_code decode_krb5_enc_tkt_part \
- (const krb5_data *code, krb5_enc_tkt_part **rep)
-version SUNWprivate_1.1
-end
-
-function decode_krb5_encryption_key
-declaration krb5_error_code decode_krb5_encryption_key \
- (const krb5_data *code, krb5_keyblock **rep)
-version SUNWprivate_1.1
-end
-
-function decode_krb5_error
-declaration krb5_error_code decode_krb5_error \
- (const krb5_data *code, krb5_error **rep)
-version SUNWprivate_1.1
-end
-
-function decode_krb5_etype_info
-declaration krb5_error_code decode_krb5_etype_info \
- (const krb5_data *code, krb5_etype_info_entry ***rep)
-version SUNWprivate_1.1
-end
-
-function decode_krb5_kdc_req_body
-declaration krb5_error_code decode_krb5_kdc_req_body \
- (const krb5_data *code, krb5_kdc_req **rep)
-version SUNWprivate_1.1
-end
-
-function decode_krb5_pa_enc_ts
-declaration krb5_error_code decode_krb5_pa_enc_ts \
- (const krb5_data *code, krb5_pa_enc_ts **rep)
-version SUNWprivate_1.1
-end
-
-function decode_krb5_padata_sequence
-declaration krb5_error_code decode_krb5_padata_sequence \
- (const krb5_data *code, krb5_pa_data ***rep)
-version SUNWprivate_1.1
-end
-
-function decode_krb5_predicted_sam_response
-declaration krb5_error_code decode_krb5_predicted_sam_response \
- (const krb5_data *code, krb5_predicted_sam_response **rep)
-version SUNWprivate_1.1
-end
-
-function decode_krb5_priv
-declaration krb5_error_code decode_krb5_priv \
- (const krb5_data *code, krb5_priv **rep)
-version SUNWprivate_1.1
-end
-
-function decode_krb5_pwd_data
-declaration krb5_error_code decode_krb5_pwd_data \
- (const krb5_data *code, krb5_pwd_data **rep)
-version SUNWprivate_1.1
-end
-
-function decode_krb5_pwd_sequence
-declaration krb5_error_code decode_krb5_pwd_sequence \
- (const krb5_data *code, passwd_phrase_element **rep)
-version SUNWprivate_1.1
-end
-
-function decode_krb5_safe
-declaration krb5_error_code decode_krb5_safe \
- (const krb5_data *code, krb5_safe **rep)
-version SUNWprivate_1.1
-end
-
-function decode_krb5_sam_challenge
-declaration krb5_error_code decode_krb5_sam_challenge \
- (const krb5_data *code, krb5_sam_challenge **rep)
-version SUNWprivate_1.1
-end
-
-function decode_krb5_sam_response
-declaration krb5_error_code decode_krb5_sam_response \
- (const krb5_data *code, krb5_sam_response **rep)
-version SUNWprivate_1.1
-end
-
-function decode_krb5_tgs_rep
-declaration krb5_error_code decode_krb5_tgs_rep \
- (const krb5_data *code, krb5_kdc_rep **rep)
-version SUNWprivate_1.1
-end
-
-function decode_krb5_tgs_req
-declaration krb5_error_code decode_krb5_tgs_req \
- (const krb5_data *code, krb5_kdc_req **rep)
-version SUNWprivate_1.1
-end
-
-function decode_krb5_ticket
-declaration krb5_error_code decode_krb5_ticket \
- (const krb5_data *code, krb5_ticket **rep)
-version SUNWprivate_1.1
-end
-
-function display_unknown
-include <gssapi_krb5.h>
-declaration int display_unknown (const char *kind, \
- OM_uint32 value, gss_buffer_t buffer)
-version SUNWprivate_1.1
-end
-
-function encode_krb5_alt_method
-include <k5-int.h>
-declaration krb5_error_code encode_krb5_alt_method \
- (const krb5_alt_method *rep, krb5_data **code)
-version SUNWprivate_1.1
-end
-
-function encode_krb5_ap_rep
-include <k5-int.h>
-declaration krb5_error_code encode_krb5_ap_rep \
- (const krb5_ap_rep *rep, krb5_data **code)
-version SUNWprivate_1.1
-end
-
-function encode_krb5_ap_rep_enc_part
-include <k5-int.h>
-declaration krb5_error_code encode_krb5_ap_rep_enc_part \
- (const krb5_ap_rep_enc_part *rep, krb5_data **code)
-version SUNWprivate_1.1
-end
-
-function encode_krb5_ap_req
-include <k5-int.h>
-declaration krb5_error_code encode_krb5_ap_req \
- (const krb5_ap_req *rep, krb5_data **code)
-version SUNWprivate_1.1
-end
-
-function encode_krb5_as_rep
-include <k5-int.h>
-declaration krb5_error_code encode_krb5_as_rep \
- (const krb5_kdc_rep *rep, krb5_data **code)
-version SUNWprivate_1.1
-end
-
-function encode_krb5_as_req
-include <k5-int.h>
-declaration krb5_error_code encode_krb5_as_req \
- (const krb5_kdc_req *rep, krb5_data **code)
-version SUNWprivate_1.1
-end
-
-function encode_krb5_authdata
-include <k5-int.h>
-declaration krb5_error_code encode_krb5_authdata \
- (const krb5_authdata **rep, krb5_data **code)
-version SUNWprivate_1.1
-end
-
-function encode_krb5_authenticator
-include <k5-int.h>
-declaration krb5_error_code encode_krb5_authenticator \
- (const krb5_authenticator *rep, krb5_data **code)
-version SUNWprivate_1.1
-end
-
-function encode_krb5_cred
-include <k5-int.h>
-declaration krb5_error_code encode_krb5_cred \
- (const krb5_cred *rep, krb5_data **code)
-version SUNWprivate_1.1
-end
-
-function encode_krb5_enc_cred_part
-include <k5-int.h>
-declaration krb5_error_code encode_krb5_enc_cred_part \
- (const krb5_cred_enc_part *rep, krb5_data **code)
-version SUNWprivate_1.1
-end
-
-function encode_krb5_enc_data
-include <k5-int.h>
-declaration krb5_error_code encode_krb5_enc_data \
- (const krb5_enc_data *rep, krb5_data **code)
-version SUNWprivate_1.1
-end
-
-function encode_krb5_enc_kdc_rep_part
-include <k5-int.h>
-declaration krb5_error_code encode_krb5_enc_kdc_rep_part \
- (const krb5_enc_kdc_rep_part *rep, krb5_data **code)
-version SUNWprivate_1.1
-end
-
-function encode_krb5_enc_priv_part
-include <k5-int.h>
-declaration krb5_error_code encode_krb5_enc_priv_part \
- (const krb5_priv_enc_part *rep, krb5_data **code)
-version SUNWprivate_1.1
-end
-
-function encode_krb5_enc_sam_response_enc
-include <k5-int.h>
-declaration krb5_error_code encode_krb5_enc_sam_response_enc \
- (const krb5_enc_sam_response_enc *rep, krb5_data **code)
-version SUNWprivate_1.1
-end
-
-function encode_krb5_enc_tkt_part
-include <k5-int.h>
-declaration krb5_error_code encode_krb5_enc_tkt_part \
- (const krb5_enc_tkt_part *rep, krb5_data **code)
-version SUNWprivate_1.1
-end
-
-function encode_krb5_encryption_key
-include <k5-int.h>
-declaration krb5_error_code encode_krb5_encryption_key \
- (const krb5_keyblock *rep, krb5_data **code)
-version SUNWprivate_1.1
-end
-
-function encode_krb5_error
-include <k5-int.h>
-declaration krb5_error_code encode_krb5_error \
- (const krb5_error *rep, krb5_data **code)
-version SUNWprivate_1.1
-end
-
-function encode_krb5_etype_info
-include <k5-int.h>
-declaration krb5_error_code encode_krb5_etype_info \
- (const krb5_etype_info_entry **rep, krb5_data **code)
-version SUNWprivate_1.1
-end
-
-function encode_krb5_etype_info2
-include <k5-int.h>
-declaration krb5_error_code encode_krb5_etype_info2 \
- (const krb5_etype_info_entry **rep, krb5_data **code)
-version SUNWprivate_1.1
-end
-
-function encode_krb5_kdc_req_body
-include <k5-int.h>
-declaration krb5_error_code encode_krb5_kdc_req_body \
- (const krb5_kdc_req *rep, krb5_data **code)
-version SUNWprivate_1.1
-end
-
-function encode_krb5_pa_enc_ts
-include <k5-int.h>
-declaration krb5_error_code encode_krb5_pa_enc_ts \
- (const krb5_pa_enc_ts *rep, krb5_data **code)
-version SUNWprivate_1.1
-end
-
-function encode_krb5_padata_sequence
-declaration krb5_error_code encode_krb5_padata_sequence \
- (const krb5_pa_data **rep, krb5_data **code)
-version SUNWprivate_1.1
-end
-
-function encode_krb5_predicted_sam_response
-include <k5-int.h>
-declaration krb5_error_code encode_krb5_predicted_sam_response \
- (const krb5_predicted_sam_response *rep, \
- krb5_data **code)
-version SUNWprivate_1.1
-end
-
-function encode_krb5_priv
-include <k5-int.h>
-declaration krb5_error_code encode_krb5_priv \
- (const krb5_priv *rep, krb5_data **code)
-version SUNWprivate_1.1
-end
-
-function encode_krb5_pwd_data
-include <k5-int.h>
-declaration krb5_error_code encode_krb5_pwd_data \
- (const krb5_pwd_data *rep, krb5_data **code)
-version SUNWprivate_1.1
-end
-
-function encode_krb5_pwd_sequence
-include <k5-int.h>
-declaration krb5_error_code encode_krb5_pwd_sequence \
- (const passwd_phrase_element *rep, krb5_data **code)
-version SUNWprivate_1.1
-end
-
-function encode_krb5_safe
-include <k5-int.h>
-declaration krb5_error_code encode_krb5_safe \
- (const krb5_safe *rep, krb5_data **code)
-version SUNWprivate_1.1
-end
-
-function encode_krb5_sam_challenge
-include <k5-int.h>
-declaration krb5_error_code encode_krb5_sam_challenge \
- (const krb5_sam_challenge *rep, krb5_data **code)
-version SUNWprivate_1.1
-end
-
-function encode_krb5_sam_key
-include <k5-int.h>
-declaration krb5_error_code encode_krb5_sam_key \
- (const krb5_sam_key *rep, krb5_data **code)
-version SUNWprivate_1.1
-end
-
-function encode_krb5_sam_response
-include <k5-int.h>
-declaration krb5_error_code encode_krb5_sam_response \
- (const krb5_sam_response *rep, krb5_data **code)
-version SUNWprivate_1.1
-end
-
-function encode_krb5_tgs_rep
-include <k5-int.h>
-declaration krb5_error_code encode_krb5_tgs_rep \
- (const krb5_kdc_rep *rep, krb5_data **code)
-version SUNWprivate_1.1
-end
-
-function encode_krb5_tgs_req
-include <k5-int.h>
-declaration krb5_error_code encode_krb5_tgs_req \
- (const krb5_kdc_req *rep, krb5_data **code)
-version SUNWprivate_1.1
-end
-
-function encode_krb5_ticket
-include <k5-int.h>
-declaration krb5_error_code encode_krb5_ticket \
- (const krb5_ticket *rep, krb5_data **code)
-version SUNWprivate_1.1
-end
diff --git a/usr/src/lib/gss_mechs/mech_krb5/spec/krb5_keytab.spec b/usr/src/lib/gss_mechs/mech_krb5/spec/krb5_keytab.spec
deleted file mode 100644
index 64c50c9235..0000000000
--- a/usr/src/lib/gss_mechs/mech_krb5/spec/krb5_keytab.spec
+++ /dev/null
@@ -1,298 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# lib/gss_mechs/mech_krb5/spec/krb5_keytab.spec
-#
-
-function krb5_kt_add_entry
-include <krb5.h>
-declaration krb5_error_code krb5_kt_add_entry \
- (krb5_context context, krb5_keytab id, \
- krb5_keytab_entry *entry)
-version SUNWprivate_1.1
-end
-
-function krb5_kt_default
-include <krb5.h>
-declaration krb5_error_code krb5_kt_default \
- (krb5_context context, krb5_keytab *id)
-version SUNWprivate_1.1
-end
-
-function krb5_kt_default_name
-include <krb5.h>
-declaration krb5_error_code krb5_kt_default_name \
- (krb5_context context, char *name, int namesize)
-version SUNWprivate_1.1
-end
-
-function krb5_kt_dfl_ops
-version SUNWprivate_1.1
-end
-
-function krb5_kt_free_entry
-include <krb5.h>
-declaration krb5_error_code krb5_kt_free_entry \
- (krb5_context context, krb5_keytab_entry *entry)
-version SUNWprivate_1.1
-end
-
-function krb5_kt_read_service_key
-include <krb5.h>
-declaration krb5_error_code krb5_kt_read_service_key \
- (krb5_context context, krb5_pointer keyprocarg, \
- krb5_principal principal, krb5_kvno vno, \
- krb5_enctype enctype, krb5_keyblock **key)
-version SUNWprivate_1.1
-end
-
-function krb5_kt_register
-include <krb5.h>
-declaration krb5_error_code krb5_kt_register \
- (krb5_context context, krb5_kt_ops *ops)
-version SUNWprivate_1.1
-end
-
-function krb5_kt_close
-include <krb5.h>
-declaration krb5_error_code krb5_kt_close \
- (krb5_context context, krb5_keytab keytab)
-version SUNWprivate_1.1
-end
-
-function krb5_kt_next_entry
-include <krb5.h>
-declaration krb5_error_code krb5_kt_next_entry \
- (krb5_context context, krb5_keytab keytab, \
- krb5_keytab_entry *entry, krb5_kt_cursor *cursor)
-version SUNWprivate_1.1
-end
-
-function krb5_kt_get_name
-include <krb5.h>
-declaration krb5_error_code krb5_kt_get_name \
- (krb5_context context, krb5_keytab keytab, char *name, \
- unsigned int namelen)
-version SUNWprivate_1.1
-end
-
-
-function krb5_kt_start_seq_get
-include <krb5.h>
-declaration krb5_error_code krb5_kt_start_seq_get(krb5_context context, \
- krb5_keytab keytab, krb5_kt_cursor *cursor)
-version SUNWprivate_1.1
-end
-
-function krb5_kt_end_seq_get
-include <krb5.h>
-declaration krb5_error_code \
- krb5_kt_end_seq_get(krb5_context context, krb5_keytab keytab, \
- krb5_kt_cursor *cursor)
-version SUNWprivate_1.1
-end
-
-function krb5_kt_get_entry
-include <krb5.h>
-declaration krb5_error_code krb5_kt_get_entry \
- (krb5_context context, krb5_keytab keytab, \
- krb5_const_principal principal, krb5_kvno vno, \
- krb5_enctype enctype, krb5_keytab_entry *entry)
-version SUNWprivate_1.1
-end
-
-function krb5_kt_remove_entry
-include <krb5.h>
-declaration krb5_error_code krb5_kt_remove_entry \
- (krb5_context context, krb5_keytab id, \
- krb5_keytab_entry *entry)
-version SUNWprivate_1.1
-end
-
-function krb5_kt_resolve
-include <krb5.h>
-declaration krb5_error_code krb5_kt_resolve ( \
- krb5_context context, \
- const char *name, \
- krb5_keytab *ktid)
-version SUNWprivate_1.1
-end
-
-data krb5_ktf_ops
-declaration struct _krb5_kt_ops krb5_ktf_ops
-version SUNWprivate_1.1
-end
-
-data krb5_ktf_writable_ops
-declaration struct _krb5_kt_ops krb5_ktf_writable_ops
-version SUNWprivate_1.1
-end
-
-function krb5_ktfile_add
-include <gssapi_krb5.h>, <ktfile.h>
-declaration krb5_error_code krb5_ktfile_add \
- (krb5_context context, krb5_keytab id, \
- krb5_keytab_entry *entry)
-version SUNWprivate_1.1
-end
-
-function krb5_ktfile_close
-include <gssapi_krb5.h>, <ktfile.h>
-declaration krb5_error_code krb5_ktfile_close \
- (krb5_context, krb5_keytab id)
-version SUNWprivate_1.1
-end
-
-function krb5_ktfile_end_get
-include <gssapi_krb5.h>, <ktfile.h>
-declaration krb5_error_code krb5_ktfile_end_get \
- (krb5_context context, krb5_keytab id, \
- krb5_kt_cursor *cursor)
-version SUNWprivate_1.1
-end
-
-function krb5_ktfile_get_entry
-include <gssapi_krb5.h>, <ktfile.h>
-declaration krb5_error_code krb5_ktfile_get_entry \
- (krb5_context context, krb5_keytab id, \
- krb5_const_principal principal, krb5_kvno kvno, \
- krb5_enctype enctype, krb5_keytab_entry *entry)
-version SUNWprivate_1.1
-end
-
-function krb5_ktfile_get_name
-include <gssapi_krb5.h>, <ktfile.h>
-declaration krb5_error_code krb5_ktfile_get_name \
- (krb5_context context, krb5_keytab id, \
- char *name, int len)
-version SUNWprivate_1.1
-end
-
-function krb5_ktfile_get_next
-include <gssapi_krb5.h>, <ktfile.h>
-declaration krb5_error_code krb5_ktfile_get_next \
- (krb5_context context, krb5_keytab id, \
- krb5_keytab_entry *entry, krb5_kt_cursor *cursor)
-version SUNWprivate_1.1
-end
-
-function krb5_ktfile_remove
-include <gssapi_krb5.h>, <ktfile.h>
-declaration krb5_error_code krb5_ktfile_remove \
- (krb5_context context, krb5_keytab id, \
- krb5_keytab_entry *entry)
-version SUNWprivate_1.1
-end
-
-function krb5_ktfile_resolve
-include <gssapi_krb5.h>, <ktfile.h>
-declaration krb5_error_code krb5_ktfile_resolve \
- (krb5_context context, const char *name, \
- krb5_keytab *id)
-version SUNWprivate_1.1
-end
-
-data krb5_ktfile_ser_entry
-declaration const krb5_ser_entry krb5_ktfile_ser_entry
-version SUNWprivate_1.1
-end
-
-function krb5_ktfile_start_seq_get
-include <gssapi_krb5.h>, <ktfile.h>
-declaration krb5_error_code krb5_ktfile_start_seq_get \
- (krb5_context context, krb5_keytab id, \
- krb5_kt_cursor *cursorp)
-version SUNWprivate_1.1
-end
-
-function krb5_ktfile_wresolve
-include <gssapi_krb5.h>, <ktfile.h>
-declaration krb5_error_code krb5_ktfile_wresolve \
- (krb5_context context, const char *name, \
- krb5_keytab *id)
-version SUNWprivate_1.1
-end
-
-function krb5_ktfileint_close
-include <gssapi_krb5.h>, <ktfile.h>
-declaration krb5_error_code krb5_ktfileint_close \
- (krb5_context context, krb5_keytab id)
-version SUNWprivate_1.1
-end
-
-function krb5_ktfileint_delete_entry
-include <gssapi_krb5.h>, <ktfile.h>
-declaration krb5_error_code krb5_ktfileint_delete_entry \
- (krb5_context context, krb5_keytab id, \
- krb5_int32 delete_point)
-version SUNWprivate_1.1
-end
-
-function krb5_ktfileint_find_slot
-include <gssapi_krb5.h>, <ktfile.h>
-declaration krb5_error_code krb5_ktfileint_find_slot \
- (krb5_context context, krb5_keytab id, \
- krb5_int32 *size_needed, \
- krb5_int32 *commit_point)
-version SUNWprivate_1.1
-end
-
-function krb5_ktfileint_internal_read_entry
-include <gssapi_krb5.h>, <ktfile.h>
-declaration krb5_error_code krb5_ktfileint_internal_read_entry \
- (krb5_context context, krb5_keytab id, \
- krb5_keytab_entry *ret_entry, \
- krb5_int32 *delete_point)
-version SUNWprivate_1.1
-end
-
-function krb5_ktfileint_openr
-include <gssapi_krb5.h>, <ktfile.h>
-declaration krb5_error_code krb5_ktfileint_openr \
- (krb5_context context, krb5_keytab id)
-version SUNWprivate_1.1
-end
-
-function krb5_ktfileint_openw
-include <gssapi_krb5.h>, <ktfile.h>
-declaration krb5_error_code krb5_ktfileint_openw \
- (krb5_context context, krb5_keytab id)
-version SUNWprivate_1.1
-end
-
-function krb5_ktfileint_read_entry
-include <gssapi_krb5.h>, <ktfile.h>
-declaration krb5_error_code krb5_ktfileint_read_entry \
- (krb5_context context, krb5_keytab id, \
- krb5_keytab_entry *entryp)
-version SUNWprivate_1.1
-end
-
-function krb5_ktfileint_size_entry
-include <gssapi_krb5.h>, <ktfile.h>
-declaration krb5_error_code krb5_ktfileint_size_entry \
- (krb5_context context, krb5_keytab_entry *entry, \
- krb5_int32 *size_needed)
-version SUNWprivate_1.1
-end
-
-function krb5_ktfileint_write_entry
-include <gssapi_krb5.h>, <ktfile.h>
-declaration krb5_error_code krb5_ktfileint_write_entry \
- (krb5_context context, krb5_keytab id, \
- krb5_keytab_entry *entry)
-version SUNWprivate_1.1
-end
-
-data krb5_ser_keytab_init
-declaration krb5_error_code krb5_ser_keytab_init(krb5_context kcontext)
-version SUNWprivate_1.1
-end
-
-data krb5_overridekeyname
-declaration char * krb5_overridekeyname
-version SUNWprivate_1.1
-end
diff --git a/usr/src/lib/gss_mechs/mech_krb5/spec/krb5_krb.spec b/usr/src/lib/gss_mechs/mech_krb5/spec/krb5_krb.spec
deleted file mode 100644
index dd30629198..0000000000
--- a/usr/src/lib/gss_mechs/mech_krb5/spec/krb5_krb.spec
+++ /dev/null
@@ -1,428 +0,0 @@
-#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# lib/gss_mechs/mech_krb5/spec/krb5_krb.spec
-#
-
-function krb5_appdefault_boolean
-include <krb5.h>, <k5-int.h>
-declaration void krb5_appdefault_boolean (krb5_context context, \
- const char *appname, const krb5_data *realm, \
- const char *option, int default_value, \
- int *ret_value)
-version SUNWprivate_1.1
-end
-
-function krb5_appdefault_string
-include <krb5.h>, <k5-int.h>
-declaration void krb5_appdefault_string (krb5_context context, \
- const char *appname, const krb5_data *realm, \
- const char *option, const char *default_value, \
- char **ret_value)
-version SUNWprivate_1.1
-end
-
-function krb5_auth_con_getpermetypes
-include <krb5.h>
-declaration krb5_error_code krb5_auth_con_getpermetypes \
- (krb5_context context, \
- krb5_auth_context auth_context, \
- krb5_enctype ** permetypes)
-version SUNWprivate_1.1
-end
-
-function krb5_auth_con_setpermetypes
-include <krb5.h>
-declaration krb5_error_code krb5_auth_con_setpermetypes \
- (krb5_context context, \
- krb5_auth_context auth_context, \
- const krb5_enctype * permetypes)
-version SUNWprivate_1.1
-end
-
-function krb5_crypto_us_timeofday
-include <krb5.h>, <k5-int.h>
-declaration krb5_error_code krb5_crypto_us_timeofday ( \
- register krb5_int32 *seconds, \
- register krb5_int32 *microseconds)
-version SUNWprivate_1.1
-end
-
-function krb5_do_preauth
-include <krb5.h>, <k5-int.h>
-declaration krb5_error_code krb5_do_preauth ( \
- krb5_context context, krb5_kdc_req *request, \
- krb5_pa_data **in_padata, krb5_pa_data ***out_padata, \
- krb5_data *salt, krb5_data *s2kparams, \
- krb5_enctype *etype, \
- krb5_keyblock *as_key, \
- krb5_prompter_fct prompter, void *prompter_data, \
- krb5_gic_get_as_key_fct gak_fct, void *gak_data)
-version SUNWprivate_1.1
-end
-
-function krb5_encrypt_helper
-include <krb5.h>, <k5-int.h>
-declaration krb5_error_code krb5_encrypt_helper ( \
- krb5_context context, \
- const krb5_keyblock *key, krb5_keyusage usage, \
- const krb5_data *plain, krb5_enc_data *cipher)
-version SUNWprivate_1.1
-end
-
-function krb5_free_config_files
-include <krb5.h>, <k5-int.h>
-declaration void krb5_free_config_files (char **pfilenames)
-version SUNWprivate_1.1
-end
-
-function krb5_free_default_realm
-include <krb5.h>, <k5-int.h>
-declaration void krb5_free_default_realm \
- (krb5_context context, char *lrealm)
-version SUNWprivate_1.1
-end
-
-function krb5_free_ktypes
-include <krb5.h>, <k5-int.h>
-declaration void krb5_free_ktypes \
- (krb5_context context, \
- krb5_enctype *val)
-version SUNWprivate_1.1
-end
-
-function krb5_free_realm_string
-include <krb5.h>, <k5-int.h>
-declaration void krb5_free_realm_string ( \
- krb5_context context, char *str)
-version SUNWprivate_1.1
-end
-
-function krb5_get_default_config_files
-include <krb5.h>, <k5-int.h>
-declaration krb5_error_code krb5_get_default_config_files \
- (char ***pfilenames)
-version SUNWprivate_1.1
-end
-
-function krb5_get_init_creds
-include <krb5.h>, <k5-int.h>
-declaration krb5_error_code krb5_get_init_creds ( \
- krb5_context context, krb5_creds *creds, \
- krb5_principal client, krb5_prompter_fct prompter, \
- void *prompter_data, krb5_deltat start_time, \
- char *in_tkt_service, \
- krb5_get_init_creds_opt *options, \
- krb5_gic_get_as_key_fct gak_fct, void *gak_data, \
- int use_master, krb5_kdc_rep **as_reply)
-version SUNWprivate_1.1
-end
-
-function krb5_get_init_creds_keytab
-include <krb5.h>, <k5-int.h>
-declaration krb5_error_code krb5_get_init_creds_keytab ( \
- krb5_context context, \
- krb5_creds *creds, krb5_principal client, \
- krb5_keytab arg_keytab, krb5_deltat start_time, \
- char *in_tkt_service, \
- krb5_get_init_creds_opt *options)
-version SUNWprivate_1.1
-end
-
-function krb5_get_init_creds_opt_init
-include <krb5.h>, <k5-int.h>
-declaration void krb5_get_init_creds_opt_init ( \
- krb5_get_init_creds_opt *opt)
-version SUNWprivate_1.1
-end
-
-function krb5_get_init_creds_opt_set_address_list
-include <krb5.h>, <k5-int.h>
-declaration void krb5_get_init_creds_opt_set_address_list ( \
- krb5_get_init_creds_opt *opt, \
- krb5_address **addresses)
-version SUNWprivate_1.1
-end
-
-function krb5_get_init_creds_opt_set_etype_list
-include <krb5.h>, <k5-int.h>
-declaration void krb5_get_init_creds_opt_set_etype_list ( \
- krb5_get_init_creds_opt *opt, \
- krb5_enctype *etype_list, int etype_list_length)
-version SUNWprivate_1.1
-end
-
-function krb5_get_init_creds_opt_set_forwardable
-include <krb5.h>, <k5-int.h>
-declaration void krb5_get_init_creds_opt_set_forwardable ( \
- krb5_get_init_creds_opt *opt, int forwardable)
-version SUNWprivate_1.1
-end
-
-function krb5_get_init_creds_opt_set_preauth_list
-include <krb5.h>, <k5-int.h>
-declaration void krb5_get_init_creds_opt_set_preauth_list ( \
- krb5_get_init_creds_opt *opt, \
- krb5_preauthtype *preauth_list, int preauth_list_length)
-version SUNWprivate_1.1
-end
-
-function krb5_get_init_creds_opt_set_proxiable
-include <krb5.h>, <k5-int.h>
-declaration void krb5_get_init_creds_opt_set_proxiable ( \
- krb5_get_init_creds_opt *opt, int proxiable)
-version SUNWprivate_1.1
-end
-
-function krb5_get_init_creds_opt_set_renew_life
-include <krb5.h>, <k5-int.h>
-declaration void krb5_get_init_creds_opt_set_renew_life ( \
- krb5_get_init_creds_opt *opt, krb5_deltat renew_life)
-version SUNWprivate_1.1
-end
-
-function krb5_get_init_creds_opt_set_salt
-include <krb5.h>, <k5-int.h>
-declaration void krb5_get_init_creds_opt_set_salt ( \
- krb5_get_init_creds_opt *opt, krb5_data *salt)
-version SUNWprivate_1.1
-end
-
-function krb5_get_init_creds_opt_set_tkt_life
-include <krb5.h>, <k5-int.h>
-declaration void krb5_get_init_creds_opt_set_tkt_life ( \
- krb5_get_init_creds_opt *opt, krb5_deltat tkt_life)
-version SUNWprivate_1.1
-end
-
-function krb5_get_init_creds_password
-include <krb5.h>, <k5-int.h>
-declaration krb5_error_code krb5_get_init_creds_password ( \
- krb5_context context, \
- krb5_creds *creds, \
- krb5_principal client, \
- char *password, \
- krb5_prompter_fct prompter, \
- void *data, \
- krb5_deltat start_time, \
- char *in_tkt_service, \
- krb5_get_init_creds_opt *options)
-version SUNWprivate_1.1
-end
-
-function krb5_get_permitted_enctypes
-include <krb5.h>, <k5-int.h>
-declaration krb5_error_code krb5_get_permitted_enctypes \
- (krb5_context context, \
- krb5_enctype **ktypes)
-version SUNWprivate_1.1
-end
-
-function krb5_get_profile
-include <k5-int.h>
-declaration krb5_error_code krb5_get_profile \
- (krb5_context ctx, profile_t* profile)
-version SUNWprivate_1.1
-end
-
-function krb5_get_renewed_creds
-include <krb5.h>, <k5-int.h>
-declaration krb5_error_code krb5_get_renewed_creds ( \
- krb5_context context, \
- krb5_creds *creds, \
- krb5_principal client, \
- krb5_ccache ccache, \
- char *in_tkt_service)
-version SUNWprivate_1.1
-end
-
-function krb5_get_server_rcache
-include <k5-int.h>
-declaration krb5_error_code krb5_get_server_rcache ( \
- krb5_context context, \
- const krb5_data *piece, \
- krb5_rcache *rcptr)
-version SUNWprivate_1.1
-end
-
-function krb5_get_validated_creds
-include <krb5.h>, <k5-int.h>
-declaration krb5_error_code krb5_get_validated_creds ( \
- krb5_context context, \
- krb5_creds *creds, \
- krb5_principal client, \
- krb5_ccache ccache, \
- char *in_tkt_service)
-version SUNWprivate_1.1
-end
-
-function krb5_init_secure_context
-include <krb5.h>
-declaration krb5_error_code krb5_init_secure_context ( \
- krb5_context *context)
-version SUNWprivate_1.1
-end
-
-function krb5_is_permitted_enctype
-include <krb5.h>, <k5-int.h>
-declaration krb5_boolean krb5_is_permitted_enctype \
- (krb5_context context, \
- krb5_enctype etype)
-version SUNWprivate_1.1
-end
-
-function krb5_libdefault_boolean
-include <krb5.h>, <k5-int.h>
-declaration krb5_error_code krb5_libdefault_boolean ( \
- krb5_context context, const char *option, \
- const krb5_data *realm, int *ret_valu)
-version SUNWprivate_1.1
-end
-
-function krb5_prompter_posix
-include <k5-int.h>
-declaration krb5_error_code krb5_prompter_posix ( \
- krb5_context context, \
- void *data, \
- const char *name, \
- const char *banner, \
- int num_prompts, \
- krb5_prompt prompts[])
-version SUNWprivate_1.1
-end
-
-function krb5_get_prompt_types
-include <k5-int.h>
-declaration krb5_prompt_type* krb5_get_prompt_types (\
- krb5_context context)
-version SUNWprivate_1.1
-end
-
-function krb5_realm_iterator
-include <krb5.h>, <k5-int.h>
-declaration krb5_error_code krb5_realm_iterator ( \
- krb5_context context, void **iter_p, char **ret_realm)
-version SUNWprivate_1.1
-end
-
-function krb5_realm_iterator_create
-include <krb5.h>, <k5-int.h>
-declaration krb5_error_code krb5_realm_iterator_create ( \
- krb5_context context, void **iter_p)
-version SUNWprivate_1.1
-end
-
-function krb5_realm_iterator_free
-include <krb5.h>, <k5-int.h>
-declaration void krb5_realm_iterator_free ( \
- krb5_context context, void **iter_p)
-version SUNWprivate_1.1
-end
-
-function krb5_recvauth_version
-include <krb5.h>
-declaration krb5_error_code krb5_recvauth_version \
- (krb5_context context, \
- krb5_auth_context *auth_context, \
- krb5_pointer fd, krb5_principal server, \
- krb5_int32 flags, krb5_keytab keytab, \
- krb5_ticket **ticket, krb5_data *version)
-version SUNWprivate_1.1
-end
-
-function krb5_verify_init_creds
-include <krb5.h>, <k5-int.h>
-declaration krb5_error_code krb5_verify_init_creds ( \
- krb5_context context, \
- krb5_creds *creds, \
- krb5_principal server_arg, \
- krb5_keytab keytab_arg, \
- krb5_ccache *ccache_arg, \
- krb5_verify_init_creds_opt *options)
-version SUNWprivate_1.1
-end
-
-function krb5_verify_init_creds_opt_init
-include <krb5.h>, <k5-int.h>
-declaration void krb5_verify_init_creds_opt_init ( \
- krb5_verify_init_creds_opt *opt)
-version SUNWprivate_1.1
-end
-
-function krb5_verify_init_creds_opt_set_ap_req_nofail
-include <krb5.h>, <k5-int.h>
-declaration void krb5_verify_init_creds_opt_set_ap_req_nofail ( \
- krb5_verify_init_creds_opt *opt, int ap_req_nofail)
-version SUNWprivate_1.1
-end
-
-function krb5_decode_ticket
-include <krb5.h>
-declaration krb5_error_code krb5_decode_ticket \
- (const krb5_data *code, krb5_ticket **rep)
-version SUNWprivate_1.1
-end
-
-function krb5_init_keyblock
-include <k5-int.h>
-declaration krb5_error_code krb5_init_keyblock \
- (krb5_context, krb5_enctype enctype, \
- size_t length, krb5_keyblock **out)
-version SUNWprivate_1.1
-end
-
-function krb5_init_allocated_keyblock
-include <k5-int.h>
-declaration krb5_error_code krb5_init_allocated_keyblock \
- (krb5_context, krb5_enctype enctype, \
- unsigned int length)
-version SUNWprivate_1.1
-end
-
-function krb5_get_key_enctype
-include <k5-int.h>
-declaration krb5_enctype krb5_get_key_enctype(krb5_keyblock *)
-version SUNWprivate_1.1
-end
-
-function krb5_get_key_length
-include <k5-int.h>
-declaration unsigned int krb5_get_key_length(krb5_keyblock *)
-version SUNWprivate_1.1
-end
-
-function krb5_get_key_data
-include <k5-int.h>
-declaration krb5_octet *krb5_get_key_data(krb5_keyblock *)
-version SUNWprivate_1.1
-end
-
-function krb5_set_key_enctype
-include <k5-int.h>
-declaration void krb5_set_key_enctype(krb5_keyblock *, krb5_enctype)
-version SUNWprivate_1.1
-end
-
-function krb5_set_key_data
-include <k5-int.h>
-declaration void krb5_set_key_data(krb5_keyblock *,\
- krb5_octet *)
-version SUNWprivate_1.1
-end
-
-function krb5_set_key_length
-include <k5-int.h>
-declaration void krb5_set_key_length(krb5_keyblock *,\
- unsigned int)
-version SUNWprivate_1.1
-end
-
-function krb5_set_principal_realm
-include <k5-int.h>
-declaration krb5_set_principal_realm(krb5_context context, \
- krb5_principal principal, const char *realm)
-version SUNWprivate_1.1
-end
diff --git a/usr/src/lib/gss_mechs/mech_krb5/spec/krb5_mech1.spec b/usr/src/lib/gss_mechs/mech_krb5/spec/krb5_mech1.spec
deleted file mode 100644
index 8c140bf0e7..0000000000
--- a/usr/src/lib/gss_mechs/mech_krb5/spec/krb5_mech1.spec
+++ /dev/null
@@ -1,556 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# lib/gss_mechs/mech_krb5/spec/krb5_mech1.spec
-#
-
-function krb5_425_conv_principal
-include <krb5.h>
-declaration krb5_error_code krb5_425_conv_principal \
- (krb5_context context, const char *name, \
- const char *instance, \
- const char *realm, \
- krb5_principal *princ)
-version SUNWprivate_1.1
-end
-
-function krb5_524_conv_principal
-include <krb5.h>
-declaration krb5_error_code krb5_524_conv_principal \
- (krb5_context context, \
- const krb5_principal princ, \
- char *name, char *inst, char *realm)
-version SUNWprivate_1.1
-end
-
-function krb5_address_compare
-include <krb5.h>, <k5-int.h>
-declaration krb5_boolean krb5_address_compare ( \
- krb5_context context, \
- const krb5_address *addr1, \
- const krb5_address *addr2)
-version SUNWprivate_1.1
-end
-
-function krb5_address_order
-include <krb5.h>, <k5-int.h>
-declaration int krb5_address_order ( \
- krb5_context context, \
- register const krb5_address *addr1, \
- register const krb5_address *addr2)
-version SUNWprivate_1.1
-end
-
-function krb5_address_search
-include <krb5.h>, <k5-int.h>
-declaration krb5_boolean krb5_address_search ( \
- krb5_context context, \
- const krb5_address *addr, \
- krb5_address * const * addrlist)
-version SUNWprivate_1.1
-end
-
-function krb5_aname_to_localname
-include <krb5.h>
-declaration krb5_error_code krb5_aname_to_localname \
- (krb5_context context, \
- krb5_const_principal aname, \
- const int lnsize, char *lname)
-version SUNWprivate_1.1
-end
-
-function krb5_auth_con_free
-include <krb5.h>
-declaration krb5_error_code krb5_auth_con_free \
- (krb5_context context, \
- krb5_auth_context auth_context)
-version SUNWprivate_1.1
-end
-
-function krb5_auth_con_genaddrs
-include <krb5.h>
-declaration krb5_error_code krb5_auth_con_genaddrs \
- (krb5_context context, \
- krb5_auth_context auth_context, \
- int infd, int flags)
-version SUNWprivate_1.1
-end
-
-function krb5_auth_con_getaddrs
-include <krb5.h>
-declaration krb5_error_code krb5_auth_con_getaddrs \
- (krb5_context context, \
- krb5_auth_context auth_context, \
- krb5_address **local_addr, \
- krb5_address **remote_addr)
-version SUNWprivate_1.1
-end
-
-function krb5_auth_con_getauthenticator
-include <krb5.h>
-declaration krb5_error_code krb5_auth_con_getauthenticator \
- (krb5_context context, \
- krb5_auth_context auth_context, \
- krb5_authenticator **authenticator)
-version SUNWprivate_1.1
-end
-
-function krb5_auth_con_getflags
-include <krb5.h>
-declaration krb5_error_code krb5_auth_con_getflags \
- (krb5_context context, \
- krb5_auth_context auth_context, \
- krb5_int32 *flags)
-version SUNWprivate_1.1
-end
-
-function krb5_auth_con_set_checksum_func
-include <krb5.h>
-declaration krb5_error_code krb5_auth_con_set_checksum_func ( \
- krb5_context, krb5_auth_context, \
- krb5_mk_req_checksum_func, void *)
-version SUNWprivate_1.1
-end
-
-function krb5_auth_con_get_checksum_func
-include <krb5.h>
-declaration krb5_error_code krb5_auth_con_get_checksum_func ( \
- krb5_context, krb5_auth_context, \
- krb5_mk_req_checksum_func *, void **)
-version SUNWprivate_1.1
-end
-
-function krb5_auth_con_getivector
-include <krb5.h>
-declaration krb5_error_code krb5_auth_con_getivector \
- (krb5_context context, \
- krb5_auth_context auth_context, \
- krb5_pointer *ivector)
-version SUNWprivate_1.1
-end
-
-function krb5_auth_con_getkey
-include <krb5.h>
-declaration krb5_error_code krb5_auth_con_getkey \
- (krb5_context context, \
- krb5_auth_context auth_context, \
- krb5_keyblock **keyblock)
-version SUNWprivate_1.1
-end
-
-function krb5_auth_con_getsendsubkey
-include <krb5.h>
-declaration krb5_error_code krb5_auth_con_getsendsubkey( \
- krb5_context, \
- krb5_auth_context, \
- krb5_keyblock **)
-version SUNWprivate_1.1
-end
-
-function krb5_auth_con_getrecvsubkey
-include <krb5.h>
-declaration krb5_error_code krb5_auth_con_getrecvsubkey( \
- krb5_context, \
- krb5_auth_context, \
- krb5_keyblock **)
-version SUNWprivate_1.1
-end
-
-function krb5_auth_con_setsendsubkey
-include <krb5.h>
-declaration krb5_error_code krb5_auth_con_setsendsubkey( \
- krb5_context, \
- krb5_auth_context, \
- krb5_keyblock *)
-version SUNWprivate_1.1
-end
-
-function krb5_auth_con_setrecvsubkey
-include <krb5.h>
-declaration krb5_error_code krb5_auth_con_setrecvsubkey( \
- krb5_context, \
- krb5_auth_context, \
- krb5_keyblock *)
-version SUNWprivate_1.1
-end
-
-function krb5_auth_con_getlocalseqnumber
-include <krb5.h>
-declaration krb5_error_code krb5_auth_con_getlocalseqnumber \
- (krb5_context context, \
- krb5_auth_context auth_context, \
- krb5_int32 *seqnumber)
-version SUNWprivate_1.1
-end
-
-function krb5_auth_con_getlocalsubkey
-include <krb5.h>
-declaration krb5_error_code krb5_auth_con_getlocalsubkey \
- (krb5_context context, \
- krb5_auth_context auth_context, \
- krb5_keyblock **keyblock)
-version SUNWprivate_1.1
-end
-
-function krb5_auth_con_getrcache
-include <krb5.h>
-declaration krb5_error_code krb5_auth_con_getrcache \
- (krb5_context context, \
- krb5_auth_context auth_context, \
- krb5_rcache *rcache)
-version SUNWprivate_1.1
-end
-
-function krb5_auth_con_getremoteseqnumber
-include <krb5.h>
-declaration krb5_error_code krb5_auth_con_getremoteseqnumber \
- (krb5_context context, \
- krb5_auth_context auth_context, \
- krb5_int32 *seqnumber)
-version SUNWprivate_1.1
-end
-
-function krb5_auth_con_getremotesubkey
-include <krb5.h>
-declaration krb5_error_code krb5_auth_con_getremotesubkey \
- (krb5_context context, \
- krb5_auth_context auth_context, \
- krb5_keyblock **keyblock)
-version SUNWprivate_1.1
-end
-
-function krb5_auth_con_init
-include <krb5.h>
-declaration krb5_error_code krb5_auth_con_init \
- (krb5_context context, \
- krb5_auth_context *auth_context)
-version SUNWprivate_1.1
-end
-
-function krb5_auth_con_initivector
-include <krb5.h>
-declaration krb5_error_code krb5_auth_con_initivector \
- (krb5_context context, \
- krb5_auth_context auth_context)
-version SUNWprivate_1.1
-end
-
-function krb5_auth_con_set_req_cksumtype
-include <krb5.h>
-declaration krb5_error_code krb5_auth_con_set_req_cksumtype \
- (krb5_context context, \
- krb5_auth_context auth_context, \
- krb5_cksumtype cksumtype)
-version SUNWprivate_1.1
-end
-
-function krb5_auth_con_set_safe_cksumtype
-include <krb5.h>
-declaration krb5_error_code krb5_auth_con_set_safe_cksumtype \
- (krb5_context context, \
- krb5_auth_context auth_context, \
- krb5_cksumtype cksumtype)
-version SUNWprivate_1.1
-end
-
-function krb5_auth_con_setaddrs
-include <krb5.h>
-declaration krb5_error_code krb5_auth_con_setaddrs \
- (krb5_context context, \
- krb5_auth_context auth_context, \
- krb5_address *local_addr, \
- krb5_address *remote_addr)
-version SUNWprivate_1.1
-end
-
-function krb5_auth_con_setflags
-include <krb5.h>
-declaration krb5_error_code krb5_auth_con_setflags \
- (krb5_context context, \
- krb5_auth_context auth_context, \
- krb5_int32 flags)
-version SUNWprivate_1.1
-end
-
-function krb5_auth_con_setivector
-include <krb5.h>
-declaration krb5_error_code krb5_auth_con_setivector \
- (krb5_context context, krb5_auth_context auth_context, \
- krb5_pointer ivector)
-version SUNWprivate_1.1
-end
-
-function krb5_auth_con_setports
-include <krb5.h>
-declaration krb5_error_code krb5_auth_con_setports \
- (krb5_context context, krb5_auth_context auth_context, \
- krb5_address *local_port, krb5_address *remote_port)
-version SUNWprivate_1.1
-end
-
-function krb5_auth_con_setrcache
-include <krb5.h>
-declaration krb5_error_code krb5_auth_con_setrcache \
- (krb5_context context, krb5_auth_context auth_context, \
- krb5_rcache rcache)
-version SUNWprivate_1.1
-end
-
-function krb5_auth_con_setuseruserkey
-include <krb5.h>
-declaration krb5_error_code krb5_auth_con_setuseruserkey \
- (krb5_context context, krb5_auth_context auth_context, \
- krb5_keyblock *keyblock)
-version SUNWprivate_1.1
-end
-
-function krb5_auth_to_rep
-include <krb5.h>
-declaration krb5_error_code krb5_auth_to_rep ( \
- krb5_context context, \
- krb5_tkt_authent *auth, \
- krb5_donot_replay *rep)
-version SUNWprivate_1.1
-end
-
-# spec2trace RFE
-function krb5_build_principal
-version SUNWprivate_1.1
-end
-
-# spec2trace RFE
-function krb5_build_principal_ext
-version SUNWprivate_1.1
-end
-
-# spec2trace RFE
-function krb5_build_principal_va
-version SUNWprivate_1.1
-end
-
-function krb5_check_transited_list
-include <krb5.h>
-declaration krb5_error_code krb5_check_transited_list \
- (krb5_context context, krb5_data *trans, \
- const krb5_data *realm1, const krb5_data *realm2)
-version SUNWprivate_1.1
-end
-
-data krb5_cksumtypes_list
-declaration const struct krb5_cksumtypes krb5_cksumtypes_list[]
-version SUNWprivate_1.1
-end
-
-data krb5_cksumtypes_length
-declaration const int krb5_cksumtypes_length
-version SUNWprivate_1.1
-end
-
-function krb5_copy_addr
-include <krb5.h>
-declaration krb5_error_code krb5_copy_addr \
- (krb5_context context, \
- const krb5_address *inad, krb5_address **outad)
-version SUNWprivate_1.1
-end
-
-function krb5_copy_addresses
-include <krb5.h>, <k5-int.h>
-declaration krb5_error_code krb5_copy_addresses ( \
- krb5_context context, \
- krb5_address * const * inaddr, \
- krb5_address ***outaddr)
-version SUNWprivate_1.1
-end
-
-function krb5_copy_authdata
-include <krb5.h>, <k5-int.h>
-declaration krb5_error_code krb5_copy_authdata ( \
- krb5_context context, \
- krb5_authdata * const * inauthdat, \
- krb5_authdata ***outauthdat)
-version SUNWprivate_1.1
-end
-
-function krb5_copy_authenticator
-include <krb5.h>, <k5-int.h>
-declaration krb5_error_code krb5_copy_authenticator ( \
- krb5_context context, \
- const krb5_authenticator *authfrom, \
- krb5_authenticator **authto)
-version SUNWprivate_1.1
-end
-
-function krb5_copy_checksum
-include <krb5.h>, <k5-int.h>
-declaration krb5_error_code krb5_copy_checksum ( \
- krb5_context context, \
- const krb5_checksum *ckfrom, \
- krb5_checksum **ckto)
-version SUNWprivate_1.1
-end
-
-function krb5_copy_creds
-include <krb5.h>, <k5-int.h>
-declaration krb5_error_code krb5_copy_creds ( \
- krb5_context context, \
- const krb5_creds *incred, \
- krb5_creds **outcred)
-version SUNWprivate_1.1
-end
-
-function krb5_copy_data
-include <krb5.h>, <k5-int.h>
-declaration krb5_error_code krb5_copy_data ( \
- krb5_context context, \
- const krb5_data *indata, \
- krb5_data **outdata)
-version SUNWprivate_1.1
-end
-
-function krb5_copy_keyblock
-include <krb5.h>, <k5-int.h>
-declaration krb5_error_code krb5_copy_keyblock ( \
- krb5_context contexti, \
- const krb5_keyblock *from, \
- krb5_keyblock **to)
-version SUNWprivate_1.1
-end
-
-function krb5_copy_keyblock_contents
-include <krb5.h>, <k5-int.h>
-declaration krb5_error_code krb5_copy_keyblock_contents ( \
- krb5_context context, \
- const krb5_keyblock *from, \
- krb5_keyblock *to)
-version SUNWprivate_1.1
-end
-
-function krb5_copy_keyblock_data
-include <krb5.h>, <k5-int.h>
-declaration krb5_error_code krb5_copy_keyblock_data ( \
- krb5_context context, \
- const krb5_keyblock *from, \
- krb5_keyblock *to)
-version SUNWprivate_1.1
-end
-
-function krb5_copy_principal
-include <krb5.h>
-declaration krb5_error_code krb5_copy_principal ( \
- krb5_context context, \
- krb5_const_principal inprinc, \
- krb5_principal *outprinc)
-version SUNWprivate_1.1
-end
-
-function krb5_copy_ticket
-declaration krb5_error_code krb5_copy_ticket ( \
- krb5_context context, \
- const krb5_ticket *from, \
- krb5_ticket **pto)
-version SUNWprivate_1.1
-end
-
-function krb5_create_secure_file
-include <k5-int.h>
-declaration krb5_error_code krb5_create_secure_file \
- (krb5_context context, const char * pathname)
-version SUNWprivate_1.1
-end
-
-function krb5_decode_kdc_rep
-include <krb5.h>, <k5-int.h>
-declaration krb5_error_code krb5_decode_kdc_rep ( \
- krb5_context context, \
- krb5_data * enc_rep, \
- const krb5_keyblock * key, \
- krb5_kdc_rep ** dec_rep)
-version SUNWprivate_1.1
-end
-
-function krb5_decrypt_tkt_part
-include <krb5.h>, <k5-int.h>
-declaration krb5_error_code krb5_decrypt_tkt_part ( \
- krb5_context context, \
- const krb5_keyblock *srv_key, \
- register krb5_ticket *ticket)
-version SUNWprivate_1.1
-end
-
-data krb5_default_pwd_prompt1
-declaration char *krb5_default_pwd_prompt1
-version SUNWprivate_1.1
-end
-
-data krb5_default_pwd_prompt2
-declaration char *krb5_default_pwd_prompt2
-version SUNWprivate_1.1
-end
-
-data krb5_defkeyname
-declaration char *krb5_defkeyname
-version SUNWprivate_1.1
-end
-
-# Uncomment if SUNW_INC_DEAD_CODE is set
-#function krb5_deltat_to_string
-#include <krb5.h>, <k5-int.h>
-#declaration krb5_error_code krb5_deltat_to_string ( \
-# krb5_deltat deltat, \
-# char * buffer, \
-# size_t buflen)
-#version SUNWprivate_1.1
-#end
-
-function krb5_encode_kdc_rep
-include <krb5.h>, <k5-int.h>
-declaration krb5_error_code krb5_encode_kdc_rep ( \
- krb5_context context, \
- const krb5_msgtype type, \
- const krb5_enc_kdc_rep_part * encpart, \
- int using_subkey, \
- const krb5_keyblock * client_key, \
- krb5_kdc_rep * dec_rep, \
- krb5_data ** enc_rep)
-version SUNWprivate_1.1
-end
-
-function krb5_encrypt_tkt_part
-include <krb5.h>, <k5-int.h>
-declaration krb5_error_code krb5_encrypt_tkt_part ( \
- krb5_context context, \
- const krb5_keyblock *srv_key, \
- register krb5_ticket *dec_ticket)
-version SUNWprivate_1.1
-end
-
-data krb5_enctypes_list
-declaration const struct krb5_keytypes krb5_enctypes_list[]
-version SUNWprivate_1.1
-end
-
-data krb5_enctypes_length
-declaration const int krb5_enctypes_length
-version SUNWprivate_1.1
-end
-
-function krb5_externalize_data
-include <k5-int.h>
-declaration krb5_error_code krb5_externalize_data ( \
- krb5_context context, krb5_pointer arg, \
- krb5_octet **bufpp, size_t *sizep)
-version SUNWprivate_1.1
-end
-
-function krb5_externalize_opaque
-include <k5-int.h>
-declaration krb5_error_code krb5_externalize_opaque ( \
- krb5_context context, krb5_magic odtype, \
- krb5_pointer arg, krb5_octet **bufpp, \
- size_t *sizep)
-version SUNWprivate_1.1
-end
diff --git a/usr/src/lib/gss_mechs/mech_krb5/spec/krb5_mech2.spec b/usr/src/lib/gss_mechs/mech_krb5/spec/krb5_mech2.spec
deleted file mode 100644
index 0c0b09c978..0000000000
--- a/usr/src/lib/gss_mechs/mech_krb5/spec/krb5_mech2.spec
+++ /dev/null
@@ -1,608 +0,0 @@
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# lib/gss_mechs/mech_krb5/spec/krb5_mech2.spec
-#
-
-function krb5_find_serializer
-include <k5-int.h>
-declaration krb5_ser_handle krb5_find_serializer \
- (krb5_context kcontext, krb5_magic odtype)
-version SUNWprivate_1.1
-end
-
-function krb5_free_address
-include <krb5.h>
-declaration void krb5_free_address \
- (krb5_context context, krb5_address *val)
-version SUNWprivate_1.1
-end
-
-function krb5_free_addresses
-include <krb5.h>
-declaration void krb5_free_addresses ( \
- krb5_context context, \
- krb5_address **val)
-version SUNWprivate_1.1
-end
-
-function krb5_free_ap_rep
-include <krb5.h>
-declaration void krb5_free_ap_rep \
- (krb5_context context, register krb5_ap_rep *val)
-version SUNWprivate_1.1
-end
-
-function krb5_free_ap_rep_enc_part
-include <krb5.h>
-declaration void krb5_free_ap_rep_enc_part \
- (krb5_context context, krb5_ap_rep_enc_part *val)
-version SUNWprivate_1.1
-end
-
-function krb5_free_ap_req
-include <krb5.h>
-declaration void krb5_free_ap_req \
- (krb5_context context, register krb5_ap_req *val)
-version SUNWprivate_1.1
-end
-
-function krb5_free_authdata
-include <krb5.h>
-declaration void krb5_free_authdata \
- (krb5_context context, krb5_authdata **val)
-version SUNWprivate_1.1
-end
-
-function krb5_free_authenticator
-include <krb5.h>
-declaration void krb5_free_authenticator \
- (krb5_context context, krb5_authenticator *val)
-version SUNWprivate_1.1
-end
-
-function krb5_free_authenticator_contents
-include <krb5.h>
-declaration void krb5_free_authenticator_contents \
- (krb5_context context, krb5_authenticator *val)
-version SUNWprivate_1.1
-end
-
-function krb5_free_checksum
-include <krb5.h>
-declaration void krb5_free_checksum \
- (krb5_context context, register krb5_checksum *val)
-version SUNWprivate_1.1
-end
-
-function krb5_free_checksum_contents
-include <krb5.h>
-declaration void krb5_free_checksum_contents \
- (krb5_context context, register krb5_checksum *val)
-version SUNWprivate_1.1
-end
-
-function krb5_free_cksumtypes
-include <k5-int.h>, <etypes.h>, <cksumtypes.h>
-declaration void krb5_free_cksumtypes( \
- krb5_context context, \
- krb5_cksumtype * val)
-version SUNWprivate_1.1
-end
-
-function krb5_free_context
-include <krb5.h>
-declaration void krb5_free_context (krb5_context context)
-version SUNWprivate_1.1
-end
-
-function krb5_free_cred
-include <krb5.h>
-declaration void krb5_free_cred \
- (krb5_context context, register krb5_cred *val)
-version SUNWprivate_1.1
-end
-
-function krb5_free_cred_contents
-include <krb5.h>
-declaration void krb5_free_cred_contents \
- (krb5_context context, krb5_creds *val)
-version SUNWprivate_1.1
-end
-
-function krb5_free_cred_enc_part
-include <krb5.h>
-declaration void krb5_free_cred_enc_part (krb5_context, \
- krb5_cred_enc_part *)
-version SUNWprivate_1.1
-end
-
-function krb5_free_creds
-include <krb5.h>
-declaration void krb5_free_creds \
- (krb5_context context, krb5_creds *val)
-version SUNWprivate_1.1
-end
-
-function krb5_free_data
-include <krb5.h>
-declaration void krb5_free_data \
- (krb5_context context, krb5_data *val)
-version SUNWprivate_1.1
-end
-
-function krb5_free_data_contents
-include <krb5.h>
-declaration void krb5_free_data_contents \
- (krb5_context context, krb5_data *val)
-version SUNWprivate_1.1
-end
-
-function krb5_free_enc_kdc_rep_part
-include <krb5.h>
-declaration void krb5_free_enc_kdc_rep_part \
- (krb5_context context, \
- register krb5_enc_kdc_rep_part *val)
-version SUNWprivate_1.1
-end
-
-function krb5_free_enc_sam_response_enc
-include <krb5.h>
-declaration void krb5_free_enc_sam_response_enc \
- (krb5_context context, krb5_enc_sam_response_enc *esre)
-version SUNWprivate_1.1
-end
-
-function krb5_free_enc_sam_response_enc_contents
-include <krb5.h>
-declaration void krb5_free_enc_sam_response_enc_contents \
- (krb5_context context, krb5_enc_sam_response_enc *esre)
-version SUNWprivate_1.1
-end
-
-function krb5_free_enc_tkt_part
-include <krb5.h>
-declaration void krb5_free_enc_tkt_part \
- (krb5_context context, krb5_enc_tkt_part *val)
-version SUNWprivate_1.1
-end
-
-function krb5_free_error
-include <krb5.h>
-declaration void krb5_free_error \
- (krb5_context context, krb5_error *val)
-version SUNWprivate_1.1
-end
-
-function krb5_free_etype_info
-include <k5-int.h>
-declaration void krb5_free_etype_info \
- (krb5_context context, krb5_etype_info info)
-version SUNWprivate_1.1
-end
-
-function krb5_free_host_realm
-include <krb5.h>
-declaration krb5_error_code krb5_free_host_realm \
- (krb5_context context, char * const * realmlist)
-version SUNWprivate_1.1
-end
-
-function krb5_free_kdc_rep
-include <krb5.h>
-declaration void krb5_free_kdc_rep \
- (krb5_context context, krb5_kdc_rep *val)
-version SUNWprivate_1.1
-end
-
-function krb5_free_kdc_req
-include <krb5.h>
-declaration void krb5_free_kdc_req (krb5_context context, \
- krb5_kdc_req *val)
-version SUNWprivate_1.1
-end
-
-function krb5_free_keyblock
-include <krb5.h>
-declaration void krb5_free_keyblock \
- (krb5_context context, \
- register krb5_keyblock *val)
-version SUNWprivate_1.1
-end
-
-function krb5_free_keyblock_contents
-include <krb5.h>
-declaration void krb5_free_keyblock_contents \
- (krb5_context context, register krb5_keyblock *val)
-version SUNWprivate_1.1
-end
-
-function krb5_free_krbhst
-include <krb5.h>
-declaration krb5_error_code krb5_free_krbhst \
- (krb5_context context, char * const *hotlist)
-version SUNWprivate_1.1
-end
-
-function krb5_free_last_req
-include <krb5.h>
-declaration void krb5_free_last_req \
- (krb5_context context, krb5_last_req_entry **val)
-version SUNWprivate_1.1
-end
-
-function krb5_free_pa_data
-include <krb5.h>
-declaration void krb5_free_pa_data \
- (krb5_context context, krb5_pa_data **val)
-version SUNWprivate_1.1
-end
-
-function krb5_free_pa_enc_ts
-include <krb5.h>
-declaration void krb5_free_pa_enc_ts \
- (krb5_context context, krb5_pa_enc_ts *pa_enc_ts)
-version SUNWprivate_1.1
-end
-
-function krb5_free_predicted_sam_response
-include <krb5.h>
-declaration void krb5_free_predicted_sam_response \
- (krb5_context context, krb5_predicted_sam_response *psr)
-version SUNWprivate_1.1
-end
-
-function krb5_free_predicted_sam_response_contents
-include <krb5.h>
-declaration void krb5_free_predicted_sam_response_contents \
- (krb5_context context, krb5_predicted_sam_response *psr)
-version SUNWprivate_1.1
-end
-
-function krb5_free_principal
-include <krb5.h>
-declaration void krb5_free_principal \
- (krb5_context context, krb5_principal val)
-version SUNWprivate_1.1
-end
-
-function krb5_free_priv
-declaration void krb5_free_priv (krb5_context context, krb5_priv *val)
-version SUNWprivate_1.1
-end
-
-function krb5_free_priv_enc_part
-include <krb5.h>
-declaration void krb5_free_priv_enc_part \
- (krb5_context context, krb5_priv_enc_part *val)
-version SUNWprivate_1.1
-end
-
-function krb5_free_pwd_data
-include <krb5.h>
-declaration void krb5_free_pwd_data \
- (krb5_context context, krb5_pwd_data *val)
-version SUNWprivate_1.1
-end
-
-function krb5_free_pwd_sequences
-include <krb5.h>
-declaration void krb5_free_pwd_sequences \
- (krb5_context context, passwd_phrase_element **val)
-version SUNWprivate_1.1
-end
-
-function krb5_free_realm_tree
-include <krb5.h>
-declaration void krb5_free_realm_tree \
- (krb5_context context, krb5_principal *realms)
-version SUNWprivate_1.1
-end
-
-function krb5_free_safe
-include <krb5.h>
-declaration void krb5_free_safe \
- (krb5_context context, register krb5_safe *val)
-version SUNWprivate_1.1
-end
-
-function krb5_free_sam_challenge
-include <krb5.h>
-declaration void krb5_free_sam_challenge \
- (krb5_context context, krb5_sam_challenge *sc)
-version SUNWprivate_1.1
-end
-
-function krb5_free_sam_challenge_contents
-include <krb5.h>
-declaration void krb5_free_sam_challenge_contents\
- (krb5_context context, krb5_sam_challenge *sc)
-version SUNWprivate_1.1
-end
-
-function krb5_free_sam_response
-include <krb5.h>
-declaration void krb5_free_sam_response\
- (krb5_context context, krb5_sam_response *sr)
-version SUNWprivate_1.1
-end
-
-function krb5_free_sam_response_contents
-include <krb5.h>
-declaration void krb5_free_sam_response_contents\
- (krb5_context context, krb5_sam_response *sr)
-version SUNWprivate_1.1
-end
-
-function krb5_free_tgt_creds
-include <krb5.h>
-declaration void krb5_free_tgt_creds \
- (krb5_context context, krb5_creds **tgts)
-version SUNWprivate_1.1
-end
-
-function krb5_free_ticket
-include <krb5.h>
-declaration void krb5_free_ticket (krb5_context context, \
- krb5_ticket *val)
-version SUNWprivate_1.1
-end
-
-function krb5_free_tickets
-include <krb5.h>
-declaration void krb5_free_tickets \
- (krb5_context context, krb5_ticket **val)
-version SUNWprivate_1.1
-end
-
-function krb5_free_tkt_authent
-include <krb5.h>
-declaration void krb5_free_tkt_authent \
- (krb5_context context, krb5_tkt_authent *val)
-version SUNWprivate_1.1
-end
-
-# spec2trace RFE
-function krb5_free_uio
-version SUNWprivate_1.1
-end
-
-function krb5_free_unparsed_name
-include <krb5.h>
-declaration void krb5_free_unparsed_name \
- (krb5_context context, char *val)
-version SUNWprivate_1.1
-end
-
-function krb5_fwd_tgt_creds
-include <krb5.h>
-declaration krb5_error_code krb5_fwd_tgt_creds \
- (krb5_context context, \
- krb5_auth_context auth_context, \
- char *rhost, krb5_principal client, \
- krb5_principal server, krb5_ccache cc, \
- int forwardable, krb5_data *outbuf)
-version SUNWprivate_1.1
-end
-
-function krb5_gen_portaddr
-include <krb5.h>
-declaration krb5_error_code krb5_gen_portaddr \
- (krb5_context context, \
- const krb5_address *addr, \
- krb5_const_pointer ptr, \
- krb5_address **outaddr)
-version SUNWprivate_1.1
-end
-
-function krb5_gen_replay_name
-include <k5-int.h>
-declaration krb5_error_code krb5_gen_replay_name \
- (krb5_context context, \
- const krb5_address *address, \
- const char *uniq, char **string)
-version SUNWprivate_1.1
-end
-
-function krb5_generate_seq_number
-include <krb5.h>, <k5-int.h>
-declaration krb5_error_code krb5_generate_seq_number ( \
- krb5_context context, \
- const krb5_keyblock *key, \
- krb5_int32 *seqno)
-version SUNWprivate_1.1
-end
-
-function krb5_generate_subkey
-include <krb5.h>, <k5-int.h>
-declaration krb5_error_code krb5_generate_subkey ( \
- krb5_context context, \
- const krb5_keyblock *key, \
- krb5_keyblock **subkey)
-version SUNWprivate_1.1
-end
-
-function krb5_get_cred_from_kdc
-include <krb5.h>
-declaration krb5_error_code krb5_get_cred_from_kdc \
- (krb5_context context, krb5_ccache cache, \
- krb5_creds *in_cred, krb5_creds **out_cred, \
- krb5_creds ***tgts)
-version SUNWprivate_1.1
-end
-
-function krb5_get_cred_from_kdc_renew
-include <krb5.h>
-declaration krb5_error_code krb5_get_cred_from_kdc_renew \
- (krb5_context context, krb5_ccache cache, \
- krb5_creds *in_cred, krb5_creds **out_creds, \
- krb5_creds ***tgts)
-version SUNWprivate_1.1
-end
-
-function krb5_get_cred_from_kdc_validate
-include <krb5.h>, <k5-int.h>
-declaration krb5_error_code krb5_get_cred_from_kdc_validate ( \
- krb5_context context, \
- krb5_ccache ccache, \
- krb5_creds *in_cred, \
- krb5_creds **out_cred, \
- krb5_creds ***tgts)
-version SUNWprivate_1.1
-end
-
-function krb5_get_cred_via_tkt
-include <krb5.h>, <k5-int.h>
-declaration krb5_error_code krb5_get_cred_via_tkt ( \
- krb5_context context, \
- krb5_creds * tkt, \
- const krb5_flags kdcoptions, \
- krb5_address *const * address, \
- krb5_creds * in_cred, \
- krb5_creds ** out_cred)
-version SUNWprivate_1.1
-end
-
-function krb5_get_credentials
-include <krb5.h>, <k5-int.h>
-declaration krb5_error_code krb5_get_credentials ( \
- krb5_context context, \
- const krb5_flags options, \
- krb5_ccache ccache, \
- krb5_creds *in_creds, \
- krb5_creds **out_creds)
-version SUNWprivate_1.1
-end
-
-function krb5_get_credentials_renew
-include <krb5.h>, <k5-int.h>
-declaration krb5_error_code krb5_get_credentials_renew ( \
- krb5_context context, \
- const krb5_flags options, \
- krb5_ccache ccache, \
- krb5_creds *in_creds, \
- krb5_creds **out_creds)
-version SUNWprivate_1.1
-end
-
-function krb5_get_credentials_validate
-include <krb5.h>, <k5-int.h>
-declaration krb5_error_code krb5_get_credentials_validate ( \
- krb5_context context, \
- const krb5_flags options, \
- krb5_ccache ccache, \
- krb5_creds *in_creds, \
- krb5_creds **out_creds)
-version SUNWprivate_1.1
-end
-
-function krb5_get_default_in_tkt_ktypes
-include <krb5.h>
-declaration krb5_error_code krb5_get_default_in_tkt_ktypes \
- (krb5_context context, krb5_enctype **ktypes)
-version SUNWprivate_1.1
-end
-
-function krb5_get_default_realm
-include <krb5.h>
-declaration krb5_error_code krb5_get_default_realm \
- (krb5_context context, char **lrealm)
-version SUNWprivate_1.1
-end
-
-function krb5_get_host_realm
-include <krb5.h>
-declaration krb5_error_code krb5_get_host_realm \
- (krb5_context context, const char *host, \
- char ***realmsp)
-version SUNWprivate_1.1
-end
-
-function krb5_get_krbhst
-include <k5-int.h>
-declaration krb5_error_code krb5_get_krbhst ( \
- krb5_context context, \
- const krb5_data *realm, char ***host)
-version SUNWprivate_1.1
-end
-
-function krb5_get_realm_domain
-include <krb5.h>
-declaration krb5_error_code krb5_get_realm_domain \
- (krb5_context context, const char *realm, \
- char **domain)
-version SUNWprivate_1.1
-end
-
-function krb5_get_tgs_ktypes
-include <krb5.h>
-declaration krb5_error_code krb5_get_tgs_ktypes \
- (krb5_context context, \
- krb5_const_principal princ, krb5_enctype **ktypes)
-version SUNWprivate_1.1
-end
-
-function krb5_get_time_offsets
-include <krb5.h>
-declaration krb5_error_code krb5_get_time_offsets \
- (krb5_context context, krb5_int32 *seconds, \
- krb5_int32 *microseconds)
-version SUNWprivate_1.1
-end
-
-function krb5_getenv
-declaration char * krb5_getenv (const char *name)
-version SUNWprivate_1.1
-end
-
-function krb5_hmac
-declaration krb5_error_code krb5_hmac( \
- krb5_context context, \
- const struct krb5_hash_provider *hash, \
- const krb5_keyblock *key, \
- const unsigned int icount, \
- const krb5_data *input, \
- krb5_data *output)
-version SUNWprivate_1.1
-end
-
-function krb5_init_context
-include <krb5.h>
-declaration krb5_error_code krb5_init_context ( \
- krb5_context *context)
-version SUNWprivate_1.1
-end
-
-function krb5_init_ef_handle
-include <krb5.h>
-declaration krb5_error_code krb5_init_ef_handle(krb5_context)
-version SUNWprivate_1.1
-end
-
-function krb5_free_ef_handle
-include <krb5.h>
-declaration krb5_error_code krb5_free_ef_handle(krb5_context)
-version SUNWprivate_1.1
-end
-
-function krb5_internalize_opaque
-include <k5-int.h>
-declaration krb5_error_code krb5_internalize_opaque \
- (krb5_context kcontext, krb5_magic odtype, \
- krb5_pointer *argp, krb5_octet **bufpp, \
- size_t *sizep)
-version SUNWprivate_1.1
-end
-
-function krb5_kdc_rep_decrypt_proc
-include <krb5.h>, <k5-int.h>
-declaration krb5_error_code krb5_kdc_rep_decrypt_proc ( \
- krb5_context context, \
- const krb5_keyblock * key, \
- krb5_const_pointer decryptarg, \
- krb5_kdc_rep * dec_rep)
-version SUNWprivate_1.1
-end
diff --git a/usr/src/lib/gss_mechs/mech_krb5/spec/krb5_mech3.spec b/usr/src/lib/gss_mechs/mech_krb5/spec/krb5_mech3.spec
deleted file mode 100644
index 727311f11c..0000000000
--- a/usr/src/lib/gss_mechs/mech_krb5/spec/krb5_mech3.spec
+++ /dev/null
@@ -1,830 +0,0 @@
-#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# lib/gss_mechs/mech_krb5/spec/krb5_mech3.spec
-#
-
-function krb5_kuserok
-include <krb5.h>
-declaration krb5_boolean krb5_kuserok (krb5_context context, \
- krb5_principal principal, const char *luser)
-version SUNWprivate_1.1
-end
-
-function krb5_locate_kdc
-include <k5-int.h>, <os-proto.h>, <sys/socket.h>
-declaration krb5_error_code krb5_locate_kdc (krb5_context context, \
- const krb5_data *realm, \
- struct addrlist *addrlist, \
- int get_masters, int socktype, int family)
-version SUNWprivate_1.1
-end
-
-function krb5_get_servername
-include <k5-int.h>, <os-proto.h>, <sys/socket.h>
-declaration krb5_error_code krb5_get_servername (krb5_context context, \
- const krb5_data *realm, \
- const char *name, const char *proto, \
- char *srvhost, \
- unsigned short *port)
-version SUNWprivate_1.1
-end
-
-function krb5_getenv
-declaration char * krb5_getenv (const char *name)
-version SUNWprivate_1.1
-end
-
-function krb5_lock_file
-include <gssapi_krb5.h>, <ktfile.h>
-declaration krb5_error_code krb5_lock_file \
- (krb5_context context, int fd, int mode)
-version SUNWprivate_1.1
-end
-
-function krb5_make_full_ipaddr
-include <krb5.h>, <os-proto.h>
-declaration krb5_error_code krb5_make_full_ipaddr \
- (krb5_context context, krb5_int32 adr, \
- int port, krb5_address **outaddr)
-version SUNWprivate_1.1
-end
-
-function krb5_make_fulladdr
-include <krb5.h>
-declaration krb5_error_code krb5_make_fulladdr \
- (krb5_context context, krb5_address *kaddr, \
- krb5_address *kport, krb5_address *raddr)
-version SUNWprivate_1.1
-end
-
-data krb5_max_dgram_size
-declaration int krb5_max_dgram_size
-version SUNWprivate_1.1
-end
-
-data krb5_max_skdc_timeout
-declaration int krb5_max_skdc_timeout
-version SUNWprivate_1.1
-end
-
-function krb5_mk_1cred
-declaration krb5_error_code krb5_mk_1cred \
- (krb5_context cotext, krb5_auth_context auth_context, \
- krb5_creds *pcreds, krb5_data **ppdata, \
- krb5_replay_data *outdata)
-version SUNWprivate_1.1
-end
-
-function krb5_mk_error
-include <krb5.h>, <k5-int.h>
-declaration krb5_error_code krb5_mk_error (krb5_context context, \
- const krb5_error *dec_err, \
- krb5_data *enc_err)
-version SUNWprivate_1.1
-end
-
-function krb5_mk_ncred
-include <krb5.h>
-declaration krb5_error_code krb5_mk_ncred \
- (krb5_context context, krb5_auth_context auth_context, \
- krb5_creds **ppcreds, krb5_data **ppdata, \
- krb5_replay_data *outdata)
-version SUNWprivate_1.1
-end
-
-function krb5_mk_priv
-include <krb5.h>
-declaration krb5_error_code krb5_mk_priv (krb5_context context, \
- krb5_auth_context auth_context, \
- const krb5_data * userdata, \
- krb5_data * outbuf, \
- krb5_replay_data * outdata)
-version SUNWprivate_1.1
-end
-
-function krb5_mk_rep
-include <krb5.h>
-declaration krb5_error_code krb5_mk_rep \
- (krb5_context context, krb5_auth_context auth_context, \
- krb5_data *outbuf)
-version SUNWprivate_1.1
-end
-
-function krb5_mk_req
-include <krb5.h>
-declaration krb5_error_code krb5_mk_req (krb5_context context, \
- krb5_auth_context * auth_context, \
- const krb5_flags ap_req_options, \
- char * service, char * hostname, \
- krb5_data * in_data, krb5_ccache ccache, \
- krb5_data * outbuf)
-version SUNWprivate_1.1
-end
-
-function krb5_mk_req_extended
-include <krb5.h>, <k5-int.h>
-declaration krb5_error_code krb5_mk_req_extended ( \
- krb5_context context, \
- krb5_auth_context * auth_context, \
- const krb5_flags ap_req_options, \
- krb5_data * in_data, \
- krb5_creds * in_creds, \
- krb5_data * outbuf)
-version SUNWprivate_1.1
-end
-
-function krb5_mk_safe
-include <krb5.h>, <k5-int.h>
-declaration krb5_error_code krb5_mk_safe ( \
- krb5_context context, \
- krb5_auth_context auth_context, \
- const krb5_data * userdata, \
- krb5_data * outbuf, \
- krb5_replay_data * outdata)
-version SUNWprivate_1.1
-end
-
-# spec2trace RFE
-data krb5_mutex
-version SUNWprivate_1.1
-end
-
-function krb5_net_read
-include <k5-int.h>
-declaration int krb5_net_read \
- (krb5_context context, int fd, \
- char *buf, int len)
-version SUNWprivate_1.1
-end
-
-function krb5_net_write
-include <k5-int.h>
-declaration int krb5_net_write \
- (krb5_context context, int fd, \
- const char *buf, int len)
-version SUNWprivate_1.1
-end
-
-function krb5_nfold
-include <k5-int.h>
-declaration void krb5_nfold( \
- int inbits, \
- const unsigned char *in, \
- int outbits, \
- unsigned char *out)
-version SUNWprivate_1.1
-end
-
-function krb5_os_free_context
-include <k5-int.h>
-declaration void krb5_os_free_context (krb5_context context)
-version SUNWprivate_1.1
-end
-
-# spec2trace RFE
-function krb5_os_get_tty_uio
-version SUNWprivate_1.1
-end
-
-function krb5_os_hostaddr
-include <krb5.h>
-declaration krb5_error_code krb5_os_hostaddr \
- (krb5_context context, const char *name, \
- krb5_address ***ret_addrs)
-version SUNWprivate_1.1
-end
-
-function krb5_os_init_context
-include <k5-int.h>
-declaration krb5_error_code krb5_os_init_context \
- (krb5_context context)
-version SUNWprivate_1.1
-end
-
-function krb5_os_localaddr
-include <krb5.h>
-declaration krb5_error_code krb5_os_localaddr \
- (krb5_context context, krb5_address ***addr)
-version SUNWprivate_1.1
-end
-
-function krb5_parse_name
-include <krb5.h>, <k5-int.h>
-declaration krb5_error_code krb5_parse_name ( \
- krb5_context context, \
- const char *name, \
- krb5_principal *nprincipal)
-version SUNWprivate_1.1
-end
-
-function krb5_principal2salt
-include <krb5.h>
-declaration krb5_error_code krb5_principal2salt \
- (krb5_context conteXt, \
- krb5_const_principal pr, \
- krb5_data *ret)
-version SUNWprivate_1.1
-end
-
-function krb5_principal2salt_norealm
-include <krb5.h>
-declaration krb5_error_code krb5_principal2salt_norealm \
- (krb5_context context, \
- krb5_const_principal pr, \
- krb5_data *ret)
-version SUNWprivate_1.1
-end
-
-function krb5_principal_compare
-include <krb5.h>
-declaration krb5_boolean krb5_principal_compare \
- (krb5_context context, \
- krb5_const_principal princ1, \
- krb5_const_principal princ2)
-version SUNWprivate_1.1
-end
-
-function krb5_privacy_allowed
-include <krb5.h>
-declaration krb5_boolean krb5_privacy_allowed (void)
-version SUNWprivate_1.1
-end
-
-function krb5_pname_to_uid
-include <gssapiP_krb5.h>
-declaration OM_uint32 krb5_pname_to_uid \
- (void *ctxt, OM_uint32 *minor, \
- const gss_name_t pname, uid_t *uidOut)
-version SUNWprivate_1.1
-end
-
-function krb5_gss_userok
-include <gssapi/gssapi.h>, <gssapi/gssapi_ext.h>, <gssapiP_krb5.h>, \
- <gssapi_krb5.h>
-declaration OM_uint32 krb5_gss_userok \
- (void *ctxt, OM_uint32 *minor, \
- const gss_name_t pname, \
- const char *user, int *user_ok)
-version SUNWprivate_1.1
-end
-
-function krb5_rd_cred
-include <krb5.h>
-declaration krb5_error_code krb5_rd_cred \
- (krb5_context context, \
- krb5_auth_context auth_context, \
- krb5_data *pcreddata, krb5_creds ***pppcreds, \
- krb5_replay_data *outdata)
-version SUNWprivate_1.1
-end
-
-function krb5_rd_error
-include <krb5.h>, <k5-int.h>
-declaration krb5_error_code krb5_rd_error ( \
- krb5_context context, \
- const krb5_data *enc_errbuf, \
- krb5_error **dec_error)
-version SUNWprivate_1.1
-end
-
-function krb5_rd_priv
-include <krb5.h>, <k5-int.h>
-declaration krb5_error_code krb5_rd_priv ( \
- krb5_context context, \
- krb5_auth_context auth_context, \
- const krb5_data * inbuf, \
- krb5_data * outbuf, \
- krb5_replay_data * outdata)
-version SUNWprivate_1.1
-end
-
-function krb5_rd_rep
-include <krb5.h>, <k5-int.h>
-declaration krb5_error_code krb5_rd_rep ( \
- krb5_context context, \
- krb5_auth_context auth_context, \
- const krb5_data * inbuf, \
- krb5_ap_rep_enc_part **repl)
-version SUNWprivate_1.1
-end
-
-function krb5_rd_req
-include <krb5.h>, <k5-int.h>
-declaration krb5_error_code krb5_rd_req ( \
- krb5_context context, \
- krb5_auth_context * auth_context, \
- const krb5_data * inbuf, \
- krb5_const_principal server, \
- krb5_keytab keytab, \
- krb5_flags * ap_req_options, \
- krb5_ticket ** ticket)
-version SUNWprivate_1.1
-end
-
-function krb5_rd_req_decoded
-include <krb5.h>, <k5-int.h>
-declaration krb5_error_code krb5_rd_req_decoded ( \
- krb5_context context, \
- krb5_auth_context * auth_context, \
- const krb5_ap_req * req, \
- krb5_const_principal server, \
- krb5_keytab keytab, \
- krb5_flags * ap_req_options, \
- krb5_ticket ** ticket)
-version SUNWprivate_1.1
-end
-
-function krb5_rd_req_decoded_anyflag
-include <krb5.h>, <k5-int.h>
-declaration krb5_error_code krb5_rd_req_decoded_anyflag ( \
- krb5_context context, \
- krb5_auth_context * auth_context, \
- const krb5_ap_req * req, \
- krb5_const_principal server, \
- krb5_keytab keytab, \
- krb5_flags * ap_req_options, \
- krb5_ticket ** ticket)
-version SUNWprivate_1.1
-end
-
-function krb5_rd_safe
-include <krb5.h>, <k5-int.h>
-declaration krb5_error_code krb5_rd_safe ( \
- krb5_context context, \
- krb5_auth_context auth_context, \
- const krb5_data * inbuf, \
- krb5_data * outbuf, \
- krb5_replay_data * outdata)
-version SUNWprivate_1.1
-end
-
-function krb5_read_message
-include <k5-int.h>
-declaration krb5_error_code krb5_read_message \
- (krb5_context context, krb5_pointer fdp, \
- krb5_data *inbuf)
-version SUNWprivate_1.1
-end
-
-function krb5_read_password
-include <krb5.h>
-declaration krb5_error_code krb5_read_password \
- (krb5_context context, const char *prompt, \
- const char *prompt2, char *return_pwd, \
- unsigned int *size_return)
-version SUNWprivate_1.1
-end
-
-function krb5_realm_compare
-include <krb5.h>
-declaration krb5_boolean krb5_realm_compare \
- (krb5_context context, \
- krb5_const_principal princ1, \
- krb5_const_principal princ2)
-version SUNWprivate_1.1
-end
-
-function krb5_recvauth
-include <krb5.h>
-declaration krb5_error_code krb5_recvauth \
- (krb5_context context, krb5_auth_context *auth_context, \
- krb5_pointer fd, char *appl_version, \
- krb5_principal server, krb5_int32 flags, \
- krb5_keytab keytab, krb5_ticket **ticket)
-version SUNWprivate_1.1
-end
-
-function krb5_register_serializer
-include <k5-int.h>
-declaration krb5_error_code krb5_register_serializer \
- (krb5_context context, const krb5_ser_entry *entry)
-version SUNWprivate_1.1
-end
-
-function krb5_salttype_to_string
-include <krb5.h>, <k5-int.h>
-declaration krb5_error_code krb5_salttype_to_string ( \
- krb5_int32 salttype, \
- char * buffer, \
- size_t buflen)
-version SUNWprivate_1.1
-end
-
-function krb5_secure_config_files
-include <krb5.h>
-declaration krb5_error_code krb5_secure_config_files \
- (krb5_context context)
-version SUNWprivate_1.1
-end
-
-function krb5_send_tgs
-include <krb5.h>, <k5-int.h>
-declaration krb5_error_code krb5_send_tgs ( \
- krb5_context context, \
- const krb5_flags kdcoptions, \
- const krb5_ticket_times * timestruct, \
- const krb5_enctype * ktypes, \
- krb5_const_principal sname, \
- krb5_address * const * addrs, \
- krb5_authdata * const * authorization_data, \
- krb5_pa_data * const * padata, \
- const krb5_data * second_ticket, \
- krb5_creds * in_cred, \
- krb5_response * rep)
-version SUNWprivate_1.1
-end
-
-function krb5_sendauth
-include <krb5.h>
-declaration krb5_error_code krb5_sendauth (krb5_context context, \
- krb5_auth_context *auth_context, \
- krb5_pointer fd, char *appl_version, \
- krb5_principal client, krb5_principal server, \
- krb5_flags ap_req_options, krb5_data *in_data, \
- krb5_creds *in_creds, krb5_ccache cache, \
- krb5_error **error, krb5_ap_rep_enc_part **rep_result, \
- krb5_creds **out_creds)
-version SUNWprivate_1.1
-end
-
-function krb5_sendto_kdc
-include <k5-int.h>
-declaration krb5_error_code krb5_sendto_kdc \
- (krb5_context context, const krb5_data *message, \
- const krb5_data *realm, krb5_data *reply, \
- int use_master, int tcp_only)
-version SUNWprivate_1.1
-end
-
-function krb5_ser_address_init
-declaration krb5_error_code krb5_ser_address_init \
- (krb5_context context)
-version SUNWprivate_1.1
-end
-
-function krb5_ser_auth_context_init
-include <k5-int.h>
-declaration krb5_error_code krb5_ser_auth_context_init \
- (krb5_context context)
-version SUNWprivate_1.1
-end
-
-function krb5_ser_authdata_init
-declaration krb5_error_code krb5_ser_authdata_init \
- (krb5_context context)
-version SUNWprivate_1.1
-end
-
-function krb5_ser_authenticator_init
-declaration krb5_error_code krb5_ser_authenticator_init \
- (krb5_context context)
-version SUNWprivate_1.1
-end
-
-function krb5_ser_ccache_init
-include <k5-int.h>
-declaration krb5_error_code krb5_ser_ccache_init \
- (krb5_context context)
-version SUNWprivate_1.1
-end
-
-function krb5_ser_checksum_init
-declaration krb5_error_code krb5_ser_checksum_init \
- (krb5_context context)
-version SUNWprivate_1.1
-end
-
-function krb5_ser_context_init
-include <k5-int.h>
-declaration krb5_error_code krb5_ser_context_init \
- (krb5_context context)
-version SUNWprivate_1.1
-end
-
-function krb5_ser_keyblock_init
-declaration krb5_error_code krb5_ser_keyblock_init \
- (krb5_context context)
-version SUNWprivate_1.1
-end
-
-function krb5_ser_keytab_init
-include <k5-int.h>
-declaration krb5_error_code krb5_ser_keytab_init \
- (krb5_context context)
-version SUNWprivate_1.1
-end
-
-function krb5_ser_pack_bytes
-include <k5-int.h>
-declaration krb5_error_code krb5_ser_pack_bytes \
- (krb5_octet *osstring, size_t osize, \
- krb5_octet **bufp, size_t *remainp)
-version SUNWprivate_1.1
-end
-
-function krb5_ser_pack_int32
-include <k5-int.h>
-declaration krb5_error_code krb5_ser_pack_int32 \
- (krb5_int32 iarg, krb5_octet **bufp, \
- size_t *remainp)
-version SUNWprivate_1.1
-end
-
-function krb5_ser_principal_init
-include <krb5.h>, <k5-int.h>
-declaration krb5_error_code krb5_ser_principal_init \
- (krb5_context kcontext)
-version SUNWprivate_1.1
-end
-
-function krb5_ser_rcache_init
-include <krb5.h>, <k5-int.h>
-declaration krb5_error_code krb5_ser_rcache_init \
- (krb5_context kcontext)
-version SUNWprivate_1.1
-end
-
-function krb5_ser_unpack_bytes
-include <krb5.h>, <k5-int.h>
-declaration krb5_error_code krb5_ser_unpack_bytes \
- (krb5_octet *istring, size_t isize, \
- krb5_octet **bufp, size_t *remainp)
-version SUNWprivate_1.1
-end
-
-function krb5_ser_unpack_int32
-include <krb5.h>
-declaration krb5_error_code krb5_ser_unpack_int32 \
- (krb5_int32 *intp, krb5_octet **bufp, \
- size_t *remainp)
-version SUNWprivate_1.1
-end
-
-function krb5_set_config_files
-include <krb5.h>, <k5-int.h>
-declaration krb5_error_code krb5_set_config_files \
- (krb5_context ctx, const char **filenames)
-version SUNWprivate_1.1
-end
-
-function krb5_set_debugging_time
-include <krb5.h>, <k5-int.h>
-declaration krb5_error_code krb5_set_debugging_time \
- (krb5_context context, \
- krb5_int32 seconds, \
- krb5_int32 microseconds)
-version SUNWprivate_1.1
-end
-
-function krb5_set_default_in_tkt_ktypes
-include <krb5.h>, <k5-int.h>
-declaration krb5_error_code krb5_set_default_in_tkt_ktypes \
- (krb5_context context, \
- const krb5_enctype *ktypes)
-version SUNWprivate_1.1
-end
-
-function krb5_set_default_realm
-include <krb5.h>, <k5-int.h>
-declaration krb5_error_code krb5_set_default_realm \
- (krb5_context context, const char *lrealm)
-version SUNWprivate_1.1
-end
-
-function krb5_set_default_tgs_ktypes
-include <krb5.h>, <k5-int.h>
-declaration krb5_error_code krb5_set_default_tgs_ktypes \
- (krb5_context context, \
- const krb5_enctype *ktypes)
-version SUNWprivate_1.1
-end
-
-function krb5_set_real_time
-include <krb5.h>, <k5-int.h>
-declaration krb5_error_code krb5_set_real_time \
- (krb5_context context, krb5_int32 seconds, \
- krb5_int32 microseconds)
-version SUNWprivate_1.1
-end
-
-function krb5_set_time_offsets
-include <krb5.h>, <k5-int.h>
-declaration krb5_error_code krb5_set_time_offsets \
- (krb5_context context, krb5_int32 seconds, \
- krb5_int32 microseconds)
-version SUNWprivate_1.1
-end
-
-function krb5_setenv
-declaration int krb5_setenv (register const char *name, \
- register const char *value, int rewrite)
-version SUNWprivate_1.1
-end
-
-function krb5_size_opaque
-include <krb5.h>, <k5-int.h>
-declaration krb5_error_code krb5_size_opaque ( \
- krb5_context kcontext, krb5_magic odtype, \
- krb5_pointer arg, size_t *sizep)
-version SUNWprivate_1.1
-end
-
-data krb5_skdc_timeout_1
-declaration int krb5_skdc_timeout_shift
-version SUNWprivate_1.1
-end
-
-data krb5_skdc_timeout_shift
-declaration int krb5_skdc_timeout_shift
-version SUNWprivate_1.1
-end
-
-function krb5_sname_to_principal
-include <krb5.h>, <k5-int.h>
-declaration krb5_error_code krb5_sname_to_principal ( \
- krb5_context context, const char *hostname, \
- const char *sname, krb5_int32 type, \
- krb5_principal *ret_princ)
-version SUNWprivate_1.1
-end
-
-function krb5_string_to_deltat
-include <krb5.h>
-declaration krb5_error_code krb5_string_to_deltat ( \
- char *string, krb5_deltat *deltatp)
-version SUNWprivate_1.1
-end
-
-function krb5_string_to_salttype
-include <krb5.h>
-declaration krb5_error_code krb5_string_to_salttype ( \
- char *string, krb5_int32 *salttypep)
-version SUNWprivate_1.1
-end
-
-function krb5_string_to_timestamp
-include <krb5.h>
-declaration krb5_error_code krb5_string_to_timestamp ( \
- char *string, krb5_timestamp *timestampp)
-version SUNWprivate_1.1
-end
-
-function krb5_sync_disk_file
-include <krb5.h>, <k5-int.h>
-declaration krb5_error_code krb5_sync_disk_file ( \
- krb5_context context, FILE *fp)
-version SUNWprivate_1.1
-end
-
-function krb5_tgtname
-include <krb5.h>, <k5-int.h>
-declaration krb5_error_code krb5_tgtname (krb5_context context, \
- const krb5_data *server, const krb5_data *client, \
- krb5_principal *tgtprinc)
-version SUNWprivate_1.1
-end
-
-function krb5_timeofday
-include <krb5.h>, <k5-int.h>
-declaration krb5_error_code krb5_timeofday (krb5_context context, \
- register krb5_int32 *timeret)
-version SUNWprivate_1.1
-end
-
-function krb5_timestamp_to_sfstring
-include <krb5.h>
-declaration krb5_error_code krb5_timestamp_to_sfstring ( \
- krb5_timestamp timestamp, char * buffer, \
- size_t buflen, char *pad)
-version SUNWprivate_1.1
-end
-
-function krb5_timestamp_to_string
-include <krb5.h>
-declaration krb5_error_code krb5_timestamp_to_string ( \
- krb5_timestamp timestamp, \
- char *buffer, size_t buflen)
-version SUNWprivate_1.1
-end
-
-function krb5_unlock_file
-include <krb5.h>, <k5-int.h>
-declaration krb5_error_code krb5_unlock_file \
- (krb5_context context, int fd)
-version SUNWprivate_1.1
-end
-
-function krb5_unpack_full_ipaddr
-include <krb5.h>, <k5-int.h>
-declaration krb5_error_code krb5_unpack_full_ipaddr ( \
- krb5_context context, const krb5_address *inaddr, \
- krb5_int32 *adr, krb5_int16 *port)
-version SUNWprivate_1.1
-end
-
-function krb5_unparse_name
-include <krb5.h>, <k5-int.h>
-declaration krb5_error_code krb5_unparse_name (krb5_context context, \
- krb5_const_principal principal, register char **name)
-version SUNWprivate_1.1
-end
-
-function krb5_unparse_name_ext
-include <krb5.h>, <k5-int.h>
-declaration krb5_error_code krb5_unparse_name_ext ( \
- krb5_context context, krb5_const_principal principal, \
- register char **name, int *size)
-version SUNWprivate_1.1
-end
-
-function krb5_unsetenv
-declaration void krb5_unsetenv (const char *name)
-version SUNWprivate_1.1
-end
-
-function krb5_us_timeofday
-include <krb5.h>, <k5-int.h>
-declaration krb5_error_code krb5_us_timeofday (krb5_context context, \
- krb5_int32 *seconds, krb5_int32 *microseconds)
-version SUNWprivate_1.1
-end
-
-function krb5_use_natural_time
-include <krb5.h>, <k5-int.h>
-declaration krb5_error_code krb5_use_natural_time (krb5_context context)
-version SUNWprivate_1.1
-end
-
-function krb5_validate_times
-include <krb5.h>, <k5-int.h>
-declaration krb5_error_code krb5_validate_times (krb5_context context, \
- krb5_ticket_times *times)
-version SUNWprivate_1.1
-end
-
-function krb5_walk_realm_tree
-include <krb5.h>, <k5-int.h>
-declaration krb5_error_code krb5_walk_realm_tree (krb5_context context, \
- const krb5_data *client, const krb5_data *server, \
- krb5_principal **tree, int realm_branch_char)
-version SUNWprivate_1.1
-end
-
-function krb5_write_message
-include <krb5.h>, <k5-int.h>
-declaration krb5_error_code krb5_write_message (krb5_context context, \
- krb5_pointer fdp, krb5_data *outbuf)
-version SUNWprivate_1.1
-end
-
-function krb5int_cm_call_select
-include <cm.h>, <k5-int.h>, <os-proto.h>
-declaration krb5_error_code krb5int_cm_call_select ( \
- const struct select_state *in, \
- struct select_state *out, \
- int *sret)
-version SUNWprivate_1.1
-end
-
-function krb5int_sendtokdc_debug_handler
-include <cm.h>, <k5-int.h>, <os-proto.h>
-declaration void * krb5int_sendtokdc_debug_handler (const void *, \
- size_t)
-version SUNWprivate_1.1
-end
-
-function foreach_localaddr
-include <fake-addrinfo.h>, <k5-int.h>
-declaration int foreach_localaddr (void *, \
- int (*pass1fn)(void *, struct sockaddr *), \
- int (*betweenfn)(void *), \
- int (*pass2fn)(void *, struct sockaddr *))
-version SUNWprivate_1.1
-end
-
-function krb5_change_password
-include <k5-int.h>
-declaration krb5_error_code \
- krb5_change_password (krb5_context context, \
- krb5_creds *creds, char *newpw, \
- int *result_code, \
- krb5_data *result_code_string, \
- krb5_data *result_string)
-version SUNWprivate_1.1
-end
-
-function krb5_set_password
-include <k5-int.h>
-declaration krb5_set_password (krb5_context context,\
- krb5_creds *creds,\
- char *newpw,\
- krb5_principal change_password_for,\
- int *result_code,\
- krb5_data *result_code_string,\
- krb5_data *result_string)
-version SUNWprivate_1.1
-end
diff --git a/usr/src/lib/gss_mechs/mech_krb5/spec/krb5_profile.spec b/usr/src/lib/gss_mechs/mech_krb5/spec/krb5_profile.spec
deleted file mode 100644
index 4318c44844..0000000000
--- a/usr/src/lib/gss_mechs/mech_krb5/spec/krb5_profile.spec
+++ /dev/null
@@ -1,171 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# lib/gss_mechs/mech_krb5/spec/krb5_profile.spec
-#
-
-function profile_add_node
-include <stdio.h>, <prof_int.h>
-declaration errcode_t profile_add_node (struct profile_node *section, \
- const char *name, const char *value, \
- struct profile_node **ret_node)
-version SUNWprivate_1.1
-end
-
-function profile_close_file
-include <stdio.h>, <prof_int.h>
-declaration errcode_t profile_close_file (prf_file_t prf)
-version SUNWprivate_1.1
-end
-
-function profile_create_node
-include <stdio.h>, <prof_int.h>
-declaration errcode_t profile_create_node (const char *name,\
- const char *value, struct profile_node **ret_node)
-version SUNWprivate_1.1
-end
-
-function profile_find_node_relation
-include <stdio.h>, <prof_int.h>
-declaration errcode_t profile_find_node_relation ( \
- struct profile_node *section, const char *name, \
- void **state, char **ret_name, char **value)
-version SUNWprivate_1.1
-end
-
-function profile_find_node_subsection
-include <stdio.h>, <prof_int.h>
-declaration errcode_t profile_find_node_subsection ( \
- struct profile_node *section, const char *name, \
- void **state, char **ret_name, \
- struct profile_node **subsection)
-version SUNWprivate_1.1
-end
-
-function profile_free_node
-include <stdio.h>, <prof_int.h>
-declaration void profile_free_node (struct profile_node *node)
-version SUNWprivate_1.1
-end
-
-function profile_get_integer
-include <stdio.h>, <prof_int.h>
-declaration errcode_t profile_get_integer (profile_t profile, \
- const char *name, const char *subname, const char *subsubname, \
- int def_val, int *ret_int)
-version SUNWprivate_1.1
-end
-
-function profile_get_node_parent
-include <stdio.h>, <prof_int.h>
-declaration errcode_t profile_get_node_parent ( \
- struct profile_node *section, \
- struct profile_node **parent)
-version SUNWprivate_1.1
-end
-
-function profile_get_options_boolean
-include <stdio.h>, <prof_int.h>
-declaration errcode_t profile_get_options_boolean (profile_t profile, \
- char **section, profile_options_boolean *options)
-version SUNWprivate_1.1
-end
-
-function profile_get_options_string
-include <stdio.h>, <prof_int.h>
-declaration errcode_t profile_get_options_string (profile_t profile, \
- char **section, profile_option_strings *options)
-version SUNWprivate_1.1
-end
-
-function profile_get_string
-include <stdio.h>, <prof_int.h>
-declaration errcode_t profile_get_string ( \
- profile_t profile, const char *name, \
- const char *subname, const char *subsubname, \
- const char *def_val, char **ret_string)
-version SUNWprivate_1.1
-end
-
-function profile_get_values
-include <stdio.h>, <prof_int.h>
-declaration errcode_t profile_get_values (profile_t profile, \
- const char **names, char ***ret_values)
-version SUNWprivate_1.1
-end
-
-function profile_init
-include <stdio.h>, <prof_int.h>
-declaration errcode_t profile_init (const char **filenames, \
- profile_t *ret_profile)
-version SUNWprivate_1.1
-end
-
-function profile_init_path
-include <stdio.h>, <prof_int.h>
-declaration errcode_t profile_init_path (const char *filepath, \
- profile_t *ret_profile)
-version SUNWprivate_1.1
-end
-
-function profile_open_file
-include <stdio.h>, <prof_int.h>
-declaration errcode_t profile_open_file (const char *filename, \
- prf_file_t *ret_prof)
-version SUNWprivate_1.1
-end
-
-function profile_parse_file
-include <stdio.h>, <prof_int.h>
-declaration errcode_t profile_parse_file (FILE *f, \
- struct profile_node **root)
-version SUNWprivate_1.1
-end
-
-function profile_release
-include <stdio.h>, <prof_int.h>
-declaration void profile_release (profile_t profile)
-version SUNWprivate_1.1
-end
-
-function profile_ser_externalize
-include <stdio.h>, <prof_int.h>
-declaration errcode_t profile_ser_externalize (const char *unused, \
- profile_t profile, unsigned char **bufpp, \
- size_t *remainp)
-version SUNWprivate_1.1
-end
-
-function profile_ser_internalize
-include <stdio.h>, <prof_int.h>
-declaration errcode_t profile_ser_internalize (const char *unused, \
- profile_t *profilep, unsigned char **bufpp, \
- size_t *remainp)
-version SUNWprivate_1.1
-end
-
-function profile_ser_size
-include <stdio.h>, <prof_int.h>
-declaration errcode_t profile_ser_size (const char *unused, \
- profile_t profile, size_t *sizep)
-version SUNWprivate_1.1
-end
-
-function profile_verify_node
-include <stdio.h>, <prof_int.h>
-declaration errcode_t profile_verify_node (struct profile_node *node)
-version SUNWprivate_1.1
-end
-
-# spec2trace RFE
-function reset_com_err_hook
-version SUNWprivate_1.1
-end
-
-# spec2trace RFE
-function set_com_err_hook
-version SUNWprivate_1.1
-end
diff --git a/usr/src/lib/gss_mechs/mech_krb5/spec/sparc/Makefile b/usr/src/lib/gss_mechs/mech_krb5/spec/sparc/Makefile
deleted file mode 100644
index 10f424bd25..0000000000
--- a/usr/src/lib/gss_mechs/mech_krb5/spec/sparc/Makefile
+++ /dev/null
@@ -1,38 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# lib/gss_mechs/mech_krb5/spec/sparc/Makefile
-
-.KEEP_STATE:
-
-include $(SRC)/lib/Makefile.lib
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-# Uncomment the following if the linker complains
-sparc_C_PICFLAGS = -K PIC
-
-# These include paths must be searched before includes paths in CPPFLAGS
-CFLAGS += -I$(SRC)/lib/gss_mechs/mech_krb5/include \
- -I$(SRC)/lib/gss_mechs/mech_krb5/include/krb5 \
- -I$(SRC)/lib/gss_mechs/mech_krb5/krb5/asn.1 \
- -I$(SRC)/lib/gss_mechs/mech_krb5/profile \
- -I$(SRC)/lib/gss_mechs/mech_krb5/krb5/ccache/file \
- -I$(SRC)/lib/gss_mechs/mech_krb5/krb5/ccache/stdio \
- -I$(SRC)/lib/gss_mechs/mech_krb5/krb5/keytab/file \
- -I$(SRC)/lib/gss_mechs/mech_krb5/krb5/os \
- -I$(SRC)/lib/gss_mechs/mech_krb5/krb5/rcache \
- -I$(SRC)/lib/gss_mechs/mech_krb5/et \
- -I$(SRC)/uts/common/gssapi \
- -I$(SRC)/uts/common/gssapi/include \
- -I$(SRC)/uts/common/gssapi/mechs/krb5/include
-
-include $(SRC)/lib/gss_mechs/mech_krb5/spec/Makefile.spec
-
-install:
diff --git a/usr/src/lib/gss_mechs/mech_krb5/spec/sparcv9/Makefile b/usr/src/lib/gss_mechs/mech_krb5/spec/sparcv9/Makefile
deleted file mode 100644
index 164fe7158f..0000000000
--- a/usr/src/lib/gss_mechs/mech_krb5/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,37 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# lib/gss_mechs/mech_krb5/spec/sparcv9/Makefile
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-# Uncomment the following if the linker complains
-sparcv9_C_PICFLAGS = -K PIC
-
-# These include paths must be searched before includes paths in CPPFLAGS
-CFLAGS64 += -I$(SRC)/lib/gss_mechs/mech_krb5/include \
- -I$(SRC)/lib/gss_mechs/mech_krb5/include/krb5 \
- -I$(SRC)/lib/gss_mechs/mech_krb5/krb5/asn.1 \
- -I$(SRC)/lib/gss_mechs/mech_krb5/profile \
- -I$(SRC)/lib/gss_mechs/mech_krb5/krb5/ccache/file \
- -I$(SRC)/lib/gss_mechs/mech_krb5/krb5/ccache/stdio \
- -I$(SRC)/lib/gss_mechs/mech_krb5/krb5/keytab/file \
- -I$(SRC)/lib/gss_mechs/mech_krb5/krb5/os \
- -I$(SRC)/lib/gss_mechs/mech_krb5/krb5/rcache \
- -I$(SRC)/lib/gss_mechs/mech_krb5/et \
- -I$(SRC)/uts/common/gssapi \
- -I$(SRC)/uts/common/gssapi/include \
- -I$(SRC)/uts/common/gssapi/mechs/krb5/include
-
-include $(SRC)/lib/gss_mechs/mech_krb5/spec/Makefile.spec
-
-install:
diff --git a/usr/src/lib/gss_mechs/mech_krb5/spec/versions b/usr/src/lib/gss_mechs/mech_krb5/spec/versions
deleted file mode 100644
index 7690404cd5..0000000000
--- a/usr/src/lib/gss_mechs/mech_krb5/spec/versions
+++ /dev/null
@@ -1,23 +0,0 @@
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-sparc {
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-sparcv9 {
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-i386 {
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-amd64 {
- SUNW_1.1;
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/gss_mechs/mech_spnego/Makefile b/usr/src/lib/gss_mechs/mech_spnego/Makefile
index 99eefffc59..c1ab5b64da 100644
--- a/usr/src/lib/gss_mechs/mech_spnego/Makefile
+++ b/usr/src/lib/gss_mechs/mech_spnego/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,12 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/gss_mechs/mech_spnego/Makefile
+
#
# This make file will build mech_spnego.so.1. This shared object
# contains all the functionality needed to support the
@@ -48,11 +47,9 @@ lint := TARGET= lint
.KEEP_STATE:
-all clean clobber install: spec .WAIT $(SUBDIRS)
-
-lint: $(SUBDIRS)
+all clean clobber install lint: $(SUBDIRS)
-$(SUBDIRS) spec: FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
diff --git a/usr/src/lib/gss_mechs/mech_spnego/Makefile.com b/usr/src/lib/gss_mechs/mech_spnego/Makefile.com
index 221d38532b..af877f808a 100644
--- a/usr/src/lib/gss_mechs/mech_spnego/Makefile.com
+++ b/usr/src/lib/gss_mechs/mech_spnego/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,12 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/gss_mechs/mech_spnego/Makefile
+
#
# This make file will build mech_spnego.so.1. This shared object
# contains all the functionality needed to support the SPNEGO GSS-API
@@ -44,8 +43,11 @@ ROOTLIBDIR = $(ROOT)/usr/lib/gss
ROOTLIBDIR64 = $(ROOT)/usr/lib/$(MACH64)/gss
SRCDIR = ../mech
LDLIBS += -lgss -lc
-MAPDIR = ../spec/$(TRANSMACH)
-SPECMAPFILE = $(MAPDIR)/mapfile
+
+MAPFILE_EXPORT = ../mapfile-vers-clean
+$(EXPORT_RELEASE_BUILD)MAPFILE_EXPORT = \
+ $(CLOSED)/lib/gss_mechs/mech_spnego/mapfile-vers-export
+MAPFILES = ../mapfile-vers $(MAPFILE_EXPORT)
CPPFLAGS += -I$(SRC)/uts/common/gssapi/include -I$(ROOT)/usr/include/gssapi $(DEBUG)
diff --git a/usr/src/lib/gss_mechs/mech_spnego/mapfile-vers b/usr/src/lib/gss_mechs/mech_spnego/mapfile-vers
new file mode 100644
index 0000000000..b2446634ef
--- /dev/null
+++ b/usr/src/lib/gss_mechs/mech_spnego/mapfile-vers
@@ -0,0 +1,53 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNWprivate {
+ global:
+ spnego_gss_accept_sec_context;
+ spnego_gss_acquire_cred;
+ spnego_gss_context_time;
+ spnego_gss_delete_sec_context;
+ spnego_gss_display_name;
+ spnego_gss_display_status;
+ spnego_gss_export_sec_context;
+ spnego_gss_import_name;
+ spnego_gss_import_sec_context;
+ spnego_gss_init_sec_context;
+ spnego_gss_inquire_context;
+ spnego_gss_inquire_cred;
+ spnego_gss_inquire_names_for_mech;
+ spnego_gss_process_context_token;
+ spnego_gss_release_cred;
+ spnego_gss_release_name;
+ spnego_gss_seal;
+ spnego_gss_sign;
+ spnego_gss_unseal;
+ spnego_gss_verify;
+ spnego_gss_wrap_size_limit;
+ local:
+ *;
+};
diff --git a/usr/src/lib/gss_mechs/mech_spnego/mapfile-vers-clean b/usr/src/lib/gss_mechs/mech_spnego/mapfile-vers-clean
new file mode 100644
index 0000000000..c51885cc1a
--- /dev/null
+++ b/usr/src/lib/gss_mechs/mech_spnego/mapfile-vers-clean
@@ -0,0 +1,31 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNWprivate {
+ global:
+ gss_mech_initialize;
+};
diff --git a/usr/src/lib/gss_mechs/mech_spnego/spec/Makefile b/usr/src/lib/gss_mechs/mech_spnego/spec/Makefile
deleted file mode 100644
index 9a4ddd9025..0000000000
--- a/usr/src/lib/gss_mechs/mech_spnego/spec/Makefile
+++ /dev/null
@@ -1,35 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# lib/gss_mechs/mech_spnego/spec/Makefile
-
-include $(SRC)/lib/Makefile.spec.arch
-
-CHMOD= /usr/bin/chmod
-MV= /usr/bin/mv -f
-RM= /usr/bin/rm -f
-SED= /usr/bin/sed
diff --git a/usr/src/lib/gss_mechs/mech_spnego/spec/Makefile.targ b/usr/src/lib/gss_mechs/mech_spnego/spec/Makefile.targ
deleted file mode 100644
index 737f4ae7d0..0000000000
--- a/usr/src/lib/gss_mechs/mech_spnego/spec/Makefile.targ
+++ /dev/null
@@ -1,37 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# lib/gss_mechs/mech_spnego/spec/Makefile.targ
-
-LIBRARY = mech_spnego.a
-VERS = .1
-
-EXPORT = clean.o
-
-$(EXPORT_RELEASE_BUILD)EXPORT = ../../../../../closed/lib/gss_mechs/mech_spnego/spec/export.o
-
-OBJECTS = spnego.o $(EXPORT)
diff --git a/usr/src/lib/gss_mechs/mech_spnego/spec/amd64/Makefile b/usr/src/lib/gss_mechs/mech_spnego/spec/amd64/Makefile
deleted file mode 100644
index 4f64d4490a..0000000000
--- a/usr/src/lib/gss_mechs/mech_spnego/spec/amd64/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-include ../Makefile.targ
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB)
diff --git a/usr/src/lib/gss_mechs/mech_spnego/spec/clean.spec b/usr/src/lib/gss_mechs/mech_spnego/spec/clean.spec
deleted file mode 100644
index 7faef7ebdc..0000000000
--- a/usr/src/lib/gss_mechs/mech_spnego/spec/clean.spec
+++ /dev/null
@@ -1,31 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# lib/gss_mechs/mech_spnego/spec/clean.spec
-
-function gss_mech_initialize
-version SUNWprivate
-end
diff --git a/usr/src/lib/gss_mechs/mech_spnego/spec/i386/Makefile b/usr/src/lib/gss_mechs/mech_spnego/spec/i386/Makefile
deleted file mode 100644
index 8f26f1edc8..0000000000
--- a/usr/src/lib/gss_mechs/mech_spnego/spec/i386/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# lib/gss_mechs/mech_spnego/spec/i386/Makefile
-
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-include ../Makefile.targ
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB)
diff --git a/usr/src/lib/gss_mechs/mech_spnego/spec/sparc/Makefile b/usr/src/lib/gss_mechs/mech_spnego/spec/sparc/Makefile
deleted file mode 100644
index 805d13be9c..0000000000
--- a/usr/src/lib/gss_mechs/mech_spnego/spec/sparc/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# lib/gss_mechs/mech_spnego/spec/sparc/Makefile
-
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-include ../Makefile.targ
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB)
diff --git a/usr/src/lib/gss_mechs/mech_spnego/spec/sparcv9/Makefile b/usr/src/lib/gss_mechs/mech_spnego/spec/sparcv9/Makefile
deleted file mode 100644
index 548df197f2..0000000000
--- a/usr/src/lib/gss_mechs/mech_spnego/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# lib/gss_mechs/mech_spnego/spec/sparcv9/Makefile
-
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-include ../Makefile.targ
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB)
diff --git a/usr/src/lib/gss_mechs/mech_spnego/spec/spnego.spec b/usr/src/lib/gss_mechs/mech_spnego/spec/spnego.spec
deleted file mode 100644
index acd14eb89a..0000000000
--- a/usr/src/lib/gss_mechs/mech_spnego/spec/spnego.spec
+++ /dev/null
@@ -1,113 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# lib/gss_mechs/mech_spnego/spec/spnego.spec
-
-function spnego_gss_acquire_cred
-version SUNWprivate
-end
-
-function spnego_gss_release_cred
-version SUNWprivate
-end
-
-function spnego_gss_init_sec_context
-version SUNWprivate
-end
-
-function spnego_gss_accept_sec_context
-version SUNWprivate
-end
-
-function spnego_gss_display_name
-version SUNWprivate
-end
-
-function spnego_gss_display_status
-version SUNWprivate
-end
-
-function spnego_gss_import_name
-version SUNWprivate
-end
-
-function spnego_gss_release_name
-version SUNWprivate
-end
-
-function spnego_gss_inquire_names_for_mech
-version SUNWprivate
-end
-
-function spnego_gss_unseal
-version SUNWprivate
-end
-
-function spnego_gss_seal
-version SUNWprivate
-end
-
-function spnego_gss_process_context_token
-version SUNWprivate
-end
-
-function spnego_gss_delete_sec_context
-version SUNWprivate
-end
-
-function spnego_gss_context_time
-version SUNWprivate
-end
-
-function spnego_gss_export_sec_context
-version SUNWprivate
-end
-
-function spnego_gss_import_sec_context
-version SUNWprivate
-end
-
-function spnego_gss_inquire_context
-version SUNWprivate
-end
-
-function spnego_gss_wrap_size_limit
-version SUNWprivate
-end
-
-function spnego_gss_sign
-version SUNWprivate
-end
-
-function spnego_gss_verify
-version SUNWprivate
-end
-
-function spnego_gss_inquire_cred
-version SUNWprivate
-end
-
-
diff --git a/usr/src/lib/gss_mechs/mech_spnego/spec/versions b/usr/src/lib/gss_mechs/mech_spnego/spec/versions
deleted file mode 100644
index af6a148700..0000000000
--- a/usr/src/lib/gss_mechs/mech_spnego/spec/versions
+++ /dev/null
@@ -1,39 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-sparc {
- SUNWprivate;
-}
-sparcv9 {
- SUNWprivate;
-}
-i386 {
- SUNWprivate;
-}
-amd64 {
- SUNWprivate;
-}
diff --git a/usr/src/lib/krb5/Makefile.lib b/usr/src/lib/krb5/Makefile.lib
index d9de1bc436..1cd613abdb 100644
--- a/usr/src/lib/krb5/Makefile.lib
+++ b/usr/src/lib/krb5/Makefile.lib
@@ -1,13 +1,29 @@
#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
-#ident "%Z%%M% %I% %E% SMI"
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
#
-# lib/krb5/Makefile.lib
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
#
-# Definitions common to krb5 libraries.
include $(SRC)/lib/Makefile.lib
@@ -21,8 +37,4 @@ LINTFLAGS64= -u -I..
LINTSRC= $(LINTLIB:%.ln=%)
ROOTLINT= $(LINTSRC:%=$(ROOTLINTDIR)/%)
-MAPFILE= $(MAPDIR)/mapfile
-DYNFLAGS += -M $(MAPFILE)
-
CLEANFILES += $(LINTOUT) $(LINTLIB)
-CLEANFILES += $(MAPFILE)
diff --git a/usr/src/lib/krb5/Makefile.spec.arch b/usr/src/lib/krb5/Makefile.spec.arch
deleted file mode 100644
index 9be195001d..0000000000
--- a/usr/src/lib/krb5/Makefile.spec.arch
+++ /dev/null
@@ -1,42 +0,0 @@
-#
-# Copyright (c) 1998-2000 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/krb5/Makefile.spec.arch
-#
-
-i386_ARCHITECTURES = i386
-sparc_ARCHITECTURES = sparc
-
-all := TARGET= all
-install := TARGET= install
-clean := TARGET= clean
-clobber := TARGET= clobber
-lint := TARGET= lint
-
-
-.KEEP_STATE:
-
-all install clean clobber: $($(MACH)_ARCHITECTURES)
-
-$($(MACH)_ARCHITECTURES): FRC
- @cd $@; pwd; $(MAKE) $(TARGET)
-
-#
-# This will make sure that any target not
-# explicitly defined will not break the build.
-#
-# XXX pmake on intel does not like the following rules
-# %: ignore_and_exit_quietly
-# ignore_and_exit_quietly:
-#
-# So here it is manually
-#
-IGNORE= _msg catalog install_h delete \
- package tcov debug private_h \
- check analyse test dynamic lint
-$(IGNORE):
-
-FRC:
diff --git a/usr/src/lib/krb5/db2/Makefile b/usr/src/lib/krb5/db2/Makefile
index 744c8f4f51..a8066c5e62 100644
--- a/usr/src/lib/krb5/db2/Makefile
+++ b/usr/src/lib/krb5/db2/Makefile
@@ -1,16 +1,35 @@
#
-# Copyright (c) 1997-2001 by Sun Microsystems, Inc.
-# All rights reserved.
+# CDDL HEADER START
#
-#pragma ident "%Z%%M% %I% %E% SMI"
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
#
-# lib/krb5/db2/Makefile
include ../Makefile.lib
include $(SRC)/lib/gss_mechs/mech_krb5/Makefile.mech_krb5
-SUBDIRS= spec $(MACH)
+SUBDIRS= $(MACH)
all := TARGET= all
clean := TARGET= clean
@@ -35,7 +54,7 @@ $(ROOTLIBDIR)/%: %
install: $(ROOTLIBDIR) $(ROOTREADME) $(SUBDIRS)
-$(MACH) spec: FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
diff --git a/usr/src/lib/krb5/db2/Makefile.com b/usr/src/lib/krb5/db2/Makefile.com
index 36fc4ab84c..7b2ca4d96f 100644
--- a/usr/src/lib/krb5/db2/Makefile.com
+++ b/usr/src/lib/krb5/db2/Makefile.com
@@ -1,11 +1,29 @@
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/krb5/db2/Makefile.com
-#
LIBRARY= libdb2.a
VERS= .1
@@ -98,11 +116,6 @@ all: $(LIBS)
lint: lintcheck
-$(DYNLIB): $(MAPFILE)
-
-$(MAPFILE):
- @cd $(MAPDIR); $(MAKE) mapfile
-
# include library targets
include ../../Makefile.targ
diff --git a/usr/src/lib/krb5/db2/i386/Makefile b/usr/src/lib/krb5/db2/i386/Makefile
index 1637d6e4a6..20a3695289 100644
--- a/usr/src/lib/krb5/db2/i386/Makefile
+++ b/usr/src/lib/krb5/db2/i386/Makefile
@@ -1,12 +1,29 @@
#
-# Copyright (c) 1997-2001 by Sun Microsystems, Inc.
-# All rights reserved.
+# CDDL HEADER START
#
-#pragma ident "%Z%%M% %I% %E% SMI"
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
#
-# lib/krb5/db2/i386/Makefile
-
-MAPDIR= ../spec/i386
include ../Makefile.com
diff --git a/usr/src/lib/krb5/db2/mapfile-vers b/usr/src/lib/krb5/db2/mapfile-vers
new file mode 100644
index 0000000000..cb677fcf4e
--- /dev/null
+++ b/usr/src/lib/krb5/db2/mapfile-vers
@@ -0,0 +1,70 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+# Due to mistakes made early in the history of this library, there are
+# no SUNW_1.1 symbols, but the version is now kept as a placeholder.
+# Don't add any symbols to this version.
+
+SUNW_1.1 {
+ global:
+ SUNW_1.1;
+};
+
+SUNWprivate_1.1 {
+ global:
+ debugDisplayDB;
+ kdb2_dbm_clearerr;
+ kdb2_dbm_close;
+ kdb2_dbm_delete;
+ kdb2_dbm_dirfno;
+ kdb2_dbm_error;
+ kdb2_dbm_fetch;
+ kdb2_dbm_firstkey;
+ kdb2_dbminit;
+ kdb2_dbm_nextkey;
+ kdb2_dbm_open;
+ kdb2_dbm_store;
+ kdb2_dbopen;
+ kdb2_delete;
+ kdb2_fetch;
+ kdb2_firstkey;
+ kdb2_hcreate;
+ kdb2_hdestroy;
+ kdb2_hsearch;
+ kdb2_nextkey;
+ kdb2_store;
+ mpool_close;
+ mpool_delete;
+ mpool_filter;
+ mpool_get;
+ mpool_new;
+ mpool_open;
+ mpool_put;
+ mpool_sync;
+ local:
+ *;
+};
diff --git a/usr/src/lib/krb5/db2/sparc/Makefile b/usr/src/lib/krb5/db2/sparc/Makefile
index 9df77fea3f..20a3695289 100644
--- a/usr/src/lib/krb5/db2/sparc/Makefile
+++ b/usr/src/lib/krb5/db2/sparc/Makefile
@@ -1,12 +1,29 @@
#
-# Copyright (c) 1997-2001 by Sun Microsystems, Inc.
-# All rights reserved.
+# CDDL HEADER START
#
-#pragma ident "%Z%%M% %I% %E% SMI"
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
#
-# lib/krb5/db2/sparc/Makefile
-
-MAPDIR= ../spec/sparc
include ../Makefile.com
diff --git a/usr/src/lib/krb5/db2/spec/Makefile b/usr/src/lib/krb5/db2/spec/Makefile
deleted file mode 100644
index 5d4453b4a1..0000000000
--- a/usr/src/lib/krb5/db2/spec/Makefile
+++ /dev/null
@@ -1,9 +0,0 @@
-#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/krb5/db2/spec/Makefile
-
-include ../../Makefile.spec.arch
diff --git a/usr/src/lib/krb5/db2/spec/Makefile.targ b/usr/src/lib/krb5/db2/spec/Makefile.targ
deleted file mode 100644
index f0b4eb6991..0000000000
--- a/usr/src/lib/krb5/db2/spec/Makefile.targ
+++ /dev/null
@@ -1,12 +0,0 @@
-#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/krb5/db2/spec/Makefile.targ
-
-LIBRARY = libdb2.a
-VERS = .1
-
-OBJECTS = db2.o
diff --git a/usr/src/lib/krb5/db2/spec/db2.spec b/usr/src/lib/krb5/db2/spec/db2.spec
deleted file mode 100644
index d6cedb6e72..0000000000
--- a/usr/src/lib/krb5/db2/spec/db2.spec
+++ /dev/null
@@ -1,184 +0,0 @@
-#
-# Copyright 1997-2002 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/krb5/db2/spec/db2.spec
-
-function kdb2_dbm_clearerr
-include "db-ndbm.h"
-declaration int kdb2_dbm_clearerr(DBM *db)
-version SUNWprivate_1.1
-end
-
-function kdb2_dbm_close
-include "db-ndbm.h"
-declaration void kdb2_dbm_close(DBM *db)
-version SUNWprivate_1.1
-end
-
-function kdb2_dbm_delete
-include "db-ndbm.h"
-declaration int kdb2_dbm_delete(DBM *db, datum key)
-version SUNWprivate_1.1
-end
-
-function kdb2_dbm_dirfno
-include "db-ndbm.h"
-declaration int kdb2_dbm_dirfno(DBM *db)
-version SUNWprivate_1.1
-end
-
-function kdb2_dbm_error
-include "db-ndbm.h"
-declaration int kdb2_dbm_error(DBM *db)
-version SUNWprivate_1.1
-end
-
-function kdb2_dbm_fetch
-include "db-ndbm.h"
-declaration datum kdb2_dbm_fetch(DBM *db, datum key)
-version SUNWprivate_1.1
-end
-
-function kdb2_dbm_firstkey
-include "db-ndbm.h"
-declaration datum kdb2_dbm_firstkey(DBM *db)
-version SUNWprivate_1.1
-end
-
-function kdb2_dbm_nextkey
-include "db-ndbm.h"
-declaration datum kdb2_dbm_nextkey(DBM *db)
-version SUNWprivate_1.1
-end
-
-function kdb2_dbm_open
-include "db-ndbm.h"
-declaration DBM * kdb2_dbm_open(const char *file, int flags, int mode)
-version SUNWprivate_1.1
-end
-
-function kdb2_dbm_store
-include "db-ndbm.h"
-declaration int kdb2_dbm_store(DBM *db, datum key, datum content, int flags)
-version SUNWprivate_1.1
-end
-
-function kdb2_dbminit
-declaration int kdb2_dbminit(char *file)
-version SUNWprivate_1.1
-end
-
-function kdb2_dbopen
-include "db-int.h"
-declaration DB * kdb2_dbopen(const char *fname, int flags, int mode, \
- DBTYPE type, const void *openinfo)
-version SUNWprivate_1.1
-end
-
-function kdb2_delete
-include "db-ndbm.h"
-declaration int kdb2_delete(datum key)
-version SUNWprivate_1.1
-end
-
-function kdb2_fetch
-include "db-ndbm.h"
-declaration datum kdb2_fetch(datum key)
-version SUNWprivate_1.1
-end
-
-function kdb2_firstkey
-include "db-ndbm.h"
-declaration datum kdb2_firstkey()
-version SUNWprivate_1.1
-end
-
-function debugDisplayDB
-declaration void debugDisplayDB(int onOff)
-version SUNWprivate_1.1
-end
-
-function kdb2_hcreate
-include <sys/types.h>
-declaration int kdb2_hcreate(u_int nel)
-version SUNWprivate_1.1
-end
-
-function kdb2_hdestroy
-declaration void kdb2_hdestroy()
-version SUNWprivate_1.1
-end
-
-function kdb2_hsearch
-include "search.h"
-declaration ENTRY *kdb2_hsearch(ENTRY item, SEARCH_ACTION action)
-version SUNWprivate_1.1
-end
-
-function mpool_close
-include "mpool.h"
-declaration int mpool_close(MPOOL *mp)
-version SUNWprivate_1.1
-end
-
-function mpool_delete
-include "mpool.h"
-declaration int mpool_delete(MPOOL *mp, void *page)
-version SUNWprivate_1.1
-end
-
-function mpool_filter
-include "db-int.h" "mpool.h"
-declaration void mpool_filter(MPOOL *mp, \
- void (*pgin)(void *, db_pgno_t, void *), \
- void (*pgout)(void *, db_pgno_t, void *), \
- void *pgcookie)
-version SUNWprivate_1.1
-end
-
-function mpool_get
-include <sys/types.h> "db-int.h" "mpool.h"
-declaration void *mpool_get(MPOOL *mp, db_pgno_t pgno, u_int flags)
-version SUNWprivate_1.1
-end
-
-function mpool_new
-include <sys/types.h> "db-int.h" "mpool.h"
-declaration void *mpool_new(MPOOL *mp, db_pgno_t *pgnoaddr, u_int flags)
-version SUNWprivate_1.1
-end
-
-function mpool_open
-include "db-int.h" "mpool.h"
-declaration MPOOL *mpool_open(void *key, int fd, db_pgno_t pagesize, \
- db_pgno_t maxcache)
-version SUNWprivate_1.1
-end
-
-function mpool_put
-include <sys/types.h> "mpool.h"
-declaration int mpool_put(MPOOL *mp, void *page, u_int flags)
-version SUNWprivate_1.1
-end
-
-function mpool_sync
-include "mpool.h"
-declaration int mpool_sync(MPOOL *mp)
-version SUNWprivate_1.1
-end
-
-function kdb2_nextkey
-include "db-ndbm.h"
-declaration datum kdb2_nextkey(datum key)
-version SUNWprivate_1.1
-end
-
-function kdb2_store
-include "db-ndbm.h"
-declaration int kdb2_store(datum key, datum dat)
-version SUNWprivate_1.1
-end
-
diff --git a/usr/src/lib/krb5/db2/spec/i386/Makefile b/usr/src/lib/krb5/db2/spec/i386/Makefile
deleted file mode 100644
index 0be82a49c8..0000000000
--- a/usr/src/lib/krb5/db2/spec/i386/Makefile
+++ /dev/null
@@ -1,31 +0,0 @@
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/krb5/db2/spec/i386/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-# Uncomment the following if the linker complains
-#i386_C_PICFLAGS = -K PIC
-
-# These include paths must be searched before includes paths in CPPFLAGS
-CFLAGS += -I$(SRC)/lib/krb5/db2/mpool \
- -I$(SRC)/lib/krb5/db2/db \
- -I$(SRC)/lib/krb5/db2/hash \
- -I$(SRC)/lib/krb5/db2/btree \
- -I$(SRC)/lib/krb5/db2/recno \
- -I$(SRC)/lib/krb5/db2/include \
- -I$(SRC)/lib/gss_mechs/mech_krb5/include/
-
-install: $(KRB5ABILIB)
diff --git a/usr/src/lib/krb5/db2/spec/sparc/Makefile b/usr/src/lib/krb5/db2/spec/sparc/Makefile
deleted file mode 100644
index 6193d4b441..0000000000
--- a/usr/src/lib/krb5/db2/spec/sparc/Makefile
+++ /dev/null
@@ -1,31 +0,0 @@
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/krb5/db2/spec/sparc/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-# Uncomment the following if the linker complains
-#sparc_C_PICFLAGS = -K PIC
-
-# These include paths must be searched before includes paths in CPPFLAGS
-CFLAGS += -I$(SRC)/lib/krb5/db2/mpool \
- -I$(SRC)/lib/krb5/db2/db \
- -I$(SRC)/lib/krb5/db2/hash \
- -I$(SRC)/lib/krb5/db2/btree \
- -I$(SRC)/lib/krb5/db2/recno \
- -I$(SRC)/lib/krb5/db2/include \
- -I$(SRC)/lib/gss_mechs/mech_krb5/include/
-
-install: $(KRB5ABILIB)
diff --git a/usr/src/lib/krb5/db2/spec/versions b/usr/src/lib/krb5/db2/spec/versions
deleted file mode 100644
index 7690404cd5..0000000000
--- a/usr/src/lib/krb5/db2/spec/versions
+++ /dev/null
@@ -1,23 +0,0 @@
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-sparc {
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-sparcv9 {
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-i386 {
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-amd64 {
- SUNW_1.1;
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/krb5/dyn/Makefile b/usr/src/lib/krb5/dyn/Makefile
index fe8a3ded2c..fb23ce54a0 100644
--- a/usr/src/lib/krb5/dyn/Makefile
+++ b/usr/src/lib/krb5/dyn/Makefile
@@ -1,14 +1,33 @@
#
-# Copyright (c) 1997-2001 by Sun Microsystems, Inc.
-# All rights reserved.
+# CDDL HEADER START
#
-#pragma ident "%Z%%M% %I% %E% SMI"
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
#
-# lib/krb5/dyn/Makefile
include ../Makefile.lib
-SUBDIRS= spec $(MACH)
+SUBDIRS= $(MACH)
all := TARGET= all
clean := TARGET= clean
@@ -22,7 +41,7 @@ all clean clobber install lint: $(SUBDIRS)
_msg:
-$(MACH) spec: FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
diff --git a/usr/src/lib/krb5/dyn/Makefile.com b/usr/src/lib/krb5/dyn/Makefile.com
index 2da9985ae1..c772a4897f 100644
--- a/usr/src/lib/krb5/dyn/Makefile.com
+++ b/usr/src/lib/krb5/dyn/Makefile.com
@@ -1,11 +1,29 @@
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/krb5/dyn/Makefile.com
-#
LIBRARY= libdyn.a
VERS= .1
@@ -51,11 +69,6 @@ all: $(LIBS)
lint: lintcheck
-$(DYNLIB): $(MAPFILE)
-
-$(MAPFILE):
- @cd $(MAPDIR); $(MAKE) mapfile
-
# include library targets
include ../../Makefile.targ
diff --git a/usr/src/lib/krb5/dyn/i386/Makefile b/usr/src/lib/krb5/dyn/i386/Makefile
index f6acb058fe..20a3695289 100644
--- a/usr/src/lib/krb5/dyn/i386/Makefile
+++ b/usr/src/lib/krb5/dyn/i386/Makefile
@@ -1,12 +1,29 @@
#
-# Copyright (c) 1997-2001 by Sun Microsystems, Inc.
-# All rights reserved.
+# CDDL HEADER START
#
-#pragma ident "%Z%%M% %I% %E% SMI"
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
#
-# lib/krb5/dyn/i386/Makefile
-
-MAPDIR= ../spec/i386
include ../Makefile.com
diff --git a/usr/src/lib/krb5/dyn/mapfile-vers b/usr/src/lib/krb5/dyn/mapfile-vers
new file mode 100644
index 0000000000..607bee9c36
--- /dev/null
+++ b/usr/src/lib/krb5/dyn/mapfile-vers
@@ -0,0 +1,57 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+# Due to mistakes made early in the history of this library, there are
+# no SUNW_1.1 symbols, but the version is now kept as a placeholder.
+# Don't add any symbols to this version.
+
+SUNW_1.1 {
+ global:
+ SUNW_1.1;
+};
+
+SUNWprivate_1.1 {
+ global:
+ DynAdd;
+ DynAppend;
+ DynArray;
+ DynCapacity;
+ DynCopy;
+ DynCreate;
+ DynDebug;
+ DynDelete;
+ DynDestroy;
+ DynGet;
+ DynInitzero;
+ DynInsert;
+ DynParanoid;
+ DynPut;
+ DynRelease;
+ DynSize;
+ local:
+ *;
+};
diff --git a/usr/src/lib/krb5/dyn/sparc/Makefile b/usr/src/lib/krb5/dyn/sparc/Makefile
index 072f0a6581..20a3695289 100644
--- a/usr/src/lib/krb5/dyn/sparc/Makefile
+++ b/usr/src/lib/krb5/dyn/sparc/Makefile
@@ -1,12 +1,29 @@
#
-# Copyright (c) 1997-2001 by Sun Microsystems, Inc.
-# All rights reserved.
+# CDDL HEADER START
#
-#pragma ident "%Z%%M% %I% %E% SMI"
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
#
-# lib/krb5/dyn/sparc/Makefile
-
-MAPDIR= ../spec/sparc
include ../Makefile.com
diff --git a/usr/src/lib/krb5/dyn/spec/Makefile b/usr/src/lib/krb5/dyn/spec/Makefile
deleted file mode 100644
index 18ab143444..0000000000
--- a/usr/src/lib/krb5/dyn/spec/Makefile
+++ /dev/null
@@ -1,9 +0,0 @@
-#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/krb5/dyn/spec/Makefile
-
-include ../../Makefile.spec.arch
diff --git a/usr/src/lib/krb5/dyn/spec/Makefile.targ b/usr/src/lib/krb5/dyn/spec/Makefile.targ
deleted file mode 100644
index 941fc88aee..0000000000
--- a/usr/src/lib/krb5/dyn/spec/Makefile.targ
+++ /dev/null
@@ -1,12 +0,0 @@
-#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/krb5/dyn/spec/Makefile.targ
-
-LIBRARY = libdyn.a
-VERS = .1
-
-OBJECTS = dyn.o
diff --git a/usr/src/lib/krb5/dyn/spec/dyn.spec b/usr/src/lib/krb5/dyn/spec/dyn.spec
deleted file mode 100644
index 248ea4a4be..0000000000
--- a/usr/src/lib/krb5/dyn/spec/dyn.spec
+++ /dev/null
@@ -1,104 +0,0 @@
-#
-# Copyright (c) 1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/krb5/dyn/spec/dyn.spec
-
-function DynAdd
-include "dynP.h"
-declaration int DynAdd(DynObject obj, void *el)
-version SUNWprivate_1.1
-end
-
-function DynAppend
-include "dynP.h"
-declaration int DynAppend(DynObjectP obj, DynPtr els, int num)
-version SUNWprivate_1.1
-end
-
-function DynArray
-include "dynP.h"
-declaration DynPtr DynArray(DynObject obj)
-version SUNWprivate_1.1
-end
-
-function DynCapacity
-include "dynP.h"
-declaration int DynCapacity(DynObject obj)
-version SUNWprivate_1.1
-end
-
-function DynCopy
-include "dynP.h"
-declaration DynObject DynCopy(DynObject obj)
-version SUNWprivate_1.1
-end
-
-function DynCreate
-include "dynP.h"
-declaration DynObject DynCreate(int el_size, int inc)
-version SUNWprivate_1.1
-end
-
-function DynDebug
-include "dynP.h"
-declaration int DynDebug(DynObject obj, int state)
-version SUNWprivate_1.1
-end
-
-function DynDelete
-include "dynP.h"
-declaration int DynDelete(DynObject obj, int idx)
-version SUNWprivate_1.1
-end
-
-function DynDestroy
-include "dynP.h"
-declaration int DynDestroy(DynObject obj)
-version SUNWprivate_1.1
-end
-
-function DynGet
-include "dynP.h"
-declaration DynPtr DynGet(DynObject obj, int num)
-version SUNWprivate_1.1
-end
-
-function DynInitzero
-include "dynP.h"
-declaration int DynInitzero(DynObject obj, int state)
-version SUNWprivate_1.1
-end
-
-function DynInsert
-include "dynP.h"
-declaration int DynInsert(DynObject obj, int idx, void *els, int num)
-version SUNWprivate_1.1
-end
-
-function DynParanoid
-include "dynP.h"
-declaration int DynParanoid(DynObject obj, int state)
-version SUNWprivate_1.1
-end
-
-function DynPut
-include "dynP.h"
-declaration int DynPut(DynObject obj, void *el, int idx)
-version SUNWprivate_1.1
-end
-
-function DynRelease
-include "dynP.h"
-declaration int DynRelease(DynObject obj)
-version SUNWprivate_1.1
-end
-
-function DynSize
-include "dynP.h"
-declaration int DynSize(DynObject obj)
-version SUNWprivate_1.1
-end
-
diff --git a/usr/src/lib/krb5/dyn/spec/i386/Makefile b/usr/src/lib/krb5/dyn/spec/i386/Makefile
deleted file mode 100644
index 0949c9ed2f..0000000000
--- a/usr/src/lib/krb5/dyn/spec/i386/Makefile
+++ /dev/null
@@ -1,25 +0,0 @@
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/krb5/dyn/spec/i386/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-# Uncomment the following if the linker complains
-#i386_C_PICFLAGS = -K PIC
-
-# These include paths must be searched before includes paths in CPPFLAGS
-CFLAGS += -I$(SRC)/lib/krb5/dyn
-
-install: $(KRB5ABILIB)
diff --git a/usr/src/lib/krb5/dyn/spec/sparc/Makefile b/usr/src/lib/krb5/dyn/spec/sparc/Makefile
deleted file mode 100644
index cf92d0653e..0000000000
--- a/usr/src/lib/krb5/dyn/spec/sparc/Makefile
+++ /dev/null
@@ -1,25 +0,0 @@
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/krb5/dyn/spec/sparc/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-# Uncomment the following if the linker complains
-#sparc_C_PICFLAGS = -K PIC
-
-# These include paths must be searched before includes paths in CPPFLAGS
-CFLAGS += -I$(SRC)/lib/krb5/dyn
-
-install: $(KRB5ABILIB)
diff --git a/usr/src/lib/krb5/dyn/spec/versions b/usr/src/lib/krb5/dyn/spec/versions
deleted file mode 100644
index 7690404cd5..0000000000
--- a/usr/src/lib/krb5/dyn/spec/versions
+++ /dev/null
@@ -1,23 +0,0 @@
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-sparc {
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-sparcv9 {
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-i386 {
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-amd64 {
- SUNW_1.1;
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/krb5/kadm5/clnt/Makefile b/usr/src/lib/krb5/kadm5/clnt/Makefile
index 63fc5a62e7..33fba4fea2 100644
--- a/usr/src/lib/krb5/kadm5/clnt/Makefile
+++ b/usr/src/lib/krb5/kadm5/clnt/Makefile
@@ -1,14 +1,34 @@
#
-# Copyright (c) 1997-2001 by Sun Microsystems, Inc.
-# All rights reserved.
+# CDDL HEADER START
#
-#pragma ident "%Z%%M% %I% %E% SMI"
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
#
-# lib/krb5/kadm5/clnt/Makefile
include ../../Makefile.lib
-SUBDIRS= spec $(MACH) $(BUILD64) $(MACH64)
+SUBDIRS = $(MACH)
+$(BUILD64)SUBDIRS += $(MACH64)
all := TARGET= all
clean := TARGET= clean
@@ -38,7 +58,7 @@ generic.po: FRC
$(SED) "/^domain/d" messages.po > $@
$(RM) messages.po
-$(MACH) $(MACH64) spec: FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
diff --git a/usr/src/lib/krb5/kadm5/clnt/Makefile.com b/usr/src/lib/krb5/kadm5/clnt/Makefile.com
index 9471c0a18e..4f4d2c2f11 100644
--- a/usr/src/lib/krb5/kadm5/clnt/Makefile.com
+++ b/usr/src/lib/krb5/kadm5/clnt/Makefile.com
@@ -1,5 +1,25 @@
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
@@ -79,11 +99,6 @@ CLEANFILES += $(ISRCHDR)
lint: lintcheck
-$(DYNLIB): $(MAPFILE)
-
-$(MAPFILE):
- @cd $(MAPDIR); $(MAKE) mapfile
-
# include library targets
include ../../../Makefile.targ
diff --git a/usr/src/lib/krb5/kadm5/clnt/amd64/Makefile b/usr/src/lib/krb5/kadm5/clnt/amd64/Makefile
index 0092ac5fa5..a26441d4b5 100644
--- a/usr/src/lib/krb5/kadm5/clnt/amd64/Makefile
+++ b/usr/src/lib/krb5/kadm5/clnt/amd64/Makefile
@@ -1,16 +1,34 @@
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-MAPDIR= ../spec/amd64
-
include ../Makefile.com
include ../../../../Makefile.lib.64
DYNFLAGS += $(KRUNPATH64) $(KMECHLIB64)
LDLIBS += -L $(ROOTLIBDIR) -lgss -lnsl -lsocket -lc
-install: all $(ROOTLIBDIR64) $(ROOTLIBS64) $(ROOTLINKS64)
+install: all $(ROOTLIBS64) $(ROOTLINKS64)
diff --git a/usr/src/lib/krb5/kadm5/clnt/i386/Makefile b/usr/src/lib/krb5/kadm5/clnt/i386/Makefile
index be5c997173..0de30116e0 100644
--- a/usr/src/lib/krb5/kadm5/clnt/i386/Makefile
+++ b/usr/src/lib/krb5/kadm5/clnt/i386/Makefile
@@ -1,12 +1,30 @@
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-MAPDIR= ../spec/i386
-
include ../Makefile.com
DYNFLAGS += $(KRUNPATH) $(KMECHLIB)
diff --git a/usr/src/lib/krb5/kadm5/clnt/mapfile-vers b/usr/src/lib/krb5/kadm5/clnt/mapfile-vers
new file mode 100644
index 0000000000..f47b2d722b
--- /dev/null
+++ b/usr/src/lib/krb5/kadm5/clnt/mapfile-vers
@@ -0,0 +1,148 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNWprivate_1.1 {
+ global:
+ chpass_principal_1;
+ chpw_error_message;
+ chrand_principal_1;
+ create_policy_1;
+ create_principal_1;
+ delete_policy_1;
+ delete_principal_1;
+ display_status;
+ get_policy_1;
+ get_pols_1;
+ get_principal_1;
+ get_princs_1;
+ get_privs_1;
+ init_1;
+ kadm5_chpass_principal;
+ kadm5_chpass_principal_3;
+ kadm5_chpass_principal_util;
+ kadm5_chpass_principal_v2;
+ kadm5_create_policy;
+ kadm5_create_principal;
+ kadm5_create_principal_3;
+ kadm5_decrypt_key;
+ kadm5_delete_policy;
+ kadm5_delete_principal;
+ kadm5_destroy;
+ kadm5_flush;
+ kadm5_free_config_params;
+ kadm5_free_name_list;
+ kadm5_free_policy_ent;
+ kadm5_free_principal_ent;
+ kadm5_get_adm_host_srv_name;
+ kadm5_get_config_params;
+ kadm5_get_cpw_host_srv_name;
+ kadm5_get_kiprop_host_srv_name;
+ _kadm5_get_kpasswd_protocol;
+ kadm5_get_master;
+ kadm5_get_policies;
+ kadm5_get_policy;
+ kadm5_get_principal;
+ kadm5_get_principals;
+ kadm5_get_privs;
+ kadm5_init;
+ kadm5_init_iprop;
+ kadm5_init_with_creds;
+ kadm5_init_with_password;
+ kadm5_init_with_skey;
+ kadm5_modify_policy;
+ kadm5_modify_principal;
+ kadm5_randkey_principal;
+ kadm5_randkey_principal_3;
+ kadm5_randkey_principal_old;
+ kadm5_rename_principal;
+ kadm5_setkey_principal_3;
+ krb5_aprof_finish;
+ krb5_aprof_get_deltat;
+ krb5_aprof_get_int32;
+ krb5_aprof_get_string;
+ krb5_aprof_getvals;
+ krb5_aprof_init;
+ krb5_flags_to_string;
+ krb5_free_key_data_contents;
+ krb5_free_realm_params;
+ krb5_input_flag_to_string;
+ krb5_keysalt_is_present;
+ krb5_keysalt_iterate;
+ krb5_klog_close;
+ krb5_klog_init;
+ krb5_klog_syslog;
+ krb5_log_error_table;
+ krb5_mk_chpw_req;
+ krb5_rd_chpw_rep;
+ krb5_read_realm_params;
+ krb5_string_to_flags;
+ krb5_string_to_keysalts;
+ modify_policy_1;
+ modify_principal_1;
+ rename_principal_1;
+ xdr_chpass_arg;
+ xdr_chrand_arg;
+ xdr_chrand_ret;
+ xdr_cpol_arg;
+ xdr_cprinc_arg;
+ xdr_dpol_arg;
+ xdr_dprinc_arg;
+ xdr_generic_ret;
+ xdr_getprivs_ret;
+ xdr_gpol_arg;
+ xdr_gpol_ret;
+ xdr_gpols_arg;
+ xdr_gpols_ret;
+ xdr_gprinc_arg;
+ xdr_gprinc_ret;
+ xdr_gprincs_arg;
+ xdr_gprincs_ret;
+ xdr_kadm5_policy_ent_rec;
+ xdr_kadm5_principal_ent_rec;
+ xdr_kadm5_principal_ent_rec_v1;
+ xdr_kadm5_ret_t;
+ xdr_krb5_deltat;
+ xdr_krb5_enctype;
+ xdr_krb5_flags;
+ xdr_krb5_int16;
+ xdr_krb5_keyblock;
+ xdr_krb5_key_data_nocontents;
+ xdr_krb5_kvno;
+ xdr_krb5_octet;
+ xdr_krb5_principal;
+ xdr_krb5_timestamp;
+ xdr_krb5_tl_data;
+ xdr_krb5_ui_4;
+ xdr_mpol_arg;
+ xdr_mprinc_arg;
+ xdr_nullstring;
+ xdr_nulltype;
+ xdr_rprinc_arg;
+ xdr_ui_4;
+ local:
+ *;
+};
diff --git a/usr/src/lib/krb5/kadm5/clnt/sparc/Makefile b/usr/src/lib/krb5/kadm5/clnt/sparc/Makefile
index 25ddb8300e..1db7c8014b 100644
--- a/usr/src/lib/krb5/kadm5/clnt/sparc/Makefile
+++ b/usr/src/lib/krb5/kadm5/clnt/sparc/Makefile
@@ -1,12 +1,30 @@
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-MAPDIR= ../spec/sparc
-
include ../Makefile.com
DYNFLAGS += $(KRUNPATH) $(KMECHLIB)
diff --git a/usr/src/lib/krb5/kadm5/clnt/sparcv9/Makefile b/usr/src/lib/krb5/kadm5/clnt/sparcv9/Makefile
index 3143e75552..a26441d4b5 100644
--- a/usr/src/lib/krb5/kadm5/clnt/sparcv9/Makefile
+++ b/usr/src/lib/krb5/kadm5/clnt/sparcv9/Makefile
@@ -1,16 +1,34 @@
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-MAPDIR= ../spec/sparcv9
-
include ../Makefile.com
include ../../../../Makefile.lib.64
DYNFLAGS += $(KRUNPATH64) $(KMECHLIB64)
LDLIBS += -L $(ROOTLIBDIR) -lgss -lnsl -lsocket -lc
-install: all $(ROOTLIBDIR64) $(ROOTLIBS64) $(ROOTLINKS64)
+install: all $(ROOTLIBS64) $(ROOTLINKS64)
diff --git a/usr/src/lib/krb5/kadm5/clnt/spec/Makefile b/usr/src/lib/krb5/kadm5/clnt/spec/Makefile
deleted file mode 100644
index 05c8165b9d..0000000000
--- a/usr/src/lib/krb5/kadm5/clnt/spec/Makefile
+++ /dev/null
@@ -1,9 +0,0 @@
-#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/krb5/kadm5/clnt/spec/Makefile
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/krb5/kadm5/clnt/spec/Makefile.targ b/usr/src/lib/krb5/kadm5/clnt/spec/Makefile.targ
deleted file mode 100644
index 61295a87ca..0000000000
--- a/usr/src/lib/krb5/kadm5/clnt/spec/Makefile.targ
+++ /dev/null
@@ -1,12 +0,0 @@
-#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/krb5/kadm5/clnt/spec/Makefile.targ
-
-LIBRARY = libkadm5clnt.a
-VERS = .1
-
-OBJECTS = kadm5clnt.o
diff --git a/usr/src/lib/krb5/kadm5/clnt/spec/amd64/Makefile b/usr/src/lib/krb5/kadm5/clnt/spec/amd64/Makefile
deleted file mode 100644
index bc0a6d45d7..0000000000
--- a/usr/src/lib/krb5/kadm5/clnt/spec/amd64/Makefile
+++ /dev/null
@@ -1,27 +0,0 @@
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-include $(SRC)/lib/Makefile.spec
-
-# Uncomment the following if the linker complains
-#amd64_C_PICFLAGS = -K PIC
-
-# These include paths must be searched before includes paths in CPPFLAGS
-CFLAGS64 += -I$(SRC)/lib/krb5/kadm5 -I$(SRC)/lib/krb5/kadm5/clnt \
- -I$(SRC)/lib/krb5 -I$(SRC)/lib/gss_mechs/mech_krb5/include \
- -I$(SRC)/lib/gss_mechs/mech_krb5/include/krb5 \
- -I$(SRC)/uts/common/gssapi/include/ \
- -I$(SRC)/uts/common/gssapi/mechs/krb5/include
-
-install: $(KRB5ABILIB64)
diff --git a/usr/src/lib/krb5/kadm5/clnt/spec/i386/Makefile b/usr/src/lib/krb5/kadm5/clnt/spec/i386/Makefile
deleted file mode 100644
index 08d1ed15dc..0000000000
--- a/usr/src/lib/krb5/kadm5/clnt/spec/i386/Makefile
+++ /dev/null
@@ -1,27 +0,0 @@
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/krb5/ss/spec/i386/Makefile
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-# Uncomment the following if the linker complains
-#i386_C_PICFLAGS = -K PIC
-
-# These include paths must be searched before includes paths in CPPFLAGS
-CFLAGS += -I$(SRC)/lib/krb5/kadm5 -I$(SRC)/lib/krb5/kadm5/clnt \
- -I$(SRC)/lib/krb5 -I$(SRC)/lib/gss_mechs/mech_krb5/include \
- -I$(SRC)/lib/gss_mechs/mech_krb5/include/krb5 \
- -I$(SRC)/uts/common/gssapi/include/ \
- -I$(SRC)/uts/common/gssapi/mechs/krb5/include
-
-install: $(KRB5ABILIB)
diff --git a/usr/src/lib/krb5/kadm5/clnt/spec/kadm5clnt.spec b/usr/src/lib/krb5/kadm5/clnt/spec/kadm5clnt.spec
deleted file mode 100644
index 85b970af4a..0000000000
--- a/usr/src/lib/krb5/kadm5/clnt/spec/kadm5clnt.spec
+++ /dev/null
@@ -1,702 +0,0 @@
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/krb5/kadm5/clnt/spec/kadm5clnt.spec
-
-function chpass_principal_1
-include <kadm_rpc.h>
-declaration generic_ret *chpass_principal_1 (chpass_arg *argp, CLIENT *clnt)
-version SUNWprivate_1.1
-end
-
-function chrand_principal_1
-declaration chrand_ret *chrand_principal_1 (chrand_arg *argp, CLIENT *clnt)
-
-version SUNWprivate_1.1
-end
-
-function create_policy_1
-include <kadm_rpc.h>
-declaration generic_ret *create_policy_1 (cpol_arg *argp, CLIENT *clnt)
-version SUNWprivate_1.1
-end
-
-function create_principal_1
-include <kadm_rpc.h>
-declaration generic_ret *create_principal_1(cprinc_arg *argp, CLIENT *clnt)
-version SUNWprivate_1.1
-end
-
-function delete_policy_1
-include <kadm_rpc.h>
-declaration generic_ret *delete_policy_1 (dpol_arg *argp, CLIENT *clnt)
-version SUNWprivate_1.1
-end
-
-function delete_principal_1
-include <kadm_rpc.h>
-declaration generic_ret *delete_principal_1(dprinc_arg *argp, CLIENT *clnt)
-version SUNWprivate_1.1
-end
-
-function display_status
-declaration void display_status(char *msg, OM_uint32 maj_stat, \
- OM_uint32 min_stat, char *mech)
-version SUNWprivate_1.1
-end
-
-function get_policy_1
-declaration gpol_ret *get_policy_1(gpol_arg *argp, CLIENT *clnt)
-version SUNWprivate_1.1
-end
-
-function get_pols_1
-declaration gpols_ret *get_pols_1(gprinc_arg *argp, CLIENT *clnt)
-version SUNWprivate_1.1
-end
-
-function get_principal_1
-declaration gprinc_ret *get_principal_1(gprinc_arg *argp, CLIENT *clnt)
-version SUNWprivate_1.1
-end
-
-function get_princs_1
-declaration gprincs_ret *get_princs_1(gprinc_arg *argp, CLIENT *clnt)
-version SUNWprivate_1.1
-end
-
-function get_privs_1
-declaration getprivs_ret *get_privs_1(void *argp, CLIENT *clnt)
-version SUNWprivate_1.1
-end
-
-function init_1
-include <kadm_rpc.h>
-declaration generic_ret *init_1(void *argp, CLIENT *clnt, \
- enum clnt_stat *rpc_err_code)
-version SUNWprivate_1.1
-end
-
-function kadm5_get_master
-declaration kadm5_ret_t kadm5_get_master(krb5_context context, \
- const char *realm, char **master)
-version SUNWprivate_1.1
-end
-
-function kadm5_get_adm_host_srv_name
-declaration kadm5_ret_t kadm5_get_adm_host_srv_name(krb5_context context, \
- const char *realm, char **host_service_name)
-version SUNWprivate_1.1
-end
-
-function kadm5_get_cpw_host_srv_name
-declaration kadm5_ret_t kadm5_get_cpw_host_srv_name(krb5_context context, \
- const char *realm, char **host_service_name)
-version SUNWprivate_1.1
-end
-
-function kadm5_get_kiprop_host_srv_name
-declaration kadm5_ret_t kadm5_get_kiprop_host_srv_name(krb5_context \
- context, const char *realm, char **host_service_name)
-version SUNWprivate_1.1
-end
-
-function kadm5_chpass_principal
-declaration kadm5_ret_t kadm5_chpass_principal(void *server_handle, \
- krb5_principal princ, char *password)
-version SUNWprivate_1.1
-end
-
-function kadm5_chpass_principal_util
-declaration kadm5_ret_t kadm5_chpass_principal_util(void *server_handle, \
- krb5_principal princ, char *new_pw, char **ret_pw, \
- char *msg_ret, int msg_len)
-version SUNWprivate_1.1
-end
-
-function kadm5_create_policy
-declaration kadm5_ret_t kadm5_create_policy(void *server_handle, \
- kadm5_policy_ent_t policy, long mask)
-version SUNWprivate_1.1
-end
-
-function kadm5_create_principal
-declaration kadm5_ret_t kadm5_create_principal(void *server_handle, \
- kadm5_principal_ent_t princ, long mask, char *pw)
-version SUNWprivate_1.1
-end
-
-function kadm5_decrypt_key
-declaration kadm5_ret_t kadm5_decrypt_key(void *server_handle, \
- kadm5_principal_ent_t entry, krb5_int32 ktype, \
- krb5_int32 stype, krb5_int32 kvno, \
- krb5_keyblock *keyblock, krb5_keysalt *keysalt, \
- int *kvnop)
-version SUNWprivate_1.1
-end
-
-function kadm5_delete_policy
-declaration kadm5_ret_t kadm5_delete_policy(void *server_handle, char *name)
-version SUNWprivate_1.1
-end
-
-function kadm5_delete_principal
-declaration kadm5_ret_t kadm5_delete_principal(void *server_handle, \
- krb5_principal principal)
-version SUNWprivate_1.1
-end
-
-function kadm5_destroy
-declaration kadm5_ret_t kadm5_destroy(void *server_handle)
-version SUNWprivate_1.1
-end
-
-function kadm5_flush
-declaration kadm5_ret_t kadm5_flush(void *server_handle)
-version SUNWprivate_1.1
-end
-
-function kadm5_free_config_params
-declaration krb5_error_code kadm5_free_config_params ( \
- krb5_context context, kadm5_config_params *params)
-version SUNWprivate_1.1
-end
-
-function kadm5_free_name_list
-declaration kadm5_ret_t kadm5_free_name_list(void *server_handle, \
- char **names, int count)
-version SUNWprivate_1.1
-end
-
-function kadm5_free_policy_ent
-declaration kadm5_ret_t kadm5_free_policy_ent(void *server_handle, \
- kadm5_policy_ent_t val)
-version SUNWprivate_1.1
-end
-
-function kadm5_free_principal_ent
-declaration kadm5_ret_t kadm5_free_principal_ent(void *server_handle, \
- kadm5_principal_ent_t val)
-version SUNWprivate_1.1
-end
-
-function kadm5_get_config_params
-declaration krb5_error_code kadm5_get_config_params (krb5_context context, \
- char *kdcprofile, char *kdcenv, \
- kadm5_config_params *params_in, \
- kadm5_config_params *params_out)
-version SUNWprivate_1.1
-end
-
-function kadm5_get_policies
-declaration kadm5_ret_t kadm5_get_policies(void *server_handle, \
- char *exp, char ***pols, int *count)
-version SUNWprivate_1.1
-end
-
-function kadm5_get_policy
-declaration kadm5_ret_t kadm5_get_policy(void *server_handle, char *name, \
- kadm5_policy_ent_t ent)
-version SUNWprivate_1.1
-end
-
-function kadm5_get_principal
-declaration kadm5_ret_t kadm5_get_principal(void *server_handle, \
- krb5_principal princ, kadm5_principal_ent_t ent, \
- long mask)
-version SUNWprivate_1.1
-end
-
-function kadm5_get_principals
-declaration kadm5_ret_t kadm5_get_principals(void *server_handle, \
- char *exp, char ***princs, int *count)
-version SUNWprivate_1.1
-end
-
-function kadm5_get_privs
-declaration kadm5_ret_t kadm5_get_privs(void *server_handle, long *privs)
-version SUNWprivate_1.1
-end
-
-function kadm5_init
-declaration kadm5_ret_t kadm5_init(char *client_name, char *pass, \
- char *service_name, kadm5_config_params *params, \
- krb5_ui_4 struct_version, krb5_ui_4 api_version, \
- void **server_handle)
-version SUNWprivate_1.1
-end
-
-function kadm5_init_with_creds
-declaration kadm5_ret_t kadm5_init_with_creds(char *client_name, \
- krb5_ccache ccache, char *service_name, \
- kadm5_config_params *params, krb5_ui_4 struct_version, \
- krb5_ui_4 api_version, void **server_handle)
-version SUNWprivate_1.1
-end
-
-function kadm5_init_with_password
-declaration kadm5_ret_t kadm5_init_with_password(char *client_name, \
- char *pass, char *service_name, \
- kadm5_config_params *params, krb5_ui_4 struct_version, \
- krb5_ui_4 api_version, void **server_handle)
-version SUNWprivate_1.1
-end
-
-function kadm5_init_with_skey
-declaration kadm5_ret_t kadm5_init_with_skey(char *client_name, \
- char *keytab, char *service_name, \
- kadm5_config_params *params, krb5_ui_4 struct_version, \
- krb5_ui_4 api_version, void **server_handle)
-version SUNWprivate_1.1
-end
-
-function kadm5_modify_policy
-declaration kadm5_ret_t kadm5_modify_policy(void *server_handle, \
- kadm5_policy_ent_t policy, long mask)
-version SUNWprivate_1.1
-end
-
-function kadm5_modify_principal
-declaration kadm5_ret_t kadm5_modify_principal(void *server_handle, \
- kadm5_principal_ent_t princ, long mask)
-version SUNWprivate_1.1
-end
-
-function kadm5_randkey_principal_old
-declaration kadm5_ret_t kadm5_randkey_principal_old(void *server_handle, \
- krb5_principal princ, krb5_keyblock **key, int *n_keys)
-version SUNWprivate_1.1
-end
-
-function kadm5_randkey_principal
-declaration kadm5_ret_t kadm5_randkey_principal(void *server_handle, \
- krb5_principal princ, krb5_keyblock **key, int *n_keys)
-version SUNWprivate_1.1
-end
-
-function kadm5_rename_principal
-declaration kadm5_ret_t kadm5_rename_principal(void *server_handle, \
- krb5_principal source, krb5_principal dest)
-version SUNWprivate_1.1
-end
-
-function krb5_aprof_finish
-declaration krb5_error_code krb5_aprof_finish(krb5_pointer acontext)
-version SUNWprivate_1.1
-end
-
-function krb5_aprof_get_deltat
-declaration krb5_error_code krb5_aprof_get_deltat (krb5_pointer acontext, \
- const char **hierarchy, krb5_boolean uselast, \
- krb5_deltat *deltatp)
-version SUNWprivate_1.1
-end
-
-function krb5_aprof_get_int32
-declaration krb5_error_code krb5_aprof_get_int32 (krb5_pointer acontext, \
- const char **hierarchy, krb5_boolean uselast, \
- krb5_int32 *intp)
-version SUNWprivate_1.1
-end
-
-function krb5_aprof_get_string
-declaration krb5_error_code krb5_aprof_get_string (krb5_pointer acontext, \
- const char **hierarchy, krb5_boolean uselast, \
- char **stringp)
-version SUNWprivate_1.1
-end
-
-function krb5_aprof_getvals
-declaration krb5_error_code krb5_aprof_getvals (krb5_pointer acontext, \
- const char **hierarchy, char ***retdata)
-version SUNWprivate_1.1
-end
-
-function krb5_aprof_init
-declaration krb5_error_code krb5_aprof_init (char *fname, \
- char *envname, krb5_pointer *acontextp)
-version SUNWprivate_1.1
-end
-
-function krb5_flags_to_string
-declaration krb5_error_code krb5_flags_to_string (krb5_flags flags, \
- const char *sep, char *buffer, size_t buflen)
-version SUNWprivate_1.1
-end
-
-function krb5_free_key_data_contents
-declaration kadm5_ret_t krb5_free_key_data_contents (krb5_context context, \
- krb5_key_data *key)
-version SUNWprivate_1.1
-end
-
-function krb5_free_realm_params
-declaration krb5_error_code krb5_free_realm_params (krb5_context kcontext, \
- krb5_realm_params *rparams)
-version SUNWprivate_1.1
-end
-
-function krb5_input_flag_to_string
-declaration krb5_error_code krb5_input_flag_to_string (int flag, \
- char *buffer, size_t buflen)
-version SUNWprivate_1.1
-end
-
-function krb5_keysalt_is_present
-declaration krb5_boolean krb5_keysalt_is_present ( \
- krb5_key_salt_tuple *ksaltlist, krb5_int32 nksalts, \
- krb5_enctype enctype, krb5_int32 salttype)
-version SUNWprivate_1.1
-end
-
-function krb5_klog_close
-declaration void krb5_klog_close(krb5_context kcontext)
-version SUNWprivate_1.1
-end
-
-function krb5_klog_init
-declaration krb5_error_code krb5_klog_init(krb5_context kcontext, \
- char *ename, char *whoami, krb5_boolean do_com_err)
-version SUNWprivate_1.1
-end
-
-function krb5_klog_syslog
-declaration int krb5_klog_syslog(int priority, const char *format, ...)
-version SUNWprivate_1.1
-end
-
-function krb5_log_error_table
-declaration const char *krb5_log_error_table(long errorno)
-version SUNWprivate_1.1
-end
-
-function krb5_read_realm_params
-declaration krb5_error_code krb5_read_realm_params (krb5_context kcontext, \
- char *realm, char *kdcprofile, char *kdcenv, \
- krb5_realm_params **rparamp)
-version SUNWprivate_1.1
-end
-
-function krb5_string_to_flags
-declaration krb5_error_code krb5_string_to_flags (char *string, \
- const char *positive, const char *negative, \
- krb5_flags *flagsp);
-version SUNWprivate_1.1
-end
-
-function krb5_keysalt_iterate
-declaration krb5_error_code krb5_keysalt_iterate ( \
- krb5_key_salt_tuple *ksaltlist, krb5_int32 nksalt, \
- krb5_boolean ignoresalt, \
- krb5_error_code (*iterator) (krb5_key_salt_tuple *, krb5_pointer), \
- krb5_pointer arg)
-version SUNWprivate_1.1
-end
-
-function krb5_string_to_keysalts
-declaration krb5_error_code krb5_string_to_keysalts (char *string, \
- const char *tupleseps, const char *ksaltseps, \
- krb5_boolean dups, krb5_key_salt_tuple **ksaltp, \
- krb5_int32 *nksaltp);
-version SUNWprivate_1.1
-end
-
-function modify_policy_1
-include <kadm_rpc.h>
-declaration generic_ret *modify_policy_1 (mpol_arg *argp, CLIENT *clnt)
-version SUNWprivate_1.1
-end
-
-function modify_principal_1
-include <kadm_rpc.h>
-declaration generic_ret *modify_principal_1 (mprinc_arg *argp, CLIENT *clnt)
-version SUNWprivate_1.1
-end
-
-function rename_principal_1
-include <kadm_rpc.h>
-declaration generic_ret *rename_principal_1 (rprinc_arg *argp, CLIENT *clnt)
-version SUNWprivate_1.1
-end
-
-function xdr_chpass_arg
-declaration bool_t xdr_chpass_arg(XDR *xdrs, chpass_arg *objp)
-version SUNWprivate_1.1
-end
-
-function xdr_chrand_arg
-declaration bool_t xdr_chrand_arg(XDR *xdrs, chrand_arg *objp)
-version SUNWprivate_1.1
-end
-
-function xdr_chrand_ret
-declaration bool_t xdr_chrand_ret(XDR *xdrs, chrand_ret *objp)
-version SUNWprivate_1.1
-end
-
-function xdr_cpol_arg
-declaration bool_t xdr_cpol_arg(XDR *xdrs, cpol_arg *objp)
-version SUNWprivate_1.1
-end
-
-function xdr_cprinc_arg
-declaration bool_t xdr_cprinc_arg(XDR *xdrs, cprinc_arg *objp)
-version SUNWprivate_1.1
-end
-
-function xdr_dpol_arg
-declaration bool_t xdr_dpol_arg(XDR *xdrs, dpol_arg *objp)
-version SUNWprivate_1.1
-end
-
-function xdr_dprinc_arg
-declaration bool_t xdr_dprinc_arg(XDR *xdrs, dprinc_arg *objp)
-version SUNWprivate_1.1
-end
-
-function xdr_generic_ret
-include <kadm_rpc.h>
-declaration bool_t xdr_generic_ret(XDR *xdrs, generic_ret *objp)
-version SUNWprivate_1.1
-end
-
-function xdr_getprivs_ret
-declaration bool_t xdr_getprivs_ret(XDR *xdrs, getprivs_ret *objp)
-version SUNWprivate_1.1
-end
-
-function xdr_gpol_arg
-declaration bool_t xdr_gpol_arg(XDR *xdrs, gpol_arg *objp)
-version SUNWprivate_1.1
-end
-
-function xdr_gpol_ret
-declaration bool_t xdr_gpol_ret(XDR *xdrs, gpol_ret *objp)
-version SUNWprivate_1.1
-end
-
-function xdr_gpols_arg
-declaration bool_t xdr_gpols_arg(XDR *xdrs, gpols_arg *objp)
-version SUNWprivate_1.1
-end
-
-function xdr_gpols_ret
-declaration bool_t xdr_gpols_ret(XDR *xdrs, gpols_ret *objp)
-version SUNWprivate_1.1
-end
-
-function xdr_gprinc_arg
-declaration bool_t xdr_gprinc_arg(XDR *xdrs, gprinc_arg *objp)
-version SUNWprivate_1.1
-end
-
-function xdr_gprinc_ret
-declaration bool_t xdr_gprinc_ret(XDR *xdrs, gprinc_ret *objp)
-version SUNWprivate_1.1
-end
-
-function xdr_gprincs_arg
-declaration bool_t xdr_gprincs_arg(XDR *xdrs, gprincs_arg *objp)
-version SUNWprivate_1.1
-end
-
-function xdr_gprincs_ret
-declaration bool_t xdr_gprincs_ret(XDR *xdrs, gprincs_ret *objp)
-version SUNWprivate_1.1
-end
-
-function xdr_kadm5_policy_ent_rec
-declaration bool_t xdr_kadm5_policy_ent_rec(XDR *xdrs, \
- kadm5_policy_ent_rec *objp)
-version SUNWprivate_1.1
-end
-
-function xdr_kadm5_principal_ent_rec
-declaration bool_t xdr_kadm5_principal_ent_rec(XDR *xdrs, \
- kadm5_principal_ent_rec *objp)
-version SUNWprivate_1.1
-end
-
-function xdr_kadm5_principal_ent_rec_v1
-declaration bool_t xdr_kadm5_principal_ent_rec_v1(XDR *xdrs, \
- kadm5_principal_ent_rec *objp)
-version SUNWprivate_1.1
-end
-
-function xdr_kadm5_ret_t
-declaration bool_t xdr_kadm5_ret_t(XDR *xdrs, kadm5_ret_t *objp)
-version SUNWprivate_1.1
-end
-
-function xdr_krb5_deltat
-declaration bool_t xdr_krb5_deltat(XDR *xdrs, krb5_deltat *objp)
-version SUNWprivate_1.1
-end
-
-function xdr_krb5_enctype
-declaration bool_t xdr_krb5_enctype(XDR *xdrs, krb5_enctype *objp)
-version SUNWprivate_1.1
-end
-
-function xdr_krb5_flags
-declaration bool_t xdr_krb5_flags(XDR *xdrs, krb5_flags *objp)
-version SUNWprivate_1.1
-end
-
-function xdr_krb5_int16
-declaration bool_t xdr_krb5_int16(XDR *xdrs, krb5_int16 *objp)
-version SUNWprivate_1.1
-end
-
-function xdr_krb5_key_data_nocontents
-declaration bool_t xdr_krb5_key_data_nocontents(XDR *xdrs, \
- krb5_key_data *objp)
-version SUNWprivate_1.1
-end
-
-function xdr_krb5_keyblock
-declaration bool_t xdr_krb5_keyblock(XDR *xdrs, krb5_keyblock *objp)
-version SUNWprivate_1.1
-end
-
-function xdr_krb5_kvno
-declaration bool_t xdr_krb5_kvno(XDR *xdrs, krb5_kvno *objp)
-version SUNWprivate_1.1
-end
-
-function xdr_krb5_octet
-declaration bool_t xdr_krb5_octet(XDR *xdrs, krb5_octet *objp)
-version SUNWprivate_1.1
-end
-
-function xdr_krb5_principal
-declaration bool_t xdr_krb5_principal(XDR *xdrs, krb5_principal *objp)
-version SUNWprivate_1.1
-end
-
-function xdr_krb5_timestamp
-declaration bool_t xdr_krb5_timestamp(XDR *xdrs, krb5_timestamp *objp)
-version SUNWprivate_1.1
-end
-
-function xdr_krb5_tl_data
-declaration bool_t xdr_krb5_tl_data(XDR *xdrs, krb5_tl_data **tl_data_head)
-version SUNWprivate_1.1
-end
-
-function xdr_krb5_ui_4
-declaration bool_t xdr_krb5_ui_4(XDR *xdrs, krb5_ui_4 *objp)
-version SUNWprivate_1.1
-end
-
-function xdr_mpol_arg
-declaration bool_t xdr_mpol_arg(XDR *xdrs, mpol_arg *objp)
-version SUNWprivate_1.1
-end
-
-function xdr_mprinc_arg
-declaration bool_t xdr_mprinc_arg(XDR *xdrs, mprinc_arg *objp)
-version SUNWprivate_1.1
-end
-
-function xdr_nullstring
-declaration bool_t xdr_nullstring(XDR *xdrs, char **objp)
-version SUNWprivate_1.1
-end
-
-function xdr_nulltype
-declaration bool_t xdr_nulltype(XDR *xdrs, void **objp, xdrproc_t proc)
-version SUNWprivate_1.1
-end
-
-function xdr_rprinc_arg
-declaration bool_t xdr_rprinc_arg(XDR *xdrs, rprinc_arg *objp)
-version SUNWprivate_1.1
-end
-
-function xdr_ui_4
-declaration bool_t xdr_ui_4(XDR *xdrs, krb5_ui_4 *objp)
-version SUNWprivate_1.1
-end
-
-function krb5_mk_chpw_req
-declaration krb5_error_code krb5_mk_chpw_req( krb5_context context,\
- krb5_auth_context auth_context,\
- krb5_data *ap_req,\
- char *passwd,\
- krb5_data *packet)
-version SUNWprivate_1.1
-end
-
-function krb5_rd_chpw_rep
-declaration krb5_error_code krb5_rd_chpw_rep( krb5_context context,\
- krb5_auth_context auth_context,\
- krb5_data *packet,\
- int *result_code,\
- krb5_data *result_data)
-version SUNWprivate_1.1
-end
-
-function chpw_error_message
-declaration const char * chpw_error_message(kadm5_ret_t result_code)
-version SUNWprivate_1.1
-end
-
-function _kadm5_get_kpasswd_protocol
-declaration krb5_chgpwd_prot _kadm5_get_kpasswd_protocol(void *handle)
-version SUNWprivate_1.1
-end
-
-function kadm5_chpass_principal_v2
-declaration kadm5_ret_t kadm5_chpass_principal_v2(void *server_handle, \
- krb5_principal princ, \
- char *password, \
- kadm5_ret_t *srvr_rsp_code,\
- krb5_data *srvr_msg)
-version SUNWprivate_1.1
-end
-
-function kadm5_create_principal_3
-
-declaration kadm5_ret_t kadm5_create_principal_3(void *server_handle, \
- kadm5_principal_ent_t princ, long mask, \
- int n_ks_tuple, \
- krb5_key_salt_tuple *ks_tuple, \
- char *pw)
-version SUNWprivate_1.1
-end
-
-function kadm5_chpass_principal_3
-declaration kadm5_ret_t kadm5_chpass_principal_3(void *server_handle, \
- krb5_principal princ, krb5_boolean keepold, \
- int n_ks_tuple, krb5_key_salt_tuple *ks_tuple, \
- char *password)
-version SUNWprivate_1.1
-end
-
-function kadm5_setkey_principal_3
-declaration kadm5_ret_t kadm5_setkey_principal_3(void *server_handle, \
- krb5_principal princ, \
- krb5_boolean keepold, int n_ks_tuple, \
- krb5_key_salt_tuple *ks_tuple, \
- krb5_keyblock *keyblocks, \
- int n_keys)
-version SUNWprivate_1.1
-end
-
-function kadm5_randkey_principal_3
-declaration kadm5_ret_t kadm5_randkey_principal_3(void *server_handle, \
- krb5_principal princ, \
- krb5_boolean keepold, int n_ks_tuple, \
- krb5_key_salt_tuple *ks_tuple, \
- krb5_keyblock **key, int *n_keys)
-version SUNWprivate_1.1
-end
-
-function kadm5_init_iprop
-declaration krb5_error_code kadm5_init_iprop(void *handle)
-version SUNWprivate_1.1
-end
diff --git a/usr/src/lib/krb5/kadm5/clnt/spec/sparc/Makefile b/usr/src/lib/krb5/kadm5/clnt/spec/sparc/Makefile
deleted file mode 100644
index 3883050aee..0000000000
--- a/usr/src/lib/krb5/kadm5/clnt/spec/sparc/Makefile
+++ /dev/null
@@ -1,30 +0,0 @@
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/krb5/kadm5/clnt/spec/sparc/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-# Uncomment the following if the linker complains
-#sparc_C_PICFLAGS = -K PIC
-
-# These include paths must be searched before includes paths in CPPFLAGS
-CFLAGS += -I$(SRC)/lib/krb5/kadm5 -I$(SRC)/lib/krb5/kadm5/clnt \
- -I$(SRC)/lib/krb5 -I$(SRC)/lib/gss_mechs/mech_krb5/include \
- -I$(SRC)/lib/gss_mechs/mech_krb5/include/krb5 \
- -I$(SRC)/uts/common/gssapi/include/ \
- -I$(SRC)/uts/common/gssapi/mechs/krb5/include
-CPPFLAGS += -Dgssrpc=rpc
-
-install: $(KRB5ABILIB)
diff --git a/usr/src/lib/krb5/kadm5/clnt/spec/sparcv9/Makefile b/usr/src/lib/krb5/kadm5/clnt/spec/sparcv9/Makefile
deleted file mode 100644
index 51958af12e..0000000000
--- a/usr/src/lib/krb5/kadm5/clnt/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,28 +0,0 @@
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/krb5/ss/spec/sparcv9/Makefile
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-include $(SRC)/lib/Makefile.spec
-
-# Uncomment the following if the linker complains
-#sparcv9_C_PICFLAGS = -K PIC
-
-# These include paths must be searched before includes paths in CPPFLAGS
-CFLAGS64 += -I$(SRC)/lib/krb5/kadm5 -I$(SRC)/lib/krb5/kadm5/clnt \
- -I$(SRC)/lib/krb5 -I$(SRC)/lib/gss_mechs/mech_krb5/include \
- -I$(SRC)/lib/gss_mechs/mech_krb5/include/krb5 \
- -I$(SRC)/uts/common/gssapi/include/ \
- -I$(SRC)/uts/common/gssapi/mechs/krb5/include
-
-install: $(KRB5ABILIB64)
diff --git a/usr/src/lib/krb5/kadm5/clnt/spec/versions b/usr/src/lib/krb5/kadm5/clnt/spec/versions
deleted file mode 100644
index 6a318d48a3..0000000000
--- a/usr/src/lib/krb5/kadm5/clnt/spec/versions
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-sparc {
- SUNWprivate_1.1;
-}
-sparcv9 {
- SUNWprivate_1.1;
-}
-i386 {
- SUNWprivate_1.1;
-}
-amd64 {
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/krb5/kadm5/srv/Makefile b/usr/src/lib/krb5/kadm5/srv/Makefile
index 96e0c2497f..d85cc5dadb 100644
--- a/usr/src/lib/krb5/kadm5/srv/Makefile
+++ b/usr/src/lib/krb5/kadm5/srv/Makefile
@@ -1,14 +1,33 @@
#
-# Copyright (c) 1997-2001 by Sun Microsystems, Inc.
-# All rights reserved.
+# CDDL HEADER START
#
-#pragma ident "%Z%%M% %I% %E% SMI"
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
#
-# lib/krb5/kadm5/srv/Makefile
include ../../Makefile.lib
-SUBDIRS= spec $(MACH)
+SUBDIRS= $(MACH)
all := TARGET= all
clean := TARGET= clean
@@ -21,7 +40,7 @@ _msg := TARGET= _msg
all clean clobber install lint _msg: $(SUBDIRS)
-$(MACH) spec: FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
diff --git a/usr/src/lib/krb5/kadm5/srv/Makefile.com b/usr/src/lib/krb5/kadm5/srv/Makefile.com
index 958e171f5e..20fde869e3 100644
--- a/usr/src/lib/krb5/kadm5/srv/Makefile.com
+++ b/usr/src/lib/krb5/kadm5/srv/Makefile.com
@@ -1,11 +1,29 @@
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/krb5/kadm5/srv/Makefile.com
-#
LIBRARY= libkadm5srv.a
VERS= .1
@@ -78,11 +96,6 @@ all: $(LIBS)
lint: lintcheck
-$(DYNLIB): $(MAPFILE)
-
-$(MAPFILE):
- @cd $(MAPDIR); $(MAKE) mapfile
-
# include library targets
include ../../../Makefile.targ
diff --git a/usr/src/lib/krb5/kadm5/srv/i386/Makefile b/usr/src/lib/krb5/kadm5/srv/i386/Makefile
index 3ec9873983..c9275248ca 100644
--- a/usr/src/lib/krb5/kadm5/srv/i386/Makefile
+++ b/usr/src/lib/krb5/kadm5/srv/i386/Makefile
@@ -1,12 +1,30 @@
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-MAPDIR= ../spec/i386
-
include ../Makefile.com
# library dependency
diff --git a/usr/src/lib/krb5/kadm5/srv/mapfile-vers b/usr/src/lib/krb5/kadm5/srv/mapfile-vers
new file mode 100644
index 0000000000..074d6da1ce
--- /dev/null
+++ b/usr/src/lib/krb5/kadm5/srv/mapfile-vers
@@ -0,0 +1,205 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+# Due to mistakes made early in the history of this library, there are
+# no SUNW_1.1 symbols, but the version is now kept as a placeholder.
+# Don't add any symbols to this version.
+
+SUNW_1.1 {
+ global:
+ SUNW_1.1;
+};
+
+SUNWprivate_1.1 {
+ global:
+ acl_check;
+ acl_finish;
+ acl_impose_restrictions;
+ acl_init;
+ adb_policy_close;
+ adb_policy_init;
+ destroy_dict;
+ find_word;
+ free_history_entry;
+ get_either_iter;
+ get_pols_iter;
+ get_princs_iter;
+ glob_to_regexp;
+ handle_chpw;
+ hist_db;
+ hist_encblock;
+ hist_key;
+ hist_kvno;
+ hist_princ;
+ init_dict;
+ kadm5_chpass_principal;
+ kadm5_chpass_principal_3;
+ kadm5_chpass_principal_util;
+ kadm5_chpass_principal_v2;
+ kadm5_create_policy;
+ kadm5_create_policy_internal;
+ kadm5_create_principal;
+ kadm5_create_principal_3;
+ kadm5_decrypt_key;
+ kadm5_delete_policy;
+ kadm5_delete_principal;
+ kadm5_destroy;
+ kadm5_flush;
+ kadm5_free_config_params;
+ kadm5_free_name_list;
+ kadm5_free_policy_ent;
+ kadm5_free_principal_ent;
+ kadm5_get_adm_host_srv_name;
+ kadm5_get_config_params;
+ kadm5_get_cpw_host_srv_name;
+ kadm5_get_either;
+ kadm5_get_kiprop_host_srv_name;
+ _kadm5_get_kpasswd_protocol;
+ kadm5_get_master;
+ kadm5_get_policies;
+ kadm5_get_policy;
+ kadm5_get_principal;
+ kadm5_get_principals;
+ __kadm5_get_priv;
+ kadm5_init;
+ kadm5_init_iprop;
+ kadm5_init_with_creds;
+ kadm5_init_with_password;
+ kadm5_init_with_skey;
+ kadm5_modify_policy;
+ kadm5_modify_policy_internal;
+ kadm5_modify_principal;
+ kadm5_randkey_principal;
+ kadm5_randkey_principal_3;
+ kadm5_rename_principal;
+ kadm5_setkey_principal;
+ kadm5_setkey_principal_3;
+ kdb_delete_entry;
+ kdb_free_entry;
+ kdb_get_entry;
+ kdb_init_hist;
+ kdb_init_master;
+ kdb_iter_entry;
+ kdb_put_entry;
+ krb5_aprof_finish;
+ krb5_aprof_get_deltat;
+ krb5_aprof_get_int32;
+ krb5_aprof_get_string;
+ krb5_aprof_getvals;
+ krb5_aprof_init;
+ krb5_copy_key_data_contents;
+ krb5_flags_to_string;
+ krb5_free_key_data_contents;
+ krb5_free_realm_params;
+ krb5_input_flag_to_string;
+ krb5_keysalt_is_present;
+ krb5_keysalt_iterate;
+ krb5_klog_close;
+ krb5_klog_init;
+ krb5_klog_reopen;
+ krb5_klog_syslog;
+ krb5_read_realm_params;
+ krb5_string_to_flags;
+ krb5_string_to_keysalts;
+ master_db;
+ master_princ;
+ osa_adb_close_and_unlock;
+ osa_adb_close_policy;
+ osa_adb_create_db;
+ osa_adb_create_policy;
+ osa_adb_create_policy_db;
+ osa_adb_destroy_db;
+ osa_adb_destroy_policy;
+ osa_adb_destroy_policy_db;
+ osa_adb_fini_db;
+ osa_adb_get_lock;
+ osa_adb_get_policy;
+ osa_adb_init_db;
+ osa_adb_iter_policy;
+ osa_adb_open_and_lock;
+ osa_adb_open_policy;
+ osa_adb_put_policy;
+ osa_adb_release_lock;
+ osa_adb_rename_db;
+ osa_adb_rename_policy_db;
+ osa_free_policy_ent;
+ osa_free_princ_ent;
+ passwd_check;
+ xdralloc_create;
+ xdralloc_getdata;
+ xdralloc_release;
+ xdr_chpass3_arg;
+ xdr_chpass_arg;
+ xdr_chrand3_arg;
+ xdr_chrand_arg;
+ xdr_chrand_ret;
+ xdr_cpol_arg;
+ xdr_cprinc3_arg;
+ xdr_cprinc_arg;
+ xdr_dpol_arg;
+ xdr_dprinc_arg;
+ xdr_generic_ret;
+ xdr_getprivs_ret;
+ xdr_gpol_arg;
+ xdr_gpol_ret;
+ xdr_gpols_arg;
+ xdr_gpols_ret;
+ xdr_gprinc_arg;
+ xdr_gprinc_ret;
+ xdr_gprincs_arg;
+ xdr_gprincs_ret;
+ xdr_kadm5_policy_ent_rec;
+ xdr_kadm5_principal_ent_rec;
+ xdr_kadm5_principal_ent_rec_v1;
+ xdr_kadm5_ret_t;
+ xdr_krb5_deltat;
+ xdr_krb5_enctype;
+ xdr_krb5_flags;
+ xdr_krb5_int16;
+ xdr_krb5_keyblock;
+ xdr_krb5_key_data;
+ xdr_krb5_key_data_nocontents;
+ xdr_krb5_kvno;
+ xdr_krb5_octet;
+ xdr_krb5_principal;
+ xdr_krb5_timestamp;
+ xdr_krb5_tl_data;
+ xdr_krb5_ui_4;
+ xdr_mpol_arg;
+ xdr_mprinc_arg;
+ xdr_nullstring;
+ xdr_nulltype;
+ xdr_osa_policy_ent_rec;
+ xdr_osa_princ_ent_rec;
+ xdr_osa_pw_hist_ent;
+ xdr_rprinc_arg;
+ xdr_setkey3_arg;
+ xdr_setkey_arg;
+ xdr_ui_4;
+ local:
+ *;
+};
diff --git a/usr/src/lib/krb5/kadm5/srv/sparc/Makefile b/usr/src/lib/krb5/kadm5/srv/sparc/Makefile
index 83aa52a651..c9275248ca 100644
--- a/usr/src/lib/krb5/kadm5/srv/sparc/Makefile
+++ b/usr/src/lib/krb5/kadm5/srv/sparc/Makefile
@@ -1,12 +1,30 @@
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-MAPDIR= ../spec/sparc
-
include ../Makefile.com
# library dependency
diff --git a/usr/src/lib/krb5/kadm5/srv/spec/Makefile b/usr/src/lib/krb5/kadm5/srv/spec/Makefile
deleted file mode 100644
index 4c1197e78d..0000000000
--- a/usr/src/lib/krb5/kadm5/srv/spec/Makefile
+++ /dev/null
@@ -1,9 +0,0 @@
-#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/krb5/kadm5/srv/spec/Makefile
-
-include ../../../Makefile.spec.arch
diff --git a/usr/src/lib/krb5/kadm5/srv/spec/Makefile.targ b/usr/src/lib/krb5/kadm5/srv/spec/Makefile.targ
deleted file mode 100644
index 5b7038ab75..0000000000
--- a/usr/src/lib/krb5/kadm5/srv/spec/Makefile.targ
+++ /dev/null
@@ -1,12 +0,0 @@
-#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/krb5/kadm5/srv/spec/Makefile.targ
-
-LIBRARY = libkadm5srv.a
-VERS = .1
-
-OBJECTS = kadm5srv.o
diff --git a/usr/src/lib/krb5/kadm5/srv/spec/i386/Makefile b/usr/src/lib/krb5/kadm5/srv/spec/i386/Makefile
deleted file mode 100644
index 3d15861bdc..0000000000
--- a/usr/src/lib/krb5/kadm5/srv/spec/i386/Makefile
+++ /dev/null
@@ -1,27 +0,0 @@
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/krb5/kadm5/srv/spec/i386/Makefile
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-# Uncomment the following if the linker complains
-#i386_C_PICFLAGS = -K PIC
-
-# These include paths must be searched before includes paths in CPPFLAGS
-CFLAGS += -I$(SRC)/lib/krb5/kadm5 -I$(SRC)/lib/krb5/kadm5/srv \
- -I$(SRC)/lib/krb5 -I$(SRC)/lib/gss_mechs/mech_krb5/include \
- -I$(SRC)/lib/gss_mechs/mech_krb5/include/krb5 \
- -I$(SRC)/uts/common/gssapi/include/ \
- -I$(SRC)/uts/common/gssapi/mechs/krb5/include
-
-install: $(KRB5ABILIB)
diff --git a/usr/src/lib/krb5/kadm5/srv/spec/kadm5srv.spec b/usr/src/lib/krb5/kadm5/srv/spec/kadm5srv.spec
deleted file mode 100644
index 0805e5a9ec..0000000000
--- a/usr/src/lib/krb5/kadm5/srv/spec/kadm5srv.spec
+++ /dev/null
@@ -1,1004 +0,0 @@
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/krb5/kadm5/srv/spec/kadm5srv.spec
-#
-# Interface definition for libkadm5srv.so.1
-#
-
-function __kadm5_get_priv
-declaration kadm5_ret_t __kadm5_get_priv(void *server_handle, long *privs, gss_name_t client)
-version SUNWprivate_1.1
-end
-
-function acl_check
-include <gssapi_krb5.h>, "server_acl.h"
-declaration krb5_boolean acl_check(krb5_context kcontext, gss_name_t caller, krb5_int32 opmask, krb5_principal principal, restriction_t **restriction)
-version SUNWprivate_1.1
-end
-
-function acl_finish
-include "k5-int.h", "server_acl.h"
-declaration void acl_finish(krb5_context kcontext, int debug_level)
-version SUNWprivate_1.1
-end
-
-function acl_init
-include "k5-int.h", "server_acl.h"
-declaration krb5_error_code acl_init(krb5_context kcontext, int debug_level, char *acl_file)
-version SUNWprivate_1.1
-end
-
-function adb_policy_close
-include "k5-int.h", "adb.h"
-declaration kadm5_ret_t adb_policy_close(kadm5_server_handle_t handle)
-version SUNWprivate_1.1
-end
-
-function adb_policy_init
-include "k5-int.h", "adb.h"
-declaration kadm5_ret_t adb_policy_init(kadm5_server_handle_t handle)
-version SUNWprivate_1.1
-end
-
-function destroy_dict
-declaration void destroy_dict(void)
-version SUNWprivate_1.1
-end
-
-function find_word
-declaration int find_word(const char *word)
-version SUNWprivate_1.1
-end
-
-function free_history_entry
-include "k5-int.h", "adb.h"
-declaration void free_history_entry(krb5_context context, osa_pw_hist_ent *hist)
-version SUNWprivate_1.1
-end
-
-function get_either_iter
-declaration void get_either_iter(void *data, char *name)
-version SUNWprivate_1.1
-end
-
-function get_pols_iter
-include "adb.h", "server_internal.h"
-declaration void get_pols_iter(void *data, osa_policy_ent_t entry)
-version SUNWprivate_1.1
-end
-
-function get_princs_iter
-include "k5-int.h", "adb.h"
-declaration void get_princs_iter(void *data, krb5_principal princ)
-version SUNWprivate_1.1
-end
-
-function glob_to_regexp
-declaration kadm5_ret_t glob_to_regexp(char *glob, char *realm, char **regexp)
-version SUNWprivate_1.1
-end
-
-function handle_chpw
-declaration void handle_chpw(krb5_context context, int s, void *serverhandle, kadm5_config_params *params)
-version SUNWprivate_1.1
-end
-
-data hist_db
-include "k5-int.h", "adb.h"
-declaration krb5_db_entry hist_db
-version SUNWprivate_1.1
-end
-
-data hist_encblock
-include "k5-int.h", "adb.h"
-declaration krb5_encrypt_block hist_encblock
-version SUNWprivate_1.1
-end
-
-data hist_key
-include "k5-int.h", "adb.h"
-declaration krb5_keyblock hist_key
-version SUNWprivate_1.1
-end
-
-data hist_kvno
-include "k5-int.h", "adb.h"
-declaration krb5_kvno hist_kvno
-version SUNWprivate_1.1
-end
-
-data hist_princ
-include "k5-int.h", "adb.h"
-declaration krb5_principal hist_princ
-version SUNWprivate_1.1
-end
-
-function krb5_klog_close
-include "k5-int.h"
-declaration void krb5_klog_close(krb5_context kcontext)
-version SUNWprivate_1.1
-end
-
-function krb5_klog_init
-include "k5-int.h"
-declaration krb5_error_code krb5_klog_init(krb5_context kcontext, char *ename, char *whoami, krb5_boolean do_com_err)
-version SUNWprivate_1.1
-end
-
-function krb5_klog_syslog
-declaration int krb5_klog_syslog(int priority, const char *format, int val)
-version SUNWprivate_1.1
-end
-
-function krb5_klog_reopen
-declaration void krb5_klog_reopen(krb5_context kcontext)
-version SUNWprivate_1.1
-end
-
-function init_dict
-include "k5-int.h", "adb.h"
-declaration int init_dict(kadm5_config_params *params)
-version SUNWprivate_1.1
-end
-
-function kadm5_get_master
-include "k5-int.h", "adb.h"
-declaration kadm5_ret_t kadm5_get_master(krb5_context context, const char *realm, char **master)
-version SUNWprivate_1.1
-end
-
-function kadm5_get_adm_host_srv_name
-include "admin.h"
-declaration kadm5_ret_t kadm5_get_adm_host_srv_name(krb5_context context, const char *realm, char **host_service_name)
-version SUNWprivate_1.1
-end
-
-function kadm5_get_cpw_host_srv_name
-include "admin.h"
-declaration kadm5_ret_t kadm5_get_cpw_host_srv_name(krb5_context context, const char *realm, char **host_service_name)
-version SUNWprivate_1.1
-end
-
-function kadm5_get_kiprop_host_srv_name
-include "admin.h"
-declaration kadm5_ret_t kadm5_get_kiprop_host_srv_name(krb5_context context, const char *realm, char **host_service_name)
-version SUNWprivate_1.1
-end
-
-function kadm5_chpass_principal
-include "server_internal.h"
-declaration kadm5_ret_t kadm5_chpass_principal(void *server_handle, krb5_principal principal, char *passwd)
-version SUNWprivate_1.1
-end
-
-function kadm5_chpass_principal_v2
-include "server_internal.h"
-declaration kadm5_ret_t kadm5_chpass_principal_v2(void *server_handle, krb5_principal principal, char *passwd, kadm5_ret_t *srvr_rsp_code, krb5_data *srvr_msg)
-version SUNWprivate_1.1
-end
-
-function _kadm5_get_kpasswd_protocol
-include "server_internal.h"
-declaration krb5_chgpwd_prot _kadm5_get_kpasswd_protocol(void *handle)
-version SUNWprivate_1.1
-end
-
-function kadm5_chpass_principal_util
-include "server_internal.h"
-declaration kadm5_ret_t kadm5_chpass_principal_util(void *server_handle, krb5_principal princ, char *new_pw, char **ret_pw, char *msg_ret, int msg_len)
-version SUNWprivate_1.1
-end
-
-function kadm5_create_policy
-include "adb.h", "server_internal.h"
-declaration kadm5_ret_t kadm5_create_policy(void *server_handle, kadm5_policy_ent_t entry, long mask)
-version SUNWprivate_1.1
-end
-
-function kadm5_create_policy_internal
-include "adb.h", "server_internal.h"
-declaration kadm5_ret_t kadm5_create_policy_internal(void *server_handle, kadm5_policy_ent_t entry, long mask)
-version SUNWprivate_1.1
-end
-
-function kadm5_create_principal
-include "adb.h", "k5-int.h", "server_internal.h"
-declaration kadm5_ret_t kadm5_create_principal(void *server_handle, kadm5_principal_ent_t entry, long mask, char *password)
-version SUNWprivate_1.1
-end
-
-function kadm5_decrypt_key
-include "adb.h", "k5-int.h", "server_internal.h"
-declaration kadm5_ret_t kadm5_decrypt_key(void *server_handle, kadm5_principal_ent_t entry, krb5_int32 ktype, krb5_int32 stype, krb5_int32 kvno, krb5_keyblock *keyblock, krb5_keysalt *keysalt, int *kvnop)
-version SUNWprivate_1.1
-end
-
-function kadm5_delete_policy
-include "adb.h", "server_internal.h"
-declaration kadm5_ret_t kadm5_delete_policy(void *server_handle, kadm5_policy_t name)
-version SUNWprivate_1.1
-end
-
-function kadm5_delete_principal
-include "adb.h", "k5-int.h", "server_internal.h"
-declaration kadm5_ret_t kadm5_delete_principal(void *server_handle, krb5_principal principal)
-version SUNWprivate_1.1
-end
-
-function kadm5_destroy
-declaration kadm5_ret_t kadm5_destroy(void *server_handle)
-version SUNWprivate_1.1
-end
-
-function kadm5_flush
-declaration kadm5_ret_t kadm5_flush(void *server_handle)
-version SUNWprivate_1.1
-end
-
-function kadm5_free_config_params
-declaration krb5_error_code kadm5_free_config_params(krb5_context context, kadm5_config_params *params)
-version SUNWprivate_1.1
-end
-
-function kadm5_free_name_list
-include "server_internal.h"
-declaration kadm5_ret_t kadm5_free_name_list(void *server_handle, char **names, int count)
-version SUNWprivate_1.1
-end
-
-function kadm5_free_policy_ent
-include "server_internal.h"
-declaration kadm5_ret_t kadm5_free_policy_ent(void *server_handle, kadm5_policy_ent_t val)
-version SUNWprivate_1.1
-end
-
-function kadm5_free_principal_ent
-include "server_internal.h"
-declaration kadm5_ret_t kadm5_free_principal_ent(void *server_handle, kadm5_principal_ent_t val)
-version SUNWprivate_1.1
-end
-
-function kadm5_get_config_params
-include "k5-int.h"
-declaration krb5_error_code kadm5_get_config_params(krb5_context context, char *kdcprofile, char *kdcenv, kadm5_config_params *params_in, kadm5_config_params *params_out)
-version SUNWprivate_1.1
-end
-
-function kadm5_get_either
-include "adb.h", "server_internal.h"
-declaration kadm5_ret_t kadm5_get_either(int princ, void *server_handle, char *exp, char ***princs, int *count)
-version SUNWprivate_1.1
-end
-
-function kadm5_get_policies
-include "adb.h", "server_internal.h"
-declaration kadm5_ret_t kadm5_get_policies(void *server_handle, char *exp, char ***pols, int *count)
-version SUNWprivate_1.1
-end
-
-function kadm5_get_policy
-include "adb.h", "server_internal.h"
-declaration kadm5_ret_t kadm5_get_policy(void *server_handle, kadm5_policy_t name, kadm5_policy_ent_t entry)
-version SUNWprivate_1.1
-end
-
-function kadm5_get_principal
-include "adb.h", "k5-int.h", "server_internal.h"
-declaration kadm5_ret_t kadm5_get_principal(void *server_handle, krb5_principal principal, kadm5_principal_ent_t entry, long in_mask)
-version SUNWprivate_1.1
-end
-
-function kadm5_get_principals
-include "adb.h", "server_internal.h"
-declaration kadm5_ret_t kadm5_get_principals(void *server_handle, char *exp, char ***princs, int *count)
-version SUNWprivate_1.1
-end
-
-function kadm5_init
-include "server_internal.h"
-declaration kadm5_ret_t kadm5_init(char *client_name, char *pass, char *service_name, kadm5_config_params *params_in, krb5_ui_4 struct_version, krb5_ui_4 api_version, void **server_handle)
-version SUNWprivate_1.1
-end
-
-function kadm5_init_with_creds
-include "server_internal.h"
-declaration kadm5_ret_t kadm5_init_with_creds(char *client_name, krb5_ccache ccache, char *service_name, kadm5_config_params *params, krb5_ui_4 struct_version, krb5_ui_4 api_version, void **server_handle)
-version SUNWprivate_1.1
-end
-
-function kadm5_init_with_password
-include "server_internal.h"
-declaration kadm5_ret_t kadm5_init_with_password(char *client_name, char *pass, char *service_name, kadm5_config_params *params, krb5_ui_4 struct_version, krb5_ui_4 api_version, void **server_handle)
-version SUNWprivate_1.1
-end
-
-function kadm5_init_with_skey
-include "server_internal.h"
-declaration kadm5_ret_t kadm5_init_with_skey(char *client_name, char *keytab, char *service_name, kadm5_config_params *params, krb5_ui_4 struct_version, krb5_ui_4 api_version, void **server_handle)
-version SUNWprivate_1.1
-end
-
-function kadm5_modify_policy
-include "adb.h", "server_internal.h"
-declaration kadm5_ret_t kadm5_modify_policy(void *server_handle, kadm5_policy_ent_t entry, long mask)
-version SUNWprivate_1.1
-end
-
-function kadm5_modify_policy_internal
-include "adb.h", "server_internal.h"
-declaration kadm5_ret_t kadm5_modify_policy_internal(void *server_handle, kadm5_policy_ent_t entry, long mask)
-version SUNWprivate_1.1
-end
-
-function kadm5_modify_principal
-include "adb.h", "k5-int.h", "server_internal.h"
-declaration kadm5_ret_t kadm5_modify_principal(void *server_handle, kadm5_principal_ent_t entry, long mask)
-version SUNWprivate_1.1
-end
-
-function kadm5_randkey_principal
-include "adb.h", "k5-int.h", "server_internal.h"
-declaration kadm5_ret_t kadm5_randkey_principal(void *server_handle, krb5_principal principal, krb5_keyblock **keyblocks, int *n_keys)
-version SUNWprivate_1.1
-end
-
-function kadm5_rename_principal
-include "adb.h", "k5-int.h", "server_internal.h"
-declaration kadm5_ret_t kadm5_rename_principal(void *server_handle, krb5_principal source, krb5_principal target)
-version SUNWprivate_1.1
-end
-
-function kdb_delete_entry
-declaration krb5_error_code kdb_delete_entry(kadm5_server_handle_t handle, krb5_principal name)
-version SUNWprivate_1.1
-end
-
-function kdb_free_entry
-include "k5-int.h", "server_internal.h"
-declaration krb5_error_code kdb_free_entry(kadm5_server_handle_t handle, krb5_db_entry *kdb, osa_princ_ent_rec *adb)
-version SUNWprivate_1.1
-end
-
-function kdb_get_entry
-include "k5-int.h", "server_internal.h"
-declaration krb5_error_code kdb_get_entry(kadm5_server_handle_t handle, krb5_principal principal, krb5_db_entry *kdb, osa_princ_ent_rec *adb)
-version SUNWprivate_1.1
-end
-
-function kdb_init_hist
-include "k5-int.h", "server_internal.h"
-declaration krb5_error_code kdb_init_hist(kadm5_server_handle_t handle, char *r)
-version SUNWprivate_1.1
-end
-
-function kdb_init_master
-include "k5-int.h", "server_internal.h"
-declaration krb5_error_code kdb_init_master(kadm5_server_handle_t handle, char *r, int from_keyboard)
-version SUNWprivate_1.1
-end
-
-function kdb_iter_entry
-include "k5-int.h", "server_internal.h"
-declaration krb5_error_code kdb_iter_entry(kadm5_server_handle_t handle, void (*iter_fct)(void *, krb5_principal), void *data)
-version SUNWprivate_1.1
-end
-
-function kdb_put_entry
-include "k5-int.h", "server_internal.h"
-declaration krb5_error_code kdb_put_entry(kadm5_server_handle_t handle, krb5_db_entry *kdb, osa_princ_ent_rec *adb)
-version SUNWprivate_1.1
-end
-
-function krb5_aprof_finish
-include "k5-int.h"
-declaration krb5_error_code krb5_aprof_finish(krb5_pointer acontext)
-version SUNWprivate_1.1
-end
-
-function krb5_aprof_get_deltat
-include "k5-int.h"
-declaration krb5_error_code krb5_aprof_get_deltat(krb5_pointer acontext, const char **hierarchy, krb5_boolean uselast, krb5_deltat *deltatp)
-version SUNWprivate_1.1
-end
-
-function krb5_aprof_get_int32
-include "k5-int.h"
-declaration krb5_error_code krb5_aprof_get_int32(krb5_pointer acontext, const char **hierarchy, krb5_boolean uselast, krb5_int32 *intp)
-version SUNWprivate_1.1
-end
-
-function krb5_aprof_get_string
-include "k5-int.h"
-declaration krb5_error_code krb5_aprof_get_string(krb5_pointer acontext, const char **hierarchy, krb5_boolean uselast, char **stringp)
-version SUNWprivate_1.1
-end
-
-function krb5_aprof_getvals
-include "k5-int.h"
-declaration krb5_error_code krb5_aprof_getvals(krb5_pointer acontext, const char **hierarchy, char ***retdata)
-version SUNWprivate_1.1
-end
-
-function krb5_aprof_init
-include "k5-int.h"
-declaration krb5_error_code krb5_aprof_init(char *fname, char *envname, krb5_pointer *acontextp)
-version SUNWprivate_1.1
-end
-
-function krb5_copy_key_data_contents
-include "adb.h", "k5-int.h", "server_internal.h"
-declaration kadm5_ret_t krb5_copy_key_data_contents(krb5_context context, krb5_key_data *from, krb5_key_data *to)
-version SUNWprivate_1.1
-end
-
-function krb5_flags_to_string
-include "k5-int.h", "admin_internal.h"
-declaration krb5_error_code krb5_flags_to_string(krb5_flags flags, const char * sep, char * buffer, size_t buflen)
-version SUNWprivate_1.1
-end
-
-function krb5_free_key_data_contents
-include "adb.h", "k5-int.h", "server_internal.h"
-declaration kadm5_ret_t krb5_free_key_data_contents(krb5_context context, krb5_key_data *key)
-version SUNWprivate_1.1
-end
-
-function krb5_free_realm_params
-include "k5-int.h"
-declaration krb5_error_code krb5_free_realm_params(krb5_context kcontext, krb5_realm_params *rparams)
-version SUNWprivate_1.1
-end
-
-function krb5_input_flag_to_string
-include "k5-int.h", "admin_internal.h"
-declaration krb5_error_code krb5_input_flag_to_string(int flag, char * buffer, size_t buflen)
-version SUNWprivate_1.1
-end
-
-function krb5_keysalt_is_present
-include "k5-int.h", "admin_internal.h"
-declaration krb5_boolean krb5_keysalt_is_present(krb5_key_salt_tuple *ksaltlist, krb5_int32 nksalts, krb5_enctype enctype, krb5_int32 salttype)
-version SUNWprivate_1.1
-end
-
-function krb5_keysalt_iterate
-# declaration krb5_error_code krb5_keysalt_iterate(krb5_key_salt_tuple *ksaltlist, krb5_int32 nksalt, krb5_boolean ignoresalt, krb5_error_code (*iterator) KRB5_NPROTOTYPE((krb5_key_salt_tuple *, krb5_pointer)), krb5_pointer arg)
-declaration krb5_error_code krb5_keysalt_iterate(krb5_key_salt_tuple *ksaltlist, krb5_int32 nksalt, krb5_boolean ignoresalt, krb5_error_code *iterator, krb5_pointer arg)
-version SUNWprivate_1.1
-end
-
-function krb5_read_realm_params
-include "k5-int.h"
-declaration krb5_error_code krb5_read_realm_params(krb5_context kcontext, char *realm, char *kdcprofile, char *kdcenv, krb5_realm_params**rparamp)
-version SUNWprivate_1.1
-end
-
-function krb5_string_to_flags
-include "k5-int.h", "admin_internal.h"
-declaration krb5_error_code krb5_string_to_flags(char * string, const char * positive, const char * negative, krb5_flags * flagsp)
-version SUNWprivate_1.1
-end
-
-function krb5_string_to_keysalts
-include "k5-int.h", "admin_internal.h"
-declaration krb5_error_code krb5_string_to_keysalts(char *string, const char *tupleseps, const char *ksaltseps, krb5_boolean dups, krb5_key_salt_tuple **ksaltp, krb5_int32 *nksaltp)
-version SUNWprivate_1.1
-end
-
-data master_db
-declaration krb5_db_entry master_db
-version SUNWprivate_1.1
-end
-
-data master_princ
-declaration krb5_principal master_princ
-version SUNWprivate_1.1
-end
-
-function osa_adb_close_and_unlock
-declaration osa_adb_ret_t osa_adb_close_and_unlock(osa_adb_princ_t db)
-version SUNWprivate_1.1
-end
-
-function osa_adb_close_policy
-declaration osa_adb_ret_t osa_adb_close_policy(osa_adb_princ_t db)
-version SUNWprivate_1.1
-end
-
-function osa_adb_create_db
-include "adb.h"
-declaration osa_adb_ret_t osa_adb_create_db(char *filename, char *lockfilename, int magic)
-version SUNWprivate_1.1
-end
-
-function osa_adb_create_policy
-include "adb.h"
-declaration osa_adb_ret_t osa_adb_create_policy(osa_adb_policy_t db, osa_policy_ent_t entry)
-version SUNWprivate_1.1
-end
-
-function osa_adb_create_policy_db
-include "adb.h"
-declaration osa_adb_ret_t osa_adb_create_policy_db(kadm5_config_params *params)
-version SUNWprivate_1.1
-end
-
-function osa_adb_destroy_db
-include "adb.h"
-declaration osa_adb_ret_t osa_adb_destroy_db(char *filename, char *lockfilename, int magic)
-version SUNWprivate_1.1
-end
-
-function osa_adb_destroy_policy
-include "adb.h"
-declaration osa_adb_ret_t osa_adb_destroy_policy(osa_adb_policy_t db, kadm5_policy_t name)
-version SUNWprivate_1.1
-end
-
-function osa_adb_destroy_policy_db
-include "adb.h"
-declaration osa_adb_ret_t osa_adb_destroy_policy_db(kadm5_config_params *params)
-version SUNWprivate_1.1
-end
-
-function osa_adb_fini_db
-include "adb.h"
-declaration osa_adb_ret_t osa_adb_fini_db(osa_adb_db_t db, int magic)
-version SUNWprivate_1.1
-end
-
-function osa_adb_get_lock
-include "adb.h"
-declaration osa_adb_ret_t osa_adb_get_lock(osa_adb_db_t db, int mode)
-version SUNWprivate_1.1
-end
-
-function osa_adb_get_policy
-include "adb.h"
-declaration osa_adb_ret_t osa_adb_get_policy(osa_adb_policy_t db, kadm5_policy_t name, osa_policy_ent_t *entry)
-version SUNWprivate_1.1
-end
-
-function osa_adb_init_db
-declaration osa_adb_ret_t osa_adb_init_db(osa_adb_db_t *dbp, char *filename, char *lockfilename, int magic)
-version SUNWprivate_1.1
-end
-
-function osa_adb_iter_policy
-include "adb.h"
-declaration osa_adb_ret_t osa_adb_iter_policy(osa_adb_policy_t db, osa_adb_iter_policy_func func, void *data)
-version SUNWprivate_1.1
-end
-
-function osa_adb_open_and_lock
-include "adb.h"
-declaration osa_adb_ret_t osa_adb_open_and_lock(osa_adb_princ_t db, int locktype)
-version SUNWprivate_1.1
-end
-
-function osa_adb_open_policy
-include "adb.h"
-declaration osa_adb_ret_t osa_adb_open_policy(osa_adb_princ_t *dbp, kadm5_config_params *rparams)
-version SUNWprivate_1.1
-end
-
-function osa_adb_put_policy
-include "adb.h"
-declaration osa_adb_ret_t osa_adb_put_policy(osa_adb_policy_t db, osa_policy_ent_t entry)
-version SUNWprivate_1.1
-end
-
-function osa_adb_release_lock
-include "adb.h"
-declaration osa_adb_ret_t osa_adb_release_lock(osa_adb_db_t db)
-version SUNWprivate_1.1
-end
-
-function osa_adb_rename_db
-include "adb.h"
-declaration osa_adb_ret_t osa_adb_rename_db(char *filefrom, char *lockfrom, char *fileto, char *lockto, int magic)
-version SUNWprivate_1.1
-end
-
-function osa_adb_rename_policy_db
-include "adb.h"
-declaration osa_adb_ret_t osa_adb_rename_policy_db(kadm5_config_params *fromparams, kadm5_config_params *toparams)
-version SUNWprivate_1.1
-end
-
-function osa_free_policy_ent
-include "adb.h"
-declaration void osa_free_policy_ent(osa_policy_ent_t val)
-version SUNWprivate_1.1
-end
-
-function osa_free_princ_ent
-include "adb.h"
-declaration void osa_free_princ_ent(osa_princ_ent_t val)
-version SUNWprivate_1.1
-end
-
-function passwd_check
-include "k5-int.h"
-declaration kadm5_ret_t passwd_check(kadm5_server_handle_t handle, char *password, int use_policy, kadm5_policy_ent_t pol, krb5_principal principal)
-version SUNWprivate_1.1
-end
-
-function xdr_chpass_arg
-include "k5-int.h"
-declaration bool_t xdr_chpass_arg(XDR *xdrs, chpass_arg *objp)
-version SUNWprivate_1.1
-end
-
-function xdr_chrand_arg
-include "k5-int.h"
-declaration bool_t xdr_chrand_arg(XDR *xdrs, chrand_arg *objp)
-version SUNWprivate_1.1
-end
-
-function xdr_chrand_ret
-include "k5-int.h"
-declaration bool_t xdr_chrand_ret(XDR *xdrs, chrand_ret *objp)
-version SUNWprivate_1.1
-end
-
-function xdr_cpol_arg
-include "k5-int.h"
-declaration bool_t xdr_cpol_arg(XDR *xdrs, cpol_arg *objp)
-version SUNWprivate_1.1
-end
-
-function xdr_cprinc_arg
-include "k5-int.h"
-declaration bool_t xdr_cprinc_arg(XDR *xdrs, cprinc_arg *objp)
-version SUNWprivate_1.1
-end
-
-function xdr_dpol_arg
-include "k5-int.h"
-declaration bool_t xdr_dpol_arg(XDR *xdrs, dpol_arg *objp)
-version SUNWprivate_1.1
-end
-
-function xdr_dprinc_arg
-include "k5-int.h"
-declaration bool_t xdr_dprinc_arg(XDR *xdrs, dprinc_arg *objp)
-version SUNWprivate_1.1
-end
-
-function xdr_generic_ret
-include "k5-int.h"
-declaration bool_t xdr_generic_ret(XDR *xdrs, generic_ret *objp)
-version SUNWprivate_1.1
-end
-
-function xdr_getprivs_ret
-include "k5-int.h"
-declaration bool_t xdr_getprivs_ret(XDR *xdrs, getprivs_ret *objp)
-version SUNWprivate_1.1
-end
-
-function xdr_gpol_arg
-include "k5-int.h"
-declaration bool_t xdr_gpol_arg(XDR *xdrs, gpol_arg *objp)
-version SUNWprivate_1.1
-end
-
-function xdr_gpol_ret
-include "k5-int.h"
-declaration bool_t xdr_gpol_ret(XDR *xdrs, gpol_ret *objp)
-version SUNWprivate_1.1
-end
-
-function xdr_gpols_arg
-include "k5-int.h"
-declaration bool_t xdr_gpols_arg(XDR *xdrs, gpols_arg *objp)
-version SUNWprivate_1.1
-end
-
-function xdr_gpols_ret
-include "k5-int.h"
-declaration bool_t xdr_gpols_ret(XDR *xdrs, gpols_ret *objp)
-version SUNWprivate_1.1
-end
-
-function xdr_gprinc_arg
-include "k5-int.h"
-declaration bool_t xdr_gprinc_arg(XDR *xdrs, gprinc_arg *objp)
-version SUNWprivate_1.1
-end
-
-function xdr_gprinc_ret
-include "k5-int.h"
-declaration bool_t xdr_gprinc_ret(XDR *xdrs, gprinc_ret *objp)
-version SUNWprivate_1.1
-end
-
-function xdr_gprincs_arg
-include "k5-int.h"
-declaration bool_t xdr_gprincs_arg(XDR *xdrs, gprincs_arg *objp)
-version SUNWprivate_1.1
-end
-
-function xdr_gprincs_ret
-include "k5-int.h"
-declaration bool_t xdr_gprincs_ret(XDR *xdrs, gprincs_ret *objp)
-version SUNWprivate_1.1
-end
-
-function xdr_kadm5_policy_ent_rec
-include "k5-int.h"
-declaration bool_t xdr_kadm5_policy_ent_rec(XDR *xdrs, kadm5_policy_ent_rec *objp)
-version SUNWprivate_1.1
-end
-
-function xdr_kadm5_principal_ent_rec
-include "k5-int.h"
-declaration bool_t xdr_kadm5_principal_ent_rec(XDR *xdrs, kadm5_principal_ent_rec *objp)
-version SUNWprivate_1.1
-end
-
-function xdr_kadm5_principal_ent_rec_v1
-include "k5-int.h"
-declaration bool_t xdr_kadm5_principal_ent_rec_v1(XDR *xdrs, kadm5_principal_ent_rec *objp)
-version SUNWprivate_1.1
-end
-
-function xdr_kadm5_ret_t
-include "k5-int.h"
-declaration bool_t xdr_kadm5_ret_t(XDR *xdrs, kadm5_ret_t *objp)
-version SUNWprivate_1.1
-end
-
-function xdr_krb5_deltat
-include "k5-int.h"
-declaration bool_t xdr_krb5_deltat(XDR *xdrs, krb5_deltat *objp)
-version SUNWprivate_1.1
-end
-
-function xdr_krb5_enctype
-include "k5-int.h"
-declaration bool_t xdr_krb5_enctype(XDR *xdrs, krb5_enctype *objp)
-version SUNWprivate_1.1
-end
-
-function xdr_krb5_flags
-include "k5-int.h"
-declaration bool_t xdr_krb5_flags(XDR *xdrs, krb5_flags *objp)
-version SUNWprivate_1.1
-end
-
-function xdr_krb5_int16
-include "k5-int.h"
-declaration bool_t xdr_krb5_int16(XDR *xdrs, krb5_int16 *objp)
-version SUNWprivate_1.1
-end
-
-function xdr_krb5_key_data
-include "k5-int.h"
-declaration bool_t xdr_krb5_key_data(XDR *xdrs, krb5_key_data *objp)
-version SUNWprivate_1.1
-end
-
-function xdr_krb5_key_data_nocontents
-include "k5-int.h"
-declaration bool_t xdr_krb5_key_data_nocontents(XDR *xdrs, krb5_key_data *objp)
-version SUNWprivate_1.1
-end
-
-function xdr_krb5_keyblock
-include "k5-int.h"
-declaration bool_t xdr_krb5_keyblock(XDR *xdrs, krb5_keyblock *objp)
-version SUNWprivate_1.1
-end
-
-function xdr_krb5_kvno
-include "k5-int.h"
-declaration bool_t xdr_krb5_kvno(XDR *xdrs, krb5_kvno *objp)
-version SUNWprivate_1.1
-end
-
-function xdr_krb5_octet
-include "k5-int.h"
-declaration bool_t xdr_krb5_octet(XDR *xdrs, krb5_octet *objp)
-version SUNWprivate_1.1
-end
-
-function xdr_krb5_principal
-include "k5-int.h"
-declaration bool_t xdr_krb5_principal(XDR *xdrs, krb5_principal *objp)
-version SUNWprivate_1.1
-end
-
-function xdr_krb5_timestamp
-include "k5-int.h"
-declaration bool_t xdr_krb5_timestamp(XDR *xdrs, krb5_timestamp *objp)
-version SUNWprivate_1.1
-end
-
-function xdr_krb5_tl_data
-include "k5-int.h"
-declaration bool_t xdr_krb5_tl_data(XDR *xdrs, krb5_tl_data **tl_data_head)
-version SUNWprivate_1.1
-end
-
-function xdr_krb5_ui_4
-include "k5-int.h"
-declaration bool_t xdr_krb5_ui_4(XDR *xdrs, krb5_ui_4 *objp)
-version SUNWprivate_1.1
-end
-
-function xdr_mpol_arg
-include "k5-int.h"
-declaration bool_t xdr_mpol_arg(XDR *xdrs, mpol_arg *objp)
-version SUNWprivate_1.1
-end
-
-function xdr_mprinc_arg
-include "k5-int.h"
-declaration bool_t xdr_mprinc_arg(XDR *xdrs, mprinc_arg *objp)
-version SUNWprivate_1.1
-end
-
-function xdr_nullstring
-include "k5-int.h"
-declaration bool_t xdr_nullstring(XDR *xdrs, char **objp)
-version SUNWprivate_1.1
-end
-
-function xdr_nulltype
-include "k5-int.h"
-declaration bool_t xdr_nulltype(XDR *xdrs, void **objp, xdrproc_t proc)
-version SUNWprivate_1.1
-end
-
-function xdr_osa_policy_ent_rec
-include "adb.h", "admin_xdr.h"
-declaration bool_t xdr_osa_policy_ent_rec(XDR *xdrs, osa_policy_ent_t objp)
-version SUNWprivate_1.1
-end
-
-function xdr_osa_princ_ent_rec
-include "k5-int.h"
-declaration bool_t xdr_osa_princ_ent_rec(XDR *xdrs, osa_princ_ent_t objp)
-version SUNWprivate_1.1
-end
-
-function xdr_osa_pw_hist_ent
-include "k5-int.h"
-declaration bool_t xdr_osa_pw_hist_ent(XDR *xdrs, osa_pw_hist_ent *objp)
-version SUNWprivate_1.1
-end
-
-function xdr_rprinc_arg
-include "k5-int.h"
-declaration bool_t xdr_rprinc_arg(XDR *xdrs, rprinc_arg *objp)
-version SUNWprivate_1.1
-end
-
-function xdr_ui_4
-include "k5-int.h"
-declaration bool_t xdr_ui_4(XDR *xdrs, krb5_ui_4 *objp)
-version SUNWprivate_1.1
-end
-
-function xdralloc_create
-include "admin.h"
-declaration void xdralloc_create(register XDR *xdrs, enum xdr_op op)
-version SUNWprivate_1.1
-end
-
-function xdralloc_getdata
-include "admin.h"
-declaration caddr_t xdralloc_getdata(XDR *xdrs)
-version SUNWprivate_1.1
-end
-
-function xdralloc_release
-include "admin.h"
-declaration void xdralloc_release(XDR *xdrs)
-version SUNWprivate_1.1
-end
-
-function acl_impose_restrictions
-declaration krb5_error_code acl_impose_restrictions(\
- krb5_context kcontext,\
- kadm5_principal_ent_rec *recp,\
- long *maskp,\
- restriction_t *rp)
-version SUNWprivate_1.1
-end
-
-function kadm5_create_principal_3
-declaration kadm5_ret_t kadm5_create_principal_3(void *server_handle,\
- kadm5_principal_ent_t ent,\
- long mask,\
- int n_ks_tuple,\
- krb5_key_salt_tuple *ks_tuple,\
- char *pass)
-version SUNWprivate_1.1
-end
-
-function kadm5_chpass_principal_3
-declaration kadm5_ret_t kadm5_chpass_principal_3(void *server_handle,\
- krb5_principal principal,\
- krb5_boolean keepold,\
- int n_ks_tuple,\
- krb5_key_salt_tuple *ks_tuple,\
- char *pass)
-version SUNWprivate_1.1
-end
-
-function kadm5_randkey_principal_3
-declaration kadm5_ret_t kadm5_randkey_principal_3(void *server_handle,\
- krb5_principal principal,\
- krb5_boolean keepold,\
- int n_ks_tuple,\
- krb5_key_salt_tuple *ks_tuple,\
- krb5_keyblock **keyblocks,\
- int *n_keys)
-version SUNWprivate_1.1
-end
-
-function kadm5_setkey_principal
-declaration kadm5_ret_t kadm5_setkey_principal(void *server_handle,\
- krb5_principal principal,\
- krb5_keyblock *keyblocks,\
- int n_keys)
-version SUNWprivate_1.1
-end
-
-function kadm5_setkey_principal_3
-declaration kadm5_ret_t kadm5_setkey_principal_3(void *server_handle,\
- krb5_principal principal,\
- krb5_boolean keepold,\
- int n_ks_tuple,\
- krb5_key_salt_tuple *ks_tuple,\
- krb5_keyblock *keyblocks,\
- int n_keys)
-version SUNWprivate_1.1
-end
-
-function xdr_cprinc3_arg
-declaration bool_t xdr_cprinc3_arg(\
- XDR *xdrs,\
- cprinc3_arg *objp)
-version SUNWprivate_1.1
-end
-
-function xdr_setkey_arg
-declaration bool_t xdr_setkey_arg(\
- XDR *xdrs,\
- setkey_arg *objp)
-version SUNWprivate_1.1
-end
-
-function xdr_setkey3_arg
-declaration bool_t xdr_setkey3_arg(\
- XDR *xdrs,\
- setkey3_arg *objp)
-version SUNWprivate_1.1
-end
-
-function xdr_chrand3_arg
-declaration bool_t xdr_chrand3_arg(\
- XDR *xdrs,\
- chrand3_arg *objp)
-version SUNWprivate_1.1
-end
-
-function xdr_chpass3_arg
-declaration bool_t xdr_chpass3_arg(\
- XDR *xdrs,\
- chpass3_arg *objp)
-version SUNWprivate_1.1
-end
-
-function kadm5_init_iprop
-declaration krb5_error_code kadm5_init_iprop(void *handle)
-version SUNWprivate_1.1
-end
diff --git a/usr/src/lib/krb5/kadm5/srv/spec/sparc/Makefile b/usr/src/lib/krb5/kadm5/srv/spec/sparc/Makefile
deleted file mode 100644
index 1c01d64146..0000000000
--- a/usr/src/lib/krb5/kadm5/srv/spec/sparc/Makefile
+++ /dev/null
@@ -1,29 +0,0 @@
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/krb5/kadm5/srv/spec/sparc/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-# Uncomment the following if the linker complains
-#sparc_C_PICFLAGS = -K PIC
-
-# These include paths must be searched before includes paths in CPPFLAGS
-CFLAGS += -I$(SRC)/lib/krb5/kadm5 -I$(SRC)/lib/krb5/kadm5/srv \
- -I$(SRC)/lib/krb5 -I$(SRC)/lib/gss_mechs/mech_krb5/include \
- -I$(SRC)/lib/gss_mechs/mech_krb5/include/krb5 \
- -I$(SRC)/uts/common/gssapi/include/ \
- -I$(SRC)/uts/common/gssapi/mechs/krb5/include
-
-install: $(KRB5ABILIB)
diff --git a/usr/src/lib/krb5/kadm5/srv/spec/versions b/usr/src/lib/krb5/kadm5/srv/spec/versions
deleted file mode 100644
index 7690404cd5..0000000000
--- a/usr/src/lib/krb5/kadm5/srv/spec/versions
+++ /dev/null
@@ -1,23 +0,0 @@
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-sparc {
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-sparcv9 {
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-i386 {
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-amd64 {
- SUNW_1.1;
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/krb5/kdb/Makefile b/usr/src/lib/krb5/kdb/Makefile
index a3f14cb5dc..99160be316 100644
--- a/usr/src/lib/krb5/kdb/Makefile
+++ b/usr/src/lib/krb5/kdb/Makefile
@@ -1,14 +1,33 @@
#
-# Copyright (c) 1997-2001 by Sun Microsystems, Inc.
-# All rights reserved.
+# CDDL HEADER START
#
-#pragma ident "%Z%%M% %I% %E% SMI"
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
#
-# lib/krb5/kdb/Makefile
include ../Makefile.lib
-SUBDIRS= spec $(MACH)
+SUBDIRS= $(MACH)
all := TARGET= all
clean := TARGET= clean
@@ -21,7 +40,7 @@ _msg := TARGET= _msg
all clean clobber install lint _msg: $(SUBDIRS)
-$(MACH) spec: FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
diff --git a/usr/src/lib/krb5/kdb/Makefile.com b/usr/src/lib/krb5/kdb/Makefile.com
index 9aed34e2de..f3c1efd3be 100644
--- a/usr/src/lib/krb5/kdb/Makefile.com
+++ b/usr/src/lib/krb5/kdb/Makefile.com
@@ -1,11 +1,29 @@
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/krb5/kdb/Makefile.com
-#
LIBRARY= libkdb.a
VERS= .1
@@ -95,11 +113,6 @@ LINTFLAGS += -erroff=E_BAD_PTR_CAST_ALIGN
lint: lintcheck
-$(DYNLIB): $(MAPFILE)
-
-$(MAPFILE):
- @cd $(MAPDIR); $(MAKE) mapfile
-
# include library targets
include ../../Makefile.targ
diff --git a/usr/src/lib/krb5/kdb/i386/Makefile b/usr/src/lib/krb5/kdb/i386/Makefile
index 2479c2f4c0..20a3695289 100644
--- a/usr/src/lib/krb5/kdb/i386/Makefile
+++ b/usr/src/lib/krb5/kdb/i386/Makefile
@@ -1,12 +1,30 @@
#
-# Copyright 1997-2002 Sun Microsystems, Inc. All rights reserved.
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-MAPDIR= ../spec/i386
-
include ../Makefile.com
install: all $(ROOTLIBDIR) $(ROOTLIBS) $(ROOTLINKS)
diff --git a/usr/src/lib/krb5/kdb/mapfile-vers b/usr/src/lib/krb5/kdb/mapfile-vers
new file mode 100644
index 0000000000..7734b92971
--- /dev/null
+++ b/usr/src/lib/krb5/kdb/mapfile-vers
@@ -0,0 +1,95 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+# Due to mistakes made early in the history of this library, there are
+# no SUNW_1.1 symbols, but the version is now kept as a placeholder.
+# Don't add any symbols to this version.
+
+SUNW_1.1 {
+ global:
+ SUNW_1.1;
+};
+
+SUNWprivate_1.1 {
+ global:
+ destroy_file_suffix;
+ krb5_db_close_database;
+ krb5_db_create;
+ krb5_db_delete_principal;
+ krb5_db_destroy;
+ krb5_dbe_apw;
+ krb5_dbe_ark;
+ krb5_dbe_cpw;
+ krb5_dbe_create_key_data;
+ krb5_dbe_crk;
+ krb5_dbe_find_enctype;
+ krb5_dbe_free_contents;
+ krb5_dbekd_decrypt_key_data;
+ krb5_dbekd_encrypt_key_data;
+ krb5_dbe_lookup_last_pwd_change;
+ krb5_dbe_lookup_mod_princ_data;
+ krb5_dbe_lookup_tl_data;
+ krb5_dbe_search_enctype;
+ krb5_dbe_update_last_pwd_change;
+ krb5_dbe_update_mod_princ_data;
+ krb5_dbe_update_tl_data;
+ krb5_db_fetch_mkey;
+ krb5_db_fini;
+ krb5_db_free_principal;
+ krb5_db_get_age;
+ krb5_db_get_principal;
+ krb5_db_init;
+ krb5_db_iterate;
+ krb5_db_lock;
+ krb5_db_open_database;
+ krb5_db_put_principal;
+ krb5_db_rename;
+ krb5_db_set_lockmode;
+ krb5_db_set_mkey;
+ krb5_db_set_name;
+ krb5_db_setup_mkey_name;
+ krb5_db_store_mkey;
+ krb5_db_unlock;
+ krb5_db_verify_master_key;
+ krb5_decode_princ_contents;
+ krb5_encode_princ_contents;
+ krb5_free_princ_contents;
+ krb5_ktkdb_close;
+ krb5_ktkdb_get_entry;
+ krb5_kt_kdb_ops;
+ krb5_ktkdb_resolve;
+ krb5_mkey_pwd_prompt1;
+ krb5_mkey_pwd_prompt2;
+ krb5_ser_db_context_init;
+ ulog_free_entries;
+ ulog_get_entries;
+ ulog_map;
+ ulog_replay;
+ ulog_set_role;
+ local:
+ *;
+};
diff --git a/usr/src/lib/krb5/kdb/sparc/Makefile b/usr/src/lib/krb5/kdb/sparc/Makefile
index 132bacd57a..20a3695289 100644
--- a/usr/src/lib/krb5/kdb/sparc/Makefile
+++ b/usr/src/lib/krb5/kdb/sparc/Makefile
@@ -1,12 +1,30 @@
#
-# Copyright 1997-2002 Sun Microsystems, Inc. All rights reserved.
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-MAPDIR= ../spec/sparc
-
include ../Makefile.com
install: all $(ROOTLIBDIR) $(ROOTLIBS) $(ROOTLINKS)
diff --git a/usr/src/lib/krb5/kdb/spec/Makefile b/usr/src/lib/krb5/kdb/spec/Makefile
deleted file mode 100644
index 558bb5fc73..0000000000
--- a/usr/src/lib/krb5/kdb/spec/Makefile
+++ /dev/null
@@ -1,9 +0,0 @@
-#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/krb5/kdb/spec/Makefile
-
-include ../../Makefile.spec.arch
diff --git a/usr/src/lib/krb5/kdb/spec/Makefile.targ b/usr/src/lib/krb5/kdb/spec/Makefile.targ
deleted file mode 100644
index f63e6d8bae..0000000000
--- a/usr/src/lib/krb5/kdb/spec/Makefile.targ
+++ /dev/null
@@ -1,12 +0,0 @@
-#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/krb5/kdb/spec/Makefile.targ
-
-LIBRARY = libkdb.a
-VERS = .1
-
-OBJECTS = kdb.o
diff --git a/usr/src/lib/krb5/kdb/spec/i386/Makefile b/usr/src/lib/krb5/kdb/spec/i386/Makefile
deleted file mode 100644
index c1129abe79..0000000000
--- a/usr/src/lib/krb5/kdb/spec/i386/Makefile
+++ /dev/null
@@ -1,38 +0,0 @@
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/krb5/kdb/spec/i386/Makefile
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-# Uncomment the following if the linker complains
-#i386_C_PICFLAGS = -K PIC
-
-# These include paths must be searched before includes paths in CPPFLAGS
-CFLAGS += -I$(SRC)/lib/krb5/kadm5 -I$(SRC)/lib/krb5/kdb \
- -I$(SRC)/lib/krb5 -I$(SRC)/lib/gss_mechs/mech_krb5/include \
- -I$(SRC)/lib/gss_mechs/mech_krb5/include/krb5 \
- -I$(SRC)/uts/common/gssapi/include/ \
- -I$(SRC)/uts/common/gssapi/mechs/krb5/include
-
-ISRCHDR= iprop.h
-KRB5IPROPDIR= $(SRC)/cmd/krb5/iprop
-$(ISRCHDR): $(KRB5IPROPDIR)/iprop.x
- $(RM) $@
- $(RPCGEN) -h $(KRB5IPROPDIR)/iprop.x > $@
-CLEANFILES += $(ISRCHDR)
-
-install: $(KRB5ABILIB)
-
-# Explicitly state the dependancy on iprop.h
-$(SPECMAP): $(ISRCHDR)
-
diff --git a/usr/src/lib/krb5/kdb/spec/kdb.spec b/usr/src/lib/krb5/kdb/spec/kdb.spec
deleted file mode 100644
index 63c3d0cc96..0000000000
--- a/usr/src/lib/krb5/kdb/spec/kdb.spec
+++ /dev/null
@@ -1,284 +0,0 @@
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/krb5/kdb/spec/kdb.spec
-#
-# Interface definition for libkdb.so.1
-#
-
-function destroy_file_suffix
-include "kdb_hdr.h"
-declaration krb5_error_code destroy_file_suffix(char *dbname, char *suffix)
-version SUNWprivate_1.1
-end
-
-
-function krb5_db_close_database
-declaration krb5_error_code krb5_db_close_database(krb5_context context)
-version SUNWprivate_1.1
-end
-
-function krb5_db_create
-declaration krb5_error_code krb5_db_create(krb5_context context, char *db_name)
-version SUNWprivate_1.1
-end
-
-function krb5_db_destroy
-declaration krb5_error_code krb5_db_destroy(krb5_context context, char *db_name)
-version SUNWprivate_1.1
-end
-
-function krb5_db_delete_principal
-declaration krb5_error_code krb5_db_delete_principal(krb5_context context, krb5_principal searchfor, int * nentries)
-version SUNWprivate_1.1
-end
-
-function krb5_db_fetch_mkey
-declaration krb5_error_code krb5_db_fetch_mkey(krb5_context context, krb5_principal mname, krb5_encrypt_block * eblock, krb5_boolean fromkeyboard, krb5_boolean twice, char *keyfile, krb5_data * salt, krb5_keyblock * key)
-version SUNWprivate_1.1
-end
-
-function krb5_db_free_principal
-declaration void krb5_db_free_principal(krb5_context context, krb5_db_entry * krbtgt_entry, int one)
-version SUNWprivate_1.1
-end
-
-function krb5_db_get_age
-declaration krb5_error_code krb5_db_get_age(krb5_context context, char *db_name, time_t *age)
-version SUNWprivate_1.1
-end
-
-function krb5_db_get_principal
-declaration krb5_error_code krb5_db_get_principal(krb5_context context, krb5_principal searchfor, krb5_db_entry *entries, int *nentries, krb5_boolean *more)
-version SUNWprivate_1.1
-end
-
-function krb5_db_init
-declaration krb5_error_code krb5_db_init(krb5_context context)
-version SUNWprivate_1.1
-end
-
-function krb5_db_iterate
-declaration krb5_error_code krb5_db_iterate( krb5_context context, krb5_error_code *func, krb5_pointer func_arg)
-version SUNWprivate_1.1
-end
-
-function krb5_db_lock
-declarationi krb5_error_code krb5_db_lock(krb5_context context, krb5_int32 lockmode)
-version SUNWprivate_1.1
-end
-
-function krb5_db_open_database
-declaration krb5_error_code krb5_db_open_database(krb5_context context)
-version SUNWprivate_1.1
-end
-
-function krb5_db_put_principal
-declaration krb5_error_code krb5_db_put_principal(krb5_context context, krb5_db_entry *entries, register int *nentries)
-version SUNWprivate_1.1
-end
-
-function krb5_db_rename
-declaration krb5_error_code krb5_db_rename(krb5_context context, char *from, char *to)
-version SUNWprivate_1.1
-end
-
-function krb5_db_set_lockmode
-declaration krb5_boolean krb5_db_set_lockmode(krb5_context context, krb5_boolean mode)
-version SUNWprivate_1.1
-end
-
-function krb5_db_set_name
-declaration krb5_error_code krb5_db_set_name(krb5_context context, char *name)
-version SUNWprivate_1.1
-end
-
-function krb5_db_setup_mkey_name
-declaration krb5_error_code krb5_db_setup_mkey_name(krb5_context context, const char *keyname, const char *realm, char **fullname, krb5_principal *principal)
-version SUNWprivate_1.1
-end
-
-function krb5_db_store_mkey
-declaration krb5_error_code krb5_db_store_mkey(krb5_context context, char *keyfile, krb5_principal mname, krb5_keyblock *key)
-version SUNWprivate_1.1
-end
-
-function krb5_db_set_mkey
-declaration krb5_error_code krb5_db_set_mkey(krb5_context context, krb5_keyblock *key)
-version SUNWprivate_1.1
-end
-
-function krb5_db_unlock
-declaration krb5_error_code krb5_db_unlock(krb5_context context)
-version SUNWprivate_1.1
-end
-
-function krb5_db_verify_master_key
-declaration krb5_error_code krb5_db_verify_master_key(krb5_context context, krb5_principal mprinc, krb5_keyblock *mkey, krb5_encrypt_block *eblock)
-version SUNWprivate_1.1
-end
-
-function krb5_db_fini
-declaration krb5_error_code krb5_db_fini(krb5_context context)
-version SUNWprivate_1.1
-end
-
-function krb5_dbe_apw
-declaration krb5_error_code krb5_dbe_apw(krb5_context context, krb5_encrypt_block * master_eblock, krb5_key_salt_tuple * ks_tuple, int ks_tuple_count, char * passwd, krb5_db_entry * db_entry)
-version SUNWprivate_1.1
-end
-
-function krb5_dbe_ark
-declaration krb5_error_code krb5_dbe_ark(krb5_context context, krb5_encrypt_block * master_eblock, krb5_key_salt_tuple * ks_tuple, int ks_tuple_count, krb5_db_entry * db_entry)
-version SUNWprivate_1.1
-end
-
-function krb5_dbe_cpw
-declaration krb5_error_code krb5_dbe_cpw(krb5_context context, krb5_encrypt_block * master_eblock, krb5_key_salt_tuple * ks_tuple, int ks_tuple_count, char * passwd, int new_kvno, krb5_db_entry * db_entry)
-version SUNWprivate_1.1
-end
-
-function krb5_dbe_create_key_data
-declaration krb5_error_code krb5_dbe_create_key_data(krb5_context context, krb5_db_entry * entry)
-version SUNWprivate_1.1
-end
-
-function krb5_dbe_crk
-declaration krb5_error_code krb5_dbe_crk(krb5_context context, krb5_encrypt_block * master_eblock, krb5_key_salt_tuple * ks_tuple, int ks_tuple_count, krb5_db_entry * db_entry)
-version SUNWprivate_1.1
-end
-
-function krb5_dbe_find_enctype
-declaration krb5_error_code krb5_dbe_find_enctype(krb5_context kcontext, krb5_db_entry *dbentp, krb5_int32 ktype, krb5_int32 stype, krb5_int32 kvno, krb5_key_data **kdatap)
-version SUNWprivate_1.1
-end
-
-function krb5_dbe_free_contents
-declaration void krb5_dbe_free_contents(krb5_context context, krb5_db_entry * entry)
-version SUNWprivate_1.1
-end
-
-function krb5_dbe_lookup_last_pwd_change
-declaration krb5_error_code krb5_dbe_lookup_last_pwd_change(krb5_context context, krb5_db_entry * entry, krb5_timestamp * stamp)
-version SUNWprivate_1.1
-end
-
-function krb5_dbe_lookup_mod_princ_data
-declaration krb5_error_code krb5_dbe_lookup_mod_princ_data(krb5_context context, krb5_db_entry * entry, krb5_timestamp * mod_time, krb5_principal * mod_princ)
-version SUNWprivate_1.1
-end
-
-function krb5_dbe_lookup_tl_data
-declaration krb5_error_code krb5_dbe_lookup_tl_data(krb5_context context, krb5_db_entry * entry, krb5_tl_data * ret_tl_data)
-version SUNWprivate_1.1
-end
-
-function krb5_dbe_search_enctype
-declaration krb5_error_code krb5_dbe_search_enctype(krb5_context kcontext, krb5_db_entry *dbentp, krb5_int32 *start, krb5_int32 ktype, krb5_int32 stype, krb5_int32 kvno, krb5_key_data **kdatap)
-version SUNWprivate_1.1
-end
-
-function krb5_dbe_update_last_pwd_change
-declaration krb5_error_code krb5_dbe_update_last_pwd_change(krb5_context context, krb5_db_entry * entry, krb5_timestamp stamp)
-version SUNWprivate_1.1
-end
-
-function krb5_dbe_update_mod_princ_data
-declaration krb5_error_code krb5_dbe_update_mod_princ_data(krb5_context context, krb5_db_entry * entry, krb5_timestamp mod_date, krb5_principal mod_princ)
-version SUNWprivate_1.1
-end
-
-function krb5_dbe_update_tl_data
-declaration krb5_error_code krb5_dbe_update_tl_data(krb5_context context, krb5_db_entry * entry, krb5_tl_data * new_tl_data)
-version SUNWprivate_1.1
-end
-
-function krb5_dbekd_decrypt_key_data
-declaration krb5_error_code krb5_dbekd_decrypt_key_data(krb5_context context, krb5_encrypt_block * eblock, const krb5_key_data * key_data, krb5_keyblock * keyblock, krb5_keysalt * keysalt)
-version SUNWprivate_1.1
-end
-
-function krb5_dbekd_encrypt_key_data
-declaration krb5_error_code krb5_dbekd_encrypt_key_data(krb5_context context, krb5_encrypt_block * eblock, const krb5_keyblock * keyblock, const krb5_keysalt * keysalt, int keyver, krb5_key_data * key_data)
-version SUNWprivate_1.1
-end
-
-function krb5_decode_princ_contents
-declaration krb5_error_code krb5_decode_princ_contents(krb5_context context, datum * content, krb5_db_entry * entry)
-version SUNWprivate_1.1
-end
-
-function krb5_encode_princ_contents
-declaration krb5_error_code krb5_encode_princ_contents(krb5_context context, datum * content, krb5_db_entry * entry)
-version SUNWprivate_1.1
-end
-
-function krb5_free_princ_contents
-declaration void krb5_free_princ_contents(krb5_context context, datum *contents)
-version SUNWprivate_1.1
-end
-
-data krb5_kt_kdb_ops
-declaration krb5_kt_ops krb5_kt_kdb_ops
-version SUNWprivate_1.1
-end
-
-function krb5_ktkdb_close
-declaration krb5_error_code krb5_ktkdb_close(krb5_context context, krb5_keytab kt)
-version SUNWprivate_1.1
-end
-
-function krb5_ktkdb_get_entry
-declaration krb5_error_code krb5_ktkdb_get_entry(krb5_context context, krb5_keytab id, krb5_principal principal, krb5_kvno kvno, krb5_enctype enctype, krb5_keytab_entry * entry)
-version SUNWprivate_1.1
-end
-
-function krb5_ktkdb_resolve
-declaration krb5_error_code krb5_ktkdb_resolve(krb5_context context, krb5_db_context * kdb, krb5_keytab * id)
-version SUNWprivate_1.1
-end
-
-data krb5_mkey_pwd_prompt1
-declaration char *krb5_mkey_pwd_prompt1
-version SUNWprivate_1.1
-end
-
-data krb5_mkey_pwd_prompt2
-declaration char *krb5_mkey_pwd_prompt2
-version SUNWprivate_1.1
-end
-
-function krb5_ser_db_context_init
-declaration krb5_error_code krb5_ser_db_context_init(krb5_context kcontext)
-version SUNWprivate_1.1
-end
-
-function ulog_free_entries
-declaration void ulog_free_entries(kdb_incr_update_t *updates, int no_of_updates)
-version SUNWprivate_1.1
-end
-
-function ulog_get_entries
-declaration krb5_error_code ulog_get_entries(krb5_context context, kdb_last_t last, kdb_incr_result_t *ulog_handle);
-version SUNWprivate_1.1
-end
-
-function ulog_map
-declaration krb5_error_code ulog_map(krb5_context context, kadm5_config_params *params, int caller)
-version SUNWprivate_1.1
-end
-
-function ulog_replay
-include "iprop.h"
-declaration krb5_error_code ulog_replay(krb5_context context, kdb_incr_result_t *incr_ret)
-version SUNWprivate_1.1
-end
-
-function ulog_set_role
-include "iprop.h"
-declaration krb5_error_code ulog_set_role(krb5_context context, krb5_context *ctx)
-version SUNWprivate_1.1
-end
diff --git a/usr/src/lib/krb5/kdb/spec/sparc/Makefile b/usr/src/lib/krb5/kdb/spec/sparc/Makefile
deleted file mode 100644
index 34ec9d237e..0000000000
--- a/usr/src/lib/krb5/kdb/spec/sparc/Makefile
+++ /dev/null
@@ -1,40 +0,0 @@
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/krb5/kdb/spec/sparc/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-# Uncomment the following if the linker complains
-#sparc_C_PICFLAGS = -K PIC
-
-# These include paths must be searched before includes paths in CPPFLAGS
-CFLAGS += -I$(SRC)/lib/krb5/kadm5 -I$(SRC)/lib/krb5/kdb \
- -I$(SRC)/lib/krb5 -I$(SRC)/lib/gss_mechs/mech_krb5/include \
- -I$(SRC)/lib/gss_mechs/mech_krb5/include/krb5 \
- -I$(SRC)/uts/common/gssapi/include/ \
- -I$(SRC)/uts/common/gssapi/mechs/krb5/include
-
-ISRCHDR= iprop.h
-KRB5IPROPDIR= $(SRC)/cmd/krb5/iprop
-$(ISRCHDR): $(KRB5IPROPDIR)/iprop.x
- $(RM) $@
- $(RPCGEN) -h $(KRB5IPROPDIR)/iprop.x > $@
-CLEANFILES += $(ISRCHDR)
-
-install: $(KRB5ABILIB)
-
-# Explicitly state the dependancy on iprop.h
-$(SPECMAP): $(ISRCHDR)
-
diff --git a/usr/src/lib/krb5/kdb/spec/versions b/usr/src/lib/krb5/kdb/spec/versions
deleted file mode 100644
index 7690404cd5..0000000000
--- a/usr/src/lib/krb5/kdb/spec/versions
+++ /dev/null
@@ -1,23 +0,0 @@
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-sparc {
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-sparcv9 {
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-i386 {
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-amd64 {
- SUNW_1.1;
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/krb5/ss/Makefile b/usr/src/lib/krb5/ss/Makefile
index 1f89b37fd5..ce3bb2203d 100644
--- a/usr/src/lib/krb5/ss/Makefile
+++ b/usr/src/lib/krb5/ss/Makefile
@@ -1,14 +1,33 @@
#
-# Copyright (c) 1997-2001 by Sun Microsystems, Inc.
-# All rights reserved.
+# CDDL HEADER START
#
-#pragma ident "%Z%%M% %I% %E% SMI"
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
#
-# lib/krb5/ss/Makefile
include ../Makefile.lib
-SUBDIRS= spec $(MACH)
+SUBDIRS= $(MACH)
all := TARGET= all
clean := TARGET= clean
@@ -25,7 +44,7 @@ POFILES = generic.po
all clean clobber install lint: $(SUBDIRS)
-$(MACH) spec: FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
diff --git a/usr/src/lib/krb5/ss/Makefile.com b/usr/src/lib/krb5/ss/Makefile.com
index 95500fd3a2..5048cae0e1 100644
--- a/usr/src/lib/krb5/ss/Makefile.com
+++ b/usr/src/lib/krb5/ss/Makefile.com
@@ -1,11 +1,29 @@
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/krb5/ss/Makefile.com
-#
LIBRARY= libss.a
VERS= .1
@@ -63,10 +81,5 @@ all: $(LIBS)
lint: lintcheck
-$(DYNLIB): $(MAPFILE)
-
-$(MAPFILE):
- @cd $(MAPDIR); $(MAKE) mapfile
-
# include library targets
include ../../Makefile.targ
diff --git a/usr/src/lib/krb5/ss/i386/Makefile b/usr/src/lib/krb5/ss/i386/Makefile
index 294b6be277..20a3695289 100644
--- a/usr/src/lib/krb5/ss/i386/Makefile
+++ b/usr/src/lib/krb5/ss/i386/Makefile
@@ -1,12 +1,29 @@
#
-# Copyright (c) 1997-2001 by Sun Microsystems, Inc.
-# All rights reserved.
+# CDDL HEADER START
#
-#pragma ident "%Z%%M% %I% %E% SMI"
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
#
-# lib/krb5/ss/i386/Makefile
-
-MAPDIR= ../spec/i386
include ../Makefile.com
diff --git a/usr/src/lib/krb5/ss/mapfile-vers b/usr/src/lib/krb5/ss/mapfile-vers
new file mode 100644
index 0000000000..932cc36186
--- /dev/null
+++ b/usr/src/lib/krb5/ss/mapfile-vers
@@ -0,0 +1,59 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNWprivate_1.1 {
+ global:
+ debugDisplaySS;
+ ss_abort_subsystem;
+ ss_add_info_dir;
+ ss_add_request_table;
+ ss_create_invocation;
+ ss_delete_info_dir;
+ ss_delete_invocation;
+ ss_delete_request_table;
+ ss_error;
+ ss_execute_command;
+ ss_execute_line;
+ ss_get_prompt;
+ ss_help;
+ ss_listen;
+ ss_list_requests;
+ ss_name;
+ ss_pager_create;
+ ss_page_stdin;
+ ss_parse;
+ ss_perror;
+ ss_quit;
+ ss_self_identify;
+ ss_set_prompt;
+ ss_std_requests;
+ ss_subsystem_name;
+ ss_subsystem_version;
+ ss_unimplemented;
+ local:
+ *;
+};
diff --git a/usr/src/lib/krb5/ss/sparc/Makefile b/usr/src/lib/krb5/ss/sparc/Makefile
index f459f341c7..20a3695289 100644
--- a/usr/src/lib/krb5/ss/sparc/Makefile
+++ b/usr/src/lib/krb5/ss/sparc/Makefile
@@ -1,12 +1,29 @@
#
-# Copyright (c) 1997-2001 by Sun Microsystems, Inc.
-# All rights reserved.
+# CDDL HEADER START
#
-#pragma ident "%Z%%M% %I% %E% SMI"
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
#
-# lib/krb5/ss/sparc/Makefile
-
-MAPDIR= ../spec/sparc
include ../Makefile.com
diff --git a/usr/src/lib/krb5/ss/spec/Makefile b/usr/src/lib/krb5/ss/spec/Makefile
deleted file mode 100644
index ff34a3c9e9..0000000000
--- a/usr/src/lib/krb5/ss/spec/Makefile
+++ /dev/null
@@ -1,9 +0,0 @@
-#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/krb5/ss/spec/Makefile
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/krb5/ss/spec/Makefile.targ b/usr/src/lib/krb5/ss/spec/Makefile.targ
deleted file mode 100644
index 5c86dff4f5..0000000000
--- a/usr/src/lib/krb5/ss/spec/Makefile.targ
+++ /dev/null
@@ -1,12 +0,0 @@
-#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/krb5/ss/spec/Makefile.targ
-
-LIBRARY = libss.a
-VERS = .1
-
-OBJECTS = ss.o
diff --git a/usr/src/lib/krb5/ss/spec/amd64/Makefile b/usr/src/lib/krb5/ss/spec/amd64/Makefile
deleted file mode 100644
index ff8d4177fa..0000000000
--- a/usr/src/lib/krb5/ss/spec/amd64/Makefile
+++ /dev/null
@@ -1,26 +0,0 @@
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-include $(SRC)/lib/Makefile.spec
-
-# Uncomment the following if the linker complains
-#amd64_C_PICFLAGS = -K PIC
-
-# These include paths must be searched before includes paths in CPPFLAGS
-CFLAGS64 += -I$(SRC)/lib/krb5 -I$(SRC)/lib/krb5/ss
-
-#install: $(ROOTABILIB64)
-# We're not shipping libss.so 64 bit yet.
-install:
-
diff --git a/usr/src/lib/krb5/ss/spec/i386/Makefile b/usr/src/lib/krb5/ss/spec/i386/Makefile
deleted file mode 100644
index 0ef948bedb..0000000000
--- a/usr/src/lib/krb5/ss/spec/i386/Makefile
+++ /dev/null
@@ -1,23 +0,0 @@
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/krb5/ss/spec/i386/Makefile
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-# Uncomment the following if the linker complains
-#i386_C_PICFLAGS = -K PIC
-
-# These include paths must be searched before includes paths in CPPFLAGS
-CFLAGS += -I$(SRC)/lib/krb5 -I$(SRC)/lib/krb5/ss
-
-install: $(KRB5ABILIB)
diff --git a/usr/src/lib/krb5/ss/spec/sparc/Makefile b/usr/src/lib/krb5/ss/spec/sparc/Makefile
deleted file mode 100644
index d6b5d30a3d..0000000000
--- a/usr/src/lib/krb5/ss/spec/sparc/Makefile
+++ /dev/null
@@ -1,25 +0,0 @@
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/krb5/ss/spec/sparc/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-# Uncomment the following if the linker complains
-#sparc_C_PICFLAGS = -K PIC
-
-# These include paths must be searched before includes paths in CPPFLAGS
-CFLAGS += -I$(SRC)/lib/krb5 -I$(SRC)/lib/krb5/ss
-
-install: $(KRB5ABILIB)
diff --git a/usr/src/lib/krb5/ss/spec/sparcv9/Makefile b/usr/src/lib/krb5/ss/spec/sparcv9/Makefile
deleted file mode 100644
index 9ce7bb1587..0000000000
--- a/usr/src/lib/krb5/ss/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,27 +0,0 @@
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/krb5/ss/spec/sparcv9/Makefile
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-include $(SRC)/lib/Makefile.spec
-
-# Uncomment the following if the linker complains
-#sparcv9_C_PICFLAGS = -K PIC
-
-# These include paths must be searched before includes paths in CPPFLAGS
-CFLAGS64 += -I$(SRC)/lib/krb5 -I$(SRC)/lib/krb5/ss
-
-#install: $(ROOTABILIB64)
-# We're not shipping libss.so 64 bit yet.
-install:
-
diff --git a/usr/src/lib/krb5/ss/spec/ss.spec b/usr/src/lib/krb5/ss/spec/ss.spec
deleted file mode 100644
index dad94b7976..0000000000
--- a/usr/src/lib/krb5/ss/spec/ss.spec
+++ /dev/null
@@ -1,155 +0,0 @@
-#
-# Copyright (c) 1998-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/krb5/ss/spec/ss.spec
-
-function debugDisplaySS
-declaration void debugDisplaySS(int onOff)
-version SUNWprivate_1.1
-end
-
-function ss_abort_subsystem
-declaration void ss_abort_subsystem(int sci_idx, int code)
-version SUNWprivate_1.1
-end
-
-function ss_add_info_dir
-declaration void ss_add_info_dir(int sci_idx, char *info_dir, int *code_ptr)
-version SUNWprivate_1.1
-end
-
-function ss_add_request_table
-include <ss.h>
-declaration void ss_add_request_table(int sci_idx, \
- ss_request_table *rqtbl_ptr, \
- int position, int *code_ptr)
-version SUNWprivate_1.1
-end
-
-function ss_create_invocation
-declaration int ss_create_invocation(char *subsystem_name, \
- char *version_string, char *info_ptr, \
- ss_request_table *request_table_ptr, int *code_ptr)
-
-version SUNWprivate_1.1
-end
-
-function ss_delete_info_dir
-declaration void ss_delete_info_dir(int sci_idx, char *info_dir, \
- int *code_ptr)
-version SUNWprivate_1.1
-end
-
-function ss_delete_invocation
-declaration void ss_delete_invocation(int sci_idx)
-version SUNWprivate_1.1
-end
-
-function ss_delete_request_table
-declaration void ss_delete_request_table(int sci_idx, \
- ss_request_table *rqtbl_ptr, int *code_ptr)
-version SUNWprivate_1.1
-end
-
-function ss_error
-declaration void ss_error (int sci_idx, long code, const char * fmt, ...)
-version SUNWprivate_1.1
-end
-
-function ss_execute_command
-declaration int ss_execute_command(int sci_idx, register char *argv[])
-version SUNWprivate_1.1
-end
-
-function ss_execute_line
-declaration int ss_execute_line (int sci_idx, char *line_ptr)
-version SUNWprivate_1.1
-end
-
-function ss_get_prompt
-declaration char *ss_get_prompt(int sci_idx)
-version SUNWprivate_1.1
-end
-
-function ss_help
-include <ss_internal.h>
-declaration void ss_help (int argc, char const * const *argv, \
- int sci_idx, pointer info_ptr)
-version SUNWprivate_1.1
-end
-
-function ss_list_requests
-include <ss_internal.h>
-declaration void ss_list_requests(int argc, char **argv, int sci_idx, \
- pointer info_ptr)
-version SUNWprivate_1.1
-end
-
-function ss_listen
-declaration int ss_listen (int sci_idx)
-version SUNWprivate_1.1
-end
-
-function ss_name
-declaration char *ss_name(int sci_idx)
-version SUNWprivate_1.1
-end
-
-function ss_page_stdin
-declaration void ss_page_stdin()
-version SUNWprivate_1.1
-end
-
-function ss_pager_create
-declaration int ss_pager_create()
-version SUNWprivate_1.1
-end
-
-function ss_parse
-declaration char **ss_parse (int sci_idx, register char *line_ptr, \
- int *argc_ptr)
-version SUNWprivate_1.1
-end
-
-function ss_perror
-declaration void ss_perror (int sci_idx, long code, char const *msg)
-version SUNWprivate_1.1
-end
-
-function ss_quit
-include <ss_internal.h>
-declaration int ss_quit(int argc, char **argv, int sci_idx, pointer infop)
-version SUNWprivate_1.1
-end
-
-function ss_self_identify
-declaration void ss_self_identify(int argc, char **argv, int sci_idx)
-version SUNWprivate_1.1
-end
-
-function ss_set_prompt
-declaration void ss_set_prompt(int sci_idx, char *new_prompt)
-version SUNWprivate_1.1
-end
-
-function ss_std_requests
-version SUNWprivate_1.1
-end
-
-function ss_subsystem_name
-declaration void ss_subsystem_name (int argc, char **argv, int sci_idx)
-version SUNWprivate_1.1
-end
-
-function ss_subsystem_version
-declaration void ss_subsystem_version (int argc, char **argv, int sci_idx)
-version SUNWprivate_1.1
-end
-
-function ss_unimplemented
-declaration void ss_unimplemented (int argc, char **argv, int sci_idx)
-version SUNWprivate_1.1
-end
diff --git a/usr/src/lib/krb5/ss/spec/versions b/usr/src/lib/krb5/ss/spec/versions
deleted file mode 100644
index 6a318d48a3..0000000000
--- a/usr/src/lib/krb5/ss/spec/versions
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-sparc {
- SUNWprivate_1.1;
-}
-sparcv9 {
- SUNWprivate_1.1;
-}
-i386 {
- SUNWprivate_1.1;
-}
-amd64 {
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/libadm/Makefile b/usr/src/lib/libadm/Makefile
index e0c1013481..cd9fc7955b 100644
--- a/usr/src/lib/libadm/Makefile
+++ b/usr/src/lib/libadm/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,12 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright 1990,1998-1999,2003 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#pragma ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libadm/Makefile
include ../Makefile.lib
@@ -40,11 +38,9 @@ lint := TARGET= lint
.KEEP_STATE:
-all clean clobber install: spec .WAIT $(SUBDIRS)
+all clean clobber install lint: $(SUBDIRS)
-lint: $(SUBDIRS)
-
-$(SUBDIRS) spec: FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
diff --git a/usr/src/lib/libadm/Makefile.com b/usr/src/lib/libadm/Makefile.com
index 3795d0898f..9e8f1299cf 100644
--- a/usr/src/lib/libadm/Makefile.com
+++ b/usr/src/lib/libadm/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,7 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
@@ -44,8 +43,9 @@ include ../../Makefile.rootfs
LIBS= $(DYNLIB) $(LINTLIB)
SRCDIR= ../common
-MAPDIR= ../spec/$(TRANSMACH)
-SPECMAPFILE= $(MAPDIR)/mapfile
+
+MAPFILES += mapfile-vers
+
CPPFLAGS += -I ../inc
$(LINTLIB) := SRCS=$(SRCDIR)/$(LINTSRC)
diff --git a/usr/src/lib/fm/libfmd_snmp/spec/versions b/usr/src/lib/libadm/amd64/mapfile-vers
index 02542a46ff..1eb0fcea63 100644
--- a/usr/src/lib/fm/libfmd_snmp/spec/versions
+++ b/usr/src/lib/libadm/amd64/mapfile-vers
@@ -18,7 +18,6 @@
#
# CDDL HEADER END
#
-
#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
@@ -26,18 +25,5 @@
# ident "%Z%%M% %I% %E% SMI"
#
-i386 {
- SUNWprivate;
-}
-
-amd64 {
- SUNWprivate;
-}
-
-sparc {
- SUNWprivate;
-}
-
-sparcv9 {
- SUNWprivate;
-}
+# This mapfile is empty, on purpose.
+# Look at the mapfiles under i386, sparc and sparcv9 for content.
diff --git a/usr/src/lib/libadm/common/mapfile-vers b/usr/src/lib/libadm/common/mapfile-vers
new file mode 100644
index 0000000000..3ae4aa1166
--- /dev/null
+++ b/usr/src/lib/libadm/common/mapfile-vers
@@ -0,0 +1,147 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+# Due to mistakes made early in the history of this library, there are
+# no SUNW_1.1 symbols, but the version is now kept as a placeholder.
+# Don't add any symbols to this version.
+
+SUNW_1.1 {
+ global:
+ SUNW_1.1;
+} SUNW_0.7;
+
+SUNW_0.7 {
+ global:
+ pkgdir;
+ read_vtoc;
+ write_vtoc;
+};
+
+SUNWprivate_1.1 {
+ global:
+ _adddevtabrec;
+ _adddgrptabrec;
+ allocmenu;
+ ckdate;
+ ckdate_err;
+ ckdate_hlp;
+ ckdate_val;
+ ckgid;
+ ckgid_dsp;
+ ckgid_err;
+ ckgid_hlp;
+ ckgid_val;
+ ckindent;
+ ckint;
+ ckint_err;
+ ckint_hlp;
+ ckint_val;
+ ckitem;
+ ckitem_err;
+ ckitem_hlp;
+ ckkeywd;
+ ckpath;
+ ckpath_err;
+ ckpath_hlp;
+ ckpath_stx;
+ ckpath_val;
+ ckquit;
+ ckrange;
+ ckrange_err;
+ ckrange_hlp;
+ ckrange_val;
+ ckstr;
+ ckstr_err;
+ ckstr_hlp;
+ ckstr_val;
+ cktime;
+ cktime_err;
+ cktime_hlp;
+ cktime_val;
+ ckuid;
+ ckuid_dsp;
+ ckuid_err;
+ ckuid_hlp;
+ ckuid_val;
+ ckwidth;
+ ckyorn;
+ ckyorn_err;
+ ckyorn_hlp;
+ ckyorn_val;
+ devattr;
+ devfree;
+ devreserv;
+ _devtabpath;
+ _dgrptabpath;
+ _enddevtab;
+ fpkginfo;
+ fpkginst;
+ fpkgparam;
+ get_ABI_namelngth;
+ getdev;
+ getdgrp;
+ getfullblkname;
+ getfullrawname;
+ getinput;
+ get_install_root;
+ get_PKGADM;
+ get_PKGLOC;
+ get_PKGOLD;
+ getvol;
+ _getvol;
+ listdev;
+ listdgrp;
+ _moddevtabrec;
+ _opendevtab;
+ _opendgrptab;
+ pkgfile;
+ pkginfo;
+ pkginfofind;
+ pkgnmchk;
+ pkgparam;
+ printmenu;
+ puterror;
+ puthelp;
+ putprmpt;
+ puttext;
+ reservdev;
+ _rmdevtabattrs;
+ _rmdevtabrec;
+ _rmdgrpmems;
+ _rmdgrptabrec;
+ _rsvtabpath;
+ set_ABI_namelngth;
+ set_install_root;
+ setinvis;
+ setitem;
+ set_PKGADM;
+ set_PKGLOC;
+ set_PKGpaths;
+ _validalias;
+ local:
+ *;
+};
diff --git a/usr/src/lib/libadm/i386/mapfile-vers b/usr/src/lib/libadm/i386/mapfile-vers
new file mode 100644
index 0000000000..1361e90bff
--- /dev/null
+++ b/usr/src/lib/libadm/i386/mapfile-vers
@@ -0,0 +1,48 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+# It was a mistake ever to have exported these symbols from libadm.
+# They are now being redirected to libgen where they really belong,
+# except for 'circf' and 'sed', which do not exist in libgen and
+# are being retained as dummy variables in libadm.
+
+SUNW_0.7 {
+ global:
+ circf;
+ loc1 = DATA FILTER libgen.so.1 S0x4;
+ loc2 = DATA FILTER libgen.so.1 S0x4;
+ locs = DATA FILTER libgen.so.1 S0x4;
+ nbra = DATA FILTER libgen.so.1 S0x4;
+ sed;
+};
+
+SUNWprivate_1.1 {
+ global:
+ advance = FUNCTION FILTER libgen.so.1;
+ compile = FUNCTION FILTER libgen.so.1;
+ step = FUNCTION FILTER libgen.so.1;
+};
diff --git a/usr/src/lib/libadm/sparc/mapfile-vers b/usr/src/lib/libadm/sparc/mapfile-vers
new file mode 100644
index 0000000000..1361e90bff
--- /dev/null
+++ b/usr/src/lib/libadm/sparc/mapfile-vers
@@ -0,0 +1,48 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+# It was a mistake ever to have exported these symbols from libadm.
+# They are now being redirected to libgen where they really belong,
+# except for 'circf' and 'sed', which do not exist in libgen and
+# are being retained as dummy variables in libadm.
+
+SUNW_0.7 {
+ global:
+ circf;
+ loc1 = DATA FILTER libgen.so.1 S0x4;
+ loc2 = DATA FILTER libgen.so.1 S0x4;
+ locs = DATA FILTER libgen.so.1 S0x4;
+ nbra = DATA FILTER libgen.so.1 S0x4;
+ sed;
+};
+
+SUNWprivate_1.1 {
+ global:
+ advance = FUNCTION FILTER libgen.so.1;
+ compile = FUNCTION FILTER libgen.so.1;
+ step = FUNCTION FILTER libgen.so.1;
+};
diff --git a/usr/src/lib/libadm/sparcv9/mapfile-vers b/usr/src/lib/libadm/sparcv9/mapfile-vers
new file mode 100644
index 0000000000..69496b28d9
--- /dev/null
+++ b/usr/src/lib/libadm/sparcv9/mapfile-vers
@@ -0,0 +1,48 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+# It was a mistake ever to have exported these symbols from libadm.
+# They are now being redirected to libgen where they really belong,
+# except for 'circf' and 'sed', which do not exist in libgen and
+# are being retained as dummy variables in libadm.
+
+SUNW_0.7 {
+ global:
+ circf;
+ loc1 = DATA FILTER libgen.so.1 S0x8;
+ loc2 = DATA FILTER libgen.so.1 S0x8;
+ locs = DATA FILTER libgen.so.1 S0x8;
+ nbra = DATA FILTER libgen.so.1 S0x4;
+ sed;
+};
+
+SUNWprivate_1.1 {
+ global:
+ advance = FUNCTION FILTER libgen.so.1;
+ compile = FUNCTION FILTER libgen.so.1;
+ step = FUNCTION FILTER libgen.so.1;
+};
diff --git a/usr/src/lib/libadm/spec/Makefile b/usr/src/lib/libadm/spec/Makefile
deleted file mode 100644
index 4367acf239..0000000000
--- a/usr/src/lib/libadm/spec/Makefile
+++ /dev/null
@@ -1,29 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1998-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libadm/spec/Makefile
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/libadm/spec/Makefile.targ b/usr/src/lib/libadm/spec/Makefile.targ
deleted file mode 100644
index 021fec95d0..0000000000
--- a/usr/src/lib/libadm/spec/Makefile.targ
+++ /dev/null
@@ -1,34 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1998-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libadm/spec/Makefile.targ
-
-LIBRARY = libadm.a
-VERS = .1
-
-OBJECTS = adm.o
-
-SPECCPP =
diff --git a/usr/src/lib/libadm/spec/adm.spec b/usr/src/lib/libadm/spec/adm.spec
deleted file mode 100644
index 0400628969..0000000000
--- a/usr/src/lib/libadm/spec/adm.spec
+++ /dev/null
@@ -1,746 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libadm/spec/adm.spec
-
-# OA&M Device Managment
-function devattr
-declaration char *devattr( char *device, char *attribute)
-version SUNWprivate_1.1
-end
-
-# OA&M Device Managment
-function devfree
-declaration int devfree(int key, char *device)
-version SUNWprivate_1.1
-end
-
-# OA&M Device Managment
-function devreserv
-declaration char **devreserv(int key, char **rsvlist[])
-version SUNWprivate_1.1
-end
-
-# OA&M Device Managment
-function getdev
-declaration char **getdev(char **devices, char **criteria, int options)
-version SUNWprivate_1.1
-end
-
-# OA&M Device Managment
-function getdgrp
-declaration char **getdgrp(char **dgroups, char **criteria, int options)
-version SUNWprivate_1.1
-end
-
-# OA&M Device Managment
-function getvol
-declaration int getvol(char *device, char *label, int options, char *prompt)
-version SUNWprivate_1.1
-end
-
-# OA&M Device Managment
-function listdev
-declaration char **listdev(char *device)
-version SUNWprivate_1.1
-end
-
-# OA&M Device Managment
-function listdgrp
-declaration char **listdgrp(char *dgroup)
-version SUNWprivate_1.1
-end
-
-# OA&M Device Managment
-function reservdev
-include <sys/types.h>, <devmgmt.h>
-declaration struct reservdev **reservdev(void)
-version SUNWprivate_1.1
-end
-
-# VTOC reading/writing
-function read_vtoc
-include <sys/types.h>, <sys/vtoc.h>
-declaration int read_vtoc(int fd, struct vtoc *vtoc)
-version SUNW_0.7
-exception $return < 0
-end
-
-# VTOC reading/writing
-function write_vtoc
-include <sys/types.h>, <sys/vtoc.h>
-declaration int write_vtoc(int fd, struct vtoc *vtoc)
-version SUNW_0.7
-exception $return < 0
-end
-
-# Regular Expressions =============================================
-#
-# It was a mistake ever to have exported these symbols from libadm:
-# advance
-# circf
-# compile
-# loc1
-# loc2
-# locs
-# nbra
-# sed
-# step
-# They are now being redirected to libgen where they really belong,
-# except for 'circf' and 'sed', which do not exist in libgen and
-# are being retained as dummy variables in libadm.
-#
-# This corrects a mistake of the past. Never compound the mistake
-# by adding another 'arch' value to these symbols.
-
-function advance extends libgen/spec/gen.spec
-arch i386 sparc sparcv9
-version SUNWprivate_1.1
-filter libgen.so.1
-end
-
-data circf
-arch i386 sparc sparcv9
-version SUNW_0.7
-end
-
-function compile extends libgen/spec/gen.spec compile
-arch i386 sparc sparcv9
-version SUNWprivate_1.1
-filter libgen.so.1
-end
-
-data loc1
-arch i386 sparc
-version SUNW_0.7
-filter libgen.so.1 S0x4
-end
-
-data loc1
-arch sparcv9
-version SUNW_0.7
-filter libgen.so.1 S0x8
-end
-
-data loc2
-arch i386 sparc
-version SUNW_0.7
-filter libgen.so.1 S0x4
-end
-
-data loc2
-arch sparcv9
-version SUNW_0.7
-filter libgen.so.1 S0x8
-end
-
-data locs
-arch i386 sparc
-version SUNW_0.7
-filter libgen.so.1 S0x4
-end
-
-data locs
-arch sparcv9
-version SUNW_0.7
-filter libgen.so.1 S0x8
-end
-
-data nbra
-arch i386 sparc sparcv9
-version SUNW_0.7
-filter libgen.so.1 S0x4
-end
-
-data sed
-arch i386 sparc sparcv9
-version SUNW_0.7
-end
-
-function step extends libgen/spec/gen.spec
-arch i386 sparc sparcv9
-version SUNWprivate_1.1
-filter libgen.so.1
-end
-
-# End Regular Expressions =========================================
-
-# Packaging Stuff
-data pkgdir
-version SUNW_0.7
-end
-
-# Packaging Stuff
-function pkginfo
-include <pkginfo.h>, <valtools.h>
-declaration int pkginfo(struct pkginfo *info, char *pkginst, ...)
-version SUNWprivate_1.1
-end
-
-# Packaging Stuff
-function set_ABI_namelngth
-include <pkginfo.h>, <valtools.h>
-declaration void set_ABI_namelngth(void)
-version SUNWprivate_1.1
-end
-
-# Packaging Stuff
-function get_ABI_namelngth
-include <pkginfo.h>, <valtools.h>
-declaration int get_ABI_namelngth(void)
-version SUNWprivate_1.1
-end
-
-# Packaging Stuff
-function pkgnmchk
-include <pkginfo.h>, <valtools.h>
-declaration int pkgnmchk(char *pkg, char *spec, int presvr4flg)
-version SUNWprivate_1.1
-end
-
-# Packaging Stuff
-function pkgparam
-include <pkginfo.h>, <valtools.h>
-declaration char *pkgparam( char *pkg, char *param)
-version SUNWprivate_1.1
-end
-
-# cmd/oampkg/pkgadd
-function fpkginfo
-declaration int fpkginfo(struct pkginfo *info, char *pkginst)
-version SUNWprivate_1.1
-end
-
-# cmd/oampkg/pkgadd
-data ckquit
-version SUNWprivate_1.1
-end
-
-# cmd/oampkg/pkgadd
-function ckpath
-declaration int ckpath(char *pathval, int pflags, char *defstr, \
- char *error, char *help, char *prompt)
-version SUNWprivate_1.1
-end
-
-# cmd/oampkg/pkgadd
-function ckyorn
-declaration int ckyorn(char *yorn, char *defstr, char *error, \
- char *help, char *prompt)
-version SUNWprivate_1.1
-end
-
-# cmd/oampkg/pkgadd
-function _getvol
-declaration int _getvol(char *device, char *label, int options, \
- char *prompt, char *norewind)
-version SUNWprivate_1.1
-end
-
-# cmd/oampkg/pkgadd
-function ckitem
-declaration int ckitem(CKMENU *menup, char *item[], short max, \
- char *defstr, char *error, char *help, char *prompt)
-version SUNWprivate_1.1
-end
-
-# cmd/oampkg/pkgadd
-function fpkginst
-declaration char *fpkginst(char *pkg, ... )
-version SUNWprivate_1.1
-end
-
-# cmd/oampkg/pkgadd
-function get_install_root
-declaration char *get_install_root(void)
-version SUNWprivate_1.1
-end
-
-# cmd/oampkg/pkgadd
-function set_install_root
-declaration void set_install_root(char *path)
-version SUNWprivate_1.1
-end
-
-# cmd/oampkg/pkgadd
-function get_PKGADM
-declaration char *get_PKGADM(void)
-version SUNWprivate_1.1
-end
-
-# cmd/oampkg/pkgadd
-function set_PKGpaths
-declaration void set_PKGpaths(char *path)
-version SUNWprivate_1.1
-end
-
-# cmd/oampkg/pkgadd
-function fpkgparam
-declaration char *fpkgparam(FILE *fp, char *param)
-version SUNWprivate_1.1
-end
-
-# cmd/oampkg/pkgadd
-function allocmenu
-declaration CKMENU *allocmenu(char *label, int attr)
-version SUNWprivate_1.1
-end
-
-# cmd/oampkg/pkgadd
-function setinvis
-declaration int setinvis(CKMENU *menup, char *choice)
-version SUNWprivate_1.1
-end
-
-# cmd/oampkg/pkgadd
-function puttext
-declaration int puttext(FILE *fp, char *str, int lmarg, int rmarg)
-version SUNWprivate_1.1
-end
-
-# cmd/oampkg/pkgadd
-function setitem
-declaration int setitem(CKMENU *menup, char *choice)
-version SUNWprivate_1.1
-end
-
-# cmd/oampkg/pkginstall
-function get_PKGOLD
-declaration char * get_PKGOLD(void)
-version SUNWprivate_1.1
-end
-
-# cmd/oampkg/pkginstall
-function get_PKGLOC
-declaration char * get_PKGLOC(void)
-version SUNWprivate_1.1
-end
-
-function set_PKGADM
-declaration void set_PKGADM(char *newpath)
-version SUNWprivate_1.1
-end
-
-function set_PKGLOC
-declaration void set_PKGLOC(char *newpath)
-version SUNWprivate_1.1
-end
-
-function getinput
-declaration int getinput(char *s)
-version SUNWprivate_1.1
-end
-
-# cmd/oampkg/pkginstall
-function printmenu
-declaration void printmenu(CKMENU *menup)
-version SUNWprivate_1.1
-end
-
-# cmd/oampkg/pkgrm
-function ckstr
-declaration int ckstr(char *strval, char *regexp[], int length, \
- char *defstr, char *error, char *help, char *prompt)
-version SUNWprivate_1.1
-end
-
-# cmd/oampkg/pkgparam
-data pkgfile
-version SUNWprivate_1.1
-end
-
-# cmd/volmgt/util
-function getfullrawname
-declaration char * getfullrawname(char *cp)
-version SUNWprivate_1.1
-end
-
-# cmd/volmgt/util
-function getfullblkname
-declaration char * getfullblkname(char *cp)
-version SUNWprivate_1.1
-end
-
-# cmd/devmgt/de
-function _devtabpath
-declaration char * _devtabpath(void)
-version SUNWprivate_1.1
-end
-
-# cmd/devmgt/de
-function _opendevtab
-declaration int _opendevtab(char *mode)
-version SUNWprivate_1.1
-end
-
-# cmd/devmgt/de
-function _rsvtabpath
-declaration char * _rsvtabpath(void)
-version SUNWprivate_1.1
-end
-
-# cmd/devmgt/ge
-data ckwidth
-version SUNWprivate_1.1
-end
-
-# cmd/devmgt/putdgrp
-function _dgrptabpath
-declaration char * _dgrptabpath(void)
-version SUNWprivate_1.1
-end
-
-# cmd/devmgt/putdgrp
-function _rmdgrpmems
-declaration int _rmdgrpmems( char *dgrp, char **mems, char ***notfounds)
-version SUNWprivate_1.1
-end
-
-# cmd/devmgt/putdgrp
-function _rmdgrptabrec
-declaration int _rmdgrptabrec(char *dgrp)
-version SUNWprivate_1.1
-end
-
-# cmd/devmgt/putdgrp
-function _adddgrptabrec
-declaration int _adddgrptabrec( char *dgrp, char **members)
-version SUNWprivate_1.1
-end
-
-# cmd/devmgmt/libstrgrp
-function _opendgrptab
-declaration int _opendgrptab(char *mode)
-version SUNWprivate_1.1
-end
-
-# cmd/devmgt/putdev
-function _rmdevtabrec
-declaration int _rmdevtabrec(char *device)
-version SUNWprivate_1.1
-end
-
-# cmd/devmgt/putdev
-function _adddevtabrec
-declaration int _adddevtabrec( char *alias, char **attrval)
-version SUNWprivate_1.1
-end
-
-# cmd/devmgt/putdev
-function _rmdevtabattrs
-declaration int _rmdevtabattrs( char *device, char **attributes, char ***notfounds)
-version SUNWprivate_1.1
-end
-
-# cmd/devmgt/putdev
-function _validalias
-declaration int _validalias(char *alias)
-version SUNWprivate_1.1
-end
-
-# cmd/devmgt/putdev
-function _moddevtabrec
-declaration int _moddevtabrec( char *device, char **attrval)
-version SUNWprivate_1.1
-end
-
-# cmd/devmgmt/mkdtab
-function _enddevtab
-declaration void _enddevtab(void)
-version SUNWprivate_1.1
-end
-
-# cmd/valtools
-function ckint
-declaration int ckint(long *intval, short base, char *defstr, \
- char *error, char *help, char *prompt)
-version SUNWprivate_1.1
-end
-
-# cmd/valtools
-function ckint_hlp
-declaration void ckint_hlp(short base, char *help)
-version SUNWprivate_1.1
-end
-
-# cmd/valtools
-function ckint_val
-declaration int ckint_val(char *value, short base)
-version SUNWprivate_1.1
-end
-
-# cmd/valtools
-data ckindent
-version SUNWprivate_1.1
-end
-
-# cmd/valtools
-function ckint_err
-declaration void ckint_err(short base, char *error)
-version SUNWprivate_1.1
-end
-
-# cmd/valtools
-function ckitem_hlp
-declaration void ckitem_hlp(CKMENU *menup, char *help)
-version SUNWprivate_1.1
-end
-
-# cmd/valtools
-function ckitem_err
-declaration void ckitem_err(CKMENU *menup, char *error)
-version SUNWprivate_1.1
-end
-
-# cmd/valtools
-function ckpath_stx
-declaration int ckpath_stx(int pflags)
-version SUNWprivate_1.1
-end
-
-# cmd/valtools
-function ckpath_hlp
-declaration void ckpath_hlp(int pflags, char *help)
-version SUNWprivate_1.1
-end
-
-# cmd/valtools
-function ckpath_val
-declaration int ckpath_val(char *path, int pflags)
-version SUNWprivate_1.1
-end
-
-# cmd/valtools
-function ckpath_err
-declaration void ckpath_err(int pflags, char *error, char *input)
-version SUNWprivate_1.1
-end
-
-# cmd/valtools
-function ckrange_hlp
-declaration void ckrange_hlp(long lower, long upper, int base, char *help)
-version SUNWprivate_1.1
-end
-# cmd/valtools
-
-function ckrange_err
-declaration void ckrange_err(long lower, long upper, int base, char *error)
-version SUNWprivate_1.1
-end
-
-# cmd/valtools
-function ckrange_val
-declaration int ckrange_val(long lower, long upper, int base, char *input)
-version SUNWprivate_1.1
-end
-
-# cmd/valtools
-function ckrange
-declaration int ckrange(long *rngval, long lower, long upper, \
- short base, char *defstr, char *error, \
- char *help, char *prompt)
-# cmd/valtools
-version SUNWprivate_1.1
-end
-
-# cmd/valtools
-function ckstr_hlp
-declaration void ckstr_hlp(char *regexp[], int length, char *help)
-version SUNWprivate_1.1
-end
-
-# cmd/valtools
-function ckstr_val
-declaration int ckstr_val(char *regexp[], int length, char *input)
-version SUNWprivate_1.1
-end
-
-# cmd/valtools
-function ckstr_err
-declaration void ckstr_err(char *regexp[], int length, \
- char *error, char *input)
-version SUNWprivate_1.1
-end
-
-# cmd/valtools
-function ckyorn_hlp
-declaration void ckyorn_hlp(char *help)
-version SUNWprivate_1.1
-end
-
-# cmd/valtools
-function ckyorn_val
-declaration int ckyorn_val(char *str)
-version SUNWprivate_1.1
-end
-
-# cmd/valtools
-function ckyorn_err
-declaration void ckyorn_err(char *error)
-version SUNWprivate_1.1
-end
-
-# cmd/valtools
-function ckkeywd
-declaration int ckkeywd(char *strval, char *keyword[], \
- char *defstr, char *error, char *help, char *prompt)
-version SUNWprivate_1.1
-end
-
-# cmd/valtools
-function ckdate_hlp
-declaration int ckdate_hlp(char *fmt, char *hlp)
-version SUNWprivate_1.1
-end
-
-# cmd/valtools
-function ckdate_val
-declaration int ckdate_val(char *fmt, char *input)
-version SUNWprivate_1.1
-end
-
-# cmd/valtools
-function ckdate
-declaration int ckdate(char *date, char *fmt, char *defstr, \
- char *error, char *help, char *prompt)
-version SUNWprivate_1.1
-end
-
-# cmd/valtools
-function ckdate_err
-declaration int ckdate_err(char *fmt, char *error)
-version SUNWprivate_1.1
-end
-
-# cmd/valtools
-function cktime_hlp
-declaration int cktime_hlp(char *fmt, char *help)
-version SUNWprivate_1.1
-end
-
-# cmd/valtools
-function cktime_val
-declaration int cktime_val(char *fmt, char *input)
-version SUNWprivate_1.1
-end
-
-# cmd/valtools
-function cktime_err
-declaration int cktime_err(char *fmt, char *error)
-version SUNWprivate_1.1
-end
-
-# cmd/valtools
-function cktime
-declaration int cktime(char *tod, char *fmt, char *defstr, \
- char *error, char *help, char *prompt)
-version SUNWprivate_1.1
-end
-
-# cmd/valtools
-function ckuid
-declaration int ckuid(char *uid, short disp, char *defstr, \
- char *error, char *help, char *prompt)
-version SUNWprivate_1.1
-end
-
-# cmd/valtools
-function ckuid_hlp
-declaration void ckuid_hlp(int disp, char *help)
-version SUNWprivate_1.1
-end
-
-# cmd/valtools
-function ckuid_dsp
-declaration int ckuid_dsp(void)
-version SUNWprivate_1.1
-end
-
-# cmd/valtools
-function ckuid_val
-declaration int ckuid_val(char *usrnm)
-version SUNWprivate_1.1
-end
-
-# cmd/valtools
-function ckuid_err
-declaration void ckuid_err(short disp, char *error)
-version SUNWprivate_1.1
-end
-
-# cmd/valtools
-function ckgid_err
-declaration void ckgid_err(int disp, char *error)
-version SUNWprivate_1.1
-end
-
-# cmd/valtools
-function ckgid
-declaration int ckgid(char *gid, short disp, char *defstr, \
- char *error, char *help, char *prompt)
-version SUNWprivate_1.1
-end
-
-# cmd/valtools
-function ckgid_hlp
-declaration void ckgid_hlp(int disp, char *help)
-version SUNWprivate_1.1
-end
-
-# cmd/valtools
-function ckgid_dsp
-declaration int ckgid_dsp(void)
-version SUNWprivate_1.1
-end
-
-# cmd/valtools
-function ckgid_val
-declaration int ckgid_val(char *grpnm)
-version SUNWprivate_1.1
-end
-
-# required by pkginfo
-function pkginfofind
-declaration int pkginfofind(char *path, char *pkg_dir, char *pkginst)
-version SUNWprivate_1.1
-end
-
-function puterror
-declaration void puterror(FILE *fp, char *defmesg, char *error)
-version SUNWprivate_1.1
-end
-
-function puthelp
-declaration void puthelp(FILE *fp, char *defmesg, char *help)
-version SUNWprivate_1.1
-end
-
-function putprmpt
-declaration void putprmpt(FILE *fp, char *prompt, \
- char *choices[], char *defstr)
-version SUNWprivate_1.1
-end
-
diff --git a/usr/src/lib/libadm/spec/amd64/Makefile b/usr/src/lib/libadm/spec/amd64/Makefile
deleted file mode 100644
index 453c0ea671..0000000000
--- a/usr/src/lib/libadm/spec/amd64/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#amd64_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libadm/spec/i386/Makefile b/usr/src/lib/libadm/spec/i386/Makefile
deleted file mode 100644
index c7d5274776..0000000000
--- a/usr/src/lib/libadm/spec/i386/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1998-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libadm/spec/i386/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#i386_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libadm/spec/sparc/Makefile b/usr/src/lib/libadm/spec/sparc/Makefile
deleted file mode 100644
index cd4364e37d..0000000000
--- a/usr/src/lib/libadm/spec/sparc/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1998-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libadm/spec/sparc/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#sparc_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libadm/spec/sparcv9/Makefile b/usr/src/lib/libadm/spec/sparcv9/Makefile
deleted file mode 100644
index 1a73918201..0000000000
--- a/usr/src/lib/libadm/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,45 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1998-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libadm/spec/sparcv9/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-sparcv9_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libadm/spec/versions b/usr/src/lib/libadm/spec/versions
deleted file mode 100644
index 2fed5f1c60..0000000000
--- a/usr/src/lib/libadm/spec/versions
+++ /dev/null
@@ -1,52 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# Note: Even though the SUNW_1.1 version now contains no symbols
-# beyond what was present at Solaris 2.3, the SUNW_1.1 version MUST be
-# present. This is because applications built on 2.6 Beta
-# (when it did contain symbols explicitly) may depend on it.
-#
-
-sparc {
- SUNW_1.1: {SUNW_0.7};
- SUNW_0.7;
- SUNWprivate_1.1;
-}
-sparcv9 {
- SUNW_1.1: {SUNW_0.7};
- SUNW_0.7;
- SUNWprivate_1.1;
-}
-i386 {
- SUNW_1.1: {SUNW_0.7};
- SUNW_0.7;
- SUNWprivate_1.1;
-}
-amd64 {
- SUNW_1.1: {SUNW_0.7};
- SUNW_0.7;
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/libadt_jni/Makefile b/usr/src/lib/libadt_jni/Makefile
index 42d45082be..ea3e23e818 100644
--- a/usr/src/lib/libadt_jni/Makefile
+++ b/usr/src/lib/libadt_jni/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,19 +19,19 @@
# CDDL HEADER END
#
#
-# Copyright (c) 2001 by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libadt_jni/Makefile
include ../Makefile.lib
POFILE = libadt_jni.po
MSGFILES= `$(GREP) -l gettext */*.[ch]`
-SUBDIRS = com/sun .WAIT spec $(MACH) $(BUILD64) $(MACH64)
+SUBDIRS = $(MACH)
+$(BUILD64)SUBDIRS += $(MACH64)
all := TARGET= all
clean := TARGET= clean
@@ -42,9 +41,9 @@ lint := TARGET= lint
.KEEP_STATE:
-all install clean clobber lint: $(SUBDIRS)
+all install clean clobber lint: com/sun .WAIT $(SUBDIRS)
-com/sun $(MACH) $(MACH64) spec: FRC
+com/sun $(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
$(POFILE): pofile_MSGFILES
diff --git a/usr/src/lib/libadt_jni/Makefile.com b/usr/src/lib/libadt_jni/Makefile.com
index d64f5d0b1d..658a114f8e 100644
--- a/usr/src/lib/libadt_jni/Makefile.com
+++ b/usr/src/lib/libadt_jni/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,13 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libadt_jni/Makefile.com
-#
LIBRARY= libadt_jni.a
VERS= .1
@@ -36,14 +33,10 @@ OBJECTS= adt_jni.o \
include $(SRC)/lib/Makefile.lib
-MAPFILE=
-SPECMAPFILE= $(MAPDIR)/mapfile
-
LIBS = $(DYNLIB) $(LINTLIB)
-SRCS= $(OBJECTS:%.o=../common/%.c)
+SRCDIR = ../common
-# see also spec/Makefile's SPECCPP for java include
CPPFLAGS += -I$(JAVA_ROOT)/include -I$(JAVA_ROOT)/include/solaris
CPPFLAGS += -D_REENTRANT
diff --git a/usr/src/lib/libadt_jni/amd64/Makefile b/usr/src/lib/libadt_jni/amd64/Makefile
index 38f51189f5..d50a21bdb0 100644
--- a/usr/src/lib/libadt_jni/amd64/Makefile
+++ b/usr/src/lib/libadt_jni/amd64/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-MAPDIR= ../spec/amd64
-
include ../Makefile.com
include ../../Makefile.lib.64
diff --git a/usr/src/lib/libadt_jni/common/mapfile-vers b/usr/src/lib/libadt_jni/common/mapfile-vers
new file mode 100644
index 0000000000..e87a88b92c
--- /dev/null
+++ b/usr/src/lib/libadt_jni/common/mapfile-vers
@@ -0,0 +1,71 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNWprivate_1.1 {
+ global:
+ c2j_pointer;
+ j2c_pointer;
+ Java_com_sun_audit_AuditEvent_1admin_1authenticate_putEvent;
+ Java_com_sun_audit_AuditEvent_1filesystem_1add_putEvent;
+ Java_com_sun_audit_AuditEvent_1filesystem_1delete_putEvent;
+ Java_com_sun_audit_AuditEvent_1filesystem_1modify_putEvent;
+ Java_com_sun_audit_AuditEvent_1login_putEvent;
+ Java_com_sun_audit_AuditEvent_1logout_putEvent;
+ Java_com_sun_audit_AuditEvent_1network_1add_putEvent;
+ Java_com_sun_audit_AuditEvent_1network_1delete_putEvent;
+ Java_com_sun_audit_AuditEvent_1network_1modify_putEvent;
+ Java_com_sun_audit_AuditEvent_1passwd_putEvent;
+ Java_com_sun_audit_AuditEvent_1printer_1add_putEvent;
+ Java_com_sun_audit_AuditEvent_1printer_1delete_putEvent;
+ Java_com_sun_audit_AuditEvent_1printer_1modify_putEvent;
+ Java_com_sun_audit_AuditEvent_1rlogin_putEvent;
+ Java_com_sun_audit_AuditEvent_1role_1login_putEvent;
+ Java_com_sun_audit_AuditEvent_1scheduledjob_1add_putEvent;
+ Java_com_sun_audit_AuditEvent_1scheduledjob_1delete_putEvent;
+ Java_com_sun_audit_AuditEvent_1scheduledjob_1modify_putEvent;
+ Java_com_sun_audit_AuditEvent_1screenlock_putEvent;
+ Java_com_sun_audit_AuditEvent_1screenunlock_putEvent;
+ Java_com_sun_audit_AuditEvent_1serialport_1add_putEvent;
+ Java_com_sun_audit_AuditEvent_1serialport_1delete_putEvent;
+ Java_com_sun_audit_AuditEvent_1serialport_1modify_putEvent;
+ Java_com_sun_audit_AuditEvent_1ssh_putEvent;
+ Java_com_sun_audit_AuditEvent_1su_putEvent;
+ Java_com_sun_audit_AuditEvent_1telnet_putEvent;
+ Java_com_sun_audit_AuditEvent_1uauth_putEvent;
+ Java_com_sun_audit_AuditEvent_1usermgr_1add_putEvent;
+ Java_com_sun_audit_AuditEvent_1usermgr_1delete_putEvent;
+ Java_com_sun_audit_AuditEvent_1usermgr_1modify_putEvent;
+ Java_com_sun_audit_AuditSession_bsmAuditOn;
+ Java_com_sun_audit_AuditSession_dupSession;
+ Java_com_sun_audit_AuditSession_endSession;
+ Java_com_sun_audit_AuditSession_exportSessionData;
+ Java_com_sun_audit_AuditSession_getSessionId;
+ Java_com_sun_audit_AuditSession_sessionAttr;
+ Java_com_sun_audit_AuditSession_startSession;
+ local:
+ *;
+};
diff --git a/usr/src/lib/libadt_jni/i386/Makefile b/usr/src/lib/libadt_jni/i386/Makefile
index c2c58d7bce..f4504a2573 100644
--- a/usr/src/lib/libadt_jni/i386/Makefile
+++ b/usr/src/lib/libadt_jni/i386/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright (c) 2001 by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libadt_jni/i386/Makefile
-
-MAPDIR= ../spec/i386
include ../Makefile.com
diff --git a/usr/src/lib/libadt_jni/sparc/Makefile b/usr/src/lib/libadt_jni/sparc/Makefile
index 045b2283ba..f4504a2573 100644
--- a/usr/src/lib/libadt_jni/sparc/Makefile
+++ b/usr/src/lib/libadt_jni/sparc/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright (c) 2001 by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libadt_jni/sparc/Makefile
-
-MAPDIR= ../spec/sparc
include ../Makefile.com
diff --git a/usr/src/lib/libadt_jni/sparcv9/Makefile b/usr/src/lib/libadt_jni/sparcv9/Makefile
index e98a851c57..d50a21bdb0 100644
--- a/usr/src/lib/libadt_jni/sparcv9/Makefile
+++ b/usr/src/lib/libadt_jni/sparcv9/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright (c) 2001 by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libadt_jni/spec/sparcv9/Makefile
-
-MAPDIR= ../spec/sparcv9
include ../Makefile.com
include ../../Makefile.lib.64
diff --git a/usr/src/lib/libadt_jni/spec/Makefile b/usr/src/lib/libadt_jni/spec/Makefile
deleted file mode 100644
index fea0d22987..0000000000
--- a/usr/src/lib/libadt_jni/spec/Makefile
+++ /dev/null
@@ -1,29 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 2001 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/libadt_jni/spec/Makefile.targ b/usr/src/lib/libadt_jni/spec/Makefile.targ
deleted file mode 100644
index 2b69321c49..0000000000
--- a/usr/src/lib/libadt_jni/spec/Makefile.targ
+++ /dev/null
@@ -1,34 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libadt_jni/spec/Makefile.targ
-
-LIBRARY = libadt_jni.a
-VERS = .1
-OBJECTS = private.o
-
-SPECCPP = -I../.. -I$(JAVA_ROOT)/include -I$(JAVA_ROOT)/include/solaris
diff --git a/usr/src/lib/libadt_jni/spec/amd64/Makefile b/usr/src/lib/libadt_jni/spec/amd64/Makefile
deleted file mode 100644
index bca8f0b3ac..0000000000
--- a/usr/src/lib/libadt_jni/spec/amd64/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libadt_jni/spec/i386/Makefile b/usr/src/lib/libadt_jni/spec/i386/Makefile
deleted file mode 100644
index 22cbaec52f..0000000000
--- a/usr/src/lib/libadt_jni/spec/i386/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 2001 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libadt_jni/spec/i386/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libadt_jni/spec/private.spec b/usr/src/lib/libadt_jni/spec/private.spec
deleted file mode 100644
index 01ec52067a..0000000000
--- a/usr/src/lib/libadt_jni/spec/private.spec
+++ /dev/null
@@ -1,265 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Automatically generated code; do not edit
-#
-# lib/libadt_jni/spec/private.spec
-
-function j2c_pointer
-include <bsm/adt.h>, <jni.h>, "../../com/sun/audit/AuditSession.h", <string.h> <netdb.h>
-declaration int j2c_pointer(JNIEnv *, jbyteArray, caddr_t *)
-version SUNWprivate_1.1
-end
-
-function c2j_pointer
-include <bsm/adt.h>, <jni.h>, "../../com/sun/audit/AuditSession.h", <string.h> <netdb.h>
-declaration void c2j_pointer(JNIEnv *, caddr_t, jbyteArray *)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_audit_AuditSession_bsmAuditOn
-include <bsm/adt.h>, <jni.h>, "../../com/sun/audit/AuditSession.h", <string.h> <netdb.h>
-declaration jboolean Java_com_sun_audit_AuditSession_bsmAuditOn(JNIEnv *, jobject)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_audit_AuditSession_startSession
-include <bsm/adt.h>, <jni.h>, "../../com/sun/audit/AuditSession.h", <string.h> <netdb.h>
-declaration jbyteArray Java_com_sun_audit_AuditSession_startSession(JNIEnv *, jobject, jbyteArray, jlong)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_audit_AuditSession_endSession
-include <bsm/adt.h>, <jni.h>, "../../com/sun/audit/AuditSession.h", <string.h> <netdb.h>
-declaration void Java_com_sun_audit_AuditSession_endSession(JNIEnv *, jobject, jbyteArray)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_audit_AuditSession_dupSession
-include <bsm/adt.h>, <jni.h>, "../../com/sun/audit/AuditSession.h", <string.h> <netdb.h>
-declaration jbyteArray Java_com_sun_audit_AuditSession_dupSession(JNIEnv *, jobject, jbyteArray)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_audit_AuditSession_getSessionId
-include <bsm/adt.h>, <jni.h>, "../../com/sun/audit/AuditSession.h", <string.h> <netdb.h>
-declaration jstring Java_com_sun_audit_AuditSession_getSessionId(JNIEnv *, jobject, jbyteArray)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_audit_AuditSession_exportSessionData
-include <bsm/adt.h>, <jni.h>, "../../com/sun/audit/AuditSession.h", <string.h> <netdb.h>
-declaration jbyteArray Java_com_sun_audit_AuditSession_exportSessionData (JNIEnv *, jobject, jbyteArray)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_audit_AuditSession_sessionAttr
-include <bsm/adt.h>, <jni.h>, "../../com/sun/audit/AuditSession.h", <string.h> <netdb.h>
-declaration void Java_com_sun_audit_AuditSession_sessionAttr(JNIEnv *, jobject, jbyteArray, jint, jint, jint, jint, jstring, jint)
-version SUNWprivate_1.1
-end
-
-/* One subclass of AuditEvent per audit record... */
-
-function Java_com_sun_audit_AuditEvent_1admin_1authenticate_putEvent
-include "../../../libbsm/common/adt_xlate.h", <jni.h>, <string.h>
-declaration void Java_com_sun_audit_AuditEvent_1admin_1authenticate_putEvent(JNIEnv *, jobject, jbyteArray, jint, jint, jint)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_audit_AuditEvent_1filesystem_1add_putEvent
-include "../../../libbsm/common/adt_xlate.h", <jni.h>, <string.h>
-declaration void Java_com_sun_audit_AuditEvent_1filesystem_1add_putEvent(JNIEnv *, jobject, jbyteArray, jint, jint, jstring, jstring, jstring, jstring, jstring)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_audit_AuditEvent_1filesystem_1delete_putEvent
-include "../../../libbsm/common/adt_xlate.h", <jni.h>, <string.h>
-declaration void Java_com_sun_audit_AuditEvent_1filesystem_1delete_putEvent(JNIEnv *, jobject, jbyteArray, jint, jint, jstring, jstring, jstring, jstring, jstring)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_audit_AuditEvent_1filesystem_1modify_putEvent
-include "../../../libbsm/common/adt_xlate.h", <jni.h>, <string.h>
-declaration void Java_com_sun_audit_AuditEvent_1filesystem_1modify_putEvent(JNIEnv *, jobject, jbyteArray, jint, jint, jstring, jstring, jstring, jstring, jstring)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_audit_AuditEvent_1login_putEvent
-include "../../../libbsm/common/adt_xlate.h", <jni.h>, <string.h>
-declaration void Java_com_sun_audit_AuditEvent_1login_putEvent(JNIEnv *, jobject, jbyteArray, jint, jint, jint)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_audit_AuditEvent_1logout_putEvent
-include "../../../libbsm/common/adt_xlate.h", <jni.h>, <string.h>
-declaration void Java_com_sun_audit_AuditEvent_1logout_putEvent(JNIEnv *, jobject, jbyteArray, jint, jint, jstring)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_audit_AuditEvent_1network_1add_putEvent
-include "../../../libbsm/common/adt_xlate.h", <jni.h>, <string.h>
-declaration void Java_com_sun_audit_AuditEvent_1network_1add_putEvent(JNIEnv *, jobject, jbyteArray, jint, jint, jstring, jstring, jstring, jstring, jstring)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_audit_AuditEvent_1network_1delete_putEvent
-include "../../../libbsm/common/adt_xlate.h", <jni.h>, <string.h>
-declaration void Java_com_sun_audit_AuditEvent_1network_1delete_putEvent(JNIEnv *, jobject, jbyteArray, jint, jint, jstring, jstring, jstring, jstring, jstring)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_audit_AuditEvent_1network_1modify_putEvent
-include "../../../libbsm/common/adt_xlate.h", <jni.h>, <string.h>
-declaration void Java_com_sun_audit_AuditEvent_1network_1modify_putEvent(JNIEnv *, jobject, jbyteArray, jint, jint, jstring, jstring, jstring, jstring, jstring)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_audit_AuditEvent_1passwd_putEvent
-include "../../../libbsm/common/adt_xlate.h", <jni.h>, <string.h>
-declaration void Java_com_sun_audit_AuditEvent_1passwd_putEvent(JNIEnv *, jobject, jbyteArray, jint, jint, jstring)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_audit_AuditEvent_1printer_1add_putEvent
-include "../../../libbsm/common/adt_xlate.h", <jni.h>, <string.h>
-declaration void Java_com_sun_audit_AuditEvent_1printer_1add_putEvent(JNIEnv *, jobject, jbyteArray, jint, jint, jstring, jstring, jstring, jstring, jstring)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_audit_AuditEvent_1printer_1delete_putEvent
-include "../../../libbsm/common/adt_xlate.h", <jni.h>, <string.h>
-declaration void Java_com_sun_audit_AuditEvent_1printer_1delete_putEvent(JNIEnv *, jobject, jbyteArray, jint, jint, jstring, jstring, jstring, jstring, jstring)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_audit_AuditEvent_1printer_1modify_putEvent
-include "../../../libbsm/common/adt_xlate.h", <jni.h>, <string.h>
-declaration void Java_com_sun_audit_AuditEvent_1printer_1modify_putEvent(JNIEnv *, jobject, jbyteArray, jint, jint, jstring, jstring, jstring, jstring, jstring)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_audit_AuditEvent_1rlogin_putEvent
-include "../../../libbsm/common/adt_xlate.h", <jni.h>, <string.h>
-declaration void Java_com_sun_audit_AuditEvent_1rlogin_putEvent(JNIEnv *, jobject, jbyteArray, jint, jint, jint)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_audit_AuditEvent_1role_1login_putEvent
-include "../../../libbsm/common/adt_xlate.h", <jni.h>, <string.h>
-declaration void Java_com_sun_audit_AuditEvent_1role_1login_putEvent(JNIEnv *, jobject, jbyteArray, jint, jint, jint)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_audit_AuditEvent_1scheduledjob_1add_putEvent
-include "../../../libbsm/common/adt_xlate.h", <jni.h>, <string.h>
-declaration void Java_com_sun_audit_AuditEvent_1scheduledjob_1add_putEvent(JNIEnv *, jobject, jbyteArray, jint, jint, jstring, jstring, jstring, jstring, jstring)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_audit_AuditEvent_1scheduledjob_1delete_putEvent
-include "../../../libbsm/common/adt_xlate.h", <jni.h>, <string.h>
-declaration void Java_com_sun_audit_AuditEvent_1scheduledjob_1delete_putEvent(JNIEnv *, jobject, jbyteArray, jint, jint, jstring, jstring, jstring, jstring, jstring)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_audit_AuditEvent_1scheduledjob_1modify_putEvent
-include "../../../libbsm/common/adt_xlate.h", <jni.h>, <string.h>
-declaration void Java_com_sun_audit_AuditEvent_1scheduledjob_1modify_putEvent(JNIEnv *, jobject, jbyteArray, jint, jint, jstring, jstring, jstring, jstring, jstring)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_audit_AuditEvent_1screenlock_putEvent
-include "../../../libbsm/common/adt_xlate.h", <jni.h>, <string.h>
-declaration void Java_com_sun_audit_AuditEvent_1screenlock_putEvent(JNIEnv *, jobject, jbyteArray, jint, jint)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_audit_AuditEvent_1screenunlock_putEvent
-include "../../../libbsm/common/adt_xlate.h", <jni.h>, <string.h>
-declaration void Java_com_sun_audit_AuditEvent_1screenunlock_putEvent(JNIEnv *, jobject, jbyteArray, jint, jint)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_audit_AuditEvent_1serialport_1add_putEvent
-include "../../../libbsm/common/adt_xlate.h", <jni.h>, <string.h>
-declaration void Java_com_sun_audit_AuditEvent_1serialport_1add_putEvent(JNIEnv *, jobject, jbyteArray, jint, jint, jstring, jstring, jstring, jstring, jstring)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_audit_AuditEvent_1serialport_1delete_putEvent
-include "../../../libbsm/common/adt_xlate.h", <jni.h>, <string.h>
-declaration void Java_com_sun_audit_AuditEvent_1serialport_1delete_putEvent(JNIEnv *, jobject, jbyteArray, jint, jint, jstring, jstring, jstring, jstring, jstring)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_audit_AuditEvent_1serialport_1modify_putEvent
-include "../../../libbsm/common/adt_xlate.h", <jni.h>, <string.h>
-declaration void Java_com_sun_audit_AuditEvent_1serialport_1modify_putEvent(JNIEnv *, jobject, jbyteArray, jint, jint, jstring, jstring, jstring, jstring, jstring)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_audit_AuditEvent_1ssh_putEvent
-include "../../../libbsm/common/adt_xlate.h", <jni.h>, <string.h>
-declaration void Java_com_sun_audit_AuditEvent_1ssh_putEvent(JNIEnv *, jobject, jbyteArray, jint, jint, jint)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_audit_AuditEvent_1su_putEvent
-include "../../../libbsm/common/adt_xlate.h", <jni.h>, <string.h>
-declaration void Java_com_sun_audit_AuditEvent_1su_putEvent(JNIEnv *, jobject, jbyteArray, jint, jint, jstring)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_audit_AuditEvent_1telnet_putEvent
-include "../../../libbsm/common/adt_xlate.h", <jni.h>, <string.h>
-declaration void Java_com_sun_audit_AuditEvent_1telnet_putEvent(JNIEnv *, jobject, jbyteArray, jint, jint, jint)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_audit_AuditEvent_1uauth_putEvent
-include "../../../libbsm/common/adt_xlate.h", <jni.h>, <string.h>
-declaration void Java_com_sun_audit_AuditEvent_1uauth_putEvent(JNIEnv *, jobject, jbyteArray, jint, jint, jstring, jstring)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_audit_AuditEvent_1usermgr_1add_putEvent
-include "../../../libbsm/common/adt_xlate.h", <jni.h>, <string.h>
-declaration void Java_com_sun_audit_AuditEvent_1usermgr_1add_putEvent(JNIEnv *, jobject, jbyteArray, jint, jint, jstring, jstring, jstring, jstring, jstring)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_audit_AuditEvent_1usermgr_1delete_putEvent
-include "../../../libbsm/common/adt_xlate.h", <jni.h>, <string.h>
-declaration void Java_com_sun_audit_AuditEvent_1usermgr_1delete_putEvent(JNIEnv *, jobject, jbyteArray, jint, jint, jstring, jstring, jstring, jstring, jstring)
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_audit_AuditEvent_1usermgr_1modify_putEvent
-include "../../../libbsm/common/adt_xlate.h", <jni.h>, <string.h>
-declaration void Java_com_sun_audit_AuditEvent_1usermgr_1modify_putEvent(JNIEnv *, jobject, jbyteArray, jint, jint, jstring, jstring, jstring, jstring, jstring)
-version SUNWprivate_1.1
-end
diff --git a/usr/src/lib/libadt_jni/spec/sparc/Makefile b/usr/src/lib/libadt_jni/spec/sparc/Makefile
deleted file mode 100644
index a04e75169d..0000000000
--- a/usr/src/lib/libadt_jni/spec/sparc/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 2001 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libadt_jni/spec/sparc/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libadt_jni/spec/sparcv9/Makefile b/usr/src/lib/libadt_jni/spec/sparcv9/Makefile
deleted file mode 100644
index f9e619f159..0000000000
--- a/usr/src/lib/libadt_jni/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,35 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2001-2002 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libadt_jni/spec/versions b/usr/src/lib/libadt_jni/spec/versions
deleted file mode 100644
index 22e0dd1104..0000000000
--- a/usr/src/lib/libadt_jni/spec/versions
+++ /dev/null
@@ -1,39 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-sparc {
- SUNWprivate_1.1;
-}
-sparcv9 {
- SUNWprivate_1.1;
-}
-i386 {
- SUNWprivate_1.1;
-}
-amd64 {
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/libaio/Makefile.com b/usr/src/lib/libaio/Makefile.com
index 1842670697..3dc97f8300 100644
--- a/usr/src/lib/libaio/Makefile.com
+++ b/usr/src/lib/libaio/Makefile.com
@@ -31,10 +31,9 @@ VERS = .1
include ../../Makefile.lib
include ../../Makefile.rootfs
-MAPFILES= mapfile-vers $(MAPFILE-FLTR)
-MAPOPTS= $(MAPFILES:%=-M %)
+MAPFILES = mapfile-vers $(MAPFILE-FLTR)
-DYNFLAGS += -F libc.so.1 $(MAPOPTS)
+DYNFLAGS += -F libc.so.1
LIBS = $(DYNLIB) $(LINTLIB)
@@ -56,5 +55,3 @@ include ../../Makefile.targ
all: $(LIBS)
lint:
-
-$(DYNLIB): $(MAPFILES)
diff --git a/usr/src/lib/libavl/Makefile b/usr/src/lib/libavl/Makefile
index 032744e5a3..8647d0ecf4 100644
--- a/usr/src/lib/libavl/Makefile
+++ b/usr/src/lib/libavl/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,12 +19,10 @@
# CDDL HEADER END
#
#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libavl/Makefile
+# ident "%Z%%M% %I% %E% SMI"
#
# include library definitions
@@ -42,11 +39,9 @@ lint := TARGET= lint
.KEEP_STATE:
-all clean clobber install: spec .WAIT $(SUBDIRS)
-
-lint: $(SUBDIRS)
+all clean clobber install lint: $(SUBDIRS)
-spec $(SUBDIRS): FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
diff --git a/usr/src/lib/libavl/Makefile.com b/usr/src/lib/libavl/Makefile.com
index b3f017f6b3..0627681a93 100644
--- a/usr/src/lib/libavl/Makefile.com
+++ b/usr/src/lib/libavl/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -25,8 +24,6 @@
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libavl/Makefile.com
-#
LIBRARY= libavl.a
VERS= .1
@@ -40,13 +37,8 @@ SRCS = $(COMDIR)/avl.c
$(LINTLIB) := SRCS = $(SRCDIR)/$(LINTSRC)
-SRCDIR = ..
COMDIR = $(SRC)/common/avl
-# library builds its mapfile from specfiles
-MAPDIR = ../spec/$(TRANSMACH)
-SPECMAPFILE = $(MAPDIR)/mapfile
-
CFLAGS += $(CCVERBOSE)
.KEEP_STATE:
diff --git a/usr/src/lib/fm/libfmd_snmp/spec/i386/Makefile b/usr/src/lib/libavl/mapfile-vers
index 4e313b5aa8..5e421e8781 100644
--- a/usr/src/lib/fm/libfmd_snmp/spec/i386/Makefile
+++ b/usr/src/lib/libavl/mapfile-vers
@@ -18,7 +18,6 @@
#
# CDDL HEADER END
#
-
#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
@@ -26,11 +25,21 @@
# ident "%Z%%M% %I% %E% SMI"
#
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB)
+SUNWprivate_1.1 {
+ global:
+ avl_add;
+ avl_create;
+ avl_destroy;
+ avl_destroy_nodes;
+ avl_find;
+ avl_first;
+ avl_insert;
+ avl_insert_here;
+ avl_last;
+ avl_nearest;
+ avl_numnodes;
+ avl_remove;
+ avl_walk;
+ local:
+ *;
+};
diff --git a/usr/src/lib/libavl/spec/Makefile b/usr/src/lib/libavl/spec/Makefile
deleted file mode 100644
index a5831e097c..0000000000
--- a/usr/src/lib/libavl/spec/Makefile
+++ /dev/null
@@ -1,30 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libavl/spec/Makefile
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/libavl/spec/Makefile.targ b/usr/src/lib/libavl/spec/Makefile.targ
deleted file mode 100644
index a069059512..0000000000
--- a/usr/src/lib/libavl/spec/Makefile.targ
+++ /dev/null
@@ -1,35 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libavl/spec/Makefile.targ
-
-LIBRARY = libavl.a
-VERS = .1
-
-OBJECTS = avl.o
-
-SPECCPP =
diff --git a/usr/src/lib/libavl/spec/amd64/Makefile b/usr/src/lib/libavl/spec/amd64/Makefile
deleted file mode 100644
index 453c0ea671..0000000000
--- a/usr/src/lib/libavl/spec/amd64/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#amd64_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libavl/spec/avl.spec b/usr/src/lib/libavl/spec/avl.spec
deleted file mode 100644
index 67a4782034..0000000000
--- a/usr/src/lib/libavl/spec/avl.spec
+++ /dev/null
@@ -1,111 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libavl/spec/avl.spec
-
-function avl_create
-include <sys/avl.h>
-declaration void avl_create(avl_tree_t *tree,
- int (*compar)(const void *, const void *), size_t size,
- size_t offset)
-version SUNWprivate_1.1
-end
-
-function avl_destroy
-include <sys/avl.h>
-declaration void avl_destroy(avl_tree_t *tree)
-version SUNWprivate_1.1
-end
-
-function avl_destroy_nodes
-include <sys/avl.h>
-declaration void *avl_destroy_nodes(avl_tree_t *tree, void **cookie)
-version SUNWprivate_1.1
-end
-
-function avl_find
-include <sys/avl.h>
-declaration void *avl_find(avl_tree_t *tree, void *value,
- avl_index_t *where)
-version SUNWprivate_1.1
-end
-
-function avl_first
-include <sys/avl.h>
-declaration void *avl_first(avl_tree_t *tree)
-version SUNWprivate_1.1
-end
-
-function avl_insert
-include <sys/avl.h>
-declaration void avl_insert(avl_tree_t *tree, void *new_data,
- avl_index_t where)
-version SUNWprivate_1.1
-end
-
-function avl_insert_here
-include <sys/avl.h>
-declaration void avl_insert(avl_tree_t *tree, void *new_data, void *here,
- int direction)
-version SUNWprivate_1.1
-end
-
-function avl_last
-include <sys/avl.h>
-declaration void *avl_last(avl_tree_t *tree)
-version SUNWprivate_1.1
-end
-
-function avl_nearest
-include <sys/avl.h>
-declaration void *avl_nearest(avl_tree_t *tree, avl_index_t where,
- int direction)
-version SUNWprivate_1.1
-end
-
-function avl_numnodes
-include <sys/avl.h>
-declaration ulong_t avl_numnodes(avl_tree_t *tree)
-version SUNWprivate_1.1
-end
-
-function avl_add
-include <sys/avl.h>
-declaration void avl_remove(avl_tree_t *tree, void *data)
-version SUNWprivate_1.1
-end
-
-function avl_remove
-include <sys/avl.h>
-declaration void avl_remove(avl_tree_t *tree, void *data)
-version SUNWprivate_1.1
-end
-
-function avl_walk
-include <sys/avl.h>
-declaration void *avl_walk(avl_tree_t *tree, void *oldnode, int left)
-version SUNWprivate_1.1
-end
diff --git a/usr/src/lib/libavl/spec/i386/Makefile b/usr/src/lib/libavl/spec/i386/Makefile
deleted file mode 100644
index d5084c6b39..0000000000
--- a/usr/src/lib/libavl/spec/i386/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libavl/spec/i386/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#i386_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libavl/spec/sparc/Makefile b/usr/src/lib/libavl/spec/sparc/Makefile
deleted file mode 100644
index 550f614b3b..0000000000
--- a/usr/src/lib/libavl/spec/sparc/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libavl/spec/sparc/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#sparc_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libavl/spec/sparcv9/Makefile b/usr/src/lib/libavl/spec/sparcv9/Makefile
deleted file mode 100644
index bd6acac8c9..0000000000
--- a/usr/src/lib/libavl/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,45 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libavl/spec/sparcv9/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#sparcv9_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libavl/spec/versions b/usr/src/lib/libavl/spec/versions
deleted file mode 100644
index 3fc6f92d2d..0000000000
--- a/usr/src/lib/libavl/spec/versions
+++ /dev/null
@@ -1,42 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-sparc {
- SUNWprivate_1.1;
-}
-
-sparcv9 {
- SUNWprivate_1.1;
-}
-
-i386 {
- SUNWprivate_1.1;
-}
-
-amd64 {
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/libbc/Makefile b/usr/src/lib/libbc/Makefile
index 294812affe..04b0b43dd2 100644
--- a/usr/src/lib/libbc/Makefile
+++ b/usr/src/lib/libbc/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,19 +19,21 @@
# CDDL HEADER END
#
#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libbc/Makefile
-#
+
LIBRARY= libc.a
VERS= .1.9
# include common library definitions
include ../Makefile.lib
+# There should be a mapfile here
+MAPFILES =
+
C99MODE= $(C99_DISABLE)
# the bcp libraries go in /usr/4lib. override ROOTLIBDIR from ../Makefile.lib
diff --git a/usr/src/lib/libbc/sparc/Makefile b/usr/src/lib/libbc/sparc/Makefile
index 62e54ac68a..c66e6cc6cc 100644
--- a/usr/src/lib/libbc/sparc/Makefile
+++ b/usr/src/lib/libbc/sparc/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,11 +19,13 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
+
+#
# This builds all objects needed for libbc.
#
@@ -310,6 +311,9 @@ pics/%.o s5pics/%.o : ../libc/yp/%.c
# include common library definitions
include ../../Makefile.lib
+# There should be a mapfile here
+MAPFILES =
+
C99MODE= $(C99_DISABLE)
#
diff --git a/usr/src/lib/libbsdmalloc/Makefile b/usr/src/lib/libbsdmalloc/Makefile
index 78cbe7f322..d608e0d064 100644
--- a/usr/src/lib/libbsdmalloc/Makefile
+++ b/usr/src/lib/libbsdmalloc/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,17 +19,16 @@
# CDDL HEADER END
#
#
-# Copyright (c) 1989,1998-1999 by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libbsdmalloc/Makefile
+# ident "%Z%%M% %I% %E% SMI"
#
include ../Makefile.lib
-SUBDIRS= spec .WAIT $(MACH) $(BUILD64) $(MACH64)
+SUBDIRS = $(MACH)
+$(BUILD64)SUBDIRS += $(MACH64)
all := TARGET= all
clean := TARGET= clean
@@ -69,7 +67,7 @@ install_h: $(ROOTHDRS)
check: $(CHECKHDRS)
-spec $(MACH) $(MACH64): FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
_msg: $(MSGDOMAIN) $(POFILE)
diff --git a/usr/src/lib/libbsdmalloc/Makefile.com b/usr/src/lib/libbsdmalloc/Makefile.com
index dd5d6acb17..8057f220ef 100644
--- a/usr/src/lib/libbsdmalloc/Makefile.com
+++ b/usr/src/lib/libbsdmalloc/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,7 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
@@ -35,9 +34,7 @@ OBJECTS= \
# include library definitions
include ../../Makefile.lib
-MAPFILE= $(MAPDIR)/mapfile
-SRCS= $(OBJECTS:%.o=../common/%.c)
-CLOBBERFILES += $(MAPFILE)
+SRCDIR = ../common
LIBS = $(DYNLIB) $(LINTLIB)
@@ -55,7 +52,7 @@ CLEANFILES += $(LINTOUT) $(LINTLIB)
CFLAGS += $(CCVERBOSE)
CPPFLAGS += -D_REENTRANT
-DYNFLAGS += -M$(MAPFILE) $(ZINTERPOSE)
+DYNFLAGS += $(ZINTERPOSE)
LDLIBS += -lc
.KEEP_STATE:
@@ -63,11 +60,6 @@ LDLIBS += -lc
lint:
$(LINT.c) $(SRCS) $(LDLIBS)
-$(DYNLIB): $(MAPFILE)
-
-$(MAPFILE):
- @cd $(MAPDIR); $(MAKE) mapfile
-
#
# create message catalogue files
#
diff --git a/usr/src/lib/libbsdmalloc/amd64/Makefile b/usr/src/lib/libbsdmalloc/amd64/Makefile
index 7ff22584fa..70e24a9a5d 100644
--- a/usr/src/lib/libbsdmalloc/amd64/Makefile
+++ b/usr/src/lib/libbsdmalloc/amd64/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,13 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-MAPDIR= ../spec/amd64
include ../Makefile.com
include ../../Makefile.lib.64
diff --git a/usr/src/lib/libbsdmalloc/common/mapfile-vers b/usr/src/lib/libbsdmalloc/common/mapfile-vers
new file mode 100644
index 0000000000..bc01ed38bf
--- /dev/null
+++ b/usr/src/lib/libbsdmalloc/common/mapfile-vers
@@ -0,0 +1,35 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNW_1.1 {
+ global:
+ free = NODIRECT;
+ malloc = NODIRECT;
+ realloc = NODIRECT;
+ local:
+ *;
+};
diff --git a/usr/src/lib/libbsdmalloc/i386/Makefile b/usr/src/lib/libbsdmalloc/i386/Makefile
index 42cbcd9748..2a944b0b43 100644
--- a/usr/src/lib/libbsdmalloc/i386/Makefile
+++ b/usr/src/lib/libbsdmalloc/i386/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,15 +19,12 @@
# CDDL HEADER END
#
#
-#ident "%Z%%M% %I% %E% SMI"
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libbsdmalloc/i386/Makefile
+# ident "%Z%%M% %I% %E% SMI"
#
-MAPDIR= ../spec/i386
include ../Makefile.com
.KEEP_STATE:
diff --git a/usr/src/lib/libbsdmalloc/sparc/Makefile b/usr/src/lib/libbsdmalloc/sparc/Makefile
index 5a4adb2fed..2a944b0b43 100644
--- a/usr/src/lib/libbsdmalloc/sparc/Makefile
+++ b/usr/src/lib/libbsdmalloc/sparc/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,15 +19,12 @@
# CDDL HEADER END
#
#
-#ident "%Z%%M% %I% %E% SMI"
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libbsdmalloc/sparc/Makefile
+# ident "%Z%%M% %I% %E% SMI"
#
-MAPDIR= ../spec/sparc
include ../Makefile.com
.KEEP_STATE:
diff --git a/usr/src/lib/libbsdmalloc/sparcv9/Makefile b/usr/src/lib/libbsdmalloc/sparcv9/Makefile
index 418310c88b..70e24a9a5d 100644
--- a/usr/src/lib/libbsdmalloc/sparcv9/Makefile
+++ b/usr/src/lib/libbsdmalloc/sparcv9/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,15 +19,12 @@
# CDDL HEADER END
#
#
-#ident "%Z%%M% %I% %E% SMI"
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libbsdmalloc/sparcv9/Makefile
+# ident "%Z%%M% %I% %E% SMI"
#
-MAPDIR= ../spec/sparcv9
include ../Makefile.com
include ../../Makefile.lib.64
diff --git a/usr/src/lib/libbsdmalloc/spec/Makefile b/usr/src/lib/libbsdmalloc/spec/Makefile
deleted file mode 100644
index f98f80264a..0000000000
--- a/usr/src/lib/libbsdmalloc/spec/Makefile
+++ /dev/null
@@ -1,30 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libbsdmalloc/spec/Makefile
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/libbsdmalloc/spec/Makefile.targ b/usr/src/lib/libbsdmalloc/spec/Makefile.targ
deleted file mode 100644
index 3ab2281464..0000000000
--- a/usr/src/lib/libbsdmalloc/spec/Makefile.targ
+++ /dev/null
@@ -1,35 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libbsdmalloc/spec/Makefile.targ
-
-LIBRARY = libbsdmalloc.a
-VERS = .1
-
-OBJECTS = bsdmalloc.o
-
-SPECCPP =
diff --git a/usr/src/lib/libbsdmalloc/spec/amd64/Makefile b/usr/src/lib/libbsdmalloc/spec/amd64/Makefile
deleted file mode 100644
index 2a38c1cba9..0000000000
--- a/usr/src/lib/libbsdmalloc/spec/amd64/Makefile
+++ /dev/null
@@ -1,42 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#amd64_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libbsdmalloc/spec/bsdmalloc.spec b/usr/src/lib/libbsdmalloc/spec/bsdmalloc.spec
deleted file mode 100644
index 4f5554e6bf..0000000000
--- a/usr/src/lib/libbsdmalloc/spec/bsdmalloc.spec
+++ /dev/null
@@ -1,45 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libbsdmalloc/spec/bsdmalloc.spec
-
-function free
-declaration int free(char *cp)
-version SUNW_1.1
-binding nodirect
-end
-
-function malloc
-declaration char *malloc(unsigned nbytes)
-version SUNW_1.1
-binding nodirect
-end
-
-function realloc
-declaration char *realloc(char *cp, unsigned nbytes)
-version SUNW_1.1
-binding nodirect
-end
diff --git a/usr/src/lib/libbsdmalloc/spec/i386/Makefile b/usr/src/lib/libbsdmalloc/spec/i386/Makefile
deleted file mode 100644
index 4e0939499f..0000000000
--- a/usr/src/lib/libbsdmalloc/spec/i386/Makefile
+++ /dev/null
@@ -1,42 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libbsdmalloc/spec/i386/Makefile
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#i386_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libbsdmalloc/spec/sparc/Makefile b/usr/src/lib/libbsdmalloc/spec/sparc/Makefile
deleted file mode 100644
index 3ded548f28..0000000000
--- a/usr/src/lib/libbsdmalloc/spec/sparc/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libbsdmalloc/spec/sparc/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#sparc_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libbsdmalloc/spec/sparcv9/Makefile b/usr/src/lib/libbsdmalloc/spec/sparcv9/Makefile
deleted file mode 100644
index 5c2d1e621e..0000000000
--- a/usr/src/lib/libbsdmalloc/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,43 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libbsdmalloc/spec/sparcv9/Makefile
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#sparcv9_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libbsdmalloc/spec/versions b/usr/src/lib/libbsdmalloc/spec/versions
deleted file mode 100644
index f7955484e7..0000000000
--- a/usr/src/lib/libbsdmalloc/spec/versions
+++ /dev/null
@@ -1,39 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-sparc {
- SUNW_1.1;
-}
-sparcv9 {
- SUNW_1.1;
-}
-i386 {
- SUNW_1.1;
-}
-amd64 {
- SUNW_1.1;
-}
diff --git a/usr/src/lib/libbsm/Makefile b/usr/src/lib/libbsm/Makefile
index 4cc23687a8..8ac6aba1a6 100644
--- a/usr/src/lib/libbsm/Makefile
+++ b/usr/src/lib/libbsm/Makefile
@@ -18,19 +18,17 @@
#
# CDDL HEADER END
#
-
#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libbsm/Makefile
-#
include ../Makefile.lib
-SUBDIRS= spec .WAIT $(MACH) $(BUILD64) $(MACH64)
+SUBDIRS = $(MACH)
+$(BUILD64)SUBDIRS += $(MACH64)
XGETFLAGS_ADT += -a
@@ -209,7 +207,7 @@ adt_xlate.po: $(COMMONDIR)/adt_xlate.c
$(SED) "/^domain/d" < messages.po > adt_xlate.po
$(RM) messages.po
-spec $(MACH) $(MACH64) : FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
diff --git a/usr/src/lib/libbsm/Makefile.com b/usr/src/lib/libbsm/Makefile.com
index 399ed7a3dd..3c0552c893 100644
--- a/usr/src/lib/libbsm/Makefile.com
+++ b/usr/src/lib/libbsm/Makefile.com
@@ -24,8 +24,6 @@
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libbsm/Makefile.com
-#
LIBRARY = libbsm.a
VERS = .1
@@ -81,9 +79,7 @@ include ../../Makefile.lib
# install this library in the root filesystem
include ../../Makefile.rootfs
-MAPFILE= $(MAPDIR)/mapfile
-
-SRCS= $(OBJECTS:%.o=../common/%.c)
+SRCDIR = ../common
LIBS = $(DYNLIB) $(LINTLIB)
@@ -93,10 +89,8 @@ ROOTLINTDIR= $(ROOTLIBDIR)
ROOTLINT= $(LINTSRC:%=$(ROOTLINTDIR)/%)
CLEANFILES += $(LINTOUT) $(LINTLIB)
-CLOBBERFILES += $(MAPFILE)
CFLAGS += $(CCVERBOSE)
-DYNFLAGS += -M$(MAPFILE)
LAZYLIBS = $(ZLAZYLOAD) -ltsol $(ZNOLAZYLOAD)
LDLIBS += -lsocket -lnsl -lmd -lc -lsecdb $(LAZYLIBS)
@@ -118,11 +112,6 @@ all: $(LIBS)
lint: lintcheck
-$(DYNLIB) $(DYNLIB64): $(MAPFILE)
-
-$(MAPFILE):
- @cd $(MAPDIR); pwd; $(MAKE) mapfile
-
# Include library targets
#
include ../../Makefile.targ
diff --git a/usr/src/lib/libbsm/amd64/Makefile b/usr/src/lib/libbsm/amd64/Makefile
index 55c713ccd0..2e8cdecf75 100644
--- a/usr/src/lib/libbsm/amd64/Makefile
+++ b/usr/src/lib/libbsm/amd64/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-MAPDIR= ../spec/amd64
-
include ../Makefile.com
include ../../Makefile.lib.64
diff --git a/usr/src/lib/libbsm/common/mapfile-vers b/usr/src/lib/libbsm/common/mapfile-vers
new file mode 100644
index 0000000000..9d65671255
--- /dev/null
+++ b/usr/src/lib/libbsm/common/mapfile-vers
@@ -0,0 +1,322 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNW_1.2 {
+ global:
+ au_to_arg32;
+ au_to_arg64;
+ au_to_process_ex;
+ au_to_return32;
+ au_to_return64;
+ au_to_subject_ex;
+ getaudit_addr;
+ setaudit_addr;
+} SUNW_1.1;
+
+# Due to mistakes made early in the history of this library, there are
+# no SUNW_1.1 symbols, but the version is now kept as a placeholder.
+# Don't add any symbols to this version.
+
+SUNW_1.1 {
+ global:
+ SUNW_1.1;
+} SUNW_0.8;
+
+SUNW_0.8 {
+ global:
+ au_to_newgroups;
+ getauclassent_r;
+ getauclassnam_r;
+ getauevent_r;
+ getauevnam_r;
+ getauevnum_r;
+ getauuserent_r;
+ getauusernam_r;
+} SUNW_0.7;
+
+SUNW_0.7 {
+ global:
+ au_close;
+ audit;
+ auditon;
+ auditsvc;
+ au_open;
+ au_preselect;
+ au_to_arg;
+ au_to_attr;
+ au_to_cmd;
+ au_to_data;
+ au_to_groups;
+ au_to_in_addr;
+ au_to_ipc;
+ au_to_iport;
+ au_to_me;
+ au_to_opaque;
+ au_to_path;
+ au_to_process;
+ au_to_return;
+ au_to_socket;
+ au_to_subject;
+ au_to_text;
+ au_user_mask;
+ au_write;
+ endac;
+ endauclass;
+ endauevent;
+ endauuser;
+ getacdir;
+ getacflg;
+ getacmin;
+ getacna;
+ getauclassent;
+ getauclassnam;
+ getaudit;
+ getauditflagsbin;
+ getauditflagschar;
+ getauevent;
+ getauevnam;
+ getauevnonam;
+ getauevnum;
+ getauid;
+ getauuserent;
+ getauusernam;
+ getfauditflags;
+ setac;
+ setauclass;
+ setauclassfile;
+ setaudit;
+ setauevent;
+ setaueventfile;
+ setauid;
+ setauuser;
+ setauuserfile;
+ testac;
+};
+
+SUNWprivate_1.1 {
+ global:
+ adr_char;
+ adr_count;
+ adrf_char;
+ adrf_int32;
+ adrf_int64;
+ adrf_peek;
+ adrf_short;
+ adrf_start;
+ adrf_u_char;
+ adrf_u_int32;
+ adrf_u_int64;
+ adrf_u_short;
+ adr_int32;
+ adr_int64;
+ adrm_char;
+ adrm_int32;
+ adrm_int64;
+ adrm_short;
+ adrm_start;
+ adrm_u_char;
+ adrm_u_int32;
+ adrm_u_int64;
+ adrm_u_short;
+ adr_short;
+ adr_start;
+ adt_alloc_event;
+ adt_audit_enabled;
+ adt_dup_session;
+ adt_end_session;
+ adt_export_session_data;
+ adt_free_event;
+ adt_get_asid;
+ adt_get_auid;
+ adt_get_mask;
+ adt_get_session_id;
+ adt_get_termid;
+ adt_import_proc;
+ adt_load_hostname;
+ adt_load_termid;
+ adt_load_ttyname;
+ adt_put_event;
+ adt_set_asid;
+ adt_set_auid;
+ adt_set_from_ucred;
+ adt_set_mask;
+ adt_set_proc;
+ adt_set_termid;
+ adt_set_user;
+ adt_start_session;
+ audit_allocate_argv;
+ audit_allocate_device;
+ audit_allocate_list;
+ audit_allocate_record;
+ audit_at_create;
+ audit_at_delete;
+ audit_cron_bad_user;
+ audit_cron_create_anc_file;
+ audit_cron_delete_anc_file;
+ audit_cron_is_anc_name;
+ audit_cron_mode;
+ audit_cron_new_job;
+ audit_cron_session;
+ audit_cron_setinfo;
+ audit_crontab_delete;
+ audit_crontab_modify;
+ audit_crontab_not_allowed;
+ audit_crontab_process_not_audited;
+ audit_cron_user_acct_expired;
+ __auditd_debug_file_open;
+ auditdoor;
+ __audit_dowarn;
+ __audit_dowarn2;
+ audit_ftpd_bad_pw;
+ audit_ftpd_excluded;
+ audit_ftpd_failure;
+ audit_ftpd_logout;
+ audit_ftpd_no_anon;
+ audit_ftpd_success;
+ audit_ftpd_unknown;
+ audit_halt_fail;
+ audit_halt_setup;
+ audit_halt_success;
+ audit_inetd_config;
+ audit_inetd_service;
+ audit_inetd_termid;
+ audit_kadmind_auth;
+ audit_kadmind_unauth;
+ audit_krb5kdc_as_req;
+ audit_krb5kdc_tgs_req;
+ audit_krb5kdc_tgs_req_2ndtktmm;
+ audit_krb5kdc_tgs_req_alt_tgt;
+ audit_mountd_mount;
+ audit_mountd_setup;
+ audit_mountd_umount;
+ audit_newgrp_login;
+ audit_reboot_fail;
+ audit_reboot_setup;
+ audit_reboot_success;
+ audit_rexd_fail;
+ audit_rexd_setup;
+ audit_rexd_success;
+ audit_rexecd_fail;
+ audit_rexecd_setup;
+ audit_rexecd_success;
+ audit_rshd_fail;
+ audit_rshd_setup;
+ audit_rshd_success;
+ audit_settid;
+ audit_shutdown_fail;
+ audit_shutdown_setup;
+ audit_shutdown_success;
+ __audit_syslog;
+ audit_uadmin_setup;
+ audit_uadmin_success;
+ aug_audit;
+ aug_get_machine;
+ aug_get_port;
+ aug_init;
+ aug_na_selected;
+ aug_save_afunc;
+ aug_save_asid;
+ aug_save_auid;
+ aug_save_egid;
+ aug_save_euid;
+ aug_save_event;
+ aug_save_gid;
+ aug_save_me;
+ aug_save_na;
+ aug_save_namask;
+ aug_save_path;
+ aug_save_pid;
+ aug_save_policy;
+ aug_save_sorf;
+ aug_save_text;
+ aug_save_tid;
+ aug_save_uid;
+ aug_selected;
+ au_to_exec_args;
+ au_to_exec_env;
+ au_to_exit;
+ au_to_fmri;
+ au_to_header;
+ au_to_header_ex;
+ au_to_label;
+ au_to_mylabel;
+ au_to_privset;
+ au_to_seq;
+ au_to_trailer;
+ au_to_uauth;
+ au_to_xatom;
+ au_to_xobj;
+ au_to_xproto;
+ au_to_xselect;
+ cacheauclass;
+ cacheauclassnam;
+ cacheauevent;
+ cannot_audit;
+ da_add_list;
+ da_check_logindevperm;
+ da_is_on;
+ da_open_devdb;
+ da_print_device;
+ da_remove_list;
+ da_update_defattrs;
+ da_update_device;
+ _endac;
+ enddadefent;
+ enddaent;
+ enddmapent;
+ freedadefent;
+ freedaent;
+ freedmapent;
+ _getacdir;
+ _getacflg;
+ _getacmin;
+ _getacna;
+ _getacplug;
+ getdadefent;
+ getdadeftype;
+ getdadmline;
+ getdaent;
+ getdanam;
+ getdatype;
+ getdevicerange;
+ getdmapdev;
+ getdmapdfield;
+ getdmapent;
+ getdmapfield;
+ getdmapnam;
+ getdmaptype;
+ __logpost;
+ _openac;
+ _rewindac;
+ setdadefent;
+ setdaent;
+ setdafile;
+ setdmapent;
+ setdmapfile;
+ local:
+ *;
+};
diff --git a/usr/src/lib/libbsm/i386/Makefile b/usr/src/lib/libbsm/i386/Makefile
index 960fe88587..a333224278 100644
--- a/usr/src/lib/libbsm/i386/Makefile
+++ b/usr/src/lib/libbsm/i386/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright 1995-2003 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# libbsm/i386/Makefile
-
-MAPDIR= ../spec/i386
include ../Makefile.com
diff --git a/usr/src/lib/libbsm/sparc/Makefile b/usr/src/lib/libbsm/sparc/Makefile
index ec82c1023d..a333224278 100644
--- a/usr/src/lib/libbsm/sparc/Makefile
+++ b/usr/src/lib/libbsm/sparc/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright 1995-2003 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# libbsm/sparc/Makefile
-
-MAPDIR= ../spec/sparc
include ../Makefile.com
diff --git a/usr/src/lib/libbsm/sparcv9/Makefile b/usr/src/lib/libbsm/sparcv9/Makefile
index e0fea439df..2e8cdecf75 100644
--- a/usr/src/lib/libbsm/sparcv9/Makefile
+++ b/usr/src/lib/libbsm/sparcv9/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright 1997-2003 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libbsm/sparcv9/Makefile
-
-MAPDIR= ../spec/sparcv9
include ../Makefile.com
include ../../Makefile.lib.64
diff --git a/usr/src/lib/libbsm/spec/Makefile b/usr/src/lib/libbsm/spec/Makefile
deleted file mode 100644
index 2ae23eeab1..0000000000
--- a/usr/src/lib/libbsm/spec/Makefile
+++ /dev/null
@@ -1,29 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1998-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libbsm/spec/Makefile
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/libbsm/spec/Makefile.targ b/usr/src/lib/libbsm/spec/Makefile.targ
deleted file mode 100644
index 1784ff6015..0000000000
--- a/usr/src/lib/libbsm/spec/Makefile.targ
+++ /dev/null
@@ -1,51 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-
-
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# lib/libbsm/spec/Makefile.targ
-
-LIBRARY = libbsm.a
-VERS = .1
-
-OBJECTS = au_open.o \
- au_preselect.o \
- au_to.o \
- au_user_mask.o \
- audit.o \
- auditon.o \
- auditsvc.o \
- devalloc.o \
- exceptions.o \
- getacinfo.o \
- getauclassent.o \
- getaudit.o \
- getauditflags.o \
- getauevent.o \
- getauid.o \
- getauusernam.o \
- getfauditflags.o \
- private.o
-
diff --git a/usr/src/lib/libbsm/spec/amd64/Makefile b/usr/src/lib/libbsm/spec/amd64/Makefile
deleted file mode 100644
index 453c0ea671..0000000000
--- a/usr/src/lib/libbsm/spec/amd64/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#amd64_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libbsm/spec/au_open.spec b/usr/src/lib/libbsm/spec/au_open.spec
deleted file mode 100644
index 129cc15828..0000000000
--- a/usr/src/lib/libbsm/spec/au_open.spec
+++ /dev/null
@@ -1,52 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libbsm/spec/au_open.spec
-
-function au_close
-include <bsm/libbsm.h>
-declaration int au_close(int d, int keep, short event)
-version SUNW_0.7
-errno
-exception $return == -1
-end
-
-function au_open
-include <bsm/libbsm.h>
-declaration int au_open(void)
-version SUNW_0.7
-errno
-exception $return == -1
-end
-
-function au_write
-include <bsm/libbsm.h>
-declaration int au_write(int d, token_t *m)
-version SUNW_0.7
-errno
-exception $return == -1
-end
-
diff --git a/usr/src/lib/libbsm/spec/au_preselect.spec b/usr/src/lib/libbsm/spec/au_preselect.spec
deleted file mode 100644
index 52b5483971..0000000000
--- a/usr/src/lib/libbsm/spec/au_preselect.spec
+++ /dev/null
@@ -1,37 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libbsm/spec/au_preselect.spec
-
-function au_preselect
-include <bsm/libbsm.h>
-declaration int au_preselect(au_event_t event, au_mask_t *mask_p, \
- int sorf, int flag)
-version SUNW_0.7
-errno
-exception ($return == -1)
-end
-
diff --git a/usr/src/lib/libbsm/spec/au_to.spec b/usr/src/lib/libbsm/spec/au_to.spec
deleted file mode 100644
index 43ca9f34cc..0000000000
--- a/usr/src/lib/libbsm/spec/au_to.spec
+++ /dev/null
@@ -1,192 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libbsm/spec/au_to.spec
-
-function au_to_arg32
-include <bsm/libbsm.h>
-declaration token_t *au_to_arg32(char n, char *text, uint32_t v)
-version SUNW_1.2
-exception ($return == 0)
-end
-
-function au_to_arg64
-include <bsm/libbsm.h>
-declaration token_t *au_to_arg64(char n, char *text, uint64_t v)
-version SUNW_1.2
-end
-
-function au_to_arg
-weak au_to_arg32
-version SUNW_0.7
-end
-
-function au_to_attr
-include <bsm/libbsm.h>
-declaration token_t *au_to_attr(struct vattr *attr)
-version SUNW_0.7
-exception ($return == 0)
-end
-
-function au_to_cmd
-include <bsm/libbsm.h>
-declaration token_t *au_to_cmd(uint_t Argc, char **Argv, char **envp)
-version SUNW_0.7
-exception ($return == 0)
-end
-
-function au_to_data
-include <bsm/libbsm.h>
-declaration token_t *au_to_data(char unit_print, char unit_type, \
- char unit_count, char *p)
-version SUNW_0.7
-exception ($return == 0)
-end
-
-function au_to_groups
-include <bsm/libbsm.h>
-declaration token_t *au_to_groups(int *groups)
-version SUNW_0.7
-exception ($return == 0)
-end
-
-function au_to_in_addr
-include <bsm/libbsm.h>
-declaration token_t *au_to_in_addr(struct in_addr *internet_addr)
-version SUNW_0.7
-exception ($return == 0)
-end
-
-function au_to_ipc
-include <bsm/libbsm.h>
-declaration token_t *au_to_ipc(char type, int id)
-version SUNW_0.7
-exception ($return == 0)
-end
-
-function au_to_iport
-include <bsm/libbsm.h>
-declaration token_t *au_to_iport(ushort_t iport)
-version SUNW_0.7
-exception ($return == 0)
-end
-
-function au_to_me
-include <bsm/libbsm.h>
-declaration token_t *au_to_me(void)
-version SUNW_0.7
-exception ($return == 0)
-end
-
-function au_to_newgroups
-include <bsm/libbsm.h>
-declaration token_t *au_to_newgroups(int n, gid_t *groups)
-version SUNW_0.8
-exception ($return == 0)
-end
-
-function au_to_opaque
-include <bsm/libbsm.h>
-declaration token_t *au_to_opaque(char *data, short bytes)
-version SUNW_0.7
-exception ($return == 0)
-end
-
-function au_to_path
-include <bsm/libbsm.h>
-declaration token_t *au_to_path(char *path)
-version SUNW_0.7
-exception ($return == 0)
-end
-
-function au_to_process
-include <bsm/libbsm.h>
-declaration token_t *au_to_process (au_id_t auid, uid_t euid, \
- gid_t egid, uid_t ruid, gid_t rgid, pid_t pid, \
- au_asid_t sid, au_tid_t *tid)
-version SUNW_0.7
-exception ($return == 0)
-end
-
-function au_to_process_ex
-include <bsm/libbsm.h>
-declaration token_t *au_to_process_ex (au_id_t auid, uid_t euid, \
- gid_t egid, uid_t ruid, gid_t rgid, pid_t pid, \
- au_asid_t sid, au_tid_addr_t *tid )
-version SUNW_1.2
-exception ($return == 0)
-end
-
-function au_to_return32
-include <bsm/libbsm.h>
-declaration token_t *au_to_return32(char number, uint32_t value)
-version SUNW_1.2
-exception ($return == 0)
-end
-
-function au_to_return64
-include <bsm/libbsm.h>
-declaration token_t *au_to_return64(char number, uint64_t value)
-version SUNW_1.2
-exception ($return == 0)
-end
-
-function au_to_return
-weak au_to_return32
-version SUNW_0.7
-end
-
-function au_to_socket
-include <bsm/libbsm.h>
-declaration token_t *au_to_socket(struct oldsocket *so);
-version SUNW_0.7
-exception ($return == 0)
-end
-
-function au_to_subject
-include <bsm/libbsm.h>
-declaration token_t *au_to_subject(au_id_t auid, uid_t euid, \
- gid_t egid, uid_t ruid, gid_t rgid, pid_t pid, \
- au_asid_t sid, au_tid_t *tid )
-version SUNW_0.7
-exception ($return == 0)
-end
-
-function au_to_subject_ex
-include <bsm/libbsm.h>
-declaration token_t *au_to_subject_ex(au_id_t auid, uid_t euid, \
- gid_t egid, uid_t ruid, gid_t rgid, pid_t pid, \
- au_asid_t sid, au_tid_addr_t *tid )
-version SUNW_1.2
-exception ($return == 0)
-end
-
-function au_to_text
-include <bsm/libbsm.h>
-declaration token_t *au_to_text(char *text);
-version SUNW_0.7
-exception ($return == 0)
-end
diff --git a/usr/src/lib/libbsm/spec/au_user_mask.spec b/usr/src/lib/libbsm/spec/au_user_mask.spec
deleted file mode 100644
index bd638a618e..0000000000
--- a/usr/src/lib/libbsm/spec/au_user_mask.spec
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libbsm/spec/au_user_mask.spec
-
-function au_user_mask
-include <bsm/libbsm.h>
-declaration int au_user_mask( char *username, au_mask_t *mask_p)
-version SUNW_0.7
-errno
-exception $return == -1
-end
-
diff --git a/usr/src/lib/libbsm/spec/audit.spec b/usr/src/lib/libbsm/spec/audit.spec
deleted file mode 100644
index 10fda9ad3d..0000000000
--- a/usr/src/lib/libbsm/spec/audit.spec
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libbsm/spec/audit.spec
-
-function audit
-include <sys/param.h>, <bsm/audit.h>
-declaration int audit( caddr_t record, int length)
-version SUNW_0.7
-errno EFAULT EINVAL EPERM
-exception $return == -1
-end
-
diff --git a/usr/src/lib/libbsm/spec/auditon.spec b/usr/src/lib/libbsm/spec/auditon.spec
deleted file mode 100644
index a67641ed47..0000000000
--- a/usr/src/lib/libbsm/spec/auditon.spec
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libbsm/spec/auditon.spec
-
-function auditon
-include <sys/param.h>, <bsm/audit.h>
-declaration int auditon(int cmd, caddr_t data, int length)
-version SUNW_0.7
-errno EFAULT EINVAL EPERM
-exception $return == -1
-end
-
diff --git a/usr/src/lib/libbsm/spec/auditsvc.spec b/usr/src/lib/libbsm/spec/auditsvc.spec
deleted file mode 100644
index dde14b3c6c..0000000000
--- a/usr/src/lib/libbsm/spec/auditsvc.spec
+++ /dev/null
@@ -1,37 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libbsm/spec/auditsvc.spec
-
-function auditsvc
-include <sys/param.h>, <bsm/audit.h>
-declaration int auditsvc( int fd, int limit)
-version SUNW_0.7
-errno EAGAIN EBADF EBUSY EFBIG EINTR EINVAL EIO ENOSPC \
- ENXIO EPERM EWOULDBLOCK
-exception $return == -1
-end
-
diff --git a/usr/src/lib/libbsm/spec/devalloc.spec b/usr/src/lib/libbsm/spec/devalloc.spec
deleted file mode 100644
index 3861d93b6c..0000000000
--- a/usr/src/lib/libbsm/spec/devalloc.spec
+++ /dev/null
@@ -1,220 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-
-#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libbsm/spec/devalloc.spec
-
-function getdadmline
-include <bsm/devices.h>
-declaration int getdadmline(char *, int, FILE *)
-version SUNWprivate_1.1
-end
-
-function getdmapdfield
-include <bsm/devices.h>
-declaration char *getdmapdfield(char *)
-version SUNWprivate_1.1
-end
-
-function setdaent
-include <bsm/devices.h>
-declaration void setdaent(void)
-version SUNWprivate_1.1
-end
-
-function enddaent
-include <bsm/devices.h>
-declaration void enddaent(void)
-version SUNWprivate_1.1
-end
-
-function setdafile
-include <bsm/devices.h>
-declaration void setdafile(char *)
-version SUNWprivate_1.1
-end
-
-function freedaent
-include <bsm/devices.h>
-declaration void freedaent(devalloc_t *)
-version SUNWprivate_1.1
-end
-
-function getdaent
-include <bsm/devices.h>
-declaration devalloc_t *getdaent(void)
-version SUNWprivate_1.1
-end
-
-function getdanam
-include <bsm/devices.h>
-declaration devalloc_t *getdanam(char *)
-version SUNWprivate_1.1
-end
-
-function getdatype
-include <bsm/devices.h>
-declaration devalloc_t *getdatype(char *)
-version SUNWprivate_1.1
-end
-
-function setdmapent
-include <bsm/devices.h>
-declaration void setdmapent(void)
-version SUNWprivate_1.1
-end
-
-function enddmapent
-include <bsm/devices.h>
-declaration void enddmapent(void)
-version SUNWprivate_1.1
-end
-
-function setdmapfile
-include <bsm/devices.h>
-declaration void setdmapfile(char *)
-version SUNWprivate_1.1
-end
-
-function freedmapent
-include <bsm/devices.h>
-declaration void freedmapent(devmap_t *)
-version SUNWprivate_1.1
-end
-
-function getdmapent
-include <bsm/devices.h>
-declaration devmap_t *getdmapent(void)
-version SUNWprivate_1.1
-end
-
-function getdmapnam
-include <bsm/devices.h>
-declaration devmap_t *getdmapnam(char *)
-version SUNWprivate_1.1
-end
-
-function getdmapdev
-include <bsm/devices.h>
-declaration devmap_t *getdmapdev(char *)
-version SUNWprivate_1.1
-end
-
-function getdmaptype
-include <bsm/devices.h>
-declaration devmap_t *getdmaptype(char *)
-version SUNWprivate_1.1
-end
-
-function getdmapfield
-include <bsm/devices.h>
-declaration char *getdmapfield(char *)
-version SUNWprivate_1.1
-end
-
-function setdadefent
-include <bsm/devalloc.h>
-declaration void setdadefent(void)
-version SUNWprivate_1.1
-end
-
-function enddadefent
-include <bsm/devalloc.h>
-declaration void enddadefent(void)
-version SUNWprivate_1.1
-end
-
-function freedadefent
-include <bsm/devalloc.h>
-declaration void freedadefent(da_defs_t *)
-version SUNWprivate_1.1
-end
-
-function getdadefent
-include <bsm/devalloc.h>
-declaration da_defs_t *getdadefent(void)
-version SUNWprivate_1.1
-end
-
-function getdadeftype
-include <bsm/devalloc.h>
-declaration da_defs_t *getdadeftype(char *)
-version SUNWprivate_1.1
-end
-
-function da_is_on
-include <bsm/devalloc.h>
-declaration int da_is_on(void)
-version SUNWprivate_1.1
-end
-
-function da_check_logindevperm
-include <bsm/devalloc.h>
-declaration int da_check_logindevperm(char *)
-version SUNWprivate_1.1
-end
-
-function da_open_devdb
-include <bsm/devalloc.h>
-declaration int da_open_devdb(char *, FILE **, FILE **, int)
-version SUNWprivate_1.1
-end
-
-function da_update_device
-include <bsm/devalloc.h>
-declaration int da_update_device(da_args *)
-version SUNWprivate_1.1
-end
-
-function da_update_defattrs
-include <bsm/devalloc.h>
-declaration int da_update_defattrs(da_args *)
-version SUNWprivate_1.1
-end
-
-function da_add_list
-include <bsm/devalloc.h>
-declaration int da_add_list(devlist_t *, char *, int, int)
-version SUNWprivate_1.1
-end
-
-function da_remove_list
-include <bsm/devalloc.h>
-declaration int da_remove_list(devlist_t *, char *, int, char *, int)
-version SUNWprivate_1.1
-end
-
-function da_print_device
-include <bsm/devalloc.h>
-declaration void da_print_device(int, devlist_t *)
-version SUNWprivate_1.1
-end
-
-function getdevicerange
-include <sys/tsol/label.h> <bsm/devices.h>
-declaration int getdevicerange(const char *, brange_t *);
-version SUNWprivate_1.1
-end
diff --git a/usr/src/lib/libbsm/spec/exceptions.spec b/usr/src/lib/libbsm/spec/exceptions.spec
deleted file mode 100644
index 698d9dc79e..0000000000
--- a/usr/src/lib/libbsm/spec/exceptions.spec
+++ /dev/null
@@ -1,48 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libbsm/spec/exceptions.spec
-
-function setauclassfile
-declaration int setauclassfile(char *fname)
-version SUNW_0.7
-end
-
-function setaueventfile
-declaration int setaueventfile(char *fname)
-version SUNW_0.7
-end
-
-function setauuserfile
-declaration int setauuserfile(char *fname)
-version SUNW_0.7
-end
-
-function testac
-declaration int testac(void)
-version SUNW_0.7
-end
-
diff --git a/usr/src/lib/libbsm/spec/getacinfo.spec b/usr/src/lib/libbsm/spec/getacinfo.spec
deleted file mode 100644
index 96d91a5564..0000000000
--- a/usr/src/lib/libbsm/spec/getacinfo.spec
+++ /dev/null
@@ -1,74 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libbsm/spec/getacinfo.spec
-
-function getacdir
-include <bsm/libbsm.h>
-declaration int getacdir( char *dir, int len)
-version SUNW_0.7
-errno
-exception ($return == -1 || $return == -2 || $return == -3 )
-end
-
-function getacmin
-include <bsm/libbsm.h>
-declaration int getacmin( int *min_val)
-version SUNW_0.7
-errno
-exception ($return == -2 || $return == -3 )
-end
-
-function getacflg
-include <bsm/libbsm.h>
-declaration int getacflg( char *auditstring, int len)
-version SUNW_0.7
-errno
-exception ($return == -2 || $return == -3 )
-end
-
-function getacna
-include <bsm/libbsm.h>
-declaration int getacna( char *auditstring, int len)
-version SUNW_0.7
-errno
-exception ($return == -2 || $return == -3 )
-end
-
-function setac
-include <bsm/libbsm.h>
-declaration void setac( void)
-version SUNW_0.7
-errno
-end
-
-function endac
-include <bsm/libbsm.h>
-declaration void endac( void)
-version SUNW_0.7
-errno
-end
-
diff --git a/usr/src/lib/libbsm/spec/getauclassent.spec b/usr/src/lib/libbsm/spec/getauclassent.spec
deleted file mode 100644
index da298b8799..0000000000
--- a/usr/src/lib/libbsm/spec/getauclassent.spec
+++ /dev/null
@@ -1,75 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libbsm/spec/getauclassent.spec
-
-function getauclassnam
-include <sys/param.h>, <bsm/libbsm.h>
-declaration struct au_class_ent *getauclassnam(char *name)
-version SUNW_0.7
-errno
-exception ($return == 0)
-end
-
-function getauclassnam_r
-include <sys/param.h>, <bsm/libbsm.h>
-declaration struct au_class_ent *getauclassnam_r( \
- au_class_ent_t *class_int, char *name)
-version SUNW_0.8
-errno
-exception ($return == 0)
-end
-
-function getauclassent
-include <sys/param.h>, <bsm/libbsm.h>
-declaration struct au_class_ent *getauclassent( void)
-version SUNW_0.7
-errno
-exception ($return == 0)
-end
-
-function getauclassent_r
-include <sys/param.h>, <bsm/libbsm.h>
-declaration struct au_class_ent *getauclassent_r( \
- au_class_ent_t * class_int)
-version SUNW_0.8
-errno
-exception ($return == 0)
-end
-
-function setauclass
-include <sys/param.h>, <bsm/libbsm.h>
-declaration void setauclass(void)
-version SUNW_0.7
-errno
-end
-
-function endauclass
-include <sys/param.h>, <bsm/libbsm.h>
-declaration void endauclass(void)
-version SUNW_0.7
-errno
-end
diff --git a/usr/src/lib/libbsm/spec/getaudit.spec b/usr/src/lib/libbsm/spec/getaudit.spec
deleted file mode 100644
index 430a5ab920..0000000000
--- a/usr/src/lib/libbsm/spec/getaudit.spec
+++ /dev/null
@@ -1,60 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libbsm/spec/getaudit.spec
-
-function getaudit
-include <sys/param.h>, <bsm/audit.h>
-declaration int getaudit(struct auditinfo *info)
-version SUNW_0.7
-errno EFAULT EPERM EOVERFLOW
-exception $return == -1
-end
-
-function setaudit
-include <sys/param.h>, <bsm/audit.h>
-declaration int setaudit(struct auditinfo *info)
-version SUNW_0.7
-errno EFAULT EPERM
-exception $return == -1
-end
-
-function getaudit_addr
-include <sys/param.h>, <bsm/audit.h>
-declaration int getaudit_addr(struct auditinfo_addr *info, int len)
-version SUNW_1.2
-errno EFAULT EPERM
-exception $return == -1
-end
-
-function setaudit_addr
-include <sys/param.h>, <bsm/audit.h>
-declaration int setaudit_addr(struct auditinfo_addr *info, int len)
-version SUNW_1.2
-errno EFAULT EPERM
-exception $return == -1
-end
-
diff --git a/usr/src/lib/libbsm/spec/getauditflags.spec b/usr/src/lib/libbsm/spec/getauditflags.spec
deleted file mode 100644
index ad1b2d8d22..0000000000
--- a/usr/src/lib/libbsm/spec/getauditflags.spec
+++ /dev/null
@@ -1,45 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libbsm/spec/getauditflags.spec
-
-function getauditflagsbin
-include <sys/param.h>, <bsm/libbsm.h>
-declaration int getauditflagsbin(char *auditstring, au_mask_t *masks)
-version SUNW_0.7
-errno
-exception $return == -1
-end
-
-function getauditflagschar
-include <sys/param.h>, <bsm/libbsm.h>
-declaration int getauditflagschar(char *auditstring, \
- au_mask_t *masks, int verbose)
-version SUNW_0.7
-errno
-exception $return == -1
-end
-
diff --git a/usr/src/lib/libbsm/spec/getauevent.spec b/usr/src/lib/libbsm/spec/getauevent.spec
deleted file mode 100644
index 3d55cb9cb7..0000000000
--- a/usr/src/lib/libbsm/spec/getauevent.spec
+++ /dev/null
@@ -1,87 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libbsm/spec/getauevent.spec
-
-function getauevent
-include <sys/param.h>, <bsm/libbsm.h>
-declaration struct au_event_ent *getauevent(void)
-version SUNW_0.7
-exception ($return == 0)
-end
-
-function getauevnam
-include <sys/param.h>, <bsm/libbsm.h>
-declaration struct au_event_ent *getauevnam(char *name)
-version SUNW_0.7
-exception ($return == 0)
-end
-
-function getauevnum
-include <sys/param.h>, <bsm/libbsm.h>
-declaration struct au_event_ent *getauevnum(au_event_t event_number)
-version SUNW_0.7
-exception ($return == 0)
-end
-
-function getauevnonam
-include <sys/param.h>, <bsm/libbsm.h>
-declaration au_event_t getauevnonam(char *event_name)
-version SUNW_0.7
-end
-
-function setauevent
-include <sys/param.h>, <bsm/libbsm.h>
-declaration void setauevent(void)
-version SUNW_0.7
-end
-
-function endauevent
-include <sys/param.h>, <bsm/libbsm.h>
-declaration void endauevent(void)
-version SUNW_0.7
-end
-
-function getauevent_r
-include <sys/param.h>, <bsm/libbsm.h>
-declaration struct au_event_ent *getauevent_r(au_event_ent_t *e)
-version SUNW_0.8
-exception ($return == 0)
-end
-
-function getauevnam_r
-include <sys/param.h>, <bsm/libbsm.h>
-declaration struct au_event_ent *getauevnam_r(au_event_ent_t *e, char *name)
-version SUNW_0.8
-end
-
-function getauevnum_r
-include <sys/param.h>, <bsm/libbsm.h>
-declaration struct au_event_ent *getauevnum_r(au_event_ent_t *e, \
- au_event_t event_number)
-version SUNW_0.8
-exception ($return == 0)
-end
diff --git a/usr/src/lib/libbsm/spec/getauid.spec b/usr/src/lib/libbsm/spec/getauid.spec
deleted file mode 100644
index 3ada4b5850..0000000000
--- a/usr/src/lib/libbsm/spec/getauid.spec
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libbsm/spec/getauid.spec
-
-function getauid
-include <sys/param.h>, <bsm/audit.h>
-declaration int getauid( au_id_t *auid)
-version SUNW_0.7
-errno EFAULT EPERM
-exception $return == -1
-end
-
-function setauid
-include <sys/param.h>, <bsm/audit.h>
-declaration int setauid( au_id_t *auid)
-version SUNW_0.7
-errno EFAULT EPERM
-exception $return == -1
-end
-
diff --git a/usr/src/lib/libbsm/spec/getauusernam.spec b/usr/src/lib/libbsm/spec/getauusernam.spec
deleted file mode 100644
index dc06840629..0000000000
--- a/usr/src/lib/libbsm/spec/getauusernam.spec
+++ /dev/null
@@ -1,73 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libbsm/spec/getauusernam.spec
-
-function getauusernam
-include <sys/param.h>
-include <bsm/libbsm.h>
-declaration struct au_user_ent *getauusernam(char *name)
-version SUNW_0.7
-exception ($return == 0)
-end
-
-function getauuserent
-include <sys/param.h>
-include <bsm/libbsm.h>
-declaration struct au_user_ent *getauuserent(void)
-version SUNW_0.7
-exception ($return == 0)
-end
-
-function setauuser
-include <sys/param.h>
-include <bsm/libbsm.h>
-declaration void setauuser(void)
-version SUNW_0.7
-end
-
-function endauuser
-include <sys/param.h>
-include <bsm/libbsm.h>
-declaration void endauuser(void)
-version SUNW_0.7
-end
-
-function getauusernam_r
-include <sys/param.h>
-include <bsm/libbsm.h>
-declaration struct au_user_ent *getauusernam_r(au_user_ent_t *u, char *name)
-version SUNW_0.8
-exception ($return == 0)
-end
-
-function getauuserent_r
-include <sys/param.h>
-include <bsm/libbsm.h>
-declaration struct au_user_ent *getauuserent_r(au_user_ent_t *u)
-version SUNW_0.8
-exception ($return == 0)
-end
diff --git a/usr/src/lib/libbsm/spec/getfauditflags.spec b/usr/src/lib/libbsm/spec/getfauditflags.spec
deleted file mode 100644
index 9dbaba8341..0000000000
--- a/usr/src/lib/libbsm/spec/getfauditflags.spec
+++ /dev/null
@@ -1,37 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libbsm/spec/getfauditflags.spec
-
-function getfauditflags
-include <sys/param.h>, <bsm/libbsm.h>
-declaration int getfauditflags(au_mask_t *usremasks, \
- au_mask_t *usrdmasks, au_mask_t *lastmasks)
-version SUNW_0.7
-errno
-exception $return == -1
-end
-
diff --git a/usr/src/lib/libbsm/spec/i386/Makefile b/usr/src/lib/libbsm/spec/i386/Makefile
deleted file mode 100644
index c7d5274776..0000000000
--- a/usr/src/lib/libbsm/spec/i386/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1998-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libadm/spec/i386/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#i386_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libbsm/spec/private.spec b/usr/src/lib/libbsm/spec/private.spec
deleted file mode 100644
index fb0fbe9452..0000000000
--- a/usr/src/lib/libbsm/spec/private.spec
+++ /dev/null
@@ -1,1054 +0,0 @@
-#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libbsm/spec/private.spec
-
-function adr_char
-include <sys/types.h>, <bsm/audit.h>, <bsm/libbsm.h>, <bsm/audit_record.h>, <bsm/devices.h>, <pwd.h>
-declaration void adr_char(adr_t *adr, char *cp, int count);
-version SUNWprivate_1.1
-end
-
-function adr_count
-include <sys/types.h>, <bsm/audit.h>, <bsm/libbsm.h>, <bsm/audit_record.h>, <bsm/devices.h>, <pwd.h>
-declaration int adr_count(adr_t *adr)
-version SUNWprivate_1.1
-end
-
-function adr_int32
-include <sys/types.h>, <bsm/audit.h>, <bsm/libbsm.h>, <bsm/audit_record.h>, <bsm/devices.h>, <pwd.h>
-declaration void adr_int32(adr_t *adr, int32_t *lp, int count)
-version SUNWprivate_1.1
-end
-
-function adr_int64
-include <sys/types.h>, <bsm/audit.h>, <bsm/libbsm.h>, <bsm/audit_record.h>, <bsm/devices.h>, <pwd.h>
-declaration void adr_int64(adr_t *adr, int64_t *lp, int count)
-version SUNWprivate_1.1
-end
-
-function adr_short
-include <sys/types.h>, <bsm/audit.h>, <bsm/libbsm.h>, <bsm/audit_record.h>, <bsm/devices.h>, <pwd.h>
-declaration void adr_short(adr_t *adr, short *sp, int count)
-version SUNWprivate_1.1
-end
-
-function adr_start
-include <sys/types.h>, <bsm/audit.h>, <bsm/libbsm.h>, <bsm/audit_record.h>, <bsm/devices.h>, <pwd.h>
-declaration void adr_start(adr_t *adr, char *p)
-version SUNWprivate_1.1
-end
-
-function adrf_char
-include <sys/types.h>, <bsm/audit.h>, <bsm/libbsm.h>, <bsm/audit_record.h>, <bsm/devices.h>, <pwd.h>
-declaration int adrf_char(adrf_t *adrf, char *cp, int count)
-version SUNWprivate_1.1
-end
-
-function adrf_int32
-include <sys/types.h>, <bsm/audit.h>, <bsm/libbsm.h>, <bsm/audit_record.h>, <bsm/devices.h>, <pwd.h>
-declaration int adrf_int32(adrf_t *adrf, int32_t *cp, int count)
-version SUNWprivate_1.1
-end
-
-function adrf_int64
-include <sys/types.h>, <bsm/audit.h>, <bsm/libbsm.h>, <bsm/audit_record.h>, <bsm/devices.h>, <pwd.h>
-declaration int adrf_int64(adrf_t *adrf, int64_t *lp, int count)
-version SUNWprivate_1.1
-end
-
-function adrf_peek
-include <sys/types.h>, <bsm/audit.h>, <bsm/libbsm.h>, <bsm/audit_record.h>, <bsm/devices.h>, <pwd.h>
-declaration int adrf_peek(adrf_t *adrf)
-version SUNWprivate_1.1
-end
-
-function adrf_short
-include <sys/types.h>, <bsm/audit.h>, <bsm/libbsm.h>, <bsm/audit_record.h>, <bsm/devices.h>, <pwd.h>
-declaration int adrf_short(adrf_t *adrf, short *sp, int count)
-version SUNWprivate_1.1
-end
-
-function adrf_start
-include <sys/types.h>, <bsm/audit.h>, <bsm/libbsm.h>, <bsm/audit_record.h>, <bsm/devices.h>, <pwd.h>
-declaration void adrf_start(adrf_t *adrf, adr_t *adr, FILE *fp)
-version SUNWprivate_1.1
-end
-
-function adrf_u_char
-include <sys/types.h>, <bsm/audit.h>, <bsm/libbsm.h>, <bsm/audit_record.h>, <bsm/devices.h>, <pwd.h>
-declaration int adrf_u_char(adrf_t *adrf, uchar_t *cp, int count)
-version SUNWprivate_1.1
-end
-
-function adrf_u_int32
-include <sys/types.h>, <bsm/audit.h>, <bsm/libbsm.h>, <bsm/audit_record.h>, <bsm/devices.h>, <pwd.h>
-declaration int adrf_u_int32(adrf_t *adrf, uint32_t *cp, int count)
-version SUNWprivate_1.1
-end
-
-function adrf_u_int64
-include <sys/types.h>, <bsm/audit.h>, <bsm/libbsm.h>, <bsm/audit_record.h>, <bsm/devices.h>, <pwd.h>
-declaration int adrf_u_int64(adrf_t *adrf, uint64_t *lp, int count)
-version SUNWprivate_1.1
-end
-
-function adrf_u_short
-include <sys/types.h>, <bsm/audit.h>, <bsm/libbsm.h>, <bsm/audit_record.h>, <bsm/devices.h>, <pwd.h>
-declaration int adrf_u_short(adrf_t *adrf, ushort_t *sp, int count)
-version SUNWprivate_1.1
-end
-
-function adrm_char
-include <sys/types.h>, <bsm/audit.h>, <bsm/libbsm.h>, <bsm/audit_record.h>, <bsm/devices.h>, <pwd.h>
-declaration void adrm_char(adr_t *adr, char *cp, int count)
-version SUNWprivate_1.1
-end
-
-function adrm_int32
-include <sys/types.h>, <bsm/audit.h>, <bsm/libbsm.h>, <bsm/audit_record.h>, <bsm/devices.h>, <pwd.h>
-declaration void adrm_int32(adr_t *adr, int32_t *cp, int count)
-version SUNWprivate_1.1
-end
-
-function adrm_int64
-include <sys/types.h>, <bsm/audit.h>, <bsm/libbsm.h>, <bsm/audit_record.h>, <bsm/devices.h>, <pwd.h>
-declaration void adrm_int64(adr_t *adr, int64_t *lp, int count)
-version SUNWprivate_1.1
-end
-
-function adrm_short
-include <sys/types.h>, <bsm/audit.h>, <bsm/libbsm.h>, <bsm/audit_record.h>, <bsm/devices.h>, <pwd.h>
-declaration void adrm_short(adr_t *adr, short *sp, int count)
-version SUNWprivate_1.1
-end
-
-function adrm_start
-include <sys/types.h>, <bsm/audit.h>, <bsm/libbsm.h>, <bsm/audit_record.h>, <bsm/devices.h>, <pwd.h>
-declaration void adrm_start(adr_t *adr, char *p)
-version SUNWprivate_1.1
-end
-
-function adrm_u_char
-include <sys/types.h>, <bsm/audit.h>, <bsm/libbsm.h>, <bsm/audit_record.h>, <bsm/devices.h>, <pwd.h>
-declaration void adrm_u_char(adr_t *adr, uchar_t *cp, int count)
-version SUNWprivate_1.1
-end
-
-function adrm_u_int32
-include <sys/types.h>, <bsm/audit.h>, <bsm/libbsm.h>, <bsm/audit_record.h>, <bsm/devices.h>, <pwd.h>
-declaration void adrm_u_int32(adr_t *adr, uint32_t *cp, int count)
-version SUNWprivate_1.1
-end
-
-function adrm_u_int64
-include <sys/types.h>, <bsm/audit.h>, <bsm/libbsm.h>, <bsm/audit_record.h>, <bsm/devices.h>, <pwd.h>
-declaration void adrm_u_int64(adr_t *adr, uint64_t *cp, int count)
-version SUNWprivate_1.1
-end
-
-function adrm_u_short
-include <sys/types.h>, <bsm/audit.h>, <bsm/libbsm.h>, <bsm/audit_record.h>, <bsm/devices.h>, <pwd.h>
-declaration void adrm_u_short(adr_t *adr, ushort_t *sp, int count)
-version SUNWprivate_1.1
-end
-
-function au_to_exec_args
-include <sys/types.h>, <bsm/audit.h>, <bsm/libbsm.h>, <bsm/audit_record.h>, <bsm/devices.h>, <pwd.h>
-declaration token_t *au_to_exec_args(char **argv)
-version SUNWprivate_1.1
-end
-
-function au_to_exec_env
-include <sys/types.h>, <bsm/audit.h>, <bsm/libbsm.h>, <bsm/audit_record.h>, <bsm/devices.h>, <pwd.h>
-declaration token_t *au_to_exec_env(char **envp)
-version SUNWprivate_1.1
-end
-
-function au_to_exit
-include <sys/types.h>, <bsm/audit.h>, <bsm/libbsm.h>, <bsm/audit_record.h>, <bsm/devices.h>, <pwd.h>
-declaration token_t *au_to_exit(int retval, int err)
-version SUNWprivate_1.1
-end
-
-function au_to_header
-include <sys/types.h>, <bsm/audit.h>, <bsm/libbsm.h>, <bsm/audit_record.h>, <bsm/devices.h>, <pwd.h>
-declaration token_t *au_to_header(au_event_t e_type, au_emod_t e_mod)
-version SUNWprivate_1.1
-end
-
-function au_to_header_ex
-include <sys/types.h>, <bsm/audit.h>, <bsm/libbsm.h>, <bsm/audit_record.h>, <bsm/devices.h>, <pwd.h>
-declaration token_t *au_to_header_ex(au_event_t e_type, au_emod_t e_mod)
-version SUNWprivate_1.1
-end
-
-function au_to_seq
-include <sys/types.h>, <bsm/audit.h>, <bsm/libbsm.h>, <bsm/audit_record.h>, <bsm/devices.h>, <pwd.h>
-declaration token_t *au_to_seq(int audit_count)
-version SUNWprivate_1.1
-end
-
-function au_to_trailer
-include <sys/types.h>, <bsm/audit.h>, <bsm/libbsm.h>, <bsm/audit_record.h>, <bsm/devices.h>, <pwd.h>
-declaration token_t *au_to_trailer(void)
-version SUNWprivate_1.1
-end
-
-function au_to_xatom
-include <sys/types.h>, <bsm/audit.h>, <bsm/libbsm.h>, <bsm/audit_record.h>, <bsm/devices.h>, <pwd.h>
-declaration token_t *au_to_xatom(ushort_t len, char *atom)
-version SUNWprivate_1.1
-end
-
-function au_to_xobj
-include <sys/types.h>, <bsm/audit.h>, <bsm/libbsm.h>, <bsm/audit_record.h>, <bsm/devices.h>, <pwd.h>
-declaration token_t *au_to_xobj(int oid, int xid, int cuid)
-version SUNWprivate_1.1
-end
-
-function au_to_xproto
-include <sys/types.h>, <bsm/audit.h>, <bsm/libbsm.h>, <bsm/audit_record.h>, <bsm/devices.h>, <pwd.h>
-declaration token_t *au_to_xproto(pid_t pid)
-version SUNWprivate_1.1
-end
-
-function au_to_xselect
-include <sys/types.h>, <bsm/audit.h>, <bsm/libbsm.h>, <bsm/audit_record.h>, <bsm/devices.h>, <pwd.h>
-declaration token_t *au_to_xselect(char *pstring, char *type, \
- short dlen, char *data)
-version SUNWprivate_1.1
-end
-
-function au_to_mylabel
-include <sys/types.h>, <bsm/audit.h>, <bsm/libbsm.h>, <bsm/audit_record.h>, <bsm/devices.h>, <pwd.h>
-declaration token_t *au_to_mylabel(void)
-version SUNWprivate_1.1
-end
-
-function au_to_label
-include <sys/types.h>, <bsm/audit.h>, <bsm/libbsm.h>, <bsm/audit_record.h>, <bsm/devices.h>, <pwd.h>
-declaration token_t *au_to_label(m_label_t *label)
-version SUNWprivate_1.1
-end
-
-function audit_allocate_argv
-include <sys/types.h>, <bsm/audit.h>, <bsm/libbsm.h>, <bsm/audit_record.h>, <bsm/devices.h>, <pwd.h>
-declaration int audit_allocate_argv(int flg, int argc, char *argv[])
-version SUNWprivate_1.1
-end
-
-function audit_allocate_device
-include <sys/types.h>, <bsm/audit.h>, <bsm/libbsm.h>, <bsm/audit_record.h>, <bsm/devices.h>, <pwd.h>
-declaration int audit_allocate_device(char *path)
-version SUNWprivate_1.1
-end
-
-function audit_allocate_list
-include <sys/types.h>, <bsm/audit.h>, <bsm/libbsm.h>, <bsm/audit_record.h>, <bsm/devices.h>, <pwd.h>
-declaration int audit_allocate_list(char *list)
-version SUNWprivate_1.1
-end
-
-function audit_allocate_record
-include <sys/types.h>, <bsm/audit.h>, <bsm/libbsm.h>, <bsm/audit_record.h>, <bsm/devices.h>, <pwd.h>
-declaration int audit_allocate_record(char status)
-version SUNWprivate_1.1
-end
-
-function audit_cron_session
-include <sys/types.h>, <bsm/audit.h>, <bsm/libbsm.h>, <bsm/audit_record.h>, <bsm/devices.h>, <pwd.h>
-declaration void audit_cron_session(char *nam, uid_t uid)
-version SUNWprivate_1.1
-end
-
-function audit_ftpd_bad_pw
-include <sys/types.h>, <bsm/audit.h>, <bsm/libbsm.h>, <bsm/audit_record.h>, <bsm/devices.h>, <pwd.h>
-declaration void audit_ftpd_bad_pw(char *uname)
-version SUNWprivate_1.1
-end
-
-function audit_ftpd_excluded
-include <sys/types.h>, <bsm/audit.h>, <bsm/libbsm.h>, <bsm/audit_record.h>, <bsm/devices.h>, <pwd.h>
-declaration void audit_ftpd_excluded(char *uname)
-version SUNWprivate_1.1
-end
-
-function audit_ftpd_failure
-include <sys/types.h>, <bsm/audit.h>, <bsm/libbsm.h>, <bsm/audit_record.h>, <bsm/devices.h>, <pwd.h>
-declaration void audit_ftpd_failure(char *uname)
-version SUNWprivate_1.1
-end
-
-function audit_ftpd_no_anon
-include <sys/types.h>, <bsm/audit.h>, <bsm/libbsm.h>, <bsm/audit_record.h>, <bsm/devices.h>, <pwd.h>
-declaration void audit_ftpd_no_anon(void)
-version SUNWprivate_1.1
-end
-
-function audit_ftpd_success
-include <sys/types.h>, <bsm/audit.h>, <bsm/libbsm.h>, <bsm/audit_record.h>, <bsm/devices.h>, <pwd.h>
-declaration void audit_ftpd_success(char *uname)
-version SUNWprivate_1.1
-end
-
-function audit_ftpd_unknown
-include <sys/types.h>, <bsm/audit.h>, <bsm/libbsm.h>, <bsm/audit_record.h>, <bsm/devices.h>, <pwd.h>
-declaration void audit_ftpd_unknown(char *uname)
-version SUNWprivate_1.1
-end
-
-function audit_ftpd_logout
-include <sys/types.h>, <bsm/audit.h>, <bsm/libbsm.h>, <bsm/audit_record.h>, <bsm/devices.h>, <pwd.h>
-declaration void audit_ftpd_logout(void)
-version SUNWprivate_1.1
-end
-
-function audit_halt_fail
-include <sys/types.h>, <bsm/audit.h>, <bsm/libbsm.h>, <bsm/audit_record.h>, <bsm/devices.h>, <pwd.h>
-declaration int audit_halt_fail(void)
-version SUNWprivate_1.1
-end
-
-function audit_halt_setup
-include <sys/types.h>, <bsm/audit.h>, <bsm/libbsm.h>, <bsm/audit_record.h>, <bsm/devices.h>, <pwd.h>
-declaration int audit_halt_setup(int argc, char **argv)
-version SUNWprivate_1.1
-end
-
-function audit_halt_success
-include <sys/types.h>, <bsm/audit.h>, <bsm/libbsm.h>, <bsm/audit_record.h>, <bsm/devices.h>, <pwd.h>
-declaration int audit_halt_success(void)
-version SUNWprivate_1.1
-end
-
-function audit_inetd_config
-include <sys/types.h>, <bsm/audit.h>, <bsm/libbsm.h>, <bsm/audit_record.h>, <bsm/devices.h>, <pwd.h>
-declaration int audit_inetd_config(void)
-version SUNWprivate_1.1
-end
-
-function audit_inetd_termid
-include <sys/types.h>, <bsm/audit.h>, <bsm/libbsm.h>, <bsm/audit_record.h>, <bsm/devices.h>, <pwd.h>
-declaration int audit_inetd_termid(int)
-version SUNWprivate_1.1
-end
-
-function audit_inetd_service
-include <sys/types.h>, <bsm/audit.h>, <bsm/libbsm.h>, <bsm/audit_record.h>, <bsm/devices.h>, <pwd.h>
-declaration int audit_inetd_service(char *service_name, struct passwd *pwd)
-version SUNWprivate_1.1
-end
-
-function audit_uadmin_setup
-include <sys/types.h>, <bsm/audit.h>, <bsm/libbsm.h>, <bsm/audit_record.h>, <bsm/devices.h>, <pwd.h>
-declaration int audit_uadmin_setup(int argc, char **argv)
-version SUNWprivate_1.1
-end
-
-function audit_uadmin_success
-include <sys/types.h>, <bsm/audit.h>, <bsm/libbsm.h>, <bsm/audit_record.h>, <bsm/devices.h>, <pwd.h>
-declaration int audit_uadmin_success(void)
-version SUNWprivate_1.1
-end
-
-function audit_settid
-include <sys/socket.h>, <netinet/in.h>, <strings.h>, <bsm/libbsm.h>
-declaration int audit_settid(int fd)
-version SUNWprivate_1.1
-end
-
-function audit_mountd_mount
-include <sys/types.h>, <bsm/audit.h>, <bsm/libbsm.h>, <bsm/audit_record.h>, <bsm/devices.h>, <pwd.h>
-declaration void audit_mountd_mount(char *clname, char *path, int success)
-version SUNWprivate_1.1
-end
-
-function audit_mountd_setup
-include <sys/types.h>, <bsm/audit.h>, <bsm/libbsm.h>, <bsm/audit_record.h>, <bsm/devices.h>, <pwd.h>
-declaration void audit_mountd_setup(void)
-version SUNWprivate_1.1
-end
-
-function audit_mountd_umount
-include <sys/types.h>, <bsm/audit.h>, <bsm/libbsm.h>, <bsm/audit_record.h>, <bsm/devices.h>, <pwd.h>
-declaration void audit_mountd_umount(char *clname, char *path)
-version SUNWprivate_1.1
-end
-
-function audit_reboot_fail
-include <sys/types.h>, <bsm/audit.h>, <bsm/libbsm.h>, <bsm/audit_record.h>, <bsm/devices.h>, <pwd.h>
-declaration int audit_reboot_fail(void)
-version SUNWprivate_1.1
-end
-
-function audit_reboot_setup
-include <sys/types.h>, <bsm/audit.h>, <bsm/libbsm.h>, <bsm/audit_record.h>, <bsm/devices.h>, <pwd.h>
-declaration int audit_reboot_setup(void)
-version SUNWprivate_1.1
-end
-
-function audit_reboot_success
-include <sys/types.h>, <bsm/audit.h>, <bsm/libbsm.h>, <bsm/audit_record.h>, <bsm/devices.h>, <pwd.h>
-declaration int audit_reboot_success(void)
-version SUNWprivate_1.1
-end
-
-function audit_rexd_fail
-include <sys/types.h>, <bsm/audit.h>, <bsm/libbsm.h>, <bsm/audit_record.h>, <bsm/devices.h>, <pwd.h>
-declaration void audit_rexd_fail(char *msg, char *hostname, char *user, \
- uid_t uid, gid_t gid, char *shell, char **cmdbuf)
-version SUNWprivate_1.1
-end
-
-function audit_rexd_setup
-include <sys/types.h>, <bsm/audit.h>, <bsm/libbsm.h>, <bsm/audit_record.h>, <bsm/devices.h>, <pwd.h>
-declaration void audit_rexd_setup(void)
-version SUNWprivate_1.1
-end
-
-function audit_rexd_success
-include <sys/types.h>, <bsm/audit.h>, <bsm/libbsm.h>, <bsm/audit_record.h>, <bsm/devices.h>, <pwd.h>
-declaration void audit_rexd_success(char *hostname, char *user, \
- uid_t uid, gid_t gid, char *shell, char **cmdbuf)
-version SUNWprivate_1.1
-end
-
-function audit_rexecd_fail
-include <sys/types.h>, <bsm/audit.h>, <bsm/libbsm.h>, <bsm/audit_record.h>, <bsm/devices.h>, <pwd.h>
-declaration void audit_rexecd_fail(char *msg, char *hostname, char \
- *user, char *cmdbuf)
-version SUNWprivate_1.1
-end
-
-function audit_rexecd_setup
-include <sys/types.h>, <bsm/audit.h>, <bsm/libbsm.h>, <bsm/audit_record.h>, <bsm/devices.h>, <pwd.h>
-declaration void audit_rexecd_setup(void)
-version SUNWprivate_1.1
-end
-
-function audit_rexecd_success
-include <sys/types.h>, <bsm/audit.h>, <bsm/libbsm.h>, <bsm/audit_record.h>, <bsm/devices.h>, <pwd.h>
-declaration void audit_rexecd_success(char *hostname, char *user, char \
- *cmdbuf)
-version SUNWprivate_1.1
-end
-
-function audit_rshd_fail
-include <sys/types.h>, <bsm/audit.h>, <bsm/libbsm.h>, <bsm/audit_record.h>, <bsm/devices.h>, <pwd.h>
-declaration int audit_rshd_fail(char *msg, char *hostname, char \
- *remuser, char *locuser, char *cmdbuf)
-version SUNWprivate_1.1
-end
-
-function audit_rshd_setup
-include <sys/types.h>, <bsm/audit.h>, <bsm/libbsm.h>, <bsm/audit_record.h>, <bsm/devices.h>, <pwd.h>
-declaration int audit_rshd_setup(void)
-version SUNWprivate_1.1
-end
-
-function audit_rshd_success
-include <sys/types.h>, <bsm/audit.h>, <bsm/libbsm.h>, <bsm/audit_record.h>, <bsm/devices.h>, <pwd.h>
-declaration int audit_rshd_success(char *hostname, char *remuser, char \
- *locuser, char *cmdbuf)
-version SUNWprivate_1.1
-end
-
-function audit_shutdown_fail
-include <sys/types.h>, <bsm/audit.h>, <bsm/libbsm.h>, <bsm/audit_record.h>, <bsm/devices.h>, <pwd.h>
-declaration int audit_shutdown_fail(void)
-version SUNWprivate_1.1
-end
-
-function audit_shutdown_setup
-include <sys/types.h>, <bsm/audit.h>, <bsm/libbsm.h>, <bsm/audit_record.h>, <bsm/devices.h>, <pwd.h>
-declaration int audit_shutdown_setup(int argc, char **argv)
-version SUNWprivate_1.1
-end
-
-function audit_shutdown_success
-include <sys/types.h>, <bsm/audit.h>, <bsm/libbsm.h>, <bsm/audit_record.h>, <bsm/devices.h>, <pwd.h>
-declaration int audit_shutdown_success(void)
-version SUNWprivate_1.1
-end
-
-function aug_audit
-include <sys/types.h>, <bsm/audit.h>, <bsm/libbsm.h>, <bsm/audit_record.h>, <bsm/devices.h>, <pwd.h>
-declaration int aug_audit(void)
-version SUNWprivate_1.1
-end
-
-function aug_get_machine
-include <sys/types.h>, <bsm/audit.h>, <bsm/libbsm.h>, <bsm/audit_record.h>, <bsm/devices.h>, <pwd.h>
-declaration int aug_get_machine(char *hostname)
-version SUNWprivate_1.1
-end
-
-function aug_get_port
-include <sys/types.h>, <bsm/audit.h>, <bsm/libbsm.h>, <bsm/audit_record.h>, <bsm/devices.h>, <pwd.h>
-declaration dev_t aug_get_port(void)
-version SUNWprivate_1.1
-end
-
-function aug_init
-include <sys/types.h>, <bsm/audit.h>, <bsm/libbsm.h>, <bsm/audit_record.h>, <bsm/devices.h>, <pwd.h>
-declaration void aug_init(void)
-version SUNWprivate_1.1
-end
-
-function aug_na_selected
-include <sys/types.h>, <bsm/audit.h>, <bsm/libbsm.h>, <bsm/audit_record.h>, <bsm/devices.h>, <pwd.h>
-declaration int aug_na_selected(void)
-version SUNWprivate_1.1
-end
-
-function aug_save_afunc
-include <sys/types.h>, <bsm/audit.h>, <bsm/libbsm.h>, <bsm/audit_record.h>, <bsm/devices.h>, <pwd.h>
-declaration void aug_save_afunc(int (*afunc)())
-version SUNWprivate_1.1
-end
-
-function aug_save_asid
-include <sys/types.h>, <bsm/audit.h>, <bsm/libbsm.h>, <bsm/audit_record.h>, <bsm/devices.h>, <pwd.h>
-declaration void aug_save_asid(au_asid_t id)
-version SUNWprivate_1.1
-end
-
-function aug_save_auid
-include <sys/types.h>, <bsm/audit.h>, <bsm/libbsm.h>, <bsm/audit_record.h>, <bsm/devices.h>, <pwd.h>
-declaration void aug_save_auid(au_id_t id)
-version SUNWprivate_1.1
-end
-
-function aug_save_egid
-include <sys/types.h>, <bsm/audit.h>, <bsm/libbsm.h>, <bsm/audit_record.h>, <bsm/devices.h>, <pwd.h>
-declaration void aug_save_egid(gid_t id)
-version SUNWprivate_1.1
-end
-
-function aug_save_euid
-include <sys/types.h>, <bsm/audit.h>, <bsm/libbsm.h>, <bsm/audit_record.h>, <bsm/devices.h>, <pwd.h>
-declaration void aug_save_euid(uid_t id)
-version SUNWprivate_1.1
-end
-
-function aug_save_event
-include <sys/types.h>, <bsm/audit.h>, <bsm/libbsm.h>, <bsm/audit_record.h>, <bsm/devices.h>, <pwd.h>
-declaration void aug_save_event(au_event_t id)
-version SUNWprivate_1.1
-end
-
-function aug_save_gid
-include <sys/types.h>, <bsm/audit.h>, <bsm/libbsm.h>, <bsm/audit_record.h>, <bsm/devices.h>, <pwd.h>
-declaration void aug_save_gid(gid_t id)
-version SUNWprivate_1.1
-end
-
-function aug_save_me
-include <sys/types.h>, <bsm/audit.h>, <bsm/libbsm.h>, <bsm/audit_record.h>, <bsm/devices.h>, <pwd.h>
-declaration int aug_save_me(void)
-version SUNWprivate_1.1
-end
-
-function aug_save_na
-include <sys/types.h>, <bsm/audit.h>, <bsm/libbsm.h>, <bsm/audit_record.h>, <bsm/devices.h>, <pwd.h>
-declaration void aug_save_na(int flag)
-version SUNWprivate_1.1
-end
-
-function aug_save_namask
-include <sys/types.h>, <bsm/audit.h>, <bsm/libbsm.h>, <bsm/audit_record.h>, <bsm/devices.h>, <pwd.h>
-declaration int aug_save_namask(void)
-version SUNWprivate_1.1
-end
-
-function aug_save_path
-include <sys/types.h>, <bsm/audit.h>, <bsm/libbsm.h>, <bsm/audit_record.h>, <bsm/devices.h>, <pwd.h>
-declaration void aug_save_path(char *s)
-version SUNWprivate_1.1
-end
-
-function aug_save_pid
-include <sys/types.h>, <bsm/audit.h>, <bsm/libbsm.h>, <bsm/audit_record.h>, <bsm/devices.h>, <pwd.h>
-declaration void aug_save_pid(pid_t id)
-version SUNWprivate_1.1
-end
-
-function aug_save_policy
-include <sys/types.h>, <bsm/audit.h>, <bsm/libbsm.h>, <bsm/audit_record.h>, <bsm/devices.h>, <pwd.h>
-declaration int aug_save_policy(void)
-version SUNWprivate_1.1
-end
-
-function aug_save_sorf
-include <sys/types.h>, <bsm/audit.h>, <bsm/libbsm.h>, <bsm/audit_record.h>, <bsm/devices.h>, <pwd.h>
-declaration void aug_save_sorf(int sorf)
-version SUNWprivate_1.1
-end
-
-function aug_save_text
-include <sys/types.h>, <bsm/audit.h>, <bsm/libbsm.h>, <bsm/audit_record.h>, <bsm/devices.h>, <pwd.h>
-declaration void aug_save_text(char *s)
-version SUNWprivate_1.1
-end
-
-function aug_save_tid
-include <sys/types.h>, <bsm/audit.h>, <bsm/libbsm.h>, <bsm/audit_record.h>, <bsm/devices.h>, <pwd.h>
-declaration void aug_save_tid(dev_t port, uint_t machine)
-version SUNWprivate_1.1
-end
-
-function aug_save_uid
-include <sys/types.h>, <bsm/audit.h>, <bsm/libbsm.h>, <bsm/audit_record.h>, <bsm/devices.h>, <pwd.h>
-declaration void aug_save_uid(uid_t id)
-version SUNWprivate_1.1
-end
-
-function aug_selected
-include <sys/types.h>, <bsm/audit.h>, <bsm/libbsm.h>, <bsm/audit_record.h>, <bsm/devices.h>, <pwd.h>
-declaration int aug_selected(void)
-version SUNWprivate_1.1
-end
-
-function cacheauclass
-include <sys/types.h>, <bsm/audit.h>, <bsm/libbsm.h>, <bsm/audit_record.h>, <bsm/devices.h>, <pwd.h>
-declaration int cacheauclass(au_class_ent_t **result, au_class_t class_no)
-version SUNWprivate_1.1
-end
-
-function cacheauclassnam
-include <sys/types.h>, <bsm/audit.h>, <bsm/libbsm.h>, <bsm/audit_record.h>, <bsm/devices.h>, <pwd.h>
-declaration int cacheauclassnam(au_class_ent_t **result, char *class_name)
-version SUNWprivate_1.1
-end
-
-function cacheauevent
-include <sys/types.h>, <bsm/audit.h>, <bsm/libbsm.h>, <bsm/audit_record.h>, <bsm/devices.h>, <pwd.h>
-declaration int cacheauevent(au_event_ent_t **result, au_event_t event_number)
-version SUNWprivate_1.1
-end
-
-function cannot_audit
-include <sys/types.h>, <bsm/audit.h>, <bsm/libbsm.h>, <bsm/audit_record.h>, <bsm/devices.h>, <pwd.h>
-declaration int cannot_audit(int force)
-version SUNWprivate_1.1
-end
-
-function _openac
-include <sys/types.h>, <bsm/audit.h>, <bsm/libbsm.h>
-declaration au_acinfo_t *_openac(char *)
-version SUNWprivate_1.1
-end
-
-function _endac
-include <sys/types.h>, <bsm/audit.h>, <bsm/libbsm.h>
-declaration void _endac(au_acinfo_t *)
-version SUNWprivate_1.1
-end
-
-function _rewindac
-include <sys/types.h>, <bsm/audit.h>, <bsm/libbsm.h>
-declaration void _rewindac(au_acinfo_t *)
-version SUNWprivate_1.1
-end
-
-function _getacdir
-include <sys/types.h>, <bsm/audit.h>, <bsm/libbsm.h>
-declaration int _getacdir(au_acinfo_t *, char *, int)
-version SUNWprivate_1.1
-end
-
-function _getacplug
-include <sys/types.h>, <bsm/audit.h>, <bsm/libbsm.h>
-declaration int _getacplug(au_acinfo_t *, kva_t **)
-version SUNWprivate_1.1
-end
-
-function _getacmin
-include <sys/types.h>, <bsm/audit.h>, <bsm/libbsm.h>
-declaration int _getacmin(au_acinfo_t *, int *)
-version SUNWprivate_1.1
-end
-
-function _getacna
-include <sys/types.h>, <bsm/audit.h>, <bsm/libbsm.h>
-declaration int _getacna(au_acinfo_t *, char *, int)
-version SUNWprivate_1.1
-end
-
-function _getacflg
-include <sys/types.h>, <bsm/audit.h>, <bsm/libbsm.h>
-declaration int _getacflg(au_acinfo_t *, char *, int)
-version SUNWprivate_1.1
-end
-
-function audit_at_create
-include <sys/types.h>, <bsm/audit.h>, <bsm/libbsm.h>, <bsm/audit_record.h>, <bsm/devices.h>, <pwd.h>
-version SUNWprivate_1.1
-end
-
-function audit_at_delete
-include <sys/types.h>, <bsm/audit.h>, <bsm/libbsm.h>, <bsm/audit_record.h>, <bsm/devices.h>, <pwd.h>
-version SUNWprivate_1.1
-end
-
-function audit_cron_bad_user
-include <sys/types.h>, <bsm/audit.h>, <bsm/libbsm.h>, <bsm/audit_record.h>, <bsm/devices.h>, <pwd.h>
-version SUNWprivate_1.1
-end
-
-function audit_cron_create_anc_file
-include <sys/types.h>, <bsm/audit.h>, <bsm/libbsm.h>, <bsm/audit_record.h>, <bsm/devices.h>, <pwd.h>
-version SUNWprivate_1.1
-end
-
-function audit_cron_delete_anc_file
-include <sys/types.h>, <bsm/audit.h>, <bsm/libbsm.h>, <bsm/audit_record.h>, <bsm/devices.h>, <pwd.h>
-version SUNWprivate_1.1
-end
-
-function audit_cron_is_anc_name
-include <sys/types.h>, <bsm/audit.h>, <bsm/libbsm.h>, <bsm/audit_record.h>, <bsm/devices.h>, <pwd.h>
-version SUNWprivate_1.1
-end
-
-function audit_cron_mode
-include <sys/types.h>, <bsm/audit.h>, <bsm/libbsm.h>, <bsm/audit_record.h>, <bsm/devices.h>, <pwd.h>
-version SUNWprivate_1.1
-end
-
-function audit_cron_new_job
-include <sys/types.h>, <bsm/audit.h>, <bsm/libbsm.h>, <bsm/audit_record.h>, <bsm/devices.h>, <pwd.h>
-version SUNWprivate_1.1
-end
-
-function audit_cron_setinfo
-include <sys/types.h>, <bsm/audit.h>, <bsm/libbsm.h>, <bsm/audit_record.h>, <bsm/devices.h>, <pwd.h>
-version SUNWprivate_1.1
-end
-
-function audit_cron_user_acct_expired
-include <sys/types.h>, <bsm/audit.h>, <bsm/libbsm.h>, <bsm/audit_record.h>, <bsm/devices.h>, <pwd.h>
-version SUNWprivate_1.1
-end
-
-function audit_crontab_not_allowed
-include <sys/types.h>, <bsm/audit.h>, <bsm/libbsm.h>, <bsm/audit_record.h>, <bsm/devices.h>, <pwd.h>
-declaration int audit_crontab_not_allowed(uid_t)
-version SUNWprivate_1.1
-end
-
-function audit_crontab_delete
-include <sys/types.h>, <bsm/audit.h>, <bsm/libbsm.h>, <bsm/audit_record.h>, <bsm/devices.h>, <pwd.h>
-version SUNWprivate_1.1
-end
-
-function audit_crontab_modify
-include <sys/types.h>, <bsm/audit.h>, <bsm/libbsm.h>, <bsm/audit_record.h>, <bsm/devices.h>, <pwd.h>
-version SUNWprivate_1.1
-end
-
-function audit_crontab_process_not_audited
-include <sys/types.h>, <bsm/audit.h>, <bsm/libbsm.h>, <bsm/audit_record.h>, <bsm/devices.h>, <pwd.h>
-declaration int audit_crontab_process_not_audited()
-version SUNWprivate_1.1
-end
-
-function audit_newgrp_login
-include <sys/types.h>, <bsm/audit.h>, <bsm/audit_uevents.h>, <stdio.h>, <bsm/libbsm.h>
-declaration void audit_newgrp_login(char *, int)
-version SUNWprivate_1.1
-end
-
-function adt_start_session
-include <bsm/adt.h>, <assert.h>, <errno.h>, <md5.h>, <netdb.h>, <pwd.h>, <time.h>, <stdlib.h>, <string.h>, <synch.h>, <thread.h>, <unistd.h>
-declaration int adt_start_session(adt_session_data_t **, const adt_export_data_t *, adt_session_flags_t)
-version SUNWprivate_1.1
-end
-
-function adt_end_session
-include <bsm/adt.h>, <assert.h>, <errno.h>, <md5.h>, <netdb.h>, <pwd.h>, <time.h>, <stdlib.h>, <string.h>, <synch.h>, <thread.h>, <unistd.h>
-declaration int adt_end_session(adt_session_data_t *)
-version SUNWprivate_1.1
-end
-
-function adt_dup_session
-include <bsm/adt.h>, <assert.h>, <errno.h>, <md5.h>, <netdb.h>, <pwd.h>, <time.h>, <stdlib.h>, <string.h>, <synch.h>, <thread.h>, <unistd.h>
-declaration int adt_dup_session(const adt_session_data_t *, adt_session_data_t **)
-version SUNWprivate_1.1
-end
-
-function adt_get_session_id
-include <bsm/adt.h>, <assert.h>, <errno.h>, <md5.h>, <netdb.h>, <pwd.h>, <time.h>, <stdlib.h>, <string.h>, <synch.h>, <thread.h>, <unistd.h>
-declaration size_t adt_get_session_id(const adt_session_data_t *, char **)
-version SUNWprivate_1.1
-end
-
-function adt_get_asid
-include <bsm/adt.h>, <assert.h>, <errno.h>, <md5.h>, <netdb.h>, <pwd.h>, <time.h>, <stdlib.h>, <string.h>, <synch.h>, <thread.h>, <unistd.h>
-declaration void adt_get_asid(const adt_session_data_t *, au_asid_t *)
-version SUNWprivate_1.1
-end
-
-function adt_set_asid
-include <bsm/adt.h>, <assert.h>, <errno.h>, <md5.h>, <netdb.h>, <pwd.h>, <time.h>, <stdlib.h>, <string.h>, <synch.h>, <thread.h>, <unistd.h>
-declaration void adt_set_asid(const adt_session_data_t *, au_asid_t)
-version SUNWprivate_1.1
-end
-
-function adt_get_auid
-include <bsm/adt.h>, <assert.h>, <errno.h>, <md5.h>, <netdb.h>, <pwd.h>, <time.h>, <stdlib.h>, <string.h>, <synch.h>, <thread.h>, <unistd.h>
-declaration void adt_get_auid(const adt_session_data_t *, au_id_t *)
-version SUNWprivate_1.1
-end
-
-function adt_set_auid
-include <bsm/adt.h>, <assert.h>, <errno.h>, <md5.h>, <netdb.h>, <pwd.h>, <time.h>, <stdlib.h>, <string.h>, <synch.h>, <thread.h>, <unistd.h>
-declaration void adt_set_auid(const adt_session_data_t *, au_id_t)
-version SUNWprivate_1.1
-end
-
-function adt_get_termid
-include <bsm/adt.h>, <assert.h>, <errno.h>, <md5.h>, <netdb.h>, <pwd.h>, <time.h>, <stdlib.h>, <string.h>, <synch.h>, <thread.h>, <unistd.h>
-declaration void adt_get_termid(const adt_session_data_t *, au_tid_addr_t *)
-version SUNWprivate_1.1
-end
-
-function adt_set_termid
-include <bsm/adt.h>, <assert.h>, <errno.h>, <md5.h>, <netdb.h>, <pwd.h>, <time.h>, <stdlib.h>, <string.h>, <synch.h>, <thread.h>, <unistd.h>
-declaration void adt_set_termid(const adt_session_data_t *, const au_tid_addr_t *)
-version SUNWprivate_1.1
-end
-
-function adt_get_mask
-include <bsm/adt.h>, <assert.h>, <errno.h>, <md5.h>, <netdb.h>, <pwd.h>, <time.h>, <stdlib.h>, <string.h>, <synch.h>, <thread.h>, <unistd.h>
-declaration void adt_get_mask(const adt_session_data_t *, au_mask_t *)
-version SUNWprivate_1.1
-end
-
-function adt_set_mask
-include <bsm/adt.h>, <assert.h>, <errno.h>, <md5.h>, <netdb.h>, <pwd.h>, <time.h>, <stdlib.h>, <string.h>, <synch.h>, <thread.h>, <unistd.h>
-declaration void adt_set_mask(const adt_session_data_t *, const au_mask_t *)
-version SUNWprivate_1.1
-end
-
-function adt_load_termid
-include <bsm/adt.h>, <assert.h>, <errno.h>, <md5.h>, <netdb.h>, <pwd.h>, <time.h>, <stdlib.h>, <string.h>, <synch.h>, <thread.h>, <unistd.h>
-declaration int adt_load_termid(int, adt_termid_t **)
-version SUNWprivate_1.1
-end
-
-function adt_load_hostname
-include <bsm/adt.h>, <assert.h>, <errno.h>, <md5.h>, <netdb.h>, <pwd.h>, <time.h>, <stdlib.h>, <string.h>, <synch.h>, <thread.h>, <unistd.h>
-declaration int adt_load_hostname(const char *, adt_termid_t **)
-version SUNWprivate_1.1
-end
-
-function adt_load_ttyname
-include <bsm/adt.h>, <assert.h>, <errno.h>, <md5.h>, <netdb.h>, <pwd.h>, <time.h>, <stdlib.h>, <string.h>, <synch.h>, <thread.h>, <unistd.h>
-declaration int adt_load_ttyname(const char *, adt_termid_t **)
-version SUNWprivate_1.1
-end
-
-function adt_alloc_event
-include <bsm/adt.h>, <assert.h>, <errno.h>, <md5.h>, <netdb.h>, <pwd.h>, <time.h>, <stdlib.h>, <string.h>, <synch.h>, <thread.h>, <unistd.h>
-declaration adt_event_data_t *adt_alloc_event(const adt_session_data_t *, au_event_t)
-version SUNWprivate_1.1
-end
-
-function adt_put_event
-include <bsm/adt.h>, <assert.h>, <errno.h>, <md5.h>, <netdb.h>, <pwd.h>, <time.h>, <stdlib.h>, <string.h>, <synch.h>, <thread.h>, <unistd.h>
-declaration int adt_put_event(const adt_event_data_t *, int, int)
-version SUNWprivate_1.1
-end
-
-function adt_free_event
-include <bsm/adt.h>, <assert.h>, <errno.h>, <md5.h>, <netdb.h>, <pwd.h>, <time.h>, <stdlib.h>, <string.h>, <synch.h>, <thread.h>, <unistd.h>
-declaration void adt_free_event(adt_event_data_t *)
-version SUNWprivate_1.1
-end
-
-function adt_export_session_data
-include <bsm/adt.h>, <assert.h>, <errno.h>, <md5.h>, <netdb.h>, <pwd.h>, <time.h>, <stdlib.h>, <string.h>, <synch.h>, <thread.h>, <unistd.h>
-declaration size_t adt_export_session_data(const adt_session_data_t *, adt_export_data_t **)
-version SUNWprivate_1.1
-end
-
-function adt_set_proc
-include <bsm/adt.h>, <assert.h>, <errno.h>, <md5.h>, <netdb.h>, <pwd.h>, <time.h>, <stdlib.h>, <string.h>, <synch.h>, <thread.h>, <unistd.h>
-declaration int adt_set_proc(const adt_session_data_t *)
-version SUNWprivate_1.1
-end
-
-function adt_set_user
-include <bsm/adt.h>, <assert.h>, <errno.h>, <md5.h>, <netdb.h>, <pwd.h>, <time.h>, <stdlib.h>, <string.h>, <synch.h>, <thread.h>, <unistd.h>
-declaration int adt_set_user(const adt_session_data_t *, uid_t, gid_t, uid_t, gid_t, const adt_termid_t *, enum adt_user_context)
-version SUNWprivate_1.1
-end
-
-function adt_set_from_ucred
-include <bsm/adt.h>, <assert.h>, <errno.h>, <md5.h>, <netdb.h>, <pwd.h>, <time.h>, <stdlib.h>, <string.h>, <synch.h>, <thread.h>, <unistd.h>
-declaration int adt_set_from_ucred(const adt_session_data_t *, const ucred_t *, enum adt_user_context)
-version SUNWprivate_1.1
-end
-
-function adt_import_proc
-include <bsm/adt.h>, <assert.h>, <errno.h>, <md5.h>, <netdb.h>, <pwd.h>, <time.h>, <stdlib.h>, <string.h>, <synch.h>, <thread.h>, <unistd.h>
-declaration size_t adt_import_proc(pid_t pid, uid_t euid, gid_t egid, uid_t ruid, gid_t rgid, adt_export_data_t **)
-version SUNWprivate_1.1
-end
-
-function adt_audit_enabled
-include <bsm/adt.h>, <assert.h>, <errno.h>, <md5.h>, <netdb.h>, <pwd.h>, <time.h>, <stdlib.h>, <string.h>, <synch.h>, <thread.h>, <unistd.h>
-declaration boolean_t adt_audit_enabled(void)
-version SUNWprivate_1.1
-end
-
-function audit_krb5kdc_as_req
-include <sys/types.h>, <bsm/audit.h>, <bsm/libbsm.h>, <bsm/audit_record.h>, <bsm/devices.h>, <netinet/in.h>
-declaration void audit_krb5kdc_as_req( \
- struct in_addr *r_addr, \
- in_port_t r_port, \
- in_port_t l_port, \
- char *cname, \
- char *sname, \
- int sorf)
-version SUNWprivate_1.1
-end
-
-function audit_krb5kdc_tgs_req
-include <sys/types.h>, <bsm/audit.h>, <bsm/libbsm.h>, <bsm/audit_record.h>, <bsm/devices.h>, <netinet/in.h>
-declaration void audit_krb5kdc_tgs_req( \
- struct in_addr *r_addr, \
- in_port_t r_port, \
- in_port_t l_port, \
- char *cname, \
- char *sname, \
- int sorf)
-version SUNWprivate_1.1
-end
-
-function audit_krb5kdc_tgs_req_2ndtktmm
-include <sys/types.h>, <bsm/audit.h>, <bsm/libbsm.h>, <bsm/audit_record.h>, <bsm/devices.h>, <netinet/in.h>
-declaration void audit_krb5kdc_tgs_req_2ndtktmm( \
- struct in_addr *r_addr, \
- in_port_t r_port, \
- in_port_t l_port, \
- char *cname, \
- char *sname)
-version SUNWprivate_1.1
-end
-
-function audit_krb5kdc_tgs_req_alt_tgt
-include <sys/types.h>, <bsm/audit.h>, <bsm/libbsm.h>, <bsm/audit_record.h>, <bsm/devices.h>, <netinet/in.h>
-declaration void audit_krb5kdc_tgs_req_alt_tgt( \
- struct in_addr *r_addr, \
- in_port_t r_port, \
- in_port_t l_port, \
- char *cname, \
- char *sname, \
- int sorf)
-version SUNWprivate_1.1
-end
-
-function audit_kadmind_auth
-declaration void audit_kadmind_auth( \
- SVCXPRT *xprt, \
- in_port_t l_port, \
- char *op, \
- char *prime_arg, \
- char *clnt_name, \
- int sorf)
-include <sys/types.h>, <bsm/audit.h>, <bsm/libbsm.h>, <bsm/audit_record.h>, <bsm/devices.h>, <netinet/in.h>, <rpc/rpc.h>
-version SUNWprivate_1.1
-end
-
-function audit_kadmind_unauth
-declaration void audit_kadmind_unauth( \
- SVCXPRT *xprt, \
- in_port_t l_port, \
- char *op, \
- char *prime_arg, \
- char *clnt_name)
-include <sys/types.h>, <bsm/audit.h>, <bsm/libbsm.h>, <bsm/audit_record.h>, <bsm/devices.h>, <netinet/in.h>, <rpc/rpc.h>
-version SUNWprivate_1.1
-end
-
-function __audit_dowarn
-include <errno.h>, <stdlib.h>, <string.h>, <unistd.h>, <sys/types.h>
-declaration void __audit_dowarn(char *option, char *filename, char *count)
-version SUNWprivate_1.1
-end
-
-function __audit_dowarn2
-include <errno.h>, <stdlib.h>, <string.h>, <unistd.h>, <sys/types.h>
-declaration void __audit_dowarn2(char *option, char *filename, char *error, char *text, char *count)
-version SUNWprivate_1.1
-end
-
-function __logpost
-include <errno.h>, <stdlib.h>, <string.h>, <unistd.h>, <sys/types.h>
-declaration int __logpost(char *name)
-version SUNWprivate_1.1
-end
-
-function __audit_syslog
-include <errno.h>, <stdlib.h>, <string.h>, <unistd.h>, <sys/types.h>, <pthread.h>
-declaration void __audit_syslog(const char *, int, int, int, const char *)
-version SUNWprivate_1.1
-end
-
-function __auditd_debug_file_open
-include <errno.h>, <stdlib.h>, <string.h>, <unistd.h>, <sys/types.h>, <pthread.h>
-declaration FILE *__auditd_debug_file_open()
-version SUNWprivate_1.1
-end
-
-function auditdoor
-include <sys/param.h>, <bsm/audit.h>
-declaration int auditdoor(int fd)
-version SUNWprivate_1.1
-errno EAGAIN EBADF EBUSY EFBIG EINTR EINVAL EIO \
- ENXIO EPERM EWOULDBLOCK
-exception $return == -1
-end
-
-function au_to_privset
-include <sys/types.h>, <bsm/audit.h>, <bsm/libbsm.h>, <bsm/audit_record.h>, <bsm/devices.h>, <pwd.h>
-declaration token_t *au_to_privset(const char *priv_type, const priv_set_t *privilege)
-version SUNWprivate_1.1
-end
-
-function au_to_uauth
-include <sys/types.h>, <bsm/audit.h>, <bsm/libbsm.h>, <bsm/audit_record.h>, <bsm/devices.h>, <pwd.h>
-declaration token_t *au_to_uauth(char *text)
-version SUNWprivate_1.1
-end
-
-function au_to_fmri
-include <sys/types.h>, <bsm/audit.h>, <bsm/libbsm.h>, <bsm/audit_record.h>, <bsm/devices.h>, <pwd.h>
-declaration token_t *au_to_fmri(char *fmri)
-version SUNWprivate_1.1
-end
diff --git a/usr/src/lib/libbsm/spec/sparc/Makefile b/usr/src/lib/libbsm/spec/sparc/Makefile
deleted file mode 100644
index 0570ec23de..0000000000
--- a/usr/src/lib/libbsm/spec/sparc/Makefile
+++ /dev/null
@@ -1,45 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1998-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libaio/spec/sparc/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-sparc_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
-
diff --git a/usr/src/lib/libbsm/spec/sparcv9/Makefile b/usr/src/lib/libbsm/spec/sparcv9/Makefile
deleted file mode 100644
index 6c9eb1b8e6..0000000000
--- a/usr/src/lib/libbsm/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,45 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1998-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libaio/spec/sparcv9/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-sparcv9_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libbsm/spec/versions b/usr/src/lib/libbsm/spec/versions
deleted file mode 100644
index 3c101d5962..0000000000
--- a/usr/src/lib/libbsm/spec/versions
+++ /dev/null
@@ -1,62 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# Note: Even though the SUNW_1.1 version now contains no symbols
-# beyond what was present at Solaris 2.3, the SUNW_1.1 version MUST be
-# present. This is because applications built on 2.6 Beta
-# (when it did contain symbols explicitly) may depend on it.
-#
-# SUNW_1.2 appears in Solaris 8 per bugid 4179861.
-#
-
-sparc {
- SUNW_1.2: {SUNW_1.1};
- SUNW_1.1: {SUNW_0.8};
- SUNW_0.8: {SUNW_0.7};
- SUNW_0.7;
- SUNWprivate_1.1;
-}
-sparcv9 {
- SUNW_1.2: {SUNW_1.1};
- SUNW_1.1: {SUNW_0.8};
- SUNW_0.8: {SUNW_0.7};
- SUNW_0.7;
- SUNWprivate_1.1;
-}
-i386 {
- SUNW_1.2: {SUNW_1.1};
- SUNW_1.1: {SUNW_0.8};
- SUNW_0.8: {SUNW_0.7};
- SUNW_0.7;
- SUNWprivate_1.1;
-}
-amd64 {
- SUNW_1.2: {SUNW_1.1};
- SUNW_1.1: {SUNW_0.8};
- SUNW_0.8: {SUNW_0.7};
- SUNW_0.7;
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/libc/Makefile b/usr/src/lib/libc/Makefile
index f232f2c11a..a82bb25f06 100644
--- a/usr/src/lib/libc/Makefile
+++ b/usr/src/lib/libc/Makefile
@@ -2,7 +2,7 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, (the "License").
+# Common Development and Distribution License (the "License").
# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
@@ -18,7 +18,6 @@
#
# CDDL HEADER END
#
-
#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
@@ -100,7 +99,7 @@ $(ROOTVARIANTDIR)/$(VAR2_DYNLIB) := FILEMODE= 755
.KEEP_STATE:
-all: check_i18n .WAIT spec .WAIT lib32 $(BUILD64) .WAIT lib64 .WAIT etc
+all: check_i18n .WAIT lib32 $(BUILD64) .WAIT lib64 .WAIT etc
check_i18n:
@if [ ! -f $(ROOTFS_LIBDIR)/libc_i18n.a -o \
@@ -140,7 +139,6 @@ $($(MACH)_ETC): FRC
install: all \
etc \
- spec \
inslib32 \
$(BUILD64) inslib64
@@ -199,10 +197,10 @@ lint := TARGET= lint
.PARALLEL: $(SUBDIRS)
-spec $(SUBDIRS): FRC
+$(SUBDIRS): FRC
@cd $@; pwd; VERSION='$(VERSION)' $(MAKE) $(TARGET)
-clean clobber: spec .WAIT $(SUBDIRS)
+clean clobber: $(SUBDIRS)
$(RM) -r $(MACH)/i18n_pics
$(BUILD64)$(RM) -r $(MACH64)/i18n_pics
@@ -216,8 +214,6 @@ catalog:
$(MSGDOMAIN):
$(INS.dir)
-ARCHITECTURES = $(MACH) $(BUILD64) $(MACH64)
-
cscope.out tags: FRC
$(XREF) -x $@
diff --git a/usr/src/lib/libc/Makefile.targ b/usr/src/lib/libc/Makefile.targ
index 26e8812bd7..3f851a6230 100644
--- a/usr/src/lib/libc/Makefile.targ
+++ b/usr/src/lib/libc/Makefile.targ
@@ -264,7 +264,7 @@ pics/%.o: $(LIBCBASE)/$(CRTSRCS)/%.s
$(POST_PROCESS_O)
# $(SRC)/common rules
-pics/%.o: $(SRC)/common/atomic/$(TRANSMACH)/%.s
+pics/%.o: $(SRC)/common/atomic/$(TARGETMACH)/%.s
$(BUILD.s)
$(POST_PROCESS_O)
diff --git a/usr/src/lib/libc/amd64/Makefile b/usr/src/lib/libc/amd64/Makefile
index 90aba817cc..3e758a94b2 100644
--- a/usr/src/lib/libc/amd64/Makefile
+++ b/usr/src/lib/libc/amd64/Makefile
@@ -24,8 +24,7 @@
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libc/amd64/Makefile
-#
+
LIBCBASE=.
LIBRARY= libc.a
@@ -912,8 +911,7 @@ ALTPICS= $(TRACEOBJS:%=pics/%)
$(DYNLIB) := PICS += $(ROOTFS_LIBDIR64)/libc_i18n.a
$(DYNLIB) := BUILD.SO = $(LD) -o $@ -G $(DYNFLAGS) $(PICS) $(ALTPICS)
-MAPDIR= ../spec/amd64
-MAPFILE= $(MAPDIR)/mapfile
+MAPFILES = ../port/mapfile-vers mapfile-vers
CPPFLAGS= -D_REENTRANT -D$(MACH64) -D__$(MACH64) \
-I. -I$(LIBCBASE)/inc -I../inc $(CPPFLAGS.master) -I/usr/include
@@ -922,8 +920,7 @@ ASFLAGS= $(AS_PICFLAGS) -P -D__STDC__ -D_ASM $(CPPFLAGS) \
# Inform the run-time linker about libc specialized initialization
RTLDINFO = -z rtldinfo=tls_rtldinfo
-
-DYNFLAGS += -M $(MAPFILE) $(RTLDINFO)
+DYNFLAGS += $(RTLDINFO)
BUILD.s= $(AS) $(ASFLAGS) $< -o $@
@@ -947,7 +944,7 @@ CLEANFILES= \
pics/crtn.o \
$(ALTPICS)
-CLOBBERFILES += $(MAPFILE) $(LIB_PIC)
+CLOBBERFILES += $(LIB_PIC)
# list of C source for lint
SRCS= \
@@ -983,11 +980,6 @@ SRCS= \
$(DYNLIB) := CRTI = crti.o
$(DYNLIB) := CRTN = crtn.o
-$(DYNLIB): $(MAPFILE)
-
-$(MAPFILE):
- @cd $(MAPDIR); $(MAKE) mapfile
-
# Files which need the threads .il inline template
TIL= \
aio.o \
diff --git a/usr/src/lib/libc/amd64/mapfile-vers b/usr/src/lib/libc/amd64/mapfile-vers
new file mode 100644
index 0000000000..4c3570420c
--- /dev/null
+++ b/usr/src/lib/libc/amd64/mapfile-vers
@@ -0,0 +1,771 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNW_1.22 {
+ global:
+ dladdr = FUNCTION FILTER /usr/lib/amd64/ld.so.1;
+ dladdr1 = FUNCTION FILTER /usr/lib/amd64/ld.so.1;
+ dlamd64getunwind = FUNCTION FILTER /usr/lib/amd64/ld.so.1;
+ dlclose = FUNCTION FILTER /usr/lib/amd64/ld.so.1;
+ dldump = FUNCTION FILTER /usr/lib/amd64/ld.so.1;
+ dlerror = FUNCTION FILTER /usr/lib/amd64/ld.so.1;
+ dlinfo = FUNCTION FILTER /usr/lib/amd64/ld.so.1;
+ dlmopen = FUNCTION FILTER /usr/lib/amd64/ld.so.1;
+ dlopen = FUNCTION FILTER /usr/lib/amd64/ld.so.1;
+ dlsym = FUNCTION FILTER /usr/lib/amd64/ld.so.1;
+ _SUNW_Unwind_DeleteException;
+ _SUNW_Unwind_ForcedUnwind;
+ _SUNW_Unwind_GetCFA;
+ _SUNW_Unwind_GetGR;
+ _SUNW_Unwind_GetIP;
+ _SUNW_Unwind_GetLanguageSpecificData;
+ _SUNW_Unwind_GetRegionStart;
+ _SUNW_Unwind_RaiseException;
+ _SUNW_Unwind_Resume;
+ _SUNW_Unwind_SetGR;
+ _SUNW_Unwind_SetIP;
+ _UA_CLEANUP_PHASE;
+ _UA_FORCE_UNWIND;
+ _UA_HANDLER_FRAME;
+ _UA_SEARCH_PHASE;
+ _Unwind_DeleteException;
+ _Unwind_ForcedUnwind;
+ _Unwind_GetCFA;
+ _Unwind_GetGR;
+ _Unwind_GetIP;
+ _Unwind_GetLanguageSpecificData;
+ _Unwind_GetRegionStart;
+ _Unwind_RaiseException;
+ _Unwind_Resume;
+ _Unwind_SetGR;
+ _Unwind_SetIP;
+ walkcontext;
+};
+
+SUNW_0.7 {
+ global:
+ abort;
+ abs;
+ access;
+ _access;
+ acct;
+ _acct;
+ addseverity;
+ _addseverity;
+ alarm;
+ _alarm;
+ _altzone;
+ asctime;
+ asctime_r;
+ _assert;
+ __assert;
+ atexit;
+ atof;
+ atoi;
+ atol;
+ bsearch;
+ __builtin_alloca;
+ calloc = NODIRECT;
+ catclose;
+ _catclose;
+ catgets;
+ _catgets;
+ catopen;
+ _catopen;
+ cfgetispeed;
+ _cfgetispeed;
+ cfgetospeed;
+ _cfgetospeed;
+ cfsetispeed;
+ _cfsetispeed;
+ cfsetospeed;
+ _cfsetospeed;
+ chdir;
+ _chdir;
+ chmod;
+ _chmod;
+ chown;
+ _chown;
+ chroot;
+ _chroot;
+ _cleanup;
+ clearerr;
+ clock;
+ _close;
+ close = NODIRECT;
+ closedir;
+ _closedir;
+ creat;
+ _creat;
+ crypt;
+ _crypt;
+ ctermid;
+ ctime;
+ ctime_r;
+ _ctype;
+ __ctype;
+ cuserid;
+ _cuserid;
+ daylight;
+ _daylight;
+ difftime;
+ div;
+ dup;
+ _dup;
+ dup2;
+ _dup2;
+ encrypt;
+ _encrypt;
+ endgrent;
+ endpwent;
+ environ = NODIRECT;
+ _environ = NODIRECT;
+ errno;
+ ___errno;
+ execl;
+ _execl;
+ execle;
+ _execle;
+ execlp;
+ _execlp;
+ execv;
+ _execv;
+ execve;
+ _execve;
+ execvp;
+ _execvp;
+ exit;
+ _exit;
+ fattach;
+ _fattach;
+ fchdir;
+ _fchdir;
+ fchmod;
+ _fchmod;
+ fchown;
+ _fchown;
+ fclose;
+ fcntl;
+ _fcntl;
+ fdetach;
+ _fdetach;
+ fdopen;
+ _fdopen;
+ feof;
+ ferror;
+ fflush;
+ fgetc;
+ fgetgrent;
+ fgetgrent_r;
+ fgetpos;
+ fgetpwent;
+ fgetpwent_r;
+ fgets;
+ __filbuf;
+ fileno;
+ _fileno;
+ file_to_decimal;
+ flockfile;
+ _flsbuf;
+ __flsbuf;
+ fmtmsg;
+ _fmtmsg;
+ fopen;
+ _fork;
+ fork = NODIRECT;
+ fpathconf;
+ _fpathconf;
+ fprintf;
+ fputc;
+ fputs;
+ fread;
+ free = NODIRECT;
+ freopen;
+ frexp = FUNCTION FILTER libm.so.2;
+ fscanf;
+ fseek;
+ fsetpos;
+ fstat;
+ _fstat;
+ fstatvfs;
+ _fstatvfs;
+ fsync;
+ _fsync;
+ ftell;
+ ftok;
+ _ftok;
+ funlockfile;
+ fwrite;
+ getc;
+ getchar;
+ getchar_unlocked;
+ getcontext;
+ _getcontext;
+ getc_unlocked;
+ getcwd;
+ _getcwd;
+ getdate;
+ _getdate;
+ getdate_err;
+ _getdate_err;
+ getegid;
+ _getegid;
+ getenv;
+ geteuid;
+ _geteuid;
+ getgid;
+ _getgid;
+ getgrent;
+ getgrent_r;
+ getgrgid;
+ getgrgid_r;
+ getgrnam;
+ getgrnam_r;
+ getgroups;
+ _getgroups;
+ getitimer;
+ _getitimer;
+ getlogin;
+ getlogin_r;
+ getmsg;
+ _getmsg;
+ getopt;
+ _getopt;
+ getpass;
+ _getpass;
+ getpgid;
+ _getpgid;
+ getpgrp;
+ _getpgrp;
+ getpid;
+ _getpid;
+ getpmsg;
+ _getpmsg;
+ getppid;
+ _getppid;
+ getpwent;
+ getpwent_r;
+ getpwnam;
+ getpwnam_r;
+ getpwuid;
+ getpwuid_r;
+ getrlimit;
+ _getrlimit;
+ gets;
+ getsid;
+ _getsid;
+ getsubopt;
+ _getsubopt;
+ gettimeofday;
+ _gettimeofday;
+ gettxt;
+ _gettxt;
+ getuid;
+ _getuid;
+ getw;
+ _getw;
+ gmtime;
+ gmtime_r;
+ grantpt;
+ _grantpt;
+ hcreate;
+ _hcreate;
+ hdestroy;
+ _hdestroy;
+ hsearch;
+ _hsearch;
+ __huge_val;
+ initgroups;
+ _initgroups;
+ _iob;
+ __iob;
+ ioctl;
+ _ioctl;
+ isalnum;
+ isalpha;
+ isascii;
+ _isascii;
+ isastream;
+ _isastream;
+ isatty;
+ _isatty;
+ iscntrl;
+ isdigit;
+ isgraph;
+ islower;
+ isnan = FUNCTION FILTER libm.so.2;
+ _isnan = FUNCTION FILTER libm.so.2;
+ isnand = FUNCTION FILTER libm.so.2;
+ _isnand = FUNCTION FILTER libm.so.2;
+ isprint;
+ ispunct;
+ isspace;
+ isupper;
+ isxdigit;
+ kill;
+ _kill;
+ labs;
+ lchown;
+ _lchown;
+ ldexp = FUNCTION FILTER libm.so.2;
+ ldiv;
+ lfind;
+ _lfind;
+ link;
+ _link;
+ localeconv;
+ localtime;
+ localtime_r;
+ lockf;
+ _lockf;
+ logb = FUNCTION FILTER libm.so.2;
+ longjmp;
+ lsearch;
+ _lsearch;
+ lseek;
+ _lseek;
+ lstat;
+ _lstat;
+ makecontext;
+ _makecontext;
+ malloc = NODIRECT;
+ mblen;
+ mbstowcs;
+ mbtowc;
+ memccpy;
+ _memccpy;
+ memchr;
+ memcmp;
+ memcntl;
+ _memcntl;
+ memcpy;
+ memmove;
+ memset;
+ mkdir;
+ _mkdir;
+ mkfifo;
+ _mkfifo;
+ mknod;
+ _mknod;
+ mktemp;
+ _mktemp;
+ mktime;
+ mlock;
+ _mlock;
+ mmap;
+ _mmap;
+ modf = FUNCTION FILTER libm.so.2;
+ _modf = FUNCTION FILTER libm.so.2;
+ monitor;
+ _monitor;
+ mount;
+ _mount;
+ mprotect;
+ _mprotect;
+ msgctl;
+ _msgctl;
+ msgget;
+ _msgget;
+ msgrcv;
+ _msgrcv;
+ msgsnd;
+ _msgsnd;
+ msync;
+ _msync;
+ munlock;
+ _munlock;
+ munmap;
+ _munmap;
+ _mutex_held;
+ _mutex_lock;
+ nextafter = FUNCTION FILTER libm.so.2;
+ _nextafter = FUNCTION FILTER libm.so.2;
+ nftw;
+ _nftw;
+ nice;
+ _nice;
+ nl_langinfo;
+ _nl_langinfo;
+ _numeric;
+ open;
+ _open;
+ opendir;
+ _opendir;
+ optarg;
+ opterr;
+ optind;
+ optopt;
+ pathconf;
+ _pathconf;
+ pause;
+ _pause;
+ pclose;
+ _pclose;
+ perror;
+ pipe;
+ _pipe;
+ poll;
+ _poll;
+ p_online;
+ popen;
+ _popen;
+ printf;
+ profil;
+ _profil;
+ ptsname;
+ _ptsname;
+ putc;
+ putchar;
+ putchar_unlocked;
+ putc_unlocked;
+ putenv;
+ _putenv;
+ putmsg;
+ _putmsg;
+ putpmsg;
+ _putpmsg;
+ puts;
+ putw;
+ _putw;
+ qsort;
+ raise;
+ rand;
+ rand_r;
+ read;
+ _read;
+ readdir;
+ _readdir;
+ readdir_r;
+ readlink;
+ _readlink;
+ readv;
+ _readv;
+ realloc = NODIRECT;
+ remove;
+ rename;
+ _rename;
+ rewind;
+ rewinddir;
+ _rewinddir;
+ rmdir;
+ _rmdir;
+ _rw_read_held;
+ _rw_write_held;
+ sbrk;
+ scalb = FUNCTION FILTER libm.so.2;
+ _scalb = FUNCTION FILTER libm.so.2;
+ scanf;
+ seekdir;
+ _seekdir;
+ semctl;
+ _semctl;
+ semget;
+ _semget;
+ semop;
+ _semop;
+ setbuf;
+ setcontext;
+ _setcontext;
+ setgid;
+ _setgid;
+ setgrent;
+ setgroups;
+ _setgroups;
+ setitimer;
+ _setitimer;
+ setjmp;
+ setkey;
+ _setkey;
+ setlabel;
+ setlocale;
+ setpgid;
+ _setpgid;
+ setpgrp;
+ _setpgrp;
+ setpwent;
+ setrlimit;
+ _setrlimit;
+ setsid;
+ _setsid;
+ setuid;
+ _setuid;
+ setvbuf;
+ shmat;
+ _shmat;
+ shmctl;
+ _shmctl;
+ shmdt;
+ _shmdt;
+ shmget;
+ _shmget;
+ _sibuf;
+ sigaction = NODIRECT;
+ _sigaction = NODIRECT;
+ sigaddset;
+ _sigaddset;
+ sigaltstack;
+ _sigaltstack;
+ sigdelset;
+ _sigdelset;
+ sigemptyset;
+ _sigemptyset;
+ sigfillset;
+ _sigfillset;
+ sighold;
+ _sighold;
+ sigignore;
+ _sigignore;
+ sigismember;
+ _sigismember;
+ siglongjmp;
+ _siglongjmp;
+ signal;
+ sigpause;
+ _sigpause;
+ sigpending;
+ _sigpending;
+ sigprocmask;
+ _sigprocmask;
+ sigrelse;
+ _sigrelse;
+ sigsend;
+ _sigsend;
+ sigsendset;
+ _sigsendset;
+ sigset;
+ _sigset;
+ sigsetjmp;
+ _sigsetjmp;
+ sigsuspend;
+ _sigsuspend;
+ sleep;
+ _sleep;
+ _sobuf;
+ sprintf;
+ srand;
+ srand48;
+ sscanf;
+ stat;
+ _stat;
+ statvfs;
+ _statvfs;
+ stime;
+ _stime;
+ strcat;
+ strchr;
+ strcmp;
+ strcoll;
+ strcpy;
+ strcspn;
+ strdup;
+ _strdup;
+ strerror;
+ strftime;
+ strlen;
+ strncat;
+ strncmp;
+ strncpy;
+ strpbrk;
+ strrchr;
+ strspn;
+ strstr;
+ strtod;
+ strtok;
+ strtok_r;
+ strtol;
+ strtoul;
+ strxfrm;
+ swab;
+ _swab;
+ swapcontext;
+ _swapcontext;
+ symlink;
+ _symlink;
+ sync;
+ _sync;
+ _sys_buslist;
+ _syscall;
+ _sys_cldlist;
+ sysconf;
+ _sysconf;
+ _sys_fpelist;
+ sysinfo;
+ _sysinfo;
+ _sys_segvlist;
+ _sys_siginfolistp;
+ _sys_siglist;
+ _sys_siglistn;
+ _sys_siglistp;
+ system;
+ _sys_traplist;
+ tcdrain;
+ _tcdrain;
+ tcflow;
+ _tcflow;
+ tcflush;
+ _tcflush;
+ tcgetattr;
+ _tcgetattr;
+ tcgetpgrp;
+ _tcgetpgrp;
+ tcgetsid;
+ _tcgetsid;
+ tcsendbreak;
+ _tcsendbreak;
+ tcsetattr;
+ _tcsetattr;
+ tcsetpgrp;
+ _tcsetpgrp;
+ tdelete;
+ _tdelete;
+ tell;
+ _tell;
+ telldir;
+ _telldir;
+ tempnam;
+ _tempnam;
+ tfind;
+ _tfind;
+ time;
+ _time;
+ times;
+ _times;
+ timezone;
+ _timezone;
+ tmpfile;
+ tmpnam;
+ toascii;
+ _toascii;
+ tolower;
+ _tolower;
+ toupper;
+ _toupper;
+ tsearch;
+ _tsearch;
+ ttyname;
+ ttyname_r;
+ twalk;
+ _twalk;
+ tzname;
+ _tzname;
+ tzset;
+ _tzset;
+ ulimit;
+ _ulimit;
+ umask;
+ _umask;
+ umount;
+ _umount;
+ uname;
+ _uname;
+ ungetc;
+ unlink;
+ _unlink;
+ unlockpt;
+ _unlockpt;
+ utime;
+ _utime;
+ vfprintf;
+ vprintf;
+ vsprintf;
+ wait;
+ _wait;
+ waitid;
+ _waitid;
+ waitpid;
+ _waitpid;
+ wcstombs;
+ wctomb;
+ write;
+ _write;
+ writev;
+ _writev;
+ _xftw;
+} SYSVABI_1.3;
+
+SYSVABI_1.3 {
+ global:
+ _ctermid;
+ __flt_rounds;
+ _fpstart;
+ __fpstart;
+ _getgrgid;
+ _getgrnam;
+ _getlogin;
+ _getpwnam;
+ _getpwuid;
+ _sbrk;
+ _ttyname;
+};
+
+SUNWprivate_1.1 {
+ global:
+ _D_cplx_lr_div;
+ _D_cplx_lr_div_ix;
+ _D_cplx_lr_div_rx;
+ _dladdr = FUNCTION FILTER /usr/lib/amd64/ld.so.1;
+ _dladdr1 = FUNCTION FILTER /usr/lib/amd64/ld.so.1;
+ _dlamd64getunwind = FUNCTION FILTER /usr/lib/amd64/ld.so.1;
+ _dlclose = FUNCTION FILTER /usr/lib/amd64/ld.so.1;
+ _dldump = FUNCTION FILTER /usr/lib/amd64/ld.so.1;
+ _dlerror = FUNCTION FILTER /usr/lib/amd64/ld.so.1;
+ _dlinfo = FUNCTION FILTER /usr/lib/amd64/ld.so.1;
+ _dlmopen = FUNCTION FILTER /usr/lib/amd64/ld.so.1;
+ _dlopen = FUNCTION FILTER /usr/lib/amd64/ld.so.1;
+ _dlsym = FUNCTION FILTER /usr/lib/amd64/ld.so.1;
+ _F_cplx_lr_div;
+ _F_cplx_lr_div_ix;
+ _F_cplx_lr_div_rx;
+ __fltrounds;
+ __fseterror_u;
+ gtty;
+ _gtty;
+ _hasmntopt;
+ htonl;
+ htons;
+ _ld_libc = FUNCTION FILTER /usr/lib/amd64/ld.so.1;
+ _memcmp;
+ _memcpy;
+ _memmove;
+ _memset;
+ ntohl;
+ ntohs;
+ sysi86;
+ _sysi86;
+ _X_cplx_div;
+ _X_cplx_div_ix;
+ _X_cplx_div_rx;
+ _X_cplx_lr_div;
+ _X_cplx_lr_div_ix;
+ _X_cplx_lr_div_rx;
+ _X_cplx_mul;
+ __xgetRD;
+ __xtol;
+ __xtoll;
+ __xtoul;
+ __xtoull;
+};
diff --git a/usr/src/lib/libc/i386/Makefile.com b/usr/src/lib/libc/i386/Makefile.com
index 3ca6342b0f..9560631ae8 100644
--- a/usr/src/lib/libc/i386/Makefile.com
+++ b/usr/src/lib/libc/i386/Makefile.com
@@ -24,8 +24,6 @@
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libc/Makefile.com
-#
LIB_PIC= libc_pic.a
VERS= .1
@@ -953,8 +951,7 @@ ALTPICS= $(TRACEOBJS:%=pics/%)
$(DYNLIB) := PICS += $(ROOTFS_LIBDIR)/libc_i18n.a
$(DYNLIB) := BUILD.SO = $(LD) -o $@ -G $(DYNFLAGS) $(PICS) $(ALTPICS) $(LDLIBS)
-MAPDIR= ../spec/i386
-MAPFILE= $(MAPDIR)/mapfile
+MAPFILES = ../port/mapfile-vers ../i386/mapfile-vers
#
# EXTN_CPPFLAGS and EXTN_CFLAGS set in enclosing Makefile
@@ -966,10 +963,9 @@ ASFLAGS= $(AS_PICFLAGS) -P -D__STDC__ -D_ASM $(CPPFLAGS) $(i386_AS_XARCH)
# Inform the run-time linker about libc specialized initialization
RTLDINFO = -z rtldinfo=tls_rtldinfo
+DYNFLAGS += $(RTLDINFO)
-DYNFLAGS = $(HSONAME) $(ZTEXT) $(ZDEFS) $(ZCOMBRELOC)
-DYNFLAGS += $(SPECMAPFILE:%=-M %) $(PGA_MAPFILE:%=-M %) $(NX_MAP:%=-M%) \
- -e __rtboot -M $(MAPFILE) $(RTLDINFO)
+DYNFLAGS += -e __rtboot
DYNFLAGS += $(EXTN_DYNFLAGS)
BUILD.s= $(AS) $(ASFLAGS) $< -o $@
@@ -996,7 +992,7 @@ CLEANFILES= \
pics/crtn.o \
$(ALTPICS)
-CLOBBERFILES += $(MAPFILE) $(LIB_PIC)
+CLOBBERFILES += $(LIB_PIC)
# list of C source for lint
SRCS= \
@@ -1033,11 +1029,6 @@ $(DYNLIB) $(LIB_PIC) := DYNOBJS = _rtbootld.o
$(DYNLIB) := CRTI = crti.o
$(DYNLIB) := CRTN = crtn.o
-$(DYNLIB): $(MAPFILE)
-
-$(MAPFILE):
- @cd $(MAPDIR); $(MAKE) mapfile
-
# Files which need the threads .il inline template
TIL= \
aio.o \
diff --git a/usr/src/lib/libc/i386/mapfile-vers b/usr/src/lib/libc/i386/mapfile-vers
new file mode 100644
index 0000000000..6923652e79
--- /dev/null
+++ b/usr/src/lib/libc/i386/mapfile-vers
@@ -0,0 +1,909 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNW_1.23 {
+ global:
+ aio_cancel64;
+ aio_error64;
+ aio_fsync64;
+ aio_read64;
+ aioread64;
+ aio_return64;
+ aio_suspend64;
+ aio_waitn64;
+ aio_write64;
+ aiowrite64;
+ enable_extended_FILE_stdio;
+ lio_listio64;
+ mkstemps64;
+ _mkstemps64;
+ posix_fallocate64;
+};
+
+SUNW_1.22 {
+ global:
+ alphasort64;
+ _alphasort64;
+ dladdr = FUNCTION FILTER /usr/lib/ld.so.1;
+ dladdr1 = FUNCTION FILTER /usr/lib/ld.so.1;
+ dlclose = FUNCTION FILTER /usr/lib/ld.so.1;
+ dldump = FUNCTION FILTER /usr/lib/ld.so.1;
+ dlerror = FUNCTION FILTER /usr/lib/ld.so.1;
+ dlinfo = FUNCTION FILTER /usr/lib/ld.so.1;
+ dlmopen = FUNCTION FILTER /usr/lib/ld.so.1;
+ dlopen = FUNCTION FILTER /usr/lib/ld.so.1;
+ dlsym = FUNCTION FILTER /usr/lib/ld.so.1;
+ pselect_large_fdset;
+ scandir64;
+ _scandir64;
+};
+
+SUNW_1.21 {
+ global:
+ attropen64;
+ _attropen64;
+ fstatat64;
+ _fstatat64;
+ openat64;
+ _openat64;
+ walkcontext;
+};
+
+SUNW_1.18 {
+ global:
+ select_large_fdset;
+};
+
+SUNW_1.1 {
+ global:
+ creat64;
+ _creat64;
+ fgetpos64;
+ fopen64;
+ freopen64;
+ fseeko64;
+ fsetpos64;
+ fstat64;
+ _fstat64;
+ fstatvfs64;
+ _fstatvfs64;
+ ftello64;
+ ftruncate64;
+ _ftruncate64;
+ ftw64;
+ _ftw64;
+ getdents64;
+ _getdents64;
+ getrlimit64;
+ _getrlimit64;
+ lockf64;
+ _lockf64;
+ lseek64;
+ _lseek64;
+ lstat64;
+ _lstat64;
+ mkstemp64;
+ _mkstemp64;
+ mmap64;
+ _mmap64;
+ nftw64;
+ _nftw64;
+ open64;
+ _open64;
+ __posix_readdir_r;
+ pread64;
+ _pread64;
+ pwrite64;
+ _pwrite64;
+ readdir64;
+ _readdir64;
+ readdir64_r;
+ _readdir64_r;
+ setrlimit64;
+ _setrlimit64;
+ s_fcntl;
+ _s_fcntl;
+ s_ioctl;
+ stat64;
+ _stat64;
+ statvfs64;
+ _statvfs64;
+ tell64;
+ _tell64;
+ tmpfile64;
+ truncate64;
+ _truncate64;
+ _xftw64;
+};
+
+SUNW_0.7 {
+ global:
+ addseverity;
+ _addseverity;
+ asctime_r;
+ _assert;
+ _bufendtab;
+ __builtin_alloca;
+ crypt;
+ _crypt;
+ ctime_r;
+ _ctype;
+ __div64;
+ encrypt;
+ _encrypt;
+ endgrent;
+ endpwent;
+ errno;
+ ___errno;
+ fgetgrent;
+ fgetgrent_r;
+ fgetpwent;
+ fgetpwent_r;
+ file_to_decimal;
+ flockfile;
+ _flsbuf;
+ funlockfile;
+ getchar_unlocked;
+ getc_unlocked;
+ getgrent;
+ getgrent_r;
+ getgrgid_r;
+ getgrnam_r;
+ getitimer;
+ _getitimer;
+ getlogin_r;
+ getpwent;
+ getpwent_r;
+ getpwnam_r;
+ getpwuid_r;
+ gettimeofday;
+ _gettimeofday;
+ gmtime_r;
+ _iob;
+ _lastbuf;
+ localtime_r;
+ __mul64;
+ _mutex_held;
+ _mutex_lock;
+ p_online;
+ putchar_unlocked;
+ putc_unlocked;
+ rand_r;
+ readdir_r;
+ __rem64;
+ _rw_read_held;
+ _rw_write_held;
+ setgrent;
+ setitimer;
+ _setitimer;
+ setkey;
+ _setkey;
+ setpwent;
+ _sibuf;
+ _sobuf;
+ srand48;
+ strtok_r;
+ _sys_buslist;
+ _syscall;
+ _sys_cldlist;
+ sys_errlist;
+ _sys_fpelist;
+ sysinfo;
+ _sysinfo;
+ sys_nerr;
+ _sys_nsig;
+ _sys_segvlist;
+ _sys_siginfolistp;
+ _sys_siglist;
+ _sys_siglistn;
+ _sys_siglistp;
+ _sys_traplist;
+ ttyname_r;
+ __udiv64;
+ __urem64;
+} SYSVABI_1.3;
+
+SYSVABI_1.3 {
+ global:
+ abort;
+ abs;
+ access;
+ _access;
+ acct;
+ _acct;
+ alarm;
+ _alarm;
+ _altzone;
+ asctime;
+ __assert;
+ atexit;
+ atof;
+ atoi;
+ atol;
+ bsearch;
+ calloc = NODIRECT;
+ catclose;
+ _catclose;
+ catgets;
+ _catgets;
+ catopen;
+ _catopen;
+ cfgetispeed;
+ _cfgetispeed;
+ cfgetospeed;
+ _cfgetospeed;
+ cfsetispeed;
+ _cfsetispeed;
+ cfsetospeed;
+ _cfsetospeed;
+ chdir;
+ _chdir;
+ chmod;
+ _chmod;
+ chown;
+ _chown;
+ chroot;
+ _chroot;
+ _cleanup;
+ clearerr;
+ clock;
+ _close;
+ close = NODIRECT;
+ closedir;
+ _closedir;
+ creat;
+ _creat;
+ ctermid;
+ _ctermid;
+ ctime;
+ __ctype;
+ cuserid;
+ _cuserid;
+ daylight;
+ _daylight;
+ difftime;
+ div;
+ dup;
+ _dup;
+ dup2;
+ _dup2;
+ environ = NODIRECT;
+ _environ = NODIRECT;
+ execl;
+ _execl;
+ execle;
+ _execle;
+ execlp;
+ _execlp;
+ execv;
+ _execv;
+ execve;
+ _execve;
+ execvp;
+ _execvp;
+ exit;
+ _exit;
+ fattach;
+ _fattach;
+ fchdir;
+ _fchdir;
+ fchmod;
+ _fchmod;
+ fchown;
+ _fchown;
+ fclose;
+ fcntl;
+ _fcntl;
+ fdetach;
+ _fdetach;
+ fdopen;
+ _fdopen;
+ feof;
+ ferror;
+ fflush;
+ fgetc;
+ fgetpos;
+ fgets;
+ __filbuf;
+ fileno;
+ _fileno;
+ __flsbuf;
+ __flt_rounds;
+ fmtmsg;
+ _fmtmsg;
+ fopen;
+ _fork;
+ fork = NODIRECT;
+ fpathconf;
+ _fpathconf;
+ _fp_hw;
+ fprintf;
+ _fpstart;
+ __fpstart;
+ fputc;
+ fputs;
+ fread;
+ free = NODIRECT;
+ freopen;
+ frexp = FUNCTION FILTER libm.so.2;
+ fscanf;
+ fseek;
+ fsetpos;
+ fstat;
+ _fstat;
+ fstatvfs;
+ _fstatvfs;
+ fsync;
+ _fsync;
+ ftell;
+ ftok;
+ _ftok;
+ fwrite;
+ _fxstat;
+ getc;
+ getchar;
+ getcontext;
+ _getcontext;
+ getcwd;
+ _getcwd;
+ getdate;
+ _getdate;
+ getdate_err;
+ _getdate_err;
+ getegid;
+ _getegid;
+ getenv;
+ geteuid;
+ _geteuid;
+ getgid;
+ _getgid;
+ getgrgid;
+ _getgrgid;
+ getgrnam;
+ _getgrnam;
+ getgroups;
+ _getgroups;
+ getlogin;
+ _getlogin;
+ getmsg;
+ _getmsg;
+ getopt;
+ _getopt;
+ getpass;
+ _getpass;
+ getpgid;
+ _getpgid;
+ getpgrp;
+ _getpgrp;
+ getpid;
+ _getpid;
+ getpmsg;
+ _getpmsg;
+ getppid;
+ _getppid;
+ getpwnam;
+ _getpwnam;
+ getpwuid;
+ _getpwuid;
+ getrlimit;
+ _getrlimit;
+ gets;
+ getsid;
+ _getsid;
+ getsubopt;
+ _getsubopt;
+ gettxt;
+ _gettxt;
+ getuid;
+ _getuid;
+ getw;
+ _getw;
+ gmtime;
+ grantpt;
+ _grantpt;
+ hcreate;
+ _hcreate;
+ hdestroy;
+ _hdestroy;
+ hsearch;
+ _hsearch;
+ __huge_val;
+ initgroups;
+ _initgroups;
+ __iob;
+ ioctl;
+ _ioctl;
+ isalnum;
+ isalpha;
+ isascii;
+ _isascii;
+ isastream;
+ _isastream;
+ isatty;
+ _isatty;
+ iscntrl;
+ isdigit;
+ isgraph;
+ islower;
+ isnan = FUNCTION FILTER libm.so.2;
+ _isnan = FUNCTION FILTER libm.so.2;
+ isnand = FUNCTION FILTER libm.so.2;
+ _isnand = FUNCTION FILTER libm.so.2;
+ isprint;
+ ispunct;
+ isspace;
+ isupper;
+ isxdigit;
+ kill;
+ _kill;
+ labs;
+ lchown;
+ _lchown;
+ ldexp = FUNCTION FILTER libm.so.2;
+ ldiv;
+ lfind;
+ _lfind;
+ link;
+ _link;
+ localeconv;
+ localtime;
+ lockf;
+ _lockf;
+ logb = FUNCTION FILTER libm.so.2;
+ longjmp;
+ lsearch;
+ _lsearch;
+ lseek;
+ _lseek;
+ lstat;
+ _lstat;
+ _lxstat;
+ makecontext;
+ _makecontext;
+ malloc = NODIRECT;
+ mblen;
+ mbstowcs;
+ mbtowc;
+ memccpy;
+ _memccpy;
+ memchr;
+ memcmp;
+ memcntl;
+ _memcntl;
+ memcpy;
+ memmove;
+ memset;
+ mkdir;
+ _mkdir;
+ mkfifo;
+ _mkfifo;
+ mknod;
+ _mknod;
+ mktemp;
+ _mktemp;
+ mktime;
+ mlock;
+ _mlock;
+ mmap;
+ _mmap;
+ modf = FUNCTION FILTER libm.so.2;
+ _modf = FUNCTION FILTER libm.so.2;
+ monitor;
+ _monitor;
+ mount;
+ _mount;
+ mprotect;
+ _mprotect;
+ msgctl;
+ _msgctl;
+ msgget;
+ _msgget;
+ msgrcv;
+ _msgrcv;
+ msgsnd;
+ _msgsnd;
+ msync;
+ _msync;
+ munlock;
+ _munlock;
+ munmap;
+ _munmap;
+ nextafter = FUNCTION FILTER libm.so.2;
+ _nextafter = FUNCTION FILTER libm.so.2;
+ nftw;
+ _nftw;
+ nice;
+ _nice;
+ nl_langinfo;
+ _nl_langinfo;
+ _numeric;
+ nuname;
+ _nuname;
+ open;
+ _open;
+ opendir;
+ _opendir;
+ optarg;
+ opterr;
+ optind;
+ optopt;
+ pathconf;
+ _pathconf;
+ pause;
+ _pause;
+ pclose;
+ _pclose;
+ perror;
+ pipe;
+ _pipe;
+ poll;
+ _poll;
+ popen;
+ _popen;
+ printf;
+ profil;
+ _profil;
+ ptrace;
+ _ptrace;
+ ptsname;
+ _ptsname;
+ putc;
+ putchar;
+ putenv;
+ _putenv;
+ putmsg;
+ _putmsg;
+ putpmsg;
+ _putpmsg;
+ puts;
+ putw;
+ _putw;
+ qsort;
+ raise;
+ rand;
+ read;
+ _read;
+ readdir;
+ _readdir;
+ readlink;
+ _readlink;
+ readv;
+ _readv;
+ realloc = NODIRECT;
+ remove;
+ rename;
+ _rename;
+ rewind;
+ rewinddir;
+ _rewinddir;
+ rmdir;
+ _rmdir;
+ sbrk;
+ _sbrk;
+ scalb = FUNCTION FILTER libm.so.2;
+ _scalb = FUNCTION FILTER libm.so.2;
+ scanf;
+ seekdir;
+ _seekdir;
+ semctl;
+ _semctl;
+ semget;
+ _semget;
+ semop;
+ _semop;
+ setbuf;
+ setcontext;
+ _setcontext;
+ setgid;
+ _setgid;
+ setgroups;
+ _setgroups;
+ setjmp;
+ setlabel;
+ setlocale;
+ setpgid;
+ _setpgid;
+ setpgrp;
+ _setpgrp;
+ setrlimit;
+ _setrlimit;
+ setsid;
+ _setsid;
+ setuid;
+ _setuid;
+ setvbuf;
+ shmat;
+ _shmat;
+ shmctl;
+ _shmctl;
+ shmdt;
+ _shmdt;
+ shmget;
+ _shmget;
+ sigaction = NODIRECT;
+ _sigaction = NODIRECT;
+ sigaddset;
+ _sigaddset;
+ sigaltstack;
+ _sigaltstack;
+ sigdelset;
+ _sigdelset;
+ sigemptyset;
+ _sigemptyset;
+ sigfillset;
+ _sigfillset;
+ sighold;
+ _sighold;
+ sigignore;
+ _sigignore;
+ sigismember;
+ _sigismember;
+ siglongjmp;
+ _siglongjmp;
+ signal;
+ sigpause;
+ _sigpause;
+ sigpending;
+ _sigpending;
+ sigprocmask;
+ _sigprocmask;
+ sigrelse;
+ _sigrelse;
+ sigsend;
+ _sigsend;
+ sigsendset;
+ _sigsendset;
+ sigset;
+ _sigset;
+ sigsetjmp;
+ _sigsetjmp;
+ sigsuspend;
+ _sigsuspend;
+ sleep;
+ _sleep;
+ sprintf;
+ srand;
+ sscanf;
+ stat;
+ _stat;
+ statvfs;
+ _statvfs;
+ stime;
+ _stime;
+ strcat;
+ strchr;
+ strcmp;
+ strcoll;
+ strcpy;
+ strcspn;
+ strdup;
+ _strdup;
+ strerror;
+ strftime;
+ strlen;
+ strncat;
+ strncmp;
+ strncpy;
+ strpbrk;
+ strrchr;
+ strspn;
+ strstr;
+ strtod;
+ strtok;
+ strtol;
+ strtoul;
+ strxfrm;
+ swab;
+ _swab;
+ swapcontext;
+ _swapcontext;
+ symlink;
+ _symlink;
+ sync;
+ _sync;
+ sysconf;
+ _sysconf;
+ system;
+ tcdrain;
+ _tcdrain;
+ tcflow;
+ _tcflow;
+ tcflush;
+ _tcflush;
+ tcgetattr;
+ _tcgetattr;
+ tcgetpgrp;
+ _tcgetpgrp;
+ tcgetsid;
+ _tcgetsid;
+ tcsendbreak;
+ _tcsendbreak;
+ tcsetattr;
+ _tcsetattr;
+ tcsetpgrp;
+ _tcsetpgrp;
+ tdelete;
+ _tdelete;
+ tell;
+ _tell;
+ telldir;
+ _telldir;
+ tempnam;
+ _tempnam;
+ tfind;
+ _tfind;
+ time;
+ _time;
+ times;
+ _times;
+ timezone;
+ _timezone;
+ tmpfile;
+ tmpnam;
+ toascii;
+ _toascii;
+ tolower;
+ _tolower;
+ toupper;
+ _toupper;
+ tsearch;
+ _tsearch;
+ ttyname;
+ _ttyname;
+ twalk;
+ _twalk;
+ tzname;
+ _tzname;
+ tzset;
+ _tzset;
+ ulimit;
+ _ulimit;
+ umask;
+ _umask;
+ umount;
+ _umount;
+ uname;
+ _uname;
+ ungetc;
+ unlink;
+ _unlink;
+ unlockpt;
+ _unlockpt;
+ utime;
+ _utime;
+ vfprintf;
+ vprintf;
+ vsprintf;
+ wait;
+ _wait;
+ waitid;
+ _waitid;
+ waitpid;
+ _waitpid;
+ wcstombs;
+ wctomb;
+ write;
+ _write;
+ writev;
+ _writev;
+ _xftw;
+ _xmknod;
+ _xstat;
+};
+
+SUNWprivate_1.1 {
+ global:
+ _D_cplx_lr_div;
+ _D_cplx_lr_div_ix;
+ _D_cplx_lr_div_rx;
+ __divdi3;
+ __divrem64;
+ _dladdr = FUNCTION FILTER /usr/lib/ld.so.1;
+ _dladdr1 = FUNCTION FILTER /usr/lib/ld.so.1;
+ _dlclose = FUNCTION FILTER /usr/lib/ld.so.1;
+ _dldump = FUNCTION FILTER /usr/lib/ld.so.1;
+ _dlerror = FUNCTION FILTER /usr/lib/ld.so.1;
+ _dlinfo = FUNCTION FILTER /usr/lib/ld.so.1;
+ _dlmopen = FUNCTION FILTER /usr/lib/ld.so.1;
+ _dlopen = FUNCTION FILTER /usr/lib/ld.so.1;
+ _dlsym = FUNCTION FILTER /usr/lib/ld.so.1;
+ _F_cplx_lr_div;
+ _F_cplx_lr_div_ix;
+ _F_cplx_lr_div_rx;
+ _file_set;
+ __fltrounds;
+ _fprintf_c89;
+ _fscanf_c89;
+ __fseterror_u;
+ _fwprintf_c89;
+ _fwscanf_c89;
+ gtty;
+ _gtty;
+ _hasmntopt;
+ htonl;
+ htons;
+ _imaxabs_c89;
+ _imaxdiv_c89;
+ _ld_libc = FUNCTION FILTER /usr/lib/ld.so.1;
+ _memcmp;
+ _memcpy;
+ _memmove;
+ _memset;
+ __moddi3;
+ ntohl;
+ ntohs;
+ _printf_c89;
+ _scanf_c89;
+ _snprintf_c89;
+ _sprintf_c89;
+ _sscanf_c89;
+ _sse_hw;
+ _strtoimax_c89;
+ _strtoumax_c89;
+ _swprintf_c89;
+ _swscanf_c89;
+ _sys_errlist;
+ _sys_errs;
+ sysi86;
+ _sysi86;
+ _sys_index;
+ _sys_nerr;
+ _sys_num_err;
+ ___tls_get_addr;
+ __udivdi3;
+ __udivrem64;
+ __umoddi3;
+ _vfprintf_c89;
+ _vfscanf_c89;
+ _vfwprintf_c89;
+ _vfwscanf_c89;
+ _vprintf_c89;
+ _vscanf_c89;
+ _vsnprintf_c89;
+ _vsprintf_c89;
+ _vsscanf_c89;
+ _vswprintf_c89;
+ _vswscanf_c89;
+ _vwprintf_c89;
+ _vwscanf_c89;
+ _wcstoimax_c89;
+ _wcstoumax_c89;
+ _wprintf_c89;
+ _wscanf_c89;
+ _X_cplx_div;
+ _X_cplx_div_ix;
+ _X_cplx_div_rx;
+ _X_cplx_lr_div;
+ _X_cplx_lr_div_ix;
+ _X_cplx_lr_div_rx;
+ _X_cplx_mul;
+ __xgetRD;
+ __xtol;
+ __xtoll;
+ __xtoul;
+ __xtoull;
+};
diff --git a/usr/src/lib/libc/port/mapfile-vers b/usr/src/lib/libc/port/mapfile-vers
new file mode 100644
index 0000000000..a4ec4c8d7e
--- /dev/null
+++ b/usr/src/lib/libc/port/mapfile-vers
@@ -0,0 +1,2205 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNW_1.23 { # SunOS 5.11 (Solaris 11)
+ global:
+ aio_cancel;
+ aiocancel;
+ aio_error;
+ aio_fsync;
+ aio_read;
+ aioread;
+ aio_return;
+ aio_suspend;
+ aiowait;
+ aio_waitn;
+ aio_write;
+ aiowrite;
+ assfail;
+ clock_getres;
+ clock_gettime;
+ clock_nanosleep;
+ clock_settime;
+ door_bind;
+ door_call;
+ door_create;
+ door_cred;
+ door_getparam;
+ door_info;
+ door_return;
+ door_revoke;
+ door_server_create;
+ door_setparam;
+ door_ucred;
+ door_unbind;
+ fdatasync;
+ is_system_labeled;
+ lio_listio;
+ mkdtemp;
+ _mkdtemp;
+ mkstemps;
+ _mkstemps;
+ mq_close;
+ mq_getattr;
+ mq_notify;
+ mq_open;
+ mq_receive;
+ mq_reltimedreceive_np;
+ mq_reltimedsend_np;
+ mq_send;
+ mq_setattr;
+ mq_timedreceive;
+ mq_timedsend;
+ mq_unlink;
+ nanosleep;
+ posix_fallocate;
+ _renameat;
+ sched_getparam;
+ sched_get_priority_max;
+ sched_get_priority_min;
+ sched_getscheduler;
+ sched_rr_get_interval;
+ sched_setparam;
+ sched_setscheduler;
+ sched_yield;
+ sem_close;
+ sem_destroy;
+ sem_getvalue;
+ sem_init;
+ sem_open;
+ sem_post;
+ sem_reltimedwait_np;
+ sem_timedwait;
+ sem_trywait;
+ sem_unlink;
+ sem_wait;
+ shm_open;
+ shm_unlink;
+ sigqueue;
+ sigtimedwait;
+ sigwaitinfo;
+ timer_create;
+ timer_delete;
+ timer_getoverrun;
+ timer_gettime;
+ timer_settime;
+ ucred_getlabel;
+ _ucred_getlabel;
+} SUNW_1.22.1;
+
+SUNW_1.22.1 {
+ global:
+ atomic_add_8;
+ atomic_add_8_nv;
+ atomic_add_char;
+ atomic_add_char_nv;
+ atomic_add_int;
+ atomic_add_int_nv;
+ atomic_add_ptr;
+ atomic_add_ptr_nv;
+ atomic_add_short;
+ atomic_add_short_nv;
+ atomic_and_16;
+ atomic_and_16_nv;
+ atomic_and_32_nv;
+ atomic_and_64;
+ atomic_and_64_nv;
+ atomic_and_8;
+ atomic_and_8_nv;
+ atomic_and_uchar;
+ atomic_and_uchar_nv;
+ atomic_and_uint_nv;
+ atomic_and_ulong;
+ atomic_and_ulong_nv;
+ atomic_and_ushort;
+ atomic_and_ushort_nv;
+ atomic_cas_16;
+ atomic_cas_32;
+ atomic_cas_64;
+ atomic_cas_8;
+ atomic_cas_ptr;
+ atomic_cas_uchar;
+ atomic_cas_uint;
+ atomic_cas_ulong;
+ atomic_cas_ushort;
+ atomic_clear_long_excl;
+ atomic_dec_16;
+ atomic_dec_16_nv;
+ atomic_dec_32;
+ atomic_dec_32_nv;
+ atomic_dec_64;
+ atomic_dec_64_nv;
+ atomic_dec_8;
+ atomic_dec_8_nv;
+ atomic_dec_uchar;
+ atomic_dec_uchar_nv;
+ atomic_dec_uint;
+ atomic_dec_uint_nv;
+ atomic_dec_ulong;
+ atomic_dec_ulong_nv;
+ atomic_dec_ushort;
+ atomic_dec_ushort_nv;
+ atomic_inc_16;
+ atomic_inc_16_nv;
+ atomic_inc_32;
+ atomic_inc_32_nv;
+ atomic_inc_64;
+ atomic_inc_64_nv;
+ atomic_inc_8;
+ atomic_inc_8_nv;
+ atomic_inc_uchar;
+ atomic_inc_uchar_nv;
+ atomic_inc_uint;
+ atomic_inc_uint_nv;
+ atomic_inc_ulong;
+ atomic_inc_ulong_nv;
+ atomic_inc_ushort;
+ atomic_inc_ushort_nv;
+ atomic_or_16;
+ atomic_or_16_nv;
+ atomic_or_32_nv;
+ atomic_or_64;
+ atomic_or_64_nv;
+ atomic_or_8;
+ atomic_or_8_nv;
+ atomic_or_uchar;
+ atomic_or_uchar_nv;
+ atomic_or_uint_nv;
+ atomic_or_ulong;
+ atomic_or_ulong_nv;
+ atomic_or_ushort;
+ atomic_or_ushort_nv;
+ atomic_set_long_excl;
+ atomic_swap_16;
+ atomic_swap_32;
+ atomic_swap_64;
+ atomic_swap_8;
+ atomic_swap_ptr;
+ atomic_swap_uchar;
+ atomic_swap_uint;
+ atomic_swap_ulong;
+ atomic_swap_ushort;
+ membar_consumer;
+ membar_enter;
+ membar_exit;
+ membar_producer;
+} SUNW_1.22;
+
+SUNW_1.22 { # SunOS 5.10 (Solaris 10)
+ global:
+ alphasort;
+ _alphasort;
+ atomic_add_16;
+ atomic_add_16_nv;
+ atomic_add_32;
+ atomic_add_32_nv;
+ atomic_add_64;
+ atomic_add_64_nv;
+ atomic_add_long;
+ atomic_add_long_nv;
+ atomic_and_32;
+ atomic_and_uint;
+ atomic_or_32;
+ atomic_or_uint;
+ _Exit;
+ getisax;
+ _getisax;
+ getopt_clip;
+ _getopt_clip;
+ getopt_long;
+ _getopt_long;
+ getopt_long_only;
+ _getopt_long_only;
+ getpeerucred;
+ _getpeerucred;
+ getpflags;
+ _getpflags;
+ getppriv;
+ _getppriv;
+ getprivimplinfo;
+ _getprivimplinfo;
+ getzoneid;
+ getzoneidbyname;
+ getzonenamebyid;
+ imaxabs;
+ imaxdiv;
+ isblank;
+ iswblank;
+ port_alert;
+ port_associate;
+ port_create;
+ port_dissociate;
+ port_get;
+ port_getn;
+ port_send;
+ port_sendn;
+ posix_openpt;
+ posix_spawn;
+ posix_spawnattr_destroy;
+ posix_spawnattr_getflags;
+ posix_spawnattr_getpgroup;
+ posix_spawnattr_getschedparam;
+ posix_spawnattr_getschedpolicy;
+ posix_spawnattr_getsigdefault;
+ posix_spawnattr_getsigmask;
+ posix_spawnattr_init;
+ posix_spawnattr_setflags;
+ posix_spawnattr_setpgroup;
+ posix_spawnattr_setschedparam;
+ posix_spawnattr_setschedpolicy;
+ posix_spawnattr_setsigdefault;
+ posix_spawnattr_setsigmask;
+ posix_spawn_file_actions_addclose;
+ posix_spawn_file_actions_adddup2;
+ posix_spawn_file_actions_addopen;
+ posix_spawn_file_actions_destroy;
+ posix_spawn_file_actions_init;
+ posix_spawnp;
+ priv_addset;
+ _priv_addset;
+ priv_allocset;
+ _priv_allocset;
+ priv_copyset;
+ _priv_copyset;
+ priv_delset;
+ _priv_delset;
+ priv_emptyset;
+ _priv_emptyset;
+ priv_fillset;
+ _priv_fillset;
+ __priv_free_info;
+ priv_freeset;
+ _priv_freeset;
+ priv_getbyname;
+ _priv_getbyname;
+ __priv_getbyname;
+ priv_getbynum;
+ _priv_getbynum;
+ __priv_getbynum;
+ __priv_getdata;
+ priv_getsetbyname;
+ _priv_getsetbyname;
+ __priv_getsetbyname;
+ priv_getsetbynum;
+ _priv_getsetbynum;
+ __priv_getsetbynum;
+ priv_gettext;
+ _priv_gettext;
+ priv_ineffect;
+ _priv_ineffect;
+ priv_intersect;
+ _priv_intersect;
+ priv_inverse;
+ _priv_inverse;
+ priv_isemptyset;
+ _priv_isemptyset;
+ priv_isequalset;
+ _priv_isequalset;
+ priv_isfullset;
+ _priv_isfullset;
+ priv_ismember;
+ _priv_ismember;
+ priv_issubset;
+ _priv_issubset;
+ __priv_parse_info;
+ priv_set;
+ _priv_set;
+ priv_set_to_str;
+ _priv_set_to_str;
+ __priv_set_to_str;
+ priv_str_to_set;
+ _priv_str_to_set;
+ priv_union;
+ _priv_union;
+ pselect;
+ pthread_attr_getstack;
+ pthread_attr_setstack;
+ pthread_barrierattr_destroy;
+ pthread_barrierattr_getpshared;
+ pthread_barrierattr_init;
+ pthread_barrierattr_setpshared;
+ pthread_barrier_destroy;
+ pthread_barrier_init;
+ pthread_barrier_wait;
+ pthread_condattr_getclock;
+ pthread_condattr_setclock;
+ pthread_mutexattr_getrobust_np;
+ pthread_mutexattr_setrobust_np;
+ pthread_mutex_consistent_np;
+ pthread_mutex_reltimedlock_np;
+ pthread_mutex_timedlock;
+ pthread_rwlock_reltimedrdlock_np;
+ pthread_rwlock_reltimedwrlock_np;
+ pthread_rwlock_timedrdlock;
+ pthread_rwlock_timedwrlock;
+ pthread_setschedprio;
+ pthread_spin_destroy;
+ pthread_spin_init;
+ pthread_spin_lock;
+ pthread_spin_trylock;
+ pthread_spin_unlock;
+ rctlblk_set_recipient_pid;
+ scandir;
+ _scandir;
+ schedctl_exit;
+ schedctl_init;
+ schedctl_lookup;
+ sema_reltimedwait;
+ sema_timedwait;
+ setenv;
+ setpflags;
+ _setpflags;
+ setppriv;
+ _setppriv;
+ strerror_r;
+ strtof;
+ strtoimax;
+ strtold;
+ strtoumax;
+ ucred_free;
+ _ucred_free;
+ ucred_get;
+ _ucred_get;
+ ucred_getegid;
+ _ucred_getegid;
+ ucred_geteuid;
+ _ucred_geteuid;
+ ucred_getgroups;
+ _ucred_getgroups;
+ ucred_getpflags;
+ _ucred_getpflags;
+ ucred_getpid;
+ _ucred_getpid;
+ ucred_getprivset;
+ _ucred_getprivset;
+ ucred_getprojid;
+ _ucred_getprojid;
+ ucred_getrgid;
+ _ucred_getrgid;
+ ucred_getruid;
+ _ucred_getruid;
+ ucred_getsgid;
+ _ucred_getsgid;
+ ucred_getsuid;
+ _ucred_getsuid;
+ ucred_getzoneid;
+ _ucred_getzoneid;
+ ucred_size;
+ _ucred_size;
+ unsetenv;
+ wcstof;
+ wcstoimax;
+ wcstold;
+ wcstoll;
+ wcstoull;
+ wcstoumax;
+} SUNW_1.21.3;
+
+SUNW_1.21.3 {
+ global:
+ forkall;
+} SUNW_1.21.2;
+
+SUNW_1.21.2 {
+ global:
+ getustack;
+ _getustack;
+ setustack;
+ _setustack;
+ stack_getbounds;
+ _stack_getbounds;
+ _stack_grow;
+ stack_inbounds;
+ _stack_inbounds;
+ stack_setbounds;
+ _stack_setbounds;
+ stack_violation;
+ _stack_violation;
+} SUNW_1.21.1;
+
+SUNW_1.21.1 {
+ global:
+ crypt_gensalt;
+} SUNW_1.21;
+
+SUNW_1.21 { # SunOS 5.9 (Solaris 9)
+ global:
+ attropen;
+ _attropen;
+ bind_textdomain_codeset;
+ closefrom;
+ _closefrom;
+ cond_reltimedwait;
+ dcngettext;
+ dngettext;
+ fchownat;
+ _fchownat;
+ fdopendir;
+ _fdopendir;
+ fdwalk;
+ _fdwalk;
+ fstatat;
+ _fstatat;
+ futimesat;
+ _futimesat;
+ getcpuid;
+ _getcpuid;
+ gethomelgroup;
+ _gethomelgroup;
+ getpagesizes;
+ getrctl;
+ _getrctl;
+ issetugid;
+ _issetugid;
+ _lwp_cond_reltimedwait;
+ meminfo;
+ _meminfo;
+ ngettext;
+ openat;
+ _openat;
+ printstack;
+ priocntl;
+ priocntlset;
+ pset_getattr;
+ pset_getloadavg;
+ pset_list;
+ pset_setattr;
+ pthread_cond_reltimedwait_np;
+ rctlblk_get_enforced_value;
+ rctlblk_get_firing_time;
+ rctlblk_get_global_action;
+ rctlblk_get_global_flags;
+ rctlblk_get_local_action;
+ rctlblk_get_local_flags;
+ rctlblk_get_privilege;
+ rctlblk_get_recipient_pid;
+ rctlblk_get_value;
+ rctlblk_set_local_action;
+ rctlblk_set_local_flags;
+ rctlblk_set_privilege;
+ rctlblk_set_value;
+ rctlblk_size;
+ rctl_walk;
+ renameat;
+ setrctl;
+ _setrctl;
+ unlinkat;
+ _unlinkat;
+ vfscanf;
+ _vfscanf;
+ vfwscanf;
+ vscanf;
+ _vscanf;
+ vsscanf;
+ _vsscanf;
+ vswscanf;
+ vwscanf;
+} SUNW_1.20.4;
+
+SUNW_1.20.4 {
+ global:
+ semtimedop;
+ _semtimedop;
+} SUNW_1.20.1;
+
+SUNW_1.20.1 {
+ global:
+ getacct;
+ _getacct;
+ getprojid;
+ _getprojid;
+ gettaskid;
+ _gettaskid;
+ msgids;
+ _msgids;
+ msgsnap;
+ _msgsnap;
+ putacct;
+ _putacct;
+ semids;
+ _semids;
+ settaskid;
+ _settaskid;
+ shmids;
+ _shmids;
+ wracct;
+ _wracct;
+} SUNW_1.20;
+
+SUNW_1.20 { # SunOS 5.8 (Solaris 8)
+ global:
+ getextmntent;
+ resetmnttab;
+} SUNW_1.19;
+
+SUNW_1.19 {
+ global:
+ strlcat;
+ strlcpy;
+ umount2;
+ _umount2;
+} SUNW_1.18.1;
+
+SUNW_1.18.1 {
+ global:
+ __fsetlocking;
+} SUNW_1.18;
+
+SUNW_1.18 { # SunOS 5.7 (Solaris 7)
+ global:
+ btowc;
+ __fbufsize;
+ __flbf;
+ _flushlbf;
+ __fpending;
+ __fpurge;
+ __freadable;
+ __freading;
+ fwide;
+ fwprintf;
+ __fwritable;
+ __fwriting;
+ fwscanf;
+ getloadavg;
+ isaexec;
+ mbrlen;
+ mbrtowc;
+ mbsinit;
+ mbsrtowcs;
+ pcsample;
+ pthread_attr_getguardsize;
+ pthread_attr_setguardsize;
+ pthread_getconcurrency;
+ pthread_mutexattr_gettype;
+ pthread_mutexattr_settype;
+ pthread_rwlockattr_destroy;
+ pthread_rwlockattr_getpshared;
+ pthread_rwlockattr_init;
+ pthread_rwlockattr_setpshared;
+ pthread_rwlock_destroy;
+ pthread_rwlock_init;
+ pthread_rwlock_rdlock;
+ pthread_rwlock_tryrdlock;
+ pthread_rwlock_trywrlock;
+ pthread_rwlock_unlock;
+ pthread_rwlock_wrlock;
+ pthread_setconcurrency;
+ swprintf;
+ swscanf;
+ __sysconf_xpg5;
+ vfwprintf;
+ vswprintf;
+ vwprintf;
+ wcrtomb;
+ wcsrtombs;
+ wcsstr;
+ wctob;
+ wmemchr;
+ wmemcmp;
+ wmemcpy;
+ wmemmove;
+ wmemset;
+ wprintf;
+ wscanf;
+} SUNW_1.17;
+
+# The empty versions SUNW_1.2 through SUNW_1.17 must be preserved because
+# applications built on Solaris 2.6 Beta (when they did contain symbols)
+# may depend on them. All symbol content for SunOS 5.6 is now in SUNW_1.1
+
+SUNW_1.17 {
+ global:
+ SUNW_1.17;
+} SUNW_1.16;
+
+SUNW_1.16 {
+ global:
+ SUNW_1.16;
+} SUNW_1.15;
+
+SUNW_1.15 {
+ global:
+ SUNW_1.15;
+} SUNW_1.14;
+
+SUNW_1.14 {
+ global:
+ SUNW_1.14;
+} SUNW_1.13;
+
+SUNW_1.13 {
+ global:
+ SUNW_1.13;
+} SUNW_1.12;
+
+SUNW_1.12 {
+ global:
+ SUNW_1.12;
+} SUNW_1.11;
+
+SUNW_1.11 {
+ global:
+ SUNW_1.11;
+} SUNW_1.10;
+
+SUNW_1.10 {
+ global:
+ SUNW_1.10;
+} SUNW_1.9;
+
+SUNW_1.9 {
+ global:
+ SUNW_1.9;
+} SUNW_1.8;
+
+SUNW_1.8 {
+ global:
+ SUNW_1.8;
+} SUNW_1.7;
+
+SUNW_1.7 {
+ global:
+ SUNW_1.7;
+} SUNW_1.6;
+
+SUNW_1.6 {
+ global:
+ SUNW_1.6;
+} SUNW_1.5;
+
+SUNW_1.5 {
+ global:
+ SUNW_1.5;
+} SUNW_1.4;
+
+SUNW_1.4 {
+ global:
+ SUNW_1.4;
+} SUNW_1.3;
+
+SUNW_1.3 {
+ global:
+ SUNW_1.3;
+} SUNW_1.2;
+
+SUNW_1.2 {
+ global:
+ SUNW_1.2;
+} SUNW_1.1;
+
+SUNW_1.1 { # SunOS 5.6 (Solaris 2.6)
+ global:
+ basename;
+ bindtextdomain;
+ bsd_signal;
+ dbm_clearerr;
+ dbm_error;
+ dcgettext;
+ dgettext;
+ directio;
+ dirname;
+ endusershell;
+ _exithandle;
+ fgetwc;
+ fgetws;
+ fpgetround;
+ fpsetround;
+ fputwc;
+ fputws;
+ fseeko;
+ ftello;
+ ftrylockfile;
+ getexecname;
+ _getexecname;
+ getpassphrase;
+ gettext;
+ getusershell;
+ getwc;
+ getwchar;
+ getws;
+ isenglish;
+ isideogram;
+ isnumber;
+ isphonogram;
+ isspecial;
+ iswalnum;
+ iswalpha;
+ iswcntrl;
+ iswctype;
+ iswdigit;
+ iswgraph;
+ iswlower;
+ iswprint;
+ iswpunct;
+ iswspace;
+ iswupper;
+ iswxdigit;
+ __loc1;
+ ____loc1;
+ _longjmp;
+ _lwp_sema_trywait;
+ ntp_adjtime;
+ _ntp_adjtime;
+ ntp_gettime;
+ _ntp_gettime;
+ __posix_asctime_r;
+ __posix_ctime_r;
+ __posix_getgrgid_r;
+ __posix_getgrnam_r;
+ __posix_getlogin_r;
+ __posix_getpwnam_r;
+ __posix_getpwuid_r;
+ __posix_sigwait;
+ __posix_ttyname_r;
+ pset_assign;
+ pset_bind;
+ pset_create;
+ pset_destroy;
+ pset_info;
+ pthread_atfork;
+ pthread_attr_destroy;
+ pthread_attr_getdetachstate;
+ pthread_attr_getinheritsched;
+ pthread_attr_getschedparam;
+ pthread_attr_getschedpolicy;
+ pthread_attr_getscope;
+ pthread_attr_getstackaddr;
+ pthread_attr_getstacksize;
+ pthread_attr_init;
+ pthread_attr_setdetachstate;
+ pthread_attr_setinheritsched;
+ pthread_attr_setschedparam;
+ pthread_attr_setschedpolicy;
+ pthread_attr_setscope;
+ pthread_attr_setstackaddr;
+ pthread_attr_setstacksize;
+ pthread_cancel;
+ __pthread_cleanup_pop;
+ __pthread_cleanup_push;
+ pthread_create;
+ pthread_detach;
+ pthread_equal;
+ pthread_exit;
+ pthread_getschedparam;
+ pthread_getspecific;
+ pthread_join;
+ pthread_key_create;
+ pthread_key_delete;
+ pthread_kill;
+ pthread_once;
+ pthread_self;
+ pthread_setcancelstate;
+ pthread_setcanceltype;
+ pthread_setschedparam;
+ pthread_setspecific;
+ pthread_sigmask;
+ pthread_testcancel;
+ putwc;
+ putwchar;
+ putws;
+ regcmp;
+ regex;
+ resolvepath;
+ _resolvepath;
+ rwlock_destroy;
+ _rwlock_destroy;
+ sema_destroy;
+ _sema_destroy;
+ _setjmp;
+ setusershell;
+ siginterrupt;
+ sigstack;
+ snprintf;
+ strtows;
+ sync_instruction_memory;
+ textdomain;
+ thr_main;
+ towctrans;
+ towlower;
+ towupper;
+ ungetwc;
+ vsnprintf;
+ watoll;
+ wcscat;
+ wcschr;
+ wcscmp;
+ wcscoll;
+ wcscpy;
+ wcscspn;
+ wcsftime;
+ wcslen;
+ wcsncat;
+ wcsncmp;
+ wcsncpy;
+ wcspbrk;
+ wcsrchr;
+ wcsspn;
+ wcstod;
+ wcstok;
+ wcstol;
+ wcstoul;
+ wcswcs;
+ wcswidth;
+ wcsxfrm;
+ wctrans;
+ wctype;
+ wcwidth;
+ wscasecmp;
+ wscat;
+ wschr;
+ wscmp;
+ wscol;
+ wscoll;
+ wscpy;
+ wscspn;
+ wsdup;
+ wslen;
+ wsncasecmp;
+ wsncat;
+ wsncmp;
+ wsncpy;
+ wspbrk;
+ wsprintf;
+ wsrchr;
+ wsscanf;
+ wsspn;
+ wstod;
+ wstok;
+ wstol;
+ wstoll;
+ wstostr;
+ wsxfrm;
+ __xpg4_putmsg;
+ __xpg4_putpmsg;
+} SUNW_0.9;
+
+SUNW_0.9 { # SunOS 5.5 (Solaris 2.5)
+ global:
+ acl;
+ bcmp;
+ bcopy;
+ bzero;
+ facl;
+ ftime;
+ getdtablesize;
+ gethostid;
+ gethostname;
+ getpagesize;
+ getpriority;
+ getrusage;
+ getwd;
+ index;
+ initstate;
+ killpg;
+ _nsc_trydoorcall;
+ pthread_condattr_destroy;
+ pthread_condattr_getpshared;
+ pthread_condattr_init;
+ pthread_condattr_setpshared;
+ pthread_cond_broadcast;
+ pthread_cond_destroy;
+ pthread_cond_init;
+ pthread_cond_signal;
+ pthread_cond_timedwait;
+ pthread_cond_wait;
+ pthread_mutexattr_destroy;
+ pthread_mutexattr_getprioceiling;
+ pthread_mutexattr_getprotocol;
+ pthread_mutexattr_getpshared;
+ pthread_mutexattr_init;
+ pthread_mutexattr_setprioceiling;
+ pthread_mutexattr_setprotocol;
+ pthread_mutexattr_setpshared;
+ pthread_mutex_destroy;
+ pthread_mutex_getprioceiling;
+ pthread_mutex_init;
+ pthread_mutex_lock;
+ pthread_mutex_setprioceiling;
+ pthread_mutex_trylock;
+ pthread_mutex_unlock;
+ random;
+ reboot;
+ re_comp;
+ re_exec;
+ rindex;
+ setbuffer;
+ sethostname;
+ setlinebuf;
+ setpriority;
+ setregid;
+ setreuid;
+ setstate;
+ srandom;
+ thr_min_stack;
+ thr_stksegment;
+ ualarm;
+ usleep;
+ wait3;
+ wait4;
+} SUNW_0.8;
+
+SUNW_0.8 { # SunOS 5.4 (Solaris 2.4)
+ global:
+ addsev;
+ cond_broadcast;
+ cond_destroy;
+ cond_init;
+ cond_signal;
+ cond_timedwait;
+ cond_wait;
+ confstr;
+ fnmatch;
+ _getdate_err_addr;
+ glob;
+ globfree;
+ iconv;
+ iconv_close;
+ iconv_open;
+ lfmt;
+ mutex_destroy;
+ mutex_init;
+ mutex_lock;
+ mutex_trylock;
+ mutex_unlock;
+ pfmt;
+ regcomp;
+ regerror;
+ regexec;
+ regfree;
+ rwlock_init;
+ rw_rdlock;
+ rw_read_held;
+ rw_tryrdlock;
+ rw_trywrlock;
+ rw_unlock;
+ rw_write_held;
+ rw_wrlock;
+ sema_held;
+ sema_init;
+ sema_post;
+ sema_trywait;
+ sema_wait;
+ setcat;
+ sigfpe;
+ strfmon;
+ strptime;
+ thr_continue;
+ thr_create;
+ thr_exit;
+ thr_getconcurrency;
+ thr_getprio;
+ thr_getspecific;
+ thr_join;
+ thr_keycreate;
+ thr_kill;
+ thr_self;
+ thr_setconcurrency;
+ thr_setprio;
+ thr_setspecific;
+ thr_sigsetmask;
+ thr_suspend;
+ thr_yield;
+ vlfmt;
+ vpfmt;
+ wordexp;
+ wordfree;
+ __xpg4 = NODIRECT;
+} SUNW_0.7;
+
+SUNW_0.7 { # SunOS 5.3 (Solaris 2.3)
+ global:
+ a64l;
+ adjtime;
+ altzone;
+ ascftime;
+ atoll;
+ brk;
+ cftime;
+ closelog;
+ csetcol;
+ csetlen;
+ ctermid_r;
+ dbm_close;
+ dbm_delete;
+ dbm_fetch;
+ dbm_firstkey;
+ dbm_nextkey;
+ dbm_open;
+ dbm_store;
+ decimal_to_double;
+ decimal_to_extended;
+ decimal_to_quadruple;
+ decimal_to_single;
+ double_to_decimal;
+ drand48;
+ econvert;
+ ecvt;
+ endnetgrent;
+ endspent;
+ endutent;
+ endutxent;
+ erand48;
+ euccol;
+ euclen;
+ eucscol;
+ extended_to_decimal;
+ fchroot;
+ fconvert;
+ fcvt;
+ ffs;
+ fgetspent;
+ fgetspent_r;
+ _filbuf;
+ finite;
+ fork1;
+ fpclass;
+ fpgetmask;
+ fpgetsticky;
+ fpsetmask;
+ fpsetsticky;
+ fstatfs;
+ ftruncate;
+ ftw;
+ func_to_decimal;
+ gconvert;
+ gcvt;
+ getdents;
+ gethrtime;
+ gethrvtime;
+ getmntany;
+ getmntent;
+ getnetgrent;
+ getnetgrent_r;
+ getpw;
+ getspent;
+ getspent_r;
+ getspnam;
+ getspnam_r;
+ getutent;
+ getutid;
+ getutline;
+ getutmp;
+ getutmpx;
+ getutxent;
+ getutxid;
+ getutxline;
+ getvfsany;
+ getvfsent;
+ getvfsfile;
+ getvfsspec;
+ getwidth;
+ gsignal;
+ hasmntopt;
+ innetgr;
+ insque;
+ _insque;
+ isnanf = FUNCTION FILTER libm.so.2;
+ jrand48;
+ l64a;
+ ladd;
+ lckpwdf;
+ lcong48;
+ ldivide;
+ lexp10;
+ llabs;
+ lldiv;
+ llog10;
+ llseek;
+ lltostr;
+ lmul;
+ lone;
+ lrand48;
+ lshiftl;
+ lsub;
+ lten;
+ _lwp_cond_broadcast;
+ _lwp_cond_signal;
+ _lwp_cond_timedwait;
+ _lwp_cond_wait;
+ _lwp_continue;
+ _lwp_info;
+ _lwp_kill;
+ _lwp_mutex_lock;
+ _lwp_mutex_trylock;
+ _lwp_mutex_unlock;
+ _lwp_self;
+ _lwp_sema_init;
+ _lwp_sema_post;
+ _lwp_sema_wait;
+ _lwp_suspend;
+ lzero;
+ madvise;
+ __major;
+ __makedev;
+ memalign = NODIRECT;
+ mincore;
+ __minor;
+ mkstemp;
+ _mkstemp;
+ mlockall;
+ modff = FUNCTION FILTER libm.so.2;
+ mrand48;
+ munlockall;
+ nrand48;
+ nss_default_finders;
+ _nss_netdb_aliases;
+ _nss_XbyY_buf_alloc;
+ _nss_XbyY_buf_free;
+ __nsw_extended_action;
+ __nsw_freeconfig;
+ __nsw_getconfig;
+ openlog;
+ plock;
+ pread;
+ __priocntl;
+ __priocntlset;
+ processor_bind;
+ processor_info;
+ psiginfo;
+ psignal;
+ putpwent;
+ putspent;
+ pututline;
+ pututxline;
+ pwrite;
+ qeconvert;
+ qecvt;
+ qfconvert;
+ qfcvt;
+ qgconvert;
+ qgcvt;
+ quadruple_to_decimal;
+ realpath;
+ remque;
+ _remque;
+ seconvert;
+ seed48;
+ select;
+ _sema_held;
+ setegid;
+ seteuid;
+ setlogmask;
+ setnetgrent;
+ setspent;
+ settimeofday;
+ setutent;
+ setutxent;
+ sfconvert;
+ sgconvert;
+ sig2str;
+ sigwait;
+ single_to_decimal;
+ ssignal;
+ statfs;
+ str2sig;
+ strcasecmp;
+ string_to_decimal;
+ strncasecmp;
+ strsignal;
+ strtoll;
+ strtoull;
+ swapctl;
+ sysfs;
+ _sys_illlist;
+ syslog;
+ _syslog;
+ tmpnam_r;
+ truncate;
+ ttyslot;
+ uadmin;
+ ulckpwdf;
+ ulltostr;
+ unordered;
+ updwtmp;
+ updwtmpx;
+ ustat;
+ utimes;
+ utmpname;
+ utmpxname;
+ valloc = NODIRECT;
+ vfork;
+ vhangup;
+ vsyslog;
+ yield;
+};
+
+# There should never be more than one SUNWprivate version.
+# Don't add any more. Add new private symbols to SUNWprivate_1.1
+
+SUNWprivate_1.1 {
+ global:
+ _a64l;
+ acctctl;
+ _acctctl;
+ _acl;
+ _adjtime;
+ ___Argv = NODIRECT;
+ _ascftime;
+ _asctime_r;
+ _assert_c99;
+ __assert_c99;
+ _assfail;
+ _atoll;
+ _atomic_add_16;
+ _atomic_add_16_nv;
+ _atomic_add_32;
+ _atomic_add_32_nv;
+ _atomic_add_64;
+ _atomic_add_64_nv;
+ _atomic_add_8;
+ _atomic_add_8_nv;
+ _atomic_add_char;
+ _atomic_add_char_nv;
+ _atomic_add_int;
+ _atomic_add_int_nv;
+ _atomic_add_long;
+ _atomic_add_long_nv;
+ _atomic_add_ptr;
+ _atomic_add_ptr_nv;
+ _atomic_add_short;
+ _atomic_add_short_nv;
+ _atomic_and_16;
+ _atomic_and_16_nv;
+ _atomic_and_32;
+ _atomic_and_32_nv;
+ _atomic_and_64;
+ _atomic_and_64_nv;
+ _atomic_and_8;
+ _atomic_and_8_nv;
+ _atomic_and_uchar;
+ _atomic_and_uchar_nv;
+ _atomic_and_uint;
+ _atomic_and_uint_nv;
+ _atomic_and_ulong;
+ _atomic_and_ulong_nv;
+ _atomic_and_ushort;
+ _atomic_and_ushort_nv;
+ _atomic_cas_16;
+ _atomic_cas_32;
+ _atomic_cas_64;
+ _atomic_cas_8;
+ _atomic_cas_ptr;
+ _atomic_cas_uchar;
+ _atomic_cas_uint;
+ _atomic_cas_ulong;
+ _atomic_cas_ushort;
+ _atomic_clear_long_excl;
+ _atomic_dec_16;
+ _atomic_dec_16_nv;
+ _atomic_dec_32;
+ _atomic_dec_32_nv;
+ _atomic_dec_64;
+ _atomic_dec_64_nv;
+ _atomic_dec_8;
+ _atomic_dec_8_nv;
+ _atomic_dec_uchar;
+ _atomic_dec_uchar_nv;
+ _atomic_dec_uint;
+ _atomic_dec_uint_nv;
+ _atomic_dec_ulong;
+ _atomic_dec_ulong_nv;
+ _atomic_dec_ushort;
+ _atomic_dec_ushort_nv;
+ _atomic_inc_16;
+ _atomic_inc_16_nv;
+ _atomic_inc_32;
+ _atomic_inc_32_nv;
+ _atomic_inc_64;
+ _atomic_inc_64_nv;
+ _atomic_inc_8;
+ _atomic_inc_8_nv;
+ _atomic_inc_uchar;
+ _atomic_inc_uchar_nv;
+ _atomic_inc_uint;
+ _atomic_inc_uint_nv;
+ _atomic_inc_ulong;
+ _atomic_inc_ulong_nv;
+ _atomic_inc_ushort;
+ _atomic_inc_ushort_nv;
+ _atomic_or_16;
+ _atomic_or_16_nv;
+ _atomic_or_32;
+ _atomic_or_32_nv;
+ _atomic_or_64;
+ _atomic_or_64_nv;
+ _atomic_or_8;
+ _atomic_or_8_nv;
+ _atomic_or_uchar;
+ _atomic_or_uchar_nv;
+ _atomic_or_uint;
+ _atomic_or_uint_nv;
+ _atomic_or_ulong;
+ _atomic_or_ulong_nv;
+ _atomic_or_ushort;
+ _atomic_or_ushort_nv;
+ _atomic_set_long_excl;
+ _atomic_swap_16;
+ _atomic_swap_32;
+ _atomic_swap_64;
+ _atomic_swap_8;
+ _atomic_swap_ptr;
+ _atomic_swap_uchar;
+ _atomic_swap_uint;
+ _atomic_swap_ulong;
+ _atomic_swap_ushort;
+ _autofssys;
+ _brk;
+ __btowc_dense;
+ __btowc_euc;
+ __btowc_sb;
+ _bufsync;
+ _cfree;
+ cfree = NODIRECT;
+ _cftime;
+ __charmap_init;
+ _cladm;
+ __cladm;
+ __class_quadruple;
+ _clock_getres;
+ _clock_gettime;
+ _clock_nanosleep;
+ _clock_settime;
+ _closelog;
+ __collate_init;
+ _cond_broadcast;
+ _cond_destroy;
+ _cond_init;
+ _cond_reltimedwait;
+ _cond_signal;
+ _cond_timedwait;
+ _cond_wait;
+ core_get_default_content;
+ _core_get_default_content;
+ core_get_default_path;
+ _core_get_default_path;
+ core_get_global_content;
+ _core_get_global_content;
+ core_get_global_path;
+ _core_get_global_path;
+ core_get_options;
+ _core_get_options;
+ core_get_process_content;
+ _core_get_process_content;
+ core_get_process_path;
+ _core_get_process_path;
+ core_set_default_content;
+ _core_set_default_content;
+ core_set_default_path;
+ _core_set_default_path;
+ core_set_global_content;
+ _core_set_global_content;
+ core_set_global_path;
+ _core_set_global_path;
+ core_set_options;
+ _core_set_options;
+ core_set_process_content;
+ _core_set_process_content;
+ core_set_process_path;
+ _core_set_process_path;
+ _cswidth;
+ _ctermid_r;
+ _ctime_r;
+ __ctype_init;
+ __ctype_mask;
+ dbm_close_status;
+ dbm_do_nextkey;
+ dbm_setdefwrite;
+ _D_cplx_div;
+ _D_cplx_div_ix;
+ _D_cplx_div_rx;
+ _D_cplx_mul;
+ _decimal_to_double;
+ _decimal_to_extended;
+ _decimal_to_quadruple;
+ _decimal_to_single;
+ _delete;
+ _dgettext;
+ _door_bind;
+ _door_call;
+ _door_create;
+ _door_cred;
+ _door_getparam;
+ _door_info;
+ _door_return;
+ _door_revoke;
+ _door_server_create;
+ _door_setparam;
+ _door_ucred;
+ _door_unbind;
+ _doprnt;
+ _doscan;
+ _double_to_decimal;
+ _drand48;
+ _econvert;
+ _ecvt;
+ _endgrent;
+ _endpwent;
+ _endspent;
+ _endutent;
+ _endutxent;
+ __environ_lock = NODIRECT;
+ _erand48;
+ __eucpctowc_gen;
+ exportfs;
+ _exportfs;
+ _extended_to_decimal;
+ _facl;
+ _fchroot;
+ _fconvert;
+ _F_cplx_div;
+ _F_cplx_div_ix;
+ _F_cplx_div_rx;
+ _F_cplx_mul;
+ _fcvt;
+ _ffs;
+ _fgetgrent;
+ _fgetgrent_r;
+ _fgetpwent;
+ _fgetpwent_r;
+ _fgetspent;
+ _fgetspent_r;
+ __fgetwc_dense;
+ __fgetwc_euc;
+ __fgetwc_sb;
+ __fgetwc_xpg5;
+ __fgetws_xpg5;
+ _file_to_decimal;
+ _findbuf;
+ _findiop;
+ __fini_daemon_priv;
+ _finite;
+ _flockfile;
+ __fnmatch_C;
+ __fnmatch_sb;
+ __fnmatch_std;
+ _fork1;
+ _forkall;
+ _fpclass;
+ _fpgetmask;
+ _fpgetround;
+ _fpgetsticky;
+ _fprintf;
+ _fpsetmask;
+ _fpsetround;
+ _fpsetsticky;
+ __fputwc_xpg5;
+ __fputws_xpg5;
+ _fstatfs;
+ _ftruncate;
+ _ftrylockfile;
+ _ftw;
+ _func_to_decimal;
+ _funlockfile;
+ _gconvert;
+ _gcvt;
+ _getarg;
+ _getchar_unlocked;
+ __getcontext;
+ _getc_unlocked;
+ __getdate_std;
+ _getdents;
+ _get_exit_frame_monitor;
+ _getfp;
+ _getgrent;
+ _getgrent_r;
+ _getgrgid_r;
+ _getgrnam_r;
+ _getgroupsbymember;
+ __getloadavg;
+ _getlogin_r;
+ _getmntany;
+ _getmntent;
+ _getpw;
+ _getpwent;
+ _getpwent_r;
+ _getpwnam_r;
+ _getpwuid_r;
+ _getsp;
+ _getspent;
+ _getspent_r;
+ _getspnam;
+ _getspnam_r;
+ __gettsp;
+ _getutent;
+ _getutid;
+ _getutline;
+ _getutmp;
+ _getutmpx;
+ _getutxent;
+ _getutxid;
+ _getutxline;
+ _getvfsany;
+ _getvfsent;
+ _getvfsfile;
+ _getvfsspec;
+ __getwchar_xpg5;
+ __getwc_xpg5;
+ _getzoneid;
+ _getzoneidbyname;
+ _getzonenamebyid;
+ _gmtime_r;
+ _gsignal;
+ _iconv;
+ _iconv_close;
+ _iconv_open;
+ __inf_read;
+ __inf_written;
+ __init_daemon_priv;
+ __init_suid_priv;
+ _insert;
+ inst_sync;
+ _inst_sync;
+ _is_euc_fc;
+ _is_euc_pc;
+ __i_size;
+ _isnanf = FUNCTION FILTER libm.so.2;
+ _is_system_labeled;
+ _iswctype;
+ __iswctype_bc;
+ __iswctype_sb;
+ __iswctype_std;
+ _jrand48;
+ _l64a;
+ _ladd;
+ __lc_charmap;
+ __lc_collate;
+ __lc_ctype;
+ _lckpwdf;
+ __lc_locale;
+ __lc_messages;
+ __lc_monetary;
+ __lc_numeric;
+ _lcong48;
+ __lc_time;
+ _ldivide;
+ _lexp10;
+ _lgrp_home_fast;
+ _lgrpsys;
+ __libc_threaded;
+ _lib_version = NODIRECT;
+ _llabs;
+ _lldiv;
+ _llog10;
+ _llseek;
+ _lltostr;
+ _lmul;
+ __localeconv_std;
+ __locale_init;
+ _localtime_r;
+ _lock_clear;
+ _lock_try;
+ _logb = FUNCTION FILTER libm.so.2;
+ _lone;
+ _lrand48;
+ _lshiftl;
+ _lsub;
+ _lten;
+ _ltzset;
+ __lwp_cond_broadcast;
+ __lwp_cond_reltimedwait;
+ __lwp_cond_signal;
+ __lwp_cond_timedwait;
+ __lwp_cond_wait;
+ __lwp_continue;
+ __lwp_info;
+ __lwp_kill;
+ __lwp_mutex_lock;
+ __lwp_mutex_trylock;
+ __lwp_mutex_unlock;
+ lwp_self;
+ __lwp_self;
+ __lwp_sema_init;
+ __lwp_sema_post;
+ __lwp_sema_trywait;
+ __lwp_sema_wait;
+ __lwp_suspend;
+ _lzero;
+ _madvise;
+ makeut;
+ _makeut;
+ makeutx;
+ _makeutx;
+ __malloc_lock;
+ _mbftowc;
+ __mbftowc_dense;
+ __mbftowc_euc;
+ __mbftowc_sb;
+ __mblen_gen;
+ __mblen_sb;
+ __mbrlen_gen;
+ __mbrlen_sb;
+ __mbrtowc_dense;
+ __mbrtowc_euc;
+ __mbrtowc_sb;
+ __mbsinit_gen;
+ __mbsrtowcs_dense;
+ __mbsrtowcs_euc;
+ __mbsrtowcs_sb;
+ __mbst_get_consumed_array;
+ __mbst_get_locale;
+ __mbst_get_nconsumed;
+ __mbstowcs_dense;
+ __mbstowcs_euc;
+ __mbstowcs_sb;
+ __mbst_set_consumed_array;
+ __mbst_set_locale;
+ __mbst_set_nconsumed;
+ __mbtowc_dense;
+ __mbtowc_euc;
+ __mbtowc_sb;
+ mcfiller;
+ _memalign;
+ _membar_consumer;
+ _membar_enter;
+ _membar_exit;
+ _membar_producer;
+ __messages_init;
+ _mincore;
+ _mkarglst;
+ _mlockall;
+ mntopt;
+ modctl;
+ _modff = FUNCTION FILTER libm.so.2;
+ modutx;
+ _modutx;
+ __monetary_init;
+ _mrand48;
+ msgctl64;
+ _msgctl64;
+ __multi_innetgr;
+ _munlockall;
+ _mutex_destroy;
+ __mutex_destroy;
+ mutex_held;
+ __mutex_held;
+ _mutex_init;
+ __mutex_init;
+ __mutex_lock;
+ _mutex_trylock;
+ __mutex_trylock;
+ _mutex_unlock;
+ __mutex_unlock;
+ _nanosleep;
+ __nan_read;
+ __nan_written;
+ nfs_getfh;
+ _nfs_getfh;
+ nfssvc;
+ _nfssvc;
+ _nfssys;
+ __nis_debug_bind;
+ __nis_debug_calls;
+ __nis_debug_file;
+ __nis_debug_rpc;
+ __nis_get_environment;
+ __nis_prefsrv;
+ __nis_preftype;
+ __nis_server;
+ __nl_langinfo_std;
+ _nrand48;
+ _nss_db_state_destr;
+ _nss_default_finders;
+ nss_delete;
+ _nss_delete;
+ nss_endent;
+ _nss_endent;
+ nss_getent;
+ _nss_getent;
+ _nss_initf_netgroup;
+ nss_search;
+ _nss_search;
+ nss_setent;
+ _nss_setent;
+ _nss_XbyY_fgets;
+ __nsw_extended_action_v1;
+ __nsw_freeconfig_v1;
+ __nsw_getconfig_v1;
+ __nthreads;
+ __numeric_init;
+ _openlog;
+ _plock;
+ _port_alert;
+ _port_associate;
+ _port_create;
+ _port_dissociate;
+ _port_get;
+ _port_getn;
+ _port_send;
+ _port_sendn;
+ _posix_openpt;
+ _posix_spawn;
+ _posix_spawnattr_destroy;
+ _posix_spawnattr_getflags;
+ _posix_spawnattr_getpgroup;
+ _posix_spawnattr_getschedparam;
+ _posix_spawnattr_getschedpolicy;
+ _posix_spawnattr_getsigdefault;
+ _posix_spawnattr_getsigmask;
+ _posix_spawnattr_init;
+ _posix_spawnattr_setflags;
+ _posix_spawnattr_setpgroup;
+ _posix_spawnattr_setschedparam;
+ _posix_spawnattr_setschedpolicy;
+ _posix_spawnattr_setsigdefault;
+ _posix_spawnattr_setsigmask;
+ _posix_spawn_file_actions_addclose;
+ _posix_spawn_file_actions_adddup2;
+ _posix_spawn_file_actions_addopen;
+ _posix_spawn_file_actions_destroy;
+ _posix_spawn_file_actions_init;
+ _posix_spawnp;
+ _pread;
+ _printstack;
+ __priv_bracket;
+ __priv_relinquish;
+ _pselect;
+ pset_assign_forced;
+ _psiginfo;
+ _psignal;
+ _pthread_atfork;
+ _pthread_attr_destroy;
+ _pthread_attr_getdetachstate;
+ _pthread_attr_getguardsize;
+ _pthread_attr_getinheritsched;
+ _pthread_attr_getschedparam;
+ _pthread_attr_getschedpolicy;
+ _pthread_attr_getscope;
+ _pthread_attr_getstack;
+ _pthread_attr_getstackaddr;
+ _pthread_attr_getstacksize;
+ _pthread_attr_init;
+ _pthread_attr_setdetachstate;
+ _pthread_attr_setguardsize;
+ _pthread_attr_setinheritsched;
+ _pthread_attr_setschedparam;
+ _pthread_attr_setschedpolicy;
+ _pthread_attr_setscope;
+ _pthread_attr_setstack;
+ _pthread_attr_setstackaddr;
+ _pthread_attr_setstacksize;
+ _pthread_barrierattr_destroy;
+ _pthread_barrierattr_getpshared;
+ _pthread_barrierattr_init;
+ _pthread_barrierattr_setpshared;
+ _pthread_barrier_destroy;
+ _pthread_barrier_init;
+ _pthread_barrier_wait;
+ _pthread_cancel;
+ _pthread_condattr_destroy;
+ _pthread_condattr_getclock;
+ _pthread_condattr_getpshared;
+ _pthread_condattr_init;
+ _pthread_condattr_setclock;
+ _pthread_condattr_setpshared;
+ _pthread_cond_broadcast;
+ _pthread_cond_destroy;
+ _pthread_cond_init;
+ _pthread_cond_reltimedwait_np;
+ _pthread_cond_signal;
+ _pthread_cond_timedwait;
+ _pthread_cond_wait;
+ _pthread_create;
+ _pthread_detach;
+ _pthread_equal;
+ _pthread_exit;
+ _pthread_getconcurrency;
+ _pthread_getschedparam;
+ _pthread_getspecific;
+ _pthread_join;
+ _pthread_key_create;
+ _pthread_key_delete;
+ _pthread_kill;
+ __pthread_min_stack;
+ _pthread_mutexattr_destroy;
+ _pthread_mutexattr_getprioceiling;
+ _pthread_mutexattr_getprotocol;
+ _pthread_mutexattr_getpshared;
+ _pthread_mutexattr_getrobust_np;
+ _pthread_mutexattr_gettype;
+ _pthread_mutexattr_init;
+ _pthread_mutexattr_setprioceiling;
+ _pthread_mutexattr_setprotocol;
+ _pthread_mutexattr_setpshared;
+ _pthread_mutexattr_setrobust_np;
+ _pthread_mutexattr_settype;
+ _pthread_mutex_consistent_np;
+ _pthread_mutex_destroy;
+ _pthread_mutex_getprioceiling;
+ _pthread_mutex_init;
+ _pthread_mutex_lock;
+ _pthread_mutex_reltimedlock_np;
+ _pthread_mutex_setprioceiling;
+ _pthread_mutex_timedlock;
+ _pthread_mutex_trylock;
+ _pthread_mutex_unlock;
+ _pthread_once;
+ _pthread_rwlockattr_destroy;
+ _pthread_rwlockattr_getpshared;
+ _pthread_rwlockattr_init;
+ _pthread_rwlockattr_setpshared;
+ _pthread_rwlock_destroy;
+ _pthread_rwlock_init;
+ _pthread_rwlock_rdlock;
+ _pthread_rwlock_reltimedrdlock_np;
+ _pthread_rwlock_reltimedwrlock_np;
+ _pthread_rwlock_timedrdlock;
+ _pthread_rwlock_timedwrlock;
+ _pthread_rwlock_tryrdlock;
+ _pthread_rwlock_trywrlock;
+ _pthread_rwlock_unlock;
+ _pthread_rwlock_wrlock;
+ _pthread_self;
+ _pthread_setcancelstate;
+ _pthread_setcanceltype;
+ _pthread_setcleanupinit;
+ _pthread_setconcurrency;
+ _pthread_setschedparam;
+ _pthread_setschedprio;
+ _pthread_setspecific;
+ _pthread_sigmask;
+ _pthread_spin_destroy;
+ _pthread_spin_init;
+ _pthread_spin_lock;
+ _pthread_spin_trylock;
+ _pthread_spin_unlock;
+ _pthread_testcancel;
+ _putchar_unlocked;
+ _putc_unlocked;
+ _putpwent;
+ _putspent;
+ _pututline;
+ _pututxline;
+ __putwchar_xpg5;
+ __putwc_xpg5;
+ _pwrite;
+ _qeconvert;
+ _qecvt;
+ _qfconvert;
+ _qfcvt;
+ _qgconvert;
+ _qgcvt;
+ _quadruple_to_decimal;
+ _rand_r;
+ rctlctl;
+ _rctlctl;
+ rctllist;
+ _rctllist;
+ _readdir_r;
+ _realbufend;
+ _realpath;
+ __regcomp_C;
+ __regcomp_std;
+ __regerror_std;
+ __regexec_C;
+ __regexec_std;
+ __regfree_std;
+ _resume;
+ _resume_ret;
+ _rpcsys;
+ _rwlock_init;
+ _rw_rdlock;
+ _rw_tryrdlock;
+ _rw_trywrlock;
+ _rw_unlock;
+ _rw_wrlock;
+ _sbrk_grow_aligned;
+ _sbrk_unlocked;
+ _schedctl_exit;
+ _schedctl_init;
+ _schedctl_lookup;
+ scrwidth;
+ _seconvert;
+ _seed48;
+ _select;
+ _sema_init;
+ _sema_post;
+ _sema_reltimedwait;
+ _sema_timedwait;
+ _sema_trywait;
+ _sema_wait;
+ _sem_close;
+ semctl64;
+ _semctl64;
+ _sem_destroy;
+ _sem_getvalue;
+ _sem_init;
+ _sem_open;
+ _sem_post;
+ _sem_reltimedwait_np;
+ _sem_timedwait;
+ _sem_trywait;
+ _sem_unlink;
+ _sem_wait;
+ _setbufend;
+ _setegid;
+ _setenv;
+ __set_errno;
+ _seteuid;
+ _setgrent;
+ _setlogmask;
+ _setpwent;
+ _setregid;
+ _setreuid;
+ _setspent;
+ _settimeofday;
+ _setutent;
+ _setutxent;
+ _sfconvert;
+ _sgconvert;
+ shmctl64;
+ _shmctl64;
+ _sig2str;
+ sigflag;
+ _sigflag;
+ _sigfpe;
+ _siginterrupt;
+ _signal;
+ _sigoff;
+ _sigon;
+ _sigqueue;
+ _sigstack;
+ _sigtimedwait;
+ _sigwait;
+ _sigwaitinfo;
+ _single_to_decimal;
+ _smbuf;
+ _so_accept;
+ _so_bind;
+ _sockconfig;
+ _so_connect;
+ _so_getpeername;
+ _so_getsockname;
+ _so_getsockopt;
+ _so_listen;
+ _so_recv;
+ _so_recvfrom;
+ _so_recvmsg;
+ _so_send;
+ _so_sendmsg;
+ _so_sendto;
+ _so_setsockopt;
+ _so_shutdown;
+ _so_socket;
+ _so_socketpair;
+ _sp;
+ _srand48;
+ _ssignal;
+ _statfs;
+ _str2sig;
+ str2spwd;
+ __strcoll_C;
+ __strcoll_sb;
+ __strcoll_std;
+ _strerror;
+ _strerror_r;
+ __strfmon_std;
+ __strftime_std;
+ _string_to_decimal;
+ __strptime_dontzero;
+ __strptime_std;
+ _strsignal;
+ _strtok_r;
+ _strtoll;
+ _strtoull;
+ __strxfrm_C;
+ __strxfrm_sb;
+ __strxfrm_std;
+ stty;
+ _stty;
+ _swapctl;
+ syscall;
+ _sysconfig;
+ _sysfs;
+ __systemcall;
+ _tdb_bootstrap;
+ _thr_continue;
+ thr_continue_allmutators;
+ _thr_continue_allmutators;
+ thr_continue_mutator;
+ _thr_continue_mutator;
+ _thr_create;
+ _thr_detach;
+ __threaded;
+ _thr_exit;
+ _thr_getconcurrency;
+ _thr_get_inf_read;
+ _thr_get_nan_read;
+ _thr_getprio;
+ _thr_getspecific;
+ thr_getstate;
+ _thr_getstate;
+ _thr_join;
+ _thr_keycreate;
+ _thr_key_delete;
+ _thr_kill;
+ _thr_main;
+ _thr_min_stack;
+ thr_mutators_barrier;
+ _thr_mutators_barrier;
+ thr_probe_getfunc_addr;
+ thr_probe_setup;
+ _thr_schedctl;
+ _thr_self;
+ _thr_setconcurrency;
+ thr_setmutator;
+ _thr_setmutator;
+ _thr_setprio;
+ _thr_setspecific;
+ thr_setstate;
+ _thr_setstate;
+ thr_sighndlrinfo;
+ _thr_sighndlrinfo;
+ _thr_sigsetmask;
+ _thr_slot_offset;
+ _thr_stksegment;
+ _thr_suspend;
+ thr_suspend_allmutators;
+ _thr_suspend_allmutators;
+ thr_suspend_mutator;
+ _thr_suspend_mutator;
+ thr_wait_mutator;
+ _thr_wait_mutator;
+ _thr_yield;
+ __time_init;
+ _timer_create;
+ _timer_delete;
+ _timer_getoverrun;
+ _timer_gettime;
+ _timer_settime;
+ __tls_get_addr;
+ _tmpnam;
+ _tmpnam_r;
+ __towctrans_bc;
+ __towctrans_std;
+ __towlower_bc;
+ __towlower_std;
+ __towupper_bc;
+ __towupper_std;
+ __trans_lower;
+ __trans_upper;
+ _truncate;
+ _trwctype;
+ __trwctype_std;
+ _ttyname_dev;
+ _ttyname_r;
+ _ttyslot;
+ _uadmin;
+ _uberdata;
+ _ucred_alloc;
+ ucred_getamask;
+ _ucred_getamask;
+ ucred_getasid;
+ _ucred_getasid;
+ ucred_getatid;
+ _ucred_getatid;
+ ucred_getauid;
+ _ucred_getauid;
+ _ulckpwdf;
+ _ulltostr;
+ _uncached_getgrgid_r;
+ _uncached_getgrnam_r;
+ _uncached_getpwnam_r;
+ _uncached_getpwuid_r;
+ _ungetc_unlocked;
+ __ungetwc_xpg5;
+ _unordered;
+ _unsetenv;
+ _updwtmp;
+ _updwtmpx;
+ _usleep;
+ _ustat;
+ _utimes;
+ _utmpname;
+ _utmpxname;
+ utssys;
+ _utssys;
+ _valloc;
+ _vfork;
+ _vhangup;
+ _vsyslog;
+ _wait3;
+ _walkcontext;
+ __wcrtomb_dense;
+ __wcrtomb_euc;
+ __wcrtomb_sb;
+ __wcscoll_bc;
+ __wcscoll_C;
+ __wcscoll_std;
+ __wcsftime_std;
+ __wcsftime_xpg5;
+ __wcsrtombs_dense;
+ __wcsrtombs_euc;
+ __wcsrtombs_sb;
+ __wcstok_xpg5;
+ __wcstombs_dense;
+ __wcstombs_euc;
+ __wcstombs_sb;
+ __wcswidth_bc;
+ __wcswidth_dense;
+ __wcswidth_euc;
+ __wcswidth_sb;
+ __wcswidth_std;
+ __wcsxfrm_bc;
+ __wcsxfrm_C;
+ __wcsxfrm_std;
+ __wctob_dense;
+ __wctob_euc;
+ __wctob_sb;
+ __wctoeucpc_gen;
+ _wctomb;
+ __wctomb_dense;
+ __wctomb_euc;
+ __wctomb_sb;
+ __wctrans_std;
+ __wctype_std;
+ __wcwidth_bc;
+ __wcwidth_dense;
+ __wcwidth_euc;
+ __wcwidth_sb;
+ __wcwidth_std;
+ wdbindf;
+ wdchkind;
+ wddelim;
+ _wrtchk;
+ _xflsbuf;
+ _xgetwidth;
+ __xpg6 = NODIRECT;
+ _yield;
+ zone_boot;
+ zone_create;
+ zone_destroy;
+ zone_enter;
+ zone_getattr;
+ zone_get_id;
+ zone_list;
+ zonept;
+ zone_setattr;
+ zone_shutdown;
+ zone_version;
+ local:
+ *;
+};
diff --git a/usr/src/lib/libc/sparc/Makefile b/usr/src/lib/libc/sparc/Makefile
index 3f75bbf549..e7f51d287d 100644
--- a/usr/src/lib/libc/sparc/Makefile
+++ b/usr/src/lib/libc/sparc/Makefile
@@ -1,4 +1,4 @@
-
+#
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
@@ -18,15 +18,12 @@
#
# CDDL HEADER END
#
-
#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libc/sparc/Makefile
-#
LIBCBASE=.
@@ -974,8 +971,7 @@ ALTPICS= $(TRACEOBJS:%=pics/%)
$(DYNLIB) := PICS += $(ROOTFS_LIBDIR)/libc_i18n.a
$(DYNLIB) := BUILD.SO = $(LD) -o $@ -G $(DYNFLAGS) $(PICS) $(ALTPICS)
-MAPDIR= ../spec/sparc
-MAPFILE= $(MAPDIR)/mapfile
+MAPFILES = ../port/mapfile-vers mapfile-vers
CFLAGS += $(EXTN_CFLAGS)
CPPFLAGS= -D_REENTRANT -Dsparc $(EXTN_CPPFLAGS) \
@@ -984,8 +980,9 @@ ASFLAGS= -K pic -P -D__STDC__ -D_ASM $(CPPFLAGS) $(sparc_AS_XARCH)
# Inform the run-time linker about libc specialized initialization
RTLDINFO = -z rtldinfo=tls_rtldinfo
+DYNFLAGS += $(RTLDINFO)
-DYNFLAGS += -e __rtboot -M $(MAPFILE) $(RTLDINFO)
+DYNFLAGS += -e __rtboot
DYNFLAGS += $(EXTN_DYNFLAGS)
BUILD.s= $(AS) $(ASFLAGS) $< -o $@
@@ -1012,7 +1009,7 @@ CLEANFILES= \
pics/crtn.o \
$(ALTPICS)
-CLOBBERFILES += $(MAPFILE) $(LIB_PIC)
+CLOBBERFILES += $(LIB_PIC)
# list of C source for lint
SRCS= \
@@ -1050,11 +1047,6 @@ $(DYNLIB) $(LIB_PIC) := DYNOBJS = _rtbootld.o
$(DYNLIB) := CRTI = crti.o
$(DYNLIB) := CRTN = crtn.o
-$(DYNLIB): $(MAPFILE)
-
-$(MAPFILE):
- @cd $(MAPDIR); $(MAKE) mapfile
-
# Files which need the threads .il inline template
TIL= \
aio.o \
diff --git a/usr/src/lib/libc/sparc/mapfile-vers b/usr/src/lib/libc/sparc/mapfile-vers
new file mode 100644
index 0000000000..1de1823a76
--- /dev/null
+++ b/usr/src/lib/libc/sparc/mapfile-vers
@@ -0,0 +1,951 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNW_1.23 {
+ global:
+ aio_cancel64;
+ aio_error64;
+ aio_fsync64;
+ aio_read64;
+ aioread64;
+ aio_return64;
+ aio_suspend64;
+ aio_waitn64;
+ aio_write64;
+ aiowrite64;
+ enable_extended_FILE_stdio;
+ lio_listio64;
+ mkstemps64;
+ _mkstemps64;
+ posix_fallocate64;
+};
+
+SUNW_1.22 {
+ global:
+ alphasort64;
+ _alphasort64;
+ dladdr = FUNCTION FILTER /usr/lib/ld.so.1;
+ dladdr1 = FUNCTION FILTER /usr/lib/ld.so.1;
+ dlclose = FUNCTION FILTER /usr/lib/ld.so.1;
+ dldump = FUNCTION FILTER /usr/lib/ld.so.1;
+ dlerror = FUNCTION FILTER /usr/lib/ld.so.1;
+ dlinfo = FUNCTION FILTER /usr/lib/ld.so.1;
+ dlmopen = FUNCTION FILTER /usr/lib/ld.so.1;
+ dlopen = FUNCTION FILTER /usr/lib/ld.so.1;
+ dlsym = FUNCTION FILTER /usr/lib/ld.so.1;
+ pselect_large_fdset;
+ scandir64;
+ _scandir64;
+};
+
+SUNW_1.21.2 {
+ global:
+ __makecontext_v2;
+ ___makecontext_v2;
+};
+
+SUNW_1.21 {
+ global:
+ attropen64;
+ _attropen64;
+ fstatat64;
+ _fstatat64;
+ openat64;
+ _openat64;
+ walkcontext;
+};
+
+SUNW_1.18 {
+ global:
+ select_large_fdset;
+};
+
+SUNW_1.1 {
+ global:
+ creat64;
+ _creat64;
+ fgetpos64;
+ __flt_rounds;
+ fopen64;
+ freopen64;
+ fseeko64;
+ fsetpos64;
+ fstat64;
+ _fstat64;
+ fstatvfs64;
+ _fstatvfs64;
+ ftello64;
+ ftruncate64;
+ _ftruncate64;
+ ftw64;
+ _ftw64;
+ getdents64;
+ _getdents64;
+ getrlimit64;
+ _getrlimit64;
+ lockf64;
+ _lockf64;
+ lseek64;
+ _lseek64;
+ lstat64;
+ _lstat64;
+ mkstemp64;
+ _mkstemp64;
+ mmap64;
+ _mmap64;
+ nftw64;
+ _nftw64;
+ open64;
+ _open64;
+ __posix_readdir_r;
+ pread64;
+ _pread64;
+ pwrite64;
+ _pwrite64;
+ readdir64;
+ _readdir64;
+ readdir64_r;
+ _readdir64_r;
+ setrlimit64;
+ _setrlimit64;
+ s_fcntl;
+ _s_fcntl;
+ s_ioctl;
+ stat64;
+ _stat64;
+ statvfs64;
+ _statvfs64;
+ tell64;
+ _tell64;
+ tmpfile64;
+ truncate64;
+ _truncate64;
+ _xftw64;
+};
+
+SUNW_0.7 {
+ global:
+ _assert;
+ _bufendtab;
+ __builtin_alloca;
+ _ctype;
+ file_to_decimal;
+ _flsbuf;
+ _lastbuf;
+ _mutex_held;
+ _mutex_lock;
+ p_online;
+ _rw_read_held;
+ _rw_write_held;
+ _sibuf;
+ _sobuf;
+ srand48;
+ _sys_buslist;
+ _syscall;
+ _sys_cldlist;
+ sys_errlist;
+ _sys_fpelist;
+ sys_nerr;
+ _sys_nsig;
+ _sys_segvlist;
+ _sys_siginfolistp;
+ _sys_siglist;
+ _sys_siglistn;
+ _sys_siglistp;
+ _sys_traplist;
+} SISCD_2.3;
+
+SISCD_2.3 {
+ global:
+ addseverity;
+ _addseverity;
+ asctime_r;
+ crypt;
+ _crypt;
+ ctime_r;
+ __div64;
+ __dtoll;
+ __dtoull;
+ encrypt;
+ _encrypt;
+ endgrent;
+ endpwent;
+ errno;
+ ___errno;
+ fgetgrent;
+ fgetgrent_r;
+ fgetpwent;
+ fgetpwent_r;
+ flockfile;
+ __ftoll;
+ __ftoull;
+ funlockfile;
+ getchar_unlocked;
+ getc_unlocked;
+ getgrent;
+ getgrent_r;
+ getgrgid_r;
+ getgrnam_r;
+ getitimer;
+ _getitimer;
+ getlogin_r;
+ getpwent;
+ getpwent_r;
+ getpwnam_r;
+ getpwuid_r;
+ gettimeofday;
+ _gettimeofday;
+ gmtime_r;
+ _iob;
+ localtime_r;
+ __mul64;
+ putchar_unlocked;
+ putc_unlocked;
+ _Q_lltoq;
+ _Q_qtoll;
+ _Q_qtoull;
+ _Q_ulltoq;
+ rand_r;
+ readdir_r;
+ __rem64;
+ sbrk;
+ _sbrk;
+ setgrent;
+ setitimer;
+ _setitimer;
+ setkey;
+ _setkey;
+ setpwent;
+ strtok_r;
+ sysinfo;
+ _sysinfo;
+ ttyname_r;
+ __udiv64;
+ __umul64;
+ __urem64;
+} SYSVABI_1.3;
+
+SYSVABI_1.3 {
+ global:
+ .div;
+ .mul;
+ .rem;
+ .stret1;
+ .stret2;
+ .stret4;
+ .stret8;
+ .udiv;
+ .umul;
+ .urem;
+ abort;
+ abs;
+ access;
+ _access;
+ acct;
+ _acct;
+ alarm;
+ _alarm;
+ _altzone;
+ asctime;
+ __assert;
+ atexit;
+ atof;
+ atoi;
+ atol;
+ bsearch;
+ calloc = NODIRECT;
+ catclose;
+ _catclose;
+ catgets;
+ _catgets;
+ catopen;
+ _catopen;
+ cfgetispeed;
+ _cfgetispeed;
+ cfgetospeed;
+ _cfgetospeed;
+ cfsetispeed;
+ _cfsetispeed;
+ cfsetospeed;
+ _cfsetospeed;
+ chdir;
+ _chdir;
+ chmod;
+ _chmod;
+ chown;
+ _chown;
+ chroot;
+ _chroot;
+ _cleanup;
+ clearerr;
+ clock;
+ _close;
+ close = NODIRECT;
+ closedir;
+ _closedir;
+ creat;
+ _creat;
+ ctermid;
+ _ctermid;
+ ctime;
+ __ctype;
+ cuserid;
+ _cuserid;
+ daylight;
+ _daylight;
+ difftime;
+ div;
+ __dtou;
+ dup;
+ _dup;
+ dup2;
+ _dup2;
+ environ = NODIRECT;
+ _environ = NODIRECT;
+ execl;
+ _execl;
+ execle;
+ _execle;
+ execlp;
+ _execlp;
+ execv;
+ _execv;
+ execve;
+ _execve;
+ execvp;
+ _execvp;
+ exit;
+ _exit;
+ fattach;
+ _fattach;
+ fchdir;
+ _fchdir;
+ fchmod;
+ _fchmod;
+ fchown;
+ _fchown;
+ fclose;
+ fcntl;
+ _fcntl;
+ fdetach;
+ _fdetach;
+ fdopen;
+ _fdopen;
+ feof;
+ ferror;
+ fflush;
+ fgetc;
+ fgetpos;
+ fgets;
+ __filbuf;
+ fileno;
+ _fileno;
+ __flsbuf;
+ fmtmsg;
+ _fmtmsg;
+ fopen;
+ _fork;
+ fork = NODIRECT;
+ fpathconf;
+ _fpathconf;
+ fprintf;
+ fputc;
+ fputs;
+ fread;
+ free = NODIRECT;
+ freopen;
+ frexp = FUNCTION FILTER libm.so.2;
+ fscanf;
+ fseek;
+ fsetpos;
+ fstat;
+ _fstat;
+ fstatvfs;
+ _fstatvfs;
+ fsync;
+ _fsync;
+ ftell;
+ ftok;
+ _ftok;
+ __ftou;
+ fwrite;
+ getc;
+ getchar;
+ getcontext;
+ _getcontext;
+ getcwd;
+ _getcwd;
+ getdate;
+ _getdate;
+ getdate_err;
+ _getdate_err;
+ getegid;
+ _getegid;
+ getenv;
+ geteuid;
+ _geteuid;
+ getgid;
+ _getgid;
+ getgrgid;
+ _getgrgid;
+ getgrnam;
+ _getgrnam;
+ getgroups;
+ _getgroups;
+ getlogin;
+ _getlogin;
+ getmsg;
+ _getmsg;
+ getopt;
+ _getopt;
+ getpass;
+ _getpass;
+ getpgid;
+ _getpgid;
+ getpgrp;
+ _getpgrp;
+ getpid;
+ _getpid;
+ getpmsg;
+ _getpmsg;
+ getppid;
+ _getppid;
+ getpwnam;
+ _getpwnam;
+ getpwuid;
+ _getpwuid;
+ getrlimit;
+ _getrlimit;
+ gets;
+ getsid;
+ _getsid;
+ getsubopt;
+ _getsubopt;
+ gettxt;
+ _gettxt;
+ getuid;
+ _getuid;
+ getw;
+ _getw;
+ gmtime;
+ grantpt;
+ _grantpt;
+ hcreate;
+ _hcreate;
+ hdestroy;
+ _hdestroy;
+ hsearch;
+ _hsearch;
+ __huge_val;
+ initgroups;
+ _initgroups;
+ __iob;
+ ioctl;
+ _ioctl;
+ isalnum;
+ isalpha;
+ isascii;
+ _isascii;
+ isastream;
+ _isastream;
+ isatty;
+ _isatty;
+ iscntrl;
+ isdigit;
+ isgraph;
+ islower;
+ isnan = FUNCTION FILTER libm.so.2;
+ _isnan = FUNCTION FILTER libm.so.2;
+ isnand = FUNCTION FILTER libm.so.2;
+ _isnand = FUNCTION FILTER libm.so.2;
+ isprint;
+ ispunct;
+ isspace;
+ isupper;
+ isxdigit;
+ kill;
+ _kill;
+ labs;
+ lchown;
+ _lchown;
+ ldexp = FUNCTION FILTER libm.so.2;
+ ldiv;
+ lfind;
+ _lfind;
+ link;
+ _link;
+ localeconv;
+ localtime;
+ lockf;
+ _lockf;
+ logb = FUNCTION FILTER libm.so.2;
+ longjmp;
+ lsearch;
+ _lsearch;
+ lseek;
+ _lseek;
+ lstat;
+ _lstat;
+ makecontext;
+ _makecontext;
+ malloc = NODIRECT;
+ mblen;
+ mbstowcs;
+ mbtowc;
+ memccpy;
+ _memccpy;
+ memchr;
+ memcmp = AUXILIARY /platform/$PLATFORM/lib/libc_psr.so.1;
+ memcntl;
+ _memcntl;
+ memcpy = AUXILIARY /platform/$PLATFORM/lib/libc_psr.so.1;
+ memmove = AUXILIARY /platform/$PLATFORM/lib/libc_psr.so.1;
+ memset = AUXILIARY /platform/$PLATFORM/lib/libc_psr.so.1;
+ mkdir;
+ _mkdir;
+ mkfifo;
+ _mkfifo;
+ mknod;
+ _mknod;
+ mktemp;
+ _mktemp;
+ mktime;
+ mlock;
+ _mlock;
+ mmap;
+ _mmap;
+ modf = FUNCTION FILTER libm.so.2;
+ _modf = FUNCTION FILTER libm.so.2;
+ monitor;
+ _monitor;
+ mount;
+ _mount;
+ mprotect;
+ _mprotect;
+ msgctl;
+ _msgctl;
+ msgget;
+ _msgget;
+ msgrcv;
+ _msgrcv;
+ msgsnd;
+ _msgsnd;
+ msync;
+ _msync;
+ munlock;
+ _munlock;
+ munmap;
+ _munmap;
+ nextafter = FUNCTION FILTER libm.so.2;
+ _nextafter = FUNCTION FILTER libm.so.2;
+ nftw;
+ _nftw;
+ nice;
+ _nice;
+ nl_langinfo;
+ _nl_langinfo;
+ _numeric;
+ open;
+ _open;
+ opendir;
+ _opendir;
+ optarg;
+ opterr;
+ optind;
+ optopt;
+ pathconf;
+ _pathconf;
+ pause;
+ _pause;
+ pclose;
+ _pclose;
+ perror;
+ pipe;
+ _pipe;
+ poll;
+ _poll;
+ popen;
+ _popen;
+ printf;
+ profil;
+ _profil;
+ ptrace;
+ _ptrace;
+ ptsname;
+ _ptsname;
+ putc;
+ putchar;
+ putenv;
+ _putenv;
+ putmsg;
+ _putmsg;
+ putpmsg;
+ _putpmsg;
+ puts;
+ putw;
+ _putw;
+ _Q_add;
+ _Q_cmp;
+ _Q_cmpe;
+ _Q_div;
+ _Q_dtoq;
+ _Q_feq;
+ _Q_fge;
+ _Q_fgt;
+ _Q_fle;
+ _Q_flt;
+ _Q_fne;
+ _Q_itoq;
+ _Q_mul;
+ _Q_neg;
+ _Q_qtod;
+ _Q_qtoi;
+ _Q_qtos;
+ _Q_qtou;
+ qsort;
+ _Q_sqrt;
+ _Q_stoq;
+ _Q_sub;
+ _Q_utoq;
+ raise;
+ rand;
+ read;
+ _read;
+ readdir;
+ _readdir;
+ readlink;
+ _readlink;
+ readv;
+ _readv;
+ realloc = NODIRECT;
+ remove;
+ rename;
+ _rename;
+ rewind;
+ rewinddir;
+ _rewinddir;
+ rmdir;
+ _rmdir;
+ scalb = FUNCTION FILTER libm.so.2;
+ _scalb = FUNCTION FILTER libm.so.2;
+ scanf;
+ seekdir;
+ _seekdir;
+ semctl;
+ _semctl;
+ semget;
+ _semget;
+ semop;
+ _semop;
+ setbuf;
+ setcontext;
+ _setcontext;
+ setgid;
+ _setgid;
+ setgroups;
+ _setgroups;
+ setjmp;
+ setlabel;
+ setlocale;
+ setpgid;
+ _setpgid;
+ setpgrp;
+ _setpgrp;
+ setrlimit;
+ _setrlimit;
+ setsid;
+ _setsid;
+ setuid;
+ _setuid;
+ setvbuf;
+ shmat;
+ _shmat;
+ shmctl;
+ _shmctl;
+ shmdt;
+ _shmdt;
+ shmget;
+ _shmget;
+ sigaction = NODIRECT;
+ _sigaction = NODIRECT;
+ sigaddset;
+ _sigaddset;
+ sigaltstack;
+ _sigaltstack;
+ sigdelset;
+ _sigdelset;
+ sigemptyset;
+ _sigemptyset;
+ sigfillset;
+ _sigfillset;
+ sighold;
+ _sighold;
+ sigignore;
+ _sigignore;
+ sigismember;
+ _sigismember;
+ siglongjmp;
+ _siglongjmp;
+ signal;
+ sigpause;
+ _sigpause;
+ sigpending;
+ _sigpending;
+ sigprocmask;
+ _sigprocmask;
+ sigrelse;
+ _sigrelse;
+ sigsend;
+ _sigsend;
+ sigsendset;
+ _sigsendset;
+ sigset;
+ _sigset;
+ sigsetjmp;
+ _sigsetjmp;
+ sigsuspend;
+ _sigsuspend;
+ sleep;
+ _sleep;
+ sprintf;
+ srand;
+ sscanf;
+ stat;
+ _stat;
+ statvfs;
+ _statvfs;
+ stime;
+ _stime;
+ strcat;
+ strchr;
+ strcmp;
+ strcoll;
+ strcpy;
+ strcspn;
+ strdup;
+ _strdup;
+ strerror;
+ strftime;
+ strlen;
+ strncat;
+ strncmp;
+ strncpy;
+ strpbrk;
+ strrchr;
+ strspn;
+ strstr;
+ strtod;
+ strtok;
+ strtol;
+ strtoul;
+ strxfrm;
+ swab;
+ _swab;
+ swapcontext;
+ _swapcontext;
+ symlink;
+ _symlink;
+ sync;
+ _sync;
+ sysconf;
+ _sysconf;
+ system;
+ tcdrain;
+ _tcdrain;
+ tcflow;
+ _tcflow;
+ tcflush;
+ _tcflush;
+ tcgetattr;
+ _tcgetattr;
+ tcgetpgrp;
+ _tcgetpgrp;
+ tcgetsid;
+ _tcgetsid;
+ tcsendbreak;
+ _tcsendbreak;
+ tcsetattr;
+ _tcsetattr;
+ tcsetpgrp;
+ _tcsetpgrp;
+ tdelete;
+ _tdelete;
+ tell;
+ _tell;
+ telldir;
+ _telldir;
+ tempnam;
+ _tempnam;
+ tfind;
+ _tfind;
+ time;
+ _time;
+ times;
+ _times;
+ timezone;
+ _timezone;
+ tmpfile;
+ tmpnam;
+ toascii;
+ _toascii;
+ tolower;
+ _tolower;
+ toupper;
+ _toupper;
+ tsearch;
+ _tsearch;
+ ttyname;
+ _ttyname;
+ twalk;
+ _twalk;
+ tzname;
+ _tzname;
+ tzset;
+ _tzset;
+ ulimit;
+ _ulimit;
+ umask;
+ _umask;
+ umount;
+ _umount;
+ uname;
+ _uname;
+ ungetc;
+ unlink;
+ _unlink;
+ unlockpt;
+ _unlockpt;
+ utime;
+ _utime;
+ vfprintf;
+ vprintf;
+ vsprintf;
+ wait;
+ _wait;
+ waitid;
+ _waitid;
+ waitpid;
+ _waitpid;
+ wcstombs;
+ wctomb;
+ write;
+ _write;
+ writev;
+ _writev;
+ _xftw;
+};
+
+SUNWprivate_1.1 {
+ global:
+ __ashldi3;
+ __ashrdi3;
+ _cerror;
+ _cerror64;
+ __cmpdi2;
+ __divdi3;
+ _dladdr = FUNCTION FILTER /usr/lib/ld.so.1;
+ _dladdr1 = FUNCTION FILTER /usr/lib/ld.so.1;
+ _dlclose = FUNCTION FILTER /usr/lib/ld.so.1;
+ _dldump = FUNCTION FILTER /usr/lib/ld.so.1;
+ _dlerror = FUNCTION FILTER /usr/lib/ld.so.1;
+ _dlinfo = FUNCTION FILTER /usr/lib/ld.so.1;
+ _dlmopen = FUNCTION FILTER /usr/lib/ld.so.1;
+ _dlopen = FUNCTION FILTER /usr/lib/ld.so.1;
+ _dlsym = FUNCTION FILTER /usr/lib/ld.so.1;
+ _file_set;
+ __floatdidf;
+ __floatdisf;
+ _fprintf_c89;
+ _fscanf_c89;
+ __fseterror_u;
+ _fwprintf_c89;
+ _fwscanf_c89;
+ gtty;
+ _gtty;
+ _hasmntopt;
+ _imaxabs_c89;
+ _imaxdiv_c89;
+ install_utrap;
+ _install_utrap;
+ _ld_libc = FUNCTION FILTER /usr/lib/ld.so.1;
+ __lshrdi3;
+ __lyday_to_month;
+ _memcmp = AUXILIARY /platform/$PLATFORM/lib/libc_psr.so.1;
+ _memcpy = AUXILIARY /platform/$PLATFORM/lib/libc_psr.so.1;
+ _memmove = AUXILIARY /platform/$PLATFORM/lib/libc_psr.so.1;
+ _memset = AUXILIARY /platform/$PLATFORM/lib/libc_psr.so.1;
+ __moddi3;
+ __mon_lengths;
+ __muldi3;
+ nop;
+ _printf_c89;
+ _Q_cplx_div;
+ _Q_cplx_div_ix;
+ _Q_cplx_div_rx;
+ _Q_cplx_lr_div;
+ _Q_cplx_lr_div_ix;
+ _Q_cplx_lr_div_rx;
+ _Q_cplx_lr_mul;
+ _Q_cplx_mul;
+ _QgetRD;
+ _scanf_c89;
+ _snprintf_c89;
+ _sprintf_c89;
+ _sscanf_c89;
+ _strtoimax_c89;
+ _strtoumax_c89;
+ _swprintf_c89;
+ _swscanf_c89;
+ _sys_errlist;
+ _sys_errs;
+ _sys_index;
+ _sys_nerr;
+ _sys_num_err;
+ _syssun;
+ __ucmpdi2;
+ __udivdi3;
+ __umoddi3;
+ _vfprintf_c89;
+ _vfscanf_c89;
+ _vfwprintf_c89;
+ _vfwscanf_c89;
+ _vprintf_c89;
+ _vscanf_c89;
+ _vsnprintf_c89;
+ _vsprintf_c89;
+ _vsscanf_c89;
+ _vswprintf_c89;
+ _vswscanf_c89;
+ _vwprintf_c89;
+ _vwscanf_c89;
+ _wcstoimax_c89;
+ _wcstoumax_c89;
+ _wprintf_c89;
+ _wscanf_c89;
+ _xregs_clrptr;
+ __yday_to_month;
+};
diff --git a/usr/src/lib/libc/sparcv9/Makefile b/usr/src/lib/libc/sparcv9/Makefile
index bbdce6d862..81de2b2bb9 100644
--- a/usr/src/lib/libc/sparcv9/Makefile
+++ b/usr/src/lib/libc/sparcv9/Makefile
@@ -24,8 +24,7 @@
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libc/sparcv9/Makefile
-#
+
LIBCBASE=.
LIBRARY= libc.a
@@ -920,8 +919,7 @@ ALTPICS= $(TRACEOBJS:%=pics/%)
$(DYNLIB) := PICS += $(ROOTFS_LIBDIR64)/libc_i18n.a
$(DYNLIB) := BUILD.SO = $(LD) -o $@ -G $(DYNFLAGS) $(PICS) $(ALTPICS)
-MAPDIR= ../spec/sparcv9
-MAPFILE= $(MAPDIR)/mapfile
+MAPFILES = ../port/mapfile-vers mapfile-vers
sparcv9_C_PICFLAGS= -K PIC
CFLAGS64 += $(EXTN_CFLAGS)
@@ -932,8 +930,8 @@ ASFLAGS= -K PIC -P -D__STDC__ -D_ASM -D__sparcv9 $(CPPFLAGS) \
# Inform the run-time linker about libc specialized initialization
RTLDINFO = -z rtldinfo=tls_rtldinfo
+DYNFLAGS += $(RTLDINFO)
-DYNFLAGS += -M $(MAPFILE) $(RTLDINFO)
DYNFLAGS += $(EXTN_DYNFLAGS)
BUILD.s= $(AS) $(ASFLAGS) $< -o $@
@@ -957,7 +955,7 @@ CLEANFILES= \
pics/crtn.o \
$(ALTPICS)
-CLOBBERFILES += $(MAPFILE) $(LIB_PIC)
+CLOBBERFILES += $(LIB_PIC)
# list of C source for lint
SRCS= \
@@ -994,11 +992,6 @@ SRCS= \
$(DYNLIB) := CRTI = crti.o
$(DYNLIB) := CRTN = crtn.o
-$(DYNLIB): $(MAPFILE)
-
-$(MAPFILE):
- @cd $(MAPDIR); $(MAKE) mapfile
-
# Files which need the threads .il inline template
TIL= \
aio.o \
diff --git a/usr/src/lib/libc/sparcv9/mapfile-vers b/usr/src/lib/libc/sparcv9/mapfile-vers
new file mode 100644
index 0000000000..35ba6af356
--- /dev/null
+++ b/usr/src/lib/libc/sparcv9/mapfile-vers
@@ -0,0 +1,776 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNW_1.22 {
+ global:
+ dladdr = FUNCTION FILTER /usr/lib/sparcv9/ld.so.1;
+ dladdr1 = FUNCTION FILTER /usr/lib/sparcv9/ld.so.1;
+ dlclose = FUNCTION FILTER /usr/lib/sparcv9/ld.so.1;
+ dldump = FUNCTION FILTER /usr/lib/sparcv9/ld.so.1;
+ dlerror = FUNCTION FILTER /usr/lib/sparcv9/ld.so.1;
+ dlinfo = FUNCTION FILTER /usr/lib/sparcv9/ld.so.1;
+ dlmopen = FUNCTION FILTER /usr/lib/sparcv9/ld.so.1;
+ dlopen = FUNCTION FILTER /usr/lib/sparcv9/ld.so.1;
+ dlsym = FUNCTION FILTER /usr/lib/sparcv9/ld.so.1;
+ walkcontext;
+};
+
+SUNW_1.21.2 {
+ global:
+ __makecontext_v2;
+ ___makecontext_v2;
+};
+
+SUNW_1.1 {
+ global:
+ __flt_rounds;
+};
+
+SUNW_0.7 {
+ global:
+ abort;
+ abs;
+ access;
+ _access;
+ acct;
+ _acct;
+ addseverity;
+ _addseverity;
+ alarm;
+ _alarm;
+ __align_cpy_1;
+ __align_cpy_16;
+ __align_cpy_2;
+ __align_cpy_4;
+ __align_cpy_8;
+ _altzone;
+ asctime;
+ asctime_r;
+ _assert;
+ __assert;
+ atexit;
+ atof;
+ atoi;
+ atol;
+ bsearch;
+ __builtin_alloca;
+ calloc = NODIRECT;
+ catclose;
+ _catclose;
+ catgets;
+ _catgets;
+ catopen;
+ _catopen;
+ cfgetispeed;
+ _cfgetispeed;
+ cfgetospeed;
+ _cfgetospeed;
+ cfsetispeed;
+ _cfsetispeed;
+ cfsetospeed;
+ _cfsetospeed;
+ chdir;
+ _chdir;
+ chmod;
+ _chmod;
+ chown;
+ _chown;
+ chroot;
+ _chroot;
+ _cleanup;
+ clearerr;
+ clock;
+ _close;
+ close = NODIRECT;
+ closedir;
+ _closedir;
+ creat;
+ _creat;
+ crypt;
+ _crypt;
+ ctermid;
+ _ctermid;
+ ctime;
+ ctime_r;
+ _ctype;
+ __ctype;
+ cuserid;
+ _cuserid;
+ daylight;
+ _daylight;
+ difftime;
+ div;
+ __dtou;
+ __dtoul;
+ dup;
+ _dup;
+ dup2;
+ _dup2;
+ encrypt;
+ _encrypt;
+ endgrent;
+ endpwent;
+ environ = NODIRECT;
+ _environ = NODIRECT;
+ errno;
+ ___errno;
+ execl;
+ _execl;
+ execle;
+ _execle;
+ execlp;
+ _execlp;
+ execv;
+ _execv;
+ execve;
+ _execve;
+ execvp;
+ _execvp;
+ exit;
+ _exit;
+ fattach;
+ _fattach;
+ fchdir;
+ _fchdir;
+ fchmod;
+ _fchmod;
+ fchown;
+ _fchown;
+ fclose;
+ fcntl;
+ _fcntl;
+ fdetach;
+ _fdetach;
+ fdopen;
+ _fdopen;
+ feof;
+ ferror;
+ fflush;
+ fgetc;
+ fgetgrent;
+ fgetgrent_r;
+ fgetpos;
+ fgetpwent;
+ fgetpwent_r;
+ fgets;
+ __filbuf;
+ fileno;
+ _fileno;
+ file_to_decimal;
+ flockfile;
+ _flsbuf;
+ __flsbuf;
+ fmtmsg;
+ _fmtmsg;
+ fopen;
+ _fork;
+ fork = NODIRECT;
+ fpathconf;
+ _fpathconf;
+ fprintf;
+ fputc;
+ fputs;
+ fread;
+ free = NODIRECT;
+ freopen;
+ frexp = FUNCTION FILTER libm.so.2;
+ fscanf;
+ fseek;
+ fsetpos;
+ fstat;
+ _fstat;
+ fstatvfs;
+ _fstatvfs;
+ fsync;
+ _fsync;
+ ftell;
+ ftok;
+ _ftok;
+ __ftou;
+ __ftoul;
+ funlockfile;
+ fwrite;
+ getc;
+ getchar;
+ getchar_unlocked;
+ getcontext;
+ _getcontext;
+ getc_unlocked;
+ getcwd;
+ _getcwd;
+ getdate;
+ _getdate;
+ getdate_err;
+ _getdate_err;
+ getegid;
+ _getegid;
+ getenv;
+ geteuid;
+ _geteuid;
+ getgid;
+ _getgid;
+ getgrent;
+ getgrent_r;
+ getgrgid;
+ _getgrgid;
+ getgrgid_r;
+ getgrnam;
+ _getgrnam;
+ getgrnam_r;
+ getgroups;
+ _getgroups;
+ getitimer;
+ _getitimer;
+ getlogin;
+ _getlogin;
+ getlogin_r;
+ getmsg;
+ _getmsg;
+ getopt;
+ _getopt;
+ getpass;
+ _getpass;
+ getpgid;
+ _getpgid;
+ getpgrp;
+ _getpgrp;
+ getpid;
+ _getpid;
+ getpmsg;
+ _getpmsg;
+ getppid;
+ _getppid;
+ getpwent;
+ getpwent_r;
+ getpwnam;
+ _getpwnam;
+ getpwnam_r;
+ getpwuid;
+ _getpwuid;
+ getpwuid_r;
+ getrlimit;
+ _getrlimit;
+ gets;
+ getsid;
+ _getsid;
+ getsubopt;
+ _getsubopt;
+ gettimeofday;
+ _gettimeofday;
+ gettxt;
+ _gettxt;
+ getuid;
+ _getuid;
+ getw;
+ _getw;
+ gmtime;
+ gmtime_r;
+ grantpt;
+ _grantpt;
+ hcreate;
+ _hcreate;
+ hdestroy;
+ _hdestroy;
+ hsearch;
+ _hsearch;
+ __huge_val;
+ initgroups;
+ _initgroups;
+ _iob;
+ __iob;
+ ioctl;
+ _ioctl;
+ isalnum;
+ isalpha;
+ isascii;
+ _isascii;
+ isastream;
+ _isastream;
+ isatty;
+ _isatty;
+ iscntrl;
+ isdigit;
+ isgraph;
+ islower;
+ isnan = FUNCTION FILTER libm.so.2;
+ _isnan = FUNCTION FILTER libm.so.2;
+ isnand = FUNCTION FILTER libm.so.2;
+ _isnand = FUNCTION FILTER libm.so.2;
+ isprint;
+ ispunct;
+ isspace;
+ isupper;
+ isxdigit;
+ kill;
+ _kill;
+ labs;
+ lchown;
+ _lchown;
+ ldexp = FUNCTION FILTER libm.so.2;
+ ldiv;
+ lfind;
+ _lfind;
+ link;
+ _link;
+ localeconv;
+ localtime;
+ localtime_r;
+ lockf;
+ _lockf;
+ logb = FUNCTION FILTER libm.so.2;
+ longjmp;
+ lsearch;
+ _lsearch;
+ lseek;
+ _lseek;
+ lstat;
+ _lstat;
+ makecontext;
+ _makecontext;
+ malloc = NODIRECT;
+ mblen;
+ mbstowcs;
+ mbtowc;
+ memccpy;
+ _memccpy;
+ memchr;
+ memcmp = AUXILIARY /platform/$PLATFORM/lib/sparcv9/libc_psr.so.1;
+ memcntl;
+ _memcntl;
+ memcpy = AUXILIARY /platform/$PLATFORM/lib/sparcv9/libc_psr.so.1;
+ memmove = AUXILIARY /platform/$PLATFORM/lib/sparcv9/libc_psr.so.1;
+ memset = AUXILIARY /platform/$PLATFORM/lib/sparcv9/libc_psr.so.1;
+ mkdir;
+ _mkdir;
+ mkfifo;
+ _mkfifo;
+ mknod;
+ _mknod;
+ mktemp;
+ _mktemp;
+ mktime;
+ mlock;
+ _mlock;
+ mmap;
+ _mmap;
+ modf = FUNCTION FILTER libm.so.2;
+ _modf = FUNCTION FILTER libm.so.2;
+ monitor;
+ _monitor;
+ mount;
+ _mount;
+ mprotect;
+ _mprotect;
+ msgctl;
+ _msgctl;
+ msgget;
+ _msgget;
+ msgrcv;
+ _msgrcv;
+ msgsnd;
+ _msgsnd;
+ msync;
+ _msync;
+ munlock;
+ _munlock;
+ munmap;
+ _munmap;
+ _mutex_held;
+ _mutex_lock;
+ nextafter = FUNCTION FILTER libm.so.2;
+ _nextafter = FUNCTION FILTER libm.so.2;
+ nftw;
+ _nftw;
+ nice;
+ _nice;
+ nl_langinfo;
+ _nl_langinfo;
+ _numeric;
+ open;
+ _open;
+ opendir;
+ _opendir;
+ optarg;
+ opterr;
+ optind;
+ optopt;
+ pathconf;
+ _pathconf;
+ pause;
+ _pause;
+ pclose;
+ _pclose;
+ perror;
+ pipe;
+ _pipe;
+ poll;
+ _poll;
+ p_online;
+ popen;
+ _popen;
+ printf;
+ profil;
+ _profil;
+ ptsname;
+ _ptsname;
+ putc;
+ putchar;
+ putchar_unlocked;
+ putc_unlocked;
+ putenv;
+ _putenv;
+ putmsg;
+ _putmsg;
+ putpmsg;
+ _putpmsg;
+ puts;
+ putw;
+ _putw;
+ _Qp_add;
+ _Qp_cmp;
+ _Qp_cmpe;
+ _Qp_div;
+ _Qp_dtoq;
+ _Qp_feq;
+ _Qp_fge;
+ _Qp_fgt;
+ _Qp_fle;
+ _Qp_flt;
+ _Qp_fne;
+ _Qp_itoq;
+ _Qp_mul;
+ _Qp_neg;
+ _Qp_qtod;
+ _Qp_qtoi;
+ _Qp_qtos;
+ _Qp_qtoui;
+ _Qp_qtoux;
+ _Qp_qtox;
+ _Qp_sqrt;
+ _Qp_stoq;
+ _Qp_sub;
+ _Qp_uitoq;
+ _Qp_uxtoq;
+ _Qp_xtoq;
+ qsort;
+ raise;
+ rand;
+ rand_r;
+ read;
+ _read;
+ readdir;
+ _readdir;
+ readdir_r;
+ readlink;
+ _readlink;
+ readv;
+ _readv;
+ realloc = NODIRECT;
+ remove;
+ rename;
+ _rename;
+ rewind;
+ rewinddir;
+ _rewinddir;
+ rmdir;
+ _rmdir;
+ _rw_read_held;
+ _rw_write_held;
+ sbrk;
+ _sbrk;
+ scalb = FUNCTION FILTER libm.so.2;
+ _scalb = FUNCTION FILTER libm.so.2;
+ scanf;
+ seekdir;
+ _seekdir;
+ semctl;
+ _semctl;
+ semget;
+ _semget;
+ semop;
+ _semop;
+ setbuf;
+ setcontext;
+ _setcontext;
+ setgid;
+ _setgid;
+ setgrent;
+ setgroups;
+ _setgroups;
+ setitimer;
+ _setitimer;
+ setjmp;
+ setkey;
+ _setkey;
+ setlabel;
+ setlocale;
+ setpgid;
+ _setpgid;
+ setpgrp;
+ _setpgrp;
+ setpwent;
+ setrlimit;
+ _setrlimit;
+ setsid;
+ _setsid;
+ setuid;
+ _setuid;
+ setvbuf;
+ shmat;
+ _shmat;
+ shmctl;
+ _shmctl;
+ shmdt;
+ _shmdt;
+ shmget;
+ _shmget;
+ _sibuf;
+ sigaction = NODIRECT;
+ _sigaction = NODIRECT;
+ sigaddset;
+ _sigaddset;
+ sigaltstack;
+ _sigaltstack;
+ sigdelset;
+ _sigdelset;
+ sigemptyset;
+ _sigemptyset;
+ sigfillset;
+ _sigfillset;
+ sighold;
+ _sighold;
+ sigignore;
+ _sigignore;
+ sigismember;
+ _sigismember;
+ siglongjmp;
+ _siglongjmp;
+ signal;
+ sigpause;
+ _sigpause;
+ sigpending;
+ _sigpending;
+ sigprocmask;
+ _sigprocmask;
+ sigrelse;
+ _sigrelse;
+ sigsend;
+ _sigsend;
+ sigsendset;
+ _sigsendset;
+ sigset;
+ _sigset;
+ sigsetjmp;
+ _sigsetjmp;
+ sigsuspend;
+ _sigsuspend;
+ sleep;
+ _sleep;
+ _sobuf;
+ __sparc_utrap_install;
+ sprintf;
+ srand;
+ srand48;
+ sscanf;
+ stat;
+ _stat;
+ statvfs;
+ _statvfs;
+ stime;
+ _stime;
+ strcat;
+ strchr;
+ strcmp;
+ strcoll;
+ strcpy;
+ strcspn;
+ strdup;
+ _strdup;
+ strerror;
+ strftime;
+ strlen;
+ strncat;
+ strncmp;
+ strncpy;
+ strpbrk;
+ strrchr;
+ strspn;
+ strstr;
+ strtod;
+ strtok;
+ strtok_r;
+ strtol;
+ strtoul;
+ strxfrm;
+ swab;
+ _swab;
+ swapcontext;
+ _swapcontext;
+ symlink;
+ _symlink;
+ sync;
+ _sync;
+ _sys_buslist;
+ _syscall;
+ _sys_cldlist;
+ sysconf;
+ _sysconf;
+ _sys_fpelist;
+ sysinfo;
+ _sysinfo;
+ _sys_segvlist;
+ _sys_siginfolistp;
+ _sys_siglist;
+ _sys_siglistn;
+ _sys_siglistp;
+ system;
+ _sys_traplist;
+ tcdrain;
+ _tcdrain;
+ tcflow;
+ _tcflow;
+ tcflush;
+ _tcflush;
+ tcgetattr;
+ _tcgetattr;
+ tcgetpgrp;
+ _tcgetpgrp;
+ tcgetsid;
+ _tcgetsid;
+ tcsendbreak;
+ _tcsendbreak;
+ tcsetattr;
+ _tcsetattr;
+ tcsetpgrp;
+ _tcsetpgrp;
+ tdelete;
+ _tdelete;
+ tell;
+ _tell;
+ telldir;
+ _telldir;
+ tempnam;
+ _tempnam;
+ tfind;
+ _tfind;
+ time;
+ _time;
+ times;
+ _times;
+ timezone;
+ _timezone;
+ tmpfile;
+ tmpnam;
+ toascii;
+ _toascii;
+ tolower;
+ _tolower;
+ toupper;
+ _toupper;
+ tsearch;
+ _tsearch;
+ ttyname;
+ _ttyname;
+ ttyname_r;
+ twalk;
+ _twalk;
+ tzname;
+ _tzname;
+ tzset;
+ _tzset;
+ ulimit;
+ _ulimit;
+ umask;
+ _umask;
+ umount;
+ _umount;
+ uname;
+ _uname;
+ ungetc;
+ unlink;
+ _unlink;
+ unlockpt;
+ _unlockpt;
+ utime;
+ _utime;
+ vfprintf;
+ vprintf;
+ vsprintf;
+ wait;
+ _wait;
+ waitid;
+ _waitid;
+ waitpid;
+ _waitpid;
+ wcstombs;
+ wctomb;
+ write;
+ _write;
+ writev;
+ _writev;
+ _xftw;
+};
+
+SUNWprivate_1.1 {
+ global:
+ _cerror;
+ _dladdr = FUNCTION FILTER /usr/lib/sparcv9/ld.so.1;
+ _dladdr1 = FUNCTION FILTER /usr/lib/sparcv9/ld.so.1;
+ _dlclose = FUNCTION FILTER /usr/lib/sparcv9/ld.so.1;
+ _dldump = FUNCTION FILTER /usr/lib/sparcv9/ld.so.1;
+ _dlerror = FUNCTION FILTER /usr/lib/sparcv9/ld.so.1;
+ _dlinfo = FUNCTION FILTER /usr/lib/sparcv9/ld.so.1;
+ _dlmopen = FUNCTION FILTER /usr/lib/sparcv9/ld.so.1;
+ _dlopen = FUNCTION FILTER /usr/lib/sparcv9/ld.so.1;
+ _dlsym = FUNCTION FILTER /usr/lib/sparcv9/ld.so.1;
+ __fseterror_u;
+ gtty;
+ _gtty;
+ _hasmntopt;
+ install_utrap;
+ _install_utrap;
+ _ld_libc = FUNCTION FILTER /usr/lib/sparcv9/ld.so.1;
+ __lyday_to_month;
+ _memcmp = AUXILIARY /platform/$PLATFORM/lib/sparcv9/libc_psr.so.1;
+ _memcpy = AUXILIARY /platform/$PLATFORM/lib/sparcv9/libc_psr.so.1;
+ _memmove = AUXILIARY /platform/$PLATFORM/lib/sparcv9/libc_psr.so.1;
+ _memset = AUXILIARY /platform/$PLATFORM/lib/sparcv9/libc_psr.so.1;
+ __mon_lengths;
+ nop;
+ _Q_cplx_div;
+ _Q_cplx_div_ix;
+ _Q_cplx_div_rx;
+ _Q_cplx_lr_div;
+ _Q_cplx_lr_div_ix;
+ _Q_cplx_lr_div_rx;
+ _Q_cplx_lr_mul;
+ _Q_cplx_mul;
+ _QgetRD;
+ _syssun;
+ _xregs_clrptr;
+ __yday_to_month;
+};
diff --git a/usr/src/lib/libc/spec/Makefile b/usr/src/lib/libc/spec/Makefile
deleted file mode 100644
index 660d580642..0000000000
--- a/usr/src/lib/libc/spec/Makefile
+++ /dev/null
@@ -1,29 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1998-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libc/spec/Makefile
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/libc/spec/Makefile.targ b/usr/src/lib/libc/spec/Makefile.targ
deleted file mode 100644
index 4243823247..0000000000
--- a/usr/src/lib/libc/spec/Makefile.targ
+++ /dev/null
@@ -1,56 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libc/spec/Makefile.targ
-
-LIBRARY = libc.a
-VERS = .1
-
-OBJECTS = aio.o \
- atomic.o \
- data.o \
- door.o \
- fmtmsg.o \
- fp.o \
- gen.o \
- i18n.o \
- interface64.o \
- missing.o \
- print.o \
- private.o \
- privatedata.o \
- regex.o \
- rt.o \
- stdio.o \
- sys.o \
- threads.o \
- unwind.o \
- widec.o
-
-TRANSCPP =
-
-SPECCPP = -I.. -I../../inc -I/usr/include
-pics/private.o := SPECCPP += -D__NSS_PRIVATE_INTERFACE
diff --git a/usr/src/lib/libc/spec/aio.spec b/usr/src/lib/libc/spec/aio.spec
deleted file mode 100644
index 6b2612210e..0000000000
--- a/usr/src/lib/libc/spec/aio.spec
+++ /dev/null
@@ -1,83 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-function aiocancel
-include <sys/asynch.h>, <aio.h>
-declaration int aiocancel(aio_result_t *resultp)
-version SUNW_1.23
-errno EACCES EFAULT EINVAL
-exception $return == -1
-end
-
-function aioread
-include <sys/types.h>, <sys/asynch.h>, <aio.h>
-declaration int aioread(int fildes, char *bufp, int bufs, \
- off_t offset, int whence, aio_result_t *resultp)
-version SUNW_1.23
-errno EAGAIN EBADF EFAULT EINVAL ENOMEM
-exception $return == -1
-end
-
-function aioread64
-declaration int aioread64(int fd, caddr_t buf, int bufsz, off64_t offset, \
- int whence, aio_result_t *resultp)
-arch i386 sparc
-version SUNW_1.23
-end
-
-function aiowait
-include <sys/asynch.h>, <aio.h>, <sys/time.h>
-declaration aio_result_t *aiowait(struct timeval *timeout)
-version SUNW_1.23
-errno EFAULT EINTR EINVAL
-exception $return == (aio_result_t *)-1
-end
-
-function aiowrite
-include <sys/types.h>, <sys/asynch.h>, <aio.h>
-declaration int aiowrite(int fildes, char *bufp, int bufs, \
- off_t offset, int whence, aio_result_t *resultp)
-version SUNW_1.23
-errno EAGAIN EBADF EFAULT EINVAL ENOMEM
-exception $return == -1
-end
-
-function aiowrite64
-include <sys/types.h>, <sys/asynch.h>, <aio.h>
-declaration int aiowrite64(int fildes, char *bufp, int bufs, \
- off64_t offset, int whence, aio_result_t *resultp)
-arch sparc i386
-version SUNW_1.23
-errno EAGAIN EBADF EFAULT EINVAL ENOMEM
-exception $return == -1
-end
-
-function assfail
-declaration int assfail(char *a, char *f, int l)
-version SUNW_1.23
-end
-
diff --git a/usr/src/lib/libc/spec/amd64/Makefile b/usr/src/lib/libc/spec/amd64/Makefile
deleted file mode 100644
index 26ff7e0812..0000000000
--- a/usr/src/lib/libc/spec/amd64/Makefile
+++ /dev/null
@@ -1,50 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#amd64_C_PICFLAGS = $(amd64_C_BIGPICFLAGS)
-
-# Override this top level flag so the compiler builds in its native
-# C99 mode.
-C99MODE=
-C99LMODE=
-
-include $(SRC)/lib/Makefile.spec
-ABILLIBC=
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libc/spec/atomic.spec b/usr/src/lib/libc/spec/atomic.spec
deleted file mode 100644
index be99e5d506..0000000000
--- a/usr/src/lib/libc/spec/atomic.spec
+++ /dev/null
@@ -1,1193 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-function atomic_inc_8
-include <atomic.h>
-declaration void atomic_inc_8(volatile uint8_t *)
-version SUNW_1.22.1
-end
-
-function _atomic_inc_8
-weak atomic_inc_8
-version SUNWprivate_1.1
-end
-
-function atomic_inc_uchar
-include <atomic.h>
-declaration void atomic_inc_uchar(volatile uchar_t *)
-version SUNW_1.22.1
-end
-
-function _atomic_inc_uchar
-weak atomic_inc_uchar
-version SUNWprivate_1.1
-end
-
-function atomic_inc_16
-include <atomic.h>
-declaration void atomic_inc_16(volatile uint16_t *)
-version SUNW_1.22.1
-end
-
-function _atomic_inc_16
-weak atomic_inc_16
-version SUNWprivate_1.1
-end
-
-function atomic_inc_ushort
-include <atomic.h>
-declaration void atomic_inc_ushort(volatile ushort_t *)
-version SUNW_1.22.1
-end
-
-function _atomic_inc_ushort
-weak atomic_inc_ushort
-version SUNWprivate_1.1
-end
-
-function atomic_inc_32
-include <atomic.h>
-declaration void atomic_inc_32(volatile uint32_t *)
-version SUNW_1.22.1
-end
-
-function _atomic_inc_32
-weak atomic_inc_32
-version SUNWprivate_1.1
-end
-
-function atomic_inc_uint
-include <atomic.h>
-declaration void atomic_inc_uint(volatile uint_t *)
-version SUNW_1.22.1
-end
-
-function _atomic_inc_uint
-weak atomic_inc_uint
-version SUNWprivate_1.1
-end
-
-function atomic_inc_ulong
-include <atomic.h>
-declaration void atomic_inc_ulong(volatile ulong_t *)
-version SUNW_1.22.1
-end
-
-function _atomic_inc_ulong
-weak atomic_inc_ulong
-version SUNWprivate_1.1
-end
-
-function atomic_inc_64
-include <atomic.h>
-declaration void atomic_inc_64(volatile uint64_t *)
-version SUNW_1.22.1
-end
-
-function _atomic_inc_64
-weak atomic_inc_64
-version SUNWprivate_1.1
-end
-
-function atomic_dec_8
-include <atomic.h>
-declaration void atomic_dec_8(volatile uint8_t *)
-version SUNW_1.22.1
-end
-
-function _atomic_dec_8
-weak atomic_dec_8
-version SUNWprivate_1.1
-end
-
-function atomic_dec_uchar
-include <atomic.h>
-declaration void atomic_dec_uchar(volatile uchar_t *)
-version SUNW_1.22.1
-end
-
-function _atomic_dec_uchar
-weak atomic_dec_uchar
-version SUNWprivate_1.1
-end
-
-function atomic_dec_16
-include <atomic.h>
-declaration void atomic_dec_16(volatile uint16_t *)
-version SUNW_1.22.1
-end
-
-function _atomic_dec_16
-weak atomic_dec_16
-version SUNWprivate_1.1
-end
-
-function atomic_dec_ushort
-include <atomic.h>
-declaration void atomic_dec_ushort(volatile ushort_t *)
-version SUNW_1.22.1
-end
-
-function _atomic_dec_ushort
-weak atomic_dec_ushort
-version SUNWprivate_1.1
-end
-
-function atomic_dec_32
-include <atomic.h>
-declaration void atomic_dec_32(volatile uint32_t *)
-version SUNW_1.22.1
-end
-
-function _atomic_dec_32
-weak atomic_dec_32
-version SUNWprivate_1.1
-end
-
-function atomic_dec_uint
-include <atomic.h>
-declaration void atomic_dec_uint(volatile uint_t *)
-version SUNW_1.22.1
-end
-
-function _atomic_dec_uint
-weak atomic_dec_uint
-version SUNWprivate_1.1
-end
-
-function atomic_dec_ulong
-include <atomic.h>
-declaration void atomic_dec_ulong(volatile ulong_t *)
-version SUNW_1.22.1
-end
-
-function _atomic_dec_ulong
-weak atomic_dec_ulong
-version SUNWprivate_1.1
-end
-
-function atomic_dec_64
-include <atomic.h>
-declaration void atomic_dec_64(volatile uint64_t *)
-version SUNW_1.22.1
-end
-
-function _atomic_dec_64
-weak atomic_dec_64
-version SUNWprivate_1.1
-end
-
-function atomic_add_8
-include <atomic.h>
-declaration void atomic_add_8(volatile uint8_t *, int8_t)
-version SUNW_1.22.1
-end
-
-function _atomic_add_8
-weak atomic_add_8
-version SUNWprivate_1.1
-end
-
-function atomic_add_char
-include <atomic.h>
-declaration void atomic_add_char(volatile uint8_t *, signed char)
-version SUNW_1.22.1
-end
-
-function _atomic_add_char
-weak atomic_add_char
-version SUNWprivate_1.1
-end
-
-function atomic_add_16
-include <atomic.h>
-declaration void atomic_add_16(volatile uint16_t *, int16_t)
-version SUNW_1.22
-end
-
-function _atomic_add_16
-weak atomic_add_16
-version SUNWprivate_1.1
-end
-
-function atomic_add_short
-include <atomic.h>
-declaration void atomic_add_short(volatile ushort_t *, short)
-version SUNW_1.22.1
-end
-
-function _atomic_add_short
-weak atomic_add_short
-version SUNWprivate_1.1
-end
-
-function atomic_add_32
-include <atomic.h>
-declaration void atomic_add_32(volatile uint32_t *, int32_t)
-version SUNW_1.22
-end
-
-function _atomic_add_32
-weak atomic_add_32
-version SUNWprivate_1.1
-end
-
-function atomic_add_int
-include <atomic.h>
-declaration void atomic_add_int(volatile uint_t *, int)
-version SUNW_1.22.1
-end
-
-function _atomic_add_int
-weak atomic_add_int
-version SUNWprivate_1.1
-end
-
-function atomic_add_ptr
-include <atomic.h>
-declaration void atomic_add_ptr(volatile void *, ssize_t)
-version SUNW_1.22.1
-end
-
-function _atomic_add_ptr
-weak atomic_add_ptr
-version SUNWprivate_1.1
-end
-
-function atomic_add_long
-include <atomic.h>
-declaration void atomic_add_long(volatile ulong_t *, long)
-version SUNW_1.22
-end
-
-function _atomic_add_long
-weak atomic_add_long
-version SUNWprivate_1.1
-end
-
-function atomic_add_64
-include <atomic.h>
-declaration void atomic_add_64(volatile uint64_t *, int64_t)
-version SUNW_1.22
-end
-
-function _atomic_add_64
-weak atomic_add_64
-version SUNWprivate_1.1
-end
-
-function atomic_or_8
-include <atomic.h>
-declaration void atomic_or_8(volatile uint8_t *, uint8_t)
-version SUNW_1.22.1
-end
-
-function _atomic_or_8
-weak atomic_or_8
-version SUNWprivate_1.1
-end
-
-function atomic_or_uchar
-include <atomic.h>
-declaration void atomic_or_uchar(volatile uchar_t *, uchar_t)
-version SUNW_1.22.1
-end
-
-function _atomic_or_uchar
-weak atomic_or_uchar
-version SUNWprivate_1.1
-end
-
-function atomic_or_16
-include <atomic.h>
-declaration void atomic_or_16(volatile uint16_t *, uint16_t)
-version SUNW_1.22.1
-end
-
-function _atomic_or_16
-weak atomic_or_16
-version SUNWprivate_1.1
-end
-
-function atomic_or_ushort
-include <atomic.h>
-declaration void atomic_or_ushort(volatile ushort_t *, ushort_t)
-version SUNW_1.22.1
-end
-
-function _atomic_or_ushort
-weak atomic_or_ushort
-version SUNWprivate_1.1
-end
-
-function atomic_or_32
-include <atomic.h>
-declaration void atomic_or_32(volatile uint32_t *, uint32_t)
-version SUNW_1.22
-end
-
-function _atomic_or_32
-weak atomic_or_32
-version SUNWprivate_1.1
-end
-
-function atomic_or_uint
-include <atomic.h>
-declaration void atomic_or_uint(volatile uint_t *, uint_t)
-version SUNW_1.22
-end
-
-function _atomic_or_uint
-weak atomic_or_uint
-version SUNWprivate_1.1
-end
-
-function atomic_or_ulong
-include <atomic.h>
-declaration void atomic_or_ulong(volatile ulong_t *, ulong_t)
-version SUNW_1.22.1
-end
-
-function _atomic_or_ulong
-weak atomic_or_ulong
-version SUNWprivate_1.1
-end
-
-function atomic_or_64
-include <atomic.h>
-declaration void atomic_or_64(volatile uint64_t *, uint64_t)
-version SUNW_1.22.1
-end
-
-function _atomic_or_64
-weak atomic_or_64
-version SUNWprivate_1.1
-end
-
-function atomic_and_8
-include <atomic.h>
-declaration void atomic_and_8(volatile uint8_t *, uint8_t)
-version SUNW_1.22.1
-end
-
-function _atomic_and_8
-weak atomic_and_8
-version SUNWprivate_1.1
-end
-
-function atomic_and_uchar
-include <atomic.h>
-declaration void atomic_and_uchar(volatile uchar_t *, uchar_t)
-version SUNW_1.22.1
-end
-
-function _atomic_and_uchar
-weak atomic_and_uchar
-version SUNWprivate_1.1
-end
-
-function atomic_and_16
-include <atomic.h>
-declaration void atomic_and_16(volatile uint16_t *, uint16_t)
-version SUNW_1.22.1
-end
-
-function _atomic_and_16
-weak atomic_and_16
-version SUNWprivate_1.1
-end
-
-function atomic_and_ushort
-include <atomic.h>
-declaration void atomic_and_ushort(volatile ushort_t *, ushort_t)
-version SUNW_1.22.1
-end
-
-function _atomic_and_ushort
-weak atomic_and_ushort
-version SUNWprivate_1.1
-end
-
-function atomic_and_32
-include <atomic.h>
-declaration void atomic_and_32(volatile uint32_t *, uint32_t)
-version SUNW_1.22
-end
-
-function _atomic_and_32
-weak atomic_and_32
-version SUNWprivate_1.1
-end
-
-function atomic_and_uint
-include <atomic.h>
-declaration void atomic_and_uint(volatile uint_t *, uint_t)
-version SUNW_1.22
-end
-
-function _atomic_and_uint
-weak atomic_and_uint
-version SUNWprivate_1.1
-end
-
-function atomic_and_ulong
-include <atomic.h>
-declaration void atomic_and_ulong(volatile ulong_t *, ulong_t)
-version SUNW_1.22.1
-end
-
-function _atomic_and_ulong
-weak atomic_and_ulong
-version SUNWprivate_1.1
-end
-
-function atomic_and_64
-include <atomic.h>
-declaration void atomic_and_64(volatile uint64_t *, uint64_t)
-version SUNW_1.22.1
-end
-
-function _atomic_and_64
-weak atomic_and_64
-version SUNWprivate_1.1
-end
-
-function atomic_inc_8_nv
-include <atomic.h>
-declaration uint8_t atomic_inc_8_nv(volatile uint8_t *)
-version SUNW_1.22.1
-end
-
-function _atomic_inc_8_nv
-weak atomic_inc_8_nv
-version SUNWprivate_1.1
-end
-
-function atomic_inc_uchar_nv
-include <atomic.h>
-declaration uchar_t atomic_inc_uchar_nv(volatile uchar_t *)
-version SUNW_1.22.1
-end
-
-function _atomic_inc_uchar_nv
-weak atomic_inc_uchar_nv
-version SUNWprivate_1.1
-end
-
-function atomic_inc_16_nv
-include <atomic.h>
-declaration uint16_t atomic_inc_16_nv(volatile uint16_t *)
-version SUNW_1.22.1
-end
-
-function _atomic_inc_16_nv
-weak atomic_inc_16_nv
-version SUNWprivate_1.1
-end
-
-function atomic_inc_ushort_nv
-include <atomic.h>
-declaration ushort_t atomic_inc_ushort_nv(volatile ushort_t *)
-version SUNW_1.22.1
-end
-
-function _atomic_inc_ushort_nv
-weak atomic_inc_ushort_nv
-version SUNWprivate_1.1
-end
-
-function atomic_inc_32_nv
-include <atomic.h>
-declaration uint32_t atomic_inc_32_nv(volatile uint32_t *)
-version SUNW_1.22.1
-end
-
-function _atomic_inc_32_nv
-weak atomic_inc_32_nv
-version SUNWprivate_1.1
-end
-
-function atomic_inc_uint_nv
-include <atomic.h>
-declaration uint_t atomic_inc_uint_nv(volatile uint_t *)
-version SUNW_1.22.1
-end
-
-function _atomic_inc_uint_nv
-weak atomic_inc_uint_nv
-version SUNWprivate_1.1
-end
-
-function atomic_inc_ulong_nv
-include <atomic.h>
-declaration ulong_t atomic_inc_ulong_nv(volatile ulong_t *)
-version SUNW_1.22.1
-end
-
-function _atomic_inc_ulong_nv
-weak atomic_inc_ulong_nv
-version SUNWprivate_1.1
-end
-
-function atomic_inc_64_nv
-include <atomic.h>
-declaration uint64_t atomic_inc_64_nv(volatile uint64_t *)
-version SUNW_1.22.1
-end
-
-function _atomic_inc_64_nv
-weak atomic_inc_64_nv
-version SUNWprivate_1.1
-end
-
-function atomic_dec_8_nv
-include <atomic.h>
-declaration uint8_t atomic_dec_8_nv(volatile uint8_t *)
-version SUNW_1.22.1
-end
-
-function _atomic_dec_8_nv
-weak atomic_dec_8_nv
-version SUNWprivate_1.1
-end
-
-function atomic_dec_uchar_nv
-include <atomic.h>
-declaration uchar_t atomic_dec_uchar_nv(volatile uchar_t *)
-version SUNW_1.22.1
-end
-
-function _atomic_dec_uchar_nv
-weak atomic_dec_uchar_nv
-version SUNWprivate_1.1
-end
-
-function atomic_dec_16_nv
-include <atomic.h>
-declaration uint16_t atomic_dec_16_nv(volatile uint16_t *)
-version SUNW_1.22.1
-end
-
-function _atomic_dec_16_nv
-weak atomic_dec_16_nv
-version SUNWprivate_1.1
-end
-
-function atomic_dec_ushort_nv
-include <atomic.h>
-declaration ushort_t atomic_dec_ushort_nv(volatile ushort_t *)
-version SUNW_1.22.1
-end
-
-function _atomic_dec_ushort_nv
-weak atomic_dec_ushort_nv
-version SUNWprivate_1.1
-end
-
-function atomic_dec_32_nv
-include <atomic.h>
-declaration uint32_t atomic_dec_32_nv(volatile uint32_t *)
-version SUNW_1.22.1
-end
-
-function _atomic_dec_32_nv
-weak atomic_dec_32_nv
-version SUNWprivate_1.1
-end
-
-function atomic_dec_uint_nv
-include <atomic.h>
-declaration uint_t atomic_dec_uint_nv(volatile uint_t *)
-version SUNW_1.22.1
-end
-
-function _atomic_dec_uint_nv
-weak atomic_dec_uint_nv
-version SUNWprivate_1.1
-end
-
-function atomic_dec_ulong_nv
-include <atomic.h>
-declaration ulong_t atomic_dec_ulong_nv(volatile ulong_t *)
-version SUNW_1.22.1
-end
-
-function _atomic_dec_ulong_nv
-weak atomic_dec_ulong_nv
-version SUNWprivate_1.1
-end
-
-function atomic_dec_64_nv
-include <atomic.h>
-declaration uint64_t atomic_dec_64_nv(volatile uint64_t *)
-version SUNW_1.22.1
-end
-
-function _atomic_dec_64_nv
-weak atomic_dec_64_nv
-version SUNWprivate_1.1
-end
-
-function atomic_add_8_nv
-include <atomic.h>
-declaration uint8_t atomic_add_8_nv(volatile uint8_t *, int8_t)
-version SUNW_1.22.1
-end
-
-function _atomic_add_8_nv
-weak atomic_add_8_nv
-version SUNWprivate_1.1
-end
-
-function atomic_add_char_nv
-include <atomic.h>
-declaration uchar_t atomic_add_char_nv(volatile uchar_t *, signed char)
-version SUNW_1.22.1
-end
-
-function _atomic_add_char_nv
-weak atomic_add_char_nv
-version SUNWprivate_1.1
-end
-
-function atomic_add_16_nv
-include <atomic.h>
-declaration uint16_t atomic_add_16_nv(volatile uint16_t *, int16_t)
-version SUNW_1.22
-end
-
-function _atomic_add_16_nv
-weak atomic_add_16_nv
-version SUNWprivate_1.1
-end
-
-function atomic_add_short_nv
-include <atomic.h>
-declaration ushort_t atomic_add_short_nv(volatile ushort_t *, short)
-version SUNW_1.22.1
-end
-
-function _atomic_add_short_nv
-weak atomic_add_short_nv
-version SUNWprivate_1.1
-end
-
-function atomic_add_32_nv
-include <atomic.h>
-declaration uint32_t atomic_add_32_nv(volatile uint32_t *, int32_t)
-version SUNW_1.22
-end
-
-function _atomic_add_32_nv
-weak atomic_add_32_nv
-version SUNWprivate_1.1
-end
-
-function atomic_add_int_nv
-include <atomic.h>
-declaration uint_t atomic_add_int_nv(volatile uint_t *, int)
-version SUNW_1.22.1
-end
-
-function _atomic_add_int_nv
-weak atomic_add_int_nv
-version SUNWprivate_1.1
-end
-
-function atomic_add_ptr_nv
-include <atomic.h>
-declaration void *atomic_add_ptr_nv(volatile void *, ssize_t)
-version SUNW_1.22.1
-end
-
-function _atomic_add_ptr_nv
-weak atomic_add_ptr_nv
-version SUNWprivate_1.1
-end
-
-function atomic_add_long_nv
-include <atomic.h>
-declaration ulong_t atomic_add_long_nv(volatile ulong_t *, long)
-version SUNW_1.22
-end
-
-function _atomic_add_long_nv
-weak atomic_add_long_nv
-version SUNWprivate_1.1
-end
-
-function atomic_add_64_nv
-include <atomic.h>
-declaration uint64_t atomic_add_64_nv(volatile uint64_t *, int64_t)
-version SUNW_1.22
-end
-
-function _atomic_add_64_nv
-weak atomic_add_64_nv
-version SUNWprivate_1.1
-end
-
-function atomic_or_8_nv
-include <atomic.h>
-declaration uint8_t atomic_or_8_nv(volatile uint8_t *, uint8_t)
-version SUNW_1.22.1
-end
-
-function _atomic_or_8_nv
-weak atomic_or_8_nv
-version SUNWprivate_1.1
-end
-
-function atomic_or_uchar_nv
-include <atomic.h>
-declaration uchar_t atomic_or_uchar_nv(volatile uchar_t *, uchar_t)
-version SUNW_1.22.1
-end
-
-function _atomic_or_uchar_nv
-weak atomic_or_uchar_nv
-version SUNWprivate_1.1
-end
-
-function atomic_or_16_nv
-include <atomic.h>
-declaration uint16_t atomic_or_16_nv(volatile uint16_t *, uint16_t)
-version SUNW_1.22.1
-end
-
-function _atomic_or_16_nv
-weak atomic_or_16_nv
-version SUNWprivate_1.1
-end
-
-function atomic_or_ushort_nv
-include <atomic.h>
-declaration ushort_t atomic_or_ushort_nv(volatile ushort_t *, ushort_t)
-version SUNW_1.22.1
-end
-
-function _atomic_or_ushort_nv
-weak atomic_or_ushort_nv
-version SUNWprivate_1.1
-end
-
-function atomic_or_32_nv
-include <atomic.h>
-declaration uint32_t atomic_or_32_nv(volatile uint32_t *, uint32_t)
-version SUNW_1.22.1
-end
-
-function _atomic_or_32_nv
-weak atomic_or_32_nv
-version SUNWprivate_1.1
-end
-
-function atomic_or_uint_nv
-include <atomic.h>
-declaration uint_t atomic_or_uint_nv(volatile uint_t *, uint_t)
-version SUNW_1.22.1
-end
-
-function _atomic_or_uint_nv
-weak atomic_or_uint_nv
-version SUNWprivate_1.1
-end
-
-function atomic_or_ulong_nv
-include <atomic.h>
-declaration ulong_t atomic_or_ulong_nv(volatile ulong_t *, ulong_t)
-version SUNW_1.22.1
-end
-
-function _atomic_or_ulong_nv
-weak atomic_or_ulong_nv
-version SUNWprivate_1.1
-end
-
-function atomic_or_64_nv
-include <atomic.h>
-declaration uint64_t atomic_or_64_nv(volatile uint64_t *, uint64_t)
-version SUNW_1.22.1
-end
-
-function _atomic_or_64_nv
-weak atomic_or_64_nv
-version SUNWprivate_1.1
-end
-
-function atomic_and_8_nv
-include <atomic.h>
-declaration uint8_t atomic_and_8_nv(volatile uint8_t *, uint8_t)
-version SUNW_1.22.1
-end
-
-function _atomic_and_8_nv
-weak atomic_and_8_nv
-version SUNWprivate_1.1
-end
-
-function atomic_and_uchar_nv
-include <atomic.h>
-declaration uchar_t atomic_and_uchar_nv(volatile uchar_t *, uchar_t)
-version SUNW_1.22.1
-end
-
-function _atomic_and_uchar_nv
-weak atomic_and_uchar_nv
-version SUNWprivate_1.1
-end
-
-function atomic_and_16_nv
-include <atomic.h>
-declaration uint16_t atomic_and_16_nv(volatile uint16_t *, uint16_t)
-version SUNW_1.22.1
-end
-
-function _atomic_and_16_nv
-weak atomic_and_16_nv
-version SUNWprivate_1.1
-end
-
-function atomic_and_ushort_nv
-include <atomic.h>
-declaration ushort_t atomic_and_ushort_nv(volatile ushort_t *, ushort_t)
-version SUNW_1.22.1
-end
-
-function _atomic_and_ushort_nv
-weak atomic_and_ushort_nv
-version SUNWprivate_1.1
-end
-
-function atomic_and_32_nv
-include <atomic.h>
-declaration uint32_t atomic_and_32_nv(volatile uint32_t *, uint32_t)
-version SUNW_1.22.1
-end
-
-function _atomic_and_32_nv
-weak atomic_and_32_nv
-version SUNWprivate_1.1
-end
-
-function atomic_and_uint_nv
-include <atomic.h>
-declaration uint_t atomic_and_uint_nv(volatile uint_t *, uint_t)
-version SUNW_1.22.1
-end
-
-function _atomic_and_uint_nv
-weak atomic_and_uint_nv
-version SUNWprivate_1.1
-end
-
-function atomic_and_ulong_nv
-include <atomic.h>
-declaration ulong_t atomic_and_ulong_nv(volatile ulong_t *, ulong_t)
-version SUNW_1.22.1
-end
-
-function _atomic_and_ulong_nv
-weak atomic_and_ulong_nv
-version SUNWprivate_1.1
-end
-
-function atomic_and_64_nv
-include <atomic.h>
-declaration uint64_t atomic_and_64_nv(volatile uint64_t *, uint64_t)
-version SUNW_1.22.1
-end
-
-function _atomic_and_64_nv
-weak atomic_and_64_nv
-version SUNWprivate_1.1
-end
-
-function atomic_cas_8
-include <atomic.h>
-declaration uint8_t atomic_cas_8(volatile uint8_t *, uint8_t, uint8_t)
-version SUNW_1.22.1
-end
-
-function _atomic_cas_8
-weak atomic_cas_8
-version SUNWprivate_1.1
-end
-
-function atomic_cas_uchar
-include <atomic.h>
-declaration uchar_t atomic_cas_uchar(volatile uchar_t *, uchar_t, uchar_t)
-version SUNW_1.22.1
-end
-
-function _atomic_cas_uchar
-weak atomic_cas_uchar
-version SUNWprivate_1.1
-end
-
-function atomic_cas_16
-include <atomic.h>
-declaration uint16_t atomic_cas_16(volatile uint16_t *, uint16_t, uint16_t)
-version SUNW_1.22.1
-end
-
-function _atomic_cas_16
-weak atomic_cas_16
-version SUNWprivate_1.1
-end
-
-function atomic_cas_ushort
-include <atomic.h>
-declaration ushort_t atomic_cas_ushort(volatile ushort_t *, ushort_t, ushort_t)
-version SUNW_1.22.1
-end
-
-function _atomic_cas_ushort
-weak atomic_cas_ushort
-version SUNWprivate_1.1
-end
-
-function atomic_cas_32
-include <atomic.h>
-declaration uint32_t atomic_cas_32(volatile uint32_t *, uint32_t, uint32_t)
-version SUNW_1.22.1
-end
-
-function _atomic_cas_32
-weak atomic_cas_32
-version SUNWprivate_1.1
-end
-
-function atomic_cas_uint
-include <atomic.h>
-declaration uint32_t atomic_cas_uint(volatile uint_t *, uint_t, uint_t)
-version SUNW_1.22.1
-end
-
-function _atomic_cas_uint
-weak atomic_cas_uint
-version SUNWprivate_1.1
-end
-
-function atomic_cas_ptr
-include <atomic.h>
-declaration void *atomic_cas_ptr(volatile void *, void *, void *)
-version SUNW_1.22.1
-end
-
-function _atomic_cas_ptr
-weak atomic_cas_ptr
-version SUNWprivate_1.1
-end
-
-function atomic_cas_ulong
-include <atomic.h>
-declaration ulong_t atomic_cas_ulong(volatile ulong_t *, ulong_t, ulong_t)
-version SUNW_1.22.1
-end
-
-function _atomic_cas_ulong
-weak atomic_cas_ulong
-version SUNWprivate_1.1
-end
-
-function atomic_cas_64
-include <atomic.h>
-declaration uint64_t atomic_cas_64(volatile uint64_t *, uint64_t, uint64_t)
-version SUNW_1.22.1
-end
-
-function _atomic_cas_64
-weak atomic_cas_64
-version SUNWprivate_1.1
-end
-
-function atomic_swap_8
-include <atomic.h>
-declaration uint8_t atomic_swap_8(volatile uint8_t *, uint8_t)
-version SUNW_1.22.1
-end
-
-function _atomic_swap_8
-weak atomic_swap_8
-version SUNWprivate_1.1
-end
-
-function atomic_swap_uchar
-include <atomic.h>
-declaration uchar_t atomic_swap_uchar(volatile uchar_t *, uchar_t)
-version SUNW_1.22.1
-end
-
-function _atomic_swap_uchar
-weak atomic_swap_uchar
-version SUNWprivate_1.1
-end
-
-function atomic_swap_16
-include <atomic.h>
-declaration uint16_t atomic_swap_16(volatile uint16_t *, uint16_t)
-version SUNW_1.22.1
-end
-
-function _atomic_swap_16
-weak atomic_swap_16
-version SUNWprivate_1.1
-end
-
-function atomic_swap_ushort
-include <atomic.h>
-declaration ushort_t atomic_swap_ushort(volatile ushort_t *, ushort_t)
-version SUNW_1.22.1
-end
-
-function _atomic_swap_ushort
-weak atomic_swap_ushort
-version SUNWprivate_1.1
-end
-
-function atomic_swap_32
-include <atomic.h>
-declaration uint32_t atomic_swap_32(volatile uint32_t *, uint32_t)
-version SUNW_1.22.1
-end
-
-function _atomic_swap_32
-weak atomic_swap_32
-version SUNWprivate_1.1
-end
-
-function atomic_swap_uint
-include <atomic.h>
-declaration uint32_t atomic_swap_uint(volatile uint_t *, uint_t)
-version SUNW_1.22.1
-end
-
-function _atomic_swap_uint
-weak atomic_swap_uint
-version SUNWprivate_1.1
-end
-
-function atomic_swap_ptr
-include <atomic.h>
-declaration void *atomic_swap_ptr(volatile void *, void *)
-version SUNW_1.22.1
-end
-
-function _atomic_swap_ptr
-weak atomic_swap_ptr
-version SUNWprivate_1.1
-end
-
-function atomic_swap_ulong
-include <atomic.h>
-declaration ulong_t atomic_swap_ulong(volatile ulong_t *, ulong_t)
-version SUNW_1.22.1
-end
-
-function _atomic_swap_ulong
-weak atomic_swap_ulong
-version SUNWprivate_1.1
-end
-
-function atomic_swap_64
-include <atomic.h>
-declaration uint64_t atomic_swap_64(volatile uint64_t *, uint64_t)
-version SUNW_1.22.1
-end
-
-function _atomic_swap_64
-weak atomic_swap_64
-version SUNWprivate_1.1
-end
-
-function atomic_set_long_excl
-include <atomic.h>
-declaration int atomic_set_long_excl(volatile ulong_t *, uint_t)
-version SUNW_1.22.1
-end
-
-function _atomic_set_long_excl
-weak atomic_set_long_excl
-version SUNWprivate_1.1
-end
-
-function atomic_clear_long_excl
-include <atomic.h>
-declaration int atomic_clear_long_excl(volatile ulong_t *, uint_t)
-version SUNW_1.22.1
-end
-
-function _atomic_clear_long_excl
-weak atomic_clear_long_excl
-version SUNWprivate_1.1
-end
-
-function membar_enter
-include <atomic.h>
-declaration void membar_enter(void)
-version SUNW_1.22.1
-end
-
-function _membar_enter
-weak membar_enter
-version SUNWprivate_1.1
-end
-
-function membar_exit
-include <atomic.h>
-declaration void membar_exit(void)
-version SUNW_1.22.1
-end
-
-function _membar_exit
-weak membar_exit
-version SUNWprivate_1.1
-end
-
-function membar_producer
-include <atomic.h>
-declaration void membar_producer(void)
-version SUNW_1.22.1
-end
-
-function _membar_producer
-weak membar_producer
-version SUNWprivate_1.1
-end
-
-function membar_consumer
-include <atomic.h>
-declaration void membar_consumer(void)
-version SUNW_1.22.1
-end
-
-function _membar_consumer
-weak membar_consumer
-version SUNWprivate_1.1
-end
-
diff --git a/usr/src/lib/libc/spec/data.spec b/usr/src/lib/libc/spec/data.spec
deleted file mode 100644
index a13a24a64c..0000000000
--- a/usr/src/lib/libc/spec/data.spec
+++ /dev/null
@@ -1,207 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-data __ctype extends libc/spec/sys.spec _ctype
-weak _ctype
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-data __huge_val
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-data __iob #extends libc/spec/stdio.spec _iob
-weak _iob
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-data __loc1
-version SUNW_1.1
-end
-
-data __xpg4
-version SUNW_0.8
-binding nodirect
-end
-
-data _altzone extends libc/spec/sys.spec altzone
-weak altzone
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-data _bufendtab
-arch sparc i386
-version SUNW_0.7
-end
-
-data _daylight extends libc/spec/sys.spec daylight
-weak daylight
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-data _environ extends libc/spec/sys.spec environ
-weak environ
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-binding nodirect
-end
-
-data _iob
-version i386=SUNW_0.7 sparc=SISCD_2.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-data _lastbuf
-arch i386 sparc
-version i386=SUNW_0.7 sparc=SUNW_0.7
-end
-
-data _numeric
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-data _sibuf
-version SUNW_0.7
-end
-
-data _sobuf
-version SUNW_0.7
-end
-
-data _sys_buslist
-version SUNW_0.7
-end
-
-data _sys_cldlist
-version SUNW_0.7
-end
-
-data _sys_fpelist
-version SUNW_0.7
-end
-
-data _sys_illlist
-version SUNW_0.7
-end
-
-data _sys_nsig
-arch sparc i386
-version SUNW_0.7
-end
-
-data _sys_segvlist
-version SUNW_0.7
-end
-
-data _sys_siginfolistp
-version SUNW_0.7
-end
-
-data _sys_siglist
-version SUNW_0.7
-end
-
-data _sys_siglistn
-version SUNW_0.7
-end
-
-data _sys_siglistp
-version SUNW_0.7
-end
-
-data _sys_traplist
-version SUNW_0.7
-end
-
-data _timezone extends libc/spec/sys.spec timezone
-weak timezone
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-data _tzname extends libc/spec/sys.spec tzname
-weak tzname
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-data errno
-version i386=SUNW_0.7 sparc=SISCD_2.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-data getdate_err
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function _getdate_err
-weak getdate_err
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-data nss_default_finders
-version SUNW_0.7
-end
-
-data optarg
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-data opterr
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-data optind
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-data optopt
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-data sys_errlist
-arch i386 sparc
-version SUNW_0.7
-end
-
-data sys_nerr
-arch i386 sparc
-version SUNW_0.7
-end
-
diff --git a/usr/src/lib/libc/spec/door.spec b/usr/src/lib/libc/spec/door.spec
deleted file mode 100644
index 33ff93f3e2..0000000000
--- a/usr/src/lib/libc/spec/door.spec
+++ /dev/null
@@ -1,173 +0,0 @@
-#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-function door_bind
-include <door.h>
-declaration int door_bind(int d)
-version SUNW_1.23
-end
-
-function door_call
-include <door.h>
-declaration int door_call(int did, door_arg_t *arg)
-version SUNW_1.23
-exception $return == -1
-end
-
-function door_create
-include <door.h>
-declaration int door_create( \
- void (*server_procedure)(void *cookie, char *argp, \
- size_t arg_size, door_desc_t *dp, \
- uint_t n_desc), \
- void *cookie, uint_t attributes)
-version SUNW_1.23
-exception $return == -1
-end
-
-function door_cred
-include <door.h>
-declaration int door_cred(door_cred_t *dc)
-version SUNW_1.23
-end
-
-function door_ucred
-include <door.h>
-declaration int door_ucred(ucred_t **)
-version SUNW_1.23
-end
-
-function door_info
-include <door.h>
-declaration int door_info(int did, door_info_t *di)
-version SUNW_1.23
-exception $return == -1
-end
-
-function door_return
-include <door.h>
-declaration int door_return(char *data_ptr, size_t data_size, \
- door_desc_t *desc_ptr, uint_t desc_size)
-version SUNW_1.23
-exception $return == -1
-end
-
-function door_revoke
-include <door.h>
-declaration int door_revoke(int did)
-version SUNW_1.23
-exception $return == -1
-end
-
-#
-# Header uses door_server_func_t, spec2trace does not interpret
-# typedefs, so we use an alternate binary equivalent for delaration
-# declaration door_server_func_t *door_server_create(door_server_func_t *)
-#
-function door_server_create
-include <door.h>
-declaration void (*door_server_create(void(*create_proc)(door_info_t*))) \
- (door_info_t *)
-version SUNW_1.23
-end
-
-function door_unbind
-include <door.h>
-declaration int door_unbind(void)
-version SUNW_1.23
-end
-
-function door_getparam
-include <door.h>
-declaration int door_getparam(int fd, int type, size_t *out)
-version SUNW_1.23
-end
-
-function door_setparam
-include <door.h>
-declaration int door_setparam(int fd, int type, size_t val)
-version SUNW_1.23
-end
-
-function _door_bind
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _door_call
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _door_create
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _door_cred
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _door_ucred
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _door_info
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _door_return
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _door_revoke
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _door_server_create
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _door_unbind
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _door_getparam
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _door_setparam
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
diff --git a/usr/src/lib/libc/spec/fmtmsg.spec b/usr/src/lib/libc/spec/fmtmsg.spec
deleted file mode 100644
index 97e8e1b5c5..0000000000
--- a/usr/src/lib/libc/spec/fmtmsg.spec
+++ /dev/null
@@ -1,61 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-function addsev
-declaration int addsev(int int_val, const char *string)
-version SUNW_0.8
-exception $return == -1
-end
-
-function addseverity
-declaration int addseverity(int severity, const char *string)
-version i386=SUNW_0.7 sparc=SISCD_2.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-exception $return == MM_NOTOK
-end
-
-function _addseverity
-weak addseverity
-version i386=SUNW_0.7 sparc=SISCD_2.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function fmtmsg
-include <fmtmsg.h>
-declaration int fmtmsg(long classification, const char *label, \
- int severity, const char *text, const char *action, \
- const char *tag)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-exception $return== MM_NOTOK || $return == MM_NOMSG || $return == MM_NOCON
-end
-
-function _fmtmsg
-weak fmtmsg
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
diff --git a/usr/src/lib/libc/spec/fp.spec b/usr/src/lib/libc/spec/fp.spec
deleted file mode 100644
index 51344aa19f..0000000000
--- a/usr/src/lib/libc/spec/fp.spec
+++ /dev/null
@@ -1,224 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-function decimal_to_double
-include <floatingpoint.h>
-declaration void decimal_to_double(double *px, decimal_mode *pm, \
- decimal_record *pd, fp_exception_field_type *ps)
-version SUNW_0.7
-errno
-end
-
-function decimal_to_extended
-include <floatingpoint.h>
-declaration void decimal_to_extended(extended *px, decimal_mode *pm, \
- decimal_record *pd, fp_exception_field_type *ps)
-version SUNW_0.7
-errno
-end
-
-function decimal_to_quadruple
-include <floatingpoint.h>
-declaration void decimal_to_quadruple(quadruple *px, decimal_mode *pm, \
- decimal_record *pd, fp_exception_field_type *ps)
-version SUNW_0.7
-errno
-end
-
-function decimal_to_single
-include <floatingpoint.h>
-declaration void decimal_to_single(single *px, decimal_mode *pm, \
- decimal_record *pd, fp_exception_field_type *ps)
-version SUNW_0.7
-errno
-end
-
-function double_to_decimal
-include <floatingpoint.h>
-declaration void double_to_decimal(double *px, decimal_mode *pm, \
- decimal_record *pd, fp_exception_field_type *ps)
-version SUNW_0.7
-errno
-end
-
-function extended_to_decimal
-include <floatingpoint.h>
-declaration void extended_to_decimal(extended *px, decimal_mode *pm, \
- decimal_record *pd, fp_exception_field_type *ps)
-version SUNW_0.7
-errno
-end
-
-function file_to_decimal
-include <floatingpoint.h>, <stdio.h>
-declaration void file_to_decimal(char **pc, int nmax, \
- int fortran_conventions, decimal_record *pd, \
- enum decimal_string_form *pform, char **pechar, \
- FILE *pf, int *pnread)
-version SUNW_0.7
-errno
-end
-
-function fpgetmask
-include <ieeefp.h>
-declaration fp_except fpgetmask(void)
-version SUNW_0.7
-exception false
-end
-
-function fpgetround
-include <ieeefp.h>
-declaration fp_rnd fpgetround(void)
-version SUNW_1.1
-end
-
-function fpgetsticky
-include <ieeefp.h>
-declaration fp_except fpgetsticky(void)
-version SUNW_0.7
-end
-
-function fpsetmask
-include <ieeefp.h>
-declaration fp_except fpsetmask(fp_except mask)
-version SUNW_0.7
-end
-
-function fpsetround
-include <ieeefp.h>
-declaration fp_rnd fpsetround(fp_rnd rnd_dir)
-version SUNW_1.1
-end
-
-function fpsetsticky
-include <ieeefp.h>
-declaration fp_except fpsetsticky(fp_except sticky)
-version SUNW_0.7
-end
-
-function func_to_decimal
-include <floatingpoint.h>, <stdio.h>
-declaration void func_to_decimal(char **pc, int nmax, \
- int fortran_conventions, \
- decimal_record *pd, \
- enum decimal_string_form *pform, \
- char **pechar, \
- int (*pget)(void), int *pnread, \
- int (*punget)(int c))
-version SUNW_0.7
-errno
-end
-
-function nextafter
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-filter libm.so.2
-end
-
-function _nextafter
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-filter libm.so.2
-end
-
-function quadruple_to_decimal
-include <floatingpoint.h>
-declaration void quadruple_to_decimal(quadruple *px, decimal_mode *pm, \
- decimal_record *pd, fp_exception_field_type *ps)
-version SUNW_0.7
-errno
-end
-
-function scalb
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-filter libm.so.2
-end
-
-function _scalb
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-filter libm.so.2
-end
-
-function single_to_decimal
-include <floatingpoint.h>
-declaration void single_to_decimal(single *px, decimal_mode *pm, \
- decimal_record *pd, fp_exception_field_type *ps)
-version SUNW_0.7
-errno
-end
-
-function _fpstart
-declaration void _fpstart(void)
-arch i386 amd64
-version SYSVABI_1.3
-end
-
-function __fpstart
-weak _fpstart
-arch i386 amd64
-version SYSVABI_1.3
-end
-
-function string_to_decimal
-include <floatingpoint.h>, <stdio.h>
-declaration void string_to_decimal(char **pc, int nmax, \
- int fortran_conventions, decimal_record *pd, \
- enum decimal_string_form *pform, char **pechar)
-version SUNW_0.7
-errno
-end
-
-function isnan
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-filter libm.so.2
-end
-
-function _isnan
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-filter libm.so.2
-end
-
-function isnand
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-filter libm.so.2
-end
-
-function _isnand
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-filter libm.so.2
-end
-
-function isnanf
-version SUNW_0.7
-filter libm.so.2
-end
diff --git a/usr/src/lib/libc/spec/gen.spec b/usr/src/lib/libc/spec/gen.spec
deleted file mode 100644
index 2b14689e7a..0000000000
--- a/usr/src/lib/libc/spec/gen.spec
+++ /dev/null
@@ -1,4904 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-function .div
-arch sparc
-version sparc=SYSVABI_1.3
-end
-
-function .mul
-arch sparc
-version sparc=SYSVABI_1.3
-end
-
-function .rem
-arch sparc
-version sparc=SYSVABI_1.3
-end
-
-function _longjmp
-declaration void _longjmp(jmp_buf env, int val)
-version SUNW_1.1
-end
-
-function _setjmp
-declaration int _setjmp(jmp_buf env)
-version SUNW_1.1
-end
-
-function a64l
-include <stdlib.h>
-declaration long a64l(const char *s)
-version SUNW_0.7
-end
-
-function abort
-include <stdlib.h>
-declaration void abort(void)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function abs
-include <stdlib.h>
-declaration int abs(int val)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function alphasort
-include <sys/types.h>, <dirent.h>
-declaration int alphasort(const struct dirent **d1, \
- const struct dirent **d2);
-version SUNW_1.22
-end
-
-function _alphasort
-weak alphasort
-version SUNW_1.22
-end
-
-function ascftime
-include <time.h>
-declaration int ascftime(char *s, const char *format, const struct tm *timeptr)
-version SUNW_0.7
-exception $return == 0
-end
-
-function asctime
-include <time.h>
-declaration char *asctime(const struct tm *tm)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function asctime_r
-include <time.h>
-declaration char *asctime_r(const struct tm *_RESTRICT_KYWD tm, \
- char *_RESTRICT_KYWD buf, int buflen)
-version i386=SUNW_0.7 sparc=SISCD_2.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno ERANGE
-exception $return == 0
-end
-
-function _assert
-version SUNW_0.7
-end
-
-function __assert
-weak _assert
-version i386=SYSVABI_1.3 sparc=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function _assert_c99
-version SUNWprivate_1.1
-end
-
-function __assert_c99
-weak _assert_c99
-version SUNWprivate_1.1
-end
-
-function atexit
-include <stdlib.h>
-declaration int atexit(void (*func)(void))
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-exception $return != 0
-end
-
-function atof
-include <stdlib.h>
-declaration double atof(const char *str)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno ERANGE EINVAL
-exception errno != 0
-end
-
-function atoi
-include <stdlib.h>
-declaration int atoi(const char *str)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno ERANGE EINVAL
-exception errno != 0
-end
-
-function atol
-include <stdlib.h>
-declaration long atol(const char *str)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno ERANGE EINVAL
-exception errno != 0
-end
-
-function basename
-include <libgen.h>
-declaration char *basename(char *path)
-version SUNW_1.1
-end
-
-function bcmp
-include <strings.h>
-declaration int bcmp(const void *s1, const void *s2, size_t n)
-version SUNW_0.9
-end
-
-function bcopy
-include <strings.h>
-declaration void bcopy(const void *s1, void *s2, size_t n)
-version SUNW_0.9
-end
-
-function bsearch
-include <stdlib.h>
-declaration void *bsearch(const void *key, const void *base, size_t nel, \
- size_t size, int (*compar)(const void *, const void *))
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-exception $return == NULL
-end
-
-function bzero
-include <strings.h>
-declaration void bzero(void *s, size_t n)
-version SUNW_0.9
-end
-
-function calloc
-include <stdlib.h>, <alloca.h>
-declaration void *calloc(size_t nelem, size_t elsize)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno ENOMEM EAGAIN
-exception $return == 0
-binding nodirect
-end
-
-function catclose
-include <nl_types.h>
-declaration int catclose(nl_catd catd)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EBADF EINTR
-exception $return == -1
-end
-
-function _catclose
-weak catclose
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function catgets
-include <nl_types.h>
-declaration char *catgets(nl_catd catd, int set_num, int msg_num, \
- const char *s)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EBADF EINTR EINVAL ENOMSG
-exception $return == s
-end
-
-function _catgets
-weak catgets
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function catopen
-include <nl_types.h>
-declaration nl_catd catopen(const char *name, int oflag)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EACCES EMFILE ENAMETOOLONG ENFILE ENOENT ENOMEM ENOTDIR
-exception $return == (nl_catd)-1
-end
-
-function _catopen
-weak catopen
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function cfgetispeed
-include <termios.h>
-declaration speed_t cfgetispeed(const struct termios *termios_p)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function _cfgetispeed
-weak cfgetispeed
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function cfgetospeed
-include <termios.h>
-declaration speed_t cfgetospeed(const struct termios *termios_p)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function _cfgetospeed
-weak cfgetospeed
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function cfree
-include <stdlib.h>
-declaration void cfree(void *ptr, unsigned num, unsigned size);
-version SUNWprivate_1.1
-binding nodirect
-end
-
-function cfsetispeed
-include <termios.h>
-declaration int cfsetispeed(struct termios *termios_p, speed_t speed)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EINVAL
-exception ($return == -1)
-end
-
-function _cfsetispeed
-weak cfsetispeed
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function cfsetospeed
-include <termios.h>
-declaration int cfsetospeed(struct termios *termios_p, speed_t speed)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EINVAL
-exception ($return == -1)
-end
-
-function _cfsetospeed
-weak cfsetospeed
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function cftime
-include <time.h>
-declaration int cftime(char *s, char *format, const time_t *clock)
-version SUNW_0.7
-exception $return == 0
-end
-
-function clock
-include <time.h>
-declaration clock_t clock(void)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-exception $return == -1
-end
-
-function closedir
-include <sys/types.h>, <dirent.h>
-declaration int closedir(DIR *dirp)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EBADF EINTR
-exception $return == -1
-end
-
-function _closedir
-weak closedir
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function closefrom
-include <stdlib.h>
-declaration void closefrom(int lowfd)
-version SUNW_1.21
-end
-
-function _closefrom
-weak closefrom
-version SUNW_1.21
-end
-
-function closelog
-include <syslog.h>
-declaration void closelog(void)
-version SUNW_0.7
-end
-
-function confstr
-include <unistd.h>
-declaration size_t confstr(int name, char *buf, size_t len)
-version SUNW_0.8
-errno EINVAL
-exception $return == 0 || $return != len
-end
-
-function crypt
-include <unistd.h>
-declaration char *crypt (const char *key, const char *salt)
-version i386=SUNW_0.7 sparc=SISCD_2.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno ENOSYS EINVAL ELIBACC ENOMEM
-exception $return == 0
-end
-
-function _crypt
-weak crypt
-version i386=SUNW_0.7 sparc=SISCD_2.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function crypt_gensalt
-include <crypt.h>
-declaration char *crypt_gensalt (const char*, const struct passwd *)
-version SUNW_1.21.1
-errno EINVAL ELIBACC ENOMEM
-exception $return == 0
-end
-
-function csetcol
-include <euc.h>
-declaration int csetcol(int codeset)
-version SUNW_0.7
-end
-
-function csetlen
-include <euc.h>
-declaration int csetlen(int codeset)
-version SUNW_0.7
-end
-
-function ctime
-include <time.h>
-declaration char *ctime(const time_t *clock)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function ctime_r
-include <time.h>
-declaration char *ctime_r(const time_t *clock, char *buf, int buflen)
-version i386=SUNW_0.7 sparc=SISCD_2.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno ERANGE
-exception $return == 0
-end
-
-function dbm_clearerr
-include <ndbm.h>
-declaration int dbm_clearerr(DBM *db)
-version SUNW_1.1
-end
-
-function dbm_close
-include <ndbm.h>
-declaration void dbm_close(DBM *db)
-version SUNW_0.7
-end
-
-function dbm_delete
-include <ndbm.h>
-declaration int dbm_delete(DBM *db, datum key)
-version SUNW_0.7
-exception $return < 0
-end
-
-function dbm_error
-include <ndbm.h>
-declaration int dbm_error(DBM *db)
-version SUNW_1.1
-end
-
-function dbm_fetch
-include <ndbm.h>
-declaration datum dbm_fetch(DBM *db, datum key)
-version SUNW_0.7
-exception ($return.dptr == 0)
-end
-
-function dbm_firstkey
-include <ndbm.h>
-declaration datum dbm_firstkey(DBM *db)
-version SUNW_0.7
-exception ($return.dptr == NULL) && (dbm_error(db) != 0)
-end
-
-function dbm_nextkey
-include <ndbm.h>
-declaration datum dbm_nextkey(DBM *db)
-version SUNW_0.7
-exception ($return.dptr == NULL) && (dbm_error(db) != 0)
-end
-
-function dbm_open
-include <ndbm.h>, <fcntl.h>
-declaration DBM *dbm_open(const char *file, int open_flags, \
- mode_t file_mode)
-version SUNW_0.7
-exception $return == NULL
-end
-
-function dbm_store
-include <ndbm.h>
-declaration int dbm_store(DBM *db, datum key, datum content, \
- int store_mode)
-version SUNW_0.7
-errno
-exception $return != 0
-end
-
-function difftime
-include <time.h>
-declaration double difftime(time_t time1, time_t time0)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function directio
-include <sys/types.h>, <sys/fcntl.h>
-declaration int directio(int fildes, int advice)
-version SUNW_1.1
-errno EBADF ENOTTY EINVAL
-exception $return == -1
-end
-
-function dirname
-include <libgen.h>
-declaration char *dirname(char *path)
-version SUNW_1.1
-end
-
-function div
-declaration div_t div(int numer, int denom)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function dladdr
-version SUNW_1.22
-filter sparc=/usr/lib/ld.so.1 i386=/usr/lib/ld.so.1 \
- sparcv9=/usr/lib/sparcv9/ld.so.1 amd64=/usr/lib/amd64/ld.so.1
-end
-
-function _dladdr
-version SUNWprivate_1.1
-filter sparc=/usr/lib/ld.so.1 i386=/usr/lib/ld.so.1 \
- sparcv9=/usr/lib/sparcv9/ld.so.1 amd64=/usr/lib/amd64/ld.so.1
-end
-
-function dladdr1
-version SUNW_1.22
-filter sparc=/usr/lib/ld.so.1 i386=/usr/lib/ld.so.1 \
- sparcv9=/usr/lib/sparcv9/ld.so.1 amd64=/usr/lib/amd64/ld.so.1
-end
-
-function _dladdr1
-version SUNWprivate_1.1
-filter sparc=/usr/lib/ld.so.1 i386=/usr/lib/ld.so.1 \
- sparcv9=/usr/lib/sparcv9/ld.so.1 amd64=/usr/lib/amd64/ld.so.1
-end
-
-function dlamd64getunwind
-version SUNW_1.22
-arch amd64
-filter amd64=/usr/lib/amd64/ld.so.1
-end
-
-function _dlamd64getunwind
-version SUNWprivate_1.1
-arch amd64
-filter amd64=/usr/lib/amd64/ld.so.1
-end
-
-function dlclose
-version SUNW_1.22
-filter sparc=/usr/lib/ld.so.1 i386=/usr/lib/ld.so.1 \
- sparcv9=/usr/lib/sparcv9/ld.so.1 amd64=/usr/lib/amd64/ld.so.1
-end
-
-function _dlclose
-version SUNWprivate_1.1
-filter sparc=/usr/lib/ld.so.1 i386=/usr/lib/ld.so.1 \
- sparcv9=/usr/lib/sparcv9/ld.so.1 amd64=/usr/lib/amd64/ld.so.1
-end
-
-function dldump
-version SUNW_1.22
-filter sparc=/usr/lib/ld.so.1 i386=/usr/lib/ld.so.1 \
- sparcv9=/usr/lib/sparcv9/ld.so.1 amd64=/usr/lib/amd64/ld.so.1
-end
-
-function _dldump
-version SUNWprivate_1.1
-filter sparc=/usr/lib/ld.so.1 i386=/usr/lib/ld.so.1 \
- sparcv9=/usr/lib/sparcv9/ld.so.1 amd64=/usr/lib/amd64/ld.so.1
-end
-
-function dlerror
-version SUNW_1.22
-filter sparc=/usr/lib/ld.so.1 i386=/usr/lib/ld.so.1 \
- sparcv9=/usr/lib/sparcv9/ld.so.1 amd64=/usr/lib/amd64/ld.so.1
-end
-
-function _dlerror
-version SUNWprivate_1.1
-filter sparc=/usr/lib/ld.so.1 i386=/usr/lib/ld.so.1 \
- sparcv9=/usr/lib/sparcv9/ld.so.1 amd64=/usr/lib/amd64/ld.so.1
-end
-
-function dlinfo
-version SUNW_1.22
-filter sparc=/usr/lib/ld.so.1 i386=/usr/lib/ld.so.1 \
- sparcv9=/usr/lib/sparcv9/ld.so.1 amd64=/usr/lib/amd64/ld.so.1
-end
-
-function _dlinfo
-version SUNWprivate_1.1
-filter sparc=/usr/lib/ld.so.1 i386=/usr/lib/ld.so.1 \
- sparcv9=/usr/lib/sparcv9/ld.so.1 amd64=/usr/lib/amd64/ld.so.1
-end
-
-function dlmopen
-version SUNW_1.22
-filter sparc=/usr/lib/ld.so.1 i386=/usr/lib/ld.so.1 \
- sparcv9=/usr/lib/sparcv9/ld.so.1 amd64=/usr/lib/amd64/ld.so.1
-end
-
-function _dlmopen
-version SUNWprivate_1.1
-filter sparc=/usr/lib/ld.so.1 i386=/usr/lib/ld.so.1 \
- sparcv9=/usr/lib/sparcv9/ld.so.1 amd64=/usr/lib/amd64/ld.so.1
-end
-
-function dlopen
-version SUNW_1.22
-filter sparc=/usr/lib/ld.so.1 i386=/usr/lib/ld.so.1 \
- sparcv9=/usr/lib/sparcv9/ld.so.1 amd64=/usr/lib/amd64/ld.so.1
-end
-
-function _dlopen
-version SUNWprivate_1.1
-filter sparc=/usr/lib/ld.so.1 i386=/usr/lib/ld.so.1 \
- sparcv9=/usr/lib/sparcv9/ld.so.1 amd64=/usr/lib/amd64/ld.so.1
-end
-
-function dlsym
-version SUNW_1.22
-filter sparc=/usr/lib/ld.so.1 i386=/usr/lib/ld.so.1 \
- sparcv9=/usr/lib/sparcv9/ld.so.1 amd64=/usr/lib/amd64/ld.so.1
-end
-
-function _dlsym
-version SUNWprivate_1.1
-filter sparc=/usr/lib/ld.so.1 i386=/usr/lib/ld.so.1 \
- sparcv9=/usr/lib/sparcv9/ld.so.1 amd64=/usr/lib/amd64/ld.so.1
-end
-
-function drand48
-include <stdlib.h>
-declaration double drand48(void)
-version SUNW_0.7
-end
-
-function dup2
-include <unistd.h>, <sys/resource.h>
-declaration int dup2(int fildes, int fildes2)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EBADF EINTR EMFILE
-exception $return == -1
-end
-
-function _dup2
-weak dup2
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function econvert
-include <floatingpoint.h>
-declaration char *econvert(double value, int ndigit, int *decpt, \
- int *sign, char *buf)
-version SUNW_0.7
-exception ($return == 0)
-end
-
-function ecvt
-include <floatingpoint.h>
-declaration char *ecvt(double value, int ndigit, \
- int *_RESTRICT_KYWD decpt, int *_RESTRICT_KYWD sign)
-version SUNW_0.7
-exception $return == 0
-end
-
-function encrypt
-include <unistd.h>
-declaration void encrypt (char block[64], int edflag)
-version i386=SUNW_0.7 sparc=SISCD_2.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno ENOSYS
-end
-
-function _encrypt
-weak encrypt
-version i386=SUNW_0.7 sparc=SISCD_2.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function endgrent
-include <grp.h>
-declaration void endgrent(void)
-version i386=SUNW_0.7 sparc=SISCD_2.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function endnetgrent
-declaration void endnetgrent(void)
-version SUNW_0.7
-errno ERANGE
-end
-
-function endpwent
-include <pwd.h>
-declaration void endpwent(void)
-version i386=SUNW_0.7 sparc=SISCD_2.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function endspent
-include <shadow.h>
-declaration void endspent(void)
-version SUNW_0.7
-end
-
-function endusershell
-declaration void endusershell();
-version SUNW_1.1
-end
-
-function endutent
-include <utmp.h>
-declaration void endutent(void)
-version SUNW_0.7
-end
-
-function endutxent
-include <utmpx.h>
-declaration void endutxent(void)
-version SUNW_0.7
-end
-
-function erand48
-include <stdlib.h>
-declaration double erand48(unsigned short xsubi[3])
-version SUNW_0.7
-end
-
-function euccol
-include <euc.h>
-declaration int euccol(const unsigned char *s)
-version SUNW_0.7
-end
-
-function euclen
-include <euc.h>
-declaration int euclen(const unsigned char *s)
-version SUNW_0.7
-end
-
-function eucscol
-include <euc.h>
-declaration int eucscol(const unsigned char *str)
-version SUNW_0.7
-end
-
-function execl
-include <unistd.h>
-declaration int execl(const char *path, const char *arg0, ...)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EACCES EAGAIN EFAULT EINTR ELOOP EMULTIHOP ENAMETOOLONG \
- ENOENT ENOEXEC ENOLINK ENOMEM ENOTDIR
-exception $return == -1
-end
-
-function _execl
-weak execl
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function execle
-include <unistd.h>
-declaration int execle(const char *path,char **const arg0, ...)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EACCES EAGAIN EFAULT EINTR ELOOP EMULTIHOP ENAMETOOLONG \
- ENOENT ENOEXEC ENOLINK ENOMEM ENOTDIR
-exception $return == -1
-end
-
-function _execle
-weak execle
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function execlp
-include <unistd.h>
-declaration int execlp(const char *file, const char *arg0, ...)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EACCES EAGAIN EFAULT EINTR ELOOP EMULTIHOP ENAMETOOLONG ENOENT \
- ENOEXEC ENOLINK ENOMEM ENOTDIR
-exception $return == -1
-end
-
-function _execlp
-weak execlp
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function execv
-include <unistd.h>
-declaration int execv(const char *path, char *const *argv)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EACCES EAGAIN EFAULT EINTR ELOOP EMULTIHOP ENAMETOOLONG ENOENT \
- ENOEXEC ENOLINK ENOMEM ENOTDIR
-exception $return == -1
-end
-
-function _execv
-weak execv
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function execve
-include <unistd.h>
-declaration int execve(const char *path, char *const *argv, \
- char *const *envp)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EACCES EAGAIN EFAULT EINTR ELOOP EMULTIHOP ENAMETOOLONG ENOENT \
- ENOEXEC ENOLINK ENOMEM ENOTDIR
-exception $return == -1
-end
-
-function _execve
-weak execve
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function execvp
-include <unistd.h>
-declaration int execvp(const char *file, char *const *argv)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EACCES EAGAIN EFAULT EINTR ELOOP EMULTIHOP ENAMETOOLONG ENOENT \
- ENOEXEC ENOLINK ENOMEM ENOTDIR
-exception $return == -1
-end
-
-function _execvp
-weak execvp
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function fattach
-declaration int fattach(int fildes, const char *path)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EACCES EBADF EBUSY EINVAL ELOOP ENAMETOOLONG ENOENT \
- ENOTDIR EPERM
-exception $return == -1
-end
-
-function _fattach
-weak fattach
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function fconvert
-include <floatingpoint.h>
-declaration char *fconvert(double value, int ndigit, int *decpt, \
- int *sign, char *buf)
-version SUNW_0.7
-exception ($return == 0)
-end
-
-function fcvt
-include <floatingpoint.h>
-declaration char *fcvt(double value, int ndigit, \
- int *_RESTRICT_KYWD decpt, int *_RESTRICT_KYWD sign)
-version SUNW_0.7
-exception $return == 0
-end
-
-function fdetach
-include <stropts.h>
-declaration int fdetach(const char *path)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EACCES EPERM ENOTDIR ENOENT EINVAL ENAMETOOLONG ELOOP
-exception $return == -1
-end
-
-function _fdetach
-weak fdetach
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function fdwalk
-include <stdlib.h>
-declaration int fdwalk(int (*func)(void *, int), void *cd)
-version SUNW_1.21
-end
-
-function _fdwalk
-weak fdwalk
-version SUNW_1.21
-end
-
-function ffs
-include <strings.h>
-declaration int ffs(const int i)
-version SUNW_0.7
-end
-
-function fgetgrent
-include <grp.h>
-declaration struct group *fgetgrent(FILE *f)
-version i386=SUNW_0.7 sparc=SISCD_2.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-exception $return == 0
-end
-
-function fgetgrent_r
-include <grp.h>
-declaration struct group *fgetgrent_r(FILE *f, struct group *grp, \
- char *buffer, int buflen)
-version i386=SUNW_0.7 sparc=SISCD_2.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-exception $return == 0
-end
-
-function fgetpwent
-include <pwd.h>
-declaration struct passwd *fgetpwent(FILE *f)
-version i386=SUNW_0.7 sparc=SISCD_2.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-exception $return == 0
-end
-
-function fgetpwent_r
-include <pwd.h>
-declaration struct passwd *fgetpwent_r(FILE *f, struct passwd *pwd, \
- char *buffer, int buflen)
-version i386=SUNW_0.7 sparc=SISCD_2.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-exception $return == 0
-end
-
-function fgetspent
-include <shadow.h>
-declaration struct spwd *fgetspent(FILE *fp)
-version SUNW_0.7
-exception $return == 0
-end
-
-function fgetspent_r
-include <shadow.h>
-declaration struct spwd *fgetspent_r(FILE *fp, struct spwd *result, \
- char *buffer, int buflen)
-version SUNW_0.7
-exception $return == 0
-end
-
-function free
-include <stdlib.h>, <alloca.h>
-declaration void free(void *ptr)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno ENOMEM EAGAIN
-binding nodirect
-end
-
-function frexp
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-filter libm.so.2
-end
-
-function ftime
-include <sys/timeb.h>
-declaration int ftime(struct timeb *tp)
-version SUNW_0.9
-exception $return == -1
-end
-
-function ftok
-include <sys/ipc.h>
-declaration key_t ftok(const char *path, int id)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EACCES ELOOP ENAMETOOLONG ENOENT ENOTDIR
-exception $return == -1
-end
-
-function _ftok
-weak ftok
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function ftruncate
-include <unistd.h>
-declaration int ftruncate(int fildes, off_t length)
-version SUNW_0.7
-errno EINTR EINVAL EFBIG EIO EACCES EFAULT EISDIR ELOOP EMFILE \
- EMULTIHOP ENAMETOOLONG ENOENT ENFILE ENOTDIR ENOLINK \
- EROFS EAGAIN EBADF
-exception $return == -1
-end
-
-function _ftruncate
-weak ftruncate
-version SUNWprivate_1.1
-end
-
-function ftw
-include <ftw.h>
-declaration int ftw(const char *path, \
- int (*fn)(const char *, const struct stat *, int), \
- int depth)
-version SUNW_0.7
-exception $return == -1
-end
-
-function _ftw
-weak ftw
-version SUNWprivate_1.1
-end
-
-function gconvert
-include <floatingpoint.h>
-declaration char *gconvert(double value, int ndigit, int trailing, \
- char *buf)
-version SUNW_0.7
-exception ($return == 0)
-end
-
-function gcvt
-include <floatingpoint.h>
-declaration char *gcvt(double value, int ndigit, char *buf)
-version SUNW_0.7
-exception $return == 0
-end
-
-function getcpuid
-include <sys/processor.h>
-declaration processorid_t getcpuid(void)
-version SUNW_1.21
-end
-
-function _getcpuid
-weak getcpuid
-version SUNW_1.21
-end
-
-function getcwd
-include <unistd.h>
-declaration char *getcwd(char *buf, size_t size)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EACCES EINVAL ERANGE
-exception $return == 0
-end
-
-function _getcwd
-weak getcwd
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function getdate
-declaration struct tm *getdate(const char *string)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-exception $return == 0
-end
-
-function _getdate
-weak getdate
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function getdtablesize
-include <unistd.h>
-declaration int getdtablesize(void)
-version SUNW_0.9
-end
-
-function getenv
-include <stdlib.h>
-declaration char *getenv(const char *name)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function getextmntent
-include <stdio.h>, <sys/mnttab.h>
-declaration int getextmntent(FILE *fp, struct extmnttab *mp, size_t len)
-version SUNW_1.20
-exception $return != 0
-end
-
-function getgrent
-include <grp.h>
-declaration struct group *getgrent(void)
-version i386=SUNW_0.7 sparc=SISCD_2.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-exception $return == 0
-end
-
-function getgrent_r
-include <grp.h>
-declaration struct group *getgrent_r(struct group *grp, char *buffer, \
- int buflen)
-version i386=SUNW_0.7 sparc=SISCD_2.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-exception $return == 0
-end
-
-function getgrgid
-include <grp.h>
-declaration struct group *getgrgid(gid_t gid)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-exception $return == 0
-end
-
-function getgrgid_r
-include <grp.h>
-declaration struct group *getgrgid_r(gid_t gid, struct group *grp, \
- char *buffer, int buflen)
-version i386=SUNW_0.7 sparc=SISCD_2.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-exception $return == 0
-end
-
-function getgrnam
-include <grp.h>
-declaration struct group *getgrnam(const char *name)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-exception $return == 0
-end
-
-function getgrnam_r
-include <grp.h>
-declaration struct group *getgrnam_r(const char *name, struct group *grp, \
- char *buffer, int buflen)
-version i386=SUNW_0.7 sparc=SISCD_2.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-exception $return == 0
-end
-
-function gethomelgroup
-include <sys/processor.h>
-declaration lgrpid_t gethomelgroup(void)
-version SUNW_1.21
-end
-
-function _gethomelgroup
-weak gethomelgroup
-version SUNW_1.21
-end
-
-function gethostid
-declaration long gethostid(void)
-version SUNW_0.9
-end
-
-function gethostname
-include <unistd.h>
-declaration int gethostname(char *name, int namelen)
-version SUNW_0.9
-errno EPERM EFAULT
-exception $return == -1
-end
-
-function gethrtime
-include <sys/time.h>
-declaration hrtime_t gethrtime(void)
-version SUNW_0.7
-end
-
-function gethrvtime
-include <sys/time.h>
-declaration hrtime_t gethrvtime(void)
-version SUNW_0.7
-end
-
-function getlogin
-include <unistd.h>, <limits.h>
-declaration char *getlogin(void)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EMFILE ENFILE ENXIO ERANGE
-exception $return == 0
-end
-
-function getlogin_r
-include <unistd.h>, <limits.h>
-declaration char *getlogin_r(char *name, int namelen)
-version i386=SUNW_0.7 sparc=SISCD_2.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EMFILE ENFILE ENXIO ERANGE
-exception $return == 0
-end
-
-function getmntany
-include <stdio.h>, <sys/mnttab.h>
-declaration int getmntany(FILE *fp, struct mnttab *mp, struct mnttab *mpref)
-version SUNW_0.7
-exception $return != 0
-end
-
-function getmntent
-include <stdio.h>, <sys/mnttab.h>
-declaration int getmntent(FILE *fp, struct mnttab *mp)
-version SUNW_0.7
-exception $return != 0
-end
-
-function getnetgrent
-declaration int getnetgrent(char **machinep, char **userp, char **domainp)
-version SUNW_0.7
-errno ERANGE
-exception $return == 0
-end
-
-function getnetgrent_r
-declaration int getnetgrent_r(char **machinep, char **userp, \
- char **domainp, char *buffer, int buflen)
-version SUNW_0.7
-errno ERANGE
-exception $return == 0
-end
-
-function getopt
-include <stdlib.h>
-declaration int getopt(int argc, char *const *argv, const char *optstring)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-exception $return == -1
-end
-
-function _getopt
-weak getopt
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function getopt_clip
-include <getopt.h>
-declaration int getopt_clip(int argc, char *const *argv, \
- const char *optstring, \
- const struct option *long_options, \
- int *long_index)
-version SUNW_1.22
-exception $return == -1
-end
-
-function _getopt_clip
-weak getopt_clip
-version SUNW_1.22
-end
-
-function getopt_long
-include <getopt.h>
-declaration int getopt_long(int argc, char *const *argv, \
- const char *optstring, \
- const struct option *long_options, \
- int *long_index)
-version SUNW_1.22
-exception $return == -1
-end
-
-function _getopt_long
-weak getopt_long
-version SUNW_1.22
-end
-
-
-function getopt_long_only
-include <getopt.h>
-declaration int getopt_long_only(int argc, char *const *argv, \
- const char *optstring, \
- const struct option *long_options, \
- int *long_index)
-version SUNW_1.22
-exception $return == -1
-end
-
-function _getopt_long_only
-weak getopt_long_only
-version SUNW_1.22
-end
-
-function getpagesize
-include <unistd.h>
-declaration int getpagesize(void)
-version SUNW_0.9
-end
-
-function getpriority
-include <sys/resource.h>
-declaration int getpriority(int which, id_t who)
-version SUNW_0.9
-errno ESRCH EINVAL EPERM EACCES
-exception $return == -1
-end
-
-function getpw
-include <stdlib.h>
-declaration int getpw(uid_t uid, char *buf)
-version SUNW_0.7
-exception $return != 0
-end
-
-function getpwent
-include <pwd.h>
-declaration struct passwd *getpwent(void)
-version i386=SUNW_0.7 sparc=SISCD_2.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-exception $return == 0
-end
-
-function getpwent_r
-include <pwd.h>
-declaration struct passwd *getpwent_r(struct passwd *pwd, \
- char *buffer, int buflen)
-version i386=SUNW_0.7 sparc=SISCD_2.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-exception $return == 0
-end
-
-function getpwnam
-include <pwd.h>
-declaration struct passwd *getpwnam(const char *name)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-exception $return == 0
-end
-
-function getpwnam_r
-include <pwd.h>
-declaration struct passwd *getpwnam_r(const char *name, \
- struct passwd *pwd, char *buffer, int buflen)
-version i386=SUNW_0.7 sparc=SISCD_2.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-exception $return == 0
-end
-
-function getpwuid
-include <pwd.h>
-declaration struct passwd *getpwuid(uid_t uid)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-exception $return == 0
-end
-
-function getpwuid_r
-include <pwd.h>
-declaration struct passwd *getpwuid_r(uid_t uid, struct passwd *pwd, \
- char *buffer, int buflen)
-version i386=SUNW_0.7 sparc=SISCD_2.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-exception $return == 0
-end
-
-function getrusage
-include <sys/resource.h>
-declaration int getrusage(int who, struct rusage *r_usage)
-version SUNW_0.9
-errno EFAULT EINVAL
-exception $return == -1
-end
-
-function getspent
-include <shadow.h>
-declaration struct spwd *getspent(void)
-version SUNW_0.7
-exception $return == 0
-end
-
-function getspent_r
-include <shadow.h>
-declaration struct spwd *getspent_r(struct spwd *result, \
- char *buffer, int buflen)
-version SUNW_0.7
-exception $return == 0
-end
-
-function getspnam
-include <shadow.h>
-declaration struct spwd *getspnam(const char *name)
-version SUNW_0.7
-exception $return == 0
-end
-
-function getspnam_r
-include <shadow.h>
-declaration struct spwd *getspnam_r(const char *name, \
- struct spwd *result, char *buffer, int buflen)
-version SUNW_0.7
-exception $return == 0
-end
-
-function getsubopt
-include <stdlib.h>
-declaration int getsubopt(char **optionp, char *const *tokens, char **valuep)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-exception $return == -1
-end
-
-function _getsubopt
-weak getsubopt
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function gettimeofday
-include <sys/time.h>
-declaration int gettimeofday(struct timeval *tp, void *tzp)
-version i386=SUNW_0.7 sparc=SISCD_2.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EINVAL EPERM
-exception $return == -1
-end
-
-function _gettimeofday
-weak gettimeofday
-version i386=SUNW_0.7 sparc=SISCD_2.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function gettxt
-include <nl_types.h>
-declaration char *gettxt(const char *msgid, const char *dflt_str)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function _gettxt
-weak gettxt
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function getusershell
-declaration char *getusershell();
-version SUNW_1.1
-exception $return == 0
-end
-
-function getutent
-include <utmp.h>
-declaration struct utmp *getutent(void)
-version SUNW_0.7
-exception $return == 0
-end
-
-function getutid
-include <utmp.h>
-declaration struct utmp *getutid(const struct utmp *id)
-version SUNW_0.7
-exception $return == 0
-end
-
-function getutline
-include <utmp.h>
-declaration struct utmp *getutline(const struct utmp *line)
-version SUNW_0.7
-exception $return == 0
-end
-
-function getutmp
-include <utmpx.h>
-declaration void getutmp(const struct utmpx *utmpx, struct utmp *utmp)
-version SUNW_0.7
-end
-
-function getutmpx
-include <utmpx.h>
-declaration void getutmpx(const struct utmp *utmp, struct utmpx *utmpx)
-version SUNW_0.7
-end
-
-function getutxent
-include <utmpx.h>
-declaration struct utmpx *getutxent(void)
-version SUNW_0.7
-exception $return == 0
-end
-
-function getutxid
-include <utmpx.h>
-declaration struct utmpx *getutxid(const struct utmpx *id)
-version SUNW_0.7
-exception $return == 0
-end
-
-function getutxline
-include <utmpx.h>
-declaration struct utmpx *getutxline(const struct utmpx *line)
-version SUNW_0.7
-exception $return == 0
-end
-
-function getvfsany
-include <stdio.h>, <sys/vfstab.h>
-declaration int getvfsany(FILE *fp, struct vfstab *vp, struct vfstab *vref)
-version SUNW_0.7
-exception $return != 0
-end
-
-function getvfsent
-include <stdio.h>, <sys/vfstab.h>
-declaration int getvfsent(FILE *fp, struct vfstab *vp)
-version SUNW_0.7
-exception $return != 0
-end
-
-function getvfsfile
-include <stdio.h>, <sys/vfstab.h>
-declaration int getvfsfile(FILE *fp, struct vfstab *vp, char *file)
-version SUNW_0.7
-exception $return != 0
-end
-
-function getvfsspec
-include <stdio.h>, <sys/vfstab.h>
-declaration int getvfsspec(FILE *fp, struct vfstab *vp, char *spec)
-version SUNW_0.7
-exception $return != 0
-end
-
-function getwd
-include <unistd.h>
-declaration char *getwd(char *path_name)
-version SUNW_0.9
-exception $return == 0
-end
-
-function getwidth
-include <euc.h>, <getwidth.h>
-declaration void getwidth(eucwidth_t *ptr)
-version SUNW_0.7
-end
-
-function gmtime
-include <time.h>
-declaration struct tm *gmtime(const time_t *clock)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function gmtime_r
-include <time.h>
-declaration struct tm *gmtime_r(const time_t *_RESTRICT_KYWD clock, \
- struct tm *_RESTRICT_KYWD res)
-version i386=SUNW_0.7 sparc=SISCD_2.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function grantpt
-include <stdlib.h>
-declaration int grantpt(int fildes)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EBADF EINVAL EACCES
-exception $return == 0
-end
-
-function _grantpt
-weak grantpt
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function gsignal
-include <signal.h>
-declaration int gsignal(int sig)
-version SUNW_0.7
-end
-
-function hasmntopt
-include <stdio.h>, <sys/mnttab.h>
-declaration char *hasmntopt(struct mnttab *mnt, char *opt)
-version SUNW_0.7
-exception $return == 0
-end
-
-function hcreate
-include <search.h>
-declaration int hcreate (size_t mekments)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-exception $return == 0
-end
-
-function _hcreate
-weak hcreate
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function hdestroy
-include <search.h>
-declaration void hdestroy(void)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function _hdestroy
-weak hdestroy
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function hsearch
-include <search.h>
-declaration ENTRY *hsearch(ENTRY item, ACTION action)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-exception $return == 0
-end
-
-function _hsearch
-weak hsearch
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function iconv
-include <iconv.h>
-declaration size_t iconv(iconv_t cd, const char **_RESTRICT_KYWD inbuf, \
- size_t *_RESTRICT_KYWD inbytesleft, \
- char **_RESTRICT_KYWD outbuf, \
- size_t *_RESTRICT_KYWD outbytesleft)
-version SUNW_0.8
-errno EILSEQ EINVAL EBADF E2BIG
-exception ($return == -1)
-end
-
-function iconv_close
-include <iconv.h>
-declaration int iconv_close(iconv_t cd)
-version SUNW_0.8
-errno EBADF
-exception ($return == -1)
-end
-
-function iconv_open
-include <iconv.h>
-declaration iconv_t iconv_open(const char *tocode, const char *fromcode)
-version SUNW_0.8
-errno EMFILE ENFILE ENOMEM EINVAL
-exception ($return == (iconv_t)-1)
-end
-
-function imaxabs
-include <inttypes.h>
-declaration intmax_t imaxabs(intmax_t j)
-version SUNW_1.22
-end
-
-function _imaxabs_c89
-include <inttypes.h>
-declaration int32_t _imaxabs_c89(int32_t j)
-arch sparc i386
-version SUNWprivate_1.1
-end
-
-function imaxdiv
-include <inttypes.h>
-declaration imaxdiv_t imaxdiv(intmax_t numer, intmax_t denom)
-version SUNW_1.22
-end
-
-function _imaxdiv_c89
-include <inttypes.h>
-declaration div_t _imaxdiv_c89(int32_t numer, int32_t denom)
-arch sparc i386
-version SUNWprivate_1.1
-end
-
-function index
-include <strings.h>
-declaration char *index(const char *s, int c)
-version SUNW_0.9
-exception $return == 0
-end
-
-function initgroups
-include <grp.h>, <sys/types.h>
-declaration int initgroups(const char *name, gid_t basegid)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EPERM
-exception $return == -1
-end
-
-function _initgroups
-weak initgroups
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function initstate
-include <stdlib.h>
-declaration char *initstate(unsigned int seed, char *state, size_t size)
-version SUNW_0.9
-exception $return == 0
-end
-
-function innetgr
-declaration int innetgr(const char *netgroup, const char *machine, \
- const char *user, const char *domain)
-version SUNW_0.7
-errno ERANGE
-exception $return == 0
-end
-
-function insque
-include <search.h>
-#manpage void insque(struct qelem *elem, struct qelem *pred)
-declaration void insque(void *elem, void *pred)
-version SUNW_0.7
-end
-
-function _insque
-weak insque
-version SUNW_0.7
-end
-
-function isastream
-include <stropts.h>
-declaration int isastream(int fildes)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EBADF
-exception $return == -1
-end
-
-function _isastream
-weak isastream
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function isatty
-include <unistd.h>
-declaration int isatty(int fildes)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EBADF ENOTTY
-exception $return == 0 && !unchanged(errno)
-end
-
-function _isatty
-weak isatty
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function jrand48
-include <stdlib.h>
-declaration long jrand48(unsigned short xsubi[3])
-version SUNW_0.7
-end
-
-function killpg
-include <signal.h>
-declaration int killpg(pid_t pgrp, int sig)
-version SUNW_0.9
-errno EINVAL EPERM ESRCH
-exception $return == -1
-end
-
-function l64a
-include <stdlib.h>
-declaration char *l64a(long l)
-version SUNW_0.7
-end
-
-function labs
-include <stdlib.h>
-declaration long labs(long lval)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function lckpwdf
-include <shadow.h>
-declaration int lckpwdf(void)
-version SUNW_0.7
-exception $return == -1
-end
-
-function lcong48
-include <stdlib.h>
-declaration void lcong48(unsigned short param[7])
-version SUNW_0.7
-end
-
-function _ld_libc
-version SUNWprivate_1.1
-filter sparc=/usr/lib/ld.so.1 i386=/usr/lib/ld.so.1 \
- sparcv9=/usr/lib/sparcv9/ld.so.1 amd64=/usr/lib/amd64/ld.so.1
-end
-
-function ldexp
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-filter libm.so.2
-end
-
-function ldiv
-include <stdlib.h>
-declaration ldiv_t ldiv(long int numer, long int denom)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function lfind
-include <search.h>
-declaration void *lfind(const void *key, const void *base, size_t *nelp, \
- size_t width, \
- int (*compar)(const void *, const void *))
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-exception $return == 0
-end
-
-function _lfind
-weak lfind
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function lfmt
-include <pfmt.h>
-declaration int lfmt(FILE *stream, long flags, char *format , ...)
-version SUNW_0.8
-exception $return == -1 || $return == -2
-end
-
-function llabs
-include <stdlib.h>
-declaration long long llabs(long long llval)
-version SUNW_0.7
-end
-
-function lldiv
-include <stdlib.h>
-declaration lldiv_t lldiv(long long numer, long long denom)
-version SUNW_0.7
-end
-
-function localtime
-include <time.h>
-declaration struct tm *localtime(const time_t *clock)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function localtime_r
-include <time.h>
-declaration struct tm *localtime_r(const time_t *_RESTRICT_KYWD clock, \
- struct tm *_RESTRICT_KYWD res)
-version i386=SUNW_0.7 sparc=SISCD_2.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function longjmp
-include <setjmp.h>
-declaration void longjmp(jmp_buf env, int val)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function lrand48
-include <stdlib.h>
-declaration long lrand48(void)
-version SUNW_0.7
-end
-
-function lsearch
-include <search.h>
-declaration void *lsearch(const void *key, void *base, size_t *nelp, \
- size_t width, \
- int (*compar) (const void *, const void *))
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function _lsearch
-weak lsearch
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function madvise
-include <sys/types.h>, <sys/mman.h>
-declaration int madvise(caddr_t addr, size_t len, int advice)
-version SUNW_0.7
-errno EINVAL EIO ENOMEM ESTALE
-exception ($return == -1)
-end
-
-function makecontext
-include <ucontext.h>
-declaration void makecontext(ucontext_t *ucp, void (*func)(), \
- int argc, ...)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EFAULT ENOMEM
-end
-
-function _makecontext
-weak makecontext
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function __makecontext_v2
-include <ucontext.h>
-declaration void __makecontext_v2(ucontext_t *ucp, void (*func)(), \
- int argc, ...)
-arch sparc sparcv9
-version sparc=SUNW_1.21.2 sparcv9=SUNW_1.21.2
-end
-
-function ___makecontext_v2
-weak __makecontext_v2
-arch sparc sparcv9
-version sparc=SUNW_1.21.2 sparcv9=SUNW_1.21.2
-end
-
-function malloc
-include <stdlib.h>, <alloca.h>
-declaration void *malloc(size_t size)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno ENOMEM EAGAIN
-binding nodirect
-exception $return == 0
-end
-
-function memalign
-include <stdlib.h>, <alloca.h>
-declaration void *memalign(size_t alignment, size_t size)
-version SUNW_0.7
-errno ENOMEM EAGAIN
-exception $return == 0
-binding nodirect
-end
-
-function memccpy
-include <string.h>
-declaration void *memccpy(void *_RESTRICT_KYWD s1, \
- const void *_RESTRICT_KYWD s2, int c, size_t n)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-exception $return == 0
-end
-
-function _memccpy
-weak memccpy
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function memchr
-include <string.h>
-declaration void *memchr(const void *s, int c, size_t n)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-exception $return == 0
-end
-
-function memcmp
-include <string.h>
-declaration int memcmp(const void *s1, const void *s2, size_t n)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-auxiliary sparc=/platform/$PLATFORM/lib/libc_psr.so.1 \
- sparcv9=/platform/$PLATFORM/lib/sparcv9/libc_psr.so.1
-end
-
-function memcpy
-include <string.h>
-declaration void *memcpy(void *_RESTRICT_KYWD s1, \
- const void *_RESTRICT_KYWD s2, size_t n)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-exception $return == 0
-auxiliary sparc=/platform/$PLATFORM/lib/libc_psr.so.1 \
- sparcv9=/platform/$PLATFORM/lib/sparcv9/libc_psr.so.1
-end
-
-function memmove
-include <string.h>
-declaration void *memmove(void *s1, const void *s2, size_t n)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-exception $return == 0
-auxiliary sparc=/platform/$PLATFORM/lib/libc_psr.so.1 \
- sparcv9=/platform/$PLATFORM/lib/sparcv9/libc_psr.so.1
-end
-
-function memset
-include <string.h>
-declaration void *memset(void *s, int c, size_t n)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-exception $return == 0
-auxiliary sparc=/platform/$PLATFORM/lib/libc_psr.so.1 \
- sparcv9=/platform/$PLATFORM/lib/sparcv9/libc_psr.so.1
-end
-
-function mkdtemp
-include <stdlib.h>
-declaration char *mkdtemp(char *template)
-version SUNW_1.23
-exception $return == 0
-end
-
-function _mkdtemp
-weak mkdtemp
-version SUNW_1.23
-end
-
-function mkfifo
-include <sys/types.h>, <sys/stat.h>
-declaration int mkfifo(const char *path, mode_t mode)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-exception $return == -1
-end
-
-function _mkfifo
-weak mkfifo
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function mkstemp
-include <stdlib.h>
-declaration int mkstemp(char *template)
-version SUNW_0.7
-exception $return == -1
-end
-
-function _mkstemp
-weak mkstemp
-version SUNW_0.7
-end
-
-function mkstemps
-include <stdlib.h>
-declaration int mkstemps(char *template, int suffixlen)
-version SUNW_1.23
-exception $return == -1
-end
-
-function _mkstemps
-weak mkstemps
-version SUNW_1.23
-end
-
-function mktemp
-include <stdlib.h>
-declaration char *mktemp(char *template)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-exception $return == 0
-end
-
-function _mktemp
-weak mktemp
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function mktime
-include <time.h>
-declaration time_t mktime(struct tm *timeptr)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-exception $return == -1
-end
-
-function mlock
-include <sys/types.h>
-declaration int mlock(caddr_t addr, size_t len)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EAGAIN EINVAL ENOMEM EPERM
-exception $return == -1
-end
-
-function _mlock
-weak mlock
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function mlockall
-include <sys/mman.h>
-declaration int mlockall(int flags)
-version SUNW_0.7
-errno EAGAIN EINVAL EPERM
-exception $return == -1
-end
-
-function modf
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-filter libm.so.2
-end
-
-function _modf
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-filter libm.so.2
-end
-
-function modff
-version SUNW_0.7
-filter libm.so.2
-end
-
-function monitor
-include <mon.h>
-declaration void monitor(int (*lowpc)(void), int (*highpc)(void), \
- WORD *buffer, size_t bufsize, size_t nfunc)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function _monitor
-weak monitor
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function mrand48
-include <stdlib.h>
-declaration long mrand48(void)
-version SUNW_0.7
-end
-
-function msync
-include <sys/mman.h>
-declaration int msync(caddr_t addr, size_t len, int flags)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EBUSY EINVAL EIO ENOMEM EPERM
-exception $return == -1
-end
-
-function _msync
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function munlock
-include <sys/types.h>
-declaration int munlock(caddr_t addr, size_t len)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EAGAIN EINVAL ENOMEM EPERM
-exception $return == -1
-end
-
-function _munlock
-weak munlock
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function munlockall
-include <sys/mman.h>
-declaration int munlockall(void)
-version SUNW_0.7
-errno EAGAIN EINVAL EPERM
-exception $return == -1
-end
-
-function mutex_destroy
-include <synch.h>
-declaration int mutex_destroy(mutex_t *mp)
-version SUNW_0.8
-end
-
-function mutex_init
-include <synch.h>
-declaration int mutex_init(mutex_t *mp, int type, void *arg)
-version SUNW_0.8
-end
-
-function mutex_lock
-include <synch.h>
-declaration int mutex_lock(mutex_t *mp)
-version SUNW_0.8
-end
-
-function mutex_trylock
-include <synch.h>
-declaration int mutex_trylock(mutex_t *mp)
-version SUNW_0.8
-end
-
-function mutex_unlock
-include <synch.h>
-declaration int mutex_unlock(mutex_t *mp)
-version SUNW_0.8
-end
-
-function nftw
-include <ftw.h>
-declaration int nftw(const char *path, \
- int (*fn)(const char *, const struct stat *, \
- int, struct FTW*), \
- int depth, int flags)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-exception $return == -1
-end
-
-function _nftw
-weak nftw
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function nrand48
-include <stdlib.h>
-declaration long nrand48(unsigned short xsubi[3])
-version SUNW_0.7
-end
-
-function opendir
-include <sys/types.h>, <dirent.h>
-declaration DIR *opendir(const char *dirname)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EACCES ELOOP ENAMETOOLONG ENOENT ENOTDIR EMFILE
-exception $return == 0
-end
-
-function _opendir
-weak opendir
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function fdopendir
-include <sys/types.h>, <dirent.h>
-declaration DIR *fdopendir(int fd)
-version SUNW_1.21
-errno EACCES ELOOP ENAMETOOLONG ENOENT ENOTDIR EMFILE
-exception $return == 0
-end
-
-function _fdopendir
-weak fdopendir
-version SUNW_1.21
-end
-
-function attropen
-include <sys/types.h>, <sys/stat.h>, <fcntl.h>
-declaration int attropen(const char *file, const char *attr, int oflag, ...)
-version SUNW_1.21
-errno EACCES EDQUOT EEXIST EINTR EFAULT EIO EISDIR ELOOP EMFILE \
- EMULTIHOP ENFILE ENOENT ENOLINK ENOSR ENOSPC ENOTDIR \
- ENXIO EOPNOTSUPP EOVERFLOW EROFS EAGAIN EINVAL \
- ENAMETOOLONG ENOMEM ETXTBSY
-exception $return == -1
-end
-
-function _attropen
-weak attropen
-version SUNW_1.21
-end
-
-function openlog
-include <syslog.h>
-declaration void openlog(const char *ident, int logopt, int facility)
-version SUNW_0.7
-end
-
-function perror
-include <stdio.h>, <errno.h>
-declaration void perror(const char *s)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function pfmt
-include <pfmt.h>
-declaration int pfmt(FILE *stream, long flags, char *format, ...)
-version SUNW_0.8
-exception $return == -1
-end
-
-function plock
-include <sys/lock.h>
-declaration int plock(int op)
-version SUNW_0.7
-errno EAGAIN EINVAL EPERM
-exception $return == -1
-end
-
-function posix_openpt
-include <stdlib.h>
-include <fcntl.h>
-declaration int posix_openpt(int oflag)
-version SUNW_1.22
-errno EMFILE ENFILE EINVAL ENOSR
-exception $return == -1
-end
-
-function _posix_openpt
-weak posix_openpt
-version SUNWprivate_1.1
-end
-
-function printstack
-include <ucontext.h>
-declaration int printstack(int fd)
-version SUNW_1.21
-exception $return == -1
-end
-
-function _printstack
-weak printstack
-version SUNWprivate_1.1
-end
-
-function psiginfo
-include <siginfo.h>
-declaration void psiginfo(siginfo_t *pinfo, char *s)
-version SUNW_0.7
-end
-
-function psignal
-include <siginfo.h>
-declaration void psignal(int sig, const char *s)
-version SUNW_0.7
-end
-
-function ptrace
-include <unistd.h>, <sys/types.h>
-declaration int ptrace(int request, pid_t pid, int addr, int data)
-arch sparc i386
-version SYSVABI_1.3
-errno EIO EPERM ESRCH
-exception $return == -1
-end
-
-function _ptrace
-weak ptrace
-arch sparc i386
-version SYSVABI_1.3
-end
-
-function ptsname
-include <stdlib.h>
-declaration char *ptsname(int fildes)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-exception $return == 0
-end
-
-function _ptsname
-weak ptsname
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function putenv
-include <stdlib.h>
-declaration int putenv(char *string)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno ENOMEM
-exception $return != 0
-end
-
-function _putenv
-weak putenv
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function putmsg
-include <stropts.h>
-declaration int putmsg(int fildes, const struct strbuf *ctlptr, \
- const struct strbuf *dataptr, int flags)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EAGAIN EBADF EFAULT EINTR EINVAL ENOSR ENOSTR ENXIO EPIPE ERANGE
-exception $return == -1
-end
-
-function _putmsg
-weak putmsg
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function putpmsg
-include <stropts.h>
-declaration int putpmsg(int fildes, const struct strbuf *ctlptr, \
- const struct strbuf *dataptr, int band, int flags)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EAGAIN EBADF EFAULT EINTR EINVAL ENOSR ENOSTR ENXIO EPIPE ERANGE
-exception $return == -1
-end
-
-function _putpmsg
-weak putpmsg
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function putpwent
-include <pwd.h>
-declaration int putpwent(const struct passwd *p, FILE *f)
-version SUNW_0.7
-exception $return != 0
-end
-
-function putspent
-include <shadow.h>
-declaration int putspent(const struct spwd *p, FILE *fp)
-version SUNW_0.7
-exception $return != 0
-end
-
-function pututline
-include <utmp.h>
-declaration struct utmp *pututline(const struct utmp *utmp)
-version SUNW_0.7
-exception $return == 0
-end
-
-function pututxline
-include <utmpx.h>
-declaration struct utmpx *pututxline(const struct utmpx *utmpx)
-version SUNW_0.7
-exception $return == 0
-end
-
-function qeconvert
-include <floatingpoint.h>
-declaration char *qeconvert(quadruple *value, int ndigit, int *decpt, \
- int *sign, char *buf)
-version SUNW_0.7
-exception ($return == 0)
-end
-
-function qfconvert
-include <floatingpoint.h>
-declaration char *qfconvert(quadruple *value, int ndigit, int *decpt, \
- int *sign, char *buf)
-version SUNW_0.7
-exception ($return == 0)
-end
-
-function qgconvert
-include <floatingpoint.h>
-declaration char *qgconvert(quadruple *value, int ndigit, int trailing, char *buf)
-version SUNW_0.7
-exception ($return == 0)
-end
-
-function qsort
-include <stdlib.h>
-declaration void qsort(void *base, size_t nel, size_t width, \
- int (*compar)(const void *, const void *))
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function raise
-include <signal.h>
-declaration int raise(int sig)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-exception $return == -1
-end
-
-function rand
-include <stdlib.h>
-declaration int rand(void)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function rand_r
-include <stdlib.h>
-declaration int rand_r(unsigned int *seed)
-version i386=SUNW_0.7 sparc=SISCD_2.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function random
-include <stdlib.h>
-declaration long random(void)
-version SUNW_0.9
-end
-
-function rctl_walk
-include <rctl.h>
-declaration int rctl_walk(int (*callback)(const char *rctlname, \
- void *walk_data), void *init_data)
-version SUNW_1.21
-end
-
-function rctlblk_get_global_action
-include <rctl.h>
-declaration uint_t rctlblk_get_global_action(rctlblk_t *);
-version SUNW_1.21
-end
-
-function rctlblk_get_local_action
-include <rctl.h>
-declaration uint_t rctlblk_get_local_action(rctlblk_t *, int *);
-version SUNW_1.21
-end
-
-function rctlblk_get_global_flags
-include <rctl.h>
-declaration uint_t rctlblk_get_global_flags(rctlblk_t *);
-version SUNW_1.21
-end
-
-function rctlblk_get_local_flags
-include <rctl.h>
-declaration uint_t rctlblk_get_local_flags(rctlblk_t *);
-version SUNW_1.21
-end
-
-function rctlblk_get_firing_time
-include <rctl.h>
-declaration hrtime_t rctlblk_get_firing_time(rctlblk_t *);
-version SUNW_1.21
-end
-
-function rctlblk_get_privilege
-include <rctl.h>
-declaration rctl_priv_t rctlblk_get_privilege(rctlblk_t *);
-version SUNW_1.21
-end
-
-function rctlblk_get_recipient_pid
-include <rctl.h>
-declaration id_t rctlblk_get_recipient_pid(rctlblk_t *);
-version SUNW_1.21
-end
-
-function rctlblk_get_value
-include <rctl.h>
-declaration rctl_qty_t rctlblk_get_value(rctlblk_t *);
-version SUNW_1.21
-end
-
-function rctlblk_get_enforced_value
-include <rctl.h>
-declaration rctl_qty_t rctlblk_get_enforced_value(rctlblk_t *);
-version SUNW_1.21
-end
-
-function rctlblk_set_local_action
-include <rctl.h>
-declaration void rctlblk_set_local_action(rctlblk_t *, uint_t, int);
-version SUNW_1.21
-end
-
-function rctlblk_set_local_flags
-include <rctl.h>
-declaration void rctlblk_set_local_flags(rctlblk_t *, uint_t);
-version SUNW_1.21
-end
-
-function rctlblk_set_privilege
-include <rctl.h>
-declaration void rctlblk_set_privilege(rctlblk_t *, rctl_priv_t);
-version SUNW_1.21
-end
-
-function rctlblk_set_recipient_pid
-include <rctl.h>
-declaration void rctlblk_set_recipient_pid(rctlblk_t *, id_t);
-version SUNW_1.22
-end
-
-function rctlblk_set_value
-include <rctl.h>
-declaration void rctlblk_set_value(rctlblk_t *, rctl_qty_t);
-version SUNW_1.21
-end
-
-function rctlblk_size
-include <rctl.h>
-declaration size_t rctlblk_size(void);
-version SUNW_1.21
-end
-
-function readdir
-include <sys/types.h>, <dirent.h>
-declaration struct dirent *readdir(DIR *dirp)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EOVERFLOW EBADF ENOENT
-exception $return == 0
-end
-
-function _readdir
-weak readdir
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-# NOTE: The declarations of the various versions of readdir_r()
-# in <dirent.h> are hopelessly convoluted, so we can't declare
-# its arguments and return value here.
-function readdir_r
-version i386=SUNW_0.7 sparc=SISCD_2.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function _readdir_r
-weak readdir_r
-version SUNWprivate_1.1
-end
-
-function realloc
-include <stdlib.h>, <alloca.h>
-declaration void *realloc(void *ptr, size_t size)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno ENOMEM EAGAIN
-exception $return == 0
-binding nodirect
-end
-
-function realpath
-include <stdlib.h>
-declaration char *realpath(const char *_RESTRICT_KYWD file_name, \
- char *_RESTRICT_KYWD resolved_name)
-version SUNW_0.7
-errno EACCES EINVAL EIO ELOOP ENAMETOOLONG ENOENT ENOTDIR ENOMEM
-exception $return == 0
-end
-
-function reboot
-include <sys/reboot.h>
-declaration int reboot(int howto, char *bootargs)
-version SUNW_0.9
-errno EPERM
-exception $return == -1
-end
-
-function regcmp
-# NOTE: varargs breaks adl
-include <libgen.h>
-declaration char *regcmp(const char *string1, ...)
-version SUNW_1.1
-exception $return == 0
-end
-
-function remove
-include <stdio.h>
-declaration int remove(const char *path)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-exception $return == -1
-end
-
-function remque
-include <search.h>
-#manpage void remque(struct qelem *elem)
-declaration void remque(void *elem)
-version SUNW_0.7
-end
-
-function _remque
-weak remque
-version SUNW_0.7
-end
-
-function rename
-include <stdio.h>
-declaration int rename(const char *old, const char *new)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EACCES EBUSY EDQUOT EEXIST EINVAL EISDIR ELOOP ENAMETOOLONG \
- EMLINK ENOENT ENOSPC ENOTDIR EROFS EXDEV EIO
-exception $return == -1
-end
-
-function resetmnttab
-include <stdio.h>, <sys/mnttab.h>
-declaration void resetmnttab(FILE *fp)
-version SUNW_1.20
-end
-
-function rewind
-include <stdio.h>
-declaration void rewind(FILE *stream)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function rewinddir
-include <sys/types.h>, <dirent.h>
-declaration void rewinddir(DIR *dirp)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function _rewinddir
-weak rewinddir
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function rindex
-include <strings.h>
-declaration char *rindex(const char *s, int c)
-version SUNW_0.9
-exception $return == 0
-end
-
-function rw_rdlock
-include <synch.h>
-declaration int rw_rdlock(rwlock_t *rwlp)
-version SUNW_0.8
-errno EINVAL EFAULT EBUSY
-end
-
-function rw_tryrdlock
-include <synch.h>
-declaration int rw_tryrdlock(rwlock_t *rwlp)
-version SUNW_0.8
-errno EINVAL EFAULT EBUSY
-end
-
-function rw_trywrlock
-include <synch.h>
-declaration int rw_trywrlock(rwlock_t *rwlp)
-version SUNW_0.8
-errno EINVAL EFAULT EBUSY
-end
-
-function rw_unlock
-include <synch.h>
-declaration int rw_unlock(rwlock_t *rwlp)
-version SUNW_0.8
-errno EINVAL EFAULT EBUSY
-end
-
-function rw_wrlock
-include <synch.h>
-declaration int rw_wrlock(rwlock_t *rwlp)
-version SUNW_0.8
-errno EINVAL EFAULT EBUSY
-end
-
-function rwlock_destroy
-include <synch.h>
-declaration int rwlock_destroy(rwlock_t *rwlp)
-version SUNW_1.1
-errno EINVAL EFAULT EBUSY
-end
-
-function rwlock_init
-include <synch.h>
-declaration int rwlock_init(rwlock_t *rwlp, int type, void * arg)
-version SUNW_0.8
-errno EINVAL EFAULT EBUSY
-end
-
-function scandir
-include <sys/types.h>, <dirent.h>
-declaration int scandir(const char *dirname, struct dirent *(*namelist[]), \
- int (*select)(const struct dirent *), \
- int (*dcomp)(const struct dirent **, \
- const struct dirent **));
-version SUNW_1.22
-end
-
-function _scandir
-weak scandir
-version SUNW_1.22
-end
-
-function seconvert
-include <floatingpoint.h>
-declaration char *seconvert(single *value, int ndigit, int *decpt, \
- int *sign, char *buf)
-version SUNW_0.7
-exception ($return == 0)
-end
-
-function seed48
-include <stdlib.h>
-declaration unsigned short *seed48(unsigned short seed16v[3])
-version SUNW_0.7
-end
-
-function seekdir
-include <sys/types.h>, <dirent.h>
-declaration void seekdir(DIR *dirp, long int loc)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function _seekdir
-weak seekdir
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function select
-include <sys/select.h>
-declaration int select(int nfds, \
- fd_set *_RESTRICT_KYWD readfds, \
- fd_set *_RESTRICT_KYWD writefds, \
- fd_set *_RESTRICT_KYWD errorfds, \
- struct timeval *_RESTRICT_KYWD timeout)
-version SUNW_0.7
-errno EBADF EINTR EINVAL
-exception $return == -1
-end
-
-function pselect
-include <sys/select.h>
-declaration int pselect(int nfds, \
- fd_set *_RESTRICT_KYWD readfds, \
- fd_set *_RESTRICT_KYWD writefds, \
- fd_set *_RESTRICT_KYWD errorfds, \
- const struct timespec *_RESTRICT_KYWD timeout, \
- const sigset_t *_RESTRICT_KYWD sigmask)
-version SUNW_1.22
-errno EBADF EINTR EINVAL
-exception $return == -1
-end
-
-function sema_destroy
-include <synch.h>
-declaration int sema_destroy(sema_t *sp)
-version SUNW_1.1
-errno EINVAL EFAULT EINTR EBUSY
-end
-
-function sema_init
-include <synch.h>
-declaration int sema_init(sema_t *sp, unsigned int count, int type, void * arg)
-version SUNW_0.8
-errno EINVAL EFAULT EINTR EBUSY
-end
-
-function sema_post
-include <synch.h>
-declaration int sema_post(sema_t *sp)
-version SUNW_0.8
-errno EINVAL EFAULT EINTR EBUSY
-end
-
-function sema_trywait
-include <synch.h>
-declaration int sema_trywait(sema_t *sp)
-version SUNW_0.8
-errno EINVAL EFAULT EINTR EBUSY
-end
-
-function sema_wait
-include <synch.h>
-declaration int sema_wait(sema_t *sp)
-version SUNW_0.8
-errno EINVAL EFAULT EINTR EBUSY
-end
-
-function sema_timedwait
-include <synch.h>
-declaration int sema_timedwait(sema_t *sp, const timespec_t *abstime)
-version SUNW_1.22
-errno EINVAL EFAULT EINTR EBUSY ETIME
-end
-
-function sema_reltimedwait
-include <synch.h>
-declaration int sema_reltimedwait(sema_t *sp, const timespec_t *reltime)
-version SUNW_1.22
-errno EINVAL EFAULT EINTR EBUSY ETIME
-end
-
-function setcat
-include <pfmt.h>
-declaration const char *setcat(const char *catalog)
-version SUNW_0.8
-exception $return == 0
-end
-
-function setenv
-include <stdlib.h>
-declaration int setenv(const char *envname, const char *envval, \
- int overwrite)
-version SUNW_1.22
-errno EINVAL ENOMEM
-exception $return != 0
-end
-
-function _setenv # extends libc/spec/gen.spec setenv
-weak setenv
-#Declaration /* Unknown */
-version SUNWprivate_1.1
-end
-
-function setgrent
-include <grp.h>
-declaration void setgrent(void)
-version i386=SUNW_0.7 sparc=SISCD_2.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function sethostname
-declaration int sethostname(char *name, int namelen)
-version SUNW_0.9
-errno EFAULT EPERM
-exception $return == -1
-end
-
-function setjmp
-include <setjmp.h>
-declaration int setjmp(jmp_buf env)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function setkey
-include <stdlib.h>
-declaration void setkey(const char *key)
-version i386=SUNW_0.7 sparc=SISCD_2.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno ENOSYS
-end
-
-function _setkey
-weak setkey
-version i386=SUNW_0.7 sparc=SISCD_2.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function setlabel
-include <pfmt.h>
-declaration int setlabel(const char *label)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-exception $return != 0
-end
-
-function setlogmask
-include <syslog.h>
-declaration int setlogmask(int maskpri)
-version SUNW_0.7
-end
-
-function setnetgrent
-declaration void setnetgrent(const char *netgroup)
-version SUNW_0.7
-errno ERANGE
-end
-
-function setpgid
-include <sys/types.h>, <unistd.h>
-declaration int setpgid(pid_t pid, pid_t pgid)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EACCES EINVAL EPERM ESRCH
-exception $return == -1
-end
-
-function _setpgid
-weak setpgid
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function setpriority
-include <sys/resource.h>
-declaration int setpriority(int which, id_t who, int priority)
-version SUNW_0.9
-errno ESRCH EINVAL EPERM EACCES
-exception $return == -1
-end
-
-function setpwent
-include <pwd.h>
-declaration void setpwent(void)
-version i386=SUNW_0.7 sparc=SISCD_2.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function setregid
-include <unistd.h>, <limits.h>
-declaration int setregid(gid_t rgid, gid_t egid)
-version SUNW_0.9
-errno EINVAL EPERM
-exception $return == -1
-end
-
-function setreuid
-include <unistd.h>
-declaration int setreuid(uid_t ruid, uid_t euid)
-version SUNW_0.9
-errno EINVAL EPERM
-exception $return == -1
-end
-
-function setspent
-include <shadow.h>
-declaration void setspent(void)
-version SUNW_0.7
-end
-
-function setstate
-include <stdlib.h>
-declaration char *setstate(const char *state)
-version SUNW_0.9
-exception $return == 0
-end
-
-function settimeofday
-include <sys/time.h>
-declaration int settimeofday(struct timeval *tp, void *tzp)
-version SUNW_0.7
-errno EINVAL EPERM
-exception $return == -1
-end
-
-function setusershell
-declaration void setusershell();
-version SUNW_1.1
-end
-
-function setutent
-include <utmp.h>
-declaration void setutent(void)
-version SUNW_0.7
-end
-
-function setutxent
-include <utmpx.h>
-declaration void setutxent(void)
-version SUNW_0.7
-end
-
-function sfconvert
-include <floatingpoint.h>
-declaration char *sfconvert(single *value, int ndigit, int *decpt, \
- int *sign, char *buf)
-version SUNW_0.7
-exception ($return == 0)
-end
-
-function sgconvert
-include <floatingpoint.h>
-declaration char *sgconvert(single *value, int ndigit, int trailing, \
- char *buf)
-version SUNW_0.7
-exception ($return == 0)
-end
-
-function sig2str
-include <signal.h>
-declaration int sig2str(int signum, char *str)
-version SUNW_0.7
-exception $return == -1
-end
-
-function sigaddset
-include <signal.h>
-declaration int sigaddset(sigset_t *set, int signo)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EINVAL EFAULT
-exception $return == -1
-end
-
-function _sigaddset
-weak sigaddset
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function sigdelset
-include <signal.h>
-declaration int sigdelset(sigset_t *set, int signo)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EINVAL EFAULT
-exception $return == -1
-end
-
-function _sigdelset
-weak sigdelset
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function sigemptyset
-include <signal.h>
-declaration int sigemptyset(sigset_t *set)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EINVAL EFAULT
-exception $return == -1
-end
-
-function _sigemptyset
-weak sigemptyset
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function sigfillset
-include <signal.h>
-declaration int sigfillset(sigset_t *set)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EINVAL EFAULT
-exception $return == -1
-end
-
-function _sigfillset
-weak sigfillset
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function sighold
-include <signal.h>
-declaration int sighold(int sig)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EINTR EINVAL
-exception $return == -1
-end
-
-function _sighold
-weak sighold
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function sigignore
-include <signal.h>
-declaration int sigignore(int sig)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EINTR EINVAL
-exception $return == -1
-end
-
-function _sigignore
-weak sigignore
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function sigismember
-include <signal.h>
-declaration int sigismember(const sigset_t *set, int signo)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EINVAL EFAULT
-exception $return == 0
-end
-
-function _sigismember
-weak sigismember
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function siglongjmp
-include <setjmp.h>
-declaration void siglongjmp(sigjmp_buf env, int val)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function signal
-include <signal.h>
-declaration void (*signal (int sig, void (*disp)(int)))(int)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EINTR EINVAL
-exception $return == SIG_ERR
-end
-
-function sigrelse
-include <signal.h>
-declaration int sigrelse(int sig)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EINTR EINVAL
-exception $return == -1
-end
-
-function _sigrelse
-weak sigrelse
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function sigsend
-include <signal.h>
-declaration int sigsend(idtype_t idtype, id_t id, int sig)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EINVAL EPERM ESRCH EFAULT
-exception $return == -1
-end
-
-function _sigsend
-weak sigsend
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function sigsendset
-include <signal.h>
-declaration int sigsendset(const procset_t *psp, int sig)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EINVAL EPERM ESRCH EFAULT
-exception $return == -1
-end
-
-function _sigsendset
-weak sigsendset
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function sigset
-include <signal.h>
-declaration void (*sigset (int sig, void (*disp)(int)))(int)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EINTR EINVAL
-exception $return == SIG_ERR || $return == SIG_HOLD
-end
-
-function _sigset
-weak sigset
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function sigsetjmp
-include <setjmp.h>
-declaration int sigsetjmp(sigjmp_buf env, int savemask)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function _sigsetjmp
-weak sigsetjmp
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function sigstack
-include <signal.h>
-declaration int sigstack(struct sigstack *ss, struct sigstack *oss)
-version SUNW_1.1
-errno EPERM
-exception $return == -1
-end
-
-function _sigstack
-weak sigstack
-version SUNWprivate_1.1
-end
-
-function sleep
-include <unistd.h>
-declaration unsigned sleep(unsigned seconds)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function srand
-include <stdlib.h>
-declaration void srand(unsigned int seed)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function srand48
-include <stdlib.h>
-declaration void srand48(long seedval)
-version SUNW_0.7
-end
-
-function srandom
-include <stdlib.h>
-declaration void srandom(unsigned int seed)
-version SUNW_0.9
-end
-
-function ssignal
-include <signal.h>
-declaration int (*ssignal(int sig, int (*action)(int)))(int)
-version SUNW_0.7
-exception $return == (int (*)(int)) SIG_DFL
-end
-
-function str2sig
-include <signal.h>
-declaration int str2sig(const char *str, int *signum)
-version SUNW_0.7
-exception $return == -1
-end
-
-function _stack_grow
-declaration void *_stack_grow(void *)
-version SUNW_1.21.2
-end
-
-function stack_getbounds
-declaration int stack_getbounds(stack_t *sp)
-version SUNW_1.21.2
-end
-
-function _stack_getbounds
-weak stack_getbounds
-version SUNW_1.21.2
-end
-
-function stack_setbounds
-declaration int stack_setbounds(const stack_t *sp)
-version SUNW_1.21.2
-end
-
-function _stack_setbounds
-weak stack_setbounds
-version SUNW_1.21.2
-end
-
-function stack_inbounds
-declaration int stack_inbounds(void *addr)
-version SUNW_1.21.2
-end
-
-function _stack_inbounds
-weak stack_inbounds
-version SUNW_1.21.2
-end
-
-function stack_violation
-declaration int stack_violation(int sig, const siginfo_t *sip, \
- const ucontext_t *ucp)
-version SUNW_1.21.2
-end
-
-function _stack_violation
-weak stack_violation
-version SUNW_1.21.2
-end
-
-function strcasecmp
-include <strings.h>
-declaration int strcasecmp(const char *s1, const char *s2)
-version SUNW_0.7
-end
-
-function strcat
-include <string.h>
-declaration char *strcat(char *_RESTRICT_KYWD dst, \
- const char *_RESTRICT_KYWD src)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function strchr
-include <string.h>
-declaration char *strchr(const char *s, int c)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-exception $return == 0
-end
-
-function strcmp
-include <string.h>
-declaration int strcmp(const char *s1, const char *s2)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function strcpy
-include <string.h>
-declaration char *strcpy(char *_RESTRICT_KYWD dst, \
- const char *_RESTRICT_KYWD src)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function strcspn
-include <string.h>
-declaration size_t strcspn(const char *s1, const char *s2)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-exception $return == 0
-end
-
-function strdup
-include <string.h>
-declaration char *strdup(const char *s1)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno ENOMEM
-exception $return == 0
-end
-
-function _strdup
-weak strdup
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function strerror
-include <string.h>
-declaration char *strerror(int errnum)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-exception $return == 0
-errno EINVAL
-end
-
-function strerror_r
-include <string.h>
-declaration int strerror_r(int errnum, char *strerrbuf, size_t buflen)
-version SUNW_1.22
-exception $return != 0
-errno ERANGE EINVAL
-end
-
-function _strerror_r
-weak strerror_r
-version SUNWprivate_1.1
-end
-
-function strftime
-include <time.h>
-declaration size_t strftime(char *_RESTRICT_KYWD s, size_t maxsize, \
- const char *_RESTRICT_KYWD format, \
- const struct tm *_RESTRICT_KYWD timeptr)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-exception $return == 0
-end
-
-function strlen
-include <string.h>
-declaration size_t strlen(const char *s)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function strncasecmp
-include <strings.h>
-declaration int strncasecmp(const char *s1, const char *s2, size_t n)
-version SUNW_0.7
-end
-
-function strncat
-include <string.h>
-declaration char *strncat(char *_RESTRICT_KYWD dst, \
- const char *_RESTRICT_KYWD src, size_t n)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function strlcat
-include <string.h>
-declaration size_t strlcat(char *dst, const char *src, size_t dstsize)
-version SUNW_1.19
-end
-
-function strncmp
-include <string.h>
-declaration int strncmp(const char *s1, const char *s2, size_t n)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function strncpy
-include <string.h>
-declaration char *strncpy(char *_RESTRICT_KYWD dst, \
- const char *_RESTRICT_KYWD src, size_t n)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function strlcpy
-include <string.h>
-declaration size_t strlcpy(char *dst, const char *src, size_t dstsize)
-version SUNW_1.19
-end
-
-function strpbrk
-include <string.h>
-declaration char *strpbrk(const char *s1, const char *s2)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-exception $return == 0
-end
-
-function strrchr
-include <string.h>
-declaration char *strrchr(const char *s, int c)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-exception $return == 0
-end
-
-function strsignal
-include <string.h>
-declaration char *strsignal(int sig)
-version SUNW_0.7
-exception $return == 0
-end
-
-function strspn
-include <string.h>
-declaration size_t strspn(const char *s1, const char *s2)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-exception $return == 0
-end
-
-function strstr
-include <string.h>
-declaration char *strstr(const char *s1, const char *s2)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-exception $return == 0
-end
-
-function strtod
-include <stdlib.h>
-declaration double strtod(const char *_RESTRICT_KYWD str, \
- char **_RESTRICT_KYWD endptr)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno ERANGE EINVAL
-exception errno != 0
-end
-
-function strtof
-include <stdlib.h>
-declaration float strtof(const char *_RESTRICT_KYWD str, \
- char **_RESTRICT_KYWD endptr)
-version SUNW_1.22
-errno ERANGE EINVAL
-exception errno != 0
-end
-
-function strtoimax
-include <inttypes.h>
-declaration intmax_t strtoimax(const char *_RESTRICT_KYWD nptr, \
- char **_RESTRICT_KYWD endptr, int base)
-version SUNW_1.22
-end
-
-function _strtoimax_c89
-include <inttypes.h>
-declaration int32_t _strtoimax_c89(const char *nptr, \
- char **endptr, int base)
-arch sparc i386
-version SUNWprivate_1.1
-end
-
-function strtok
-include <string.h>
-declaration char *strtok(char *_RESTRICT_KYWD s1, \
- const char *_RESTRICT_KYWD s2)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function strtok_r
-include <string.h>
-declaration char *strtok_r(char *_RESTRICT_KYWD s1, \
- const char *_RESTRICT_KYWD s2, \
- char **_RESTRICT_KYWD lasts)
-version i386=SUNW_0.7 sparc=SISCD_2.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function strtol
-include <stdlib.h>
-declaration long strtol(const char *_RESTRICT_KYWD str, \
- char **_RESTRICT_KYWD endptr, int base)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno ERANGE EINVAL
-exception errno != 0
-end
-
-function strtold
-include <stdlib.h>
-declaration long double strtold(const char *_RESTRICT_KYWD str, \
- char **_RESTRICT_KYWD endptr)
-version SUNW_1.22
-errno ERANGE EINVAL
-exception errno != 0
-end
-
-function strtoll
-include <stdlib.h>
-declaration long long strtoll(const char *_RESTRICT_KYWD str, \
- char **_RESTRICT_KYWD endptr, int base)
-version SUNW_0.7
-errno ERANGE EINVAL
-exception errno != 0
-end
-
-function strtoul
-include <stdlib.h>
-declaration unsigned long strtoul(const char *_RESTRICT_KYWD str, \
- char **_RESTRICT_KYWD endptr, int base)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EINVAL ERANGE
-exception errno != 0
-end
-
-function strtoull
-include <stdlib.h>
-declaration unsigned long long strtoull(const char *_RESTRICT_KYWD str, \
- char **_RESTRICT_KYWD endptr, \
- int base)
-version SUNW_0.7
-errno EINVAL ERANGE
-exception errno != 0
-end
-
-function strtoumax
-include <inttypes.h>
-declaration uintmax_t strtoumax(const char *_RESTRICT_KYWD nptr, \
- char **_RESTRICT_KYWD endptr, int base)
-version SUNW_1.22
-end
-
-function _strtoumax_c89
-include <inttypes.h>
-declaration uint32_t _strtoumax_c89(const char *nptr, \
- char **endptr, int base)
-arch sparc i386
-version SUNWprivate_1.1
-end
-
-function swab
-include <unistd.h>
-declaration void swab(const char *_RESTRICT_KYWD src, \
- char *_RESTRICT_KYWD dest, ssize_t nbytes)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function _swab
-weak swab
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function swapcontext
-include <ucontext.h>
-declaration int swapcontext(ucontext_t *_RESTRICT_KYWD oucp, \
- const ucontext_t *_RESTRICT_KYWD ucp)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EFAULT ENOMEM
-exception $return == -1
-end
-
-function _swapcontext
-weak swapcontext
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function swapctl
-include <sys/stat.h>, <sys/swap.h>
-declaration int swapctl(int cmd, void *arg)
-version SUNW_0.7
-errno EEXIST EFAULT EINVAL EISDIR ELOOP ENAMETOOLONG ENOENT ENOMEM \
- ENOSYS ENOTDIR EPERM EROFS
-exception $return == -1
-end
-
-function sync_instruction_memory
-declaration void sync_instruction_memory(caddr_t addr, int len)
-version SUNW_1.1
-end
-
-function sysconf
-include <unistd.h>
-declaration long sysconf(int name)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EINVAL
-exception $return == -1 && errno != 0
-end
-
-function _sysconf
-weak sysconf
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function syslog
-include <syslog.h>
-declaration void syslog(int priority, const char *message, ...)
-version SUNW_0.7
-end
-
-function _syslog
-weak syslog
-version SUNW_0.7
-end
-
-function tcdrain
-include <termios.h>
-declaration int tcdrain(int fildes)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EBADF EINTR ENOTTY EIO
-exception ($return == -1)
-end
-
-function _tcdrain
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function tcflow
-include <termios.h>
-declaration int tcflow(int fildes, int action)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EBADF EINVAL ENOTTY EIO
-exception ($return == -1)
-end
-
-function _tcflow
-weak tcflow
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function tcflush
-include <termios.h>
-declaration int tcflush(int fildes, int queue_selector)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EBADF EINVAL ENOTTY EIO
-exception ($return == -1)
-end
-
-function _tcflush
-weak tcflush
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function tcgetattr
-include <termios.h>
-declaration int tcgetattr(int fildes, struct termios *termios_p)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EBADF ENOTTY
-exception ($return == -1)
-end
-
-function _tcgetattr
-weak tcgetattr
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function tcgetpgrp
-include <sys/types.h>, <unistd.h>
-declaration pid_t tcgetpgrp(int fildes)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EBADF ENOTTY
-exception ($return == -1)
-end
-
-function _tcgetpgrp
-weak tcgetpgrp
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function tcgetsid
-include <termios.h>
-declaration pid_t tcgetsid(int fildes)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EACCES EBADF ENOTTY
-exception ($return == -1)
-end
-
-function _tcgetsid
-weak tcgetsid
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function tcsendbreak
-include <termios.h>
-declaration int tcsendbreak(int fildes, int duration)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EBADF ENOTTY EIO
-exception ($return == -1)
-end
-
-function _tcsendbreak
-weak tcsendbreak
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function tcsetattr
-include <termios.h>
-declaration int tcsetattr(int fildes, int optional_actions, \
- const struct termios *termios_p)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EBADF EINTR EINVAL ENOTTY EIO
-exception ($return == -1)
-end
-
-function _tcsetattr
-weak tcsetattr
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function tcsetpgrp
-include <sys/types.h>, <unistd.h>
-declaration int tcsetpgrp(int fildes, pid_t pgid_id)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EBADF EINVAL ENOTTY EPERM
-exception ($return == -1)
-end
-
-function _tcsetpgrp
-weak tcsetpgrp
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function tdelete
-include <search.h>
-declaration void *tdelete(const void *_RESTRICT_KYWD key, \
- void **_RESTRICT_KYWD rootp, \
- int (*compar)(const void *, const void *))
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-exception $return == 0
-end
-
-function _tdelete
-weak tdelete
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function telldir
-include <dirent.h>
-declaration long int telldir(DIR *dirp)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function _telldir
-weak telldir
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function tfind
-include <search.h>
-declaration void *tfind(const void *key, void *const *rootp, \
- int (*compar)(const void *, const void *))
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-exception $return == 0
-end
-
-function _tfind
-weak tfind
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function truncate
-include <unistd.h>
-declaration int truncate(const char *path, off_t length)
-version SUNW_0.7
-errno EINTR EINVAL EFBIG EIO EACCES EFAULT EISDIR ELOOP EMFILE \
- EMULTIHOP ENAMETOOLONG ENOENT ENFILE ENOTDIR ENOLINK \
- EROFS EAGAIN EBADF
-exception $return == -1
-end
-
-function _truncate
-weak truncate
-version SUNWprivate_1.1
-end
-
-function tsearch
-include <search.h>
-declaration void *tsearch(const void *key, void **rootp, \
- int (*compar)(const void *, const void *))
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-exception $return == 0
-end
-
-function _tsearch
-weak tsearch
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function ttyname
-include <unistd.h>
-declaration char *ttyname(int fildes)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno ERANGE EBADF ENOTTY
-exception $return == 0
-end
-
-function ttyname_r
-include <unistd.h>, <limits.h>
-declaration char *ttyname_r(int fildes, char *name, int namelen)
-version i386=SUNW_0.7 sparc=SISCD_2.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno ERANGE EBADF ENOTTY
-exception $return == 0
-end
-
-function ttyslot
-include <stdlib.h>
-declaration int ttyslot(void)
-version SUNW_0.7
-exception $return == -1
-end
-
-function twalk
-include <search.h>
-declaration void twalk(const void *root, \
- void (*action)(const void *, VISIT, int))
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function _twalk
-weak twalk
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function tzset
-include <time.h>
-declaration void tzset(void)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function _tzset
-weak tzset
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function ulckpwdf
-include <shadow.h>
-declaration int ulckpwdf(void)
-version SUNW_0.7
-exception $return == -1
-end
-
-function unlockpt
-include <stdlib.h>
-declaration int unlockpt(int fildes)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EBADF EINVAL
-exception $return == -1
-end
-
-function _unlockpt
-weak unlockpt
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function unsetenv
-include <stdlib.h>
-declaration int unsetenv(const char *name)
-version SUNW_1.22
-errno ENOMEM
-exception $return != 0
-end
-
-function _unsetenv # extends libc/spec/gen.spec unsetenv
-weak unsetenv
-#Declaration /* Unknown */
-version SUNWprivate_1.1
-end
-
-function updwtmp
-include <utmpx.h>
-declaration void updwtmp(const char *wfile, struct utmp *utmp)
-version SUNW_0.7
-end
-
-function updwtmpx
-include <utmpx.h>
-declaration void updwtmpx(const char *wfilex, struct utmpx *utmpx)
-version SUNW_0.7
-end
-
-function usleep
-include <unistd.h>
-declaration int usleep(useconds_t useconds)
-version SUNW_0.9
-errno EINVAL
-exception $return == -1
-end
-
-function _usleep
-weak usleep
-version SUNWprivate_1.1
-end
-
-function utmpname
-include <utmp.h>
-declaration int utmpname(const char *file)
-version SUNW_0.7
-exception $return == 0
-end
-
-function utmpxname
-include <utmpx.h>
-declaration int utmpxname(const char *file)
-version SUNW_0.7
-exception $return == 1
-end
-
-function valloc
-include <stdlib.h>, <alloca.h>
-declaration void *valloc(size_t size)
-version SUNW_0.7
-errno ENOMEM EAGAIN
-exception $return == 0
-binding nodirect
-end
-
-function vlfmt
-include <pfmt.h>, <stdarg.h>
-declaration int vlfmt(FILE *stream, long flags, const char *format, \
- va_list ap)
-version SUNW_0.8
-exception $return == -1 || $return == -2
-end
-
-function vpfmt
-include <pfmt.h>, <stdarg.h>
-declaration int vpfmt(FILE *stream, long flags, const char *format, \
- va_list ap)
-version SUNW_0.8
-exception $return == -1
-end
-
-function vsyslog
-include <syslog.h>
-declaration void vsyslog(int priority, const char *message, va_list ap)
-version SUNW_0.7
-end
-
-function wait3
-include <sys/wait.h>, <sys/time.h>, <sys/resource.h>
-declaration pid_t wait3(int *statusp, int options, struct rusage *rusage)
-version SUNW_0.9
-errno ECHILD EFAULT EINTR EINVAL
-exception $return == -1
-end
-
-function _wait3
-weak wait3
-version SUNWprivate_1.1
-end
-
-function wait4
-include <sys/wait.h>, <sys/time.h>, <sys/resource.h>
-declaration pid_t wait4(pid_t pid, int *statusp, int options, \
- struct rusage *rusage)
-version SUNW_0.9
-errno ECHILD EFAULT EINTR EINVAL
-exception $return == -1
-end
-
-function waitpid
-include <sys/types.h>, <sys/wait.h>
-declaration pid_t waitpid(pid_t pid, int *stat_loc, int options)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno ECHILD EINTR EINVAL
-exception $return == -1
-end
-
-function _waitpid
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function walkcontext
-include <ucontext.h> <sys/types.h>
-declaration int walkcontext(const ucontext_t *uptr, \
- int (*func)(uintptr_t pc, int signo, \
- void * usrarg), void * usrarg);
-version sparc=SUNW_1.21 i386=SUNW_1.21 sparcv9=SUNW_1.22 \
- amd64=SUNW_1.22
-exception $return == -1
-end
-
-function _walkcontext
-weak walkcontext
-version SUNWprivate_1.1
-end
-
-function select_large_fdset
-include <sys/types.h>, <sys/time.h>, <sys/poll.h>, <sys/select.h>
-declaration int select_large_fdset(int nfds, \
- fd_set *_RESTRICT_KYWD readfds, \
- fd_set *_RESTRICT_KYWD writefds, \
- fd_set *_RESTRICT_KYWD errorfds, \
- struct timeval *_RESTRICT_KYWD timeout)
-arch sparc i386
-version SUNW_1.18
-errno EBADF EINTR EINVAL
-exception $return == -1
-end
-
-function pselect_large_fdset
-include <sys/types.h>, <sys/time.h>, <sys/poll.h>, <sys/select.h>
-declaration int pselect_large_fdset(int nfds, \
- fd_set *_RESTRICT_KYWD readfds, \
- fd_set *_RESTRICT_KYWD writefds, \
- fd_set *_RESTRICT_KYWD errorfds, \
- const struct timespec *_RESTRICT_KYWD timeout, \
- const sigset_t *_RESTRICT_KYWD sigmask)
-arch sparc i386
-version SUNW_1.22
-errno EBADF EINTR EINVAL
-exception $return == -1
-end
-
-function atoll
-include <stdlib.h>
-declaration long long atoll(const char *str)
-version SUNW_0.7
-end
-
-function _atoll
-weak atoll
-version SUNWprivate_1.1
-end
-
-function lltostr
-include <stdlib.h>
-declaration char *lltostr(long long value, char *endptr)
-version SUNW_0.7
-end
-
-function _lltostr
-weak lltostr
-version SUNWprivate_1.1
-end
-
-function ulltostr
-include <stdlib.h>
-declaration char *ulltostr(unsigned long long value, char *endptr)
-version SUNW_0.7
-end
-
-function isaexec
-include <unistd.h>
-declaration int isaexec(const char *path, char *const argv[], \
- char *const envp[])
-version SUNW_1.18
-end
-
-function priv_ineffect
-include <priv.h>
-declaration boolean_t priv_ineffect(const char *)
-version SUNW_1.22
-exception $return == B_FALSE
-errno ENOMEM EINVAL
-end
-
-function _priv_ineffect
-weak priv_ineffect
-version SUNW_1.22
-end
-
-function priv_set
-include <priv.h>
-declaration int priv_set(priv_op_t, priv_ptype_t, ...)
-version SUNW_1.22
-exception $return != 0
-errno ENOMEM EPERM EINVAL
-end
-
-function _priv_set
-weak priv_set
-version SUNW_1.22
-end
-
-function priv_str_to_set
-include <priv.h>
-declaration priv_set_t *priv_str_to_set(const char *, const char *, const char **)
-version SUNW_1.22
-exception $return == 0
-errno ENOMEM EINVAL
-end
-
-function _priv_str_to_set
-weak priv_str_to_set
-version SUNW_1.22
-end
-
-function __priv_set_to_str
-include <priv.h>
-declaration char *__priv_set_to_str(void *, const priv_set_t *, char, int)
-version SUNW_1.22
-exception $return == 0
-errno ENOSYS ENOMEM
-end
-
-function priv_set_to_str
-include <priv.h>
-declaration char *priv_set_to_str(const priv_set_t *, char, int)
-version SUNW_1.22
-exception $return == 0
-errno ENOSYS ENOMEM
-end
-
-function _priv_set_to_str
-weak priv_set_to_str
-version SUNW_1.22
-end
-
-function __priv_free_info
-include <priv.h>
-declaration void __priv_free_info(void *)
-version SUNW_1.22
-end
-
-function __priv_parse_info
-include <priv.h>
-declaration void *__priv_parse_info(priv_impl_info_t *)
-version SUNW_1.22
-end
-
-function __priv_getsetbynum
-include <priv.h>
-declaration const char *__priv_getsetbynum(int, void *)
-version SUNW_1.22
-exception $return == 0
-errno EINVAL
-end
-
-function __priv_getdata
-version SUNW_1.22
-end
-
-function __priv_getbynum
-include <priv.h>
-declaration const char *__priv_getbynum(int, void *)
-version SUNW_1.22
-exception $return == 0
-errno EINVAL
-end
-
-function priv_getbynum
-include <priv.h>
-declaration const char *priv_getbynum(int)
-version SUNW_1.22
-exception $return == 0
-errno EINVAL
-end
-
-function _priv_getbynum
-weak priv_getbynum
-version SUNW_1.22
-end
-
-function priv_getsetbynum
-include <priv.h>
-declaration const char *priv_getsetbynum(int)
-version SUNW_1.22
-exception $return == 0
-errno EINVAL
-end
-
-function _priv_getsetbynum
-weak priv_getsetbynum
-version SUNW_1.22
-end
-
-function __priv_getsetbyname
-include <priv.h>
-declaration int __priv_getsetbyname(const char *, void *)
-version SUNW_1.22
-exception $return == -1
-errno EINVAL
-end
-
-function __priv_getbyname
-include <priv.h>
-declaration int __priv_getbyname(const char *, void *)
-version SUNW_1.22
-exception $return == -1
-errno EINVAL
-end
-
-function priv_getbyname
-include <priv.h>
-declaration int priv_getbyname(const char *)
-version SUNW_1.22
-exception $return == -1
-errno EINVAL
-end
-
-function _priv_getbyname
-weak priv_getbyname
-version SUNW_1.22
-end
-
-function priv_getsetbyname
-include <priv.h>
-declaration int priv_getsetbyname(const char *)
-version SUNW_1.22
-exception $return == -1
-errno EINVAL
-end
-
-function _priv_getsetbyname
-weak priv_getsetbyname
-version SUNW_1.22
-end
-
-function priv_gettext
-include <priv.h>
-declaration char *priv_gettext(const char *)
-version SUNW_1.22
-exception $return == 0
-end
-
-function _priv_gettext
-weak priv_gettext
-version SUNW_1.22
-end
-
-function priv_allocset
-include <priv.h>
-declaration priv_set_t *priv_allocset(void)
-version SUNW_1.22
-exception $return == 0
-errno ENOMEM
-end
-
-function _priv_allocset
-weak priv_allocset
-version SUNW_1.22
-end
-
-function priv_freeset
-include <priv.h>
-declaration void priv_freeset(priv_set_t *)
-version SUNW_1.22
-end
-
-function _priv_freeset
-weak priv_freeset
-version SUNW_1.22
-end
-
-function priv_emptyset
-include <priv.h>
-declaration void priv_emptyset(priv_set_t *)
-version SUNW_1.22
-end
-
-function _priv_emptyset
-weak priv_emptyset
-version SUNW_1.22
-end
-
-function priv_fillset
-include <priv.h>
-declaration void priv_fillset(priv_set_t *)
-version SUNW_1.22
-end
-
-function _priv_fillset
-weak priv_fillset
-version SUNW_1.22
-end
-
-function priv_isemptyset
-include <priv.h>
-declaration boolean_t priv_isemptyset(const priv_set_t *)
-version SUNW_1.22
-end
-
-function _priv_isemptyset
-weak priv_isemptyset
-version SUNW_1.22
-end
-
-function priv_isfullset
-include <priv.h>
-declaration boolean_t priv_isfullset(const priv_set_t *)
-version SUNW_1.22
-end
-
-function _priv_isfullset
-weak priv_isfullset
-version SUNW_1.22
-end
-
-function priv_isequalset
-include <priv.h>
-declaration boolean_t priv_isequalset(const priv_set_t *, const priv_set_t *)
-version SUNW_1.22
-end
-
-function _priv_isequalset
-weak priv_isequalset
-version SUNW_1.22
-end
-
-function priv_issubset
-include <priv.h>
-declaration boolean_t priv_issubset(const priv_set_t *, const priv_set_t *)
-version SUNW_1.22
-end
-
-function _priv_issubset
-weak priv_issubset
-version SUNW_1.22
-end
-
-function priv_intersect
-include <priv.h>
-declaration void priv_intersect(const priv_set_t *, priv_set_t *)
-version SUNW_1.22
-end
-
-function _priv_intersect
-weak priv_intersect
-version SUNW_1.22
-end
-
-function priv_union
-include <priv.h>
-declaration void priv_union(const priv_set_t *, priv_set_t *)
-version SUNW_1.22
-end
-
-function _priv_union
-weak priv_union
-version SUNW_1.22
-end
-
-function priv_inverse
-include <priv.h>
-declaration void priv_inverse(priv_set_t *)
-version SUNW_1.22
-end
-
-function _priv_inverse
-weak priv_inverse
-version SUNW_1.22
-end
-
-function priv_addset
-include <priv.h>
-declaration int priv_addset(priv_set_t *, const char *)
-version SUNW_1.22
-end
-
-function _priv_addset
-weak priv_addset
-version SUNW_1.22
-end
-
-function priv_delset
-include <priv.h>
-declaration int priv_delset(priv_set_t *, const char *)
-version SUNW_1.22
-end
-
-function _priv_delset
-weak priv_delset
-version SUNW_1.22
-end
-
-function priv_copyset
-include <priv.h>
-declaration void priv_copyset(const priv_set_t *, priv_set_t *)
-version SUNW_1.22
-end
-
-function _priv_copyset
-weak priv_copyset
-version SUNW_1.22
-end
-
-function priv_ismember
-include <priv.h>
-declaration boolean_t priv_ismember(const priv_set_t *, const char *)
-version SUNW_1.22
-end
-
-function _priv_ismember
-weak priv_ismember
-version SUNW_1.22
-end
-
-function ucred_get
-include <ucred.h>
-declaration ucred_t *ucred_get(pid_t pid)
-version SUNW_1.22
-end
-
-function _ucred_get
-weak ucred_get
-version SUNW_1.22
-end
-
-function _ucred_alloc
-include <ucred.h>
-declaration ucred_t *_ucred_alloc(void)
-version SUNWprivate_1.1
-end
-
-function ucred_free
-include <ucred.h>
-declaration void ucred_free(ucred_t *)
-version SUNW_1.22
-end
-
-function _ucred_free
-weak ucred_free
-version SUNW_1.22
-end
-
-function ucred_geteuid
-include <ucred.h>
-declaration uid_t ucred_geteuid(const ucred_t *)
-version SUNW_1.22
-end
-
-function _ucred_geteuid
-weak ucred_geteuid
-version SUNW_1.22
-end
-
-function ucred_getruid
-include <ucred.h>
-declaration uid_t ucred_getruid(const ucred_t *)
-version SUNW_1.22
-end
-
-function _ucred_getruid
-weak ucred_getruid
-version SUNW_1.22
-end
-
-function ucred_getsuid
-include <ucred.h>
-declaration uid_t ucred_getsuid(const ucred_t *)
-version SUNW_1.22
-end
-
-function _ucred_getsuid
-weak ucred_getsuid
-version SUNW_1.22
-end
-
-function ucred_getegid
-include <ucred.h>
-declaration gid_t ucred_getegid(const ucred_t *)
-version SUNW_1.22
-end
-
-function _ucred_getegid
-weak ucred_getegid
-version SUNW_1.22
-end
-
-function ucred_getrgid
-include <ucred.h>
-declaration gid_t ucred_getrgid(const ucred_t *)
-version SUNW_1.22
-end
-
-function _ucred_getrgid
-weak ucred_getrgid
-version SUNW_1.22
-end
-
-function ucred_getsgid
-include <ucred.h>
-declaration gid_t ucred_getsgid(const ucred_t *)
-version SUNW_1.22
-end
-
-function _ucred_getsgid
-weak ucred_getsgid
-version SUNW_1.22
-end
-
-function ucred_getgroups
-include <ucred.h>
-declaration int ucred_getgroups(const ucred_t *, const gid_t **)
-version SUNW_1.22
-end
-
-function _ucred_getgroups
-weak ucred_getgroups
-version SUNW_1.22
-end
-
-function ucred_getprivset
-include <ucred.h>
-declaration const priv_set_t *ucred_getprivset(const ucred_t *, priv_ptype_t)
-version SUNW_1.22
-end
-
-function _ucred_getprivset
-weak ucred_getprivset
-version SUNW_1.22
-end
-
-function ucred_getpid
-include <ucred.h>
-declaration pid_t ucred_getpid(const ucred_t *)
-version SUNW_1.22
-end
-
-function _ucred_getpid
-weak ucred_getpid
-version SUNW_1.22
-end
-
-function ucred_getprojid
-include <ucred.h>
-declaration projid_t ucred_getprojid(const ucred_t *)
-version SUNW_1.22
-end
-
-function _ucred_getprojid
-weak ucred_getprojid
-version SUNW_1.22
-end
-
-function ucred_getzoneid
-include <ucred.h>
-declaration zoneid_t ucred_getzoneid(const ucred_t *)
-version SUNW_1.22
-end
-
-function _ucred_getzoneid
-weak ucred_getzoneid
-version SUNW_1.22
-end
-
-function ucred_getlabel
-include <ucred.h>
-declaration bslabel_t *ucred_getlabel(const ucred_t *)
-version SUNW_1.23
-end
-
-function _ucred_getlabel
-weak ucred_getlabel
-version SUNW_1.23
-end
-
-function ucred_getpflags
-include <ucred.h>
-declaration uint_t ucred_getpflags(const ucred_t *, uint_t)
-version SUNW_1.22
-end
-
-function _ucred_getpflags
-weak ucred_getpflags
-version SUNW_1.22
-end
-
-function zonept
-include <stdlib.h> <sys/zone.h>
-declaration int zonept(int filedes, zoneid_t zoneid)
-version SUNWprivate_1.1
-errno EBADF EINVAL
-exception $return == -1
-end
-
-function getpeerucred
-include <ucred.h>
-declaration int getpeerucred(int, ucred_t **)
-version SUNW_1.22
-exception $return == -1
-errno EINVAL ENOTCONN EBADF EAGAIN ENOTSUP EFAULT
-end
-
-function _getpeerucred
-weak getpeerucred
-version SUNW_1.22
-end
-
-function port_create
-include <port.h>
-declaration int port_create()
-version SUNW_1.22
-errno EAGAIN EMFILE
-end
-
-function _port_create
-weak port_create
-version SUNWprivate_1.1
-end
-
-function port_associate
-include <port.h>
-declaration int port_associate(int port, int source, uintptr_t object, \
- int events, void *user)
-version SUNW_1.22
-errno ENOMEM EINVAL EBADF EBADFD EAGAIN
-end
-
-function _port_associate
-weak port_associate
-version SUNWprivate_1.1
-end
-
-function port_dissociate
-include <port.h>
-declaration int port_dissociate(int port, int type, uintptr_t object)
-version SUNW_1.22
-errno EINVAL EBADF EBADFD EACCES
-end
-
-function _port_dissociate
-weak port_dissociate
-version SUNWprivate_1.1
-end
-
-
-function port_get
-include <port.h>
-declaration int port_get(int port, port_event_t *pe, \
- struct timespec *timeout)
-version SUNW_1.22
-errno EFAULT EINVAL EBADF EBADFD EINTR ETIME
-end
-
-function _port_get
-weak port_get
-version SUNWprivate_1.1
-end
-
-function port_getn
-include <port.h>
-declaration int port_getn(int port, port_event_t list[], uint_t nent, \
- uint_t *nwait, struct timespec *timeout)
-version SUNW_1.22
-errno EFAULT EINVAL EBADF EBADFD EINTR ETIME
-end
-
-function _port_getn
-weak port_getn
-version SUNWprivate_1.1
-end
-
-function port_send
-include <port.h>
-declaration int port_send(int port, int events, void *user)
-version SUNW_1.22
-errno EAGAIN EBADF EBADFD ENOMEM
-end
-
-function _port_send
-weak port_send
-version SUNWprivate_1.1
-end
-
-function port_sendn
-include <port.h>
-declaration int port_sendn(int ports[], int errors[], uint_t nent, \
- int events, void *user)
-version SUNW_1.22
-errno EAGAIN EBADF EBADFD ENOMEM EINVAL EFAULT EIO
-end
-
-function _port_sendn
-weak port_sendn
-version SUNWprivate_1.1
-end
-
-function port_alert
-include <port.h>
-declaration int port_alert(int port, int flags, int events, void *user)
-version SUNW_1.22
-errno EBADF EBADFD EBUSY EINVAL
-end
-
-function _port_alert
-weak port_alert
-version SUNWprivate_1.1
-end
-
-function ucred_size
-include <ucred.h>
-declaration size_t ucred_size(void)
-version SUNW_1.22
-end
-
-function _ucred_size
-weak ucred_size
-version SUNW_1.22
-end
-
-function ucred_getauid
-include <ucred.h>, <bsm/audit.h>
-declaration au_id_t ucred_getauid(const ucred_t *)
-version SUNWprivate_1.1
-end
-
-function _ucred_getauid
-weak ucred_getauid
-version SUNWprivate_1.1
-end
-
-function ucred_getasid
-include <ucred.h>, <bsm/audit.h>
-declaration au_asid_t ucred_getasid(const ucred_t *)
-version SUNWprivate_1.1
-end
-
-function _ucred_getasid
-weak ucred_getasid
-version SUNWprivate_1.1
-end
-
-function ucred_getamask
-include <ucred.h>, <bsm/audit.h>
-declaration const au_mask_t *ucred_getamask(const ucred_t *)
-version SUNWprivate_1.1
-end
-
-function _ucred_getamask
-weak ucred_getamask
-version SUNWprivate_1.1
-end
-
-function ucred_getatid
-include <ucred.h>, <bsm/audit.h>
-declaration const au_tid64_addr_t *ucred_getatid(const ucred_t *)
-version SUNWprivate_1.1
-end
-
-function _ucred_getatid
-weak ucred_getatid
-version SUNWprivate_1.1
-end
diff --git a/usr/src/lib/libc/spec/i18n.spec b/usr/src/lib/libc/spec/i18n.spec
deleted file mode 100644
index b6b830910f..0000000000
--- a/usr/src/lib/libc/spec/i18n.spec
+++ /dev/null
@@ -1,914 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-function bindtextdomain
-include <libintl.h>, <locale.h>
-declaration char *bindtextdomain(const char *domainname, const char *dirname)
-version SUNW_1.1
-end
-
-function bind_textdomain_codeset
-include <libintl.h>
-declaration char *bind_textdomain_codeset(const char *domainname, \
- const char *codeset)
-version SUNW_1.21
-end
-
-function dcgettext
-include <libintl.h>, <locale.h>
-declaration char *dcgettext(const char *domainname, const char *msgid, \
- int category)
-version SUNW_1.1
-end
-
-function dcngettext
-include <libintl.h>, <locale.h>
-declaration char *dcngettext(const char *domainname, \
- const char *msgid1, const char *msgid2, \
- unsigned long int n, int category)
-version SUNW_1.21
-end
-
-function dgettext
-include <libintl.h>, <locale.h>
-declaration char *dgettext(const char *domainname, const char *msgid)
-version SUNW_1.1
-end
-
-function dngettext
-include <libintl.h>
-declaration char *dngettext(const char *domainname, \
- const char *msgid1, const char *msgid2, \
- unsigned long int n)
-version SUNW_1.21
-end
-
-function fgetwc
-include <stdio.h>, <wchar.h>
-declaration wint_t fgetwc(FILE *stream)
-version SUNW_1.1
-errno EAGAIN EBADF EINTR EIO EOVERFLOW ENOMEM ENXIO EILSEQ
-exception $return == WEOF && errno != 0
-end
-
-function finite
-include <ieeefp.h>
-declaration int finite(double dsrc)
-version SUNW_0.7
-exception $return == 0
-end
-
-function fnmatch
-include <fnmatch.h>
-declaration int fnmatch(const char *pattern, const char *string, int flags)
-version SUNW_0.8
-exception $return != 0 && $return != FNM_NOMATCH
-end
-
-function fpclass
-include <ieeefp.h>
-declaration fpclass_t fpclass(double dsrc)
-version SUNW_0.7
-exception $return == 0
-end
-
-function fputwc
-include <stdio.h>, <wchar.h>
-declaration wint_t fputwc(wint_t wc, FILE *stream)
-version SUNW_1.1
-errno EAGAIN EBADF EFBIG EINTR EIO ENOSPC EPIPE ENOMEM ENXIO EILSEQ
-exception $return == WEOF && errno != 0
-end
-
-function fputws
-include <stdio.h>, <wchar.h>
-declaration int fputws(const wchar_t *_RESTRICT_KYWD s, \
- FILE *_RESTRICT_KYWD stream)
-version SUNW_1.1
-exception $return == -1
-end
-
-function gettext
-include <libintl.h>, <locale.h>
-declaration char *gettext(const char *msgid)
-version SUNW_1.1
-end
-
-function getwc
-include <stdio.h>, <wchar.h>
-declaration wint_t getwc(FILE *stream)
-version SUNW_1.1
-errno EAGAIN EBADF EINTR EIO EOVERFLOW ENOMEM ENXIO EILSEQ
-exception $return == WEOF && errno != 0
-end
-
-function getwchar
-include <wchar.h>
-declaration wint_t getwchar(void)
-version SUNW_1.1
-errno EAGAIN EBADF EINTR EIO EOVERFLOW ENOMEM ENXIO EILSEQ
-exception $return == WEOF && errno != 0
-end
-
-function isalnum
-include <ctype.h>, <limits.h>
-declaration int isalnum(int c)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-exception $return == 0
-end
-
-function isalpha
-include <ctype.h>, <limits.h>
-declaration int isalpha(int c)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-exception $return == 0
-end
-
-function isascii
-include <ctype.h>, <limits.h>
-declaration int isascii(int c)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-exception $return == 0
-end
-
-function _isascii
-weak isascii
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function isblank
-include <ctype.h>
-declaration int isblank(int c)
-version SUNW_1.22
-exception $return == 0
-end
-
-function iscntrl
-include <ctype.h>, <limits.h>
-declaration int iscntrl(int c)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-exception $return == 0
-end
-
-function isdigit
-include <ctype.h>, <limits.h>
-declaration int isdigit(int c)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-exception $return == 0
-end
-
-function isenglish
-include <wchar.h>
-declaration int isenglish(wint_t wc)
-version SUNW_1.1
-exception $return == 0
-end
-
-function isgraph
-include <ctype.h>, <limits.h>
-declaration int isgraph(int c)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-exception $return == 0
-end
-
-function isideogram
-include <wchar.h>
-declaration int isideogram(wint_t wc)
-version SUNW_1.1
-exception $return == 0
-end
-
-function islower
-include <ctype.h>, <limits.h>
-declaration int islower(int c)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-exception $return == 0
-end
-
-function isnumber
-include <wchar.h>
-declaration int isnumber(wint_t wc)
-version SUNW_1.1
-exception $return == 0
-end
-
-function isphonogram
-include <wchar.h>
-declaration int isphonogram(wint_t wc)
-version SUNW_1.1
-exception $return == 0
-end
-
-function isprint
-include <ctype.h>, <limits.h>
-declaration int isprint(int c)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-exception $return == 0
-end
-
-function ispunct
-include <ctype.h>, <limits.h>
-declaration int ispunct(int c)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-exception $return == 0
-end
-
-function isspace
-include <ctype.h>, <limits.h>
-declaration int isspace(int c)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-exception $return == 0
-end
-
-function isspecial
-include <wchar.h>
-declaration int isspecial(wint_t wc)
-version SUNW_1.1
-exception $return == 0
-end
-
-function isupper
-include <ctype.h>, <limits.h>
-declaration int isupper(int c)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-exception $return == 0
-end
-
-function iswalnum
-include <wchar.h>
-declaration int iswalnum(wint_t wc)
-version SUNW_1.1
-exception $return == 0
-end
-
-function iswalpha
-include <wchar.h>
-declaration int iswalpha(wint_t wc)
-version SUNW_1.1
-exception $return == 0
-end
-
-function iswblank
-include <wctype.h>
-declaration int iswblank(wint_t c)
-version SUNW_1.22
-exception $return == 0
-end
-
-function iswcntrl
-include <wchar.h>
-declaration int iswcntrl(wint_t wc)
-version SUNW_1.1
-exception $return == 0
-end
-
-function iswctype
-include <wchar.h>
-declaration int iswctype(wint_t wc, wctype_t charclass)
-version SUNW_1.1
-exception $return == 0
-end
-
-function iswdigit
-include <wchar.h>
-declaration int iswdigit(wint_t wc)
-version SUNW_1.1
-exception $return == 0
-end
-
-function iswgraph
-include <wchar.h>
-declaration int iswgraph(wint_t wc)
-version SUNW_1.1
-exception $return == 0
-end
-
-function iswlower
-include <wchar.h>
-declaration int iswlower(wint_t wc)
-version SUNW_1.1
-exception $return == 0
-end
-
-function iswprint
-include <wchar.h>
-declaration int iswprint(wint_t wc)
-version SUNW_1.1
-exception $return == 0
-end
-
-function iswpunct
-include <wchar.h>
-declaration int iswpunct(wint_t wc)
-version SUNW_1.1
-exception $return == 0
-end
-
-function iswspace
-include <wchar.h>
-declaration int iswspace(wint_t wc)
-version SUNW_1.1
-exception $return == 0
-end
-
-function iswupper
-include <wchar.h>
-declaration int iswupper(wint_t wc)
-version SUNW_1.1
-exception $return == 0
-end
-
-function iswxdigit
-include <wchar.h>
-declaration int iswxdigit(wint_t wc)
-version SUNW_1.1
-exception $return == 0
-end
-
-function isxdigit
-include <ctype.h>, <limits.h>
-declaration int isxdigit(int c)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-exception $return == 0
-end
-
-function localeconv
-include <locale.h>
-declaration struct lconv *localeconv(void)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function mblen
-include <stdlib.h>
-declaration int mblen(const char *s, size_t n)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EILSEQ
-exception $return == 0
-end
-
-function mbstowcs
-include <stdlib.h>
-declaration size_t mbstowcs(wchar_t *_RESTRICT_KYWD pwcs, \
- const char *_RESTRICT_KYWD s, size_t n)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-exception $return == -1
-end
-
-function mbtowc
-include <stdlib.h>
-declaration int mbtowc(wchar_t *_RESTRICT_KYWD pwc, \
- const char *_RESTRICT_KYWD s, size_t n)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EILSEQ
-exception $return == -1
-end
-
-function ngettext
-include <libintl.h>
-declaration char *ngettext(const char *msgid1, const char *msgid2, \
- unsigned long int n)
-version SUNW_1.21
-end
-
-function nl_langinfo
-include <langinfo.h>
-declaration char *nl_langinfo(nl_item item)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function _nl_langinfo
-weak nl_langinfo
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function putwc
-include <stdio.h>, <wchar.h>
-declaration wint_t putwc(wint_t wc, FILE *stream)
-version SUNW_1.1
-errno EAGAIN EBADF EFBIG EINTR EIO ENOSPC EPIPE ENOMEM ENXIO EILSEQ
-exception $return == WEOF && errno != 0
-end
-
-function putwchar
-include <wchar.h>
-declaration wint_t putwchar(wint_t wc)
-version SUNW_1.1
-errno EAGAIN EBADF EFBIG EINTR EIO ENOSPC EPIPE ENOMEM ENXIO EILSEQ
-exception $return == WEOF && errno != 0
-end
-
-function regcomp
-include <sys/types.h>, <regex.h>
-declaration int regcomp(regex_t *_RESTRICT_KYWD preg, \
- const char *_RESTRICT_KYWD pattern, int cflags)
-version SUNW_0.8
-exception $return != 0
-end
-
-function regerror
-include <sys/types.h>, <regex.h>
-declaration size_t regerror(int errcode, \
- const regex_t *_RESTRICT_KYWD preg, \
- char *_RESTRICT_KYWD errbuf, size_t errbuf_size)
-version SUNW_0.8
-exception $return == 0
-end
-
-function regexec
-include <sys/types.h>, <regex.h>
-declaration int regexec(const regex_t *_RESTRICT_KYWD preg, \
- const char *_RESTRICT_KYWD string, \
- size_t nmatch, regmatch_t *_RESTRICT_KYWD pmatch, \
- int eflags)
-version SUNW_0.8
-exception $return == REG_NOMATCH || $return == REG_ENOSYS
-end
-
-function regfree
-include <sys/types.h>, <regex.h>
-declaration void regfree(regex_t *preg)
-version SUNW_0.8
-end
-
-function setlocale
-include <locale.h>
-declaration char *setlocale(int category, const char *locale)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function strcoll
-include <string.h>
-declaration int strcoll(const char *s1, const char *s2)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function strfmon
-include <monetary.h>
-declaration ssize_t strfmon(char *_RESTRICT_KYWD s, size_t maxsize, \
- const char *_RESTRICT_KYWD format, ...)
-version SUNW_0.8
-errno ENOSYS
-exception $return == -1
-end
-
-function strptime
-include <time.h>
-declaration char *strptime(const char *_RESTRICT_KYWD buf, \
- const char *_RESTRICT_KYWD format, \
- struct tm *_RESTRICT_KYWD tm)
-version SUNW_0.8
-exception $return == 0
-end
-
-function strxfrm
-include <string.h>
-declaration size_t strxfrm(char *_RESTRICT_KYWD s1, \
- const char *_RESTRICT_KYWD s2, size_t n)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-exception $return == (size_t)-1
-end
-
-function textdomain
-include <libintl.h>, <locale.h>
-declaration char *textdomain(const char *domainname)
-version SUNW_1.1
-end
-
-function toascii
-include <ctype.h>, <limits.h>
-declaration int toascii(int c)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function _toascii
-weak toascii
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function tolower
-include <ctype.h>, <limits.h>
-declaration int tolower(int c)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function _tolower
-weak tolower
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function toupper
-include <ctype.h>, <limits.h>
-declaration int toupper(int c)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function _toupper
-weak toupper
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function towlower
-include <wchar.h>
-declaration wint_t towlower(wint_t c)
-version SUNW_1.1
-end
-
-function towupper
-include <wchar.h>
-declaration wint_t towupper(wint_t c)
-version SUNW_1.1
-end
-
-function ungetwc
-include <stdio.h>, <wchar.h>
-declaration wint_t ungetwc(wint_t wc, FILE *stream)
-version SUNW_1.1
-errno EILSEQ
-exception $return == WEOF
-end
-
-function unordered
-include <ieeefp.h>
-declaration int unordered(double dsrc1, double dsrc2)
-version SUNW_0.7
-exception $return == 0
-end
-
-function watoll
-#NOTE: long long breaks adl
-include <wchar.h>
-declaration long long watoll(wchar_t *nptr)
-version SUNW_1.1
-errno EINVAL ERANGE
-exception errno != 0
-end
-
-function wcscat
-include <wchar.h>
-declaration wchar_t *wcscat(wchar_t *_RESTRICT_KYWD ws1, \
- const wchar_t *_RESTRICT_KYWD ws2)
-version SUNW_1.1
-end
-
-function wcschr
-include <wchar.h>
-declaration wchar_t *wcschr(const wchar_t *ws, wint_t wc)
-version SUNW_1.1
-exception $return == 0
-end
-
-function wcscmp
-include <wchar.h>
-declaration int wcscmp(const wchar_t *ws1, const wchar_t *ws2)
-version SUNW_1.1
-end
-
-function wcscoll
-include <wchar.h>
-declaration int wcscoll(const wchar_t *ws1, const wchar_t *ws2)
-version SUNW_1.1
-errno EINVAL ENOSYS
-exception errno != 0
-end
-
-function wcscpy
-include <wchar.h>
-declaration wchar_t *wcscpy(wchar_t *_RESTRICT_KYWD ws1, \
- const wchar_t *_RESTRICT_KYWD ws2)
-version SUNW_1.1
-end
-
-function wcsftime
-include <wchar.h>
-declaration size_t wcsftime(wchar_t *_RESTRICT_KYWD wcs, size_t maxsize, \
- const wchar_t *_RESTRICT_KYWD format, \
- const struct tm *_RESTRICT_KYWD timptr)
-version SUNW_1.1
-exception $return == 0
-end
-
-function wcslen
-include <wchar.h>
-declaration size_t wcslen(const wchar_t *ws)
-version SUNW_1.1
-end
-
-function wcsncat
-include <wchar.h>
-declaration wchar_t *wcsncat(wchar_t *_RESTRICT_KYWD ws1, \
- const wchar_t *_RESTRICT_KYWD ws2, size_t n)
-version SUNW_1.1
-end
-
-function wcsncmp
-include <wchar.h>
-declaration int wcsncmp(const wchar_t *ws1, const wchar_t *ws2, size_t n)
-version SUNW_1.1
-end
-
-function wcsncpy
-include <wchar.h>
-declaration wchar_t *wcsncpy(wchar_t *_RESTRICT_KYWD ws1, \
- const wchar_t *_RESTRICT_KYWD ws2, size_t n)
-version SUNW_1.1
-end
-
-function wcspbrk
-include <wchar.h>
-declaration wchar_t *wcspbrk(const wchar_t *ws1, const wchar_t *ws2)
-version SUNW_1.1
-end
-
-function wcsrchr
-include <wchar.h>
-declaration wchar_t *wcsrchr(const wchar_t *ws, wchar_t wc)
-version SUNW_1.1
-exception $return == 0
-end
-
-function wcstod
-include <wchar.h>
-declaration double wcstod(const wchar_t *_RESTRICT_KYWD nptr, \
- wchar_t **_RESTRICT_KYWD endptr)
-version SUNW_1.1
-errno ERANGE EINVAL
-exception errno != 0
-end
-
-function wcstof
-include <wchar.h>
-declaration float wcstof(const wchar_t *_RESTRICT_KYWD nptr, \
- wchar_t **_RESTRICT_KYWD endptr)
-version SUNW_1.22
-errno ERANGE EINVAL
-exception errno != 0
-end
-
-function wcstoimax
-include <stddef.h>, <inttypes.h>
-declaration intmax_t wcstoimax(const wchar_t *_RESTRICT_KYWD nptr, \
- wchar_t **_RESTRICT_KYWD endptr, int base)
-version SUNW_1.22
-end
-
-function _wcstoimax_c89
-include <stddef.h>, <inttypes.h>
-declaration int32_t _wcstoimax_c89(const wchar_t *_RESTRICT_KYWD nptr, \
- wchar_t **_RESTRICT_KYWD endptr, int base)
-arch sparc i386
-version SUNWprivate_1.1
-end
-
-function wcstol
-include <wchar.h>
-declaration long int wcstol(const wchar_t *_RESTRICT_KYWD nptr, \
- wchar_t **_RESTRICT_KYWD endptr, int base)
-version SUNW_1.1
-errno EINVAL ERANGE
-exception errno != 0
-end
-
-function wcstold
-include <wchar.h>
-declaration long double wcstold(const wchar_t *_RESTRICT_KYWD nptr, \
- wchar_t **_RESTRICT_KYWD endptr)
-version SUNW_1.22
-errno ERANGE EINVAL
-exception errno != 0
-end
-
-function wcstoll
-include <wchar.h>
-declaration long long wcstoll(const wchar_t *_RESTRICT_KYWD nptr, \
- wchar_t **_RESTRICT_KYWD endptr, int base)
-version SUNW_1.22
-errno EINVAL ERANGE
-exception errno != 0
-end
-
-function wcstombs
-include <stdlib.h>
-declaration size_t wcstombs(char *_RESTRICT_KYWD s, \
- const wchar_t *_RESTRICT_KYWD pwcs, size_t n)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-exception $return == -1
-end
-
-function wcstoul
-include <wchar.h>
-declaration unsigned long int wcstoul(const wchar_t *_RESTRICT_KYWD nptr, \
- wchar_t **_RESTRICT_KYWD endptr, int base)
-version SUNW_1.1
-errno EINVAL ERANGE
-exception errno != 0
-end
-
-function wcstoull
-include <wchar.h>
-declaration unsigned long long wcstoull( \
- const wchar_t *_RESTRICT_KYWD nptr, \
- wchar_t **_RESTRICT_KYWD endptr, int base)
-version SUNW_1.22
-errno EINVAL ERANGE
-exception errno != 0
-end
-
-function wcstoumax
-include <stddef.h>, <inttypes.h>
-declaration uintmax_t wcstoumax(const wchar_t *_RESTRICT_KYWD nptr, \
- wchar_t **_RESTRICT_KYWD endptr, int base)
-version SUNW_1.22
-end
-
-function _wcstoumax_c89
-include <stddef.h>, <inttypes.h>
-declaration uint32_t _wcstoumax_c89(const wchar_t *_RESTRICT_KYWD nptr, \
- wchar_t **_RESTRICT_KYWD endptr, int base)
-arch sparc i386
-version SUNWprivate_1.1
-end
-
-function wcswidth
-include <wchar.h>
-declaration int wcswidth(const wchar_t *pwcs, size_t n)
-version SUNW_1.1
-exception $return == -1
-end
-
-function wcsxfrm
-include <wchar.h>
-declaration size_t wcsxfrm(wchar_t *_RESTRICT_KYWD ws1, \
- const wchar_t *_RESTRICT_KYWD ws2, size_t n)
-version SUNW_1.1
-errno EINVAL ENOSYS
-exception errno != 0
-end
-
-function wctomb
-include <stdlib.h>
-declaration int wctomb(char *s, wchar_t wchar)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-exception $return == -1
-end
-
-function wctype
-include <wchar.h>
-declaration wctype_t wctype(const char *charclass)
-version SUNW_1.1
-exception $return == 0
-end
-
-function wcwidth
-include <wchar.h>
-declaration int wcwidth(wint_t wc)
-version SUNW_1.1
-exception $return == -1
-end
-
-function wscat
-include <wchar.h>
-declaration wchar_t *wscat(wchar_t *ws1, const wchar_t *ws2)
-version SUNW_1.1
-end
-
-function wschr
-include <wchar.h>
-declaration wchar_t *wschr(const wchar_t *ws, wint_t wc)
-version SUNW_1.1
-exception $return == 0
-end
-
-function wscmp
-include <wchar.h>
-declaration int wscmp(const wchar_t *ws1, const wchar_t *ws2)
-version SUNW_1.1
-end
-
-function wscoll
-include <wchar.h>
-declaration int wscoll(const wchar_t *ws1, const wchar_t *ws2)
-version SUNW_1.1
-errno EINVAL ENOSYS
-exception errno != 0
-end
-
-function wscpy
-include <wchar.h>
-declaration wchar_t *wscpy(wchar_t *ws1, const wchar_t *ws2)
-version SUNW_1.1
-end
-
-function wslen
-include <wchar.h>
-declaration size_t wslen(const wchar_t *ws)
-version SUNW_1.1
-end
-
-function wsncat
-include <wchar.h>
-declaration wchar_t *wsncat(wchar_t *ws1, const wchar_t *ws2, size_t n)
-version SUNW_1.1
-end
-
-function wsncmp
-include <wchar.h>
-declaration int wsncmp(const wchar_t *ws1, const wchar_t *ws2, size_t n)
-version SUNW_1.1
-end
-
-function wsncpy
-include <wchar.h>
-declaration wchar_t *wsncpy(wchar_t *ws1, const wchar_t *ws2, size_t n)
-version SUNW_1.1
-end
-
-function wspbrk
-include <wchar.h>
-declaration wchar_t *wspbrk(const wchar_t *ws1, const wchar_t *ws2)
-version SUNW_1.1
-end
-
-function wsrchr
-include <wchar.h>
-declaration wchar_t *wsrchr(const wchar_t *ws, wint_t wc)
-version SUNW_1.1
-exception $return == 0
-end
-
-function wstod
-include <wchar.h>
-declaration double wstod(const wchar_t *nptr, wchar_t **endptr)
-version SUNW_1.1
-errno ERANGE EINVAL
-exception errno != 0
-end
-
-function wstol
-include <wchar.h>
-declaration long int wstol(const wchar_t *nptr, wchar_t **endptr, int base)
-version SUNW_1.1
-errno EINVAL ERANGE
-exception errno != 0
-end
-
-function wsxfrm
-include <wchar.h>
-declaration size_t wsxfrm(wchar_t *ws1, const wchar_t *ws2, size_t n)
-version SUNW_1.1
-errno EINVAL ENOSYS
-exception errno != 0
-end
diff --git a/usr/src/lib/libc/spec/i386/Makefile b/usr/src/lib/libc/spec/i386/Makefile
deleted file mode 100644
index 825874072f..0000000000
--- a/usr/src/lib/libc/spec/i386/Makefile
+++ /dev/null
@@ -1,50 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# lib/libc/spec/i386/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#i386_C_PICFLAGS = $(i386_C_BIGPICFLAGS)
-
-# Override this top level flag so the compiler builds in its native
-# C99 mode.
-C99MODE=
-C99LMODE=
-
-include $(SRC)/lib/Makefile.spec
-ABILLIBC=
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libc/spec/interface64.spec b/usr/src/lib/libc/spec/interface64.spec
deleted file mode 100644
index d423fcdf7e..0000000000
--- a/usr/src/lib/libc/spec/interface64.spec
+++ /dev/null
@@ -1,484 +0,0 @@
-#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libc/spec/interface64.spec
-
-function alphasort64
-include <sys/types.h>, <dirent.h>
-declaration int alphasort64(const struct dirent64 **d1, \
- const struct dirent64 **d2);
-arch sparc i386
-version SUNW_1.22
-end
-
-function _alphasort64
-weak alphasort64
-arch sparc i386
-version SUNW_1.22
-end
-
-function creat64
-include <sys/types.h>,
-include <sys/stat.h>
-include <fcntl.h>
-declaration int creat64(const char *path, mode_t mode)
-arch i386 sparc
-version SUNW_1.1
-end
-
-function _creat64
-weak creat64
-arch sparc i386
-version SUNW_1.1
-end
-
-function fgetpos64
-include <stdio.h>
-declaration int fgetpos64(FILE *_RESTRICT_KYWD stream, \
- fpos64_t *_RESTRICT_KYWD pos)
-arch sparc i386
-version SUNW_1.1
-end
-
-function fopen64
-include <stdio.h>
-declaration FILE *fopen64(const char *_RESTRICT_KYWD filename, \
- const char *_RESTRICT_KYWD mode)
-arch sparc i386
-version SUNW_1.1
-end
-
-function freopen64
-include <stdio.h>
-declaration FILE *freopen64(const char *_RESTRICT_KYWD filename, \
- const char *_RESTRICT_KYWD mode, \
- FILE *_RESTRICT_KYWD stream)
-arch sparc i386
-version SUNW_1.1
-end
-
-function fseeko64
-include <stdio.h>
-declaration int fseeko64(FILE *stream, off64_t offset, int whence)
-arch sparc i386
-version SUNW_1.1
-end
-
-function fsetpos64
-include <stdio.h>
-declaration int fsetpos64(FILE *stream, const fpos64_t *pos)
-arch sparc i386
-version SUNW_1.1
-end
-
-function fstat64
-include <sys/types.h>
-include <sys/stat.h>
-declaration int fstat64(int fildes, struct stat64 *buf)
-arch sparc i386
-version SUNW_1.1
-end
-
-function _fstat64
-arch sparc i386
-version SUNW_1.1
-end
-
-function fstatvfs64
-include <sys/types.h>
-include <sys/statvfs.h>
-declaration int fstatvfs64(int fildes, struct statvfs64 *buf)
-arch sparc i386
-version SUNW_1.1
-end
-
-function _fstatvfs64
-weak fstatvfs64
-arch i386 sparc
-version SUNW_1.1
-end
-
-function ftello64
-include <stdio.h>
-declaration off64_t ftello64(FILE *stream)
-arch sparc i386
-version SUNW_1.1
-end
-
-function ftruncate64
-include <unistd.h>
-declaration int ftruncate64(int fildes, off64_t length)
-arch sparc i386
-version SUNW_1.1
-end
-
-function _ftruncate64
-weak ftruncate64
-arch sparc i386
-version SUNW_1.1
-end
-
-function ftw64
-include <ftw.h>
-declaration int ftw64(const char *path, \
- int (*fn)(const char *, const struct stat64 *, int), \
- int depth)
-arch sparc i386
-version SUNW_1.1
-end
-
-function _ftw64
-weak ftw64
-arch sparc i386
-version SUNW_1.1
-end
-
-function getdents64
-include <sys/dirent.h>
-declaration int getdents64(int fildes, struct dirent64 *buf, size_t nbyte)
-arch sparc i386
-version SUNW_1.1
-end
-
-function _getdents64
-weak getdents64
-arch i386 sparc
-version SUNW_1.1
-end
-
-function getrlimit64
-include <sys/resource.h>
-declaration int getrlimit64(int resource, struct rlimit64 *rlp)
-arch sparc i386
-version SUNW_1.1
-end
-
-function _getrlimit64
-weak getrlimit64
-arch sparc i386
-version SUNW_1.1
-end
-
-function lockf64
-include <unistd.h>
-declaration int lockf64(int fildes, int function, off64_t size)
-arch sparc i386
-version SUNW_1.1
-end
-
-function _lockf64
-weak lockf64
-arch sparc i386
-version SUNW_1.1
-end
-
-function lseek64
-include <sys/types.h>
-include <unistd.h>
-declaration off64_t lseek64(int fildes, off64_t offset, int whence)
-arch sparc i386
-version SUNW_1.1
-end
-
-function _lseek64
-weak lseek64
-arch sparc i386
-version SUNW_1.1
-end
-
-function lstat64
-include <sys/types.h>
-include <sys/stat.h>
-declaration int lstat64(const char *path, struct stat64 *buf)
-arch sparc i386
-version SUNW_1.1
-end
-
-function _lstat64
-weak lstat64
-arch sparc i386
-version SUNW_1.1
-end
-
-function mkstemp64
-include <stdlib.h>
-declaration int mkstemp64(char *template)
-arch sparc i386
-version SUNW_1.1
-end
-
-function _mkstemp64
-weak mkstemp64
-arch sparc i386
-version SUNW_1.1
-end
-
-function mkstemps64
-include <stdlib.h>
-declaration int mkstemps64(char *template, int suffixlen)
-arch sparc i386
-version SUNW_1.23
-end
-
-function _mkstemps64
-weak mkstemps64
-arch sparc i386
-version SUNW_1.23
-end
-
-function mmap64
-include <sys/types.h>
-include <sys/mman.h>
-declaration caddr_t mmap64(caddr_t addr, size_t len, int prot, int flags, \
- int fildes, off64_t off)
-arch sparc i386
-version SUNW_1.1
-end
-
-function _mmap64
-weak mmap64
-arch sparc i386
-version SUNW_1.1
-end
-
-function nftw64
-include <ftw.h>
-declaration int nftw64(const char *path, \
- int (*fn)(const char *, const struct stat64 *, \
- int, struct FTW *), \
- int depth, int flags)
-arch sparc i386
-version SUNW_1.1
-end
-
-function _nftw64
-weak nftw64
-arch i386 sparc
-version SUNW_1.1
-end
-
-function open64
-include <sys/types.h>
-include <sys/stat.h>
-include <fcntl.h>
-declaration int open64(const char *path, int oflag, ...)
-arch sparc i386
-version SUNW_1.1
-end
-
-function _open64
-weak open64
-arch i386 sparc
-version SUNW_1.1
-end
-
-function openat64
-include <sys/types.h>, <sys/stat.h>, <fcntl.h>
-declaration int openat64(int fd, const char *path, int oflag, ...)
-arch sparc i386
-version SUNW_1.21
-end
-
-function _openat64
-weak openat64
-arch i386 sparc
-version SUNW_1.21
-end
-
-function pread64
-include <unistd.h>
-declaration ssize_t pread64(int fildes, void *buf, size_t nbyte, \
- off64_t offset)
-arch sparc i386
-version SUNW_1.1
-end
-
-function _pread64
-weak pread64
-arch i386 sparc
-version SUNW_1.1
-end
-
-function pwrite64
-include <unistd.h>
-declaration ssize_t pwrite64(int fildes, const void *buf, size_t nbyte, \
- off64_t offset)
-arch sparc i386
-version SUNW_1.1
-end
-
-function _pwrite64
-weak pwrite64
-arch sparc i386
-version SUNW_1.1
-end
-
-function readdir64
-include <sys/types.h>
-include <dirent.h>
-declaration struct dirent64 *readdir64(DIR *dirp)
-arch sparc i386
-version SUNW_1.1
-end
-
-function _readdir64
-weak readdir64
-arch sparc i386
-version SUNW_1.1
-end
-
-function readdir64_r
-include <sys/types.h>
-include <dirent.h>
-declaration int readdir64_r(DIR *dirp, struct dirent64 *entry, struct dirent64 **result)
-arch sparc i386
-version SUNW_1.1
-end
-
-function _readdir64_r
-weak readdir64_r
-arch sparc i386
-version SUNW_1.1
-end
-
-function scandir64
-include <sys/types.h>, <dirent.h>
-declaration int scandir64(const char *dirname, \
- struct dirent64 *(*namelist[]), \
- int (*select)(const struct dirent64 *), \
- int (*dcomp)(const struct dirent64 **, \
- const struct dirent64 **));
-arch sparc i386
-version SUNW_1.22
-end
-
-function _scandir64
-weak scandir64
-arch sparc i386
-version SUNW_1.22
-end
-
-function setrlimit64
-include <sys/resource.h>
-declaration int setrlimit64(int resource, const struct rlimit64 *rlp)
-arch sparc i386
-version SUNW_1.1
-end
-
-function _setrlimit64
-weak setrlimit64
-arch sparc i386
-version SUNW_1.1
-end
-
-function stat64
-include <sys/types.h>
-include <sys/stat.h>
-declaration int stat64(const char *path, struct stat64 *buf)
-arch sparc i386
-version SUNW_1.1
-end
-
-function _stat64
-weak stat64
-arch i386 sparc
-version SUNW_1.1
-end
-
-function fstatat64
-include <sys/types.h>
-include <sys/stat.h>
-declaration int fstatat64(int fd, const char *path, \
- struct stat64 *buf, int flag)
-arch sparc i386
-version SUNW_1.21
-end
-
-function _fstatat64
-weak fstatat64
-arch i386 sparc
-version SUNW_1.21
-end
-
-function statvfs64
-include <sys/types.h>
-include <sys/statvfs.h>
-declaration int statvfs64(const char *path, struct statvfs64 *buf)
-arch sparc i386
-version SUNW_1.1
-end
-
-function _statvfs64
-weak statvfs64
-arch sparc i386
-version SUNW_1.1
-end
-
-function tmpfile64
-include <stdio.h>
-declaration FILE *tmpfile64(void)
-arch sparc i386
-version SUNW_1.1
-end
-
-function truncate64
-include <unistd.h>
-declaration int truncate64(const char *path, off64_t length)
-arch sparc i386
-version SUNW_1.1
-end
-
-function _truncate64
-weak truncate64
-arch sparc i386
-version SUNW_1.1
-end
-
-function tell64
-include <unistd.h>
-declaration off64_t tell64(int)
-arch sparc i386
-version SUNW_1.1
-end
-
-function _tell64
-weak tell64
-arch sparc i386
-version SUNW_1.1
-end
-
-function attropen64
-include <sys/types.h>, <sys/stat.h>, <fcntl.h>
-declaration int attropen64(const char *name, const char *attr, \
- int oflag, ...)
-arch sparc i386
-version SUNW_1.21
-end
-
-function _attropen64
-weak attropen64
-arch sparc i386
-version SUNW_1.21
-end
diff --git a/usr/src/lib/libc/spec/missing.spec b/usr/src/lib/libc/spec/missing.spec
deleted file mode 100644
index df4cd2d605..0000000000
--- a/usr/src/lib/libc/spec/missing.spec
+++ /dev/null
@@ -1,825 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-function _Qp_add
-arch sparcv9
-version sparcv9=SUNW_0.7
-end
-
-function _Qp_cmp
-arch sparcv9
-version sparcv9=SUNW_0.7
-end
-
-function _Qp_cmpe
-arch sparcv9
-version sparcv9=SUNW_0.7
-end
-
-function _Qp_div
-arch sparcv9
-version sparcv9=SUNW_0.7
-end
-
-function _Qp_dtoq
-arch sparcv9
-version sparcv9=SUNW_0.7
-end
-
-function _Qp_feq
-arch sparcv9
-version sparcv9=SUNW_0.7
-end
-
-function _Qp_fge
-arch sparcv9
-version sparcv9=SUNW_0.7
-end
-
-function _Qp_fgt
-arch sparcv9
-version sparcv9=SUNW_0.7
-end
-
-function _Qp_fle
-arch sparcv9
-version sparcv9=SUNW_0.7
-end
-
-function _Qp_flt
-arch sparcv9
-version sparcv9=SUNW_0.7
-end
-
-function _Qp_fne
-arch sparcv9
-version sparcv9=SUNW_0.7
-end
-
-function _Qp_itoq
-arch sparcv9
-version sparcv9=SUNW_0.7
-end
-
-function _Qp_mul
-arch sparcv9
-version sparcv9=SUNW_0.7
-end
-
-function _Qp_neg
-arch sparcv9
-version sparcv9=SUNW_0.7
-end
-
-function _Qp_qtod
-arch sparcv9
-version sparcv9=SUNW_0.7
-end
-
-function _Qp_qtoi
-arch sparcv9
-version sparcv9=SUNW_0.7
-end
-
-function _Qp_qtos
-arch sparcv9
-version sparcv9=SUNW_0.7
-end
-
-function _Qp_qtoui
-arch sparcv9
-version sparcv9=SUNW_0.7
-end
-
-function _Qp_qtoux
-arch sparcv9
-version sparcv9=SUNW_0.7
-end
-
-function _Qp_qtox
-arch sparcv9
-version sparcv9=SUNW_0.7
-end
-
-function _Qp_sqrt
-arch sparcv9
-version sparcv9=SUNW_0.7
-end
-
-function _Qp_stoq
-arch sparcv9
-version sparcv9=SUNW_0.7
-end
-
-function _Qp_sub
-arch sparcv9
-version sparcv9=SUNW_0.7
-end
-
-function _Qp_uitoq
-arch sparcv9
-version sparcv9=SUNW_0.7
-end
-
-function _Qp_uxtoq
-arch sparcv9
-version sparcv9=SUNW_0.7
-end
-
-function _Qp_xtoq
-arch sparcv9
-version sparcv9=SUNW_0.7
-end
-
-function ____loc1
-version SUNW_1.1
-end
-
-function __align_cpy_1
-arch sparcv9
-version sparcv9=SUNW_0.7
-end
-
-function __align_cpy_16
-arch sparcv9
-version sparcv9=SUNW_0.7
-end
-
-function __align_cpy_2
-arch sparcv9
-version sparcv9=SUNW_0.7
-end
-
-function __align_cpy_4
-arch sparcv9
-version sparcv9=SUNW_0.7
-end
-
-function __align_cpy_8
-arch sparcv9
-version sparcv9=SUNW_0.7
-end
-
-function __dtoul
-arch sparcv9
-version sparcv9=SUNW_0.7
-end
-
-function __ftoul
-arch sparcv9
-version sparcv9=SUNW_0.7
-end
-
-function __pthread_cleanup_pop
-version SUNW_1.1
-end
-
-function __pthread_cleanup_push
-version SUNW_1.1
-end
-
-function __sparc_utrap_install
-arch sparcv9
-version sparcv9=SUNW_0.7
-end
-
-function _filbuf
-version SUNW_0.7
-end
-
-function _fp_hw
-arch i386
-version SYSVABI_1.3
-end
-
-function _fxstat
-arch i386
-version SYSVABI_1.3
-end
-
-function _lxstat
-arch i386
-version SYSVABI_1.3
-end
-
-function _nuname
-arch i386
-version SYSVABI_1.3
-end
-
-function _resolvepath
-version SUNW_1.1
-end
-
-function _xmknod
-arch i386
-version SYSVABI_1.3
-end
-
-function _xstat
-arch i386
-version SYSVABI_1.3
-end
-
-function nuname
-arch i386
-version SYSVABI_1.3
-end
-
-function pthread_mutexattr_setprioceiling
-version SUNW_0.9
-end
-
-function regex
-version SUNW_1.1
-end
-
-function resolvepath
-version SUNW_1.1
-end
-
-function rw_read_held
-version SUNW_0.8
-end
-
-function rw_write_held
-version SUNW_0.8
-end
-
-function s_fcntl
-arch i386 sparc
-version SUNW_1.1
-end
-
-function sema_held
-version SUNW_0.8
-end
-
-function statfs
-version SUNW_0.7
-end
-
-function wcscspn
-include <wchar.h>
-declaration size_t wcscspn(const wchar_t *ws1, const wchar_t *ws2)
-version SUNW_1.1
-end
-
-function wcsspn
-include <wchar.h>
-declaration size_t wcsspn(const wchar_t *ws1, const wchar_t *ws2)
-version SUNW_1.1
-end
-
-function wcstok
-include <wchar.h>
-declaration wchar_t *wcstok(wchar_t *_RESTRICT_KYWD ws1, \
- const wchar_t *_RESTRICT_KYWD ws2, wchar_t **_RESTRICT_KYWD ptr)
-version SUNW_1.1
-end
-
-function wcswcs
-include <wchar.h>
-declaration wchar_t *wcswcs(const wchar_t *ws1, const wchar_t *ws2)
-version SUNW_1.1
-end
-
-function wscspn
-include <wchar.h>
-declaration size_t wscspn(const wchar_t *ws1, const wchar_t *ws2)
-version SUNW_1.1
-end
-
-function wsspn
-include <wchar.h>
-declaration size_t wsspn(const wchar_t *ws1, const wchar_t *ws2)
-version SUNW_1.1
-end
-
-function wstok
-include <wchar.h>
-declaration wchar_t *wstok(wchar_t *ws1, const wchar_t *ws2)
-version SUNW_1.1
-end
-
-function _Q_lltoq
-version SISCD_2.3
-end
-
-function _Q_qtoll
-version SISCD_2.3
-end
-
-function _Q_qtoull
-version SISCD_2.3
-end
-
-function _Q_ulltoq
-version SISCD_2.3
-end
-
-function __btowc_dense
-version SUNWprivate_1.1
-end
-
-function __btowc_euc
-version SUNWprivate_1.1
-end
-
-function __btowc_sb
-version SUNWprivate_1.1
-end
-
-function __fbufsize
-version SUNW_1.18
-end
-
-function __fgetwc_xpg5
-version SUNWprivate_1.1
-end
-
-function __fgetws_xpg5
-version SUNWprivate_1.1
-end
-
-function __flbf
-version SUNW_1.18
-end
-
-function __fpending
-version SUNW_1.18
-end
-
-function __fpurge
-version SUNW_1.18
-end
-
-function __fputwc_xpg5
-version SUNWprivate_1.1
-end
-
-function __fputws_xpg5
-version SUNWprivate_1.1
-end
-
-function __freadable
-version SUNW_1.18
-end
-
-function __freading
-version SUNW_1.18
-end
-
-function __fsetlocking
-include <stdio_ext.h>
-declaration int __fsetlocking(FILE *stream, int type)
-version SUNW_1.18.1
-end
-
-function __fwritable
-version SUNW_1.18
-end
-
-function __fwriting
-version SUNW_1.18
-end
-
-function __getloadavg
-version SUNWprivate_1.1
-end
-
-function __getwc_xpg5
-version SUNWprivate_1.1
-end
-
-function __getwchar_xpg5
-version SUNWprivate_1.1
-end
-
-function __mbrlen_gen
-version SUNWprivate_1.1
-end
-
-function __mbrlen_sb
-version SUNWprivate_1.1
-end
-
-function __mbrtowc_dense
-version SUNWprivate_1.1
-end
-
-function __mbrtowc_euc
-version SUNWprivate_1.1
-end
-
-function __mbrtowc_sb
-version SUNWprivate_1.1
-end
-
-function __mbsinit_gen
-version SUNWprivate_1.1
-end
-
-function __mbsrtowcs_dense
-version SUNWprivate_1.1
-end
-
-function __mbsrtowcs_euc
-version SUNWprivate_1.1
-end
-
-function __mbsrtowcs_sb
-version SUNWprivate_1.1
-end
-
-function __mbst_get_consumed_array
-version SUNWprivate_1.1
-end
-
-function __mbst_get_locale
-version SUNWprivate_1.1
-end
-
-function __mbst_get_nconsumed
-version SUNWprivate_1.1
-end
-
-function __mbst_set_consumed_array
-version SUNWprivate_1.1
-end
-
-function __mbst_set_locale
-version SUNWprivate_1.1
-end
-
-function __mbst_set_nconsumed
-version SUNWprivate_1.1
-end
-
-function __putwc_xpg5
-version SUNWprivate_1.1
-end
-
-function __putwchar_xpg5
-version SUNWprivate_1.1
-end
-
-function __sysconf_xpg5
-version SUNW_1.18
-end
-
-function __ungetwc_xpg5
-version SUNWprivate_1.1
-end
-
-function __wcrtomb_dense
-version SUNWprivate_1.1
-end
-
-function __wcrtomb_euc
-version SUNWprivate_1.1
-end
-
-function __wcrtomb_sb
-version SUNWprivate_1.1
-end
-
-function __wcsftime_xpg5
-version SUNWprivate_1.1
-end
-
-function __wcsrtombs_dense
-version SUNWprivate_1.1
-end
-
-function __wcsrtombs_euc
-version SUNWprivate_1.1
-end
-
-function __wcsrtombs_sb
-version SUNWprivate_1.1
-end
-
-function __wcstok_xpg5
-version SUNWprivate_1.1
-end
-
-function __wctob_dense
-version SUNWprivate_1.1
-end
-
-function __wctob_euc
-version SUNWprivate_1.1
-end
-
-function __wctob_sb
-version SUNWprivate_1.1
-end
-
-function _flushlbf
-version SUNW_1.18
-end
-
-function _ftrylockfile
-version SUNWprivate_1.1
-end
-
-function _pthread_attr_getguardsize
-version SUNWprivate_1.1
-end
-
-function _pthread_attr_setguardsize
-version SUNWprivate_1.1
-end
-
-function _pthread_getconcurrency
-version SUNWprivate_1.1
-end
-
-function _pthread_mutexattr_gettype
-version SUNWprivate_1.1
-end
-
-function _pthread_mutexattr_settype
-version SUNWprivate_1.1
-end
-
-function _pthread_rwlock_destroy
-version SUNWprivate_1.1
-end
-
-function _pthread_rwlock_init
-version SUNWprivate_1.1
-end
-
-function _pthread_rwlock_rdlock
-version SUNWprivate_1.1
-end
-
-function _pthread_rwlock_reltimedrdlock_np
-version SUNWprivate_1.1
-end
-
-function _pthread_rwlock_reltimedwrlock_np
-version SUNWprivate_1.1
-end
-
-function _pthread_rwlock_timedrdlock
-version SUNWprivate_1.1
-end
-
-function _pthread_rwlock_timedwrlock
-version SUNWprivate_1.1
-end
-
-function _pthread_rwlock_tryrdlock
-version SUNWprivate_1.1
-end
-
-function _pthread_rwlock_trywrlock
-version SUNWprivate_1.1
-end
-
-function _pthread_rwlock_unlock
-version SUNWprivate_1.1
-end
-
-function _pthread_rwlock_wrlock
-version SUNWprivate_1.1
-end
-
-function _pthread_rwlockattr_destroy
-version SUNWprivate_1.1
-end
-
-function _pthread_rwlockattr_getpshared
-version SUNWprivate_1.1
-end
-
-function _pthread_rwlockattr_init
-version SUNWprivate_1.1
-end
-
-function _pthread_rwlockattr_setpshared
-version SUNWprivate_1.1
-end
-
-function _pthread_setconcurrency
-version SUNWprivate_1.1
-end
-
-function _s_fcntl
-arch sparc i386
-version SUNW_1.1
-end
-
-function ftrylockfile
-version SUNW_1.1
-end
-
-function fwide
-version SUNW_1.18
-end
-
-function mbrlen
-version SUNW_1.18
-end
-
-function mbrtowc
-version SUNW_1.18
-end
-
-function mbsinit
-version SUNW_1.18
-end
-
-function mbsrtowcs
-version SUNW_1.18
-end
-
-function pcsample
-version SUNW_1.18
-end
-
-function pthread_attr_getguardsize
-version SUNW_1.18
-end
-
-function pthread_attr_setguardsize
-version SUNW_1.18
-end
-
-function pthread_getconcurrency
-version SUNW_1.18
-end
-
-function pthread_mutexattr_gettype
-version SUNW_1.18
-end
-
-function pthread_mutexattr_settype
-version SUNW_1.18
-end
-
-function pthread_rwlock_destroy
-version SUNW_1.18
-end
-
-function pthread_rwlock_init
-version SUNW_1.18
-end
-
-function pthread_rwlock_rdlock
-version SUNW_1.18
-end
-
-function pthread_rwlock_reltimedrdlock_np
-version SUNW_1.22
-end
-
-function pthread_rwlock_reltimedwrlock_np
-version SUNW_1.22
-end
-
-function pthread_rwlock_timedrdlock
-version SUNW_1.22
-end
-
-function pthread_rwlock_timedwrlock
-version SUNW_1.22
-end
-
-function pthread_rwlock_tryrdlock
-version SUNW_1.18
-end
-
-function pthread_rwlock_trywrlock
-version SUNW_1.18
-end
-
-function pthread_rwlock_unlock
-version SUNW_1.18
-end
-
-function pthread_rwlock_wrlock
-version SUNW_1.18
-end
-
-function pthread_rwlockattr_destroy
-version SUNW_1.18
-end
-
-function pthread_rwlockattr_getpshared
-version SUNW_1.18
-end
-
-function pthread_rwlockattr_init
-version SUNW_1.18
-end
-
-function pthread_rwlockattr_setpshared
-version SUNW_1.18
-end
-
-function pthread_setconcurrency
-version SUNW_1.18
-end
-
-function s_ioctl
-arch i386 sparc
-version SUNW_1.1
-end
-
-function swprintf
-version SUNW_1.18
-end
-
-function swscanf
-version SUNW_1.18
-end
-
-function vfwprintf
-version SUNW_1.18
-end
-
-function vswprintf
-version SUNW_1.18
-end
-
-function vwprintf
-version SUNW_1.18
-end
-
-function wcrtomb
-version SUNW_1.18
-end
-
-function wcsrtombs
-version SUNW_1.18
-end
-
-function wcsstr
-version SUNW_1.18
-end
-
-function wctob
-version SUNW_1.18
-end
-
-function wmemchr
-version SUNW_1.18
-end
-
-function wmemcmp
-version SUNW_1.18
-end
-
-function wmemcpy
-version SUNW_1.18
-end
-
-function wmemmove
-version SUNW_1.18
-end
-
-function wmemset
-version SUNW_1.18
-end
-
-function _flsbuf
-version SUNW_0.7
-end
-
-function __flsbuf
-weak _flsbuf
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function btowc
-version SUNW_1.18
-end
diff --git a/usr/src/lib/libc/spec/print.spec b/usr/src/lib/libc/spec/print.spec
deleted file mode 100644
index 4e8a2d1a5c..0000000000
--- a/usr/src/lib/libc/spec/print.spec
+++ /dev/null
@@ -1,97 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-function fprintf
-include <stdio.h>
-declaration int fprintf(FILE *_RESTRICT_KYWD strm, \
- const char *_RESTRICT_KYWD format, ... )
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EFBIG
-exception $return == -1
-end
-
-function printf
-include <stdio.h>
-declaration int printf(const char *_RESTRICT_KYWD format, ... )
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EFBIG
-exception $return == -1
-end
-
-function sprintf
-include <stdio.h>
-declaration int sprintf(char *_RESTRICT_KYWD s, \
- const char *_RESTRICT_KYWD format, ... )
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EFBIG
-exception $return == -1
-end
-
-function vfprintf
-include <stdio.h>, <stdarg.h>
-declaration int vfprintf(FILE *_RESTRICT_KYWD stream, \
- const char *_RESTRICT_KYWD format, va_list ap)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EFBIG
-exception
-end
-
-function vprintf
-include <stdio.h>, <stdarg.h>
-declaration int vprintf(const char *_RESTRICT_KYWD format, va_list ap)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EFBIG
-exception
-end
-
-function vsprintf
-include <stdio.h>, <stdarg.h>
-declaration int vsprintf(char *_RESTRICT_KYWD s, \
- const char *_RESTRICT_KYWD format, va_list ap)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EFBIG
-exception
-end
-
-function fwprintf
-include <stdio.h>, <wchar.h>
-declaration int fwprintf(FILE *_RESTRICT_KYWD stream, \
- const wchar_t *_RESTRICT_KYWD format, ...)
-version SUNW_1.18
-end
-
-function wprintf
-include <stdio.h>, <wchar.h>
-declaration int wprintf(const wchar_t *_RESTRICT_KYWD format, ...)
-version SUNW_1.18
-end
diff --git a/usr/src/lib/libc/spec/private.spec b/usr/src/lib/libc/spec/private.spec
deleted file mode 100644
index 9868be02cf..0000000000
--- a/usr/src/lib/libc/spec/private.spec
+++ /dev/null
@@ -1,3409 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-function _QgetRD # used by Sun's old Fortran 77 runtime libraries
-#Declaration /* Unknown. */
-arch sparc sparcv9
-version sparc=SUNWprivate_1.1 sparcv9=SUNWprivate_1.1
-end
-
-function __charmap_init
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function __class_quadruple # used by Sun's old Fortran 77 runtime libraries
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function __collate_init
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function __ctype_init
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function __divrem64
-#Declaration /* Unknown. */
-arch i386
-version i386=SUNWprivate_1.1
-end
-
-function __eucpctowc_gen
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function __fgetwc_dense
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function __fgetwc_euc
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function __fgetwc_sb
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function __fltrounds
-#Declaration /* Unknown. */
-arch i386 amd64
-version i386=SUNWprivate_1.1 amd64=SUNWprivate_1.1
-end
-
-function __fnmatch_C
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function __fnmatch_sb
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function __fnmatch_std
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function __getcontext
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function __getdate_std
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function __iswctype_bc
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function __iswctype_sb
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function __iswctype_std
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function __locale_init
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function __localeconv_std
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function __lwp_cond_broadcast
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function __lwp_cond_signal
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function __lwp_cond_timedwait # extends libc/spec/sys.spec _lwp_cond_timedwait
-weak _lwp_cond_timedwait
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function __lwp_cond_reltimedwait # extends libc/spec/sys.spec _lwp_cond_reltimedwait
-weak _lwp_cond_reltimedwait
-#Prototype /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function __lwp_cond_wait # extends libc/spec/sys.spec _lwp_cond_wait
-weak _lwp_cond_wait
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function __lwp_continue
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function __lwp_info
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function __lwp_kill
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function __lwp_mutex_lock # extends libc/spec/sys.spec _lwp_mutex_lock
-weak _lwp_mutex_lock
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function __lwp_mutex_trylock # extends libc/spec/sys.spec _lwp_mutex_trylock
-weak _lwp_mutex_trylock
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function __lwp_mutex_unlock
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function __lwp_self
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function __lwp_sema_init # extends libc/spec/sys.spec _lwp_sema_init
-weak _lwp_sema_init
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function __lwp_sema_post
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function __lwp_sema_trywait
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function __lwp_sema_wait
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function __lwp_suspend
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function __mbftowc_dense
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function __mbftowc_euc
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function __mbftowc_sb
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function __mblen_gen
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function __mblen_sb
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function __mbstowcs_dense
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function __mbstowcs_euc
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function __mbstowcs_sb
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function __mbtowc_dense
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function __mbtowc_euc
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function __mbtowc_sb
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function __messages_init
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function __monetary_init
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function __multi_innetgr
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function __nl_langinfo_std
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function __numeric_init
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function __regcomp_C
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function __regcomp_std
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function __regerror_std
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function __regexec_C
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function __regexec_std
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function __regfree_std
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function __strcoll_C
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function __strcoll_sb
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function __strcoll_std
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function __strfmon_std
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function __strftime_std
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function __strptime_dontzero
-declaration char *__strptime_dontzero(const char *buf, const char *format, \
- struct tm *tm)
-version SUNWprivate_1.1
-exception $return == 0
-end
-
-function __strptime_std
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function __strxfrm_C
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function __strxfrm_sb
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function __strxfrm_std
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function __time_init
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function __towctrans_bc
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function __towctrans_std
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function __towlower_bc
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function __towlower_std
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function __towupper_bc
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function __towupper_std
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function __trwctype_std
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function __udivrem64
-#Declaration /* Unknown. */
-arch i386
-version i386=SUNWprivate_1.1
-end
-
-function __wcscoll_C
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function __wcscoll_bc
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function __wcscoll_std
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function __wcsftime_std
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function __wcstombs_dense
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function __wcstombs_euc
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function __wcstombs_sb
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function __wcswidth_bc
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function __wcswidth_dense
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function __wcswidth_euc
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function __wcswidth_sb
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function __wcswidth_std
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function __wcsxfrm_C
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function __wcsxfrm_bc
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function __wcsxfrm_std
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function __wctoeucpc_gen
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function __wctomb_dense
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function __wctomb_euc
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function __wctomb_sb
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function __wctrans_std
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function __wctype_std
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function __wcwidth_bc
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function __wcwidth_dense
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function __wcwidth_euc
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function __wcwidth_sb
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function __wcwidth_std
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function __xgetRD # used by Sun's old Fortran 77 runtime libraries
-#Declaration /* Unknown. */
-arch i386 amd64
-version i386=SUNWprivate_1.1 amd64=SUNWprivate_1.1
-end
-
-function __xtol
-#Declaration /* Unknown. */
-arch i386 amd64
-version i386=SUNWprivate_1.1 amd64=SUNWprivate_1.1
-end
-
-function __xtoll
-#Declaration /* Unknown. */
-arch i386 amd64
-version i386=SUNWprivate_1.1 amd64=SUNWprivate_1.1
-end
-
-function __xtoul
-#Declaration /* Unknown. */
-arch i386 amd64
-version i386=SUNWprivate_1.1 amd64=SUNWprivate_1.1
-end
-
-function __xtoull
-#Declaration /* Unknown. */
-arch i386 amd64
-version i386=SUNWprivate_1.1 amd64=SUNWprivate_1.1
-end
-
-function _a64l # extends libc/spec/gen.spec a64l
-weak a64l
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _acl
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _adjtime
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _ascftime # extends libc/spec/gen.spec ascftime
-weak ascftime
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _asctime_r # extends libc/spec/gen.spec asctime_r
-weak asctime_r
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _autofssys
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _brk # extends libc/spec/sys.spec brk
-weak brk
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _bufsync
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _cerror
-#Declaration /* Unknown. */
-arch sparc sparcv9
-version sparc=SUNWprivate_1.1 sparcv9=SUNWprivate_1.1
-end
-
-function _cerror64
-#Declaration /* Unknown. */
-arch sparc
-version sparc=SUNWprivate_1.1
-end
-
-function _cfree # extends libc/spec/gen.spec cfree
-weak cfree
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _cftime # extends libc/spec/gen.spec cftime
-weak cftime
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _closelog # extends libc/spec/gen.spec closelog
-weak closelog
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _cond_broadcast
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _cond_destroy
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _cond_init
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _cond_signal
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _cond_timedwait
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _cond_reltimedwait
-#Prototype /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _cond_wait
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _ctermid # extends libc/spec/stdio.spec ctermid
-weak ctermid
-#Declaration /* Unknown. */
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 amd64=SYSVABI_1.3 sparcv9=SUNW_0.7
-end
-
-function _ctermid_r # extends libc/spec/stdio.spec ctermid_r
-weak ctermid_r
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _ctime_r # extends libc/spec/gen.spec ctime_r
-weak ctime_r
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _decimal_to_double # extends libc/spec/fp.spec decimal_to_double
-weak decimal_to_double
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _decimal_to_extended # extends libc/spec/fp.spec decimal_to_extended
-weak decimal_to_extended
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _decimal_to_quadruple # extends libc/spec/fp.spec decimal_to_quadruple
-weak decimal_to_quadruple
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _decimal_to_single # extends libc/spec/fp.spec decimal_to_single
-weak decimal_to_single
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _dgettext # extends libc/spec/i18n.spec dgettext
-weak dgettext
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _doprnt
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _doscan
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _double_to_decimal # extends libc/spec/fp.spec double_to_decimal
-weak double_to_decimal
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _drand48 # extends libc/spec/gen.spec drand48
-weak drand48
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _econvert # extends libc/spec/gen.spec econvert
-weak econvert
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _ecvt # extends libc/spec/gen.spec ecvt
-weak ecvt
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _endgrent # extends libc/spec/gen.spec endgrent
-weak endgrent
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _endpwent # extends libc/spec/gen.spec endpwent
-weak endpwent
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _endspent # extends libc/spec/gen.spec endspent
-weak endspent
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _endutent # extends libc/spec/gen.spec endutent
-weak endutent
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _endutxent # extends libc/spec/gen.spec endutxent
-weak endutxent
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _erand48 # extends libc/spec/gen.spec erand48
-weak erand48
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _exportfs
-weak exportfs
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _extended_to_decimal # extends libc/spec/fp.spec extended_to_decimal
-weak extended_to_decimal
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _facl
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _fchroot
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _fconvert # extends libc/spec/gen.spec fconvert
-weak fconvert
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _fcvt # extends libc/spec/gen.spec fcvt
-weak fcvt
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _ffs # extends libc/spec/gen.spec ffs
-weak ffs
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _fgetgrent # extends libc/spec/gen.spec fgetgrent
-weak fgetgrent
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _fgetgrent_r # extends libc/spec/gen.spec fgetgrent_r
-weak fgetgrent_r
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _fgetpwent # extends libc/spec/gen.spec fgetpwent
-weak fgetpwent
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _fgetpwent_r # extends libc/spec/gen.spec fgetpwent_r
-weak fgetpwent_r
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _fgetspent # extends libc/spec/gen.spec fgetspent
-weak fgetspent
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _fgetspent_r # extends libc/spec/gen.spec fgetspent_r
-weak fgetspent_r
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _file_to_decimal # extends libc/spec/fp.spec file_to_decimal
-weak file_to_decimal
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _findbuf
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _findiop
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _finite # extends libc/spec/i18n.spec finite
-weak finite
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _flockfile # extends libc/spec/stdio.spec flockfile
-weak flockfile
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _fork1
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _fpclass # extends libc/spec/i18n.spec fpclass
-weak fpclass
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _fpgetmask
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _fpgetround
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _fpgetsticky
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _fprintf # extends libc/spec/print.spec fprintf
-weak fprintf
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _fpsetmask
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _fpsetround
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _fpsetsticky
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _fstatfs
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _func_to_decimal # extends libc/spec/fp.spec func_to_decimal
-weak func_to_decimal
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _funlockfile # extends libc/spec/stdio.spec funlockfile
-weak funlockfile
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _gconvert # extends libc/spec/gen.spec gconvert
-weak gconvert
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _gcvt # extends libc/spec/gen.spec gcvt
-weak gcvt
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _getarg
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _getc_unlocked # extends libc/spec/stdio.spec getc_unlocked
-weak getc_unlocked
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _getchar_unlocked # extends libc/spec/stdio.spec getchar_unlocked
-weak getchar_unlocked
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _getdents
-version SUNWprivate_1.1
-end
-
-function _getgrent # extends libc/spec/gen.spec getgrent
-weak getgrent
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _getgrent_r # extends libc/spec/gen.spec getgrent_r
-weak getgrent_r
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _getgrgid # extends libc/spec/gen.spec getgrgid
-weak getgrgid
-#Declaration /* Unknown. */
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 amd64=SYSVABI_1.3 sparcv9=SUNW_0.7
-end
-
-function _getgrgid_r # extends libc/spec/gen.spec getgrgid_r
-weak getgrgid_r
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _getgrnam # extends libc/spec/gen.spec getgrnam
-weak getgrnam
-#Declaration /* Unknown. */
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 amd64=SYSVABI_1.3 sparcv9=SUNW_0.7
-end
-
-function _getgrnam_r # extends libc/spec/gen.spec getgrnam_r
-weak getgrnam_r
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _getgroupsbymember
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _getlogin # extends libc/spec/gen.spec getlogin
-weak getlogin
-#Declaration /* Unknown. */
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 amd64=SYSVABI_1.3 sparcv9=SUNW_0.7
-end
-
-function _getlogin_r # extends libc/spec/gen.spec getlogin_r
-weak getlogin_r
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _getmntany # extends libc/spec/gen.spec getmntany
-weak getmntany
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _getmntent # extends libc/spec/gen.spec getmntent
-weak getmntent
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _getpw # extends libc/spec/gen.spec getpw
-weak getpw
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _getpwent # extends libc/spec/gen.spec getpwent
-weak getpwent
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _getpwent_r # extends libc/spec/gen.spec getpwent_r
-weak getpwent_r
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _getpwnam # extends libc/spec/gen.spec getpwnam
-weak getpwnam
-#Declaration /* Unknown. */
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 amd64=SYSVABI_1.3 sparcv9=SUNW_0.7
-end
-
-function _getpwnam_r # extends libc/spec/gen.spec getpwnam_r
-weak getpwnam_r
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _getpwuid # extends libc/spec/gen.spec getpwuid
-weak getpwuid
-#Declaration /* Unknown. */
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 amd64=SYSVABI_1.3 sparcv9=SUNW_0.7
-end
-
-function _getpwuid_r # extends libc/spec/gen.spec getpwuid_r
-weak getpwuid_r
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _getsp
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _getfp
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _getspent # extends libc/spec/gen.spec getspent
-weak getspent
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _getspent_r # extends libc/spec/gen.spec getspent_r
-weak getspent_r
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _getspnam # extends libc/spec/gen.spec getspnam
-weak getspnam
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _getspnam_r # extends libc/spec/gen.spec getspnam_r
-weak getspnam_r
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _getutent # extends libc/spec/gen.spec getutent
-weak getutent
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _getutid # extends libc/spec/gen.spec getutid
-weak getutid
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _getutline # extends libc/spec/gen.spec getutline
-weak getutline
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _getutmp # extends libc/spec/gen.spec getutmp
-weak getutmp
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _getutmpx # extends libc/spec/gen.spec getutmpx
-weak getutmpx
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _getutxent # extends libc/spec/gen.spec getutxent
-weak getutxent
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _getutxid # extends libc/spec/gen.spec getutxid
-weak getutxid
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _getutxline # extends libc/spec/gen.spec getutxline
-weak getutxline
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _getvfsany # extends libc/spec/gen.spec getvfsany
-weak getvfsany
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _getvfsent # extends libc/spec/gen.spec getvfsent
-weak getvfsent
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _getvfsfile # extends libc/spec/gen.spec getvfsfile
-weak getvfsfile
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _getvfsspec # extends libc/spec/gen.spec getvfsspec
-weak getvfsspec
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _gmtime_r # extends libc/spec/gen.spec gmtime_r
-weak gmtime_r
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _gsignal # extends libc/spec/gen.spec gsignal
-weak gsignal
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _gtty
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _hasmntopt # extends libc/spec/gen.spec hasmntopt
-weak hasmntopt
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _iconv # extends libc/spec/gen.spec iconv
-weak iconv
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _iconv_close # extends libc/spec/gen.spec iconv_close
-weak iconv_close
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _iconv_open # extends libc/spec/gen.spec iconv_open
-weak iconv_open
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _install_utrap
-#Declaration /* Unknown. */
-arch sparc sparcv9
-version sparc=SUNWprivate_1.1 sparcv9=SUNWprivate_1.1
-end
-
-function _is_euc_fc
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _is_euc_pc
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _isnanf
-version SUNWprivate_1.1
-filter libm.so.2
-end
-
-function _iswctype
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _jrand48 # extends libc/spec/gen.spec jrand48
-weak jrand48
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _l64a # extends libc/spec/gen.spec l64a
-weak l64a
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _ladd
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _lckpwdf # extends libc/spec/gen.spec lckpwdf
-weak lckpwdf
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _lcong48 # extends libc/spec/gen.spec lcong48
-weak lcong48
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _ldivide # extends libc/spec/sys.spec ldivide
-weak ldivide
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _lexp10 # extends libc/spec/sys.spec lexp10
-weak lexp10
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _lgrp_home_fast
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _lgrpsys
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _llabs # extends libc/spec/gen.spec llabs
-weak llabs
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _lldiv # extends libc/spec/gen.spec lldiv
-weak lldiv
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _llog10 # extends libc/spec/sys.spec llog10
-weak llog10
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _llseek
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _lmul # extends libc/spec/sys.spec lmul
-weak lmul
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _localtime_r # extends libc/spec/gen.spec localtime_r
-weak localtime_r
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _lock_clear
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _lock_try
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _logb
-version SUNWprivate_1.1
-filter libm.so.2
-end
-
-function _lrand48 # extends libc/spec/gen.spec lrand48
-weak lrand48
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _lshiftl
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _lsub
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _ltzset
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _madvise # extends libc/spec/gen.spec madvise
-weak madvise
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _makeut
-weak makeut
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _makeutx
-weak makeutx
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _mbftowc
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _memalign # extends libc/spec/gen.spec memalign
-weak memalign
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _memcmp
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-auxiliary sparc=/platform/$PLATFORM/lib/libc_psr.so.1 \
- sparcv9=/platform/$PLATFORM/lib/sparcv9/libc_psr.so.1
-end
-
-function _memcpy
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-auxiliary sparc=/platform/$PLATFORM/lib/libc_psr.so.1 \
- sparcv9=/platform/$PLATFORM/lib/sparcv9/libc_psr.so.1
-end
-
-function _memmove
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-auxiliary sparc=/platform/$PLATFORM/lib/libc_psr.so.1 \
- sparcv9=/platform/$PLATFORM/lib/sparcv9/libc_psr.so.1
-end
-
-function _memset
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-auxiliary sparc=/platform/$PLATFORM/lib/libc_psr.so.1 \
- sparcv9=/platform/$PLATFORM/lib/sparcv9/libc_psr.so.1
-end
-
-function _mincore
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _mkarglst
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _mlockall # extends libc/spec/gen.spec mlockall
-weak mlockall
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _modff
-version SUNWprivate_1.1
-filter libm.so.2
-end
-
-function _mrand48 # extends libc/spec/gen.spec mrand48
-weak mrand48
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _munlockall # extends libc/spec/gen.spec munlockall
-weak munlockall
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _mutex_init
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _mutex_destroy
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _mutex_lock
-#Declaration /* Unknown. */
-version SUNW_0.7
-end
-
-function _mutex_trylock
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _mutex_unlock
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _mutex_held
-#Declaration /* Unknown. */
-version SUNW_0.7
-end
-
-function __mutex_init
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function __mutex_destroy
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function __mutex_lock
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function __mutex_trylock
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function __mutex_unlock
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function __mutex_held
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _nfs_getfh
-weak nfs_getfh
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _nfssvc
-weak nfssvc
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _nfssys
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _nrand48 # extends libc/spec/gen.spec nrand48
-weak nrand48
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _nss_delete
-weak nss_delete
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _nss_endent
-weak nss_endent
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _nss_getent
-weak nss_getent
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _nss_initf_netgroup
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _nss_search
-weak nss_search
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _nss_setent
-weak nss_setent
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _openlog # extends libc/spec/gen.spec openlog
-weak openlog
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _plock # extends libc/spec/gen.spec plock
-weak plock
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _pread
-version SUNWprivate_1.1
-end
-
-function pset_assign_forced
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _psiginfo # extends libc/spec/gen.spec psiginfo
-weak psiginfo
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _psignal # extends libc/spec/gen.spec psignal
-weak psignal
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _pthread_atfork
-weak pthread_atfork
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _pthread_attr_destroy
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _pthread_attr_getdetachstate
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _pthread_attr_getinheritsched
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _pthread_attr_getschedparam
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _pthread_attr_getschedpolicy
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _pthread_attr_getscope
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _pthread_attr_getstack
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _pthread_attr_getstackaddr
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _pthread_attr_getstacksize
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _pthread_attr_init
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _pthread_attr_setdetachstate
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _pthread_attr_setinheritsched
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _pthread_attr_setschedparam
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _pthread_attr_setschedpolicy
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _pthread_attr_setscope
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _pthread_attr_setstack
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _pthread_attr_setstackaddr
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _pthread_attr_setstacksize
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _pthread_barrierattr_init
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _pthread_barrierattr_destroy
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _pthread_barrierattr_setpshared
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _pthread_barrierattr_getpshared
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _pthread_barrier_init
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _pthread_barrier_destroy
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _pthread_barrier_wait
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _pthread_cancel
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _pthread_cond_broadcast
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _pthread_cond_destroy
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _pthread_cond_init
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _pthread_cond_signal
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _pthread_cond_timedwait
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _pthread_cond_reltimedwait_np
-#Prototype /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _pthread_cond_wait
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _pthread_condattr_destroy
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _pthread_condattr_getclock
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _pthread_condattr_getpshared
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _pthread_condattr_init
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _pthread_condattr_setclock
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _pthread_condattr_setpshared
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _pthread_create
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _pthread_detach
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _pthread_equal
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _pthread_exit
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _pthread_getschedparam
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _pthread_getspecific
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _pthread_join
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _pthread_key_create
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _pthread_key_delete
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _pthread_kill
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _pthread_mutex_destroy
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _pthread_mutex_getprioceiling
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _pthread_mutex_init
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _pthread_mutex_lock
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _pthread_mutex_setprioceiling
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _pthread_mutex_trylock
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _pthread_mutex_unlock
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _pthread_mutexattr_destroy
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _pthread_mutexattr_getprioceiling
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _pthread_mutexattr_getprotocol
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _pthread_mutexattr_getpshared
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _pthread_mutexattr_init
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _pthread_mutexattr_setprioceiling
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _pthread_mutexattr_setprotocol
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _pthread_mutexattr_setpshared
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _pthread_once
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _pthread_self
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _pthread_setcancelstate
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _pthread_setcanceltype
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _pthread_setschedparam
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _pthread_setschedprio
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _pthread_setspecific
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _pthread_sigmask
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _pthread_testcancel
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _pthread_mutex_timedlock
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _pthread_mutex_reltimedlock_np
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _pthread_spin_init
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _pthread_spin_destroy
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _pthread_spin_trylock
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _pthread_spin_lock
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _pthread_spin_unlock
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _putc_unlocked # extends libc/spec/stdio.spec putc_unlocked
-weak putc_unlocked
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _putchar_unlocked # extends libc/spec/stdio.spec putchar_unlocked
-weak putchar_unlocked
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _putpwent # extends libc/spec/gen.spec putpwent
-weak putpwent
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _putspent # extends libc/spec/gen.spec putspent
-weak putspent
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _pututline # extends libc/spec/gen.spec pututline
-weak pututline
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _pututxline # extends libc/spec/gen.spec pututxline
-weak pututxline
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _pwrite
-version SUNWprivate_1.1
-end
-
-function _qeconvert # extends libc/spec/gen.spec qeconvert
-weak qeconvert
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _qecvt # extends libc/spec/sys.spec qecvt
-weak qecvt
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _qfconvert # extends libc/spec/gen.spec qfconvert
-weak qfconvert
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _qfcvt # extends libc/spec/sys.spec qfcvt
-weak qfcvt
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _qgconvert # extends libc/spec/gen.spec qgconvert
-weak qgconvert
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _qgcvt # extends libc/spec/sys.spec qgcvt
-weak qgcvt
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _quadruple_to_decimal # extends libc/spec/fp.spec quadruple_to_decimal
-weak quadruple_to_decimal
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _rand_r # extends libc/spec/gen.spec rand_r
-weak rand_r
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _realbufend
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _realpath # extends libc/spec/gen.spec realpath
-weak realpath
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _rpcsys
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _rw_rdlock
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _rw_tryrdlock
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _rw_trywrlock
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _rw_unlock
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _rw_wrlock
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _rwlock_init
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _sbrk # extends libc/spec/sys.spec sbrk
-weak sbrk
-#Declaration /* Unknown. */
-version i386=SYSVABI_1.3 amd64=SYSVABI_1.3 sparc=SISCD_2.3 sparcv9=SUNW_0.7
-end
-
-function _sbrk_unlocked
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _sbrk_grow_aligned
-declaration void *_sbrk_grow_aligned(size_t size, size_t low_align, \
- size_t high_align, size_t *actual_size);
-version SUNWprivate_1.1
-exception $return == (void *)-1
-end
-
-function _seconvert # extends libc/spec/gen.spec seconvert
-weak seconvert
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _seed48 # extends libc/spec/gen.spec seed48
-weak seed48
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _select # extends libc/spec/gen.spec select
-weak select
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _pselect # extends libc/spec/gen.spec pselect
-weak pselect
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _sema_init
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _sema_post
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _sema_trywait
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _sema_wait
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _sema_timedwait
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _sema_reltimedwait
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _setbufend
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _setegid
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _seteuid
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _setgrent # extends libc/spec/gen.spec setgrent
-weak setgrent
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _setlogmask # extends libc/spec/gen.spec setlogmask
-weak setlogmask
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _setpwent # extends libc/spec/gen.spec setpwent
-weak setpwent
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _setregid
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _setreuid
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _setspent # extends libc/spec/gen.spec setspent
-weak setspent
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _settimeofday # extends libc/spec/gen.spec settimeofday
-weak settimeofday
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _setutent # extends libc/spec/gen.spec setutent
-weak setutent
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _setutxent # extends libc/spec/gen.spec setutxent
-weak setutxent
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _sfconvert # extends libc/spec/gen.spec sfconvert
-weak sfconvert
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _sgconvert # extends libc/spec/gen.spec sgconvert
-weak sgconvert
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _sig2str # extends libc/spec/gen.spec sig2str
-weak sig2str
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _sigflag
-weak sigflag
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _sigfpe # extends libc/spec/sys.spec sigfpe
-weak sigfpe
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _signal # extends libc/spec/gen.spec signal
-weak signal
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _sigwait
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _single_to_decimal # extends libc/spec/fp.spec single_to_decimal
-weak single_to_decimal
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _so_accept
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _so_bind
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _so_connect
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _so_getpeername
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _so_getsockname
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _so_getsockopt
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _so_listen
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _so_recv
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _so_recvfrom
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _so_recvmsg
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _so_send
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _so_sendmsg
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _so_sendto
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _so_setsockopt
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _so_shutdown
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _so_socket
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _so_socketpair
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _sockconfig
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _srand48 # extends libc/spec/gen.spec srand48
-weak srand48
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _ssignal # extends libc/spec/gen.spec ssignal
-weak ssignal
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _statfs
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _str2sig # extends libc/spec/gen.spec str2sig
-weak str2sig
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _strerror # extends libc/spec/gen.spec strerror
-weak strerror
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _string_to_decimal # extends libc/spec/fp.spec string_to_decimal
-weak string_to_decimal
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _strsignal # extends libc/spec/gen.spec strsignal
-weak strsignal
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _strtok_r # extends libc/spec/gen.spec strtok_r
-weak strtok_r
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _strtoll # extends libc/spec/gen.spec strtoll
-weak strtoll
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _strtoull # extends libc/spec/gen.spec strtoull
-weak strtoull
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _stty
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _swapctl # extends libc/spec/gen.spec swapctl
-weak swapctl
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _sysconfig
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _sysfs
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _sysi86
-#Declaration /* Unknown. */
-arch i386 amd64
-version i386=SUNWprivate_1.1 amd64=SUNWprivate_1.1
-end
-
-function _syssun
-#Declaration /* Unknown. */
-arch sparc sparcv9
-version sparc=SUNWprivate_1.1 sparcv9=SUNWprivate_1.1
-end
-
-function _thr_continue
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _thr_create
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _thr_exit
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _thr_get_inf_read
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _thr_get_nan_read
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _thr_getconcurrency
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _thr_getprio
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _thr_getspecific
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _thr_join
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _thr_keycreate
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _thr_kill
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _thr_main
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _thr_min_stack
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _thr_self
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _thr_setconcurrency
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _thr_setprio
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _thr_setspecific
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _thr_sigsetmask
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _thr_stksegment
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _thr_suspend
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _thr_yield
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _tmpnam
-weak tmpnam
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _tmpnam_r
-weak tmpnam_r
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _trwctype
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _ttyname # extends libc/spec/gen.spec ttyname
-weak ttyname
-#Declaration /* Unknown. */
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 amd64=SYSVABI_1.3 sparcv9=SUNW_0.7
-end
-
-function _ttyname_r # extends libc/spec/gen.spec ttyname_r
-weak ttyname_r
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _ttyname_dev
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _ttyslot # extends libc/spec/gen.spec ttyslot
-weak ttyslot
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _uadmin # extends libc/spec/sys.spec uadmin
-weak uadmin
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _ulckpwdf # extends libc/spec/gen.spec ulckpwdf
-weak ulckpwdf
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _ulltostr # # extends libc/spec/gen.spec ulltostr
-weak ulltostr
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _uncached_getgrgid_r
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _uncached_getgrnam_r
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _uncached_getpwnam_r
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _uncached_getpwuid_r
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _ungetc_unlocked
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _unordered # extends libc/spec/i18n.spec unordered
-weak unordered
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _updwtmp
-weak updwtmp
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _updwtmpx
-weak updwtmpx
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _ustat
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _utimes
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _utmpname # extends libc/spec/gen.spec utmpname
-weak utmpname
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _utmpxname # extends libc/spec/gen.spec utmpxname
-weak utmpxname
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _utssys
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _valloc # extends libc/spec/gen.spec valloc
-weak valloc
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _vfork
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _vhangup
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _vsyslog # extends libc/spec/gen.spec vsyslog
-weak vsyslog
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _wctomb # extends libc/spec/i18n.spec wctomb
-weak wctomb
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _wrtchk
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _xflsbuf
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _xgetwidth
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _xregs_clrptr
-#Declaration /* Unknown. */
-arch sparc sparcv9
-version sparc=SUNWprivate_1.1 sparcv9=SUNWprivate_1.1
-end
-
-function _yield
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function __nthreads
-#Declaration /* unknown. */
-version SUNWprivate_1.1
-end
-
-function dbm_close_status
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function dbm_do_nextkey
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function dbm_setdefwrite
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function gtty
-version SUNWprivate_1.1
-end
-
-function htonl
-arch i386 amd64
-version i386=SUNWprivate_1.1 amd64=SUNWprivate_1.1
-end
-
-function htons
-arch i386 amd64
-version i386=SUNWprivate_1.1 amd64=SUNWprivate_1.1
-end
-
-function install_utrap
-arch sparc sparcv9
-version SUNWprivate_1.1
-end
-
-function makeut
-version SUNWprivate_1.1
-end
-
-function mcfiller
-version SUNWprivate_1.1
-end
-
-function mntopt
-version SUNWprivate_1.1
-end
-
-function mutex_held
-version SUNWprivate_1.1
-end
-
-function nfssvc
-version SUNWprivate_1.1
-end
-
-function nop
-arch sparc sparcv9
-version SUNWprivate_1.1
-end
-
-function ntohl
-arch i386 amd64
-version i386=SUNWprivate_1.1 amd64=SUNWprivate_1.1
-end
-
-function ntohs
-arch i386 amd64
-version i386=SUNWprivate_1.1 amd64=SUNWprivate_1.1
-end
-
-function scrwidth
-version SUNWprivate_1.1
-end
-
-function sigflag
-version SUNWprivate_1.1
-end
-
-function str2spwd
-version SUNWprivate_1.1
-end
-
-function stty
-version SUNWprivate_1.1
-end
-
-function sysi86
-arch i386 amd64
-version i386=SUNWprivate_1.1 amd64=SUNWprivate_1.1
-end
-
-function utssys
-version SUNWprivate_1.1
-end
-
-function wdbindf
-version SUNWprivate_1.1
-end
-
-function wdchkind
-version SUNWprivate_1.1
-end
-
-function wddelim
-version SUNWprivate_1.1
-end
-
-function _delete
-version SUNWprivate_1.1
-end
-
-function _insert
-version SUNWprivate_1.1
-end
-
-function _nss_XbyY_fgets
-include <nss_dbdefs.h>
-declaration void _nss_XbyY_fgets(FILE *f, nss_XbyY_args_t *b)
-version SUNWprivate_1.1
-end
-
-function _nss_db_state_destr
-include <nss_common.h>
-declaration void _nss_db_state_destr(struct nss_db_state *s)
-version SUNWprivate_1.1
-end
-
-# PSARC/1998/452; Bug 4181371; NSS Lookup Control START
-
-function __nsw_getconfig_v1
-include "../../inc/nsswitch_priv.h"
-declaration struct __nsw_switchconfig_v1 \
- *__nsw_getconfig_v1(const char *, enum __nsw_parse_err *)
-version SUNWprivate_1.1
-end
-
-function __nsw_freeconfig_v1
-include "../../inc/nsswitch_priv.h"
-declaration int __nsw_freeconfig_v1(struct __nsw_switchconfig_v1 *)
-version SUNWprivate_1.1
-end
-
-function __nsw_extended_action_v1
-include "../../inc/nsswitch_priv.h"
-declaration action_t __nsw_extended_action_v1(struct __nsw_lookup_v1 *,\
- int)
-version SUNWprivate_1.1
-end
-
-# PSARC/1998/452; Bug 4181371; NSS Lookup Control END
-
-function _get_exit_frame_monitor
-declaration void * _get_exit_frame_monitor(void)
-version SUNWprivate_1.1
-end
-
-# Bugid 4296198, had to move code from libnsl/nis/cache/cache_api.cc
-
-function __nis_get_environment
-declaration void __nis_get_environment(void)
-version SUNWprivate_1.1
-end
-
-# PSARC 2003/266: C99 complex arithmetic support routines
-
-function _F_cplx_div
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _F_cplx_div_ix
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _F_cplx_div_rx
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _F_cplx_lr_div
-#Declaration /* Unknown. */
-arch i386 amd64
-version i386=SUNWprivate_1.1 amd64=SUNWprivate_1.1
-end
-
-function _F_cplx_lr_div_ix
-#Declaration /* Unknown. */
-arch i386 amd64
-version i386=SUNWprivate_1.1 amd64=SUNWprivate_1.1
-end
-
-function _F_cplx_lr_div_rx
-#Declaration /* Unknown. */
-arch i386 amd64
-version i386=SUNWprivate_1.1 amd64=SUNWprivate_1.1
-end
-
-function _F_cplx_mul
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _D_cplx_div
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _D_cplx_div_ix
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _D_cplx_div_rx
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _D_cplx_lr_div
-#Declaration /* Unknown. */
-arch i386 amd64
-version i386=SUNWprivate_1.1 amd64=SUNWprivate_1.1
-end
-
-function _D_cplx_lr_div_ix
-#Declaration /* Unknown. */
-arch i386 amd64
-version i386=SUNWprivate_1.1 amd64=SUNWprivate_1.1
-end
-
-function _D_cplx_lr_div_rx
-#Declaration /* Unknown. */
-arch i386 amd64
-version i386=SUNWprivate_1.1 amd64=SUNWprivate_1.1
-end
-
-function _D_cplx_mul
-#Declaration /* Unknown. */
-version SUNWprivate_1.1
-end
-
-function _Q_cplx_div
-#Declaration /* Unknown. */
-arch sparc sparcv9
-version sparc=SUNWprivate_1.1 sparcv9=SUNWprivate_1.1
-end
-
-function _Q_cplx_div_ix
-#Declaration /* Unknown. */
-arch sparc sparcv9
-version sparc=SUNWprivate_1.1 sparcv9=SUNWprivate_1.1
-end
-
-function _Q_cplx_div_rx
-#Declaration /* Unknown. */
-arch sparc sparcv9
-version sparc=SUNWprivate_1.1 sparcv9=SUNWprivate_1.1
-end
-
-function _Q_cplx_lr_div
-#Declaration /* Unknown. */
-arch sparc sparcv9
-version sparc=SUNWprivate_1.1 sparcv9=SUNWprivate_1.1
-end
-
-function _Q_cplx_lr_div_ix
-#Declaration /* Unknown. */
-arch sparc sparcv9
-version sparc=SUNWprivate_1.1 sparcv9=SUNWprivate_1.1
-end
-
-function _Q_cplx_lr_div_rx
-#Declaration /* Unknown. */
-arch sparc sparcv9
-version sparc=SUNWprivate_1.1 sparcv9=SUNWprivate_1.1
-end
-
-function _Q_cplx_lr_mul
-#Declaration /* Unknown. */
-arch sparc sparcv9
-version sparc=SUNWprivate_1.1 sparcv9=SUNWprivate_1.1
-end
-
-function _Q_cplx_mul
-#Declaration /* Unknown. */
-arch sparc sparcv9
-version sparc=SUNWprivate_1.1 sparcv9=SUNWprivate_1.1
-end
-
-function _X_cplx_div
-#Declaration /* Unknown. */
-arch i386 amd64
-version i386=SUNWprivate_1.1 amd64=SUNWprivate_1.1
-end
-
-function _X_cplx_div_ix
-#Declaration /* Unknown. */
-arch i386 amd64
-version i386=SUNWprivate_1.1 amd64=SUNWprivate_1.1
-end
-
-function _X_cplx_div_rx
-#Declaration /* Unknown. */
-arch i386 amd64
-version i386=SUNWprivate_1.1 amd64=SUNWprivate_1.1
-end
-
-function _X_cplx_lr_div
-#Declaration /* Unknown. */
-arch i386 amd64
-version i386=SUNWprivate_1.1 amd64=SUNWprivate_1.1
-end
-
-function _X_cplx_lr_div_ix
-#Declaration /* Unknown. */
-arch i386 amd64
-version i386=SUNWprivate_1.1 amd64=SUNWprivate_1.1
-end
-
-function _X_cplx_lr_div_rx
-#Declaration /* Unknown. */
-arch i386 amd64
-version i386=SUNWprivate_1.1 amd64=SUNWprivate_1.1
-end
-
-function _X_cplx_mul
-#Declaration /* Unknown. */
-arch i386 amd64
-version i386=SUNWprivate_1.1 amd64=SUNWprivate_1.1
-end
-
-function __udivdi3
-#Declaration /* Unknown. */
-arch sparc i386
-version SUNWprivate_1.1
-end
-
-function __umoddi3
-#Declaration /* Unknown. */
-arch sparc i386
-version SUNWprivate_1.1
-end
-
-function __divdi3
-#Declaration /* Unknown. */
-arch sparc i386
-version SUNWprivate_1.1
-end
-
-function __moddi3
-#Declaration /* Unknown. */
-arch sparc i386
-version SUNWprivate_1.1
-end
-
-function __muldi3
-#Declaration /* Unknown. */
-arch sparc
-version SUNWprivate_1.1
-end
-
-function __cmpdi2
-#Declaration /* Unknown. */
-arch sparc
-version SUNWprivate_1.1
-end
-
-function __ucmpdi2
-#Declaration /* Unknown. */
-arch sparc
-version SUNWprivate_1.1
-end
-
-function __floatdidf
-#Declaration /* Unknown. */
-arch sparc
-version SUNWprivate_1.1
-end
-
-function __floatdisf
-#Declaration /* Unknown. */
-arch sparc
-version SUNWprivate_1.1
-end
-
-function __ashldi3
-#Declaration /* Unknown. */
-arch sparc
-version SUNWprivate_1.1
-end
-
-function __ashrdi3
-#Declaration /* Unknown. */
-arch sparc
-version SUNWprivate_1.1
-end
-
-function __lshrdi3
-#Declaration /* Unknown. */
-arch sparc
-version SUNWprivate_1.1
-end
-
-# PSARC/2000/492 UNIX03 project
-# Bugid 4850735, functions needed to support printf/scanf variable
-# sized u/intmax_t for 32-bit libc
-
-function _fprintf_c89
-arch sparc i386
-version SUNWprivate_1.1
-end
-
-function _printf_c89
-arch sparc i386
-version SUNWprivate_1.1
-end
-
-function _snprintf_c89
-arch sparc i386
-version SUNWprivate_1.1
-end
-
-function _sprintf_c89
-arch sparc i386
-version SUNWprivate_1.1
-end
-
-function _vfprintf_c89
-arch sparc i386
-version SUNWprivate_1.1
-end
-
-function _vprintf_c89
-arch sparc i386
-version SUNWprivate_1.1
-end
-
-function _vsnprintf_c89
-arch sparc i386
-version SUNWprivate_1.1
-end
-
-function _vsprintf_c89
-arch sparc i386
-version SUNWprivate_1.1
-end
-
-function _fwprintf_c89
-arch sparc i386
-version SUNWprivate_1.1
-end
-
-function _swprintf_c89
-arch sparc i386
-version SUNWprivate_1.1
-end
-
-function _wprintf_c89
-arch sparc i386
-version SUNWprivate_1.1
-end
-
-function _vfwprintf_c89
-arch sparc i386
-version SUNWprivate_1.1
-end
-
-function _vswprintf_c89
-arch sparc i386
-version SUNWprivate_1.1
-end
-
-function _vwprintf_c89
-arch sparc i386
-version SUNWprivate_1.1
-end
-
-function _fscanf_c89
-arch sparc i386
-version SUNWprivate_1.1
-end
-
-function _scanf_c89
-arch sparc i386
-version SUNWprivate_1.1
-end
-
-function _sscanf_c89
-arch sparc i386
-version SUNWprivate_1.1
-end
-
-function _vfscanf_c89
-arch sparc i386
-version SUNWprivate_1.1
-end
-
-function _vscanf_c89
-arch sparc i386
-version SUNWprivate_1.1
-end
-
-function _vsscanf_c89
-arch sparc i386
-version SUNWprivate_1.1
-end
-
-function _fwscanf_c89
-arch sparc i386
-version SUNWprivate_1.1
-end
-
-function _swscanf_c89
-arch sparc i386
-version SUNWprivate_1.1
-end
-
-function _wscanf_c89
-arch sparc i386
-version SUNWprivate_1.1
-end
-
-function _vfwscanf_c89
-arch sparc i386
-version SUNWprivate_1.1
-end
-
-function _vswscanf_c89
-arch sparc i386
-version SUNWprivate_1.1
-end
-
-function _vwscanf_c89
-arch sparc i386
-version SUNWprivate_1.1
-end
-
-function __fseterror_u
-version SUNWprivate_1.1
-end
-
-function _file_set
-arch sparc i386
-version SUNWprivate_1.1
-end
diff --git a/usr/src/lib/libc/spec/privatedata.spec b/usr/src/lib/libc/spec/privatedata.spec
deleted file mode 100644
index 3fc9b1687f..0000000000
--- a/usr/src/lib/libc/spec/privatedata.spec
+++ /dev/null
@@ -1,244 +0,0 @@
-#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-data ___Argv
-version SUNWprivate_1.1
-binding nodirect
-end
-
-data __ctype_mask
-version SUNWprivate_1.1
-end
-
-data __environ_lock
-version SUNWprivate_1.1
-binding nodirect
-end
-
-data __i_size
-version SUNWprivate_1.1
-end
-
-data __inf_read
-version SUNWprivate_1.1
-end
-
-data __inf_written
-version SUNWprivate_1.1
-end
-
-data __lc_charmap
-version SUNWprivate_1.1
-end
-
-data __lc_collate
-version SUNWprivate_1.1
-end
-
-data __lc_ctype
-version SUNWprivate_1.1
-end
-
-data __lc_locale
-version SUNWprivate_1.1
-end
-
-data __lc_messages
-version SUNWprivate_1.1
-end
-
-data __lc_monetary
-version SUNWprivate_1.1
-end
-
-data __lc_numeric
-version SUNWprivate_1.1
-end
-
-data __lc_time
-version SUNWprivate_1.1
-end
-
-data __libc_threaded
-version SUNWprivate_1.1
-end
-
-data __lyday_to_month
-arch sparc sparcv9
-version sparc=SUNWprivate_1.1 sparcv9=SUNWprivate_1.1
-end
-
-data __malloc_lock
-version SUNWprivate_1.1
-end
-
-data __mon_lengths
-arch sparc sparcv9
-version sparc=SUNWprivate_1.1 sparcv9=SUNWprivate_1.1
-end
-
-data __nan_read
-version SUNWprivate_1.1
-end
-
-data __nan_written
-version SUNWprivate_1.1
-end
-
-data __threaded
-version SUNWprivate_1.1
-end
-
-data __trans_lower
-version SUNWprivate_1.1
-end
-
-data __trans_upper
-version SUNWprivate_1.1
-end
-
-data __xpg6
-version SUNWprivate_1.1
-binding nodirect
-end
-
-data __yday_to_month
-arch sparc sparcv9
-version sparc=SUNWprivate_1.1 sparcv9=SUNWprivate_1.1
-end
-
-data _cswidth
-version SUNWprivate_1.1
-end
-
-data _lib_version
-version SUNWprivate_1.1
-binding nodirect
-end
-
-data _lone extends libc/spec/sys.spec lone
-weak lone
-version SUNWprivate_1.1
-end
-
-data _lten extends libc/spec/sys.spec lten
-weak lten
-version SUNWprivate_1.1
-end
-
-data _lzero extends libc/spec/sys.spec lzero
-weak lzero
-version SUNWprivate_1.1
-end
-
-data _nss_default_finders
-weak nss_default_finders
-version SUNWprivate_1.1
-end
-
-data _smbuf
-version SUNWprivate_1.1
-end
-
-data _sp
-version SUNWprivate_1.1
-end
-
-# this is almost certainly consumed by the fortran run-time
-# as well as mdb.
-
-data _sse_hw
-arch i386
-version SUNWprivate_1.1
-end
-
-data _sys_errlist
-arch i386 sparc
-version i386=SUNWprivate_1.1 sparc=SUNWprivate_1.1
-end
-
-data _sys_errs
-arch i386 sparc
-version i386=SUNWprivate_1.1 sparc=SUNWprivate_1.1
-end
-
-data _sys_index
-arch i386 sparc
-version i386=SUNWprivate_1.1 sparc=SUNWprivate_1.1
-end
-
-data _sys_nerr
-arch i386 sparc
-version i386=SUNWprivate_1.1 sparc=SUNWprivate_1.1
-end
-
-data _sys_num_err
-arch i386 sparc
-version i386=SUNWprivate_1.1 sparc=SUNWprivate_1.1
-end
-
-# tdb_bootstrap and uberdata are consumed by libc_db. Forcing them into the
-# dynsym allows debuggers to work with libc's text and no symtab.
-
-data _tdb_bootstrap
-version SUNWprivate_1.1
-end
-
-data _uberdata
-version SUNWprivate_1.1
-end
-
-# Bugid 4296198, had to move these from libnsl/nis/cache/cache_api.cc BEGIN
-
-data __nis_debug_bind
-version SUNWprivate_1.1
-end
-
-data __nis_debug_calls
-version SUNWprivate_1.1
-end
-
-data __nis_debug_file
-version SUNWprivate_1.1
-end
-
-data __nis_debug_rpc
-version SUNWprivate_1.1
-end
-
-data __nis_prefsrv
-version SUNWprivate_1.1
-end
-
-data __nis_preftype
-version SUNWprivate_1.1
-end
-
-data __nis_server
-version SUNWprivate_1.1
-end
-
-# Bugid 4296198, had to move these from libnsl/nis/cache/cache_api.cc END
diff --git a/usr/src/lib/libc/spec/regex.spec b/usr/src/lib/libc/spec/regex.spec
deleted file mode 100644
index 5087b5c2e6..0000000000
--- a/usr/src/lib/libc/spec/regex.spec
+++ /dev/null
@@ -1,71 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libc/spec/regex.spec
-
-function glob
-include <glob.h>
-declaration int glob(const char *_RESTRICT_KYWD pattern, \
- int flags, int (*errfunc)(const char *epath, int eerrno), \
- glob_t *_RESTRICT_KYWD pglob)
-version SUNW_0.8
-exception $return != 0
-end
-
-function globfree
-include <glob.h>
-declaration void globfree(glob_t *pglob)
-version SUNW_0.8
-end
-
-function re_comp
-include <re_comp.h>
-declaration char *re_comp(const char *string)
-version SUNW_0.9
-exception $return != 0
-end
-
-function re_exec
-include <re_comp.h>
-declaration int re_exec(const char *string)
-version SUNW_0.9
-exception $return == 1 || $return == -1
-end
-
-function wordexp
-include <wordexp.h>
-declaration int wordexp(const char *_RESTRICT_KYWD words, \
- wordexp_t *_RESTRICT_KYWD pwordexp, int flags)
-version SUNW_0.8
-exception $return == 0
-end
-
-function wordfree
-include <wordexp.h>
-declaration void wordfree(wordexp_t *pwordexp)
-version SUNW_0.8
-end
-
diff --git a/usr/src/lib/libc/spec/rt.spec b/usr/src/lib/libc/spec/rt.spec
deleted file mode 100644
index 52de0469bd..0000000000
--- a/usr/src/lib/libc/spec/rt.spec
+++ /dev/null
@@ -1,641 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-function aio_cancel
-include <aio.h>
-declaration int aio_cancel(int fildes, struct aiocb *aiocbp)
-version SUNW_1.23
-errno EBADF ENOSYS
-end
-
-function aio_fsync
-include <aio.h>
-declaration int aio_fsync(int op, aiocb_t *aiocbp)
-version SUNW_1.23
-errno EAGAIN EBADF EINVAL ENOSYS
-end
-
-function aio_read
-include <aio.h>
-declaration int aio_read(struct aiocb *aiocbp)
-version SUNW_1.23
-errno EAGAIN ENOSYS EBADF EINVAL ECANCELED EFBIG
-end
-
-function aio_write
-include <aio.h>
-declaration int aio_write(struct aiocb *aiocbp)
-version SUNW_1.23
-errno EAGAIN ENOSYS EBADF EINVAL ECANCELED EFBIG
-end
-
-function aio_return
-include <aio.h>
-declaration ssize_t aio_return(struct aiocb * aiocbp)
-version SUNW_1.23
-errno EINVAL ENOSYS
-end
-
-function aio_error
-include <aio.h>
-declaration int aio_error(const struct aiocb *aiocbp)
-version SUNW_1.23
-errno EINVAL ENOSYS
-end
-
-function aio_suspend
-include <aio.h>
-declaration int aio_suspend(const struct aiocb *const list[], int nent, \
- const struct timespec *timeout)
-version SUNW_1.23
-errno EAGAIN EINTR ENOSYS
-end
-
-function posix_fallocate
-include <fcntl.h>
-declaration int posix_fallocate(int fd, off_t offset, off_t len)
-version SUNW_1.23
-errno EBADF EFBIG EINTR EINVAL EIO ENODEV ENOSPC ESPIPE
-end
-
-function fdatasync
-include <unistd.h>
-declaration int fdatasync(int fildes)
-version SUNW_1.23
-errno EBADF EINVAL ENOSYS
-end
-
-function lio_listio
-include <aio.h>
-declaration int lio_listio(int mode, struct aiocb *const list[], int nent, \
- struct sigevent *sig)
-version SUNW_1.23
-errno EAGAIN EINVAL EINTR EIO ENOSYS ECANCELED \
- EINPROGRESS EOVERFLOW EFBIG
-end
-
-function aio_waitn
-include <aio.h>
-declaration int aio_waitn(struct aiocb *list[], uint_t nent, \
- uint_t *nwait, const struct timespec *timeout)
-version SUNW_1.23
-errno EAGAIN EINTR ETIME ENOMEM EFAULT EINVAL
-end
-
-function aio_cancel64 extends libc/spec/rt.spec aio_cancel
-declaration int aio_cancel64(int fildes, struct aiocb64 *aiocbp)
-arch i386 sparc
-version SUNW_1.23
-end
-
-function aio_error64 extends libc/spec/rt.spec aio_error
-declaration int aio_error64(const struct aiocb64 *aiocbp)
-arch i386 sparc
-version SUNW_1.23
-end
-
-function aio_fsync64 extends libc/spec/rt.spec aio_fsync
-declaration int aio_fsync64(int op, struct aiocb64 *aiocbp)
-arch i386 sparc
-version SUNW_1.23
-end
-
-function aio_read64 extends libc/spec/rt.spec aio_read
-declaration int aio_read64(struct aiocb64 *aiocbp)
-arch i386 sparc
-version SUNW_1.23
-end
-
-function aio_return64 extends libc/spec/rt.spec aio_return
-declaration ssize_t aio_return64(struct aiocb64 * aiocbp)
-arch i386 sparc
-version SUNW_1.23
-end
-
-function aio_suspend64 extends libc/spec/rt.spec aio_suspend
-declaration int aio_suspend64(const struct aiocb64 *const list[], \
- int nent, const struct timespec *timeout)
-arch i386 sparc
-version SUNW_1.23
-end
-
-function aio_write64 extends libc/spec/rt.spec aio_write
-declaration int aio_write64(struct aiocb64 *aiocbp)
-arch i386 sparc
-version SUNW_1.23
-end
-
-function lio_listio64 extends libc/spec/rt.spec lio_listio
-declaration int lio_listio64(int mode, struct aiocb64 *const list[], \
- int nent, struct sigevent *sig)
-arch i386 sparc
-version SUNW_1.23
-end
-
-function aio_waitn64 extends libc/spec/rt.spec aio_waitn
-declaration int aio_waitn64(struct aiocb64 *list[], uint_t nent, \
- uint_t *nwait, const struct timespec *timeout)
-arch i386 sparc
-version SUNW_1.23
-end
-
-function posix_fallocate64 extends libc/spec/rt.spec posix_fallocate
-declaration int posix_fallocate64(int fd, off64_t offset, off64_t len)
-arch i386 sparc
-version SUNW_1.23
-end
-
-function mq_close
-include <mqueue.h>
-declaration int mq_close(mqd_t mqdes)
-version SUNW_1.23
-errno EBADF ENOSYS
-exception $return == -1
-end
-
-function mq_notify
-include <mqueue.h>
-declaration int mq_notify(mqd_t mqdes, const struct sigevent *notification)
-version SUNW_1.23
-errno EBADF EBUSY ENOSYS
-exception $return == -1
-end
-
-function mq_open
-include <mqueue.h>
-declaration mqd_t mq_open(const char *name, int oflag, ...)
-version SUNW_1.23
-errno EACCESS EEXIST EINTR EINVAL EMFILE ENAMETOOLONG ENFILE \
- ENOENT ENOSPC ENOSYS
-exception $return == (mqd_t)(-1)
-end
-
-function mq_receive
-include <mqueue.h>
-declaration ssize_t mq_receive(mqd_t mqdes, char *msg_ptr, \
- size_t msg_len, unsigned int *msg_prio)
-version SUNW_1.23
-errno EAGAIN EBADF EMSGSIZE EINTR
-exception $return == (ssize_t)(-1)
-end
-
-function mq_timedreceive
-include <mqueue.h>, <time.h>
-declaration ssize_t mq_timedreceive(mqd_t mqdes, char *msg_ptr, \
- size_t msg_len, unsigned int *msg_prio, \
- const struct timespec *abs_timeout)
-version SUNW_1.23
-errno EAGAIN EBADF EMSGSIZE EINTR ETIMEDOUT
-exception $return == (ssize_t)(-1)
-end
-
-function mq_reltimedreceive_np
-include <mqueue.h>, <time.h>
-declaration ssize_t mq_reltimedreceive_np(mqd_t mqdes, char *msg_ptr, \
- size_t msg_len, unsigned int *msg_prio, \
- const struct timespec *rel_timeout)
-version SUNW_1.23
-errno EAGAIN EBADF EMSGSIZE EINTR ETIMEDOUT
-exception $return == (ssize_t)(-1)
-end
-
-function mq_send
-include <mqueue.h>
-declaration int mq_send(mqd_t mqdes, const char *msg_ptr, \
- size_t msg_len, unsigned int msg_prio)
-version SUNW_1.23
-errno EAGAIN EBADF EINTR EMSGSIZE
-exception $return == -1
-end
-
-function mq_timedsend
-include <mqueue.h>, <time.h>
-declaration int mq_timedsend(mqd_t mqdes, const char *msg_ptr, \
- size_t msg_len, unsigned int msg_prio, \
- const struct timespec *abs_timeout)
-version SUNW_1.23
-errno EAGAIN EBADF EINTR EMSGSIZE ETIMEDOUT
-exception $return == -1
-end
-
-function mq_reltimedsend_np
-include <mqueue.h>, <time.h>
-declaration int mq_reltimedsend_np(mqd_t mqdes, const char *msg_ptr, \
- size_t msg_len, unsigned int msg_prio, \
- const struct timespec *rel_timeout)
-version SUNW_1.23
-errno EAGAIN EBADF EINTR EMSGSIZE ETIMEDOUT
-exception $return == -1
-end
-
-function mq_setattr
-include <mqueue.h>
-declaration int mq_setattr(mqd_t mqdes, \
- const struct mq_attr *_RESTRICT_KYWD mqstat, \
- struct mq_attr *_RESTRICT_KYWD omqstat)
-version SUNW_1.23
-errno EBADF ENOSYS
-exception $return == -1
-end
-
-function mq_getattr
-include <mqueue.h>
-declaration int mq_getattr(mqd_t mqdes, struct mq_attr *mqstat)
-version SUNW_1.23
-errno EBADF ENOSYS
-exception $return == -1
-end
-
-function mq_unlink
-include <mqueue.h>
-declaration int mq_unlink(const char *name)
-version SUNW_1.23
-errno EACCESS ENAMETOOLONG ENOENT ENOSYS
-exception $return == -1
-end
-
-function nanosleep
-include <time.h>
-declaration int nanosleep(const struct timespec *rqtp, \
- struct timespec *rmtp)
-version SUNW_1.23
-errno EINTR EINVAL
-end
-
-function clock_nanosleep
-include <time.h>
-declaration int clock_nanosleep(clockid_t clock_id, int flags, \
- const struct timespec *rqtp, struct timespec *rmtp)
-version SUNW_1.23
-errno EINTR EINVAL
-end
-
-function sched_get_priority_max
-include <sched.h>
-declaration int sched_get_priority_max(int policy)
-version SUNW_1.23
-errno EINVAL ENOSYS ESRCH
-end
-
-function sched_get_priority_min
-include <sched.h>
-declaration int sched_get_priority_min(int policy)
-version SUNW_1.23
-errno EINVAL ENOSYS ESRCH
-end
-
-function sched_rr_get_interval
-include <sched.h>
-declaration int sched_rr_get_interval(pid_t pid, struct timespec *interval)
-version SUNW_1.23
-errno EINVAL ENOSYS ESRCH
-end
-
-function sched_setparam
-include <sched.h>
-declaration int sched_setparam(pid_t pid, const struct sched_param *param)
-version SUNW_1.23
-errno EINVAL ENOSYS EPERM ESRCH
-end
-
-function sched_getparam
-include <sched.h>
-declaration int sched_getparam(pid_t pid, struct sched_param *param)
-version SUNW_1.23
-errno EINVAL ENOSYS EPERM ESRCH
-end
-
-function sched_setscheduler
-include <sched.h>
-declaration int sched_setscheduler(pid_t pid, int policy, \
- const struct sched_param *param)
-version SUNW_1.23
-errno EINVAL ENOSYS EPERM ESRCH
-end
-
-function sched_getscheduler
-include <sched.h>
-declaration int sched_getscheduler(pid_t pid)
-version SUNW_1.23
-errno EINVAL ENOSYS EPERM ESRCH
-end
-
-function sched_yield
-include <sched.h>
-declaration int sched_yield(void)
-version SUNW_1.23
-errno ENOSYS
-end
-
-function sem_close
-include <semaphore.h>
-declaration int sem_close(sem_t *sem)
-version SUNW_1.23
-errno EINVAL ENOSYS
-end
-
-function sem_destroy
-include <semaphore.h>
-declaration int sem_destroy(sem_t *sem)
-version SUNW_1.23
-errno EINVAL ENOSYS EBUSY
-end
-
-function sem_getvalue
-include <semaphore.h>
-declaration int sem_getvalue(sem_t *sem, int *sval)
-version SUNW_1.23
-errno EINVAL ENOSYS
-end
-
-function sem_init
-include <semaphore.h>, <unistd.h>
-declaration int sem_init(sem_t *sem, int pshared, unsigned int value)
-version SUNW_1.23
-errno EINVAL ENOSPC ENOSYS EPERM
-end
-
-function sem_open
-include <semaphore.h>, <unistd.h>, <sys/stat.h>
-declaration sem_t *sem_open(const char *name, int oflag, ...)
-version SUNW_1.23
-errno EACCES EEXIST EINTR EINVAL EMFILE ENAMETOOLONG ENFILE \
- ENOENT ENOSPC ENOSYS
-end
-
-function sem_post
-include <semaphore.h>
-declaration int sem_post(sem_t *sem)
-version SUNW_1.23
-errno EINVAL ENOSYS
-end
-
-function sem_unlink
-include <semaphore.h>
-declaration int sem_unlink(const char *name)
-version SUNW_1.23
-errno EACCES ENAMETOOLONG ENOENT ENOSYS
-end
-
-function sem_wait
-include <semaphore.h>
-declaration int sem_wait(sem_t *sem)
-version SUNW_1.23
-errno EAGAIN EINVAL EINTR ENOSYS EDEADLK
-end
-
-function sem_timedwait
-include <semaphore.h> <time.h>
-declaration int sem_timedwait(sem_t *sem, const timespec_t *abstime)
-version SUNW_1.23
-errno EAGAIN EINVAL EINTR ETIMEDOUT EDEADLK
-end
-
-function sem_reltimedwait_np
-include <semaphore.h> <time.h>
-declaration int sem_reltimedwait_np(sem_t *sem, const timespec_t *reltime)
-version SUNW_1.23
-errno EAGAIN EINVAL EINTR ETIMEDOUT EDEADLK
-end
-
-function sem_trywait
-include <semaphore.h>
-declaration int sem_trywait(sem_t *sem)
-version SUNW_1.23
-errno EAGAIN EINVAL EINTR ENOSYS EDEADLK
-end
-
-function shm_open
-include <sys/mman.h>, <sys/types.h>, <sys/stat.h>, <fcntl.h>
-declaration int shm_open(const char *name, int oflag, mode_t mode)
-version SUNW_1.23
-errno EACCES EEXIST EINTR EINVAL EMFILE ENAMETOOLONG ENFILE \
- ENOENT ENOSPC ENOSYS
-end
-
-function shm_unlink
-declaration int shm_unlink(const char *name)
-version SUNW_1.23
-errno EACCES ENAMETOOLONG ENOENT ENOSYS
-end
-
-function sigqueue
-include <signal.h>
-declaration int sigqueue(pid_t pid, int signo, const union sigval value)
-version SUNW_1.23
-errno EAGAIN EINVAL ENOSYS EPERM ESRCH
-end
-
-function sigwaitinfo
-include <signal.h>
-declaration int sigwaitinfo(const sigset_t *_RESTRICT_KYWD set, \
- siginfo_t *_RESTRICT_KYWD info)
-version SUNW_1.23
-errno EINTR ENOSYS EAGAIN EINVAL
-end
-
-function sigtimedwait
-include <signal.h>
-declaration int sigtimedwait(const sigset_t *_RESTRICT_KYWD set, \
- siginfo_t *_RESTRICT_KYWD info, \
- const struct timespec *_RESTRICT_KYWD timeout)
-version SUNW_1.23
-errno EINTR ENOSYS EAGAIN EINVAL
-end
-
-function timer_create
-include <signal.h>, <time.h>
-declaration int timer_create(clockid_t clock_id, struct sigevent *evp, \
- timer_t *timerid)
-version SUNW_1.23
-errno EAGAIN EINVAL ENOSYS
-end
-
-function timer_delete
-include <time.h>
-declaration int timer_delete(timer_t timerid)
-version SUNW_1.23
-errno EINVAL ENOSYS
-end
-
-function timer_settime
-include <time.h>
-declaration int timer_settime(timer_t timerid, int flags, \
- const struct itimerspec *value, \
- struct itimerspec *ovalue)
-version SUNW_1.23
-errno EINVAL ENOSYS
-end
-
-function timer_gettime
-include <time.h>
-declaration int timer_gettime(timer_t timerid, struct itimerspec *value)
-version SUNW_1.23
-errno EINVAL ENOSYS
-end
-
-function timer_getoverrun
-include <time.h>
-declaration int timer_getoverrun(timer_t timerid)
-version SUNW_1.23
-errno EINVAL ENOSYS
-end
-
-function clock_settime
-include <time.h>
-declaration int clock_settime(clockid_t clock_id, const struct timespec *tp)
-version SUNW_1.23
-errno EINVAL ENOSYS EPERM
-end
-
-function clock_gettime
-include <time.h>
-declaration int clock_gettime(clockid_t clock_id, struct timespec *tp)
-version SUNW_1.23
-errno EINVAL ENOSYS EPERM
-end
-
-function clock_getres
-include <time.h>
-declaration int clock_getres(clockid_t clock_id, struct timespec *res)
-version SUNW_1.23
-errno EINVAL ENOSYS EPERM
-end
-
-function _clock_getres
-version SUNWprivate_1.1
-end
-
-function _clock_gettime
-version SUNWprivate_1.1
-end
-
-function _clock_settime
-version SUNWprivate_1.1
-end
-
-function _nanosleep
-version SUNWprivate_1.1
-end
-
-function _clock_nanosleep
-version SUNWprivate_1.1
-end
-
-function _timer_create
-version SUNWprivate_1.1
-end
-
-function _timer_delete
-version SUNWprivate_1.1
-end
-
-function _timer_getoverrun
-version SUNWprivate_1.1
-end
-
-function _timer_gettime
-version SUNWprivate_1.1
-end
-
-function _timer_settime
-version SUNWprivate_1.1
-end
-
-#
-# Weak Specs
-#
-function _sem_open
-weak sem_open
-version SUNWprivate_1.1
-end
-
-function _sem_close
-weak sem_close
-version SUNWprivate_1.1
-end
-
-function _sem_unlink
-weak sem_unlink
-version SUNWprivate_1.1
-end
-
-function _sem_init
-weak sem_init
-version SUNWprivate_1.1
-end
-
-function _sem_destroy
-weak sem_destroy
-version SUNWprivate_1.1
-end
-
-function _sem_wait
-weak sem_wait
-version SUNWprivate_1.1
-end
-
-function _sem_timedwait
-weak sem_timedwait
-version SUNWprivate_1.1
-end
-
-function _sem_reltimedwait_np
-weak sem_reltimedwait_np
-version SUNWprivate_1.1
-end
-
-function _sem_trywait
-weak sem_trywait
-version SUNWprivate_1.1
-end
-
-function _sem_post
-weak sem_post
-version SUNWprivate_1.1
-end
-
-function _sem_getvalue
-weak sem_getvalue
-version SUNWprivate_1.1
-end
-
-function _sigwaitinfo
-weak sigwaitinfo
-version SUNWprivate_1.1
-end
-
-function _sigtimedwait
-weak sigtimedwait
-version SUNWprivate_1.1
-end
-
-function _sigqueue
-weak sigqueue
-version SUNWprivate_1.1
-end
-
diff --git a/usr/src/lib/libc/spec/sparc/Makefile b/usr/src/lib/libc/spec/sparc/Makefile
deleted file mode 100644
index cd46b18934..0000000000
--- a/usr/src/lib/libc/spec/sparc/Makefile
+++ /dev/null
@@ -1,50 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# lib/libc/spec/sparc/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-sparc_C_PICFLAGS = -K PIC
-
-# Override this top level flag so the compiler builds in its native
-# C99 mode.
-C99MODE=
-C99LMODE=
-
-include $(SRC)/lib/Makefile.spec
-ABILLIBC=
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libc/spec/sparcv9/Makefile b/usr/src/lib/libc/spec/sparcv9/Makefile
deleted file mode 100644
index 64cbc66a56..0000000000
--- a/usr/src/lib/libc/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,51 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# lib/libc/spec/sparcv9/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-sparcv9_C_PICFLAGS = -K PIC
-
-# Override this top level flag so the compiler builds in its native
-# C99 mode.
-C99MODE=
-C99LMODE=
-
-include $(SRC)/lib/Makefile.spec
-ABILLIBC=
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libc/spec/stdio.spec b/usr/src/lib/libc/spec/stdio.spec
deleted file mode 100644
index 561085ce1e..0000000000
--- a/usr/src/lib/libc/spec/stdio.spec
+++ /dev/null
@@ -1,602 +0,0 @@
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-function clearerr
-include <stdio.h>
-declaration void clearerr(FILE *stream)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function ctermid
-include <stdio.h>
-declaration char *ctermid(char *s)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-exception is_empty_string($return)
-end
-
-function ctermid_r
-include <stdio.h>
-declaration char *ctermid_r(char *s)
-version SUNW_0.7
-exception is_empty_string($return)
-end
-
-function cuserid
-include <stdio.h>
-declaration char *cuserid(char *s)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function _cuserid # extends libc/spec/stdio.spec cuserid
-weak cuserid
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function enable_extended_FILE_stdio
-arch sparc i386
-version sparc=SUNW_1.23 i386=SUNW_1.23
-end
-
-function fclose
-include <stdio.h>
-declaration int fclose(FILE *stream)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EAGAIN EBADF EFBIG EINTR EIO ENOSPC EPIPE ENXIO
-end
-
-function fdopen
-include <stdio.h>
-declaration FILE *fdopen(int fildes, const char *mode)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EBADF EINVAL EMFILE ENOMEM
-end
-
-function _fdopen
-weak fdopen
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function feof
-include <stdio.h>
-declaration int feof(FILE *stream)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function ferror
-include <stdio.h>
-declaration int ferror(FILE *stream)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function fflush
-include <stdio.h>
-declaration int fflush(FILE *stream)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EAGAIN EBADF EFBIG EINTR EIO ENOSPC EPIPE ENXIO
-end
-
-function fgetc
-include <stdio.h>
-declaration int fgetc(FILE *stream)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EOVERFLOW
-end
-
-function fgetpos
-include <stdio.h>
-declaration int fgetpos(FILE *_RESTRICT_KYWD stream, \
- fpos_t *_RESTRICT_KYWD pos)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EBADF ESPIPE EOVERFLOW
-exception $return == -1
-end
-
-function fgets
-include <stdio.h>
-declaration char *fgets(char *_RESTRICT_KYWD s, int n, \
- FILE *_RESTRICT_KYWD stream)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EOVERFLOW
-end
-
-function fileno
-include <stdio.h>
-declaration int fileno(FILE *stream)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function _fileno
-weak fileno
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function flockfile
-include <stdio.h>
-declaration void flockfile(FILE *stream)
-version i386=SUNW_0.7 sparc=SISCD_2.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function fopen
-include <stdio.h>
-declaration FILE *fopen(const char *_RESTRICT_KYWD filename, \
- const char *_RESTRICT_KYWD mode)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EACCES EINTR EISDIR ELOOP EMFILE ENAMETOOLONG ENFILE ENOENT \
- ENOSPC ENOTDIR ENXIO EOVERFLOW EROFS EINVAL ENOMEM \
- ETXTBSY
-end
-
-function fputc
-include <stdio.h>
-declaration int fputc(int c, FILE *stream)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EFBIG
-end
-
-function fputs
-include <stdio.h>
-declaration int fputs(const char *_RESTRICT_KYWD s, \
- FILE *_RESTRICT_KYWD stream)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EFBIG
-end
-
-function fread
-include <stdio.h>, <errno.h>
-declaration size_t fread(void *_RESTRICT_KYWD ptr, size_t size, \
- size_t nitems, \
- FILE *_RESTRICT_KYWD stream)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EOVERFLOW EFBIG
-exception $return == 0 && (errno == EOVERFLOW || errno == EFBIG)
-end
-
-function freopen
-include <stdio.h>
-declaration FILE *freopen(const char *_RESTRICT_KYWD filename, \
- const char *_RESTRICT_KYWD mode, \
- FILE *_RESTRICT_KYWD stream)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EACCES EINTR EISDIR ELOOP EMFILE ENAMETOOLONG ENFILE \
- ENOENT ENOSPC ENOTDIR ENXIO EOVERFLOW EROFS \
- EINVAL ENOMEM ETXTBSY
-end
-
-function fscanf
-include <stdio.h>
-declaration int fscanf(FILE *_RESTRICT_KYWD strm, \
- const char *_RESTRICT_KYWD format, ...)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EOVERFLOW
-exception $return == -1
-end
-
-function fwscanf
-include <stdio.h>, <wchar.h>
-declaration int fwscanf(FILE *_RESTRICT_KYWD stream, \
- const wchar_t *_RESTRICT_KYWD format, ...)
-version SUNW_1.18
-end
-
-function fseek
-include <stdio.h>
-declaration int fseek(FILE *stream, long offset, int whence)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EAGAIN EBADF EFBIG EINTR EINVAL EIO ENOSPC EPIPE ENXIO EOVERFLOW
-end
-
-function fseeko
-include <stdio.h>
-declaration int fseeko(FILE *stream, off_t offset, int whence)
-version SUNW_1.1
-errno EAGAIN EBADF EFBIG EINTR EINVAL EIO ENOSPC EPIPE ENXIO EOVERFLOW
-end
-
-function fsetpos
-include <stdio.h>
-declaration int fsetpos(FILE *stream, const fpos_t *pos)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EBADF ESPIPE
-exception $return == -1
-end
-
-function ftell
-include <stdio.h>
-declaration long ftell(FILE *stream)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EBADF ESPIPE EOVERFLOW
-end
-
-function ftello
-include <stdio.h>
-declaration off_t ftello(FILE *stream)
-version SUNW_1.1
-errno EBADF ESPIPE EOVERFLOW
-end
-
-function funlockfile
-include <stdio.h>
-declaration void funlockfile(FILE *stream)
-version i386=SUNW_0.7 sparc=SISCD_2.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function fwrite
-include <stdio.h>
-declaration size_t fwrite(const void *_RESTRICT_KYWD ptr, size_t size, \
- size_t nitems, \
- FILE *_RESTRICT_KYWD stream)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EOVERFLOW EFBIG
-exception $return == 0
-end
-
-function getc
-include <stdio.h>
-declaration int getc(FILE *stream)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EOVERFLOW
-end
-
-function getc_unlocked
-include <stdio.h>
-declaration int getc_unlocked(FILE *stream)
-version i386=SUNW_0.7 sparc=SISCD_2.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EOVERFLOW
-end
-
-function getchar
-include <stdio.h>
-declaration int getchar(void)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EOVERFLOW
-end
-
-function getchar_unlocked
-include <stdio.h>
-declaration int getchar_unlocked(void)
-version i386=SUNW_0.7 sparc=SISCD_2.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EOVERFLOW
-end
-
-function getpass
-include <unistd.h>
-declaration char *getpass(const char *prompt)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EINTR EIO EMFILE ENFILE ENXIO
-end
-
-function _getpass
-weak getpass
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function getpassphrase
-include <unistd.h>
-declaration char *getpassphrase(const char *prompt)
-version SUNW_1.1
-errno EINTR EIO EMFILE ENFILE ENXIO
-end
-
-function gets
-include <stdio.h>
-declaration char *gets(char *s)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EOVERFLOW
-end
-
-function getw
-include <stdio.h>
-declaration int getw(FILE *stream)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EOVERFLOW
-end
-
-function _getw
-weak getw
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function pclose
-include <stdio.h>
-declaration int pclose(FILE *stream)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-exception $return == -1
-end
-
-function _pclose
-weak pclose
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function popen
-include <stdio.h>
-declaration FILE *popen(const char *command, const char *mode)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-exception $return == 0
-end
-
-function _popen
-weak popen
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function putc
-include <stdio.h>
-declaration int putc(int c, FILE *stream)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EFBIG
-end
-
-function putc_unlocked
-include <stdio.h>
-declaration int putc_unlocked(int c, FILE *stream)
-version i386=SUNW_0.7 sparc=SISCD_2.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EFBIG
-end
-
-function putchar
-include <stdio.h>
-declaration int putchar(int c)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EFBIG
-end
-
-function putchar_unlocked
-include <stdio.h>
-declaration int putchar_unlocked(int c)
-version i386=SUNW_0.7 sparc=SISCD_2.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EFBIG
-end
-
-function puts
-include <stdio.h>
-declaration int puts(const char *s)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EFBIG
-end
-
-function putw
-include <stdio.h>
-declaration int putw(int w, FILE *stream)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EFBIG
-end
-
-function _putw
-weak putw
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function scanf
-include <stdio.h>
-declaration int scanf(const char *_RESTRICT_KYWD format, ...)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EOVERFLOW
-exception $return == -1
-end
-
-function setbuf
-include <stdio.h>
-declaration void setbuf(FILE *_RESTRICT_KYWD stream, \
- char *_RESTRICT_KYWD buf)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function setbuffer
-include <stdio.h>
-declaration void setbuffer(FILE *iop, char *abuf, size_t asize)
-version SUNW_0.9
-end
-
-function setlinebuf
-include <stdio.h>
-declaration int setlinebuf(FILE *iop)
-version SUNW_0.9
-end
-
-function setvbuf
-include <stdio.h>
-declaration int setvbuf(FILE *_RESTRICT_KYWD stream, \
- char *_RESTRICT_KYWD buf, int type, size_t size)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function sscanf
-include <stdio.h>
-declaration int sscanf(const char *_RESTRICT_KYWD s, \
- const char *_RESTRICT_KYWD format, ...)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EOVERFLOW
-exception $return == -1
-end
-
-function system
-declaration int system(const char *string )
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-exception $return == 0
-end
-
-function tempnam
-include <stdio.h>
-declaration char *tempnam(const char *dir, const char *pfx)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-exception $return == 0
-end
-
-function _tempnam
-weak tempnam
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function tmpfile
-include <stdio.h>
-declaration FILE *tmpfile(void)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EINTR EMFILE ENFILE ENOSPC ENOMEM
-end
-
-function tmpnam
-include <stdio.h>
-declaration char *tmpnam(char *s)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-exception $return == 0
-end
-
-function tmpnam_r
-include <stdio.h>
-declaration char *tmpnam_r(char *s)
-version SUNW_0.7
-exception $return == 0
-end
-
-function ungetc
-include <stdio.h>
-declaration int ungetc(int c, FILE *stream)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function _vfscanf
-weak vfscanf
-version SUNW_1.21
-end
-
-function vfscanf
-include <stdarg.h>, <stdio.h>
-declaration int vfscanf(FILE *_RESTRICT_KYWD strm, \
- const char *_RESTRICT_KYWD format, va_list arg)
-version SUNW_1.21
-errno EOVERFLOW
-exception $return == -1
-end
-
-function vfwscanf
-include <stdarg.h>, <stdio.h>, <wchar.h>
-declaration int vfwscanf(FILE *_RESTRICT_KYWD stream, \
- const wchar_t *_RESTRICT_KYWD format, va_list arg)
-version SUNW_1.21
-end
-
-function _vscanf
-weak vscanf
-version SUNW_1.21
-end
-
-function vscanf
-include <stdarg.h>, <stdio.h>
-declaration int vscanf(const char *_RESTRICT_KYWD format, va_list arg)
-version SUNW_1.21
-errno EOVERFLOW
-exception $return == -1
-end
-
-function _vsscanf
-weak vsscanf
-version SUNW_1.21
-end
-
-function vsscanf
-include <stdarg.h>, <stdio.h>
-declaration int vsscanf(const char *_RESTRICT_KYWD s, \
- const char *_RESTRICT_KYWD format, va_list arg)
-version SUNW_1.21
-errno EOVERFLOW
-exception $return == -1
-end
-
-function vswscanf
-include <stdarg.h>, <stdio.h>, <wchar.h>
-declaration int vswscanf(const wchar_t *_RESTRICT_KYWD ws, \
- const wchar_t *_RESTRICT_KYWD format, va_list arg)
-version SUNW_1.21
-end
-
-function vwscanf
-include <stdarg.h>, <stdio.h>, <wchar.h>
-declaration int vwscanf(const wchar_t *_RESTRICT_KYWD format, va_list arg)
-version SUNW_1.21
-end
-
-function wscanf
-include <stdio.h>, <wchar.h>
-declaration int wscanf(const wchar_t *_RESTRICT_KYWD format, ...)
-version SUNW_1.18
-end
diff --git a/usr/src/lib/libc/spec/sys.spec b/usr/src/lib/libc/spec/sys.spec
deleted file mode 100644
index c7117904f5..0000000000
--- a/usr/src/lib/libc/spec/sys.spec
+++ /dev/null
@@ -1,3546 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libc/spec/sys.spec
-
-function _lwp_cond_signal
-include <sys/lwp.h>
-declaration int _lwp_cond_signal(lwp_cond_t *cvp)
-version SUNW_0.7
-errno EINVAL EFAULT
-exception $return != 0
-end
-
-function _lwp_cond_broadcast
-include <sys/lwp.h>
-declaration int _lwp_cond_broadcast(lwp_cond_t *cvp)
-version SUNW_0.7
-errno EINVAL EFAULT
-exception $return != 0
-end
-
-function _lwp_cond_wait
-include <sys/lwp.h>
-declaration int _lwp_cond_wait(lwp_cond_t *cvp, lwp_mutex_t *mp)
-version SUNW_0.7
-errno EINVAL EFAULT EINTR
-exception $return != 0
-end
-
-function _lwp_cond_timedwait
-include <sys/lwp.h>
-declaration int _lwp_cond_timedwait(lwp_cond_t *cvp, lwp_mutex_t *mp, \
- timestruc_t *abstime)
-version SUNW_0.7
-errno EINVAL EFAULT EINTR ETIME
-exception $return != 0
-end
-
-function _lwp_cond_reltimedwait
-include <sys/lwp.h>
-declaration int _lwp_cond_reltimedwait(lwp_cond_t *cvp, lwp_mutex_t *mp, \
- timestruc_t *reltime)
-version SUNW_1.21
-errno EINVAL EFAULT EINTR ETIME
-exception $return != 0
-end
-
-function _lwp_info
-include <sys/time.h>, <sys/lwp.h>
-declaration int _lwp_info(struct lwpinfo *buffer)
-version SUNW_0.7
-errno EFAULT
-exception $return != 0
-end
-
-function _lwp_kill
-include <sys/lwp.h>, <signal.h>
-declaration int _lwp_kill(lwpid_t target_lwp, int sig)
-version SUNW_0.7
-errno EINVAL ESRCH
-exception $return != 0
-end
-
-function _lwp_mutex_lock
-include <sys/lwp.h>
-declaration int _lwp_mutex_lock(lwp_mutex_t *mp)
-version SUNW_0.7
-errno EINVAL EFAULT
-exception $return != 0
-end
-
-function _lwp_mutex_trylock
-include <sys/lwp.h>
-declaration int _lwp_mutex_trylock(lwp_mutex_t *mp)
-version SUNW_0.7
-errno EINVAL EFAULT EBUSY
-exception $return != 0
-end
-
-function _lwp_mutex_unlock
-include <sys/lwp.h>
-declaration int _lwp_mutex_unlock(lwp_mutex_t *mp)
-version SUNW_0.7
-errno EINVAL EFAULT
-exception $return != 0
-end
-
-function _lwp_self
-include <sys/lwp.h>
-declaration lwpid_t _lwp_self(void)
-version SUNW_0.7
-end
-
-function _lwp_sema_wait
-include <sys/lwp.h>
-declaration int _lwp_sema_wait(lwp_sema_t *sema)
-version SUNW_0.7
-errno EINVAL EFAULT EINTR
-exception $return != 0
-end
-
-function _lwp_sema_trywait
-include <sys/lwp.h>
-declaration int _lwp_sema_trywait(lwp_sema_t *sema)
-version SUNW_1.1
-errno EINVAL EFAULT
-exception $return != 0
-end
-
-function _lwp_sema_init
-include <sys/lwp.h>
-declaration int _lwp_sema_init(lwp_sema_t *sema, int count)
-version SUNW_0.7
-errno EINVAL EFAULT
-exception $return != 0
-end
-
-function _lwp_sema_post
-include <sys/lwp.h>
-declaration int _lwp_sema_post(lwp_sema_t *sema)
-version SUNW_0.7
-errno EINVAL EFAULT
-exception $return != 0
-end
-
-function _lwp_suspend
-include <sys/lwp.h>
-declaration int _lwp_suspend(lwpid_t target_lwp)
-version SUNW_0.7
-errno ESRCH EDEADLK
-exception $return != 0
-end
-
-function _lwp_continue
-include <sys/lwp.h>
-declaration int _lwp_continue(lwpid_t target_lwp)
-version SUNW_0.7
-errno ESRCH
-exception $return != 0
-end
-
-function access
-include <unistd.h>
-declaration int access(const char *path, int amode)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EACCES EFAULT EINTR ELOOP EMULTIHOP ENAMETOOLONG ENOENT \
- ENOLINK ENOTDIR EROFS EINVAL ETXTBSY
-exception $return == -1
-end
-
-function _access
-weak access
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function acct
-include <unistd.h>
-declaration int acct(const char *path)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EACCES EBUSY EFAULT ELOOP ENAMETOOLONG ENOENT ENOTDIR \
- EPERM EROFS
-exception $return == -1
-end
-
-function _acct
-weak acct
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function acctctl
-include <sys/types.h>, <sys/acctctl.h>
-declaration int acctctl(int cmd, void *buf, size_t bufsz)
-errno EACCES EBUSY EFAULT ELOOP ENAMETOOLONG ENOENT ENOTDIR \
- EINVAL ENOTACTIVE EPERM EROFS
-version SUNWprivate_1.1
-end
-
-function _acctctl
-weak acctctl
-version SUNWprivate_1.1
-end
-
-function acl
-include <sys/acl.h>
-declaration int acl(const char *pathp, int cmd, int nentries, \
- void *aclbufp)
-version SUNW_0.9
-errno EACCES EINVAL EIO EPERM ENOENT ENOSPC ENOTDIR ENOSYS EROFS \
- EFAULT
-exception $return == -1
-end
-
-function facl
-include <sys/acl.h>
-declaration int facl(int fildes, int cmd, int nentries, void *aclbufp)
-version SUNW_0.9
-errno EACCES EINVAL EIO EPERM ENOENT ENOSPC ENOTDIR ENOSYS \
- EROFS EFAULT
-exception $return == -1
-end
-
-function adjtime
-include <sys/time.h>
-declaration int adjtime(struct timeval *delta, struct timeval *olddelta)
-version SUNW_0.7
-errno EFAULT EINVAL EPERM
-exception $return == -1
-end
-
-function alarm
-include <unistd.h>
-declaration unsigned alarm(unsigned sec)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-exception $return == -1
-end
-
-function ualarm
-include <unistd.h>
-declaration useconds_t ualarm(useconds_t useconds, useconds_t interval)
-version SUNW_0.9
-end
-
-function brk
-include <unistd.h>
-declaration int brk(void *endds)
-version SUNW_0.7
-errno ENOMEM EAGAIN
-exception $return == -1
-end
-
-function sbrk
-include <unistd.h>
-declaration void *sbrk(intptr_t incr)
-version sparc=SISCD_2.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno ENOMEM EAGAIN
-exception $return == (void *) -1
-end
-
-function bsd_signal
-include <sys/signal.h>
-declaration void (*bsd_signal(int sig, void (*func)(int)))(int)
-version SUNW_1.1
-errno EINVAL EFAULT
-exception ($return == SIG_ERR)
-end
-
-function .stret1
-arch sparc
-version sparc=SYSVABI_1.3
-end
-
-function .stret2
-arch sparc
-version sparc=SYSVABI_1.3
-end
-
-function .stret4
-arch sparc
-version sparc=SYSVABI_1.3
-end
-
-function .stret8
-arch sparc
-version sparc=SYSVABI_1.3
-end
-
-function .udiv
-arch sparc
-version sparc=SYSVABI_1.3
-end
-
-function .umul
-arch sparc
-version sparc=SYSVABI_1.3
-end
-
-function .urem
-arch sparc
-version sparc=SYSVABI_1.3
-end
-
-function _Q_add
-arch sparc
-version sparc=SYSVABI_1.3
-end
-
-function _Q_cmp
-arch sparc
-version sparc=SYSVABI_1.3
-end
-
-function _Q_cmpe
-arch sparc
-version sparc=SYSVABI_1.3
-end
-
-function _Q_div
-arch sparc
-version sparc=SYSVABI_1.3
-end
-
-function _Q_dtoq
-arch sparc
-version sparc=SYSVABI_1.3
-end
-
-function _Q_feq
-arch sparc
-version sparc=SYSVABI_1.3
-end
-
-function _Q_fge
-arch sparc
-version sparc=SYSVABI_1.3
-end
-
-function _Q_fgt
-arch sparc
-version sparc=SYSVABI_1.3
-end
-
-function _Q_fle
-arch sparc
-version sparc=SYSVABI_1.3
-end
-
-function _Q_flt
-arch sparc
-version sparc=SYSVABI_1.3
-end
-
-function _Q_fne
-arch sparc
-version sparc=SYSVABI_1.3
-end
-
-function _Q_itoq
-arch sparc
-version sparc=SYSVABI_1.3
-end
-
-function _Q_mul
-arch sparc
-version sparc=SYSVABI_1.3
-end
-
-function _Q_neg
-arch sparc
-version sparc=SYSVABI_1.3
-end
-
-function _Q_qtod
-arch sparc
-version sparc=SYSVABI_1.3
-end
-
-function _Q_qtoi
-arch sparc
-version sparc=SYSVABI_1.3
-end
-
-function _Q_qtos
-arch sparc
-version sparc=SYSVABI_1.3
-end
-
-function _Q_qtou
-arch sparc
-version sparc=SYSVABI_1.3
-end
-
-function _Q_sqrt
-arch sparc
-version sparc=SYSVABI_1.3
-end
-
-function _Q_stoq
-arch sparc
-version sparc=SYSVABI_1.3
-end
-
-function _Q_sub
-arch sparc
-version sparc=SYSVABI_1.3
-end
-
-function _Q_utoq
-arch sparc
-version sparc=SYSVABI_1.3
-end
-
-function chdir
-include <unistd.h>
-declaration int chdir(const char *path)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EACCES EFAULT EINTR EIO ELOOP ENAMETOOLONG ENOENT ENOLINK \
- ENOTDIR EMULTIHOP EBADF
-exception $return == -1
-end
-
-function _chdir
-weak chdir
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function fchdir
-include <unistd.h>
-declaration int fchdir(int fildes)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EACCES EFAULT EINTR EIO ELOOP ENAMETOOLONG ENOENT ENOLINK \
- ENOTDIR EMULTIHOP EBADF
-exception $return == -1
-end
-
-function _fchdir
-weak fchdir
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function chmod
-include <sys/types.h>, <sys/stat.h>
-declaration int chmod(const char *path, mode_t mode)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EACCES EFAULT EINTR EIO ELOOP EMULTIHOP ENAMETOOLONG ENOENT \
- ENOLINK ENOTDIR EPERM EROFS EBADF
-exception $return == -1
-end
-
-function _chmod
-weak chmod
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function fchmod
-include <sys/types.h>, <sys/stat.h>
-declaration int fchmod(int fildes, mode_t mode)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EACCES EFAULT EINTR EIO ELOOP EMULTIHOP ENAMETOOLONG ENOENT \
- ENOLINK ENOTDIR EPERM EROFS EBADF
-exception $return == -1
-end
-
-function _fchmod
-weak fchmod
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function chown
-include <unistd.h>, <sys/types.h>
-declaration int chown(const char *path, uid_t owner, gid_t group)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EACCES EFAULT EINTR EINVAL EIO ELOOP EMULTIHOP ENAMETOOLONG \
- ENOLINK ENOENT ENOTDIR EPERM EROFS EBADF
-exception $return == -1
-end
-
-function _chown
-weak chown
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function lchown
-include <unistd.h>, <sys/types.h>
-declaration int lchown(const char *path, uid_t owner, gid_t group)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EACCES EFAULT EINTR EINVAL EIO ELOOP EMULTIHOP ENAMETOOLONG \
- ENOLINK ENOENT ENOTDIR EPERM EROFS EBADF
-exception $return == -1
-end
-
-function _lchown
-weak lchown
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function fchown
-include <unistd.h>, <sys/types.h>
-declaration int fchown(int fildes, uid_t owner, gid_t group)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EACCES EFAULT EINTR EINVAL EIO ELOOP EMULTIHOP ENAMETOOLONG \
- ENOLINK ENOENT ENOTDIR EPERM EROFS EBADF
-exception $return == -1
-end
-
-function _fchown
-weak fchown
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function fchownat
-include <unistd.h>, <sys/types.h>
-declaration int fchownat(int fildes, const char *path, uid_t owner,\
- gid_t group, int flag)
-errno EACCES EFAULT EINTR EINVAL EIO ELOOP EMULTIHOP ENAMETOOLONG \
- ENOLINK ENOENT ENOTDIR EPERM EROFS EBADF
-version SUNW_1.21
-exception $return == -1
-end
-
-function _fchownat
-weak fchownat
-version SUNW_1.21
-end
-
-function chroot
-include <unistd.h>
-declaration int chroot(const char *path)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EACCES EBADF EFAULT EINVAL EINTR EIO ELOOP EMULTIHOP \
- ENAMETOOLONG ENOENT ENOLINK ENOTDIR EPERM
-exception $return == -1
-end
-
-function _chroot
-weak chroot
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function fchroot
-include <unistd.h>
-declaration int fchroot(int fildes)
-version SUNW_0.7
-errno EACCES EBADF EFAULT EINVAL EINTR EIO ELOOP EMULTIHOP \
- ENAMETOOLONG ENOENT ENOLINK ENOTDIR EPERM
-exception $return == -1
-end
-
-function close
-include <unistd.h>
-declaration int close(int fildes)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EBADF EINTR ENOLINK ENOSPC EIO
-exception $return == -1
-binding nodirect
-end
-
-function _close
-weak close
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function cond_broadcast
-version SUNW_0.8
-end
-
-function cond_destroy
-version SUNW_0.8
-end
-
-function cond_init
-version SUNW_0.8
-end
-
-function cond_signal
-version SUNW_0.8
-end
-
-function cond_timedwait
-version SUNW_0.8
-end
-
-function cond_reltimedwait
-version SUNW_1.21
-end
-
-function cond_wait
-version SUNW_0.8
-end
-
-function creat
-include <sys/types.h>, <sys/stat.h>, <fcntl.h>
-declaration int creat(const char *path, mode_t mode)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EACCES EAGAIN EDQUOT EFAULT EINTR EISDIR ELOOP EMFILE \
- EMULTIHOP ENAMETOOLONG ENFILE ENOENT ENOLINK \
- ENOSPC ENOTDIR EOVERFLOW EROFS
-exception $return == -1
-end
-
-function _creat
-weak creat
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function dup
-include <unistd.h>
-declaration int dup(int fildes)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EBADF EINTR EMFILE ENOLINK
-exception $return == -1
-end
-
-function _dup
-weak dup
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function exportfs
-version SUNWprivate_1.1
-end
-
-function fstatfs
-version SUNW_0.7
-end
-
-function ladd
-version SUNW_0.7
-end
-
-function ldivide
-version SUNW_0.7
-end
-
-function lexp10
-version SUNW_0.7
-end
-
-function llog10
-version SUNW_0.7
-end
-
-function lmul
-version SUNW_0.7
-end
-
-function logb
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-filter libm.so.2
-end
-
-function lshiftl
-version SUNW_0.7
-end
-
-function lsub
-version SUNW_0.7
-end
-
-function nss_delete
-version SUNWprivate_1.1
-end
-
-function nss_endent
-version SUNWprivate_1.1
-end
-
-function nss_getent
-version SUNWprivate_1.1
-end
-
-function nss_search
-version SUNWprivate_1.1
-end
-
-function nss_setent
-version SUNWprivate_1.1
-end
-
-function qecvt
-version SUNW_0.7
-end
-
-function qfcvt
-version SUNW_0.7
-end
-
-function qgcvt
-version SUNW_0.7
-end
-
-function makeutx
-version SUNWprivate_1.1
-end
-
-function modctl
-version SUNWprivate_1.1
-end
-
-function modutx
-version SUNWprivate_1.1
-end
-
-function _modutx
-weak modutx
-version SUNWprivate_1.1
-end
-
-function nfs_getfh
-version SUNWprivate_1.1
-end
-
-function ntp_adjtime
-include <sys/timex.h>
-declaration int ntp_adjtime(struct timex *tptr)
-version SUNW_1.1
-exception $return == TIME_ERROR
-end
-
-function _ntp_adjtime
-weak ntp_adjtime
-version SUNW_1.1
-end
-
-function ntp_gettime
-include <sys/timex.h>
-declaration int ntp_gettime(struct ntptimeval *tptr)
-version SUNW_1.1
-exception $return == -1
-end
-
-function _ntp_gettime
-weak ntp_gettime
-version SUNW_1.1
-end
-
-function snprintf
-version SUNW_1.1
-end
-
-function strtows
-include <widec.h>
-declaration wchar_t *strtows(wchar_t *dst, char *src)
-version SUNW_1.1
-end
-
-function towctrans
-version SUNW_1.1
-end
-
-function vsnprintf
-version SUNW_1.1
-end
-
-function wctrans
-version SUNW_1.1
-end
-
-function wstoll
-include <widec.h>, <wctype.h>
-declaration long long wstoll(const wchar_t *str, wchar_t **ptr, int base)
-version SUNW_1.1
-end
-
-function wstostr
-include <widec.h>
-declaration char *wstostr(char *dst, wchar_t *src)
-version SUNW_1.1
-end
-
-function ___errno
-version sparc=SISCD_2.3 sparcv9=SUNW_0.7 i386=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function __builtin_alloca
-version SUNW_0.7
-end
-
-function __div64
-arch i386 sparc
-version i386=SUNW_0.7 sparc=SISCD_2.3
-end
-
-function __dtoll
-version SISCD_2.3
-end
-
-function __dtou
-arch sparc sparcv9
-version sparc=SYSVABI_1.3 sparcv9=SUNW_0.7
-end
-
-function __dtoull
-version SISCD_2.3
-end
-
-function __filbuf
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function __flt_rounds
-version i386=SYSVABI_1.3 amd64=SYSVABI_1.3 sparc=SUNW_1.1 sparcv9=SUNW_1.1
-end
-
-function __ftoll
-version SISCD_2.3
-end
-
-function __ftou
-arch sparc sparcv9
-version sparc=SYSVABI_1.3 sparcv9=SUNW_0.7
-end
-
-function __ftoull
-version SISCD_2.3
-end
-
-function __major
-version SUNW_0.7
-end
-
-function __makedev
-version SUNW_0.7
-end
-
-function __minor
-version SUNW_0.7
-end
-
-function __mul64
-arch i386 sparc
-version i386=SUNW_0.7 sparc=SISCD_2.3
-end
-
-function __nsw_extended_action
-version SUNW_0.7
-end
-
-function __nsw_freeconfig
-version SUNW_0.7
-end
-
-function __nsw_getconfig
-version SUNW_0.7
-end
-
-function __posix_asctime_r
-version SUNW_1.1
-end
-
-function __posix_ctime_r
-version SUNW_1.1
-end
-
-function __posix_getgrgid_r
-version SUNW_1.1
-end
-
-function __posix_getgrnam_r
-version SUNW_1.1
-end
-
-function __posix_getlogin_r
-version SUNW_1.1
-end
-
-function __posix_getpwnam_r
-version SUNW_1.1
-end
-
-function __posix_getpwuid_r
-version SUNW_1.1
-end
-
-function __posix_readdir_r
-arch sparc i386
-version sparc=SUNW_1.1 i386=SUNW_1.1
-end
-
-function __posix_sigwait
-version SUNW_1.1
-end
-
-function __posix_ttyname_r
-version SUNW_1.1
-end
-
-function __priocntl
-version SUNW_0.7
-end
-
-function __priocntlset
-version SUNW_0.7
-end
-
-function __rem64
-arch i386 sparc
-version i386=SUNW_0.7 sparc=SISCD_2.3
-end
-
-function __udiv64
-arch i386 sparc
-version i386=SUNW_0.7 sparc=SISCD_2.3
-end
-
-function __umul64
-version SISCD_2.3
-end
-
-function __urem64
-arch i386 sparc
-version i386=SUNW_0.7 sparc=SISCD_2.3
-end
-
-function __xpg4_putmsg
-version SUNW_1.1
-end
-
-function __xpg4_putpmsg
-version SUNW_1.1
-end
-
-function _alarm
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function _cleanup
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function _exithandle
-version SUNW_1.1
-end
-
-function _fork
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function _forkall
-version SUNWprivate_1.1
-end
-
-function _getdate_err_addr
-version SUNW_0.8
-end
-
-function _nsc_trydoorcall
-version SUNW_0.9
-end
-
-function _nss_XbyY_buf_alloc
-version SUNW_0.7
-end
-
-function _nss_XbyY_buf_free
-version SUNW_0.7
-end
-
-function _nss_netdb_aliases
-version SUNW_0.7
-end
-
-function _rename
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function _rw_read_held
-version SUNW_0.7
-end
-
-function _rw_write_held
-version SUNW_0.7
-end
-
-function _rwlock_destroy
-version SUNW_1.1
-end
-
-function _sema_destroy
-version SUNW_1.1
-end
-
-function _sema_held
-version SUNW_0.7
-end
-
-function _setitimer
-version i386=SUNW_0.7 sparc=SISCD_2.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function _siglongjmp
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function _sigprocmask
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function _sleep
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function _xftw
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function _xftw64
-arch sparc i386
-version SUNW_1.1
-end
-
-function exit
-include <stdlib.h>, <unistd.h>
-declaration void exit(int status)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function _exit
-include <stdlib.h>, <unistd.h>
-declaration void _exit(int status)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function _Exit
-include <stdlib.h>
-declaration void _Exit(int status)
-version SUNW_1.22
-end
-
-function fcntl
-include <sys/types.h>, <unistd.h>, <fcntl.h>
-declaration int fcntl(int fildes, int cmd, ...)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EAGAIN EBADF EFAULT EINTR EINVAL EMFILE ENOLCK ENOLINK \
- EOVERFLOW EDEADLK
-exception $return >= 0 /* OVERSIMPLIFIED */
-end
-
-function _fcntl
-weak fcntl
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function fork
-include <sys/types.h>, <unistd.h>
-declaration pid_t fork(void)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EAGAIN ENOMEM
-exception $return == -1
-binding nodirect
-end
-
-function fork1
-include <sys/types.h>, <unistd.h>
-declaration pid_t fork1(void)
-version SUNW_0.7
-errno EAGAIN ENOMEM
-exception $return == -1
-end
-
-#
-# Version number SUNW_1.21.3 is reserved entirely for forkall()
-# because it is a new interface created in Solaris 10 and backported
-# to old releases (Solaris 7, 8, and 9). The same version number
-# for forkall() is used in all of the old (update) releases.
-#
-function forkall
-include <sys/types.h>, <unistd.h>
-declaration pid_t forkall(void)
-version SUNW_1.21.3
-errno EAGAIN ENOMEM
-exception $return == -1
-end
-
-function fpathconf
-include <unistd.h>
-declaration long fpathconf(int fildes, int name)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EBADF EACCES ELOOP EMULTIHOP ENAMETOOLONG ENOENT ENOLINK \
- ENOTDIR EINVAL
-exception $return == -1
-end
-
-function _fpathconf
-weak fpathconf
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function pathconf
-include <unistd.h>
-declaration long pathconf(const char *path, int name)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EBADF EACCES ELOOP EMULTIHOP ENAMETOOLONG ENOENT ENOLINK \
- ENOTDIR EINVAL
-exception $return == -1
-end
-
-function _pathconf
-weak pathconf
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function fsync
-include <unistd.h>
-declaration int fsync(int fildes)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EBADF EINTR EIO ETIMEDOUT
-exception $return == -1
-end
-
-function _fsync
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function getacct
-include <sys/types.h>, <sys/procset.h>
-declaration ssize_t getacct(idtype_t idtype, id_t id, void *buf, size_t bufsize)
-version SUNW_1.20.1
-errno EINVAL ESRCH EPERM ENOTACTIVE ENOSPC
-end
-
-function _getacct
-weak getacct
-version SUNW_1.20.1
-end
-
-function getdents
-include <sys/types.h>, <sys/dirent.h>
-declaration int getdents(int fildes, struct dirent *buf, size_t nbyte)
-version SUNW_0.7
-errno EBADF EFAULT EINVAL EIO ENOENT ENOLINK ENOTDIR EOVERFLOW
-exception $return == -1
-end
-
-function getgroups
-include <unistd.h>
-declaration int getgroups(int gidsetsize, gid_t *grouplist)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EINVAL EPERM EFAULT
-exception $return == -1
-end
-
-function _getgroups
-weak getgroups
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function setgroups
-include <unistd.h>
-declaration int setgroups(int ngroups, const gid_t *grouplist)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EINVAL EPERM EFAULT
-exception $return == -1
-end
-
-function _setgroups
-weak setgroups
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function getitimer
-include <sys/time.h>
-declaration int getitimer(int which, struct itimerval *value)
-version i386=SUNW_0.7 sparc=SISCD_2.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EINVAL EACCES
-exception $return == -1
-end
-
-function _getitimer
-weak getitimer
-version i386=SUNW_0.7 sparc=SISCD_2.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function setitimer
-include <sys/time.h>
-declaration int setitimer(int which, \
- struct itimerval *_RESTRICT_KYWD value, \
- struct itimerval *_RESTRICT_KYWD ovalue)
-version i386=SUNW_0.7 amd64=SUNW_0.7 sparc=SISCD_2.3 sparcv9=SUNW_0.7
-errno EINVAL EACCES
-exception $return == -1
-end
-
-function getmsg
-include <stropts.h>
-declaration int getmsg(int fildes, struct strbuf *_RESTRICT_KYWD ctlptr,\
- struct strbuf *_RESTRICT_KYWD dataptr, \
- int *_RESTRICT_KYWD flagsp)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EAGAIN EBADF EBADMSG EFAULT EINTR EINVAL ENOSTR
-exception $return < 0
-end
-
-function _getmsg
-weak getmsg
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function getpmsg
-include <stropts.h>
-declaration int getpmsg(int fildes, struct strbuf *_RESTRICT_KYWD ctlptr, \
- struct strbuf *_RESTRICT_KYWD dataptr, \
- int *_RESTRICT_KYWD bandp, int *_RESTRICT_KYWD flagsp)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EAGAIN EBADF EBADMSG EFAULT EINTR EINVAL ENOSTR
-exception $return < 0
-end
-
-function _getpmsg
-weak getpmsg
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function getpid
-include <unistd.h>
-declaration pid_t getpid(void)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EPERM ESRCH EINVAL
-exception $return == -1
-end
-
-function _getpid
-weak getpid
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function getpgrp
-include <unistd.h>
-declaration pid_t getpgrp(void)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EPERM ESRCH EINVAL
-exception $return == -1
-end
-
-function _getpgrp
-weak getpgrp
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function getppid
-include <unistd.h>
-declaration pid_t getppid(void)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EPERM ESRCH EINVAL
-exception $return == -1
-end
-
-function _getppid
-weak getppid
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function getpgid
-include <unistd.h>
-declaration pid_t getpgid(pid_t pid)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EPERM ESRCH EINVAL
-exception $return == -1
-end
-
-function _getpgid
-weak getpgid
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function getrlimit
-include <sys/resource.h>
-declaration int getrlimit(int resource, struct rlimit *rlp)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EFAULT EINVAL EPERM
-exception $return == -1
-end
-
-function _getrlimit
-weak getrlimit
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function setrlimit
-include <sys/resource.h>
-declaration int setrlimit(int resource, const struct rlimit *rlp)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EFAULT EINVAL EPERM
-exception $return == -1
-end
-
-function _setrlimit
-weak setrlimit
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function getsid
-include <unistd.h>
-declaration pid_t getsid(pid_t pid)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EPERM ESRCH
-exception $return == -1
-end
-
-function _getsid
-weak getsid
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function getuid
-include <sys/types.h>, <unistd.h>
-declaration uid_t getuid(void)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function _getuid
-weak getuid
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function geteuid
-include <sys/types.h>, <unistd.h>
-declaration uid_t geteuid(void)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function _geteuid
-weak geteuid
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function getgid
-include <sys/types.h>, <unistd.h>
-declaration gid_t getgid(void)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function _getgid
-weak getgid
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function getegid
-include <sys/types.h>, <unistd.h>
-declaration gid_t getegid(void)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function _getegid
-weak getegid
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function inst_sync
-include <sys/instance.h>
-declaration int inst_sync(char *pathname, int flags)
-version SUNWprivate_1.1
-end
-
-function _inst_sync
-weak inst_sync
-version SUNWprivate_1.1
-end
-
-function ioctl
-include <unistd.h>, <stropts.h>
-declaration int ioctl(int fildes, int request, ...)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EBADF EINTR EINVAL EFAULT EIO ENOLINK ENOTTY ENXIO ENODEV
-exception $return == -1
-end
-
-function _ioctl
-weak ioctl
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function issetugid
-include <unistd.h>
-declaration int issetugid(void)
-version SUNW_1.21
-end
-
-function _issetugid
-weak issetugid
-version SUNW_1.21
-end
-
-function kill
-include <sys/types.h>, <signal.h>
-declaration int kill(pid_t pid, int sig)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EINVAL EPERM ESRCH
-exception $return == -1
-end
-
-function _kill
-weak kill
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function link
-include <unistd.h>
-declaration int link(const char *existing, const char *new)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EACCES EDQUOT EEXIST EFAULT EINTR ELOOP EMLINK EMULTIHOP \
- ENAMETOOLONG ENOENT ENOLINK ENOSPC ENOTDIR EPERM \
- EROFS EXDEV
-exception $return == -1
-end
-
-function _link
-weak link
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function llseek
-include <sys/types.h>, <unistd.h>
-declaration offset_t llseek(int fildes, offset_t offset, int whence)
-version SUNW_0.7
-errno EBADF
-exception $return == -1
-end
-
-function lockf
-include <unistd.h>
-declaration int lockf(int fildes, int function, off_t size)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EBADF EACCES EDEADLK EINTR ECOMM EINVAL EOVERFLOW EAGAIN \
- EOPNOTSUPP
-exception $return == -1
-end
-
-function _lockf
-weak lockf
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function lseek
-include <sys/types.h>, <unistd.h>
-declaration off_t lseek(int fildes, off_t offset, int whence)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EBADF
-exception $return == -1
-end
-
-function _lseek
-weak lseek
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function memcntl
-include <sys/types.h>, <sys/mman.h>
-declaration int memcntl(caddr_t addr, size_t len, int cmd, \
- caddr_t arg, int attr, int mask)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EAGAIN EBUSY EINVAL ENOMEM EPERM
-exception $return == -1
-end
-
-function _memcntl
-weak memcntl
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function meminfo
-include <sys/types.h>, <sys/mman.h>
-declaration int meminfo(const uint64_t inaddr[], int addr_count, \
- const uint_t info_req[], int info_count, uint64_t outdata[], \
- uint_t validity[])
-version SUNW_1.21
-errno EINVAL EFAULT
-exception $return == -1
-end
-
-function _meminfo
-weak meminfo
-version SUNW_1.21
-end
-
-function mincore
-include <sys/types.h>
-declaration int mincore(caddr_t addr, size_t len, char *vec)
-version SUNW_0.7
-errno EFAULT EINVAL ENOMEM
-exception $return == -1
-end
-
-function mkdir
-include <sys/types.h>, <sys/stat.h>
-declaration int mkdir(const char *path, mode_t mode)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EACCES EDQUOT EEXIST EFAULT EIO ELOOP EMLINK EMULTIHOP \
- ENAMETOOLONG ENOENT ENOLINK ENOSPC ENOTDIR EROFS
-exception $return == -1
-end
-
-function _mkdir
-weak mkdir
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function mknod
-include <sys/stat.h>
-declaration int mknod(const char *path, mode_t mode, dev_t dev)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EACCES EDQUOT EEXIST EFAULT EINTR EINVAL EIO ELOOP EMULTIHOP \
- ENOENT ENOLINK ENOSPC ENOTDIR EPERM EROFS ENAMETOOLONG
-exception $return == -1
-end
-
-function _mknod
-weak mknod
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function mmap
-include <sys/mman.h>
-declaration caddr_t mmap(caddr_t addr, size_t len, int prot, int flags, int fildes, \
- off_t off)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EACCES EAGAIN EBADF EINVAL EMFILE ENODEV ENOMEM ENXIO EOVERFLOW
-exception $return == MAP_FAILED
-end
-
-function _mmap
-weak mmap
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function mount
-include <sys/types.h>, <sys/mount.h>
-declaration int mount(const char *spec, const char *dir, int mflag, ...)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EBUSY EFAULT EINVAL ELOOP EMULTIHOP ENAMETOOLONG ENOENT \
- ENOTBLK ENOTDIR EPERM EREMOTE ENOLINK ENXIO EROFS \
- ENOSPC
-exception $return == -1
-end
-
-function _mount
-weak mount
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function mprotect
-include <sys/mman.h>
-declaration int mprotect(caddr_t addr, size_t len, int prot)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EACCES EINVAL ENOMEM EAGAIN
-exception $return == -1
-end
-
-function _mprotect
-weak mprotect
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function msgctl
-include <sys/msg.h>
-declaration int msgctl(int msqid, int cmd, struct msqid_ds *buf)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EACCES EFAULT EINVAL EPERM EOVERFLOW
-exception $return == -1
-end
-
-function _msgctl
-weak msgctl
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function msgctl64
-include <sys/ipc_impl.h>
-declaration int msgctl64(int msqid, int cmd, struct msqid_ds64 *buf)
-version SUNWprivate_1.1
-errno EFAULT EINVAL EPERM EOVERFLOW
-exception $return == -1
-end
-
-function _msgctl64
-weak msgctl64
-version SUNWprivate_1.1
-end
-
-function msgget
-include <sys/msg.h>
-declaration int msgget(key_t key, int msgflg)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EACCES EEXIST ENOENT ENOSPC
-exception $return == -1
-end
-
-function _msgget
-weak msgget
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function msgrcv
-include <sys/msg.h>
-declaration ssize_t msgrcv(int msqid, void *msgp, size_t msgsz, \
- long msgtyp, int msgflg)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EACCES EIDRM EINTR EINVAL ENOMSG
-exception $return == -1
-end
-
-function _msgrcv
-weak msgrcv
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function msgsnd
-include <sys/msg.h>
-declaration int msgsnd(int msqid, const void *msgp, size_t msgsz, int msgflg)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EACCES EAGAIN EIDRM EINTR EINVAL
-exception $return == -1
-end
-
-function _msgsnd
-weak msgsnd
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function msgids
-include <sys/msg.h>
-declaration int msgids(int *buf, uint_t nids, uint_t *pnids)
-version SUNW_1.20.1
-errno EFAULT
-exception $return == -1
-end
-
-function _msgids
-weak msgids
-version SUNW_1.20.1
-end
-
-function msgsnap
-include <sys/msg.h>
-declaration int msgsnap(int msqid, void *buf, size_t bufsz, long msgtyp)
-version SUNW_1.20.1
-errno EACCES EINVAL EFAULT
-exception $return == -1
-end
-
-function _msgsnap
-weak msgsnap
-version SUNW_1.20.1
-end
-
-function munmap
-include <sys/mman.h>
-declaration int munmap(caddr_t addr, size_t len)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EINVAL
-exception $return == -1
-end
-
-function _munmap
-weak munmap
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function nice
-include <unistd.h>
-declaration int nice(int incr)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EINVAL EPERM
-exception errno != 0
-end
-
-function _nice
-weak nice
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function open
-include <sys/types.h>, <sys/stat.h>, <fcntl.h>, <sys/file.h>
-declaration int open(const char *path, int oflag, ...)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EACCES EDQUOT EEXIST EINTR EFAULT EIO EISDIR ELOOP EMFILE \
- EMULTIHOP ENFILE ENOENT ENOLINK ENOSR ENOSPC ENOTDIR \
- ENXIO EOPNOTSUPP EOVERFLOW EROFS EAGAIN EINVAL \
- ENAMETOOLONG ENOMEM ETXTBSY
-exception $return == -1
-end
-
-function _open
-weak open
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-
-function openat
-include <sys/types.h>, <sys/stat.h>, <fcntl.h>, <sys/file.h>
-declaration int openat(int fd, const char *path, int oflag, ...)
-version SUNW_1.21
-end
-
-function _openat
-weak openat
-version SUNW_1.21
-end
-
-function p_online
-include <sys/types.h>, <sys/processor.h>
-declaration int p_online(processorid_t processorid, int flag)
-version SUNW_0.7
-errno EPERM EINVAL EBUSY
-exception $return == -1
-end
-
-function pause
-include <unistd.h>
-declaration int pause(void)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function _pause
-weak pause
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function pipe
-include <unistd.h>
-declaration int pipe(int fildes[2])
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EMFILE ENFILE
-exception $return == -1
-end
-
-function _pipe
-weak pipe
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function poll
-include <poll.h>
-declaration int poll(struct pollfd *fds, nfds_t nfds, int timeout)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EAGAIN EFAULT EINTR EINVAL
-exception $return == -1
-end
-
-function _poll
-weak poll
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function priocntl
-include <sys/priocntl.h> <sys/rtpriocntl.h> <sys/tspriocntl.h>
-declaration long priocntl(idtype_t idtype, id_t id, int cmd, ...)
-version SUNW_1.21
-errno EAGAIN EFAULT EINVAL ENOMEM EPERM ERANGE ESRCH
-exception $return == -1
-end
-
-function priocntlset
-include <sys/priocntl.h> <sys/rtpriocntl.h> <sys/tspriocntl.h>
-declaration long priocntlset(procset_t *psp, int cmd, ...)
-version SUNW_1.21
-errno EAGAIN EFAULT EINVAL ENOMEM EPERM ERANGE ESRCH
-exception $return == -1
-end
-
-function processor_bind
-include <sys/types.h>, <sys/processor.h>, <sys/procset.h>
-declaration int processor_bind(idtype_t idtype, id_t id, \
- processorid_t processorid, processorid_t *obind)
-version SUNW_0.7
-errno ESRCH EINVAL EFAULT EPERM
-exception $return == -1
-end
-
-function processor_info
-include <sys/types.h>, <sys/processor.h>
-declaration int processor_info(processorid_t processorid, \
- processor_info_t *infop)
-version SUNW_0.7
-errno EINVAL EFAULT
-exception $return == -1
-end
-
-function profil
-include <unistd.h>
-declaration void profil(unsigned short *buff, size_t bufsiz, \
- unsigned long offset, unsigned int scale)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function _profil
-weak profil
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function pset_bind
-include <sys/pset.h>
-declaration int pset_bind(psetid_t pset, idtype_t idtype, \
- id_t id, psetid_t *opset)
-version SUNW_1.1
-errno ESRCH EINVAL EFAULT EBUSY EPERM
-exception $return == -1
-end
-
-function pset_create
-include <sys/pset.h>
-declaration int pset_create(psetid_t *newpset)
-version SUNW_1.1
-errno EBUSY EINVAL EFAULT ENOMEM EPERM
-exception $return == -1
-end
-
-function pset_destroy
-include <sys/pset.h>
-declaration int pset_destroy(psetid_t pset)
-version SUNW_1.1
-errno EBUSY EINVAL EFAULT ENOMEM EPERM
-exception $return == -1
-end
-
-function pset_assign
-include <sys/pset.h>
-declaration int pset_assign(psetid_t pset, processorid_t cpu, \
- psetid_t *opset)
-version SUNW_1.1
-errno EBUSY EINVAL EFAULT ENOMEM EPERM
-exception $return == -1
-end
-
-function pset_info
-include <sys/pset.h>
-declaration int pset_info(psetid_t pset, int *type, \
- u_int *numcpus, processorid_t *cpulist)
-version SUNW_1.1
-errno EINVAL EFAULT
-exception $return == -1
-end
-
-function pset_getloadavg
-include <sys/pset.h>
-declaration int pset_getloadavg(psetid_t pset, double loadavg[], \
- int nelem)
-version SUNW_1.21
-errno EINVAL
-exception $return == -1
-end
-
-function pset_list
-include <sys/pset.h>
-declaration int pset_list(psetid_t *psetlist, uint_t *numpsets)
-version SUNW_1.21
-errno EFAULT
-exception $return == -1
-end
-
-function pset_setattr
-include <sys/pset.h>
-declaration int pset_setattr(psetid_t pset, uint_t attr)
-version SUNW_1.21
-errno EINVAL
-exception $return == -1
-end
-
-function pset_getattr
-include <sys/pset.h>
-declaration int pset_getattr(psetid_t pset, uint_t *attrp)
-version SUNW_1.21
-errno EINVAL EFAULT
-exception $return == -1
-end
-
-function read
-include <unistd.h>, <sys/uio.h>, <limits.h>
-declaration ssize_t read(int fildes, void *buf, size_t nbyte)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EAGAIN EBADF EBADMSG EDEADLK EFAULT EINTR EINVAL EIO EISDIR \
- ENOLCK ENOLINK ENXIO EOVERFLOW ESPIPE
-exception $return == -1
-end
-
-function _read
-weak read
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function pread
-include <unistd.h>, <sys/uio.h>, <limits.h>
-declaration ssize_t pread(int fildes, void *buf, size_t nbyte, off_t offset)
-version SUNW_0.7
-errno EAGAIN EBADF EBADMSG EDEADLK EFAULT EINTR EINVAL EIO EISDIR \
- ENOLCK ENOLINK ENXIO EOVERFLOW ESPIPE
-exception $return == -1
-end
-
-function putacct
-include <sys/types.h>, <sys/procset.h>
-declaration int putacct(idtype_t idtype, id_t id, void *buf, size_t bufsize, int flags)
-version SUNW_1.20.1
-errno EINVAL ESRCH EPERM ENOTACTIVE ENOSPC
-end
-
-function _putacct
-weak putacct
-version SUNW_1.20.1
-end
-
-function readv
-include <unistd.h>, <sys/uio.h>, <limits.h>
-declaration ssize_t readv(int fildes, const struct iovec *iov, int iovcnt)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EAGAIN EBADF EBADMSG EDEADLK EFAULT EINTR EINVAL EIO EISDIR \
- ENOLCK ENOLINK ENXIO EOVERFLOW ESPIPE
-exception $return == -1
-end
-
-function _readv
-weak readv
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function readlink
-include <unistd.h>
-declaration ssize_t readlink(const char *_RESTRICT_KYWD path, \
- char *_RESTRICT_KYWD buf, size_t bufsize)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EFAULT EINVAL EIO ENOENT ELOOP ENOTDIR ENOSYS EACCES ENAMETOOLONG
-exception $return == -1
-end
-
-function _readlink
-weak readlink
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function rmdir
-include <unistd.h>
-declaration int rmdir(const char *path)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EACCES EBUSY EEXIST EFAULT EINVAL EIO ELOOP EMULTIHOP \
- ENAMETOOLONG ENOENT ENOLINK ENOTDIR EROFS
-exception $return == -1
-end
-
-function _rmdir
-weak rmdir
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function semctl
-include <sys/types.h>, <sys/ipc.h>, <sys/sem.h>
-declaration int semctl(int semid, int semnum, int cmd, ...)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EACCES EINVAL EPERM EOVERFLOW ERANGE
-exception $return == -1
-end
-
-function _semctl
-weak semctl
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function semctl64
-include <sys/ipc_impl.h>
-declaration int semctl64(int semid, int semnum, int cmd, ...)
-version SUNWprivate_1.1
-errno EFAULT EINVAL EPERM
-exception $return == -1
-end
-
-function _semctl64
-weak semctl64
-version SUNWprivate_1.1
-end
-
-function semget
-include <sys/types.h>, <sys/ipc.h>, <sys/sem.h>
-declaration int semget(key_t key, int nsems, int semflg)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EACCES EEXIST EINVAL ENOENT ENOSPC
-exception $return == -1
-end
-
-function _semget
-weak semget
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function semop
-include <sys/types.h>, <sys/ipc.h>, <sys/sem.h>
-declaration int semop(int semid, struct sembuf *sops, size_t nsops)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EACCES EAGAIN EFAULT EFBIG EIDRM EINTR EINVAL ENOSPC ERANGE
-exception $return == -1
-end
-
-function _semop
-weak semop
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function semids
-include <sys/sem.h>
-declaration int semids(int *buf, uint_t nids, uint_t *pnids)
-version SUNW_1.20.1
-errno EFAULT
-exception $return == -1
-end
-
-function _semids
-weak semids
-version SUNW_1.20.1
-end
-
-function semtimedop
-include <sys/types.h>, <sys/ipc.h>, <sys/sem.h>
-declaration int semtimedop(int semid, struct sembuf *sops, size_t nsops, \
- const struct timespec *timeout)
-version SUNW_1.20.4
-errno EACCES EAGAIN EFAULT EFBIG EIDRM EINTR EINVAL ENOSPC ERANGE
-exception $return == -1
-end
-
-function _semtimedop
-weak semtimedop
-version SUNW_1.20.4
-end
-
-function setpgrp
-include <sys/types.h>, <unistd.h>
-declaration pid_t setpgrp(void)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function _setpgrp
-weak setpgrp
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function setsid
-include <sys/types.h>, <unistd.h>
-declaration pid_t setsid(void)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EPERM
-exception $return == -1
-end
-
-function _setsid
-weak setsid
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function settaskid
-include <sys/types.h>, <sys/task.h>
-declaration taskid_t settaskid(projid_t project, uint_t flags)
-version SUNW_1.20.1
-errno EPERM EINVAL EACCES
-exception $return == -1
-end
-
-function _settaskid
-weak settaskid
-version SUNW_1.20.1
-end
-
-function gettaskid
-include <sys/types.h>, <sys/task.h>
-declaration taskid_t gettaskid(void)
-version SUNW_1.20.1
-exception $return == -1
-end
-
-function _gettaskid
-weak gettaskid
-version SUNW_1.20.1
-end
-
-function getprojid
-include <sys/types.h>, <project.h>
-declaration projid_t getprojid(void)
-version SUNW_1.20.1
-exception $return == -1
-end
-
-function _getprojid
-weak getprojid
-version SUNW_1.20.1
-end
-
-function setuid
-include <sys/types.h>, <unistd.h>, <limits.h>
-declaration int setuid(uid_t uid)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EINVAL EPERM
-exception $return == -1
-end
-
-function _setuid
-weak setuid
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function setegid
-include <sys/types.h>, <unistd.h>, <limits.h>
-declaration int setegid(gid_t egid)
-version SUNW_0.7
-errno EINVAL EPERM
-exception $return == -1
-end
-
-function seteuid
-include <sys/types.h>, <unistd.h>, <limits.h>
-declaration int seteuid(uid_t euid)
-version SUNW_0.7
-errno EINVAL EPERM
-exception $return == -1
-end
-
-function setgid
-include <sys/types.h>, <unistd.h>, <limits.h>
-declaration int setgid(gid_t gid)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EINVAL EPERM
-exception $return == -1
-end
-
-function _setgid
-weak setgid
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function shmctl
-include <sys/types.h>, <sys/ipc.h>, <sys/shm.h>
-declaration int shmctl(int shmid, int cmd, struct shmid_ds *buf)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EACCES EFAULT EINVAL ENOMEM EOVERFLOW EPERM
-exception $return == -1
-end
-
-function _shmctl
-weak shmctl
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function shmctl64
-include <sys/ipc_impl.h>
-declaration int shmctl64(int shmid, int cmd, struct shmid_ds64 *buf)
-version SUNWprivate_1.1
-errno EFAULT EINVAL EPERM
-exception $return == -1
-end
-
-function _shmctl64
-weak shmctl64
-version SUNWprivate_1.1
-end
-
-function shmget
-include <sys/types.h>, <sys/ipc.h>, <sys/shm.h>
-declaration int shmget(key_t key, size_t size, int shmflg)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EACCES EEXIST EINVAL ENOENT ENOMEM ENOSPC
-exception $return == -1
-end
-
-function _shmget
-weak shmget
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function shmat
-include <sys/types.h>, <sys/shm.h>
-declaration void *shmat(int shmid, const void *shmaddr, int shmflg)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EACCES EINVAL EMFILE ENOMEM
-exception $return == (void *) -1
-end
-
-function _shmat
-weak shmat
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function shmdt
-include <sys/types.h>, <sys/shm.h>
-declaration int shmdt(char *shmaddr)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EACCES EINVAL EMFILE ENOMEM
-exception $return == -1
-end
-
-function _shmdt
-weak shmdt
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function shmids
-include <sys/shm.h>
-declaration int shmids(int *buf, uint_t nids, uint_t *pnids)
-version SUNW_1.20.1
-errno EFAULT
-exception $return == -1
-end
-
-function _shmids
-weak shmids
-version SUNW_1.20.1
-end
-
-function sigaction
-include <signal.h>
-declaration int sigaction(int sig, \
- const struct sigaction *_RESTRICT_KYWD act, \
- struct sigaction *_RESTRICT_KYWD oact)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EINVAL EFAULT
-exception $return == -1
-binding nodirect
-end
-
-function _sigaction
-weak sigaction
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-binding nodirect
-end
-
-function sigaltstack
-include <signal.h>
-declaration int sigaltstack(const stack_t *_RESTRICT_KYWD ss, \
- stack_t *_RESTRICT_KYWD oss)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EFAULT EINVAL ENOMEM EPERM
-exception $return == -1
-end
-
-function _sigaltstack
-weak sigaltstack
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function sigpause
-include <signal.h>
-declaration int sigpause(int mask)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EINVAL EINTR
-exception $return == -1
-end
-
-function _sigpause
-weak sigpause
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function sigfpe
-include <floatingpoint.h>, <siginfo.h>
-declaration sigfpe_handler_type sigfpe(sigfpe_code_type sigcode, \
- sigfpe_handler_type hdl)
-version SUNW_0.8
-errno
-end
-
-function siginterrupt
-include <signal.h>
-declaration int siginterrupt (int sig, int flag)
-version SUNW_1.1
-errno EINVAL
-exception $return == -1
-end
-
-function _siginterrupt
-weak siginterrupt
-version SUNWprivate_1.1
-end
-
-function sigpending
-include <signal.h>
-declaration int sigpending(sigset_t *set)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EFAULT
-exception $return == -1
-end
-
-function _sigpending
-weak sigpending
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function sigprocmask
-include <signal.h>
-declaration int sigprocmask(int how, const sigset_t *_RESTRICT_KYWD set, \
- sigset_t *_RESTRICT_KYWD oset)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EFAULT EINVAL
-exception $return == -1
-end
-
-function sigsuspend
-include <signal.h>
-declaration int sigsuspend(const sigset_t *set)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EFAULT EINTR
-exception $return == -1
-end
-
-function _sigsuspend
-weak sigsuspend
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function sigwait
-include <signal.h>
-declaration int sigwait(sigset_t *set)
-version SUNW_0.7
-errno EINVAL EFAULT
-exception $return == -1
-end
-
-function stat
-include <sys/types.h>, <sys/stat.h>
-declaration int stat(const char *path, struct stat *buf)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EOVERFLOW EACCES EFAULT EINTR ELOOP EMULTIHOP ENAMETOOLONG \
- ENOENT ENOLINK ENOTDIR EBADF
-exception $return == -1
-end
-
-function _stat
-weak stat
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function fstatat
-include <sys/types.h>, <sys/stat.h>
-declaration int fstatat(int fd, const char *path, \
- struct stat *buf, int flag)
-version SUNW_1.21
-errno EOVERFLOW EACCES EFAULT EINTR ELOOP EMULTIHOP ENAMETOOLONG \
- ENOENT ENOLINK ENOTDIR EBADF
-exception $return == -1
-end
-
-function _fstatat
-weak fstatat
-version SUNW_1.21
-end
-
-
-function lstat
-include <sys/types.h>, <sys/stat.h>
-declaration int lstat(const char *path, struct stat *buf)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EOVERFLOW EACCES EFAULT EINTR ELOOP EMULTIHOP ENAMETOOLONG \
- ENOENT ENOLINK ENOTDIR EBADF
-exception $return == -1
-end
-
-function _lstat
-weak lstat
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function fstat
-include <sys/types.h>, <sys/stat.h>
-declaration int fstat(int fildes, struct stat *buf)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EOVERFLOW EACCES EFAULT EINTR ELOOP EMULTIHOP ENAMETOOLONG \
- ENOENT ENOLINK ENOTDIR EBADF
-exception $return == -1
-end
-
-function _fstat
-weak fstat
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function statvfs
-include <sys/types.h>, <sys/statvfs.h>
-declaration int statvfs(const char *path, struct statvfs *buf)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EOVERFLOW EACCES EFAULT EINTR EIO ELOOP EMULTIHOP ENAMETOOLONG \
- ENOENT ENOLINK ENOTDIR EBADF
-exception $return == -1
-end
-
-function _statvfs
-weak statvfs
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function fstatvfs
-include <sys/types.h>, <sys/statvfs.h>
-declaration int fstatvfs(int fildes, struct statvfs *buf)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EOVERFLOW EACCES EFAULT EINTR EIO ELOOP EMULTIHOP ENAMETOOLONG \
- ENOENT ENOLINK ENOTDIR EBADF
-exception $return == -1
-end
-
-function _fstatvfs
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function stime
-include <unistd.h>
-declaration int stime(const time_t *tp)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EPERM
-exception $return == -1
-end
-
-function _stime
-weak stime
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function symlink
-include <unistd.h>
-declaration int symlink(const char *name1, const char *name2)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EACCES EDQUOT EEXIST EFAULT EIO ELOOP ENAMETOOLONG ENOENT \
- ENOSPC ENOSYS ENOTDIR EROFS
-exception $return == -1
-end
-
-function _symlink
-weak symlink
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function sync
-include <unistd.h>
-declaration void sync(void)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function _sync
-weak sync
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function syscall
-declaration int syscall(int number, ...)
-version SUNWprivate_1.1
-exception $return == -1
-end
-
-function _syscall
-weak syscall
-version SUNW_0.7
-end
-
-function __systemcall
-include <sys/syscall.h>
-declaration int __systemcall(sysret_t *rval, int number, ...)
-version SUNWprivate_1.1
-end
-
-function __set_errno
-include <sys/syscall.h>
-declaration int __set_errno(int error)
-version SUNWprivate_1.1
-end
-
-function sysfs
-include <sys/fstyp.h>, <sys/fsid.h>
-declaration int sysfs(int opcode, ...)
-version SUNW_0.7
-errno EFAULT EINVAL
-exception $return == -1
-end
-
-function sysinfo
-include <sys/systeminfo.h>
-declaration int sysinfo(int command, char *buf, long count)
-version i386=SUNW_0.7 sparc=SISCD_2.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EFAULT EINVAL EPERM
-exception $return > count
-end
-
-function _sysinfo
-weak sysinfo
-version i386=SUNW_0.7 sparc=SISCD_2.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function time
-include <sys/types.h>, <time.h>
-declaration time_t time(time_t *tloc)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-exception $return == -1
-end
-
-function _time
-weak time
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function times
-include <sys/times.h>, <limits.h>
-declaration clock_t times(struct tms *buffer)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EFAULT
-exception $return == -1 && errno != 0
-end
-
-function _times
-weak times
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function uadmin
-include <sys/uadmin.h>
-declaration int uadmin(int cmd, int fcn, uintptr_t mdep)
-version SUNW_0.7
-errno EPERM ENOMEM ENOSPC ENOTSUP ENXIO EBUSY
-exception $return == -1
-end
-
-function getcontext
-include <ucontext.h>
-declaration int getcontext(ucontext_t *ucp)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-exception $return == -1
-end
-
-function _getcontext
-weak getcontext
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function setcontext
-include <ucontext.h>
-declaration int setcontext(const ucontext_t *ucp)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-exception $return == -1
-end
-
-function _setcontext
-weak setcontext
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function setustack
-include <ucontext.h>
-declaration int setustack(stack_t *sp)
-version SUNW_1.21.2
-exception $return == -1
-end
-
-function _setustack
-weak setustack
-version SUNW_1.21.2
-end
-
-function getustack
-include <ucontext.h>
-declaration int getustack(stack_t **sp)
-version SUNW_1.21.2
-exception $return == -1
-end
-
-function _getustack
-weak getustack
-version SUNW_1.21.2
-end
-
-function ulimit
-include <ulimit.h>
-declaration long ulimit(int cmd, ...)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EINVAL EPERM
-exception $return == -1 && errno != 0
-end
-
-function _ulimit
-weak ulimit
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function umask
-include <sys/types.h>, <sys/stat.h>
-declaration mode_t umask(mode_t cmask)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function _umask
-weak umask
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function umount
-include <sys/mount.h>
-declaration int umount(const char *file)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EBUSY EFAULT EINVAL ENOENT ELOOP EMULTIHOP ENAMETOOLONG \
- ENOLINK ENOTBLK EPERM EREMOTE
-exception $return == -1
-end
-
-function _umount
-weak umount
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function umount2
-include <sys/mount.h>
-declaration int umount2(const char *file, int flag)
-version SUNW_1.19
-errno EBUSY EFAULT EINVAL ENOENT ELOOP EMULTIHOP ENAMETOOLONG \
- ENOLINK ENOTBLK EPERM EREMOTE ENOTSUP
-exception $return == -1
-end
-
-function _umount2
-weak umount2
-version SUNW_1.19
-end
-
-function uname
-include <sys/utsname.h>
-declaration int uname(struct utsname *name)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EFAULT
-exception $return == -1
-end
-
-function _uname
-weak uname
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function unlink
-include <unistd.h>
-declaration int unlink(const char *path)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EACCES EBUSY EFAULT EINTR ELOOP EMULTIHOP ENOENT ENOLINK \
- ENOTDIR EPERM EROFS ENAMETOOLONG ETXTBSY
-exception $return == -1
-end
-
-function _unlink
-weak unlink
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function unlinkat
-include <unistd.h>
-declaration int unlinkat(int dirfd, const char *path, int flags)
-version SUNW_1.21
-errno EACCES EBUSY EFAULT EINTR ELOOP EMULTIHOP ENOENT ENOLINK \
- ENOTDIR EPERM EROFS ENAMETOOLONG ETXTBSY
-exception $return == -1
-end
-
-function _unlinkat
-weak unlinkat
-version SUNW_1.21
-end
-
-function ustat
-include <sys/types.h>, <ustat.h>
-declaration int ustat(dev_t dev, struct ustat *buf)
-version SUNW_0.7
-errno ECOMM EFAULT EINTR EINVAL ENOLINK
-exception $return == -1
-end
-
-function utime
-include <sys/types.h>, <utime.h>
-declaration int utime(const char *path, const struct utimbuf *times)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EACCES EFAULT EINTR EIO ELOOP EMULTIHOP ENAMETOOLONG ENOENT \
- ENOLINK ENOTDIR EPERM EROFS
-exception $return == -1
-end
-
-function _utime
-weak utime
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function utimes
-include <sys/time.h>
-declaration int utimes(const char *path, const struct timeval times[2])
-version SUNW_0.7
-errno EACCES EFAULT EINTR EINVAL EIO ELOOP EMULTIHOP ENOLINK ENOENT \
- ENOTDIR EPERM EROFS ENAMETOOLONG
-exception $return == -1
-end
-
-function futimesat
-include <sys/time.h>
-declaration int futimesat(int fd, const char *path, \
- const struct timeval times[2])
-version SUNW_1.21
-errno EACCES EFAULT EINTR EINVAL EIO ELOOP EMULTIHOP ENOLINK ENOENT \
- ENOTDIR EPERM EROFS ENAMETOOLONG
-exception $return == -1
-end
-
-function _futimesat
-weak futimesat
-version SUNW_1.21
-end
-
-function vfork
-include <unistd.h>
-declaration pid_t vfork(void)
-version SUNW_0.7
-errno EAGAIN ENOMEM
-exception $return == -1
-end
-
-function vhangup
-declaration void vhangup(void)
-version SUNW_0.7
-end
-
-function wait
-include <sys/types.h>, <sys/wait.h>
-declaration pid_t wait(int *stat_loc)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno ECHILD EINTR
-exception $return == -1
-end
-
-function _wait
-weak wait
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function waitid
-include <wait.h>
-declaration int waitid(idtype_t idtype, id_t id, siginfo_t *infop, \
- int options)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno ECHILD EFAULT EINTR EINVAL
-exception $return == -1
-end
-
-function _waitid
-weak waitid
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function wracct
-include <sys/types.h>, <sys/procset.h>
-declaration int wracct(idtype_t idtype, id_t id, int flags)
-version SUNW_1.20.1
-errno EINVAL ESRCH EPERM ENOTACTIVE ENOSPC
-end
-
-function _wracct
-weak wracct
-version SUNW_1.20.1
-end
-
-function write
-include <unistd.h>, <sys/uio.h>
-declaration ssize_t write(int fildes, const void *buf, size_t nbyte)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EAGAIN EBADF EDEADLK EDQUOT EFAULT EFBIG EINTR EIO ENOLCK \
- ENOLINK ENOSPC ENOSR EPIPE ERANGE ESPIPE EINVAL ENXIO
-exception $return == -1
-end
-
-function _write
-weak write
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function pwrite
-include <unistd.h>, <sys/uio.h>
-declaration ssize_t pwrite(int fildes, const void *buf, size_t nbyte, \
- off_t offset)
-version SUNW_0.7
-errno EAGAIN EBADF EDEADLK EDQUOT EFAULT EFBIG EINTR EIO ENOLCK \
- ENOLINK ENOSPC ENOSR ENXIO EPIPE ERANGE ESPIPE EINVAL
-exception $return == -1
-end
-
-function writev
-include <unistd.h>, <sys/uio.h>
-declaration ssize_t writev(int fildes, const struct iovec *iov, int iovcnt)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EAGAIN EBADF EDEADLK EDQUOT EFAULT EFBIG EINTR EIO ENOLCK \
- ENOLINK ENOSPC ENOSR ENXIO EPIPE ERANGE ESPIPE EINVAL
-exception $return == -1
-end
-
-function _writev
-weak writev
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function yield
-include <unistd.h>
-declaration void yield(void)
-version SUNW_0.7
-end
-
-function getexecname
-declaration const char *getexecname(void)
-version SUNW_1.1
-end
-
-function _getexecname
-weak getexecname
-version SUNW_1.1
-end
-
-function getisax
-declaration uint_t getisax(uint32_t *array, uint_t nelem);
-version SUNW_1.22
-end
-
-function _getisax
-weak getisax
-version SUNW_1.22
-end
-
-function getloadavg
-declaration int getloadavg(double loadavg[], int nelem)
-version SUNW_1.18
-errno EINVAL
-exception $return == -1
-end
-
-function getpagesizes
-declaration int getpagesizes(size_t pagesize[], int nelem)
-version SUNW_1.21
-errno EINVAL
-exception $return == -1
-end
-
-function tell
-include <sys/types.h>, <unistd.h>
-declaration off_t tell(int fd)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-errno EBADF EOVERFLOW ESPIPE
-end
-
-function _tell
-weak tell
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function environ
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-binding nodirect
-end
-
-function altzone
-version SUNW_0.7
-end
-
-function daylight
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function timezone
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function tzname
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 \
- amd64=SUNW_0.7
-end
-
-function _ctype
-version SUNW_0.7
-end
-
-function lzero
-version SUNW_0.7
-end
-
-function lone
-version SUNW_0.7
-end
-
-function lten
-version SUNW_0.7
-end
-
-function _cladm
-declaration int _cladm(int fac, int cmd, void *arg)
-version SUNWprivate_1.1
-end
-
-function __cladm
-weak _cladm
-version SUNWprivate_1.1
-end
-
-function core_set_options
-include <sys/corectl.h>
-declaration int core_set_options(int)
-version SUNWprivate_1.1
-end
-
-function _core_set_options
-weak core_set_options
-version SUNWprivate_1.1
-end
-
-function core_get_options
-include <sys/corectl.h>
-declaration int core_get_options()
-version SUNWprivate_1.1
-end
-
-function _core_get_options
-weak core_get_options
-version SUNWprivate_1.1
-end
-
-function core_set_global_content
-include <sys/corectl.h>
-declaration int core_set_global_content(const core_content_t *);
-version SUNWprivate_1.1
-end
-
-function _core_set_global_content
-weak core_set_global_content
-version SUNWprivate_1.1
-end
-
-function core_set_global_path
-include <sys/corectl.h>
-declaration int core_set_global_path(const char *, size_t)
-version SUNWprivate_1.1
-end
-
-function _core_set_global_path
-weak core_set_global_path
-version SUNWprivate_1.1
-end
-
-function core_get_global_content
-include <sys/corectl.h>
-declaration int core_get_global_content(core_content_t *);
-version SUNWprivate_1.1
-end
-
-function _core_get_global_content
-weak core_get_global_content
-version SUNWprivate_1.1
-end
-
-function core_get_global_path
-include <sys/corectl.h>
-declaration int core_get_global_path(char *, size_t)
-version SUNWprivate_1.1
-end
-
-function _core_get_global_path
-weak core_get_global_path
-version SUNWprivate_1.1
-end
-
-function core_set_default_content
-include <sys/corectl.h>
-declaration int core_set_default_content(const core_content_t *);
-version SUNWprivate_1.1
-end
-
-function _core_set_default_content
-weak core_set_default_content
-version SUNWprivate_1.1
-end
-
-function core_set_default_path
-include <sys/corectl.h>
-declaration int core_set_default_path(const char *, size_t)
-version SUNWprivate_1.1
-end
-
-function _core_set_default_path
-weak core_set_default_path
-version SUNWprivate_1.1
-end
-
-function core_get_default_content
-include <sys/corectl.h>
-declaration int core_get_default_content(core_content_t *);
-version SUNWprivate_1.1
-end
-
-function _core_get_default_content
-weak core_get_default_content
-version SUNWprivate_1.1
-end
-
-function core_get_default_path
-include <sys/corectl.h>
-declaration int core_get_default_path(char *, size_t)
-version SUNWprivate_1.1
-end
-
-function _core_get_default_path
-weak core_get_default_path
-version SUNWprivate_1.1
-end
-
-function core_set_process_content
-include <sys/corectl.h>
-declaration int core_set_process_content(const core_content_t *, pid_t)
-version SUNWprivate_1.1
-end
-
-function _core_set_process_content
-weak core_set_process_content
-version SUNWprivate_1.1
-end
-
-function core_set_process_path
-include <sys/corectl.h>
-declaration int core_set_process_path(const char *, size_t, pid_t)
-version SUNWprivate_1.1
-end
-
-function _core_set_process_path
-weak core_set_process_path
-version SUNWprivate_1.1
-end
-
-function core_get_process_content
-include <sys/corectl.h>
-declaration int core_get_process_content(core_content_t *, pid_t)
-version SUNWprivate_1.1
-end
-
-function _core_get_process_content
-weak core_get_process_content
-version SUNWprivate_1.1
-end
-
-function core_get_process_path
-include <sys/corectl.h>
-declaration int core_get_process_path(char *, size_t, pid_t)
-version SUNWprivate_1.1
-end
-
-function _core_get_process_path
-weak core_get_process_path
-version SUNWprivate_1.1
-end
-
-function renameat
-include <stdio.h>
-declaration int renameat(int fromfd, const char *old, int tofd, \
- const char *new)
-version SUNW_1.21
-errno EACCES EBUSY EDQUOT EEXIST EINVAL EISDIR ELOOP ENAMETOOLONG \
- EMLINK ENOENT ENOSPC ENOTDIR EROFS EXDEV EIO
-exception $return == -1
-end
-
-function _renameat
-weak renameat
-version SUNW_1.23
-end
-
-function getrctl
-include <rctl.h>
-declaration int getrctl(const char *name, rctlblk_t *old_rblk, \
- rctlblk_t *new_rblk, int flags)
-version SUNW_1.21
-end
-
-function _getrctl
-weak getrctl
-version SUNW_1.21
-end
-
-function setrctl
-include <rctl.h>
-declaration int setrctl(const char *name, rctlblk_t *old_rblk, \
- rctlblk_t *new_rblk, int flags)
-version SUNW_1.21
-end
-
-function _setrctl
-weak setrctl
-version SUNW_1.21
-end
-
-function rctllist
-include <sys/rctl.h>
-declaration size_t rctllist(char *list_buf, size_t list_bufsz)
-version SUNWprivate_1.1
-end
-
-function _rctllist
-weak rctllist
-version SUNWprivate_1.1
-end
-
-function rctlctl
-include <sys/rctl.h>
-declaration int rctlctl(char *name, rctlblk_t *rblk, int flags)
-version SUNWprivate_1.1
-end
-
-function _rctlctl
-weak rctlctl
-version SUNWprivate_1.1
-end
-
-function __init_daemon_priv
-include <priv_utils.h>
-declaration int __init_daemon_priv(int flag, uid_t uid, gid_t gid, ...)
-version SUNWprivate_1.1
-exception $return == -1
-errno EFAULT EINVAL EPERM EAGAIN ENOMEM
-end
-
-function __fini_daemon_priv
-include <priv_utils.h>
-declaration void __fini_daemon_priv(const char *priv, ...)
-version SUNWprivate_1.1
-end
-
-function __init_suid_priv
-include <priv_utils.h>
-declaration int __init_suid_priv(int flag, ...)
-version SUNWprivate_1.1
-exception $return == -1
-errno EFAULT EINVAL EPERM
-end
-
-function __priv_bracket
-include <priv_utils.h>
-declaration int __priv_bracket(priv_op_t op)
-version SUNWprivate_1.1
-exception $return == -1
-errno EPERM
-end
-
-function __priv_relinquish
-include <priv_utils.h>
-declaration void __priv_relinquish(void)
-version SUNWprivate_1.1
-end
-
-function setppriv
-include <priv.h>
-declaration int setppriv(priv_op_t op, priv_ptype_t type, const priv_set_t *pset)
-version SUNW_1.22
-exception $return != 0
-errno EFAULT EINVAL
-end
-
-function _setppriv
-weak setppriv
-version SUNW_1.22
-end
-
-function getppriv
-include <priv.h>
-declaration int getppriv(priv_ptype_t type, priv_set_t *pset)
-version SUNW_1.22
-exception $return != 0
-errno EFAULT EINVAL
-end
-
-function _getppriv
-weak getppriv
-version SUNW_1.22
-end
-
-function setpflags
-include <priv.h>
-declaration int setpflags(uint_t flag, uint_t value)
-version SUNW_1.22
-exception $return != 0
-errno EINVAL
-end
-
-function _setpflags
-weak setpflags
-version SUNW_1.22
-end
-
-function getpflags
-include <priv.h>
-declaration uint_t getpflags(uint_t flag)
-version SUNW_1.22
-exception $return == (uint_t)-1
-errno EINVAL
-end
-
-function _getpflags
-weak getpflags
-version SUNW_1.22
-end
-
-function getprivimplinfo
-include <priv.h>
-declaration const priv_impl_info_t *getprivimplinfo(void)
-version SUNW_1.22
-exception $return == 0
-errno EINVAL ENOMEM EFAULT
-end
-
-function _getprivimplinfo
-weak getprivimplinfo
-version SUNW_1.22
-end
-
-function getzoneid
-include <zone.h>
-declaration zoneid_t getzoneid(void)
-version SUNW_1.22
-exception $return == -1
-end
-
-function _getzoneid
-weak getzoneid
-version SUNWprivate_1.1
-end
-
-function zone_create
-include <zone.h>
-declaration zoneid_t zone_create(const char *name, const char *root, \
- const struct priv_set *privs, const char *rctls, \
- size_t rctlsz, const char *zfs, size_t zfssz, \
- int *extended_error, int match, \
- int doi, const bslabel_t *label)
-version SUNWprivate_1.1
-exception $return == -1
-end
-
-function zone_destroy
-include <zone.h>
-declaration int zone_destroy(zoneid_t zoneid)
-version SUNWprivate_1.1
-exception $return == -1
-end
-
-function zone_boot
-include <zone.h>
-declaration int zone_boot(zoneid_t zoneid)
-version SUNWprivate_1.1
-exception $return == -1
-end
-
-function zone_enter
-include <zone.h>
-declaration int zone_enter(zoneid_t zoneid)
-version SUNWprivate_1.1
-exception $return == -1
-end
-
-function zone_getattr
-include <zone.h>
-declaration ssize_t zone_getattr(zoneid_t zoneid, int attr, void *valp, \
- size_t sizep)
-version SUNWprivate_1.1
-exception $return == -1
-end
-
-function zone_setattr
-include <zone.h>
-declaration int zone_setattr(zoneid_t zoneid, int attr, void *valp, \
- size_t sizep)
-version SUNWprivate_1.1
-exception $return == -1
-end
-
-function zone_get_id
-include <zone.h>
-declaration int zone_get_id(const char *str, zoneid_t *zip)
-version SUNWprivate_1.1
-exception $return == -1
-end
-
-function zone_list
-include <zone.h>
-declaration int zone_list(zoneid_t *zonelist, uint_t *numzones)
-version SUNWprivate_1.1
-exception $return == -1
-end
-
-function zone_shutdown
-include <zone.h>
-declaration int zone_shutdown(zoneid_t zoneid)
-version SUNWprivate_1.1
-exception $return == -1
-end
-
-function zone_version
-include <zone.h>
-declaration int zone_version(int *)
-version SUNWprivate_1.1
-exception $return == -1
-end
-
-function getzoneidbyname
-include <zone.h>
-declaration zoneid_t getzoneidbyname(const char *)
-version SUNW_1.22
-exception $return == -1
-end
-
-function _getzoneidbyname
-weak getzoneidbyname
-version SUNWprivate_1.1
-end
-
-function getzonenamebyid
-include <zone.h>
-declaration ssize_t getzonenamebyid(zoneid_t, char *, size_t)
-version SUNW_1.22
-exception $return == NULL
-end
-
-function _getzonenamebyid
-weak getzonenamebyid
-version SUNWprivate_1.1
-end
-
-function is_system_labeled
-declaration int is_system_labeled(void)
-version SUNW_1.23
-end
-
-function _is_system_labeled
-weak is_system_labeled
-version SUNWprivate_1.1
-end
diff --git a/usr/src/lib/libc/spec/threads.spec b/usr/src/lib/libc/spec/threads.spec
deleted file mode 100644
index 21e22d308a..0000000000
--- a/usr/src/lib/libc/spec/threads.spec
+++ /dev/null
@@ -1,1288 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libc/spec/threads.spec
-
-function pthread_atfork
-include <unistd.h>, <sys/types.h>
-declaration int pthread_atfork(void (*prepare)(void), \
- void (*parent)(void), void (*child)(void))
-version SUNW_1.1
-errno ENOMEM
-exception $return != 0
-end
-
-function pthread_attr_destroy
-include <pthread.h>
-declaration int pthread_attr_destroy(pthread_attr_t *attr)
-version SUNW_1.1
-errno ENOMEM EINVAL ENOTSUP
-end
-
-function pthread_attr_getdetachstate
-include <pthread.h>
-declaration int pthread_attr_getdetachstate(const pthread_attr_t *attr, \
- int *detachstate)
-version SUNW_1.1
-errno ENOMEM EINVAL ENOTSUP
-end
-
-function pthread_attr_getinheritsched
-include <pthread.h>
-declaration int pthread_attr_getinheritsched( \
- const pthread_attr_t *_RESTRICT_KYWD attr, \
- int *_RESTRICT_KYWD inheritsched)
-version SUNW_1.1
-errno ENOMEM EINVAL ENOTSUP
-end
-
-function pthread_attr_getschedparam
-include <pthread.h>
-declaration int pthread_attr_getschedparam( \
- const pthread_attr_t *_RESTRICT_KYWD attr, \
- struct sched_param *_RESTRICT_KYWD param)
-version SUNW_1.1
-errno ENOMEM EINVAL ENOTSUP
-end
-
-function pthread_attr_getschedpolicy
-include <pthread.h>
-declaration int pthread_attr_getschedpolicy( \
- const pthread_attr_t *_RESTRICT_KYWD attr, \
- int *_RESTRICT_KYWD policy)
-version SUNW_1.1
-errno ENOMEM EINVAL ENOTSUP
-end
-
-function pthread_attr_getscope
-include <pthread.h>
-declaration int pthread_attr_getscope( \
- const pthread_attr_t *_RESTRICT_KYWD attr, \
- int *_RESTRICT_KYWD contentionscope)
-version SUNW_1.1
-errno ENOMEM EINVAL ENOTSUP
-end
-
-function pthread_attr_getstack
-include <pthread.h>
-declaration int pthread_attr_getstack( \
- const pthread_attr_t *_RESTRICT_KYWD attr, \
- void **_RESTRICT_KYWD stackaddr, \
- size_t *_RESTRICT_KYWD stacksize)
-version SUNW_1.22
-errno EINVAL
-end
-
-function pthread_attr_getstackaddr
-include <pthread.h>
-declaration int pthread_attr_getstackaddr( \
- const pthread_attr_t *_RESTRICT_KYWD attr, \
- void **_RESTRICT_KYWD stackaddr)
-version SUNW_1.1
-errno ENOMEM EINVAL ENOTSUP
-end
-
-function pthread_attr_getstacksize
-include <pthread.h>
-declaration int pthread_attr_getstacksize( \
- const pthread_attr_t *_RESTRICT_KYWD attr, \
- size_t *_RESTRICT_KYWD stacksize)
-version SUNW_1.1
-errno ENOMEM EINVAL ENOTSUP
-end
-
-function pthread_attr_init
-include <pthread.h>
-declaration int pthread_attr_init(pthread_attr_t *attr)
-version SUNW_1.1
-errno ENOMEM EINVAL ENOTSUP
-end
-
-function pthread_attr_setdetachstate
-include <pthread.h>
-declaration int pthread_attr_setdetachstate(pthread_attr_t *attr, \
- int detachstate)
-version SUNW_1.1
-errno ENOMEM EINVAL ENOTSUP
-end
-
-function pthread_attr_setinheritsched
-include <pthread.h>
-declaration int pthread_attr_setinheritsched(pthread_attr_t *attr, \
- int inheritsched)
-version SUNW_1.1
-errno ENOMEM EINVAL ENOTSUP
-end
-
-function pthread_attr_setschedparam
-include <pthread.h>
-declaration int pthread_attr_setschedparam( \
- pthread_attr_t *_RESTRICT_KYWD attr, \
- const struct sched_param *_RESTRICT_KYWD param)
-version SUNW_1.1
-errno ENOMEM EINVAL ENOTSUP
-end
-
-function pthread_attr_setschedpolicy
-include <pthread.h>
-declaration int pthread_attr_setschedpolicy(pthread_attr_t *attr, \
- int policy)
-version SUNW_1.1
-errno ENOMEM EINVAL ENOTSUP
-end
-
-function pthread_attr_setscope
-include <pthread.h>
-declaration int pthread_attr_setscope(pthread_attr_t *attr, \
- int contentionscope)
-version SUNW_1.1
-errno ENOMEM EINVAL ENOTSUP
-end
-
-function pthread_attr_setstack
-include <pthread.h>
-declaration int pthread_attr_setstack(pthread_attr_t *attr, \
- void *stackaddr, size_t stacksize)
-version SUNW_1.22
-errno EINVAL
-end
-
-function pthread_attr_setstackaddr
-include <pthread.h>
-declaration int pthread_attr_setstackaddr(pthread_attr_t *attr, \
- void *stackaddr)
-version SUNW_1.1
-errno ENOMEM EINVAL ENOTSUP
-end
-
-function pthread_attr_setstacksize
-include <pthread.h>
-declaration int pthread_attr_setstacksize(pthread_attr_t *attr, \
- size_t stacksize)
-version SUNW_1.1
-errno ENOMEM EINVAL ENOTSUP
-end
-
-function pthread_barrierattr_init
-include <pthread.h>
-declaration int pthread_barrierattr_init(pthread_barrierattr_t *attr)
-version SUNW_1.22
-exception $return != 0
-end
-
-function pthread_barrierattr_destroy
-include <pthread.h>
-declaration int pthread_barrierattr_destroy(pthread_barrierattr_t *attr)
-version SUNW_1.22
-exception $return != 0
-end
-
-function pthread_barrierattr_setpshared
-include <pthread.h>
-declaration int pthread_barrierattr_setpshared( \
- pthread_barrierattr_t *attr, int pshared)
-version SUNW_1.22
-exception $return != 0
-end
-
-function pthread_barrierattr_getpshared
-include <pthread.h>
-declaration int pthread_barrierattr_getpshared( \
- const pthread_barrierattr_t *attr, int *pshared)
-version SUNW_1.22
-exception $return != 0
-end
-
-function pthread_barrier_init
-include <pthread.h>
-declaration int pthread_barrier_init(pthread_barrier_t *barrier, \
- const pthread_barrierattr_t *attr, uint_t count)
-version SUNW_1.22
-exception $return != 0
-end
-
-function pthread_barrier_destroy
-include <pthread.h>
-declaration int pthread_barrier_destroy(pthread_barrier_t *barrier)
-version SUNW_1.22
-exception $return != 0
-end
-
-function pthread_barrier_wait
-include <pthread.h>
-declaration int pthread_barrier_wait(pthread_barrier_t *barrier)
-version SUNW_1.22
-exception $return != 0
-end
-
-function pthread_cancel
-include <pthread.h>
-declaration int pthread_cancel(pthread_t target_thread)
-version SUNW_1.1
-errno ESRCH
-end
-
-function pthread_cond_broadcast
-include <pthread.h>
-declaration int pthread_cond_broadcast(pthread_cond_t *cond)
-version SUNW_0.9
-errno EINVAL
-end
-
-function pthread_cond_destroy
-include <pthread.h>
-declaration int pthread_cond_destroy(pthread_cond_t *cond)
-version SUNW_0.9
-errno EBUSY, EINVAL
-end
-
-function pthread_cond_init
-include <pthread.h>
-declaration int pthread_cond_init(pthread_cond_t *_RESTRICT_KYWD cond, \
- const pthread_condattr_t *_RESTRICT_KYWD attr)
-version SUNW_0.9
-errno EAGAIN, ENOMEM, EBUSY, EINVAL
-end
-
-function pthread_cond_signal
-include <pthread.h>
-declaration int pthread_cond_signal(pthread_cond_t *cond)
-version SUNW_0.9
-errno EINVAL
-end
-
-function pthread_cond_timedwait
-include <pthread.h>
-declaration int pthread_cond_timedwait( \
- pthread_cond_t *_RESTRICT_KYWD cond, \
- pthread_mutex_t *_RESTRICT_KYWD mutex, \
- const struct timespec *_RESTRICT_KYWD abstime)
-version SUNW_0.9
-errno ETIMEDOUT, EINVAL
-end
-
-function pthread_cond_reltimedwait_np
-include <pthread.h>
-declaration int pthread_cond_reltimedwait_np(pthread_cond_t *cond, \
- pthread_mutex_t *mutex, const struct timespec *abstime)
-version SUNW_1.21
-errno ETIMEDOUT, EINVAL
-end
-
-function pthread_cond_wait
-include <pthread.h>
-declaration int pthread_cond_wait(pthread_cond_t *_RESTRICT_KYWD cond, \
- pthread_mutex_t *_RESTRICT_KYWD mutex)
-version SUNW_0.9
-errno EINVAL
-end
-
-function pthread_condattr_destroy
-include <pthread.h>
-declaration int pthread_condattr_destroy(pthread_condattr_t *attr)
-version SUNW_0.9
-errno ENOMEM EINVAL
-end
-
-function pthread_condattr_getclock
-include <pthread.h>
-declaration int pthread_condattr_getclock( \
- const pthread_condattr_t *attr, clockid_t *clock_id)
-version SUNW_1.22
-errno EINVAL
-end
-
-function pthread_condattr_getpshared
-include <pthread.h>
-declaration int pthread_condattr_getpshared( \
- const pthread_condattr_t *_RESTRICT_KYWD attr, \
- int *_RESTRICT_KYWD process_shared)
-version SUNW_0.9
-errno ENOMEM EINVAL
-end
-
-function pthread_condattr_init
-include <pthread.h>
-declaration int pthread_condattr_init(pthread_condattr_t *attr)
-version SUNW_0.9
-errno ENOMEM EINVAL
-end
-
-function pthread_condattr_setclock
-include <pthread.h>
-declaration int pthread_condattr_setclock( \
- pthread_condattr_t *attr, clockid_t clock_id)
-version SUNW_1.22
-errno EINVAL
-end
-
-function pthread_condattr_setpshared
-include <pthread.h>
-declaration int pthread_condattr_setpshared(pthread_condattr_t *attr, \
- int process_shared)
-version SUNW_0.9
-errno ENOMEM EINVAL
-end
-
-function pthread_create
-include <pthread.h>
-declaration int pthread_create(pthread_t *_RESTRICT_KYWD thread, \
- const pthread_attr_t *_RESTRICT_KYWD attr, \
- void *(*start_routine)(void*), \
- void *_RESTRICT_KYWD arg)
-version SUNW_1.1
-errno EAGAIN EINVAL ENOMEM
-end
-
-function pthread_detach
-include <pthread.h>
-declaration int pthread_detach(pthread_t tid)
-version SUNW_1.1
-errno EINVAL ESRCH
-end
-
-function pthread_equal
-include <pthread.h>
-declaration int pthread_equal(pthread_t t1, pthread_t t2)
-version SUNW_1.1
-end
-
-function pthread_exit
-include <pthread.h>
-declaration void pthread_exit(void *status)
-version SUNW_1.1
-end
-
-function pthread_getschedparam
-include <pthread.h>, <sched.h>
-declaration int pthread_getschedparam(pthread_t tid, \
- int *_RESTRICT_KYWD policy, \
- struct sched_param *_RESTRICT_KYWD param)
-version SUNW_1.1
-errno ESRCH ENOTSUP EINVAL
-end
-
-function pthread_getspecific
-include <pthread.h>
-declaration void *pthread_getspecific(pthread_key_t key)
-version SUNW_1.1
-end
-
-function pthread_join
-include <pthread.h>
-declaration int pthread_join(pthread_t tid, void **status)
-version SUNW_1.1
-errno ESRCH EDEADLK
-end
-
-function pthread_key_create
-include <pthread.h>
-declaration int pthread_key_create(pthread_key_t *keyp, \
- void (*destructor)(void *))
-version SUNW_1.1
-errno EAGAIN ENOMEM EINVAL
-end
-
-function pthread_key_delete
-include <pthread.h>
-declaration int pthread_key_delete(pthread_key_t key)
-version SUNW_1.1
-errno EAGAIN ENOMEM EINVAL
-end
-
-function pthread_kill
-include <pthread.h>, <signal.h>
-declaration int pthread_kill(pthread_t tid, int signo)
-version SUNW_1.1
-errno ESRCH EINVAL
-end
-
-function pthread_mutex_destroy
-include <pthread.h>
-declaration int pthread_mutex_destroy(pthread_mutex_t *mutex)
-version SUNW_0.9
-errno EBUSY, EINVAL
-end
-
-function pthread_mutex_getprioceiling
-include <pthread.h>
-declaration int pthread_mutex_getprioceiling( \
- const pthread_mutex_t *_RESTRICT_KYWD mutex, \
- int *_RESTRICT_KYWD prioceiling)
-version SUNW_0.9
-end
-
-function pthread_mutex_init
-include <pthread.h>
-declaration int pthread_mutex_init(pthread_mutex_t *_RESTRICT_KYWD mutex, \
- const pthread_mutexattr_t *_RESTRICT_KYWD attr)
-version SUNW_0.9
-errno EAGAIN, ENOMEM, EBUSY, EPERM, EINVAL
-end
-
-function pthread_mutex_lock
-include <pthread.h>
-declaration int pthread_mutex_lock(pthread_mutex_t *mutex)
-version SUNW_0.9
-errno EINVAL, EDEADLK
-end
-
-function pthread_mutex_setprioceiling
-include <pthread.h>
-declaration int pthread_mutex_setprioceiling( \
- pthread_mutex_t *_RESTRICT_KYWD mutex, \
- int prioceiling, int *_RESTRICT_KYWD old_ceiling)
-version SUNW_0.9
-end
-
-function pthread_mutex_trylock
-include <pthread.h>
-declaration int pthread_mutex_trylock(pthread_mutex_t *mutex)
-version SUNW_0.9
-errno EINVAL, EBUSY
-end
-
-function pthread_mutex_unlock
-include <pthread.h>
-declaration int pthread_mutex_unlock(pthread_mutex_t *mutex)
-version SUNW_0.9
-errno EINVAL, EPERM
-end
-
-function pthread_mutexattr_destroy
-include <pthread.h>
-declaration int pthread_mutexattr_destroy(pthread_mutexattr_t *attr)
-version SUNW_0.9
-errno ENOMEM EINVAL ENOSYS
-end
-
-function pthread_mutexattr_getprioceiling
-include <pthread.h>
-declaration int pthread_mutexattr_getprioceiling( \
- const pthread_mutexattr_t *_RESTRICT_KYWD attr, \
- int *_RESTRICT_KYWD prioceiling)
-version SUNW_0.9
-end
-
-function pthread_mutexattr_getprotocol
-include <pthread.h>, <sched.h>
-declaration int pthread_mutexattr_getprotocol( \
- const pthread_mutexattr_t *_RESTRICT_KYWD attr, \
- int *_RESTRICT_KYWD protocol)
-version SUNW_0.9
-end
-
-function pthread_mutexattr_getpshared
-include <pthread.h>
-declaration int pthread_mutexattr_getpshared( \
- const pthread_mutexattr_t *_RESTRICT_KYWD attr, \
- int *_RESTRICT_KYWD process_shared)
-version SUNW_0.9
-errno ENOMEM EINVAL ENOSYS
-end
-
-function pthread_mutexattr_init
-include <pthread.h>
-declaration int pthread_mutexattr_init(pthread_mutexattr_t *attr)
-version SUNW_0.9
-errno ENOMEM EINVAL ENOSYS
-end
-
-function pthread_mutexattr_setprotocol
-include <pthread.h>, <sched.h>
-declaration int pthread_mutexattr_setprotocol(pthread_mutexattr_t *attr, \
- int protocol)
-version SUNW_0.9
-end
-
-function pthread_mutexattr_setpshared
-include <pthread.h>
-declaration int pthread_mutexattr_setpshared(pthread_mutexattr_t *attr, \
- int process_shared)
-version SUNW_0.9
-errno ENOMEM EINVAL ENOSYS
-end
-
-function pthread_once
-include <pthread.h>
-declaration int pthread_once(pthread_once_t *once_control, \
- void (*init_routine)(void))
-version SUNW_1.1
-errno EINVAL
-end
-
-function pthread_self
-include <pthread.h>
-declaration pthread_t pthread_self(void)
-version SUNW_1.1
-end
-
-function pthread_setcancelstate
-include <pthread.h>
-declaration int pthread_setcancelstate(int state, int *oldstate)
-version SUNW_1.1
-errno EINVAL
-end
-
-function pthread_setcanceltype
-include <pthread.h>
-declaration int pthread_setcanceltype(int type, int *oldtype)
-version SUNW_1.1
-errno EINVAL
-end
-
-function pthread_setschedparam
-include <pthread.h>, <sched.h>
-declaration int pthread_setschedparam(pthread_t tid, int policy, \
- const struct sched_param *param)
-version SUNW_1.1
-errno ESRCH ENOTSUP EINVAL EPERM
-end
-
-function pthread_setschedprio
-include <pthread.h>
-declaration int pthread_setschedprio(pthread_t tid, int prio)
-version SUNW_1.22
-errno ESRCH ENOTSUP EINVAL EPERM
-end
-
-function pthread_setspecific
-include <pthread.h>
-declaration int pthread_setspecific(pthread_key_t key, const void *value)
-version SUNW_1.1
-errno ENOMEM EINVAL
-end
-
-function pthread_sigmask
-include <pthread.h>, <signal.h>
-declaration int pthread_sigmask(int how, \
- const sigset_t *_RESTRICT_KYWD newmask, \
- sigset_t *_RESTRICT_KYWD oldmask)
-version SUNW_1.1
-errno EINVAL EFAULT
-end
-
-function pthread_testcancel
-include <pthread.h>
-declaration void pthread_testcancel(void)
-version SUNW_1.1
-end
-
-function pthread_mutex_timedlock
-include <pthread.h>, <time.h>
-declaration int pthread_mutex_timedlock(pthread_mutex_t *mutex, \
- const timespec_t *abstime)
-version SUNW_1.22
-errno EINVAL, ETIMEDOUT
-end
-
-function pthread_mutex_reltimedlock_np
-include <pthread.h>, <time.h>
-declaration int pthread_mutex_reltimedlock_np(pthread_mutex_t *mutex, \
- const timespec_t *reltime)
-version SUNW_1.22
-errno EINVAL, ETIMEDOUT
-end
-
-function pthread_mutexattr_setrobust_np
-include <pthread.h>
-declaration int pthread_mutexattr_setrobust_np(pthread_mutexattr_t *attr, \
- int robustness)
-version SUNW_1.22
-errno ENOTSUP EINVAL ENOSYS
-exception $return != 0
-end
-
-function pthread_mutexattr_getrobust_np
-include <pthread.h>
-declaration int pthread_mutexattr_getrobust_np( \
- const pthread_mutexattr_t *attr, int *robustness)
-version SUNW_1.22
-errno ENOTSUP EINVAL ENOSYS
-exception $return != 0
-end
-
-function pthread_mutex_consistent_np
-include <pthread.h>
-declaration int pthread_mutex_consistent_np(pthread_mutex_t *mp)
-version SUNW_1.22
-errno EINVAL ENOSYS
-exception $return != 0
-end
-
-function pthread_spin_init
-include <pthread.h>
-declaration int pthread_spin_init(pthread_spinlock_t *lock, int pshared)
-version SUNW_1.22
-exception $return != 0
-end
-
-function pthread_spin_destroy
-include <pthread.h>
-declaration int pthread_spin_destroy(pthread_spinlock_t *lock)
-version SUNW_1.22
-exception $return != 0
-end
-
-function pthread_spin_trylock
-include <pthread.h>
-declaration int pthread_spin_trylock(pthread_spinlock_t *lock)
-version SUNW_1.22
-exception $return != 0
-end
-
-function pthread_spin_lock
-include <pthread.h>
-declaration int pthread_spin_lock(pthread_spinlock_t *lock)
-version SUNW_1.22
-exception $return != 0
-end
-
-function pthread_spin_unlock
-include <pthread.h>
-declaration int pthread_spin_unlock(pthread_spinlock_t *lock)
-version SUNW_1.22
-exception $return != 0
-end
-
-function schedctl_init
-include <schedctl.h>
-declaration schedctl_t *schedctl_init(void)
-version SUNW_1.22
-end
-
-function _schedctl_init
-weak schedctl_init
-version SUNWprivate_1.1
-end
-
-function schedctl_lookup
-include <schedctl.h>
-declaration schedctl_t *schedctl_lookup(void)
-version SUNW_1.22
-end
-
-function _schedctl_lookup
-weak schedctl_lookup
-version SUNWprivate_1.1
-end
-
-function schedctl_exit
-include <schedctl.h>
-declaration void schedctl_exit(void)
-version SUNW_1.22
-end
-
-function _schedctl_exit
-weak schedctl_exit
-version SUNWprivate_1.1
-end
-
-function thr_continue
-include <thread.h>
-declaration int thr_continue(thread_t tid)
-version SUNW_0.8
-end
-
-function thr_create
-include <thread.h>
-declaration int thr_create(void *stack_base, size_t stack_size, \
- void *(*start_func)(void *), void *arg, long flags, \
- thread_t *new_thread_ID)
-version SUNW_0.8
-end
-
-function thr_exit
-include <thread.h>
-declaration void thr_exit(void *status)
-version SUNW_0.8
-end
-
-function thr_getconcurrency
-include <thread.h>
-declaration int thr_getconcurrency(void)
-version SUNW_0.8
-end
-
-function thr_getprio
-include <thread.h>
-declaration int thr_getprio(thread_t tid, int *priop)
-version SUNW_0.8
-end
-
-function thr_getspecific
-include <thread.h>
-declaration int thr_getspecific(thread_key_t key, void **valuep)
-version SUNW_0.8
-end
-
-function thr_join
-include <thread.h>
-declaration int thr_join(thread_t tid, thread_t *dtidp, void **statusp)
-version SUNW_0.8
-end
-
-function thr_keycreate
-include <thread.h>
-declaration int thr_keycreate(thread_key_t *keyp, \
- void (*destructor)(void *value))
-version SUNW_0.8
-end
-
-function thr_kill
-include <thread.h>, <signal.h>
-declaration int thr_kill(thread_t tid, int signo)
-version SUNW_0.8
-end
-
-function thr_main
-include <thread.h>
-declaration int thr_main(void)
-version SUNW_1.1
-errno
-end
-
-function thr_min_stack
-include <thread.h>
-declaration size_t thr_min_stack(void)
-version SUNW_0.9
-end
-
-function thr_self
-include <thread.h>
-declaration thread_t thr_self(void)
-version SUNW_0.8
-end
-
-function thr_setconcurrency
-include <thread.h>
-declaration int thr_setconcurrency(int level)
-version SUNW_0.8
-end
-
-function thr_setprio
-include <thread.h>
-declaration int thr_setprio(thread_t tid, int prio)
-version SUNW_0.8
-end
-
-function thr_setspecific
-include <thread.h>
-declaration int thr_setspecific(thread_key_t key, void *value)
-version SUNW_0.8
-end
-
-function thr_sigsetmask
-include <thread.h>, <signal.h>
-declaration int thr_sigsetmask(int how, const sigset_t *newp, \
- sigset_t *oldp)
-version SUNW_0.8
-end
-
-function thr_stksegment
-include <thread.h>, <sys/signal.h>
-declaration int thr_stksegment(stack_t *sp)
-version SUNW_0.9
-errno EFAULT EAGAIN
-end
-
-function thr_suspend
-include <thread.h>
-declaration int thr_suspend(thread_t tid)
-version SUNW_0.8
-end
-
-function thr_yield
-include <thread.h>
-declaration void thr_yield(void)
-version SUNW_0.8
-end
-
-data thr_probe_getfunc_addr
-version SUNWprivate_1.1
-end
-
-function thr_probe_setup
-version SUNWprivate_1.1
-end
-
-function _pthread_mutexattr_setrobust_np
-weak pthread_mutexattr_setrobust_np
-version SUNWprivate_1.1
-end
-
-function _pthread_mutexattr_getrobust_np
-weak pthread_mutexattr_getrobust_np
-version SUNWprivate_1.1
-end
-
-function _pthread_mutex_consistent_np
-weak pthread_mutex_consistent_np
-version SUNWprivate_1.1
-end
-
-function _pthread_setcleanupinit
-version SUNWprivate_1.1
-end
-
-function __pthread_min_stack
-version SUNWprivate_1.1
-end
-
-function lwp_self
-version SUNWprivate_1.1
-end
-
-function _thr_continue_allmutators
-version SUNWprivate_1.1
-end
-
-function _thr_continue_mutator
-version SUNWprivate_1.1
-end
-
-function _thr_getstate
-version SUNWprivate_1.1
-end
-
-function _thr_mutators_barrier
-version SUNWprivate_1.1
-end
-
-function _thr_setmutator
-version SUNWprivate_1.1
-end
-
-function _thr_setstate
-version SUNWprivate_1.1
-end
-
-function _thr_sighndlrinfo
-version SUNWprivate_1.1
-end
-
-function _thr_suspend_allmutators
-version SUNWprivate_1.1
-end
-
-function _thr_suspend_mutator
-version SUNWprivate_1.1
-end
-
-function _thr_wait_mutator
-version SUNWprivate_1.1
-end
-
-function thr_continue_allmutators
-version SUNWprivate_1.1
-end
-
-function thr_continue_mutator
-version SUNWprivate_1.1
-end
-
-function thr_getstate
-version SUNWprivate_1.1
-end
-
-function thr_mutators_barrier
-version SUNWprivate_1.1
-end
-
-function thr_setmutator
-version SUNWprivate_1.1
-end
-
-function thr_setstate
-version SUNWprivate_1.1
-end
-
-function thr_sighndlrinfo
-version SUNWprivate_1.1
-end
-
-function thr_suspend_allmutators
-version SUNWprivate_1.1
-end
-
-function thr_suspend_mutator
-version SUNWprivate_1.1
-end
-
-function thr_wait_mutator
-version SUNWprivate_1.1
-end
-
-function __gettsp
-version SUNWprivate_1.1
-end
-
-function _assfail
-version SUNWprivate_1.1
-end
-
-function __tls_get_addr
-version SUNWprivate_1.1
-end
-
-function ___tls_get_addr
-arch i386
-version i386=SUNWprivate_1.1
-end
-
-function _sigoff
-version SUNWprivate_1.1
-end
-
-function _sigon
-version SUNWprivate_1.1
-end
-
-function _thr_detach
-version SUNWprivate_1.1
-end
-
-function _thr_key_delete
-version SUNWprivate_1.1
-end
-
-function _thr_schedctl
-version SUNWprivate_1.1
-end
-
-function _thr_slot_offset
-version SUNWprivate_1.1
-end
-
-function _resume
-version SUNWprivate_1.1
-end
-
-function _resume_ret
-version SUNWprivate_1.1
-end
-
-function posix_spawn
-include <spawn.h>
-declaration int posix_spawn( \
- pid_t *, \
- const char *, \
- const posix_spawn_file_actions_t *, \
- const posix_spawnattr_t *, \
- char *const [], \
- char *const [])
-version SUNW_1.22
-exception $return != 0
-end
-
-function posix_spawnp
-include <spawn.h>
-declaration int posix_spawnp( \
- pid_t *, \
- const char *, \
- const posix_spawn_file_actions_t *, \
- const posix_spawnattr_t *attrp, \
- char *const [], \
- char *const [])
-version SUNW_1.22
-exception $return != 0
-end
-
-function posix_spawn_file_actions_init
-include <spawn.h>
-declaration int posix_spawn_file_actions_init( \
- posix_spawn_file_actions_t *)
-version SUNW_1.22
-exception $return != 0
-end
-
-function posix_spawn_file_actions_destroy
-include <spawn.h>
-declaration int posix_spawn_file_actions_destroy( \
- posix_spawn_file_actions_t *)
-version SUNW_1.22
-exception $return != 0
-end
-
-function posix_spawn_file_actions_addopen
-include <spawn.h>
-declaration int posix_spawn_file_actions_addopen( \
- posix_spawn_file_actions_t *, \
- int, \
- const char *, \
- int, \
- mode_t)
-version SUNW_1.22
-exception $return != 0
-end
-
-function posix_spawn_file_actions_addclose
-include <spawn.h>
-declaration int posix_spawn_file_actions_addclose( \
- posix_spawn_file_actions_t *, \
- int)
-version SUNW_1.22
-exception $return != 0
-end
-
-function posix_spawn_file_actions_adddup2
-include <spawn.h>
-declaration int posix_spawn_file_actions_adddup2( \
- posix_spawn_file_actions_t *, \
- int, \
- int)
-version SUNW_1.22
-exception $return != 0
-end
-
-function posix_spawnattr_init
-include <spawn.h>
-declaration int posix_spawnattr_init( \
- posix_spawnattr_t *)
-version SUNW_1.22
-exception $return != 0
-end
-
-function posix_spawnattr_destroy
-include <spawn.h>
-declaration int posix_spawnattr_destroy( \
- posix_spawnattr_t *)
-version SUNW_1.22
-exception $return != 0
-end
-
-function posix_spawnattr_setflags
-include <spawn.h>
-declaration int posix_spawnattr_setflags( \
- posix_spawnattr_t *, \
- short)
-version SUNW_1.22
-exception $return != 0
-end
-
-function posix_spawnattr_getflags
-include <spawn.h>
-declaration int posix_spawnattr_getflags( \
- const posix_spawnattr_t *, \
- short *)
-version SUNW_1.22
-exception $return != 0
-end
-
-function posix_spawnattr_setpgroup
-include <spawn.h>
-declaration int posix_spawnattr_setpgroup( \
- posix_spawnattr_t *, \
- pid_t)
-version SUNW_1.22
-exception $return != 0
-end
-
-function posix_spawnattr_getpgroup
-include <spawn.h>
-declaration int posix_spawnattr_getpgroup( \
- const posix_spawnattr_t *, \
- pid_t *)
-version SUNW_1.22
-exception $return != 0
-end
-
-function posix_spawnattr_setschedparam
-include <spawn.h>
-declaration int posix_spawnattr_setschedparam( \
- posix_spawnattr_t *, \
- const struct sched_param *)
-version SUNW_1.22
-exception $return != 0
-end
-
-function posix_spawnattr_getschedparam
-include <spawn.h>
-declaration int posix_spawnattr_getschedparam( \
- const posix_spawnattr_t *, \
- struct sched_param *)
-version SUNW_1.22
-exception $return != 0
-end
-
-function posix_spawnattr_setschedpolicy
-include <spawn.h>
-declaration int posix_spawnattr_setschedpolicy( \
- posix_spawnattr_t *, \
- int)
-version SUNW_1.22
-exception $return != 0
-end
-
-function posix_spawnattr_getschedpolicy
-include <spawn.h>
-declaration int posix_spawnattr_getschedpolicy( \
- const posix_spawnattr_t *, \
- int *)
-version SUNW_1.22
-exception $return != 0
-end
-
-function posix_spawnattr_setsigdefault
-include <spawn.h>
-declaration int posix_spawnattr_setsigdefault( \
- posix_spawnattr_t *, \
- const sigset_t *)
-version SUNW_1.22
-exception $return != 0
-end
-
-function posix_spawnattr_getsigdefault
-include <spawn.h>
-declaration int posix_spawnattr_getsigdefault( \
- const posix_spawnattr_t *, \
- sigset_t *)
-version SUNW_1.22
-exception $return != 0
-end
-
-function posix_spawnattr_setsigmask
-include <spawn.h>
-declaration int posix_spawnattr_setsigmask( \
- posix_spawnattr_t *, \
- const sigset_t *)
-version SUNW_1.22
-exception $return != 0
-end
-
-function posix_spawnattr_getsigmask
-include <spawn.h>
-declaration int posix_spawnattr_getsigmask( \
- const posix_spawnattr_t *, \
- sigset_t *)
-version SUNW_1.22
-exception $return != 0
-end
-
-function _posix_spawn
-weak posix_spawn
-version SUNWprivate_1.1
-end
-
-function _posix_spawnp
-weak posix_spawnp
-version SUNWprivate_1.1
-end
-
-function _posix_spawn_file_actions_init
-weak posix_spawn_file_actions_init
-version SUNWprivate_1.1
-end
-
-function _posix_spawn_file_actions_destroy
-weak posix_spawn_file_actions_destroy
-version SUNWprivate_1.1
-end
-
-function _posix_spawn_file_actions_addopen
-weak posix_spawn_file_actions_addopen
-version SUNWprivate_1.1
-end
-
-function _posix_spawn_file_actions_addclose
-weak posix_spawn_file_actions_addclose
-version SUNWprivate_1.1
-end
-
-function _posix_spawn_file_actions_adddup2
-weak posix_spawn_file_actions_adddup2
-version SUNWprivate_1.1
-end
-
-function _posix_spawnattr_init
-weak posix_spawnattr_init
-version SUNWprivate_1.1
-end
-
-function _posix_spawnattr_destroy
-weak posix_spawnattr_destroy
-version SUNWprivate_1.1
-end
-
-function _posix_spawnattr_setflags
-weak posix_spawnattr_setflags
-version SUNWprivate_1.1
-end
-
-function _posix_spawnattr_getflags
-weak posix_spawnattr_getflags
-version SUNWprivate_1.1
-end
-
-function _posix_spawnattr_setpgroup
-weak posix_spawnattr_setpgroup
-version SUNWprivate_1.1
-end
-
-function _posix_spawnattr_getpgroup
-weak posix_spawnattr_getpgroup
-version SUNWprivate_1.1
-end
-
-function _posix_spawnattr_setschedparam
-weak posix_spawnattr_setschedparam
-version SUNWprivate_1.1
-end
-
-function _posix_spawnattr_getschedparam
-weak posix_spawnattr_getschedparam
-version SUNWprivate_1.1
-end
-
-function _posix_spawnattr_setschedpolicy
-weak posix_spawnattr_setschedpolicy
-version SUNWprivate_1.1
-end
-
-function _posix_spawnattr_getschedpolicy
-weak posix_spawnattr_getschedpolicy
-version SUNWprivate_1.1
-end
-
-function _posix_spawnattr_setsigdefault
-weak posix_spawnattr_setsigdefault
-version SUNWprivate_1.1
-end
-
-function _posix_spawnattr_getsigdefault
-weak posix_spawnattr_getsigdefault
-version SUNWprivate_1.1
-end
-
-function _posix_spawnattr_setsigmask
-weak posix_spawnattr_setsigmask
-version SUNWprivate_1.1
-end
-
-function _posix_spawnattr_getsigmask
-weak posix_spawnattr_getsigmask
-version SUNWprivate_1.1
-end
diff --git a/usr/src/lib/libc/spec/unwind.spec b/usr/src/lib/libc/spec/unwind.spec
deleted file mode 100644
index a647b1790b..0000000000
--- a/usr/src/lib/libc/spec/unwind.spec
+++ /dev/null
@@ -1,199 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-data _UA_SEARCH_PHASE
-arch amd64
-version SUNW_1.22
-end
-
-data _UA_CLEANUP_PHASE
-arch amd64
-version SUNW_1.22
-end
-
-data _UA_HANDLER_FRAME
-arch amd64
-version SUNW_1.22
-end
-
-data _UA_FORCE_UNWIND
-arch amd64
-version SUNW_1.22
-end
-
-function _Unwind_DeleteException
-include <unwind.h>
-declaration void _Unwind_DeleteException( \
- struct _Unwind_Exception *exception_object)
-arch amd64
-version SUNW_1.22
-end
-
-function _SUNW_Unwind_DeleteException
-weak _Unwind_DeleteException
-arch amd64
-version SUNW_1.22
-end
-
-function _Unwind_ForcedUnwind
-include <unwind.h>
-declaration _Unwind_Reason_Code _Unwind_ForcedUnwind( \
- struct _Unwind_Exception *exception_object, \
- _Unwind_Stop_Fn stop, void *stop_parameter)
-arch amd64
-version SUNW_1.22
-end
-
-function _SUNW_Unwind_ForcedUnwind
-weak _Unwind_ForcedUnwind
-arch amd64
-version SUNW_1.22
-end
-
-function _Unwind_GetLanguageSpecificData
-include <unwind.h>
-declaration void *_Unwind_GetLanguageSpecificData( \
- struct _Unwind_Context *context)
-arch amd64
-version SUNW_1.22
-end
-
-function _SUNW_Unwind_GetLanguageSpecificData
-weak _Unwind_GetLanguageSpecificData
-arch amd64
-version SUNW_1.22
-end
-
-function _Unwind_GetRegionStart
-include <unwind.h>
-declaration uint64 _Unwind_GetRegionStart( \
- struct _Unwind_Context *context)
-arch amd64
-version SUNW_1.22
-end
-
-function _SUNW_Unwind_GetRegionStart
-weak _Unwind_GetRegionStart
-arch amd64
-version SUNW_1.22
-end
-
-function _Unwind_RaiseException
-include <unwind.h>
-declaration _Unwind_Reason_Code _Unwind_RaiseException( \
- struct _Unwind_Exception *exception_object)
-arch amd64
-version SUNW_1.22
-end
-
-function _SUNW_Unwind_RaiseException
-weak _Unwind_RaiseException
-arch amd64
-version SUNW_1.22
-end
-
-function _Unwind_Resume
-include <unwind.h>
-declaration void _Unwind_Resume( \
- struct _Unwind_Exception *exception_object)
-arch amd64
-version SUNW_1.22
-end
-
-function _SUNW_Unwind_Resume
-weak _Unwind_Resume
-arch amd64
-version SUNW_1.22
-end
-
-function _Unwind_GetCFA
-include <unwind.h>
-declaration uint64 _Unwind_GetCFA(struct _Unwind_Context *context)
-arch amd64
-version SUNW_1.22
-end
-
-function _SUNW_Unwind_GetCFA
-weak _Unwind_GetCFA
-arch amd64
-version SUNW_1.22
-end
-
-function _Unwind_GetGR
-include <unwind.h>
-declaration uint64 _Unwind_GetGR(struct _Unwind_Context *context, \
- int index)
-arch amd64
-version SUNW_1.22
-end
-
-function _SUNW_Unwind_GetGR
-weak _Unwind_GetGR
-arch amd64
-version SUNW_1.22
-end
-
-function _Unwind_GetIP
-include <unwind.h>
-declaration uint64 _Unwind_GetIP(struct _Unwind_Context *context)
-arch amd64
-version SUNW_1.22
-end
-
-function _SUNW_Unwind_GetIP
-weak _Unwind_GetIP
-arch amd64
-version SUNW_1.22
-end
-
-function _Unwind_SetGR
-include <unwind.h>
-declaration void _Unwind_SetGR(struct _Unwind_Context *context, \
- int index, uint64 new_value)
-arch amd64
-version SUNW_1.22
-end
-
-function _SUNW_Unwind_SetGR
-weak _Unwind_SetGR
-arch amd64
-version SUNW_1.22
-end
-
-function _Unwind_SetIP
-include <unwind.h>
-declaration void _Unwind_SetIP(struct _Unwind_Context *context, \
- uint64 new_value)
-arch amd64
-version SUNW_1.22
-end
-
-function _SUNW_Unwind_SetIP
-weak _Unwind_SetIP
-arch amd64
-version SUNW_1.22
-end
diff --git a/usr/src/lib/libc/spec/versions b/usr/src/lib/libc/spec/versions
deleted file mode 100644
index fd2128210a..0000000000
--- a/usr/src/lib/libc/spec/versions
+++ /dev/null
@@ -1,174 +0,0 @@
-#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-i386 {
- SUNW_1.23: {SUNW_1.22.1};
- SUNW_1.22.1: {SUNW_1.22};
- SUNW_1.22: {SUNW_1.21.3};
- SUNW_1.21.3: {SUNW_1.21.2};
- SUNW_1.21.2: {SUNW_1.21.1};
- SUNW_1.21.1: {SUNW_1.21};
- SUNW_1.21: {SUNW_1.20.4};
- SUNW_1.20.4: {SUNW_1.20.1};
- SUNW_1.20.1: {SUNW_1.20};
- SUNW_1.20: {SUNW_1.19};
- SUNW_1.19: {SUNW_1.18.1};
- SUNW_1.18.1: {SUNW_1.18};
- SUNW_1.18: {SUNW_1.17};
- SUNW_1.17: {SUNW_1.16};
- SUNW_1.16: {SUNW_1.15};
- SUNW_1.15: {SUNW_1.14};
- SUNW_1.14: {SUNW_1.13};
- SUNW_1.13: {SUNW_1.12};
- SUNW_1.12: {SUNW_1.11};
- SUNW_1.11: {SUNW_1.10};
- SUNW_1.10: {SUNW_1.9};
- SUNW_1.9: {SUNW_1.8};
- SUNW_1.8: {SUNW_1.7};
- SUNW_1.7: {SUNW_1.6};
- SUNW_1.6: {SUNW_1.5};
- SUNW_1.5: {SUNW_1.4};
- SUNW_1.4: {SUNW_1.3};
- SUNW_1.3: {SUNW_1.2};
- SUNW_1.2: {SUNW_1.1};
- SUNW_1.1: {SUNW_0.9};
- SUNW_0.9: {SUNW_0.8};
- SUNW_0.8: {SUNW_0.7};
- SUNW_0.7: {SYSVABI_1.3};
- SYSVABI_1.3;
- SUNWprivate_1.1;
-}
-amd64 {
- SUNW_1.23: {SUNW_1.22.1};
- SUNW_1.22.1: {SUNW_1.22};
- SUNW_1.22: {SUNW_1.21.3};
- SUNW_1.21.3: {SUNW_1.21.2};
- SUNW_1.21.2: {SUNW_1.21.1};
- SUNW_1.21.1: {SUNW_1.21};
- SUNW_1.21: {SUNW_1.20.4};
- SUNW_1.20.4: {SUNW_1.20.1};
- SUNW_1.20.1: {SUNW_1.20};
- SUNW_1.20: {SUNW_1.19};
- SUNW_1.19: {SUNW_1.18.1};
- SUNW_1.18.1: {SUNW_1.18};
- SUNW_1.18: {SUNW_1.17};
- SUNW_1.17: {SUNW_1.16};
- SUNW_1.16: {SUNW_1.15};
- SUNW_1.15: {SUNW_1.14};
- SUNW_1.14: {SUNW_1.13};
- SUNW_1.13: {SUNW_1.12};
- SUNW_1.12: {SUNW_1.11};
- SUNW_1.11: {SUNW_1.10};
- SUNW_1.10: {SUNW_1.9};
- SUNW_1.9: {SUNW_1.8};
- SUNW_1.8: {SUNW_1.7};
- SUNW_1.7: {SUNW_1.6};
- SUNW_1.6: {SUNW_1.5};
- SUNW_1.5: {SUNW_1.4};
- SUNW_1.4: {SUNW_1.3};
- SUNW_1.3: {SUNW_1.2};
- SUNW_1.2: {SUNW_1.1};
- SUNW_1.1: {SUNW_0.9};
- SUNW_0.9: {SUNW_0.8};
- SUNW_0.8: {SUNW_0.7};
- SUNW_0.7: {SYSVABI_1.3};
- SYSVABI_1.3;
- SUNWprivate_1.1;
-}
-sparc {
- SUNW_1.23: {SUNW_1.22.1};
- SUNW_1.22.1: {SUNW_1.22};
- SUNW_1.22: {SUNW_1.21.3};
- SUNW_1.21.3: {SUNW_1.21.2};
- SUNW_1.21.2: {SUNW_1.21.1};
- SUNW_1.21.1: {SUNW_1.21};
- SUNW_1.21: {SUNW_1.20.4};
- SUNW_1.20.4: {SUNW_1.20.1};
- SUNW_1.20.1: {SUNW_1.20};
- SUNW_1.20: {SUNW_1.19};
- SUNW_1.19: {SUNW_1.18.1};
- SUNW_1.18.1: {SUNW_1.18};
- SUNW_1.18: {SUNW_1.17};
- SUNW_1.17: {SUNW_1.16};
- SUNW_1.16: {SUNW_1.15};
- SUNW_1.15: {SUNW_1.14};
- SUNW_1.14: {SUNW_1.13};
- SUNW_1.13: {SUNW_1.12};
- SUNW_1.12: {SUNW_1.11};
- SUNW_1.11: {SUNW_1.10};
- SUNW_1.10: {SUNW_1.9};
- SUNW_1.9: {SUNW_1.8};
- SUNW_1.8: {SUNW_1.7};
- SUNW_1.7: {SUNW_1.6};
- SUNW_1.6: {SUNW_1.5};
- SUNW_1.5: {SUNW_1.4};
- SUNW_1.4: {SUNW_1.3};
- SUNW_1.3: {SUNW_1.2};
- SUNW_1.2: {SUNW_1.1};
- SUNW_1.1: {SUNW_0.9};
- SUNW_0.9: {SUNW_0.8};
- SUNW_0.8: {SUNW_0.7};
- SUNW_0.7: {SISCD_2.3};
- SISCD_2.3: {SYSVABI_1.3};
- SYSVABI_1.3;
- SUNWprivate_1.1;
-}
-sparcv9 {
- SUNW_1.23: {SUNW_1.22.1};
- SUNW_1.22.1: {SUNW_1.22};
- SUNW_1.22: {SUNW_1.21.3};
- SUNW_1.21.3: {SUNW_1.21.2};
- SUNW_1.21.2: {SUNW_1.21.1};
- SUNW_1.21.1: {SUNW_1.21};
- SUNW_1.21: {SUNW_1.20.4};
- SUNW_1.20.4: {SUNW_1.20.1};
- SUNW_1.20.1: {SUNW_1.20};
- SUNW_1.20: {SUNW_1.19};
- SUNW_1.19: {SUNW_1.18.1};
- SUNW_1.18.1: {SUNW_1.18};
- SUNW_1.18: {SUNW_1.17};
- SUNW_1.17: {SUNW_1.16};
- SUNW_1.16: {SUNW_1.15};
- SUNW_1.15: {SUNW_1.14};
- SUNW_1.14: {SUNW_1.13};
- SUNW_1.13: {SUNW_1.12};
- SUNW_1.12: {SUNW_1.11};
- SUNW_1.11: {SUNW_1.10};
- SUNW_1.10: {SUNW_1.9};
- SUNW_1.9: {SUNW_1.8};
- SUNW_1.8: {SUNW_1.7};
- SUNW_1.7: {SUNW_1.6};
- SUNW_1.6: {SUNW_1.5};
- SUNW_1.5: {SUNW_1.4};
- SUNW_1.4: {SUNW_1.3};
- SUNW_1.3: {SUNW_1.2};
- SUNW_1.2: {SUNW_1.1};
- SUNW_1.1: {SUNW_0.9};
- SUNW_0.9: {SUNW_0.8};
- SUNW_0.8: {SUNW_0.7};
- SUNW_0.7;
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/libc/spec/widec.spec b/usr/src/lib/libc/spec/widec.spec
deleted file mode 100644
index 42766fbd4f..0000000000
--- a/usr/src/lib/libc/spec/widec.spec
+++ /dev/null
@@ -1,90 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libc/spec/widec.spec
-
-function fgetws
-include <stdio.h>, <widec.h>
-declaration wchar_t *fgetws(wchar_t *_RESTRICT_KYWD s, int n, \
- FILE *_RESTRICT_KYWD stream)
-version SUNW_1.1
-errno EOVERFLOW
-exception $return == 0
-end
-
-function getws
-include <stdio.h>, <widec.h>
-declaration wchar_t *getws(wchar_t *s)
-version SUNW_1.1
-errno EOVERFLOW
-exception $return == 0
-end
-
-function putws
-include <stdio.h>, <widec.h>
-declaration int putws(const wchar_t *s)
-version SUNW_1.1
-exception $return == EOF
-end
-
-function wscasecmp
-include <widec.h>
-declaration int wscasecmp(const wchar_t *s1, const wchar_t *s2)
-version SUNW_1.1
-end
-
-function wscol
-include <widec.h>
-declaration int wscol(const wchar_t *s)
-version SUNW_1.1
-end
-
-function wsdup
-include <widec.h>
-declaration wchar_t *wsdup(const wchar_t *s)
-version SUNW_1.1
-exception $return == 0
-end
-
-function wsncasecmp
-include <widec.h>
-declaration int wsncasecmp(const wchar_t *s1, const wchar_t *s2, size_t n)
-version SUNW_1.1
-end
-
-function wsprintf
-include <stdio.h>, <widec.h>
-declaration int wsprintf(wchar_t *s, const char *format, ... )
-version SUNW_1.1
-exception $return < 0
-end
-
-function wsscanf
-include <stdio.h>, <widec.h>
-declaration int wsscanf(wchar_t *s, const char *format, ... )
-version SUNW_1.1
-exception $return < 0
-end
diff --git a/usr/src/lib/libc_db/Makefile b/usr/src/lib/libc_db/Makefile
index f6e3e6a169..a715f0a195 100644
--- a/usr/src/lib/libc_db/Makefile
+++ b/usr/src/lib/libc_db/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,7 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 1999-2003 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
@@ -41,11 +40,9 @@ TEXT_DOMAIN= SUNW_OST_OSLIB
.KEEP_STATE:
-all install clean clobber: spec .WAIT $(SUBDIRS)
+all install clean clobber lint: $(SUBDIRS)
-lint: $(SUBDIRS)
-
-spec $(SUBDIRS): FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
diff --git a/usr/src/lib/libc_db/Makefile.com b/usr/src/lib/libc_db/Makefile.com
index e75c95d89e..179e75b3c4 100644
--- a/usr/src/lib/libc_db/Makefile.com
+++ b/usr/src/lib/libc_db/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,7 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
@@ -42,12 +41,10 @@ include ../../Makefile.rootfs
ZDEFS =
LIBS = $(DYNLIB) $(LINTLIB)
-SRCS = $(CMNOBJS:%.o=$(SRCDIR)/%.c)
-$(LINTLIB) := SRCS = $(SRCDIR)/$(LINTSRC)
SRCDIR = ../common
-MAPDIR = ../spec/$(TRANSMACH)
-SPECMAPFILE = $(MAPDIR)/mapfile
+SRCS = $(CMNOBJS:%.o=$(SRCDIR)/%.c)
+$(LINTLIB) := SRCS = $(SRCDIR)/$(LINTSRC)
ASFLAGS += -P -D__STDC__ -D_ASM -DPIC
CPPFLAGS += -I../../libc/inc -D_REENTRANT
diff --git a/usr/src/lib/libc_db/common/mapfile-vers b/usr/src/lib/libc_db/common/mapfile-vers
new file mode 100644
index 0000000000..12cf359416
--- /dev/null
+++ b/usr/src/lib/libc_db/common/mapfile-vers
@@ -0,0 +1,147 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNW_1.3 {
+ global:
+ td_thr_tlsbase;
+} SUNW_1.2;
+
+# Due to mistakes made early in the history of this library, there are
+# no SUNW_1.2 symbols, but the version is now kept as a placeholder.
+# Don't add any symbols to this version.
+
+SUNW_1.2 {
+ global:
+ SUNW_1.2;
+} SUNW_1.1;
+
+SUNW_1.1 {
+ global:
+ td_sync_get_info;
+ td_sync_setstate;
+ td_sync_waiters;
+ td_ta_clear_event;
+ td_ta_enable_stats;
+ td_ta_event_addr;
+ td_ta_event_getmsg;
+ td_ta_get_stats;
+ td_ta_map_addr2sync;
+ td_ta_reset_stats;
+ td_ta_setconcurrency;
+ td_ta_set_event;
+ td_ta_sync_iter;
+ td_thr_clear_event;
+ td_thr_dbresume;
+ td_thr_dbsuspend;
+ td_thr_event_enable;
+ td_thr_event_getmsg;
+ td_thr_lockowner;
+ td_thr_set_event;
+ td_thr_sleepinfo;
+} SUNW_0.9;
+
+SUNW_0.9 {
+ global:
+ td_init;
+ td_log;
+ td_ta_delete;
+ td_ta_get_nthreads;
+ td_ta_get_ph;
+ td_ta_map_id2thr;
+ td_ta_map_lwp2thr;
+ td_ta_new;
+ td_ta_thr_iter;
+ td_ta_tsd_iter;
+ td_thr_getfpregs;
+ td_thr_getgregs;
+ td_thr_get_info;
+ td_thr_getxregs;
+ td_thr_getxregsize;
+ td_thr_setfpregs;
+ td_thr_setgregs;
+ td_thr_setprio;
+ td_thr_setsigpending;
+ td_thr_setxregs;
+ td_thr_sigsetmask;
+ td_thr_tsd;
+ td_thr_validate;
+};
+
+SUNWprivate_1.1 {
+ global:
+ __td_init;
+ __td_log;
+ __td_sync_get_info;
+ td_sync_get_stats;
+ __td_sync_get_stats;
+ __td_sync_setstate;
+ __td_sync_waiters;
+ __td_ta_clear_event;
+ __td_ta_delete;
+ __td_ta_enable_stats;
+ __td_ta_event_addr;
+ __td_ta_event_getmsg;
+ __td_ta_get_nthreads;
+ __td_ta_get_ph;
+ __td_ta_get_stats;
+ __td_ta_map_addr2sync;
+ __td_ta_map_id2thr;
+ __td_ta_map_lwp2thr;
+ __td_ta_new;
+ __td_ta_reset_stats;
+ __td_ta_setconcurrency;
+ __td_ta_set_event;
+ __td_ta_sync_iter;
+ td_ta_sync_tracking_enable;
+ __td_ta_sync_tracking_enable;
+ __td_ta_thr_iter;
+ __td_ta_tsd_iter;
+ __td_thr_clear_event;
+ __td_thr_dbresume;
+ __td_thr_dbsuspend;
+ __td_thr_event_enable;
+ __td_thr_event_getmsg;
+ __td_thr_getfpregs;
+ __td_thr_getgregs;
+ __td_thr_get_info;
+ __td_thr_getxregs;
+ __td_thr_getxregsize;
+ __td_thr_lockowner;
+ __td_thr_set_event;
+ __td_thr_setfpregs;
+ __td_thr_setgregs;
+ __td_thr_setprio;
+ __td_thr_setsigpending;
+ __td_thr_setxregs;
+ __td_thr_sigsetmask;
+ __td_thr_sleepinfo;
+ __td_thr_tlsbase;
+ __td_thr_tsd;
+ __td_thr_validate;
+ local:
+ *;
+};
diff --git a/usr/src/lib/libc_db/spec/Makefile b/usr/src/lib/libc_db/spec/Makefile
deleted file mode 100644
index 6cc082e6f1..0000000000
--- a/usr/src/lib/libc_db/spec/Makefile
+++ /dev/null
@@ -1,28 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1999-2001 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/libc_db/spec/Makefile.targ b/usr/src/lib/libc_db/spec/Makefile.targ
deleted file mode 100644
index 2c603acd28..0000000000
--- a/usr/src/lib/libc_db/spec/Makefile.targ
+++ /dev/null
@@ -1,34 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 1999-2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-LIBRARY = libc_db.a
-VERS = .1
-
-OBJECTS = thread_db.o
-
-SPECCPP =
diff --git a/usr/src/lib/libc_db/spec/amd64/Makefile b/usr/src/lib/libc_db/spec/amd64/Makefile
deleted file mode 100644
index d334868181..0000000000
--- a/usr/src/lib/libc_db/spec/amd64/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#amd64_C_PICFLAGS = $(amd64_C_BIGPICFLAGS)
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libc_db/spec/i386/Makefile b/usr/src/lib/libc_db/spec/i386/Makefile
deleted file mode 100644
index 1c8d2125c0..0000000000
--- a/usr/src/lib/libc_db/spec/i386/Makefile
+++ /dev/null
@@ -1,43 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1999-2001 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#i386_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libc_db/spec/sparc/Makefile b/usr/src/lib/libc_db/spec/sparc/Makefile
deleted file mode 100644
index 6a4ee42847..0000000000
--- a/usr/src/lib/libc_db/spec/sparc/Makefile
+++ /dev/null
@@ -1,43 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1999-2001 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#sparc_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libc_db/spec/sparcv9/Makefile b/usr/src/lib/libc_db/spec/sparcv9/Makefile
deleted file mode 100644
index 51be97e736..0000000000
--- a/usr/src/lib/libc_db/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1999-2001 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#sparcv9_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libc_db/spec/thread_db.spec b/usr/src/lib/libc_db/spec/thread_db.spec
deleted file mode 100644
index cb6c801130..0000000000
--- a/usr/src/lib/libc_db/spec/thread_db.spec
+++ /dev/null
@@ -1,582 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-
-function td_init
-include <thread_db.h>
-declaration td_err_e td_init(void)
-version SUNW_0.9
-end
-
-function td_log
-include <thread_db.h>
-declaration void td_log(void)
-version SUNW_0.9
-end
-
-function td_sync_get_info
-include <thread_db.h>
-declaration td_err_e td_sync_get_info(const td_synchandle_t *sh_p, \
- td_syncinfo_t *si_p)
-version SUNW_1.1
-end
-
-function td_sync_get_stats
-version SUNWprivate_1.1
-end
-
-function td_sync_setstate
-include <thread_db.h>
-declaration td_err_e td_sync_setstate(const td_synchandle_t *sh_p, \
- int value)
-version SUNW_1.1
-end
-
-function td_sync_waiters
-include <thread_db.h>
-declaration td_err_e td_sync_waiters(const td_synchandle_t *sh_p, \
- td_thr_iter_f *cb, void *cb_data_p)
-version SUNW_1.1
-end
-
-function td_thr_clear_event
-include <thread_db.h>
-declaration td_err_e td_thr_clear_event(const td_thrhandle_t *th_p, \
- td_thr_events_t *events)
-version SUNW_1.1
-end
-
-function td_ta_delete
-include <thread_db.h>
-declaration td_err_e td_ta_delete(td_thragent_t *ta_p)
-version SUNW_0.9
-end
-
-function td_ta_enable_stats
-include <thread_db.h>
-declaration td_err_e td_ta_enable_stats(const td_thragent_t *ta_p, \
- int on_off)
-version SUNW_1.1
-end
-
-function td_ta_event_addr
-include <thread_db.h>
-declaration td_err_e td_ta_event_addr(const td_thragent_t *ta_p, \
- td_event_e event, td_notify_t *notify_p)
-version SUNW_1.1
-end
-
-function td_ta_event_getmsg
-include <thread_db.h>
-declaration td_err_e td_ta_event_getmsg(const td_thragent_t *ta_p, \
- td_event_msg_t *msg)
-version SUNW_1.1
-end
-
-function td_ta_get_nthreads
-include <thread_db.h>
-declaration td_err_e td_ta_get_nthreads(const td_thragent_t *ta_p, \
- int *nthread_p)
-version SUNW_0.9
-end
-
-function td_ta_get_ph
-include <thread_db.h>
-declaration td_err_e td_ta_get_ph(const td_thragent_t *ta_p, \
- struct ps_prochandle **ph_pp)
-version SUNW_0.9
-end
-
-function td_ta_get_stats
-include <thread_db.h>
-declaration td_err_e td_ta_get_stats(const td_thragent_t *ta_p, \
- td_ta_stats_t *tstats)
-version SUNW_1.1
-end
-
-function td_ta_map_addr2sync
-include <thread_db.h>
-declaration td_err_e td_ta_map_addr2sync(const td_thragent_t *ta_p, \
- psaddr_t addr, td_synchandle_t *sh_p)
-version SUNW_1.1
-end
-
-function td_ta_map_id2thr
-include <thread_db.h>
-declaration td_err_e td_ta_map_id2thr(const td_thragent_t *ta_p, \
- thread_t tid, td_thrhandle_t *th_p)
-version SUNW_0.9
-end
-
-function td_ta_map_lwp2thr
-include <thread_db.h>
-declaration td_err_e td_ta_map_lwp2thr(const td_thragent_t *ta_p, \
- lwpid_t lwpid, td_thrhandle_t *th_p)
-version SUNW_0.9
-end
-
-function td_ta_new
-include <thread_db.h>
-declaration td_err_e td_ta_new(struct ps_prochandle *ph_p, \
- td_thragent_t **ta_pp)
-version SUNW_0.9
-end
-
-function td_ta_reset_stats
-include <thread_db.h>
-declaration td_err_e td_ta_reset_stats(const td_thragent_t *ta_p)
-version SUNW_1.1
-end
-
-function td_ta_set_event
-include <thread_db.h>
-declaration td_err_e td_ta_set_event(const td_thragent_t *th_p, \
- td_thr_events_t *events)
-version SUNW_1.1
-end
-
-function td_ta_setconcurrency
-include <thread_db.h>
-declaration td_err_e td_ta_setconcurrency(const td_thragent_t *ta_p, \
- int level)
-version SUNW_1.1
-end
-
-function td_ta_sync_tracking_enable
-version SUNWprivate_1.1
-end
-
-function td_ta_sync_iter
-include <thread_db.h>
-declaration td_err_e td_ta_sync_iter(const td_thragent_t *ta_p, \
- td_sync_iter_f *cb, void *cbdata_p)
-version SUNW_1.1
-end
-
-function td_ta_thr_iter
-include <thread_db.h>
-declaration td_err_e td_ta_thr_iter(const td_thragent_t *ta_p, \
- td_thr_iter_f *cb, void *cbdata_p, \
- td_thr_state_e, int, sigset_t *, unsigned)
-version SUNW_0.9
-end
-
-function td_ta_tsd_iter
-include <thread_db.h>
-declaration td_err_e td_ta_tsd_iter(const td_thragent_t *ta_p, \
- td_key_iter_f *cb, void *cbdata_p)
-version SUNW_0.9
-end
-
-function td_ta_clear_event
-include <thread_db.h>
-declaration td_err_e td_ta_clear_event(const td_thragent_t *ta_p, \
- td_thr_events_t *events)
-version SUNW_1.1
-end
-
-function td_thr_dbresume
-include <thread_db.h>
-declaration td_err_e td_thr_dbresume(const td_thrhandle_t *th_p)
-version SUNW_1.1
-end
-
-function td_thr_dbsuspend
-include <thread_db.h>
-declaration td_err_e td_thr_dbsuspend(const td_thrhandle_t *th_p)
-version SUNW_1.1
-end
-
-function td_thr_event_enable
-include <thread_db.h>
-declaration td_err_e td_thr_event_enable(const td_thrhandle_t *th_p, \
- int onoff)
-version SUNW_1.1
-end
-
-function td_thr_event_getmsg
-include <thread_db.h>
-declaration td_err_e td_thr_event_getmsg(const td_thrhandle_t *th_p, \
- td_event_msg_t *msg)
-version SUNW_1.1
-end
-
-function td_thr_get_info
-include <thread_db.h>
-declaration td_err_e td_thr_get_info(const td_thrhandle_t *th_p, \
- td_thrinfo_t *ti_p)
-version SUNW_0.9
-end
-
-function td_thr_getfpregs
-include <thread_db.h>
-declaration td_err_e td_thr_getfpregs(const td_thrhandle_t *th_p, \
- prfpregset_t *fpregset)
-version SUNW_0.9
-end
-
-function td_thr_getgregs
-include <thread_db.h>
-declaration td_err_e td_thr_getgregs(const td_thrhandle_t *th_p, \
- prgregset_t regset)
-version SUNW_0.9
-end
-
-function td_thr_getxregs
-include <thread_db.h>
-declaration td_err_e td_thr_getxregs(const td_thrhandle_t *th_p, \
- void *xregset)
-version SUNW_0.9
-end
-
-function td_thr_getxregsize
-include <thread_db.h>
-declaration td_err_e td_thr_getxregsize( const td_thrhandle_t *th_p, \
- int *xregsize)
-version SUNW_0.9
-end
-
-function td_thr_lockowner
-include <thread_db.h>
-declaration td_err_e td_thr_lockowner(const td_thrhandle_t *th_p, \
- td_sync_iter_f *cb, void *cb_data_p)
-version SUNW_1.1
-end
-
-function td_thr_set_event
-include <thread_db.h>
-declaration td_err_e td_thr_set_event(const td_thrhandle_t *th_p, \
- td_thr_events_t *events)
-version SUNW_1.1
-end
-
-function td_thr_setfpregs
-include <thread_db.h>
-declaration td_err_e td_thr_setfpregs(const td_thrhandle_t *th_p, \
- const prfpregset_t *fpregset)
-version SUNW_0.9
-end
-
-function td_thr_setgregs
-include <thread_db.h>
-declaration td_err_e td_thr_setgregs(const td_thrhandle_t *th_p, \
- const prgregset_t regset)
-version SUNW_0.9
-end
-
-function td_thr_setprio
-include <thread_db.h>
-declaration td_err_e td_thr_setprio(const td_thrhandle_t *th_p, \
- int new_prio)
-version SUNW_0.9
-end
-
-function td_thr_setsigpending
-include <thread_db.h>
-declaration td_err_e td_thr_setsigpending(const td_thrhandle_t *th_p, \
- uchar_t ti_pending_flag, \
- const sigset_t ti_pending)
-version SUNW_0.9
-end
-
-function td_thr_setxregs
-include <thread_db.h>
-declaration td_err_e td_thr_setxregs(const td_thrhandle_t *th_p, \
- const void *xregset)
-version SUNW_0.9
-end
-
-function td_thr_sigsetmask
-include <thread_db.h>
-declaration td_err_e td_thr_sigsetmask(const td_thrhandle_t *th_p, \
- const sigset_t ti_sigmask)
-version SUNW_0.9
-end
-
-function td_thr_sleepinfo
-include <thread_db.h>
-declaration td_err_e td_thr_sleepinfo(const td_thrhandle_t *th_p, \
- td_synchandle_t *sh_p)
-version SUNW_1.1
-end
-
-function td_thr_tsd
-include <thread_db.h>
-declaration td_err_e td_thr_tsd(const td_thrhandle_t *th_p, \
- thread_key_t key, void **data_pp)
-version SUNW_0.9
-end
-
-function td_thr_tlsbase
-include <thread_db.h>
-declaration td_err_e td_thr_tlsbase(const td_thrhandle_t *th_p, \
- ulong_t moduleid, psaddr_t *base)
-version SUNW_1.3
-end
-
-function td_thr_validate
-include <thread_db.h>
-declaration td_err_e td_thr_validate(const td_thrhandle_t *th_p)
-version SUNW_0.9
-end
-
-#
-# Weak interfaces
-
-function __td_ta_new
-weak td_ta_new
-version SUNWprivate_1.1
-end
-
-function __td_ta_delete
-weak td_ta_delete
-version SUNWprivate_1.1
-end
-
-function __td_init
-weak td_init
-version SUNWprivate_1.1
-end
-
-function __td_log
-weak td_log
-version SUNWprivate_1.1
-end
-
-function __td_ta_get_ph
-weak td_ta_get_ph
-version SUNWprivate_1.1
-end
-
-function __td_ta_setconcurrency
-weak td_ta_setconcurrency
-version SUNWprivate_1.1
-end
-
-function __td_ta_sync_tracking_enable
-weak td_ta_sync_tracking_enable
-version SUNWprivate_1.1
-end
-
-function __td_ta_sync_iter
-weak td_ta_sync_iter
-version SUNWprivate_1.1
-end
-
-function __td_ta_enable_stats
-weak td_ta_enable_stats
-version SUNWprivate_1.1
-end
-
-function __td_ta_event_addr
-weak td_ta_event_addr
-version SUNWprivate_1.1
-end
-
-function __td_ta_event_getmsg
-weak td_ta_event_getmsg
-version SUNWprivate_1.1
-end
-
-function __td_thr_event_enable
-weak td_thr_event_enable
-version SUNWprivate_1.1
-end
-
-function __td_thr_set_event
-weak td_thr_set_event
-version SUNWprivate_1.1
-end
-
-function __td_ta_reset_stats
-weak td_ta_reset_stats
-version SUNWprivate_1.1
-end
-
-function __td_ta_set_event
-weak td_ta_set_event
-version SUNWprivate_1.1
-end
-
-function __td_thr_clear_event
-weak td_thr_clear_event
-version SUNWprivate_1.1
-end
-
-function __td_ta_clear_event
-weak td_ta_clear_event
-version SUNWprivate_1.1
-end
-
-function __td_thr_event_getmsg
-weak td_thr_event_getmsg
-version SUNWprivate_1.1
-end
-
-function __td_ta_get_stats
-weak td_ta_get_stats
-version SUNWprivate_1.1
-end
-
-function __td_ta_get_nthreads
-weak td_ta_get_nthreads
-version SUNWprivate_1.1
-end
-
-function __td_ta_tsd_iter
-weak td_ta_tsd_iter
-version SUNWprivate_1.1
-end
-
-function __td_ta_thr_iter
-weak td_ta_thr_iter
-version SUNWprivate_1.1
-end
-
-function __td_thr_validate
-weak td_thr_validate
-version SUNWprivate_1.1
-end
-
-function __td_thr_tsd
-weak td_thr_tsd
-version SUNWprivate_1.1
-end
-
-function __td_thr_tlsbase
-weak td_thr_tlsbase
-version SUNWprivate_1.1
-end
-
-function __td_thr_get_info
-weak td_thr_get_info
-version SUNWprivate_1.1
-end
-
-function __td_thr_sigsetmask
-weak td_thr_sigsetmask
-version SUNWprivate_1.1
-end
-
-function __td_thr_setprio
-weak td_thr_setprio
-version SUNWprivate_1.1
-end
-
-function __td_thr_setsigpending
-weak td_thr_setsigpending
-version SUNWprivate_1.1
-end
-
-function __td_ta_map_addr2sync
-weak td_ta_map_addr2sync
-version SUNWprivate_1.1
-end
-
-function __td_ta_map_id2thr
-weak td_ta_map_id2thr
-version SUNWprivate_1.1
-end
-
-function __td_thr_lockowner
-weak td_thr_lockowner
-version SUNWprivate_1.1
-end
-
-function __td_thr_sleepinfo
-weak td_thr_sleepinfo
-version SUNWprivate_1.1
-end
-
-function __td_thr_dbsuspend
-weak td_thr_dbsuspend
-version SUNWprivate_1.1
-end
-
-function __td_thr_dbresume
-weak td_thr_dbresume
-version SUNWprivate_1.1
-end
-
-function __td_thr_getfpregs
-weak td_thr_getfpregs
-version SUNWprivate_1.1
-end
-
-function __td_thr_setfpregs
-weak td_thr_setfpregs
-version SUNWprivate_1.1
-end
-
-function __td_thr_setgregs
-weak td_thr_setgregs
-version SUNWprivate_1.1
-end
-
-function __td_thr_getxregsize
-weak td_thr_getxregsize
-version SUNWprivate_1.1
-end
-
-function __td_thr_setxregs
-weak td_thr_setxregs
-version SUNWprivate_1.1
-end
-
-function __td_thr_getxregs
-weak td_thr_getxregs
-version SUNWprivate_1.1
-end
-
-function __td_ta_map_lwp2thr
-weak td_ta_map_lwp2thr
-version SUNWprivate_1.1
-end
-
-function __td_sync_get_info
-weak td_sync_get_info
-version SUNWprivate_1.1
-end
-
-function __td_sync_get_stats
-weak td_sync_get_stats
-version SUNWprivate_1.1
-end
-
-function __td_sync_setstate
-weak td_sync_setstate
-version SUNWprivate_1.1
-end
-
-function __td_sync_waiters
-weak td_sync_waiters
-version SUNWprivate_1.1
-end
-
-function __td_thr_getgregs
-weak td_thr_getgregs
-version SUNWprivate_1.1
-end
diff --git a/usr/src/lib/libc_db/spec/versions b/usr/src/lib/libc_db/spec/versions
deleted file mode 100644
index 729ed1173d..0000000000
--- a/usr/src/lib/libc_db/spec/versions
+++ /dev/null
@@ -1,63 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# Note: Even though the SUNW_1.2 version now contains no symbols
-# beyond what was present at Solaris 2.6, the SUNW_1.2 version MUST be
-# present. This is because applications built on 2.6 Beta
-# (when it did contain symbols explicitly) may depend on it.
-#
-
-sparc {
- SUNW_1.3: {SUNW_1.2};
- SUNW_1.2: {SUNW_1.1};
- SUNW_1.1: {SUNW_0.9};
- SUNW_0.9;
- SUNWprivate_1.1;
-}
-
-sparcv9 {
- SUNW_1.3: {SUNW_1.2};
- SUNW_1.2: {SUNW_1.1};
- SUNW_1.1: {SUNW_0.9};
- SUNW_0.9;
- SUNWprivate_1.1;
-}
-
-i386 {
- SUNW_1.3: {SUNW_1.2};
- SUNW_1.2: {SUNW_1.1};
- SUNW_1.1: {SUNW_0.9};
- SUNW_0.9;
- SUNWprivate_1.1;
-}
-
-amd64 {
- SUNW_1.3: {SUNW_1.2};
- SUNW_1.2: {SUNW_1.1};
- SUNW_1.1: {SUNW_0.9};
- SUNW_0.9;
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/libc_psr/Makefile b/usr/src/lib/libc_psr/Makefile
index 2521a042c0..f020b5107a 100644
--- a/usr/src/lib/libc_psr/Makefile
+++ b/usr/src/lib/libc_psr/Makefile
@@ -19,12 +19,10 @@
# CDDL HEADER END
#
#
-#ident "%Z%%M% %I% %E% SMI"
-#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# lib/libc_psr/Makefile
+# ident "%Z%%M% %I% %E% SMI"
#
include ../Makefile.lib
@@ -39,9 +37,9 @@ lint := TARGET= lint
.KEEP_STATE:
-all install clean clobber lint lib32 lib64 : spec .WAIT $(SUBDIRS)
+all install clean clobber lint: $(SUBDIRS)
-spec $(SUBDIRS): FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
diff --git a/usr/src/lib/libc_psr/spec/Makefile b/usr/src/lib/libc_psr/spec/Makefile
deleted file mode 100644
index 7742b756e6..0000000000
--- a/usr/src/lib/libc_psr/spec/Makefile
+++ /dev/null
@@ -1,47 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# usr/src/lib/libc_psr/spec/Makefile
-
-SUBDIRS= sun4u sun4u-opl sun4u_hwcap1 sun4u_hwcap2 sun4v_hwcap1
-
-all := TARGET= all
-install := TARGET= install
-clean := TARGET= clean
-clobber := TARGET= clobber
-lint := TARGET= lint
-
-.KEEP_STATE:
-
-all install clean clobber lint: $(SUBDIRS)
-
-# spec files do not have msgs or catalogs
-_msg catalog:
-
-$(SUBDIRS): FRC
- @cd $@; pwd; $(MAKE) $(TARGET)
-
-FRC:
diff --git a/usr/src/lib/libc_psr/spec/Makefile.com b/usr/src/lib/libc_psr/spec/Makefile.com
deleted file mode 100644
index a96dfbe579..0000000000
--- a/usr/src/lib/libc_psr/spec/Makefile.com
+++ /dev/null
@@ -1,60 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1999-2000 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libc_psr/spec/Makefile.com
-
-include $(SRC)/Makefile.psm
-
-MODULE= abi
-
-
-LINKED_DIRS = $(LINKED_PLATFORMS:%=$(USR_PLAT_DIR)/%)
-LINKED_LIB_DIRS = $(LINKED_PLATFORMS:%=$(USR_PLAT_DIR)/%/lib)
-LINKED_ABI_DIRS = $(LINKED_PLATFORMS:%=$(USR_PLAT_DIR)/%/lib/abi)
-LINKED_ABI_DIRS64 = $(LINKED_PLATFORMS:%=$(USR_PLAT_DIR)/%/lib/abi/$(MACH64))
-ABI_LINKS32 = $(LINKED_PLATFORMS:%=$(USR_PLAT_DIR)/%/lib/abi/abi_$(DYNLIB))
-ABI_LINKS64 = $(LINKED_PLATFORMS:%=$(USR_PLAT_DIR)/%/lib/abi/$(MACH64)/abi_$(DYNLIB))
-ABI_LINKS = $(ABI_LINKS$(CLASS))
-
-INS.slink6 = $(RM) -r $@; $(SYMLINK) ../../../$(PLATFORM)/lib/abi/abi_$(DYNLIB) $@ $(CHOWNLINK) $(CHGRPLINK)
-INS.slink7 = $(RM) -r $@; $(SYMLINK) ../../../../$(PLATFORM)/lib/abi/$(MACH64)/abi_$(DYNLIB) $@ $(CHOWNLINK) $(CHGRPLINK)
-
-links: $(ABI_LINKS$(CLASS))
-
-$(LINKED_ABI_DIRS): $(LINKED_LIB_DIRS)
- -$(INS.dir.root.bin)
-
-$(LINKED_ABI_DIRS64): $(LINKED_ABI_DIRS)
- -$(INS.dir.root.bin)
-
-$(ABI_LINKS32): $(LINKED_ABI_DIRS)
- -$(INS.slink6)
-
-$(ABI_LINKS64): $(LINKED_ABI_DIRS64)
- -$(INS.slink7)
-
-FRC:
diff --git a/usr/src/lib/libc_psr/spec/sun4u-opl/Makefile b/usr/src/lib/libc_psr/spec/sun4u-opl/Makefile
deleted file mode 100644
index e41b66e7f1..0000000000
--- a/usr/src/lib/libc_psr/spec/sun4u-opl/Makefile
+++ /dev/null
@@ -1,29 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# lib/libc_psr/spec/sun4u-opl/Makefile
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/libc_psr/spec/sun4u-opl/Makefile.links b/usr/src/lib/libc_psr/spec/sun4u-opl/Makefile.links
deleted file mode 100644
index 53c0bd026e..0000000000
--- a/usr/src/lib/libc_psr/spec/sun4u-opl/Makefile.links
+++ /dev/null
@@ -1,37 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# lib/libc_psr/spec/sun4u-opl/Makefile.links
-
-include $(SRC)/Makefile.psm
-
-MODULE = abi
-
-#
-# links in /usr/platform
-#
-LINKED_PLATFORMS = SUNW,SPARC-Enterprise
-
-include $(SRC)/lib/libc_psr/spec/Makefile.com
diff --git a/usr/src/lib/libc_psr/spec/sun4u-opl/c_psr-sparc.spec b/usr/src/lib/libc_psr/spec/sun4u-opl/c_psr-sparc.spec
deleted file mode 100644
index ade9554bdc..0000000000
--- a/usr/src/lib/libc_psr/spec/sun4u-opl/c_psr-sparc.spec
+++ /dev/null
@@ -1,66 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libc_psr/spec/sun4u-opl/c_psr-sparc.spec
-
-function memcmp extends libc/spec/gen.spec
-arch sparc
-version SUNWprivate_1.1
-end
-
-function _memcmp extends libc/spec/private.spec
-arch sparc
-version SUNWprivate_1.1
-end
-
-function memcpy extends libc/spec/gen.spec
-arch sparc
-version SUNWprivate_1.1
-end
-
-function _memcpy extends libc/spec/private.spec
-arch sparc
-version SUNWprivate_1.1
-end
-
-function memmove extends libc/spec/gen.spec
-arch sparc
-version SUNWprivate_1.1
-end
-
-function _memmove extends libc/spec/private.spec
-arch sparc
-version SUNWprivate_1.1
-end
-
-function memset extends libc/spec/gen.spec
-arch sparc
-version SUNWprivate_1.1
-end
-
-function _memset extends libc/spec/private.spec
-arch sparc
-version SUNWprivate_1.1
-end
diff --git a/usr/src/lib/libc_psr/spec/sun4u-opl/c_psr-sparcv9.spec b/usr/src/lib/libc_psr/spec/sun4u-opl/c_psr-sparcv9.spec
deleted file mode 100644
index 07acdd7e66..0000000000
--- a/usr/src/lib/libc_psr/spec/sun4u-opl/c_psr-sparcv9.spec
+++ /dev/null
@@ -1,67 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libc_psr/spec/sun4u-opl/c_psr-sparcv9.spec
-
-function memcmp extends libc/spec/gen.spec
-arch sparcv9
-version SUNWprivate_1.1
-end
-
-function _memcmp extends libc/spec/private.spec
-arch sparcv9
-version SUNWprivate_1.1
-end
-
-function memcpy extends libc/spec/gen.spec
-arch sparcv9
-version SUNWprivate_1.1
-end
-
-function _memcpy extends libc/spec/private.spec
-arch sparcv9
-version SUNWprivate_1.1
-end
-
-function memmove extends libc/spec/gen.spec
-arch sparcv9
-version SUNWprivate_1.1
-end
-
-function _memmove extends libc/spec/private.spec
-arch sparcv9
-version SUNWprivate_1.1
-end
-
-function memset extends libc/spec/gen.spec
-arch sparcv9
-version SUNWprivate_1.1
-end
-
-function _memset extends libc/spec/private.spec
-arch sparcv9
-version SUNWprivate_1.1
-end
diff --git a/usr/src/lib/libc_psr/spec/sun4u-opl/sparc/Makefile b/usr/src/lib/libc_psr/spec/sun4u-opl/sparc/Makefile
deleted file mode 100644
index 5d45224c42..0000000000
--- a/usr/src/lib/libc_psr/spec/sun4u-opl/sparc/Makefile
+++ /dev/null
@@ -1,50 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libc_psr/spec/sun4u-opl/sparc/Makefile
-
-.KEEP_STATE:
-
-LIBRARY = libc_psr.a
-VERS = .1
-
-PLATFORM= sun4u-opl
-CLASS = 32
-
-OBJECTS = c_psr-$(MACH).o
-
-SPECVERS = -$(MACH)
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/libc_psr/spec/$(PLATFORM)/Makefile.links
-
-# Uncomment the following if the linker complains
-#sparc_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-include $(SRC)/lib/Makefile.spec.psm
-
-install:
diff --git a/usr/src/lib/libc_psr/spec/sun4u-opl/sparcv9/Makefile b/usr/src/lib/libc_psr/spec/sun4u-opl/sparcv9/Makefile
deleted file mode 100644
index 66d6473c41..0000000000
--- a/usr/src/lib/libc_psr/spec/sun4u-opl/sparcv9/Makefile
+++ /dev/null
@@ -1,50 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libc_psr/spec/sun4u-opl/sparcv9/Makefile
-
-.KEEP_STATE:
-
-LIBRARY = libc_psr.a
-VERS = .1
-
-PLATFORM= sun4u-opl
-CLASS = 64
-
-OBJECTS = c_psr-$(MACH64).o
-
-SPECVERS= -$(MACH64)
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-include $(SRC)/lib/libc_psr/spec/$(PLATFORM)/Makefile.links
-
-# Uncomment the following if the linker complains
-#sparcv9_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-include $(SRC)/lib/Makefile.spec.psm
-
-install:
diff --git a/usr/src/lib/libc_psr/spec/sun4u-opl/versions-sparc b/usr/src/lib/libc_psr/spec/sun4u-opl/versions-sparc
deleted file mode 100644
index 048669407d..0000000000
--- a/usr/src/lib/libc_psr/spec/sun4u-opl/versions-sparc
+++ /dev/null
@@ -1,31 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# vers file for libc_psr/sun4u-opl/sparc
-#
-sparc {
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/libc_psr/spec/sun4u-opl/versions-sparcv9 b/usr/src/lib/libc_psr/spec/sun4u-opl/versions-sparcv9
deleted file mode 100644
index 2c57d5f9db..0000000000
--- a/usr/src/lib/libc_psr/spec/sun4u-opl/versions-sparcv9
+++ /dev/null
@@ -1,30 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# vers file for libc_psr/sun4u-opl/sparcv9
-#
-sparcv9 {
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/libc_psr/spec/sun4u/Makefile b/usr/src/lib/libc_psr/spec/sun4u/Makefile
deleted file mode 100644
index 7574220b3c..0000000000
--- a/usr/src/lib/libc_psr/spec/sun4u/Makefile
+++ /dev/null
@@ -1,30 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 2000 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libc_psr/spec/sun4u/Makefile
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/libc_psr/spec/sun4u/Makefile.links b/usr/src/lib/libc_psr/spec/sun4u/Makefile.links
deleted file mode 100644
index b02b75f836..0000000000
--- a/usr/src/lib/libc_psr/spec/sun4u/Makefile.links
+++ /dev/null
@@ -1,49 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright 2002-2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# lib/libc_psr/spec/sun4u/Makefile.links
-
-include $(SRC)/Makefile.psm
-
-MODULE = abi
-
-#
-# links in /usr/platform
-#
-LINKED_PLATFORMS = SUNW,Ultra-2
-LINKED_PLATFORMS += SUNW,Ultra-4
-LINKED_PLATFORMS += SUNW,Ultra-250
-LINKED_PLATFORMS += SUNW,Ultra-Enterprise
-LINKED_PLATFORMS += SUNW,Ultra-Enterprise-10000
-LINKED_PLATFORMS += SUNW,UltraSPARC-IIi-Netract
-LINKED_PLATFORMS += SUNW,UltraSPARC-IIe-NetraCT-40
-LINKED_PLATFORMS += SUNW,UltraSPARC-IIe-NetraCT-60
-LINKED_PLATFORMS += SUNW,Sun-Blade-100
-LINKED_PLATFORMS += SUNW,Serverblade1
-LINKED_PLATFORMS += SUNW,Netra-CP2300
-
-include $(SRC)/lib/libc_psr/spec/Makefile.com
diff --git a/usr/src/lib/libc_psr/spec/sun4u/c_psr-sparc.spec b/usr/src/lib/libc_psr/spec/sun4u/c_psr-sparc.spec
deleted file mode 100644
index e787068a6c..0000000000
--- a/usr/src/lib/libc_psr/spec/sun4u/c_psr-sparc.spec
+++ /dev/null
@@ -1,67 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libc_psr/spec/sparc/c_psr-sun4u.spec
-
-function memcmp extends libc/spec/gen.spec
-arch sparc
-version SUNWprivate_1.1
-end
-
-function _memcmp extends libc/spec/private.spec
-arch sparc
-version SUNWprivate_1.1
-end
-
-function memcpy extends libc/spec/gen.spec
-arch sparc
-version SUNWprivate_1.1
-end
-
-function _memcpy extends libc/spec/private.spec
-arch sparc
-version SUNWprivate_1.1
-end
-
-function memmove extends libc/spec/gen.spec
-arch sparc
-version SUNWprivate_1.1
-end
-
-function _memmove extends libc/spec/private.spec
-arch sparc
-version SUNWprivate_1.1
-end
-
-function memset extends libc/spec/gen.spec
-arch sparc
-version SUNWprivate_1.1
-end
-
-function _memset extends libc/spec/private.spec
-arch sparc
-version SUNWprivate_1.1
-end
diff --git a/usr/src/lib/libc_psr/spec/sun4u/c_psr-sparcv9.spec b/usr/src/lib/libc_psr/spec/sun4u/c_psr-sparcv9.spec
deleted file mode 100644
index fd75d9801c..0000000000
--- a/usr/src/lib/libc_psr/spec/sun4u/c_psr-sparcv9.spec
+++ /dev/null
@@ -1,68 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libc_psr/spec/sparcv9/c_psr-sun4u.spec
-
-function memcmp extends libc/spec/gen.spec
-arch sparcv9
-version SUNWprivate_1.1
-end
-
-function _memcmp extends libc/spec/private.spec
-arch sparcv9
-version SUNWprivate_1.1
-end
-
-function memcpy extends libc/spec/gen.spec
-arch sparcv9
-version SUNWprivate_1.1
-end
-
-function _memcpy extends libc/spec/private.spec
-arch sparcv9
-version SUNWprivate_1.1
-end
-
-function memmove extends libc/spec/gen.spec
-arch sparcv9
-version SUNWprivate_1.1
-end
-
-function _memmove extends libc/spec/private.spec
-arch sparcv9
-version SUNWprivate_1.1
-end
-
-function memset extends libc/spec/gen.spec
-arch sparcv9
-version SUNWprivate_1.1
-end
-
-function _memset extends libc/spec/private.spec
-arch sparcv9
-version SUNWprivate_1.1
-end
-
diff --git a/usr/src/lib/libc_psr/spec/sun4u/sparc/Makefile b/usr/src/lib/libc_psr/spec/sun4u/sparc/Makefile
deleted file mode 100644
index c7aff51b85..0000000000
--- a/usr/src/lib/libc_psr/spec/sun4u/sparc/Makefile
+++ /dev/null
@@ -1,51 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libc_psr/spec/sun4u/sparc/Makefile
-
-.KEEP_STATE:
-
-LIBRARY = libc_psr.a
-VERS = .1
-
-PLATFORM= sun4u
-CLASS = 32
-
-OBJECTS = c_psr-sparc.o
-
-SPECVERS = -sparc
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/libc_psr/spec/$(PLATFORM)/Makefile.links
-
-# Uncomment the following if the linker complains
-#sparc_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-include $(SRC)/lib/Makefile.spec.psm
-
-install:
diff --git a/usr/src/lib/libc_psr/spec/sun4u/sparcv9/Makefile b/usr/src/lib/libc_psr/spec/sun4u/sparcv9/Makefile
deleted file mode 100644
index 1017c5c1b3..0000000000
--- a/usr/src/lib/libc_psr/spec/sun4u/sparcv9/Makefile
+++ /dev/null
@@ -1,52 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libc_psr/spec/sun4u/sparcv9/Makefile
-
-.KEEP_STATE:
-
-LIBRARY = libc_psr.a
-VERS = .1
-
-PLATFORM= sun4u
-CLASS = 64
-
-OBJECTS = c_psr-sparcv9.o
-
-SPECVERS= -sparcv9
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-include $(SRC)/lib/libc_psr/spec/$(PLATFORM)/Makefile.links
-
-# Uncomment the following if the linker complains
-#sparcv9_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-include $(SRC)/lib/Makefile.spec.psm
-
-install:
diff --git a/usr/src/lib/libc_psr/spec/sun4u/versions-sparc b/usr/src/lib/libc_psr/spec/sun4u/versions-sparc
deleted file mode 100644
index 7888d5d0f9..0000000000
--- a/usr/src/lib/libc_psr/spec/sun4u/versions-sparc
+++ /dev/null
@@ -1,31 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# vers file for libc_psr/sparc
-#
-sparc {
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/libc_psr/spec/sun4u/versions-sparcv9 b/usr/src/lib/libc_psr/spec/sun4u/versions-sparcv9
deleted file mode 100644
index e043b91286..0000000000
--- a/usr/src/lib/libc_psr/spec/sun4u/versions-sparcv9
+++ /dev/null
@@ -1,31 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# vers file for libc_psr/sparcv9
-#
-sparcv9 {
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/libc_psr/spec/sun4u_hwcap1/Makefile b/usr/src/lib/libc_psr/spec/sun4u_hwcap1/Makefile
deleted file mode 100644
index 5c5bc9173c..0000000000
--- a/usr/src/lib/libc_psr/spec/sun4u_hwcap1/Makefile
+++ /dev/null
@@ -1,31 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# usr/src/lib/libc_psr/spec/sun4u_hwcap1/Makefile
-
-include $(SRC)/lib/Makefile.spec.arch
-
diff --git a/usr/src/lib/libc_psr/spec/sun4u_hwcap1/Makefile.links b/usr/src/lib/libc_psr/spec/sun4u_hwcap1/Makefile.links
deleted file mode 100644
index ea6a6692e6..0000000000
--- a/usr/src/lib/libc_psr/spec/sun4u_hwcap1/Makefile.links
+++ /dev/null
@@ -1,57 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# usr/src/lib/libc_psr/spec/sun4u_hwcap1/Makefile.links
-
-include $(SRC)/Makefile.psm
-
-MODULE = abi
-
-#
-# links in /usr/platform
-#
-LINKED_PLATFORMS = SUNW,Sun-Blade-1000
-LINKED_PLATFORMS += SUNW,Sun-Blade-1500
-LINKED_PLATFORMS += SUNW,Sun-Blade-2500
-LINKED_PLATFORMS += SUNW,A70
-LINKED_PLATFORMS += SUNW,Sun-Fire-V445
-LINKED_PLATFORMS += SUNW,Sun-Fire-V215
-LINKED_PLATFORMS += SUNW,Sun-Fire
-LINKED_PLATFORMS += SUNW,Sun-Fire-V240
-LINKED_PLATFORMS += SUNW,Sun-Fire-V250
-LINKED_PLATFORMS += SUNW,Sun-Fire-V440
-LINKED_PLATFORMS += SUNW,Sun-Fire-280R
-LINKED_PLATFORMS += SUNW,Sun-Fire-15000
-LINKED_PLATFORMS += SUNW,Sun-Fire-880
-LINKED_PLATFORMS += SUNW,Sun-Fire-480R
-LINKED_PLATFORMS += SUNW,Sun-Fire-V890
-LINKED_PLATFORMS += SUNW,Sun-Fire-V490
-LINKED_PLATFORMS += SUNW,Netra-T12
-LINKED_PLATFORMS += SUNW,Netra-T4
-LINKED_PLATFORMS += SUNW,Netra-CP3010
-
-include $(SRC)/lib/libc_psr/spec/Makefile.com
diff --git a/usr/src/lib/libc_psr/spec/sun4u_hwcap1/c_psr-sparc.spec b/usr/src/lib/libc_psr/spec/sun4u_hwcap1/c_psr-sparc.spec
deleted file mode 100644
index 28f9858822..0000000000
--- a/usr/src/lib/libc_psr/spec/sun4u_hwcap1/c_psr-sparc.spec
+++ /dev/null
@@ -1,67 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# usr/src/lib/libc_psr/spec/sun4u_hwcap1/c_psr-sparc.spec
-
-function memcmp extends libc/spec/gen.spec
-arch sparc
-version SUNWprivate_1.1
-end
-
-function _memcmp extends libc/spec/private.spec
-arch sparc
-version SUNWprivate_1.1
-end
-
-function memcpy extends libc/spec/gen.spec
-arch sparc
-version SUNWprivate_1.1
-end
-
-function _memcpy extends libc/spec/private.spec
-arch sparc
-version SUNWprivate_1.1
-end
-
-function memmove extends libc/spec/gen.spec
-arch sparc
-version SUNWprivate_1.1
-end
-
-function _memmove extends libc/spec/private.spec
-arch sparc
-version SUNWprivate_1.1
-end
-
-function memset extends libc/spec/gen.spec
-arch sparc
-version SUNWprivate_1.1
-end
-
-function _memset extends libc/spec/private.spec
-arch sparc
-version SUNWprivate_1.1
-end
diff --git a/usr/src/lib/libc_psr/spec/sun4u_hwcap1/c_psr-sparcv9.spec b/usr/src/lib/libc_psr/spec/sun4u_hwcap1/c_psr-sparcv9.spec
deleted file mode 100644
index b38dd1ce0a..0000000000
--- a/usr/src/lib/libc_psr/spec/sun4u_hwcap1/c_psr-sparcv9.spec
+++ /dev/null
@@ -1,67 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# usr/src/lib/libc_psr/spec/sun4u_hwcap1/c_psr-sparcv9.spec
-
-function memcmp extends libc/spec/gen.spec
-arch sparcv9
-version SUNWprivate_1.1
-end
-
-function _memcmp extends libc/spec/private.spec
-arch sparcv9
-version SUNWprivate_1.1
-end
-
-function memcpy extends libc/spec/gen.spec
-arch sparcv9
-version SUNWprivate_1.1
-end
-
-function _memcpy extends libc/spec/private.spec
-arch sparcv9
-version SUNWprivate_1.1
-end
-
-function memmove extends libc/spec/gen.spec
-arch sparcv9
-version SUNWprivate_1.1
-end
-
-function _memmove extends libc/spec/private.spec
-arch sparcv9
-version SUNWprivate_1.1
-end
-
-function memset extends libc/spec/gen.spec
-arch sparcv9
-version SUNWprivate_1.1
-end
-
-function _memset extends libc/spec/private.spec
-arch sparcv9
-version SUNWprivate_1.1
-end
diff --git a/usr/src/lib/libc_psr/spec/sun4u_hwcap1/sparc/Makefile b/usr/src/lib/libc_psr/spec/sun4u_hwcap1/sparc/Makefile
deleted file mode 100644
index e2f7604be8..0000000000
--- a/usr/src/lib/libc_psr/spec/sun4u_hwcap1/sparc/Makefile
+++ /dev/null
@@ -1,52 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# usr/src/lib/libc_psr/spec/sun4u_hwcap1/sparc/Makefile
-
-.KEEP_STATE:
-
-LIBRARY = libc_psr_hwcap1.a
-VERS = .1
-
-PLATFORM= sun4u-us3
-ALT_PLAT= sun4u_hwcap1
-CLASS = 32
-
-OBJECTS = c_psr-$(MACH).o
-
-SPECVERS = -$(MACH)
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/libc_psr/spec/$(ALT_PLAT)/Makefile.links
-
-# Uncomment the following if the linker complains
-#sparc_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-include $(SRC)/lib/Makefile.spec.psm
-
-install:
diff --git a/usr/src/lib/libc_psr/spec/sun4u_hwcap1/sparcv9/Makefile b/usr/src/lib/libc_psr/spec/sun4u_hwcap1/sparcv9/Makefile
deleted file mode 100644
index b8a42bd57f..0000000000
--- a/usr/src/lib/libc_psr/spec/sun4u_hwcap1/sparcv9/Makefile
+++ /dev/null
@@ -1,53 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# usr/src/lib/libc_psr/spec/sun4u_hwcap1/sparcv9/Makefile
-
-.KEEP_STATE:
-
-LIBRARY = libc_psr_hwcap1.a
-VERS = .1
-
-PLATFORM= sun4u-us3
-ALT_PLAT= sun4u_hwcap1
-CLASS = 64
-
-OBJECTS = c_psr-$(MACH64).o
-
-SPECVERS= -$(MACH64)
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-include $(SRC)/lib/libc_psr/spec/$(ALT_PLAT)/Makefile.links
-
-# Uncomment the following if the linker complains
-#sparcv9_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-include $(SRC)/lib/Makefile.spec.psm
-
-install:
diff --git a/usr/src/lib/libc_psr/spec/sun4u_hwcap1/versions-sparc b/usr/src/lib/libc_psr/spec/sun4u_hwcap1/versions-sparc
deleted file mode 100644
index 63f2180b6f..0000000000
--- a/usr/src/lib/libc_psr/spec/sun4u_hwcap1/versions-sparc
+++ /dev/null
@@ -1,31 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# vers file for usr/src/lib/libc_psr/sun4u_hwcap1/sparc
-#
-sparc {
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/libc_psr/spec/sun4u_hwcap1/versions-sparcv9 b/usr/src/lib/libc_psr/spec/sun4u_hwcap1/versions-sparcv9
deleted file mode 100644
index 8f68e4b07e..0000000000
--- a/usr/src/lib/libc_psr/spec/sun4u_hwcap1/versions-sparcv9
+++ /dev/null
@@ -1,31 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# vers file for usr/src/lib/libc_psr/sun4u_hwcap1/sparcv9
-#
-sparcv9 {
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/libc_psr/spec/sun4u_hwcap2/Makefile b/usr/src/lib/libc_psr/spec/sun4u_hwcap2/Makefile
deleted file mode 100644
index 3ef7a89c14..0000000000
--- a/usr/src/lib/libc_psr/spec/sun4u_hwcap2/Makefile
+++ /dev/null
@@ -1,31 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# usr/src/lib/libc_psr/spec/sun4u_hwcap2/Makefile
-
-include $(SRC)/lib/Makefile.spec.arch
-
diff --git a/usr/src/lib/libc_psr/spec/sun4u_hwcap2/Makefile.links b/usr/src/lib/libc_psr/spec/sun4u_hwcap2/Makefile.links
deleted file mode 100644
index b64f666163..0000000000
--- a/usr/src/lib/libc_psr/spec/sun4u_hwcap2/Makefile.links
+++ /dev/null
@@ -1,57 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# usr/src/lib/libc_psr/spec/sun4u_hwcap2/Makefile.links
-
-include $(SRC)/Makefile.psm
-
-MODULE = abi
-
-#
-# links in /usr/platform
-#
-LINKED_PLATFORMS = SUNW,Sun-Blade-1000
-LINKED_PLATFORMS += SUNW,Sun-Blade-1500
-LINKED_PLATFORMS += SUNW,Sun-Blade-2500
-LINKED_PLATFORMS += SUNW,A70
-LINKED_PLATFORMS += SUNW,Sun-Fire
-LINKED_PLATFORMS += SUNW,Sun-Fire-V240
-LINKED_PLATFORMS += SUNW,Sun-Fire-V250
-LINKED_PLATFORMS += SUNW,Sun-Fire-V440
-LINKED_PLATFORMS += SUNW,Sun-Fire-280R
-LINKED_PLATFORMS += SUNW,Sun-Fire-15000
-LINKED_PLATFORMS += SUNW,Sun-Fire-880
-LINKED_PLATFORMS += SUNW,Sun-Fire-480R
-LINKED_PLATFORMS += SUNW,Sun-Fire-V890
-LINKED_PLATFORMS += SUNW,Sun-Fire-V490
-LINKED_PLATFORMS += SUNW,Sun-Fire-V445
-LINKED_PLATFORMS += SUNW,Sun-Fire-V215
-LINKED_PLATFORMS += SUNW,Netra-CP3010
-LINKED_PLATFORMS += SUNW,Netra-T12
-LINKED_PLATFORMS += SUNW,Netra-T4
-
-include $(SRC)/lib/libc_psr/spec/Makefile.com
diff --git a/usr/src/lib/libc_psr/spec/sun4u_hwcap2/c_psr-sparc.spec b/usr/src/lib/libc_psr/spec/sun4u_hwcap2/c_psr-sparc.spec
deleted file mode 100644
index 8293f690d6..0000000000
--- a/usr/src/lib/libc_psr/spec/sun4u_hwcap2/c_psr-sparc.spec
+++ /dev/null
@@ -1,67 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# usr/src/lib/libc_psr/spec/sun4u_hwcap2/c_psr-sparc.spec
-
-function memcmp extends libc/spec/gen.spec
-arch sparc
-version SUNWprivate_1.1
-end
-
-function _memcmp extends libc/spec/private.spec
-arch sparc
-version SUNWprivate_1.1
-end
-
-function memcpy extends libc/spec/gen.spec
-arch sparc
-version SUNWprivate_1.1
-end
-
-function _memcpy extends libc/spec/private.spec
-arch sparc
-version SUNWprivate_1.1
-end
-
-function memmove extends libc/spec/gen.spec
-arch sparc
-version SUNWprivate_1.1
-end
-
-function _memmove extends libc/spec/private.spec
-arch sparc
-version SUNWprivate_1.1
-end
-
-function memset extends libc/spec/gen.spec
-arch sparc
-version SUNWprivate_1.1
-end
-
-function _memset extends libc/spec/private.spec
-arch sparc
-version SUNWprivate_1.1
-end
diff --git a/usr/src/lib/libc_psr/spec/sun4u_hwcap2/c_psr-sparcv9.spec b/usr/src/lib/libc_psr/spec/sun4u_hwcap2/c_psr-sparcv9.spec
deleted file mode 100644
index b8ae6ef46b..0000000000
--- a/usr/src/lib/libc_psr/spec/sun4u_hwcap2/c_psr-sparcv9.spec
+++ /dev/null
@@ -1,67 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# usr/src/lib/libc_psr/spec/sun4u_hwcap2/c_psr-sparcv9.spec
-
-function memcmp extends libc/spec/gen.spec
-arch sparcv9
-version SUNWprivate_1.1
-end
-
-function _memcmp extends libc/spec/private.spec
-arch sparcv9
-version SUNWprivate_1.1
-end
-
-function memcpy extends libc/spec/gen.spec
-arch sparcv9
-version SUNWprivate_1.1
-end
-
-function _memcpy extends libc/spec/private.spec
-arch sparcv9
-version SUNWprivate_1.1
-end
-
-function memmove extends libc/spec/gen.spec
-arch sparcv9
-version SUNWprivate_1.1
-end
-
-function _memmove extends libc/spec/private.spec
-arch sparcv9
-version SUNWprivate_1.1
-end
-
-function memset extends libc/spec/gen.spec
-arch sparcv9
-version SUNWprivate_1.1
-end
-
-function _memset extends libc/spec/private.spec
-arch sparcv9
-version SUNWprivate_1.1
-end
diff --git a/usr/src/lib/libc_psr/spec/sun4u_hwcap2/sparc/Makefile b/usr/src/lib/libc_psr/spec/sun4u_hwcap2/sparc/Makefile
deleted file mode 100644
index 98b294d11b..0000000000
--- a/usr/src/lib/libc_psr/spec/sun4u_hwcap2/sparc/Makefile
+++ /dev/null
@@ -1,52 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# usr/src/lib/libc_psr/spec/sun4u_hwcap2/sparc/Makefile
-
-.KEEP_STATE:
-
-LIBRARY = libc_psr_hwcap2.a
-VERS = .1
-
-PLATFORM= sun4u-us3
-ALT_PLAT= sun4u_hwcap2
-CLASS = 32
-
-OBJECTS = c_psr-$(MACH).o
-
-SPECVERS = -$(MACH)
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/libc_psr/spec/$(ALT_PLAT)/Makefile.links
-
-# Uncomment the following if the linker complains
-#sparc_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-include $(SRC)/lib/Makefile.spec.psm
-
-install:
diff --git a/usr/src/lib/libc_psr/spec/sun4u_hwcap2/sparcv9/Makefile b/usr/src/lib/libc_psr/spec/sun4u_hwcap2/sparcv9/Makefile
deleted file mode 100644
index 03b98cb12e..0000000000
--- a/usr/src/lib/libc_psr/spec/sun4u_hwcap2/sparcv9/Makefile
+++ /dev/null
@@ -1,53 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# usr/src/lib/libc_psr/spec/sun4u_hwcap2/sparcv9/Makefile
-
-.KEEP_STATE:
-
-LIBRARY = libc_psr_hwcap2.a
-VERS = .1
-
-PLATFORM= sun4u-us3
-ALT_PLAT= sun4u_hwcap2
-CLASS = 64
-
-OBJECTS = c_psr-$(MACH64).o
-
-SPECVERS= -$(MACH64)
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-include $(SRC)/lib/libc_psr/spec/$(ALT_PLAT)/Makefile.links
-
-# Uncomment the following if the linker complains
-#sparcv9_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-include $(SRC)/lib/Makefile.spec.psm
-
-install:
diff --git a/usr/src/lib/libc_psr/spec/sun4u_hwcap2/versions-sparc b/usr/src/lib/libc_psr/spec/sun4u_hwcap2/versions-sparc
deleted file mode 100644
index f3e88dd71c..0000000000
--- a/usr/src/lib/libc_psr/spec/sun4u_hwcap2/versions-sparc
+++ /dev/null
@@ -1,31 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# vers file for usr/src/lib/libc_psr/sun4u_hwcap2/sparc
-#
-sparc {
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/libc_psr/spec/sun4u_hwcap2/versions-sparcv9 b/usr/src/lib/libc_psr/spec/sun4u_hwcap2/versions-sparcv9
deleted file mode 100644
index 36cda0d75d..0000000000
--- a/usr/src/lib/libc_psr/spec/sun4u_hwcap2/versions-sparcv9
+++ /dev/null
@@ -1,31 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# vers file for usr/src/lib/libc_psr/sun4u_hwcap2/sparcv9
-#
-sparcv9 {
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/libc_psr/spec/sun4v_hwcap1/Makefile b/usr/src/lib/libc_psr/spec/sun4v_hwcap1/Makefile
deleted file mode 100644
index 6f8b0d5878..0000000000
--- a/usr/src/lib/libc_psr/spec/sun4v_hwcap1/Makefile
+++ /dev/null
@@ -1,30 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# lib/libc_psr/spec/sun4v_hwcap1/Makefile
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/libc_psr/spec/sun4v_hwcap1/Makefile.links b/usr/src/lib/libc_psr/spec/sun4v_hwcap1/Makefile.links
deleted file mode 100644
index da6d5a2c7d..0000000000
--- a/usr/src/lib/libc_psr/spec/sun4v_hwcap1/Makefile.links
+++ /dev/null
@@ -1,34 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# lib/libc_psr/spec/sun4v_hwcap1/Makefile.links
-
-include $(SRC)/Makefile.psm
-
-MODULE = abi
-
-include $(SRC)/lib/libc_psr/spec/Makefile.com
diff --git a/usr/src/lib/libc_psr/spec/sun4v_hwcap1/c_psr-sparc.spec b/usr/src/lib/libc_psr/spec/sun4v_hwcap1/c_psr-sparc.spec
deleted file mode 100644
index 1464388a8a..0000000000
--- a/usr/src/lib/libc_psr/spec/sun4v_hwcap1/c_psr-sparc.spec
+++ /dev/null
@@ -1,58 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libc_psr/spec/sun4v_hwcap1/c_psr-sun4u.spec
-
-function memcpy extends libc/spec/gen.spec
-arch sparc
-version SUNWprivate_1.1
-end
-
-function _memcpy extends libc/spec/private.spec
-arch sparc
-version SUNWprivate_1.1
-end
-
-function memmove extends libc/spec/gen.spec
-arch sparc
-version SUNWprivate_1.1
-end
-
-function _memmove extends libc/spec/private.spec
-arch sparc
-version SUNWprivate_1.1
-end
-
-function memset extends libc/spec/gen.spec
-arch sparc
-version SUNWprivate_1.1
-end
-
-function _memset extends libc/spec/private.spec
-arch sparc
-version SUNWprivate_1.1
-end
-
diff --git a/usr/src/lib/libc_psr/spec/sun4v_hwcap1/c_psr-sparcv9.spec b/usr/src/lib/libc_psr/spec/sun4v_hwcap1/c_psr-sparcv9.spec
deleted file mode 100644
index 8c3e583ce0..0000000000
--- a/usr/src/lib/libc_psr/spec/sun4v_hwcap1/c_psr-sparcv9.spec
+++ /dev/null
@@ -1,58 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libc_psr/spec/sun4v_hwcap1/c_psr-sun4u.spec
-
-function memcpy extends libc/spec/gen.spec
-arch sparcv9
-version SUNWprivate_1.1
-end
-
-function _memcpy extends libc/spec/private.spec
-arch sparcv9
-version SUNWprivate_1.1
-end
-
-function memmove extends libc/spec/gen.spec
-arch sparcv9
-version SUNWprivate_1.1
-end
-
-function _memmove extends libc/spec/private.spec
-arch sparcv9
-version SUNWprivate_1.1
-end
-
-function memset extends libc/spec/gen.spec
-arch sparcv9
-version SUNWprivate_1.1
-end
-
-function _memset extends libc/spec/private.spec
-arch sparcv9
-version SUNWprivate_1.1
-end
-
diff --git a/usr/src/lib/libc_psr/spec/sun4v_hwcap1/sparc/Makefile b/usr/src/lib/libc_psr/spec/sun4v_hwcap1/sparc/Makefile
deleted file mode 100644
index 270ef54090..0000000000
--- a/usr/src/lib/libc_psr/spec/sun4v_hwcap1/sparc/Makefile
+++ /dev/null
@@ -1,52 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libc_psr/spec/sun4v_hwcap1/sparc/Makefile
-
-.KEEP_STATE:
-
-LIBRARY = libc_psr_hwcap1.a
-VERS = .1
-
-PLATFORM= sun4v
-ALT_PLAT= sun4v_hwcap1
-CLASS = 32
-
-OBJECTS = c_psr-$(MACH).o
-
-SPECVERS = -$(MACH)
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/libc_psr/spec/$(ALT_PLAT)/Makefile.links
-
-# Uncomment the following if the linker complains
-#sparc_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-include $(SRC)/lib/Makefile.spec.psm
-
-install:
diff --git a/usr/src/lib/libc_psr/spec/sun4v_hwcap1/sparcv9/Makefile b/usr/src/lib/libc_psr/spec/sun4v_hwcap1/sparcv9/Makefile
deleted file mode 100644
index e2d7b7f570..0000000000
--- a/usr/src/lib/libc_psr/spec/sun4v_hwcap1/sparcv9/Makefile
+++ /dev/null
@@ -1,53 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libc_psr/spec/sun4v_hwcap1/sparcv9/Makefile
-
-.KEEP_STATE:
-
-LIBRARY = libc_psr_hwcap1.a
-VERS = .1
-
-PLATFORM= sun4v
-ALT_PLAT= sun4v_hwcap1
-CLASS = 64
-
-OBJECTS = c_psr-$(MACH64).o
-
-SPECVERS= -$(MACH64)
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-include $(SRC)/lib/libc_psr/spec/$(ALT_PLAT)/Makefile.links
-
-# Uncomment the following if the linker complains
-#sparcv9_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-include $(SRC)/lib/Makefile.spec.psm
-
-install:
diff --git a/usr/src/lib/libc_psr/spec/sun4v_hwcap1/versions-sparc b/usr/src/lib/libc_psr/spec/sun4v_hwcap1/versions-sparc
deleted file mode 100644
index d8e71fe28b..0000000000
--- a/usr/src/lib/libc_psr/spec/sun4v_hwcap1/versions-sparc
+++ /dev/null
@@ -1,31 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# vers file for libc_psr/sun4v_hwcap1/sparc
-#
-sparc {
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/libc_psr/spec/sun4v_hwcap1/versions-sparcv9 b/usr/src/lib/libc_psr/spec/sun4v_hwcap1/versions-sparcv9
deleted file mode 100644
index 7d8c1d24f1..0000000000
--- a/usr/src/lib/libc_psr/spec/sun4v_hwcap1/versions-sparcv9
+++ /dev/null
@@ -1,31 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# vers file for libc_psr/sun4v_hwcap1/sparcv9
-#
-sparcv9 {
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/libc_psr/sun4u-opl/Makefile b/usr/src/lib/libc_psr/sun4u-opl/Makefile
index b114f86ba0..afe82538d2 100644
--- a/usr/src/lib/libc_psr/sun4u-opl/Makefile
+++ b/usr/src/lib/libc_psr/sun4u-opl/Makefile
@@ -24,8 +24,6 @@
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libc_psr/sun4u-opl/Makefile
-#
include $(SRC)/lib/Makefile.lib
include $(SRC)/Makefile.psm
@@ -72,14 +70,11 @@ $(LIBC_PSR64_LINKS): $(LIBC_PSR64_DIRS)
lint:
@ $(ECHO) "Nothing to lint here: skipping"
-lib32: spec .WAIT $(SUBDIRS)
+lib32: $(SUBDIRS)
lib64: $(SUBDIRS64)
$(SUBDIRS) $(SUBDIRS64): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
-spec: FRC
- @cd ../spec/$(PLATFORM); pwd; $(MAKE) $(TARGET)
-
FRC:
diff --git a/usr/src/lib/libc_psr/sun4u-opl/sparc/Makefile b/usr/src/lib/libc_psr/sun4u-opl/sparc/Makefile
index eebe2596fe..39a6c4a39f 100644
--- a/usr/src/lib/libc_psr/sun4u-opl/sparc/Makefile
+++ b/usr/src/lib/libc_psr/sun4u-opl/sparc/Makefile
@@ -24,8 +24,11 @@
#
# ident "%Z%%M% %I% %E% SMI"
#
+
+#
# Platform specific Makefile for libc_psr.
#
+
PLATFORM = sun4u-opl
COMPAT_PLAT = sun4u-us3
CLASS = 32
@@ -34,12 +37,8 @@ OBJECTS = memcpy.o memset.o memcmp.o
include ../Makefile.com
-MAPDIR= ../../spec/$(PLATFORM)/$(MACH)
-MAPFILE= $(MAPDIR)/mapfile-$(MACH)
-MAPFILES= $(MAPFILE) $(MAPFILE-FLTR)
-MAPOPTS= $(MAPFILES:%=-M %)
-DYNFLAGS += $(MAPOPTS)
-CLOBBERFILES += $(MAPFILE)
+MAPFILES = ../../sun4u/mapfile-vers $(MAPFILE-FLTR)
+
ASFLAGS += -xarch=v8plusb
# Redefine shared object build rule to use $(LD) directly (this avoids .init
@@ -47,11 +46,6 @@ ASFLAGS += -xarch=v8plusb
BUILD.SO= $(LD) -o $@ -G $(DYNFLAGS) $(PICS) $(LDLIBS)
-$(DYNLIB): $(MAPFILES)
-
-$(MAPFILE):
- @cd $(MAPDIR); $(MAKE) `basename $@`
-
.KEEP_STATE:
MODULE = libc_psr.so.1
diff --git a/usr/src/lib/libc_psr/sun4u-opl/sparcv9/Makefile b/usr/src/lib/libc_psr/sun4u-opl/sparcv9/Makefile
index 2288434a56..9a5173690f 100644
--- a/usr/src/lib/libc_psr/sun4u-opl/sparcv9/Makefile
+++ b/usr/src/lib/libc_psr/sun4u-opl/sparcv9/Makefile
@@ -24,8 +24,11 @@
#
# ident "%Z%%M% %I% %E% SMI"
#
+
+#
# Platform specific Makefile for libc_psr.
#
+
PLATFORM = sun4u-opl
COMPAT_PLAT = sun4u-us3
CLASS = 64
@@ -34,12 +37,7 @@ OBJECTS = memcpy.o memset.o memcmp.o
include ../Makefile.com
-MAPDIR= ../../spec/$(PLATFORM)/$(MACH64)
-MAPFILE= $(MAPDIR)/mapfile-$(MACH64)
-MAPFILES= $(MAPFILE) $(MAPFILE-FLTR)
-MAPOPTS= $(MAPFILES:%=-M %)
-DYNFLAGS += $(MAPOPTS)
-CLOBBERFILES += $(MAPFILE)
+MAPFILES = ../../sun4u/mapfile-vers $(MAPFILE-FLTR)
ASDEFS += -D__sparcv9
ASFLAGS += -xarch=v9b
@@ -51,11 +49,6 @@ include $(SRC)/Makefile.master.64
BUILD.SO= $(LD) -o $@ -G $(DYNFLAGS) $(PICS) $(LDLIBS)
-$(DYNLIB): $(MAPFILES)
-
-$(MAPFILE):
- @cd $(MAPDIR); $(MAKE) `basename $@`
-
.KEEP_STATE:
MODULE = libc_psr.so.1
diff --git a/usr/src/lib/libc_psr/sun4u-us3/Makefile b/usr/src/lib/libc_psr/sun4u-us3/Makefile
index 8fe919b98b..73b94e840c 100644
--- a/usr/src/lib/libc_psr/sun4u-us3/Makefile
+++ b/usr/src/lib/libc_psr/sun4u-us3/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -23,9 +22,7 @@
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# usr/src/lib/libc_psr/sun4u-us3/Makefile
+# ident "%Z%%M% %I% %E% SMI"
#
include $(SRC)/lib/Makefile.lib
@@ -103,4 +100,7 @@ install: all $(ROOT_PSM_LIB_DIR)/$(MODULE) $(ROOT_PSM_LIB64_DIR)/$(MODULE) $(LIB
clean clobber : FRC
$(RM) $(MODULE)
+lint:
+ @ $(ECHO) "Nothing to lint here: skipping"
+
FRC:
diff --git a/usr/src/lib/libc_psr/sun4u/Makefile b/usr/src/lib/libc_psr/sun4u/Makefile
index 5ee29e2a5a..05f1d1ad94 100644
--- a/usr/src/lib/libc_psr/sun4u/Makefile
+++ b/usr/src/lib/libc_psr/sun4u/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,13 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libc_psr/sun4u/Makefile
-#
include ../../Makefile.lib
@@ -48,14 +45,11 @@ all install clean clobber : lib32 \
lint:
@ $(ECHO) "Nothing to lint here: skipping"
-lib32: spec .WAIT $(SUBDIRS)
+lib32: $(SUBDIRS)
lib64: $(SUBDIRS64)
$(SUBDIRS) $(SUBDIRS64): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
-spec: FRC
- @cd ../spec/$(PLATFORM); pwd; $(MAKE) $(TARGET)
-
FRC:
diff --git a/usr/src/lib/libc_psr/sun4u/mapfile-vers b/usr/src/lib/libc_psr/sun4u/mapfile-vers
new file mode 100644
index 0000000000..e59728b178
--- /dev/null
+++ b/usr/src/lib/libc_psr/sun4u/mapfile-vers
@@ -0,0 +1,40 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNWprivate_1.1 {
+ global:
+ memcmp;
+ _memcmp;
+ memcpy;
+ _memcpy;
+ memmove;
+ _memmove;
+ memset;
+ _memset;
+ local:
+ *;
+};
diff --git a/usr/src/lib/libc_psr/sun4u/sparc/Makefile b/usr/src/lib/libc_psr/sun4u/sparc/Makefile
index 502818d8bf..6ad52d1151 100644
--- a/usr/src/lib/libc_psr/sun4u/sparc/Makefile
+++ b/usr/src/lib/libc_psr/sun4u/sparc/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,11 +19,13 @@
# CDDL HEADER END
#
#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
+
+#
# Platform specific Makefile for libc_psr.
#
@@ -35,12 +36,7 @@ OBJECTS = memcpy.o memset.o memcmp.o
include ../Makefile.com
-MAPDIR= ../../spec/$(PLATFORM)/$(MACH)
-MAPFILE= $(MAPDIR)/mapfile-$(MACH)
-MAPFILES= $(MAPFILE) $(MAPFILE-FLTR)
-MAPOPTS= $(MAPFILES:%=-M %)
-DYNFLAGS += $(MAPOPTS)
-CLOBBERFILES += $(MAPFILE)
+MAPFILES = ../../sun4u/mapfile-vers $(MAPFILE-FLTR)
ASFLAGS += -xarch=v8plusa -warn
@@ -49,11 +45,6 @@ ASFLAGS += -xarch=v8plusa -warn
BUILD.SO= $(LD) -o $@ -G $(DYNFLAGS) $(PICS) $(LDLIBS)
-$(DYNLIB): $(MAPFILES)
-
-$(MAPFILE):
- @cd $(MAPDIR); $(MAKE) `basename $@`
-
.KEEP_STATE:
MODULE = libc_psr.so.1
diff --git a/usr/src/lib/libc_psr/sun4u/sparcv9/Makefile b/usr/src/lib/libc_psr/sun4u/sparcv9/Makefile
index 2f95607f9f..1322d7d13f 100644
--- a/usr/src/lib/libc_psr/sun4u/sparcv9/Makefile
+++ b/usr/src/lib/libc_psr/sun4u/sparcv9/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,11 +19,13 @@
# CDDL HEADER END
#
#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
+
+#
# Platform specific Makefile for libc_psr.
#
@@ -35,12 +36,7 @@ OBJECTS = memcpy.o memset.o memcmp.o
include ../Makefile.com
-MAPDIR= ../../spec/$(PLATFORM)/$(MACH64)
-MAPFILE= $(MAPDIR)/mapfile-$(MACH64)
-MAPFILES= $(MAPFILE) $(MAPFILE-FLTR)
-MAPOPTS= $(MAPFILES:%=-M %)
-DYNFLAGS += $(MAPOPTS)
-CLOBBERFILES += $(MAPFILE)
+MAPFILES = ../../sun4u/mapfile-vers $(MAPFILE-FLTR)
ASDEFS += -D__sparcv9
ASFLAGS += -xarch=v9a
@@ -52,11 +48,6 @@ include $(SRC)/Makefile.master.64
BUILD.SO= $(LD) -o $@ -G $(DYNFLAGS) $(PICS) $(LDLIBS)
-$(DYNLIB): $(MAPFILES)
-
-$(MAPFILE):
- @cd $(MAPDIR); $(MAKE) `basename $@`
-
.KEEP_STATE:
MODULE = libc_psr.so.1
diff --git a/usr/src/lib/libc_psr/sun4u_hwcap1/Makefile b/usr/src/lib/libc_psr/sun4u_hwcap1/Makefile
index 52dd751f6a..90ff898954 100644
--- a/usr/src/lib/libc_psr/sun4u_hwcap1/Makefile
+++ b/usr/src/lib/libc_psr/sun4u_hwcap1/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,12 +19,10 @@
# CDDL HEADER END
#
#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# usr/src/lib/libc_psr/sun4u_hwcap1/Makefile
+# ident "%Z%%M% %I% %E% SMI"
#
include ../../Makefile.lib
@@ -49,14 +46,11 @@ all install clean clobber : lib32 \
lint:
@ $(ECHO) "Nothing to lint here: skipping"
-lib32: spec .WAIT $(SUBDIRS)
+lib32: $(SUBDIRS)
lib64: $(SUBDIRS64)
$(SUBDIRS) $(SUBDIRS64): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
-spec: FRC
- @cd ../spec/$(ALT_PLAT); pwd; $(MAKE) $(TARGET)
-
FRC:
diff --git a/usr/src/lib/libc_psr/sun4u_hwcap1/sparc/Makefile b/usr/src/lib/libc_psr/sun4u_hwcap1/sparc/Makefile
index 0ff422f890..960154a17c 100644
--- a/usr/src/lib/libc_psr/sun4u_hwcap1/sparc/Makefile
+++ b/usr/src/lib/libc_psr/sun4u_hwcap1/sparc/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,13 +19,16 @@
# CDDL HEADER END
#
#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#pragam ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
+#
+
#
# Platform specific Makefile for libc_psr_hwcap1.
#
+
PLATFORM = sun4u-us3
ALT_PLAT = sun4u_hwcap1
COMPAT_PLAT = sun4u
@@ -36,13 +38,8 @@ OBJECTS = memcpy.o memset.o memcmp.o
include ../Makefile.com
-MAPDIR= ../../spec/$(ALT_PLAT)/$(MACH)
-MAPFILE= $(MAPDIR)/mapfile-$(MACH)
+MAPFILES = ../../sun4u/mapfile-vers $(MAPFILE-FLTR)
-MAPFILES= $(MAPFILE) $(MAPFILE-FLTR)
-MAPOPTS= $(MAPFILES:%=-M %)
-DYNFLAGS += $(MAPOPTS)
-CLOBBERFILES += $(MAPFILE)
ASFLAGS += -xarch=v8plusb
# Redefine shared object build rule to use $(LD) directly (this avoids .init
@@ -50,11 +47,6 @@ ASFLAGS += -xarch=v8plusb
BUILD.SO= $(LD) -o $@ -G $(DYNFLAGS) $(PICS) $(LDLIBS)
-$(DYNLIB): $(MAPFILES)
-
-$(MAPFILE):
- @cd $(MAPDIR); $(MAKE) `basename $@`
-
.KEEP_STATE:
MODULE = libc_psr_hwcap1.so.1
diff --git a/usr/src/lib/libc_psr/sun4u_hwcap1/sparcv9/Makefile b/usr/src/lib/libc_psr/sun4u_hwcap1/sparcv9/Makefile
index 6a331d3641..fbd5cf74d5 100644
--- a/usr/src/lib/libc_psr/sun4u_hwcap1/sparcv9/Makefile
+++ b/usr/src/lib/libc_psr/sun4u_hwcap1/sparcv9/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,13 +19,16 @@
# CDDL HEADER END
#
#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#pragma ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
+#
+
#
# Platform specific Makefile for libc_psr_hwcap1.
#
+
PLATFORM = sun4u-us3
ALT_PLAT = sun4u_hwcap1
COMPAT_PLAT = sun4u
@@ -36,13 +38,7 @@ OBJECTS = memcpy.o memset.o memcmp.o
include ../Makefile.com
-MAPDIR= ../../spec/$(ALT_PLAT)/$(MACH64)
-MAPFILE= $(MAPDIR)/mapfile-$(MACH64)
-
-MAPFILES= $(MAPFILE) $(MAPFILE-FLTR)
-MAPOPTS= $(MAPFILES:%=-M %)
-DYNFLAGS += $(MAPOPTS)
-CLOBBERFILES += $(MAPFILE)
+MAPFILES = ../../sun4u/mapfile-vers $(MAPFILE-FLTR)
ASDEFS += -D__sparcv9
ASFLAGS += -xarch=v9b
@@ -54,11 +50,6 @@ include $(SRC)/Makefile.master.64
BUILD.SO= $(LD) -o $@ -G $(DYNFLAGS) $(PICS) $(LDLIBS)
-$(DYNLIB): $(MAPFILES)
-
-$(MAPFILE):
- @cd $(MAPDIR); $(MAKE) `basename $@`
-
.KEEP_STATE:
MODULE = libc_psr_hwcap1.so.1
diff --git a/usr/src/lib/libc_psr/sun4u_hwcap2/Makefile b/usr/src/lib/libc_psr/sun4u_hwcap2/Makefile
index 0c2b391f12..564c1050ce 100644
--- a/usr/src/lib/libc_psr/sun4u_hwcap2/Makefile
+++ b/usr/src/lib/libc_psr/sun4u_hwcap2/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,12 +19,10 @@
# CDDL HEADER END
#
#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#pragam ident "%Z%%M% %I% %E% SMI"
-#
-# usr/src/lib/libc_psr/sun4u_hwcap2/Makefile
+# ident "%Z%%M% %I% %E% SMI"
#
include ../../Makefile.lib
@@ -49,14 +46,11 @@ all install clean clobber : lib32 \
lint:
@ $(ECHO) "Nothing to lint here: skipping"
-lib32: spec .WAIT $(SUBDIRS)
+lib32: $(SUBDIRS)
lib64: $(SUBDIRS64)
$(SUBDIRS) $(SUBDIRS64): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
-spec: FRC
- @cd ../spec/$(ALT_PLAT); pwd; $(MAKE) $(TARGET)
-
FRC:
diff --git a/usr/src/lib/libc_psr/sun4u_hwcap2/sparc/Makefile b/usr/src/lib/libc_psr/sun4u_hwcap2/sparc/Makefile
index aee6f5ccce..c9f9b8daf6 100644
--- a/usr/src/lib/libc_psr/sun4u_hwcap2/sparc/Makefile
+++ b/usr/src/lib/libc_psr/sun4u_hwcap2/sparc/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,13 +19,16 @@
# CDDL HEADER END
#
#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#pragam ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
+#
+
#
# Platform specific Makefile for libc_psr_hwcap2.
#
+
PLATFORM = sun4u-us3
ALT_PLAT = sun4u_hwcap2
COMPAT_PLAT = sun4u
@@ -36,14 +38,8 @@ OBJECTS = memcpy.o memset.o memcmp.o
include ../Makefile.com
-MAPDIR= ../../spec/$(ALT_PLAT)/$(MACH)
-MAPFILE= $(MAPDIR)/mapfile-$(MACH)
-HWCAPMAPFILE= ../mapfile
+MAPFILES = ../../sun4u/mapfile-vers ../mapfile $(MAPFILE-FLTR)
-MAPFILES= $(MAPFILE) $(HWCAPMAPFILE) $(MAPFILE-FLTR)
-MAPOPTS= $(MAPFILES:%=-M %)
-DYNFLAGS += $(MAPOPTS)
-CLOBBERFILES += $(MAPFILE)
ASFLAGS += -xarch=v8plusb
# Redefine shared object build rule to use $(LD) directly (this avoids .init
@@ -51,11 +47,6 @@ ASFLAGS += -xarch=v8plusb
BUILD.SO= $(LD) -o $@ -G $(DYNFLAGS) $(PICS) $(LDLIBS)
-$(DYNLIB): $(MAPFILES)
-
-$(MAPFILE):
- @cd $(MAPDIR); $(MAKE) `basename $@`
-
.KEEP_STATE:
MODULE = libc_psr_hwcap2.so.1
diff --git a/usr/src/lib/libc_psr/sun4u_hwcap2/sparcv9/Makefile b/usr/src/lib/libc_psr/sun4u_hwcap2/sparcv9/Makefile
index 61a5e1add0..7ee110438f 100644
--- a/usr/src/lib/libc_psr/sun4u_hwcap2/sparcv9/Makefile
+++ b/usr/src/lib/libc_psr/sun4u_hwcap2/sparcv9/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,13 +19,16 @@
# CDDL HEADER END
#
#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#pragma ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
+#
+
#
# Platform specific Makefile for libc_psr_hwcap2.
#
+
PLATFORM = sun4u-us3
ALT_PLAT = sun4u_hwcap2
COMPAT_PLAT = sun4u
@@ -36,14 +38,7 @@ OBJECTS = memcpy.o memset.o memcmp.o
include ../Makefile.com
-MAPDIR= ../../spec/$(ALT_PLAT)/$(MACH64)
-MAPFILE= $(MAPDIR)/mapfile-$(MACH64)
-HWCAPMAPFILE= ../mapfile
-
-MAPFILES= $(MAPFILE) $(HWCAPMAPFILE) $(MAPFILE-FLTR)
-MAPOPTS= $(MAPFILES:%=-M %)
-DYNFLAGS += $(MAPOPTS)
-CLOBBERFILES += $(MAPFILE)
+MAPFILES = ../../sun4u/mapfile-vers ../mapfile $(MAPFILE-FLTR)
ASDEFS += -D__sparcv9
ASFLAGS += -xarch=v9b
@@ -55,11 +50,6 @@ include $(SRC)/Makefile.master.64
BUILD.SO= $(LD) -o $@ -G $(DYNFLAGS) $(PICS) $(LDLIBS)
-$(DYNLIB): $(MAPFILES)
-
-$(MAPFILE):
- @cd $(MAPDIR); $(MAKE) `basename $@`
-
.KEEP_STATE:
MODULE = libc_psr_hwcap2.so.1
diff --git a/usr/src/lib/libc_psr/sun4v/Makefile b/usr/src/lib/libc_psr/sun4v/Makefile
index c30118e696..7bd571a3bf 100644
--- a/usr/src/lib/libc_psr/sun4v/Makefile
+++ b/usr/src/lib/libc_psr/sun4v/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,13 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libc_psr/sun4v/Makefile
-#
include $(SRC)/lib/Makefile.lib
include $(SRC)/Makefile.psm
@@ -62,4 +59,7 @@ install: all $(ROOT_PSM_LIB_DIR)/$(MODULE) $(ROOT_PSM_LIB64_DIR)/$(MODULE)
clean clobber : FRC
$(RM) $(MODULE)
+lint:
+ @ $(ECHO) "Nothing to lint here: skipping"
+
FRC:
diff --git a/usr/src/lib/libc_psr/sun4v/mapfile-vers b/usr/src/lib/libc_psr/sun4v/mapfile-vers
new file mode 100644
index 0000000000..26e4bd9f12
--- /dev/null
+++ b/usr/src/lib/libc_psr/sun4v/mapfile-vers
@@ -0,0 +1,38 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNWprivate_1.1 {
+ global:
+ memcpy;
+ _memcpy;
+ memmove;
+ _memmove;
+ memset;
+ _memset;
+ local:
+ *;
+};
diff --git a/usr/src/lib/libc_psr/sun4v_hwcap1/Makefile b/usr/src/lib/libc_psr/sun4v_hwcap1/Makefile
index 5697fd9bef..0ffd0fe46b 100644
--- a/usr/src/lib/libc_psr/sun4v_hwcap1/Makefile
+++ b/usr/src/lib/libc_psr/sun4v_hwcap1/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,13 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libc_psr/sun4v_hwcap1/Makefile
-#
include ../../Makefile.lib
@@ -49,14 +46,11 @@ all install clean clobber : lib32 \
lint:
@ $(ECHO) "Nothing to lint here: skipping"
-lib32: spec .WAIT $(SUBDIRS)
+lib32: $(SUBDIRS)
lib64: $(SUBDIRS64)
$(SUBDIRS) $(SUBDIRS64): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
-spec: FRC
- @cd ../spec/$(ALT_PLAT); pwd; $(MAKE) $(TARGET)
-
FRC:
diff --git a/usr/src/lib/libc_psr/sun4v_hwcap1/Makefile.com b/usr/src/lib/libc_psr/sun4v_hwcap1/Makefile.com
index 8b6dd7f4ae..0dde8cadf6 100644
--- a/usr/src/lib/libc_psr/sun4v_hwcap1/Makefile.com
+++ b/usr/src/lib/libc_psr/sun4v_hwcap1/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,20 +19,14 @@
# CDDL HEADER END
#
#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-#
-# Create default so empty rules don't
-# confuse make
-#
-
LIBRARY = libc_psr_hwcap1.a
VERS = .1
-HWCAP_MAPFILE = ../mapfile
include $(SRC)/lib/Makefile.lib
include $(SRC)/Makefile.psm
diff --git a/usr/src/lib/libc_psr/sun4v_hwcap1/sparc/Makefile b/usr/src/lib/libc_psr/sun4v_hwcap1/sparc/Makefile
index 3145a8e203..159468395b 100644
--- a/usr/src/lib/libc_psr/sun4v_hwcap1/sparc/Makefile
+++ b/usr/src/lib/libc_psr/sun4v_hwcap1/sparc/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,13 +19,16 @@
# CDDL HEADER END
#
#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
+
+#
# Platform specific Makefile for libc_psr.
#
+
PLATFORM = sun4v
ALT_PLAT = sun4v_hwcap1
CLASS = 32
@@ -35,13 +37,8 @@ OBJECTS = memcpy.o memset.o
include ../Makefile.com
-MAPDIR= ../../spec/$(ALT_PLAT)/$(MACH)
-MAPFILE= $(MAPDIR)/mapfile-$(MACH)
+MAPFILES = ../../sun4v/mapfile-vers ../mapfile $(MAPFILE-FLTR)
-MAPFILES= $(MAPFILE) $(MAPFILE-FLTR) $(HWCAP_MAPFILE)
-MAPOPTS= $(MAPFILES:%=-M %)
-DYNFLAGS += $(MAPOPTS)
-CLOBBERFILES += $(MAPFILE)
ASFLAGS += -xarch=v8plus
# Redefine shared object build rule to use $(LD) directly (this avoids .init
@@ -49,11 +46,6 @@ ASFLAGS += -xarch=v8plus
BUILD.SO= $(LD) -o $@ -G $(DYNFLAGS) $(PICS) $(LDLIBS)
-$(DYNLIB): $(MAPFILES)
-
-$(MAPFILE):
- @cd $(MAPDIR); $(MAKE) `basename $@`
-
.KEEP_STATE:
MODULE = libc_psr_hwcap1.so.1
diff --git a/usr/src/lib/libc_psr/sun4v_hwcap1/sparcv9/Makefile b/usr/src/lib/libc_psr/sun4v_hwcap1/sparcv9/Makefile
index b790281311..fc8f543a34 100644
--- a/usr/src/lib/libc_psr/sun4v_hwcap1/sparcv9/Makefile
+++ b/usr/src/lib/libc_psr/sun4v_hwcap1/sparcv9/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,13 +19,16 @@
# CDDL HEADER END
#
#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
+
+#
# Platform specific Makefile for libc_psr.
#
+
PLATFORM = sun4v
ALT_PLAT = sun4v_hwcap1
@@ -36,13 +38,7 @@ OBJECTS = memcpy.o memset.o
include ../Makefile.com
-MAPDIR= ../../spec/$(ALT_PLAT)/$(MACH64)
-MAPFILE= $(MAPDIR)/mapfile-$(MACH64)
-
-MAPFILES= $(MAPFILE) $(MAPFILE-FLTR) $(HWCAP_MAPFILE)
-MAPOPTS= $(MAPFILES:%=-M %)
-DYNFLAGS += $(MAPOPTS)
-CLOBBERFILES += $(MAPFILE)
+MAPFILES = ../../sun4v/mapfile-vers ../mapfile $(MAPFILE-FLTR)
ASDEFS += -D__sparcv9
ASFLAGS += -xarch=v9
@@ -54,11 +50,6 @@ include $(SRC)/Makefile.master.64
BUILD.SO= $(LD) -o $@ -G $(DYNFLAGS) $(PICS) $(LDLIBS)
-$(DYNLIB): $(MAPFILES)
-
-$(MAPFILE):
- @cd $(MAPDIR); $(MAKE) `basename $@`
-
.KEEP_STATE:
MODULE = libc_psr_hwcap1.so.1
diff --git a/usr/src/lib/libcfgadm/Makefile b/usr/src/lib/libcfgadm/Makefile
index a2c4a255ae..f611f09cfe 100644
--- a/usr/src/lib/libcfgadm/Makefile
+++ b/usr/src/lib/libcfgadm/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,7 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 1997-2002 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
@@ -28,7 +27,9 @@
include $(SRC)/lib/Makefile.lib
-SUBDIRS = $(MACH) $(BUILD64) $(MACH64)
+SUBDIRS = $(MACH)
+$(BUILD64)SUBDIRS += $(MACH64)
+
POFILE = libcfgadm.po
MSGFILES = */*.[ch]
XGETFLAGS = -a -x libcfgadm.xcl
@@ -41,13 +42,11 @@ lint := TARGET= lint
.KEEP_STATE:
-all clean clobber install: spec .WAIT $(SUBDIRS)
-
-lint: $(SUBDIRS)
+all clean clobber install lint: $(SUBDIRS)
check install_h:
-$(MACH) $(MACH64) spec: FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
_msg: $(MSGDOMAINPOFILE)
diff --git a/usr/src/lib/libcfgadm/Makefile.com b/usr/src/lib/libcfgadm/Makefile.com
index f9c33dee0b..e2d2ff8bd6 100644
--- a/usr/src/lib/libcfgadm/Makefile.com
+++ b/usr/src/lib/libcfgadm/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,7 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
@@ -34,11 +33,9 @@ include ../../Makefile.lib
LIBS = $(DYNLIB) $(LINTLIB)
LDLIBS += -ldevinfo -lc
-$(LINTLIB):= SRCS = $(SRCDIR)/$(LINTSRC)
SRCDIR = ../common
-MAPDIR = ../spec/$(TRANSMACH)
-SPECMAPFILE = $(MAPDIR)/mapfile
+$(LINTLIB):= SRCS = $(SRCDIR)/$(LINTSRC)
CFLAGS += $(CCVERBOSE)
diff --git a/usr/src/lib/libcfgadm/common/mapfile-vers b/usr/src/lib/libcfgadm/common/mapfile-vers
new file mode 100644
index 0000000000..c3e0c243a4
--- /dev/null
+++ b/usr/src/lib/libcfgadm/common/mapfile-vers
@@ -0,0 +1,51 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNW_1.2 {
+ global:
+ config_list_ext;
+} SUNW_1.1;
+
+SUNW_1.1 {
+ global:
+ config_ap_id_cmp;
+ config_change_state;
+ config_help;
+ config_list;
+ config_private_func;
+ config_stat;
+ config_strerror;
+ config_test;
+ config_unload_libs;
+};
+
+SUNWprivate_1.1 {
+ global:
+ SUNWprivate_1.1;
+ local:
+ *;
+};
diff --git a/usr/src/lib/libcfgadm/spec/Makefile b/usr/src/lib/libcfgadm/spec/Makefile
deleted file mode 100644
index a1dd5932c7..0000000000
--- a/usr/src/lib/libcfgadm/spec/Makefile
+++ /dev/null
@@ -1,30 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libcfgadm/spec/Makefile
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/libcfgadm/spec/Makefile.targ b/usr/src/lib/libcfgadm/spec/Makefile.targ
deleted file mode 100644
index fc096fe02a..0000000000
--- a/usr/src/lib/libcfgadm/spec/Makefile.targ
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libcfgadm/spec/Makefile.targ
-
-LIBRARY = libcfgadm.a
-VERS = .1
-
-OBJECTS = cfgadm.o
-
-TRANSCPP =
-SPECCPP =
diff --git a/usr/src/lib/libcfgadm/spec/amd64/Makefile b/usr/src/lib/libcfgadm/spec/amd64/Makefile
deleted file mode 100644
index 2a38c1cba9..0000000000
--- a/usr/src/lib/libcfgadm/spec/amd64/Makefile
+++ /dev/null
@@ -1,42 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#amd64_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libcfgadm/spec/cfgadm.spec b/usr/src/lib/libcfgadm/spec/cfgadm.spec
deleted file mode 100644
index 918fe37540..0000000000
--- a/usr/src/lib/libcfgadm/spec/cfgadm.spec
+++ /dev/null
@@ -1,108 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libcfgadm/spec/cfgadm.spec
-
-function config_ap_id_cmp
-include <sys/param.h>, <config_admin.h>
-version SUNW_1.1
-end
-
-function config_change_state
-include <sys/param.h>, <config_admin.h>
-declaration cfga_err_t config_change_state(cfga_cmd_t state_change_cmd, \
- int num_ap_ids, char * const *ap_ids, \
- const char *options, struct cfga_confirm *confp, \
- struct cfga_msg *msgp, char **errstring, \
- cfga_flags_t flags)
-version SUNW_1.1
-end
-
-function config_help
-include <sys/param.h>, <config_admin.h>
-declaration cfga_err_t config_help( int num_ap_ids, \
- char * const *ap_ids, struct cfga_msg *msgp, \
- const char *options, cfga_flags_t flags)
-version SUNW_1.1
-end
-
-function config_list
-include <sys/param.h>, <config_admin.h>
-declaration cfga_err_t config_list( struct cfga_stat_data **ap_di_list, \
- int *nlist, const char *options, char **errstring)
-version SUNW_1.1
-end
-
-function config_list_ext
-include <sys/param.h>, <config_admin.h>
-declaration cfga_err_t config_list_ext( int num_ap_ids, \
- char * const *ap_ids, \
- struct cfga_list_data **ap_id_list, int *nlistp, \
- const char *options, const char *listopts, \
- char **errstring, cfga_flags_t flags)
-version SUNW_1.2
-end
-
-function config_private_func
-include <sys/param.h>, <config_admin.h>
-declaration cfga_err_t config_private_func( const char *function, \
- int num_ap_ids, char * const *ap_ids, \
- const char *options, struct cfga_confirm *confp, \
- struct cfga_msg *msgp, char **errstring, \
- cfga_flags_t flags)
-version SUNW_1.1
-end
-
-function config_stat
-include <sys/param.h>, <config_admin.h>
-declaration cfga_err_t config_stat( int num_ap_ids, \
- char * const *ap_ids, struct cfga_stat_data *buf, \
- const char *options, char **errstring)
-version SUNW_1.1
-end
-
-function config_strerror
-include <sys/param.h>, <config_admin.h>
-declaration const char * config_strerror( cfga_err_t cfgerrnum)
-version SUNW_1.1
-end
-
-function config_test
-include <sys/param.h>, <config_admin.h>
-declaration cfga_err_t config_test( int num_ap_ids, char * const *ap_ids, \
- const char *options, struct cfga_msg *msgp, \
- char **errstring, cfga_flags_t flags)
-version SUNW_1.1
-end
-
-function config_unload_libs
-include <sys/param.h>, <config_admin.h>
-declaration void config_unload_libs(void)
-version SUNW_1.1
-end
-
-
diff --git a/usr/src/lib/libcfgadm/spec/i386/Makefile b/usr/src/lib/libcfgadm/spec/i386/Makefile
deleted file mode 100644
index 169a9871a5..0000000000
--- a/usr/src/lib/libcfgadm/spec/i386/Makefile
+++ /dev/null
@@ -1,42 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libcfgadm/spec/i386/Makefile
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#i386_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libcfgadm/spec/sparc/Makefile b/usr/src/lib/libcfgadm/spec/sparc/Makefile
deleted file mode 100644
index 57b9642fdb..0000000000
--- a/usr/src/lib/libcfgadm/spec/sparc/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libcfgadm/spec/sparc/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#sparc_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libcfgadm/spec/sparcv9/Makefile b/usr/src/lib/libcfgadm/spec/sparcv9/Makefile
deleted file mode 100644
index c2b93c4612..0000000000
--- a/usr/src/lib/libcfgadm/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,43 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libcfgadm/spec/sparcv9/Makefile
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#sparcv9_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libcfgadm/spec/versions b/usr/src/lib/libcfgadm/spec/versions
deleted file mode 100644
index b7d90defcb..0000000000
--- a/usr/src/lib/libcfgadm/spec/versions
+++ /dev/null
@@ -1,47 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-i386 {
- SUNW_1.2: {SUNW_1.1};
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-sparc {
- SUNW_1.2: {SUNW_1.1};
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-sparcv9 {
- SUNW_1.2: {SUNW_1.1};
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-amd64 {
- SUNW_1.2: {SUNW_1.1};
- SUNW_1.1;
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/libcmd/Makefile b/usr/src/lib/libcmd/Makefile
index 276ff7aabf..3892533bd7 100644
--- a/usr/src/lib/libcmd/Makefile
+++ b/usr/src/lib/libcmd/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,7 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
@@ -39,11 +38,9 @@ lint := TARGET= lint
.KEEP_STATE:
-all clean clobber install: spec .WAIT $(SUBDIRS)
+all clean clobber install lint: $(SUBDIRS)
-lint: $(SUBDIRS)
-
-$(SUBDIRS) spec: FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
diff --git a/usr/src/lib/libcmd/Makefile.com b/usr/src/lib/libcmd/Makefile.com
index b15605fc07..bc07b5cb06 100644
--- a/usr/src/lib/libcmd/Makefile.com
+++ b/usr/src/lib/libcmd/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -37,12 +36,10 @@ include ../../Makefile.rootfs
LIBS = $(DYNLIB) $(LINTLIB)
-$(LINTLIB) := SRCS = $(SRCDIR)/$(LINTSRC)
LDLIBS += -lc $(ZNODELETE)
SRCDIR = ../common
-MAPDIR = ../spec/$(TRANSMACH)
-SPECMAPFILE = $(MAPDIR)/mapfile
+$(LINTLIB) := SRCS = $(SRCDIR)/$(LINTSRC)
CFLAGS += $(CCVERBOSE)
CPPFLAGS += -I../../common/inc -D_REENTRANT
diff --git a/usr/src/lib/libdtrace_jni/spec/Makefile.targ b/usr/src/lib/libcmd/common/mapfile-vers
index 9be768f2eb..1629c5c7eb 100644
--- a/usr/src/lib/libdtrace_jni/spec/Makefile.targ
+++ b/usr/src/lib/libcmd/common/mapfile-vers
@@ -18,7 +18,6 @@
#
# CDDL HEADER END
#
-
#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
@@ -26,8 +25,11 @@
# ident "%Z%%M% %I% %E% SMI"
#
-.KEEP_STATE:
-
-LIBRARY = libdtrace_jni.a
-VERS = .1
-OBJECTS = dtrace_jni.o
+SUNWprivate_1.1 {
+ global:
+ defcntl;
+ defopen;
+ defread;
+ local:
+ *;
+};
diff --git a/usr/src/lib/libcmd/spec/Makefile b/usr/src/lib/libcmd/spec/Makefile
deleted file mode 100644
index a827993b70..0000000000
--- a/usr/src/lib/libcmd/spec/Makefile
+++ /dev/null
@@ -1,30 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libcmd/spec/Makefile
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/libcmd/spec/Makefile.targ b/usr/src/lib/libcmd/spec/Makefile.targ
deleted file mode 100644
index c07f6787b6..0000000000
--- a/usr/src/lib/libcmd/spec/Makefile.targ
+++ /dev/null
@@ -1,35 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libcmd/spec/Makefile.targ
-
-LIBRARY = libcmd.a
-VERS = .1
-
-OBJECTS = cmd.o
-
-SPECCPP =
diff --git a/usr/src/lib/libcmd/spec/amd64/Makefile b/usr/src/lib/libcmd/spec/amd64/Makefile
deleted file mode 100644
index 453c0ea671..0000000000
--- a/usr/src/lib/libcmd/spec/amd64/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#amd64_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libcmd/spec/cmd.spec b/usr/src/lib/libcmd/spec/cmd.spec
deleted file mode 100644
index 775b9b510a..0000000000
--- a/usr/src/lib/libcmd/spec/cmd.spec
+++ /dev/null
@@ -1,42 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libcmd/spec/cmd.spec
-
-function defopen
-declaration int defopen(char *fn)
-version SUNWprivate_1.1
-end
-
-function defread
-declaration char *defread(char *cp)
-version SUNWprivate_1.1
-end
-
-function defcntl
-declaration int defcntl(int cmd, int newflags)
-version SUNWprivate_1.1
-end
diff --git a/usr/src/lib/libcmd/spec/i386/Makefile b/usr/src/lib/libcmd/spec/i386/Makefile
deleted file mode 100644
index d537268376..0000000000
--- a/usr/src/lib/libcmd/spec/i386/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# libcmd/spec/i386/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#i386_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libcmd/spec/sparc/Makefile b/usr/src/lib/libcmd/spec/sparc/Makefile
deleted file mode 100644
index 60214320f8..0000000000
--- a/usr/src/lib/libcmd/spec/sparc/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1998-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libcmd/spec/sparc/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#sparc_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libcmd/spec/sparcv9/Makefile b/usr/src/lib/libcmd/spec/sparcv9/Makefile
deleted file mode 100644
index 24bb405094..0000000000
--- a/usr/src/lib/libcmd/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,45 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1998-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# libcmd/spec/sparcv9/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#sparcv9_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libcmd/spec/versions b/usr/src/lib/libcmd/spec/versions
deleted file mode 100644
index a542a0f7fc..0000000000
--- a/usr/src/lib/libcmd/spec/versions
+++ /dev/null
@@ -1,39 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-sparc {
- SUNWprivate_1.1;
-}
-sparcv9 {
- SUNWprivate_1.1;
-}
-i386 {
- SUNWprivate_1.1;
-}
-amd64 {
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/libcmdutils/Makefile b/usr/src/lib/libcmdutils/Makefile
index bf58344823..20de3cba82 100644
--- a/usr/src/lib/libcmdutils/Makefile
+++ b/usr/src/lib/libcmdutils/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,15 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libcmdutils/Makefile
+# ident "%Z%%M% %I% %E% SMI"
#
-# include library definitions
include ../Makefile.lib
SUBDIRS = $(MACH)
@@ -48,7 +44,7 @@ CHECKHDRS= $(HDRS:%.h=%.check)
.KEEP_STATE:
-all clean clobber install: spec .WAIT $(SUBDIRS)
+all clean clobber install lint: $(SUBDIRS)
$(ROOTHDRDIR)/%: %
$(INS.file)
@@ -57,9 +53,7 @@ install_h: $(ROOTHDRS)
check: $(CHECKHDRS)
-lint: $(SUBDIRS)
-
-spec $(SUBDIRS): FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
diff --git a/usr/src/lib/libcmdutils/Makefile.com b/usr/src/lib/libcmdutils/Makefile.com
index 9ddab62f5f..50ca57cedf 100644
--- a/usr/src/lib/libcmdutils/Makefile.com
+++ b/usr/src/lib/libcmdutils/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -25,8 +24,6 @@
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libcmdutils/Makefile.com
-#
LIBRARY= libcmdutils.a
VERS= .1
@@ -37,14 +34,10 @@ include ../../Makefile.rootfs
LIBS = $(DYNLIB) $(LINTLIB)
-$(LINTLIB) := SRCS = $(SRCDIR)/$(LINTSRC)
LDLIBS += -lc -lavl
SRCDIR = ../common
-
-# library builds its mapfile from specfiles
-MAPDIR = ../spec/$(TRANSMACH)
-SPECMAPFILE = $(MAPDIR)/mapfile
+$(LINTLIB) := SRCS = $(SRCDIR)/$(LINTSRC)
CFLAGS += $(CCVERBOSE)
diff --git a/usr/src/lib/libcmdutils/common/mapfile-vers b/usr/src/lib/libcmdutils/common/mapfile-vers
new file mode 100644
index 0000000000..48d26ca9af
--- /dev/null
+++ b/usr/src/lib/libcmdutils/common/mapfile-vers
@@ -0,0 +1,35 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNWprivate_1.1 {
+ global:
+ add_tnode;
+ destroy_tree;
+ tnode_compare;
+ local:
+ *;
+};
diff --git a/usr/src/lib/libcmdutils/spec/Makefile b/usr/src/lib/libcmdutils/spec/Makefile
deleted file mode 100644
index 10b44c4a23..0000000000
--- a/usr/src/lib/libcmdutils/spec/Makefile
+++ /dev/null
@@ -1,30 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libcmdutils/spec/Makefile
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/libcmdutils/spec/Makefile.targ b/usr/src/lib/libcmdutils/spec/Makefile.targ
deleted file mode 100644
index 2aa6949184..0000000000
--- a/usr/src/lib/libcmdutils/spec/Makefile.targ
+++ /dev/null
@@ -1,35 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libcmdutils/spec/Makefile.targ
-
-LIBRARY = libcmdutils.a
-VERS = .1
-
-OBJECTS = cmdutils.o
-
-SPECCPP =
diff --git a/usr/src/lib/libcmdutils/spec/amd64/Makefile b/usr/src/lib/libcmdutils/spec/amd64/Makefile
deleted file mode 100644
index d334868181..0000000000
--- a/usr/src/lib/libcmdutils/spec/amd64/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#amd64_C_PICFLAGS = $(amd64_C_BIGPICFLAGS)
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libcmdutils/spec/cmdutils.spec b/usr/src/lib/libcmdutils/spec/cmdutils.spec
deleted file mode 100644
index 465ad0b5dc..0000000000
--- a/usr/src/lib/libcmdutils/spec/cmdutils.spec
+++ /dev/null
@@ -1,45 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libcmdutils/spec/cmdutils.spec
-
-function tnode_compare
-include <sys/avl.h>
-declaration int tnode_compare(const void *, const void *);
-version SUNWprivate_1.1
-end
-
-function destroy_tree
-include <sys/avl.h>
-declaration void destroy_tree(avl_tree_t *);
-version SUNWprivate_1.1
-end
-
-function add_tnode
-include <sys/avl.h>
-declaration int add_tnode(avl_tree_t **, dev_t, ino_t);
-version SUNWprivate_1.1
-end
diff --git a/usr/src/lib/libcmdutils/spec/i386/Makefile b/usr/src/lib/libcmdutils/spec/i386/Makefile
deleted file mode 100644
index 3d22afeb56..0000000000
--- a/usr/src/lib/libcmdutils/spec/i386/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libcmdutils/spec/i386/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#i386_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libcmdutils/spec/sparc/Makefile b/usr/src/lib/libcmdutils/spec/sparc/Makefile
deleted file mode 100644
index 7cf9d1bc49..0000000000
--- a/usr/src/lib/libcmdutils/spec/sparc/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libcmdutils/spec/sparc/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#sparc_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libcmdutils/spec/sparcv9/Makefile b/usr/src/lib/libcmdutils/spec/sparcv9/Makefile
deleted file mode 100644
index 4a8fb1958d..0000000000
--- a/usr/src/lib/libcmdutils/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,45 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libcmdutils/spec/sparcv9/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#sparcv9_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libcmdutils/spec/versions b/usr/src/lib/libcmdutils/spec/versions
deleted file mode 100644
index a129966488..0000000000
--- a/usr/src/lib/libcmdutils/spec/versions
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# SUNWprivate_1.1: Consolidation private PSARC 2002/399
-#
-
-sparc {
- SUNWprivate_1.1;
-}
-
-sparcv9 {
- SUNWprivate_1.1;
-}
-
-i386 {
- SUNWprivate_1.1;
-}
-
-amd64 {
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/libcontract/Makefile b/usr/src/lib/libcontract/Makefile
index d42faf5b9d..a042993bfc 100644
--- a/usr/src/lib/libcontract/Makefile
+++ b/usr/src/lib/libcontract/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,10 +19,10 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
include ../Makefile.lib
@@ -44,19 +43,17 @@ lint := TARGET = lint
.KEEP_STATE:
-all clean clobber install: spec .WAIT $(SUBDIRS)
+all clean clobber install lint: $(SUBDIRS)
$(POFILE): pofile_MSGFILES
-lint: $(SUBDIRS)
-
install_h: $(ROOTHDRS)
check: $(CHECKHDRS)
_msg: $(MSGDOMAINPOFILE)
-$(SUBDIRS) spec: FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
diff --git a/usr/src/lib/libcontract/Makefile.com b/usr/src/lib/libcontract/Makefile.com
index 9ba9a44e9d..7d5ab8b471 100644
--- a/usr/src/lib/libcontract/Makefile.com
+++ b/usr/src/lib/libcontract/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,7 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
@@ -44,11 +43,9 @@ SRCDIR = ../common
$(LINTLIB) := SRCS = $(SRCDIR)/llib-lcontract
LDLIBS += -lnvpair -lc
-MAPDIR = ../spec/$(TRANSMACH)
-SPECMAPFILE = $(MAPDIR)/mapfile
CPPFLAGS += -I$(SRCDIR) -D_REENTRANT
-CFLAGS += -v
+CFLAGS += $(CCVERBOSE)
.KEEP_STATE:
diff --git a/usr/src/lib/libcontract/common/mapfile-vers b/usr/src/lib/libcontract/common/mapfile-vers
new file mode 100644
index 0000000000..2f220b60ad
--- /dev/null
+++ b/usr/src/lib/libcontract/common/mapfile-vers
@@ -0,0 +1,99 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNW_1.1 {
+ global:
+ ct_ctl_abandon;
+ ct_ctl_ack;
+ ct_ctl_adopt;
+ ct_ctl_newct;
+ ct_ctl_qack;
+ ct_event_free;
+ ct_event_get_ctid;
+ ct_event_get_evid;
+ ct_event_get_flags;
+ ct_event_get_nevid;
+ ct_event_get_newct;
+ ct_event_get_type;
+ ct_event_read;
+ ct_event_read_critical;
+ ct_event_reliable;
+ ct_event_reset;
+ ct_pr_event_get_exitstatus;
+ ct_pr_event_get_gcorefile;
+ ct_pr_event_get_pcorefile;
+ ct_pr_event_get_pid;
+ ct_pr_event_get_ppid;
+ ct_pr_event_get_sender;
+ ct_pr_event_get_senderct;
+ ct_pr_event_get_signal;
+ ct_pr_event_get_zcorefile;
+ ct_pr_status_get_contracts;
+ ct_pr_status_get_fatal;
+ ct_pr_status_get_members;
+ ct_pr_status_get_param;
+ ct_pr_tmpl_get_fatal;
+ ct_pr_tmpl_get_param;
+ ct_pr_tmpl_get_transfer;
+ ct_pr_tmpl_set_fatal;
+ ct_pr_tmpl_set_param;
+ ct_pr_tmpl_set_transfer;
+ ct_status_free;
+ ct_status_get_cookie;
+ ct_status_get_critical;
+ ct_status_get_holder;
+ ct_status_get_id;
+ ct_status_get_informative;
+ ct_status_get_nevents;
+ ct_status_get_nevid;
+ ct_status_get_ntime;
+ ct_status_get_qtime;
+ ct_status_get_state;
+ ct_status_get_type;
+ ct_status_get_zoneid;
+ ct_status_read;
+ ct_tmpl_activate;
+ ct_tmpl_clear;
+ ct_tmpl_create;
+ ct_tmpl_get_cookie;
+ ct_tmpl_get_critical;
+ ct_tmpl_get_informative;
+ ct_tmpl_set_cookie;
+ ct_tmpl_set_critical;
+ ct_tmpl_set_informative;
+};
+
+SUNWprivate_1.1 {
+ global:
+ contract_abandon_id;
+ contract_event_dump;
+ contract_latest;
+ contract_open;
+ getctid;
+ local:
+ *;
+};
diff --git a/usr/src/lib/libcontract/spec/Makefile b/usr/src/lib/libcontract/spec/Makefile
deleted file mode 100644
index ecee1572a9..0000000000
--- a/usr/src/lib/libcontract/spec/Makefile
+++ /dev/null
@@ -1,29 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/libcontract/spec/Makefile.targ b/usr/src/lib/libcontract/spec/Makefile.targ
deleted file mode 100644
index 5280075a79..0000000000
--- a/usr/src/lib/libcontract/spec/Makefile.targ
+++ /dev/null
@@ -1,32 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-LIBRARY= libcontract.a
-VERS= .1
-OBJECTS= contract.o private.o
-SPECCPP= -I../../common
diff --git a/usr/src/lib/libcontract/spec/amd64/Makefile b/usr/src/lib/libcontract/spec/amd64/Makefile
deleted file mode 100644
index 6b587843c7..0000000000
--- a/usr/src/lib/libcontract/spec/amd64/Makefile
+++ /dev/null
@@ -1,37 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libcontract/spec/contract.spec b/usr/src/lib/libcontract/spec/contract.spec
deleted file mode 100644
index 60b4925d11..0000000000
--- a/usr/src/lib/libcontract/spec/contract.spec
+++ /dev/null
@@ -1,374 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-function ct_tmpl_activate
-include <libcontract.h>
-declaration int ct_tmpl_activate(int)
-version SUNW_1.1
-end
-
-function ct_tmpl_clear
-include <libcontract.h>
-declaration int ct_tmpl_clear(int)
-version SUNW_1.1
-end
-
-function ct_tmpl_create
-include <libcontract.h>
-declaration int ct_tmpl_create(int, ctid_t *)
-version SUNW_1.1
-end
-
-function ct_tmpl_set_cookie
-include <libcontract.h>
-declaration int ct_tmpl_set_cookie(int, uint64_t)
-version SUNW_1.1
-end
-
-function ct_tmpl_get_cookie
-include <libcontract.h>
-declaration int ct_tmpl_get_cookie(int, uint64_t *)
-version SUNW_1.1
-end
-
-function ct_tmpl_set_critical
-include <libcontract.h>
-declaration int ct_tmpl_set_critical(int, uint_t)
-version SUNW_1.1
-end
-
-function ct_tmpl_get_critical
-include <libcontract.h>
-declaration int ct_tmpl_get_critical(int, uint_t *)
-version SUNW_1.1
-end
-
-function ct_tmpl_set_informative
-include <libcontract.h>
-declaration int ct_tmpl_set_informative(int, uint_t)
-version SUNW_1.1
-end
-
-function ct_tmpl_get_informative
-include <libcontract.h>
-declaration int ct_tmpl_get_informative(int, uint_t *)
-version SUNW_1.1
-end
-
-function ct_ctl_adopt
-include <libcontract.h>
-declaration int ct_ctl_adopt(int)
-version SUNW_1.1
-end
-
-function ct_ctl_abandon
-include <libcontract.h>
-declaration int ct_ctl_abandon(int)
-version SUNW_1.1
-end
-
-function ct_ctl_ack
-include <libcontract.h>
-declaration int ct_ctl_ack(int, ctevid_t)
-version SUNW_1.1
-end
-
-function ct_ctl_qack
-include <libcontract.h>
-declaration int ct_ctl_qack(int, ctevid_t)
-version SUNW_1.1
-end
-
-function ct_ctl_newct
-include <libcontract.h>
-declaration int ct_ctl_newct(int, ctevid_t, int)
-version SUNW_1.1
-end
-
-function ct_status_read
-include <libcontract.h>
-declaration int ct_status_read(int, int, ct_stathdl_t *)
-version SUNW_1.1
-end
-
-function ct_status_free
-include <libcontract.h>
-declaration void ct_status_free(ct_stathdl_t)
-version SUNW_1.1
-end
-
-function ct_status_get_id
-include <libcontract.h>
-declaration ctid_t ct_status_get_id(ct_stathdl_t)
-version SUNW_1.1
-end
-
-function ct_status_get_zoneid
-include <libcontract.h>
-declaration zoneid_t ct_status_get_zoneid(ct_stathdl_t)
-version SUNW_1.1
-end
-
-function ct_status_get_type
-include <libcontract.h>
-declaration const char *ct_status_get_type(ct_stathdl_t)
-version SUNW_1.1
-end
-
-function ct_status_get_holder
-include <libcontract.h>
-declaration id_t ct_status_get_holder(ct_stathdl_t)
-version SUNW_1.1
-end
-
-function ct_status_get_state
-include <libcontract.h>
-declaration ctstate_t ct_status_get_state(ct_stathdl_t)
-version SUNW_1.1
-end
-
-function ct_status_get_nevents
-include <libcontract.h>
-declaration int ct_status_get_nevents(ct_stathdl_t)
-version SUNW_1.1
-end
-
-function ct_status_get_ntime
-include <libcontract.h>
-declaration int ct_status_get_ntime(ct_stathdl_t)
-version SUNW_1.1
-end
-
-function ct_status_get_qtime
-include <libcontract.h>
-declaration int ct_status_get_qtime(ct_stathdl_t)
-version SUNW_1.1
-end
-
-function ct_status_get_nevid
-include <libcontract.h>
-declaration ctevid_t ct_status_get_nevid(ct_stathdl_t)
-version SUNW_1.1
-end
-
-function ct_status_get_informative
-include <libcontract.h>
-declaration uint_t ct_status_get_informative(ct_stathdl_t)
-version SUNW_1.1
-end
-
-function ct_status_get_critical
-include <libcontract.h>
-declaration uint_t ct_status_get_critical(ct_stathdl_t)
-version SUNW_1.1
-end
-
-function ct_status_get_cookie
-include <libcontract.h>
-declaration uint64_t ct_status_get_cookie(ct_stathdl_t)
-version SUNW_1.1
-end
-
-function ct_event_read
-include <libcontract.h>
-declaration int ct_event_read(int, ct_evthdl_t *)
-version SUNW_1.1
-end
-
-function ct_event_read_critical
-include <libcontract.h>
-declaration int ct_event_read_critical(int, ct_evthdl_t *)
-version SUNW_1.1
-end
-
-function ct_event_reset
-include <libcontract.h>
-declaration int ct_event_reset(int)
-version SUNW_1.1
-end
-
-function ct_event_reliable
-include <libcontract.h>
-declaration int ct_event_reliable(int)
-version SUNW_1.1
-end
-
-function ct_event_free
-include <libcontract.h>
-declaration void ct_event_free(ct_evthdl_t)
-version SUNW_1.1
-end
-
-function ct_event_get_flags
-include <libcontract.h>
-declaration uint_t ct_event_get_flags(ct_evthdl_t)
-version SUNW_1.1
-end
-
-function ct_event_get_ctid
-include <libcontract.h>
-declaration ctid_t ct_event_get_ctid(ct_evthdl_t)
-version SUNW_1.1
-end
-
-function ct_event_get_evid
-include <libcontract.h>
-declaration ctevid_t ct_event_get_evid(ct_evthdl_t)
-version SUNW_1.1
-end
-
-function ct_event_get_type
-include <libcontract.h>
-declaration uint_t ct_event_get_type(ct_evthdl_t)
-version SUNW_1.1
-end
-
-function ct_event_get_nevid
-include <libcontract.h>
-declaration int ct_event_get_nevid(ct_evthdl_t, ctevid_t *)
-version SUNW_1.1
-end
-
-function ct_event_get_newct
-include <libcontract.h>
-declaration int ct_event_get_newct(ct_evthdl_t, ctid_t *)
-version SUNW_1.1
-end
-
-function ct_pr_tmpl_set_transfer
-include <libcontract.h>
-declaration int ct_pr_tmpl_set_transfer(int, ctid_t)
-version SUNW_1.1
-end
-
-function ct_pr_tmpl_set_fatal
-include <libcontract.h>
-declaration int ct_pr_tmpl_set_fatal(int, uint_t)
-version SUNW_1.1
-end
-
-function ct_pr_tmpl_set_param
-include <libcontract.h>
-declaration int ct_pr_tmpl_set_param(int, uint_t)
-version SUNW_1.1
-end
-
-function ct_pr_tmpl_get_transfer
-include <libcontract.h>
-declaration int ct_pr_tmpl_get_transfer(int, ctid_t *)
-version SUNW_1.1
-end
-
-function ct_pr_tmpl_get_fatal
-include <libcontract.h>
-declaration int ct_pr_tmpl_get_fatal(int, uint_t *)
-version SUNW_1.1
-end
-
-function ct_pr_tmpl_get_param
-include <libcontract.h>
-declaration int ct_pr_tmpl_get_param(int, uint_t *)
-version SUNW_1.1
-end
-
-function ct_pr_event_get_pid
-include <libcontract.h>
-declaration int ct_pr_event_get_pid(ct_evthdl_t, pid_t *)
-version SUNW_1.1
-end
-
-function ct_pr_event_get_ppid
-include <libcontract.h>
-declaration int ct_pr_event_get_ppid(ct_evthdl_t, pid_t *)
-version SUNW_1.1
-end
-
-function ct_pr_event_get_signal
-include <libcontract.h>
-declaration int ct_pr_event_get_signal(ct_evthdl_t, int *)
-version SUNW_1.1
-end
-
-function ct_pr_event_get_sender
-include <libcontract.h>
-declaration int ct_pr_event_get_sender(ct_evthdl_t, pid_t *)
-version SUNW_1.1
-end
-
-function ct_pr_event_get_senderct
-include <libcontract.h>
-declaration int ct_pr_event_get_senderct(ct_evthdl_t, ctid_t *)
-version SUNW_1.1
-end
-
-function ct_pr_event_get_exitstatus
-include <libcontract.h>
-declaration int ct_pr_event_get_exitstatus(ct_evthdl_t, int *)
-version SUNW_1.1
-end
-
-function ct_pr_event_get_pcorefile
-include <libcontract.h>
-declaration int ct_pr_event_get_pcorefile(ct_evthdl_t, const char **)
-version SUNW_1.1
-end
-
-function ct_pr_event_get_gcorefile
-include <libcontract.h>
-declaration int ct_pr_event_get_gcorefile(ct_evthdl_t, const char **)
-version SUNW_1.1
-end
-
-function ct_pr_event_get_zcorefile
-include <libcontract.h>
-declaration int ct_pr_event_get_zcorefile(ct_evthdl_t, const char **)
-version SUNW_1.1
-end
-
-function ct_pr_status_get_param
-include <libcontract.h>
-declaration int ct_pr_status_get_param(ct_stathdl_t, uint_t *)
-version SUNW_1.1
-end
-
-function ct_pr_status_get_fatal
-include <libcontract.h>
-declaration int ct_pr_status_get_fatal(ct_stathdl_t, uint_t *)
-version SUNW_1.1
-end
-
-function ct_pr_status_get_members
-include <libcontract.h>
-declaration int ct_pr_status_get_members(ct_stathdl_t, pid_t **, uint_t *)
-version SUNW_1.1
-end
-
-function ct_pr_status_get_contracts
-include <libcontract.h>
-declaration int ct_pr_status_get_contracts(ct_stathdl_t, ctid_t **, uint_t *)
-version SUNW_1.1
-end
diff --git a/usr/src/lib/libcontract/spec/i386/Makefile b/usr/src/lib/libcontract/spec/i386/Makefile
deleted file mode 100644
index 027b13f5af..0000000000
--- a/usr/src/lib/libcontract/spec/i386/Makefile
+++ /dev/null
@@ -1,35 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libcontract/spec/private.spec b/usr/src/lib/libcontract/spec/private.spec
deleted file mode 100644
index 65413dbb58..0000000000
--- a/usr/src/lib/libcontract/spec/private.spec
+++ /dev/null
@@ -1,56 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-function contract_latest
-include <libcontract_priv.h>
-declaration int contract_latest(ctid_t *)
-version SUNWprivate_1.1
-end
-
-function contract_open
-include <libcontract_priv.h>
-declaration int contract_open(ctid_t, const char *, const char *, int)
-version SUNWprivate_1.1
-end
-
-function contract_abandon_id
-include <libcontract_priv.h>
-declaration int contract_abandon_id(ctid_t)
-version SUNWprivate_1.1
-end
-
-function getctid
-include <libcontract_priv.h>
-declaration ctid_t getctid(void)
-version SUNWprivate_1.1
-end
-
-function contract_event_dump
-include <libcontract_priv.h>
-declaration void contract_event_dump(FILE *, ct_evthdl_t, int)
-version SUNWprivate_1.1
-end
diff --git a/usr/src/lib/libcontract/spec/sparc/Makefile b/usr/src/lib/libcontract/spec/sparc/Makefile
deleted file mode 100644
index 027b13f5af..0000000000
--- a/usr/src/lib/libcontract/spec/sparc/Makefile
+++ /dev/null
@@ -1,35 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libcontract/spec/sparcv9/Makefile b/usr/src/lib/libcontract/spec/sparcv9/Makefile
deleted file mode 100644
index 751257f818..0000000000
--- a/usr/src/lib/libcontract/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,37 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libcontract/spec/versions b/usr/src/lib/libcontract/spec/versions
deleted file mode 100644
index 1081ac6057..0000000000
--- a/usr/src/lib/libcontract/spec/versions
+++ /dev/null
@@ -1,43 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-i386 {
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-amd64 {
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-sparc {
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-sparcv9 {
- SUNW_1.1;
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/libcpc/Makefile b/usr/src/lib/libcpc/Makefile
index e0e3d7f0c7..400c0ef52b 100644
--- a/usr/src/lib/libcpc/Makefile
+++ b/usr/src/lib/libcpc/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,12 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libcpc/Makefile
include ../Makefile.lib
@@ -48,15 +46,13 @@ XGETFLAGS= -a
.KEEP_STATE:
-all clean clobber install: spec .WAIT $(SUBDIRS)
-
-lint: $(SUBDIRS)
+all clean clobber install lint: $(SUBDIRS)
install_h: $(ROOTHDRS)
check: $(CHECKHDRS)
-spec $(SUBDIRS): FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
$(POFILE): pofile_MSGFILES
diff --git a/usr/src/lib/libcpc/Makefile.com b/usr/src/lib/libcpc/Makefile.com
index 5cdc5f7b9d..d3c143c38f 100644
--- a/usr/src/lib/libcpc/Makefile.com
+++ b/usr/src/lib/libcpc/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,12 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libcpc/Makefile.com
LIBRARY = libcpc.a
VERS = .1
@@ -45,8 +43,8 @@ $(LINTLIB) := SRCS = ../common/llib-lcpc
LDLIBS += -lpctx -lnvpair -lc
SRCDIR = ../common
-MAPDIR = ../spec/$(TRANSMACH)
-SPECMAPFILE = $(MAPDIR)/mapfile
+
+MAPFILES += mapfile-vers
ASFLAGS += -P -D_ASM -I../common
CPPFLAGS += -D_REENTRANT -I../common
diff --git a/usr/src/lib/libcpc/amd64/Makefile b/usr/src/lib/libcpc/amd64/Makefile
index f049307b31..b7511851fb 100644
--- a/usr/src/lib/libcpc/amd64/Makefile
+++ b/usr/src/lib/libcpc/amd64/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-MAPDIR= ../spec/amd64
-
include ../Makefile.com
OBJECTS = $(COBJS)
diff --git a/usr/src/lib/libtsol/spec/Makefile b/usr/src/lib/libcpc/amd64/mapfile-vers
index 835bbc66f1..4505618b21 100644
--- a/usr/src/lib/libtsol/spec/Makefile
+++ b/usr/src/lib/libcpc/amd64/mapfile-vers
@@ -25,4 +25,6 @@
# ident "%Z%%M% %I% %E% SMI"
#
-include $(SRC)/lib/Makefile.spec.arch
+SUNW_1.2 {
+ global:
+};
diff --git a/usr/src/lib/libcpc/common/mapfile-vers b/usr/src/lib/libcpc/common/mapfile-vers
new file mode 100644
index 0000000000..f4403fa877
--- /dev/null
+++ b/usr/src/lib/libcpc/common/mapfile-vers
@@ -0,0 +1,70 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNW_1.2 {
+ global:
+ cpc_bind_cpu;
+ cpc_bind_curlwp;
+ cpc_bind_pctx;
+ cpc_buf_add;
+ cpc_buf_copy;
+ cpc_buf_create;
+ cpc_buf_destroy;
+ cpc_buf_get;
+ cpc_buf_hrtime;
+ cpc_buf_set;
+ cpc_buf_sub;
+ cpc_buf_tick;
+ cpc_buf_zero;
+ cpc_caps;
+ cpc_cciname;
+ cpc_close;
+ cpc_cpuref;
+ cpc_disable;
+ cpc_enable;
+ cpc_npic;
+ cpc_open;
+ cpc_request_preset;
+ cpc_set_add_request;
+ cpc_set_create;
+ cpc_set_destroy;
+ cpc_seterrhndlr;
+ cpc_set_restart;
+ cpc_set_sample;
+ cpc_unbind;
+ cpc_walk_attrs;
+ cpc_walk_events_all;
+ cpc_walk_events_pic;
+ cpc_walk_requests;
+};
+
+SUNWprivate_1.1 {
+ global:
+ SUNWprivate_1.1;
+ local:
+ *;
+};
diff --git a/usr/src/lib/libcpc/i386/mapfile-vers b/usr/src/lib/libcpc/i386/mapfile-vers
new file mode 100644
index 0000000000..59245793ba
--- /dev/null
+++ b/usr/src/lib/libcpc/i386/mapfile-vers
@@ -0,0 +1,61 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNW_1.2 {
+ global:
+} SUNW_1.1;
+
+SUNW_1.1 {
+ global:
+ cpc_access;
+ cpc_bind_event;
+ cpc_count_sys_events;
+ cpc_count_usr_events;
+ cpc_event_accum;
+ cpc_event_diff;
+ cpc_eventtostr;
+ cpc_getcciname;
+ cpc_getcpuref;
+ cpc_getcpuver;
+ cpc_getnpic;
+ cpc_getusage;
+ cpc_pctx_bind_event;
+ cpc_pctx_invalidate;
+ cpc_pctx_rele;
+ cpc_pctx_take_sample;
+ cpc_rele;
+ cpc_seterrfn;
+ cpc_shared_bind_event;
+ cpc_shared_close;
+ cpc_shared_open;
+ cpc_shared_rele;
+ cpc_shared_take_sample;
+ cpc_strtoevent;
+ cpc_take_sample;
+ cpc_version;
+ cpc_walk_names;
+};
diff --git a/usr/src/lib/libcpc/sparc/mapfile-vers b/usr/src/lib/libcpc/sparc/mapfile-vers
new file mode 100644
index 0000000000..59245793ba
--- /dev/null
+++ b/usr/src/lib/libcpc/sparc/mapfile-vers
@@ -0,0 +1,61 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNW_1.2 {
+ global:
+} SUNW_1.1;
+
+SUNW_1.1 {
+ global:
+ cpc_access;
+ cpc_bind_event;
+ cpc_count_sys_events;
+ cpc_count_usr_events;
+ cpc_event_accum;
+ cpc_event_diff;
+ cpc_eventtostr;
+ cpc_getcciname;
+ cpc_getcpuref;
+ cpc_getcpuver;
+ cpc_getnpic;
+ cpc_getusage;
+ cpc_pctx_bind_event;
+ cpc_pctx_invalidate;
+ cpc_pctx_rele;
+ cpc_pctx_take_sample;
+ cpc_rele;
+ cpc_seterrfn;
+ cpc_shared_bind_event;
+ cpc_shared_close;
+ cpc_shared_open;
+ cpc_shared_rele;
+ cpc_shared_take_sample;
+ cpc_strtoevent;
+ cpc_take_sample;
+ cpc_version;
+ cpc_walk_names;
+};
diff --git a/usr/src/lib/libcpc/sparcv9/mapfile-vers b/usr/src/lib/libcpc/sparcv9/mapfile-vers
new file mode 100644
index 0000000000..59245793ba
--- /dev/null
+++ b/usr/src/lib/libcpc/sparcv9/mapfile-vers
@@ -0,0 +1,61 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNW_1.2 {
+ global:
+} SUNW_1.1;
+
+SUNW_1.1 {
+ global:
+ cpc_access;
+ cpc_bind_event;
+ cpc_count_sys_events;
+ cpc_count_usr_events;
+ cpc_event_accum;
+ cpc_event_diff;
+ cpc_eventtostr;
+ cpc_getcciname;
+ cpc_getcpuref;
+ cpc_getcpuver;
+ cpc_getnpic;
+ cpc_getusage;
+ cpc_pctx_bind_event;
+ cpc_pctx_invalidate;
+ cpc_pctx_rele;
+ cpc_pctx_take_sample;
+ cpc_rele;
+ cpc_seterrfn;
+ cpc_shared_bind_event;
+ cpc_shared_close;
+ cpc_shared_open;
+ cpc_shared_rele;
+ cpc_shared_take_sample;
+ cpc_strtoevent;
+ cpc_take_sample;
+ cpc_version;
+ cpc_walk_names;
+};
diff --git a/usr/src/lib/libcpc/spec/Makefile b/usr/src/lib/libcpc/spec/Makefile
deleted file mode 100644
index 25277194e4..0000000000
--- a/usr/src/lib/libcpc/spec/Makefile
+++ /dev/null
@@ -1,30 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libcpc/spec/Makefile
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/libcpc/spec/Makefile.targ b/usr/src/lib/libcpc/spec/Makefile.targ
deleted file mode 100644
index 13968ee539..0000000000
--- a/usr/src/lib/libcpc/spec/Makefile.targ
+++ /dev/null
@@ -1,33 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libcpc/spec/Makefile.targ
-
-LIBRARY = libcpc.a
-VERS = .1
-
-OBJECTS = cpc.o
diff --git a/usr/src/lib/libcpc/spec/amd64/Makefile b/usr/src/lib/libcpc/spec/amd64/Makefile
deleted file mode 100644
index d334868181..0000000000
--- a/usr/src/lib/libcpc/spec/amd64/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#amd64_C_PICFLAGS = $(amd64_C_BIGPICFLAGS)
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libcpc/spec/cpc.spec b/usr/src/lib/libcpc/spec/cpc.spec
deleted file mode 100644
index d4eae95935..0000000000
--- a/usr/src/lib/libcpc/spec/cpc.spec
+++ /dev/null
@@ -1,448 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libpctx/spec/cpc.spec
-
-function cpc_version
-include <libcpc.h>
-declaration uint_t cpc_version(uint_t)
-version SUNW_1.1
-end
-
-function cpc_getcpuver
-include <libcpc.h>
-declaration int cpc_getcpuver(void)
-version SUNW_1.1
-exception ( $return == -1 )
-end
-
-function cpc_getcciname
-include <libcpc.h>
-declaration const char *cpc_getcciname(int cpuver)
-version SUNW_1.1
-exception ( $return == 0 )
-end
-
-function cpc_getcpuref
-include <libcpc.h>
-declaration const char *cpc_getcpuref(int cpuver)
-version SUNW_1.1
-exception ( $return == 0 )
-end
-
-function cpc_getusage
-include <libcpc.h>
-declaration const char *cpc_getusage(int cpuver)
-version SUNW_1.1
-exception ( $return == 0 )
-end
-
-function cpc_getnpic
-include <libcpc.h>
-declaration uint_t cpc_getnpic(int cpuver)
-version SUNW_1.1
-exception ( $return == 0 )
-end
-
-function cpc_walk_names
-include <libcpc.h>
-declaration void cpc_walk_names(int cpuver, int regno, void *arg, \
- void (*action)(void *arg, \
- int regno, const char *name, uint8_t bits))
-version SUNW_1.1
-end
-
-function cpc_seterrfn
-include <libcpc.h>
-declaration void cpc_seterrfn(cpc_errfn_t *errfn)
-version SUNW_1.1
-end
-
-function cpc_strtoevent
-include <libcpc.h>
-declaration int cpc_strtoevent(int cpuver, const char *spec, \
- cpc_event_t *event)
-version SUNW_1.1
-exception ( $return != 0 )
-end
-
-function cpc_eventtostr
-include <libcpc.h>
-declaration char *cpc_eventtostr(cpc_event_t *event)
-version SUNW_1.1
-exception ( $return == 0 )
-end
-
-function cpc_event_accum
-include <libcpc.h>
-declaration void cpc_event_accum(cpc_event_t *accum, cpc_event_t *event)
-version SUNW_1.1
-end
-
-function cpc_event_diff
-include <libcpc.h>
-declaration void cpc_event_diff(cpc_event_t *diff, cpc_event_t *left, \
- cpc_event_t *right)
-version SUNW_1.1
-end
-
-function cpc_access
-include <libcpc.h>
-declaration int cpc_access(void)
-version SUNW_1.1
-exception ( $return == -1 )
-end
-
-function cpc_bind_event
-include <libcpc.h>
-declaration int cpc_bind_event(cpc_event_t *event, int flags)
-version SUNW_1.1
-exception ( $return == -1 )
-end
-
-function cpc_take_sample
-include <libcpc.h>
-declaration int cpc_take_sample(cpc_event_t *event)
-version SUNW_1.1
-exception ( $return == -1 )
-end
-
-function cpc_count_usr_events
-include <libcpc.h>
-declaration int cpc_count_usr_events(int enable)
-version SUNW_1.1
-exception ( $return == -1 )
-end
-
-function cpc_count_sys_events
-include <libcpc.h>
-declaration int cpc_count_sys_events(int enable)
-version SUNW_1.1
-exception ( $return == -1 )
-end
-
-function cpc_rele
-include <libcpc.h>
-declaration int cpc_rele(void)
-version SUNW_1.1
-exception ( $return == -1 )
-end
-
-function cpc_pctx_bind_event
-include <libpctx.h>, <libcpc.h>
-declaration int cpc_pctx_bind_event(pctx_t *pctx, id_t lwpid, \
- cpc_event_t *event, int flags)
-version SUNW_1.1
-exception ( $return == -1 )
-end
-
-function cpc_pctx_take_sample
-include <libpctx.h>, <libcpc.h>
-declaration int cpc_pctx_take_sample(pctx_t *pctx, id_t lwpid, \
- cpc_event_t *event)
-version SUNW_1.1
-exception ( $return == -1 )
-end
-
-function cpc_pctx_rele
-include <libpctx.h>, <libcpc.h>
-declaration int cpc_pctx_rele(pctx_t *pctx, id_t lwpid)
-version SUNW_1.1
-exception ( $return == -1 )
-end
-
-function cpc_pctx_invalidate
-include <libpctx.h>, <libcpc.h>
-declaration int cpc_pctx_invalidate(pctx_t *pctx, id_t lwpid)
-version SUNW_1.1
-exception ( $return == -1 )
-end
-
-function cpc_shared_open
-include <libcpc.h>
-declaration int cpc_shared_open(void)
-version SUNW_1.1
-exception ( $return == -1 )
-end
-
-function cpc_shared_close
-include <libcpc.h>
-declaration void cpc_shared_close(int fd)
-version SUNW_1.1
-end
-
-function cpc_shared_bind_event
-include <libcpc.h>
-declaration int cpc_shared_bind_event(int fd, cpc_event_t *event, int flags)
-version SUNW_1.1
-exception ( $return == -1 )
-end
-
-function cpc_shared_take_sample
-include <libcpc.h>
-declaration int cpc_shared_take_sample(int fd, cpc_event_t *event)
-version SUNW_1.1
-exception ( $return == -1 )
-end
-
-function cpc_shared_rele
-include <libcpc.h>
-declaration int cpc_shared_rele(int fd)
-version SUNW_1.1
-exception ( $return == -1 )
-end
-
-function cpc_open
-include <libcpc.h>
-declaration cpc_t *cpc_open(int vers)
-version SUNW_1.2
-exception ( $return == NULL )
-end
-
-function cpc_close
-include <libcpc.h>
-declaration int cpc_close(cpc_t *cpc)
-version SUNW_1.2
-exception ( $return == -1 )
-end
-
-function cpc_set_create
-include <libcpc.h>
-declaration cpc_set_t *cpc_set_create(cpc_t *cpc)
-version SUNW_1.2
-exception ( $return == NULL )
-end
-
-function cpc_set_destroy
-include <libcpc.h>
-declaration int cpc_set_destroy(cpc_t *cpc, cpc_set_t *set)
-version SUNW_1.2
-exception ( $return == -1 )
-end
-
-function cpc_set_add_request
-include <libcpc.h>
-declaration int cpc_set_add_request(cpc_t *cpc, cpc_set_t *set, \
- const char *event, uint64_t preset, uint_t flags, \
- uint_t nattrs, const cpc_attr_t *attrs)
-version SUNW_1.2
-exception ( $return == -1 )
-end
-
-function cpc_request_preset
-include <libcpc.h>
-declaration int cpc_request_preset(cpc_t *cpc, int index, uint64_t preset)
-version SUNW_1.2
-exception ( $return == -1 )
-end
-
-function cpc_set_restart
-include <libcpc.h>
-declaration int cpc_set_restart(cpc_t *cpc, cpc_set_t *set)
-version SUNW_1.2
-exception ( $return == -1 )
-end
-
-function cpc_buf_create
-include <libcpc.h>
-declaration cpc_buf_t *cpc_buf_create(cpc_t *cpc, cpc_set_t *set)
-version SUNW_1.2
-exception ( $return == NULL )
-end
-
-function cpc_buf_destroy
-include <libcpc.h>
-declaration int cpc_buf_destroy(cpc_t *cpc, cpc_buf_t *buf)
-version SUNW_1.2
-exception ( $return == -1 )
-end
-
-function cpc_bind_curlwp
-include <libcpc.h>
-declaration int cpc_bind_curlwp(cpc_t *cpc, cpc_set_t *set, uint_t flags)
-version SUNW_1.2
-exception ( $return == -1 )
-end
-
-function cpc_bind_cpu
-include <libcpc.h>
-declaration int cpc_bind_cpu(cpc_t *cpc, processorid_t id, cpc_set_t *set, \
- uint_t flags)
-version SUNW_1.2
-exception ( $return == -1 )
-end
-
-function cpc_bind_pctx
-include <libcpc.h>
-declaration int cpc_bind_pctx(cpc_t *cpc, pctx_t *pctx, id_t id, \
- cpc_set_t *set, uint_t flags)
-version SUNW_1.2
-exception ( $return == -1 )
-end
-
-function cpc_unbind
-include <libcpc.h>
-declaration int cpc_unbind(cpc_t *cpc, cpc_set_t *set)
-version SUNW_1.2
-exception ( $return == -1 )
-end
-
-function cpc_set_sample
-include <libcpc.h>
-declaration int cpc_set_sample(cpc_t *cpc, cpc_set_t *set, cpc_buf_t *buf)
-version SUNW_1.2
-exception ( $return == -1 )
-end
-
-function cpc_buf_zero
-include <libcpc.h>
-declaration void cpc_buf_zero(cpc_t *cpc, cpc_buf_t *buf)
-version SUNW_1.2
-end
-
-function cpc_buf_sub
-include <libcpc.h>
-declaration void cpc_buf_sub(cpc_t *cpc, cpc_buf_t *ds, cpc_buf_t *a, \
- cpc_buf_t *b)
-version SUNW_1.2
-end
-
-function cpc_buf_add
-include <libcpc.h>
-declaration void cpc_buf_add(cpc_t *cpc, cpc_buf_t *ds, cpc_buf_t *a, \
- cpc_buf_t *b)
-version SUNW_1.2
-end
-
-function cpc_buf_copy
-include <libcpc.h>
-declaration void cpc_buf_copy(cpc_t *cpc, cpc_buf_t *ds, cpc_buf_t *src)
-version SUNW_1.2
-end
-
-function cpc_buf_get
-include <libcpc.h>
-declaration int cpc_buf_get(cpc_t *cpc, cpc_buf_t *buf, int index, \
- uint64_t *val)
-version SUNW_1.2
-exception ( $return == -1 )
-end
-
-function cpc_buf_set
-include <libcpc.h>
-declaration int cpc_buf_set(cpc_t *cpc, cpc_buf_t *buf, int index, \
- uint64_t val)
-version SUNW_1.2
-exception ( $return == -1 )
-end
-
-function cpc_buf_hrtime
-include <libcpc.h>
-declaration hrtime_t cpc_buf_hrtime(cpc_t *cpc, cpc_buf_t *buf)
-version SUNW_1.2
-end
-
-function cpc_buf_tick
-include <libcpc.h>
-declaration uint64_t cpc_buf_tick(cpc_t *cpc, cpc_buf_t *buf)
-version SUNW_1.2
-end
-
-function cpc_walk_events_all
-include <libcpc.h>
-declaration void cpc_walk_events_all(cpc_t *cpc, void *arg, \
- void (*action)(void *arg, const char *event))
-version SUNW_1.2
-end
-
-function cpc_walk_events_pic
-include <libcpc.h>
-declaration void cpc_walk_events_pic(cpc_t *cpc, uint_t picno, void *arg, \
- void (*action)(void *arg, uint_t picno, const char *event));
-version SUNW_1.2
-end
-
-function cpc_walk_attrs
-include <libcpc.h>
-declaration void cpc_walk_attrs(cpc_t *cpc, void *arg, \
- void (*action)(void *arg, const char *attr))
-version SUNW_1.2
-end
-
-function cpc_walk_requests
-include <libcpc.h>
-declaration void cpc_walk_requests(cpc_t *cpc, cpc_set_t *set, void *arg, \
- void (*action)(void *arg, int index, const char *event, uint64_t preset, \
- uint_t flags, int nattrs, const cpc_attr_t *attrs))
-version SUNW_1.2
-end
-
-function cpc_enable
-include <libcpc.h>
-declaration int cpc_enable(cpc_t *cpc)
-version SUNW_1.2
-exception ( $return == -1 )
-end
-
-function cpc_disable
-include <libcpc.h>
-declaration int cpc_disable(cpc_t *cpc)
-version SUNW_1.2
-exception ( $return == -1 )
-end
-
-function cpc_npic
-include <libcpc.h>
-declaration uint_t cpc_npic(cpc_t *cpc)
-version SUNW_1.2
-end
-
-function cpc_caps
-include <libcpc.h>
-declaration uint_t cpc_caps(cpc_t *cpc)
-version SUNW_1.2
-end
-
-function cpc_cciname
-include <libcpc.h>
-declaration const char *cpc_cciname(cpc_t *cpc)
-version SUNW_1.2
-exception ( $return == NULL )
-end
-
-function cpc_cpuref
-include <libcpc.h>
-declaration const char *cpc_cpuref(cpc_t *cpc)
-version SUNW_1.2
-exception ( $return == NULL )
-end
-
-function cpc_seterrhndlr
-include <libcpc.h>
-declaration int cpc_seterrhndlr(cpc_t *cpc, cpc_errhndlr_t *fn)
-version SUNW_1.2
-exception ( $return == -1 )
-end
diff --git a/usr/src/lib/libcpc/spec/i386/Makefile b/usr/src/lib/libcpc/spec/i386/Makefile
deleted file mode 100644
index c7d44e5cb9..0000000000
--- a/usr/src/lib/libcpc/spec/i386/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libcpc/spec/i386/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#i386_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libcpc/spec/sparc/Makefile b/usr/src/lib/libcpc/spec/sparc/Makefile
deleted file mode 100644
index 3f5dabf87b..0000000000
--- a/usr/src/lib/libcpc/spec/sparc/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libcpc/spec/sparc/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#sparc_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libcpc/spec/sparcv9/Makefile b/usr/src/lib/libcpc/spec/sparcv9/Makefile
deleted file mode 100644
index 709adc3baa..0000000000
--- a/usr/src/lib/libcpc/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,45 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libcpc/spec/sparcv9/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#sparcv9_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libcpc/spec/versions b/usr/src/lib/libcpc/spec/versions
deleted file mode 100644
index 1d4572d689..0000000000
--- a/usr/src/lib/libcpc/spec/versions
+++ /dev/null
@@ -1,46 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-sparc {
- SUNW_1.2: {SUNW_1.1};
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-sparcv9 {
- SUNW_1.2: {SUNW_1.1};
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-i386 {
- SUNW_1.2: {SUNW_1.1};
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-amd64 {
- SUNW_1.2;
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/libcrypt/Makefile b/usr/src/lib/libcrypt/Makefile
index bde11f7726..50b2067ac1 100644
--- a/usr/src/lib/libcrypt/Makefile
+++ b/usr/src/lib/libcrypt/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,12 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
-#
+#
# ident "%Z%%M% %I% %E% SMI"
#
-# usr/src/lib/libcrypt/Makefile
include ../Makefile.lib
@@ -40,13 +38,11 @@ lint := TARGET= lint
.KEEP_STATE:
-all clean clobber install: spec .WAIT $(SUBDIRS)
-
-lint: $(SUBDIRS)
+all clean clobber install lint: $(SUBDIRS)
check: $(CHECKHDRS)
-spec $(SUBDIRS): FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
diff --git a/usr/src/lib/libcrypt/Makefile.com b/usr/src/lib/libcrypt/Makefile.com
index b9092b8121..0e7af514ce 100644
--- a/usr/src/lib/libcrypt/Makefile.com
+++ b/usr/src/lib/libcrypt/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -42,9 +41,6 @@ include ../../Makefile.lib
SRCDIR= ../common
LIBS= $(DYNLIB) $(LINTLIB)
-SRCS= $(OBJECTS:%.o=$(SRCDIR)/%.c)
-MAPDIR= ../spec/$(TRANSMACH)
-SPECMAPFILE= $(MAPDIR)/mapfile
$(LINTLIB):= SRCS=$(SRCDIR)/$(LINTSRC)
diff --git a/usr/src/lib/libcrypt/common/mapfile-vers b/usr/src/lib/libcrypt/common/mapfile-vers
new file mode 100644
index 0000000000..e5bd887454
--- /dev/null
+++ b/usr/src/lib/libcrypt/common/mapfile-vers
@@ -0,0 +1,65 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNW_1.1 {
+ global:
+ crypt = FUNCTION FILTER libc.so.1;
+ encrypt = FUNCTION FILTER libc.so.1;
+ setkey = FUNCTION FILTER libc.so.1;
+};
+
+SUNWprivate_1.1 {
+ global:
+ cbc_crypt;
+ _crypt = FUNCTION FILTER libc.so.1;
+ crypt_close;
+ _crypt_close;
+ crypt_close_nolock;
+ des_crypt;
+ _des_crypt;
+ __des_crypt;
+ _des_decrypt1;
+ des_encrypt;
+ _des_encrypt;
+ des_encrypt1;
+ _des_encrypt1;
+ des_setkey;
+ _des_setkey;
+ des_setparity;
+ ecb_crypt;
+ _encrypt = FUNCTION FILTER libc.so.1;
+ _lib_version;
+ makekey;
+ _makekey;
+ run_crypt;
+ _run_crypt;
+ run_setkey;
+ _run_setkey;
+ _setkey = FUNCTION FILTER libc.so.1;
+ local:
+ *;
+};
diff --git a/usr/src/lib/libcrypt/spec/Makefile b/usr/src/lib/libcrypt/spec/Makefile
deleted file mode 100644
index 7bfb8914a5..0000000000
--- a/usr/src/lib/libcrypt/spec/Makefile
+++ /dev/null
@@ -1,31 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libcrypt/spec/Makefile
-
-include $(SRC)/Makefile.master
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/libcrypt/spec/Makefile.targ b/usr/src/lib/libcrypt/spec/Makefile.targ
deleted file mode 100644
index b3c0b4d2f9..0000000000
--- a/usr/src/lib/libcrypt/spec/Makefile.targ
+++ /dev/null
@@ -1,33 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libcrypt/spec/Makefile.targ
-
-LIBRARY = libcrypt.a
-VERS = .1
-
-OBJECTS = crypt.o
diff --git a/usr/src/lib/libcrypt/spec/amd64/Makefile b/usr/src/lib/libcrypt/spec/amd64/Makefile
deleted file mode 100644
index 4b31884011..0000000000
--- a/usr/src/lib/libcrypt/spec/amd64/Makefile
+++ /dev/null
@@ -1,37 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libcrypt/spec/$(MACH64)/Makefile
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-include $(SRC)/lib/Makefile.spec
-
-.KEEP_STATE:
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libcrypt/spec/crypt.spec b/usr/src/lib/libcrypt/spec/crypt.spec
deleted file mode 100644
index b5c4820f4c..0000000000
--- a/usr/src/lib/libcrypt/spec/crypt.spec
+++ /dev/null
@@ -1,170 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-function setkey
-version SUNW_1.1
-filter libc.so.1
-end
-
-function encrypt
-version SUNW_1.1
-filter libc.so.1
-end
-
-function crypt
-version SUNW_1.1
-filter libc.so.1
-end
-
-function des_setkey
-include <crypt.h>
-declaration void des_setkey(const char *key)
-version SUNWprivate_1.1
-end
-
-function run_setkey
-include <crypt.h>
-declaration int run_setkey(int *p, const char *keyparam)
-version SUNWprivate_1.1
-end
-
-function run_crypt
-include <crypt.h>
-declaration int run_crypt(long offset, char *buffer, unsigned int count, int *p)
-version SUNWprivate_1.1
-end
-
-function makekey
-declaration int makekey(int *b)
-version SUNWprivate_1.1
-exception $return == -1
-end
-
-function crypt_close_nolock
-version SUNWprivate_1.1
-end
-
-function crypt_close
-declaration int crypt_close(int *p)
-version SUNWprivate_1.1
-end
-
-function des_encrypt
-declaration void des_encrypt(char *block, int edflag)
-version SUNWprivate_1.1
-end
-
-function des_crypt
-declaration char *des_crypt(const char *pw, const char *salt)
-version SUNWprivate_1.1
-end
-
-#
-# weak interfaces
-#
-
-function _lib_version
-version SUNWprivate_1.1
-end
-
-function _setkey
-version SUNWprivate_1.1
-filter libc.so.1
-end
-
-function _encrypt
-version SUNWprivate_1.1
-filter libc.so.1
-end
-
-function _crypt
-version SUNWprivate_1.1
-filter libc.so.1
-end
-
-function _run_setkey
-weak run_setkey
-version SUNWprivate_1.1
-end
-
-function _run_crypt
-weak run_crypt
-version SUNWprivate_1.1
-end
-
-function _crypt_close
-weak crypt_close
-version SUNWprivate_1.1
-end
-
-function _makekey
-weak makekey
-version SUNWprivate_1.1
-end
-
-function _des_setkey
-weak des_setkey
-version SUNWprivate_1.1
-end
-
-function _des_encrypt
-weak des_encrypt
-version SUNWprivate_1.1
-end
-
-function _des_crypt
-weak des_crypt
-version SUNWprivate_1.1
-end
-
-function des_setparity
-version SUNWprivate_1.1
-end
-
-function ecb_crypt
-version SUNWprivate_1.1
-end
-
-function cbc_crypt
-version SUNWprivate_1.1
-end
-
-function des_encrypt1
-version SUNWprivate_1.1
-end
-
-function _des_encrypt1
-version SUNWprivate_1.1
-end
-
-function __des_crypt
-version SUNWprivate_1.1
-end
-
-function _des_decrypt1
-version SUNWprivate_1.1
-end
diff --git a/usr/src/lib/libcrypt/spec/i386/Makefile b/usr/src/lib/libcrypt/spec/i386/Makefile
deleted file mode 100644
index 4365a173d5..0000000000
--- a/usr/src/lib/libcrypt/spec/i386/Makefile
+++ /dev/null
@@ -1,37 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libcrypt/spec/$(MACH32)/Makefile
-
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-.KEEP_STATE:
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libcrypt/spec/sparc/Makefile b/usr/src/lib/libcrypt/spec/sparc/Makefile
deleted file mode 100644
index 9b7e7ba95a..0000000000
--- a/usr/src/lib/libcrypt/spec/sparc/Makefile
+++ /dev/null
@@ -1,37 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libcrypt/spec/$(MACH32)/Makefile
-
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-.KEEP_STATE:
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libcrypt/spec/sparcv9/Makefile b/usr/src/lib/libcrypt/spec/sparcv9/Makefile
deleted file mode 100644
index 4b31884011..0000000000
--- a/usr/src/lib/libcrypt/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,37 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libcrypt/spec/$(MACH64)/Makefile
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-include $(SRC)/lib/Makefile.spec
-
-.KEEP_STATE:
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libcrypt/spec/versions b/usr/src/lib/libcrypt/spec/versions
deleted file mode 100644
index 125f9b00f1..0000000000
--- a/usr/src/lib/libcrypt/spec/versions
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# vers file for libcrypt
-#
-i386 {
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-sparc {
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-sparcv9 {
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-amd64 {
- SUNW_1.1;
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/libcryptoutil/Makefile b/usr/src/lib/libcryptoutil/Makefile
index 687e767a20..3f17cf53ab 100644
--- a/usr/src/lib/libcryptoutil/Makefile
+++ b/usr/src/lib/libcryptoutil/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,12 +19,13 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
+#
-include $(SRC)/lib/Makefile.lib
+include $(SRC)/lib/Makefile.lib
HDRS= cryptoutil.h
HDRDIR= common
@@ -40,13 +40,13 @@ lint := TARGET= lint
.KEEP_STATE:
-all clean clobber install lint: spec .WAIT $(SUBDIRS)
+all clean clobber install lint: $(SUBDIRS)
install_h: $(ROOTHDRS)
check: $(CHECKHDRS)
-spec $(SUBDIRS): FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
diff --git a/usr/src/lib/libcryptoutil/Makefile.com b/usr/src/lib/libcryptoutil/Makefile.com
index 716bd94b1e..2beda723bb 100644
--- a/usr/src/lib/libcryptoutil/Makefile.com
+++ b/usr/src/lib/libcryptoutil/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,7 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
@@ -42,7 +41,6 @@ include $(SRC)/lib/Makefile.lib
SRCDIR= ../common
LIBS = $(DYNLIB) $(LINTLIB)
-SRCS= $(OBJECTS:%.o=../common/%.c)
$(LINTLIB) := SRCS = $(SRCDIR)/$(LINTSRC)
LDLIBS += -lc
diff --git a/usr/src/lib/libcryptoutil/common/mapfile-vers b/usr/src/lib/libcryptoutil/common/mapfile-vers
new file mode 100644
index 0000000000..92e53197af
--- /dev/null
+++ b/usr/src/lib/libcryptoutil/common/mapfile-vers
@@ -0,0 +1,45 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNWprivate_1.1 {
+ global:
+ create_umech;
+ cryptodebug;
+ cryptodebug_init;
+ cryptoerror;
+ free_uentry;
+ free_uentrylist;
+ free_umechlist;
+ get_pkcs11conf_info;
+ pkcs11_mech2keytype;
+ pkcs11_mech2str;
+ pkcs11_str2mech;
+ pkcs11_strerror;
+ tohexstr;
+ local:
+ *;
+};
diff --git a/usr/src/lib/libcryptoutil/spec/Makefile b/usr/src/lib/libcryptoutil/spec/Makefile
deleted file mode 100644
index 7fc3c15e34..0000000000
--- a/usr/src/lib/libcryptoutil/spec/Makefile
+++ /dev/null
@@ -1,28 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"U
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/libcryptoutil/spec/Makefile.targ b/usr/src/lib/libcryptoutil/spec/Makefile.targ
deleted file mode 100644
index fb1d5ef898..0000000000
--- a/usr/src/lib/libcryptoutil/spec/Makefile.targ
+++ /dev/null
@@ -1,31 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"U
-
-LIBRARY = libcryptoutil.a
-VERS = .1
-
-OBJECTS = cryptoutil.o
diff --git a/usr/src/lib/libcryptoutil/spec/amd64/Makefile b/usr/src/lib/libcryptoutil/spec/amd64/Makefile
deleted file mode 100644
index 40a72c892d..0000000000
--- a/usr/src/lib/libcryptoutil/spec/amd64/Makefile
+++ /dev/null
@@ -1,43 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"I
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#amd64 = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libcryptoutil/spec/cryptoutil.spec b/usr/src/lib/libcryptoutil/spec/cryptoutil.spec
deleted file mode 100644
index 947cce551a..0000000000
--- a/usr/src/lib/libcryptoutil/spec/cryptoutil.spec
+++ /dev/null
@@ -1,104 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libcryptoutil/spec/cryptoutil.spec
-
-function cryptodebug
-include <cryptoutil.h>
-declaration void cryptodebug(const char *fmt, ...)
-version SUNWprivate_1.1
-end
-
-function cryptoerror
-include <cryptoutil.h>
-declaration void cryptoerror(int priority, const char *fmt, ...)
-version SUNWprivate_1.1
-end
-
-function cryptodebug_init
-include <cryptoutil.h>
-declaration void cryptodebug_init(const char *prefix)
-version SUNWprivate_1.1
-end
-
-function pkcs11_mech2str
-include <cryptoutil.h>
-declaration char *pkcs11_mech2str(CK_MECHANISM_TYPE mech)
-version SUNWprivate_1.1
-end
-
-function pkcs11_str2mech
-include <cryptoutil.h>
-declaration CK_RV pkcs11_str2mech(char *mech_str, CK_MECHANISM_TYPE_PTR mech)
-version SUNWprivate_1.1
-end
-
-function pkcs11_mech2keytype
-include <cryptoutil.h>
-declaration CK_RV pkcs11_mech2keytype(CK_MECHANISM_TYPE mech_type, CK_KEY_TYPE *ktype)
-version SUNWprivate_1.1
-end
-
-function pkcs11_strerror
-include <cryptoutil.h>
-declaration char *pkcs11_strerror(CK_RV rv)
-version SUNWprivate_1.1
-end
-function get_pkcs11conf_info
-include <cryptoutil.h>
-declaration int get_pkcs11conf_info(uentrylist_t **)
-version SUNWprivate_1.1
-end
-
-function tohexstr
-include <cryptoutil.h>
-declaration void tohexstr(uchar_t *bytes, size_t blen, char *hexstr, size_t hexlen)
-version SUNWprivate_1.1
-end
-
-function create_umech
-include <cryptoutil.h>
-declaration umechlist_t *create_umech(char *)
-version SUNWprivate_1.1
-end
-
-function free_umechlist
-include <cryptoutil.h>
-declaration void free_umechlist(umechlist_t *)
-version SUNWprivate_1.1
-end
-
-function free_uentrylist
-include <cryptoutil.h>
-declaration void free_uentrylist(uentrylist_t *)
-version SUNWprivate_1.1
-end
-
-function free_uentry
-include <cryptoutil.h>
-declaration void free_uentry(uentry_t *)
-version SUNWprivate_1.1
-end
diff --git a/usr/src/lib/libcryptoutil/spec/i386/Makefile b/usr/src/lib/libcryptoutil/spec/i386/Makefile
deleted file mode 100644
index bb5123e331..0000000000
--- a/usr/src/lib/libcryptoutil/spec/i386/Makefile
+++ /dev/null
@@ -1,42 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"I
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#i386_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libcryptoutil/spec/sparc/Makefile b/usr/src/lib/libcryptoutil/spec/sparc/Makefile
deleted file mode 100644
index 76d47aab26..0000000000
--- a/usr/src/lib/libcryptoutil/spec/sparc/Makefile
+++ /dev/null
@@ -1,42 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#sparc_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libcryptoutil/spec/sparcv9/Makefile b/usr/src/lib/libcryptoutil/spec/sparcv9/Makefile
deleted file mode 100644
index 1cfa32dc3c..0000000000
--- a/usr/src/lib/libcryptoutil/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,43 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#sparcv9_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libcryptoutil/spec/versions b/usr/src/lib/libcryptoutil/spec/versions
deleted file mode 100644
index a990772196..0000000000
--- a/usr/src/lib/libcryptoutil/spec/versions
+++ /dev/null
@@ -1,38 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-sparc {
- SUNWprivate_1.1;
-}
-sparcv9 {
- SUNWprivate_1.1;
-}
-i386 {
- SUNWprivate_1.1;
-}
-amd64 {
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/libctf/Makefile b/usr/src/lib/libctf/Makefile
index 097d5836ce..5a8b3f9ed4 100644
--- a/usr/src/lib/libctf/Makefile
+++ b/usr/src/lib/libctf/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,8 +19,8 @@
# CDDL HEADER END
#
#
-# Copyright (c) 2001 by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
@@ -42,15 +41,13 @@ lint := TARGET = lint
.KEEP_STATE:
-all clean clobber install: spec .WAIT $(SUBDIRS)
-
-lint: $(SUBDIRS)
+all clean clobber install lint: $(SUBDIRS)
install_h: $(ROOTHDRS)
check: $(CHECKHDRS)
-spec $(SUBDIRS): FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
diff --git a/usr/src/lib/libctf/Makefile.com b/usr/src/lib/libctf/Makefile.com
index c17e3da43e..267d67aa18 100644
--- a/usr/src/lib/libctf/Makefile.com
+++ b/usr/src/lib/libctf/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,7 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
@@ -53,7 +52,6 @@ SRCS = $(COMMON_OBJS:%.o=../../../common/ctf/%.c) $(LIB_OBJS:%.o=../common/%.c)
LIBS = $(DYNLIB) $(LINTLIB)
SRCDIR = ../common
-SPECMAPFILE = $(MAPDIR)/mapfile
CPPFLAGS += -I../common -I../../../common/ctf -DCTF_OLD_VERSIONS
CFLAGS += $(CCVERBOSE)
diff --git a/usr/src/lib/libctf/amd64/Makefile b/usr/src/lib/libctf/amd64/Makefile
index 3914aa208b..c9bd26cfd3 100644
--- a/usr/src/lib/libctf/amd64/Makefile
+++ b/usr/src/lib/libctf/amd64/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,13 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-MAPDIR = ../spec/amd64
include ../Makefile.com
include ../../Makefile.lib.64
diff --git a/usr/src/lib/libctf/common/mapfile-vers b/usr/src/lib/libctf/common/mapfile-vers
new file mode 100644
index 0000000000..78739ae56a
--- /dev/null
+++ b/usr/src/lib/libctf/common/mapfile-vers
@@ -0,0 +1,101 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+# There really should be only one SUNWprivate version.
+# Don't add any more. Add new private symbols to SUNWprivate_1.2
+
+SUNWprivate_1.2 {
+ global:
+ ctf_add_array;
+ ctf_add_const;
+ ctf_add_enum;
+ ctf_add_enumerator;
+ ctf_add_float;
+ ctf_add_forward;
+ ctf_add_function;
+ ctf_add_integer;
+ ctf_add_member;
+ ctf_add_pointer;
+ ctf_add_restrict;
+ ctf_add_struct;
+ ctf_add_type;
+ ctf_add_typedef;
+ ctf_add_union;
+ ctf_add_volatile;
+ ctf_create;
+ ctf_discard;
+ ctf_enum_value;
+ ctf_label_info;
+ ctf_label_iter;
+ ctf_label_topmost;
+ ctf_member_info;
+ ctf_parent_file;
+ ctf_parent_name;
+ ctf_set_array;
+ ctf_type_align;
+ ctf_type_cmp;
+ ctf_type_compat;
+ ctf_type_pointer;
+ ctf_update;
+ ctf_write;
+} SUNWprivate_1.1;
+
+SUNWprivate_1.1 {
+ global:
+ ctf_array_info;
+ ctf_bufopen;
+ ctf_close;
+ ctf_enum_iter;
+ ctf_enum_name;
+ ctf_errmsg;
+ ctf_errno;
+ ctf_fdopen;
+ ctf_func_args;
+ ctf_func_info;
+ ctf_getmodel;
+ ctf_getspecific;
+ ctf_import;
+ ctf_lookup_by_name;
+ ctf_lookup_by_symbol;
+ ctf_member_iter;
+ ctf_open;
+ ctf_setmodel;
+ ctf_setspecific;
+ ctf_type_encoding;
+ ctf_type_iter;
+ ctf_type_kind;
+ ctf_type_lname;
+ ctf_type_name;
+ ctf_type_reference;
+ ctf_type_resolve;
+ ctf_type_size;
+ ctf_type_visit;
+ ctf_version;
+ _libctf_debug;
+ local:
+ *;
+};
diff --git a/usr/src/lib/libctf/i386/Makefile b/usr/src/lib/libctf/i386/Makefile
index f18c377711..a333224278 100644
--- a/usr/src/lib/libctf/i386/Makefile
+++ b/usr/src/lib/libctf/i386/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,12 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright (c) 2001 by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
#
-#ident "%Z%%M% %I% %E% SMI"
-MAPDIR = ../spec/i386
include ../Makefile.com
install: all $(ROOTLIBS) $(ROOTLINKS) $(ROOTLINT)
diff --git a/usr/src/lib/libctf/sparc/Makefile b/usr/src/lib/libctf/sparc/Makefile
index 3d3aea72dd..a333224278 100644
--- a/usr/src/lib/libctf/sparc/Makefile
+++ b/usr/src/lib/libctf/sparc/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,12 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright (c) 2001 by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
#
-#ident "%Z%%M% %I% %E% SMI"
-MAPDIR = ../spec/sparc
include ../Makefile.com
install: all $(ROOTLIBS) $(ROOTLINKS) $(ROOTLINT)
diff --git a/usr/src/lib/libctf/sparcv9/Makefile b/usr/src/lib/libctf/sparcv9/Makefile
index 9c3e0f53b8..c9bd26cfd3 100644
--- a/usr/src/lib/libctf/sparcv9/Makefile
+++ b/usr/src/lib/libctf/sparcv9/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,12 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright (c) 2001 by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
#
-#ident "%Z%%M% %I% %E% SMI"
-MAPDIR = ../spec/sparcv9
include ../Makefile.com
include ../../Makefile.lib.64
diff --git a/usr/src/lib/libctf/spec/Makefile b/usr/src/lib/libctf/spec/Makefile
deleted file mode 100644
index 39ee06a616..0000000000
--- a/usr/src/lib/libctf/spec/Makefile
+++ /dev/null
@@ -1,28 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 2001 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/libctf/spec/Makefile.targ b/usr/src/lib/libctf/spec/Makefile.targ
deleted file mode 100644
index d4c1f1050d..0000000000
--- a/usr/src/lib/libctf/spec/Makefile.targ
+++ /dev/null
@@ -1,32 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 2001 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-.KEEP_STATE:
-
-LIBRARY = libctf.a
-VERS = .1
-OBJECTS = ctf.o
diff --git a/usr/src/lib/libctf/spec/amd64/Makefile b/usr/src/lib/libctf/spec/amd64/Makefile
deleted file mode 100644
index 026853df1b..0000000000
--- a/usr/src/lib/libctf/spec/amd64/Makefile
+++ /dev/null
@@ -1,37 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libctf/spec/ctf.spec b/usr/src/lib/libctf/spec/ctf.spec
deleted file mode 100644
index 552816c9db..0000000000
--- a/usr/src/lib/libctf/spec/ctf.spec
+++ /dev/null
@@ -1,273 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-data _libctf_debug
-version SUNWprivate_1.1
-end
-
-function ctf_add_array
-version SUNWprivate_1.2
-end
-
-function ctf_add_const
-version SUNWprivate_1.2
-end
-
-function ctf_add_enum
-version SUNWprivate_1.2
-end
-
-function ctf_add_enumerator
-version SUNWprivate_1.2
-end
-
-function ctf_add_float
-version SUNWprivate_1.2
-end
-
-function ctf_add_forward
-version SUNWprivate_1.2
-end
-
-function ctf_add_function
-version SUNWprivate_1.2
-end
-
-function ctf_add_integer
-version SUNWprivate_1.2
-end
-
-function ctf_add_member
-version SUNWprivate_1.2
-end
-
-function ctf_add_pointer
-version SUNWprivate_1.2
-end
-
-function ctf_add_restrict
-version SUNWprivate_1.2
-end
-
-function ctf_add_struct
-version SUNWprivate_1.2
-end
-
-function ctf_add_type
-version SUNWprivate_1.2
-end
-
-function ctf_add_typedef
-version SUNWprivate_1.2
-end
-
-function ctf_add_union
-version SUNWprivate_1.2
-end
-
-function ctf_add_volatile
-version SUNWprivate_1.2
-end
-
-function ctf_array_info
-version SUNWprivate_1.1
-end
-
-function ctf_bufopen
-version SUNWprivate_1.1
-end
-
-function ctf_close
-version SUNWprivate_1.1
-end
-
-function ctf_create
-version SUNWprivate_1.2
-end
-
-function ctf_discard
-version SUNWprivate_1.2
-end
-
-function ctf_enum_iter
-version SUNWprivate_1.1
-end
-
-function ctf_enum_name
-version SUNWprivate_1.1
-end
-
-function ctf_enum_value
-version SUNWprivate_1.2
-end
-
-function ctf_errmsg
-version SUNWprivate_1.1
-end
-
-function ctf_errno
-version SUNWprivate_1.1
-end
-
-function ctf_fdopen
-version SUNWprivate_1.1
-end
-
-function ctf_func_args
-version SUNWprivate_1.1
-end
-
-function ctf_func_info
-version SUNWprivate_1.1
-end
-
-function ctf_getmodel
-version SUNWprivate_1.1
-end
-
-function ctf_getspecific
-version SUNWprivate_1.1
-end
-
-function ctf_import
-version SUNWprivate_1.1
-end
-
-function ctf_label_info
-version SUNWprivate_1.2
-end
-
-function ctf_label_iter
-version SUNWprivate_1.2
-end
-
-function ctf_label_topmost
-version SUNWprivate_1.2
-end
-
-function ctf_lookup_by_name
-version SUNWprivate_1.1
-end
-
-function ctf_lookup_by_symbol
-version SUNWprivate_1.1
-end
-
-function ctf_member_info
-version SUNWprivate_1.2
-end
-
-function ctf_member_iter
-version SUNWprivate_1.1
-end
-
-function ctf_open
-version SUNWprivate_1.1
-end
-
-function ctf_parent_file
-version SUNWprivate_1.2
-end
-
-function ctf_parent_name
-version SUNWprivate_1.2
-end
-
-function ctf_setmodel
-version SUNWprivate_1.1
-end
-
-function ctf_setspecific
-version SUNWprivate_1.1
-end
-
-function ctf_set_array
-version SUNWprivate_1.2
-end
-
-function ctf_type_align
-version SUNWprivate_1.2
-end
-
-function ctf_type_cmp
-version SUNWprivate_1.2
-end
-
-function ctf_type_compat
-version SUNWprivate_1.2
-end
-
-function ctf_type_encoding
-version SUNWprivate_1.1
-end
-
-function ctf_type_iter
-version SUNWprivate_1.1
-end
-
-function ctf_type_kind
-version SUNWprivate_1.1
-end
-
-function ctf_type_lname
-version SUNWprivate_1.1
-end
-
-function ctf_type_name
-version SUNWprivate_1.1
-end
-
-function ctf_type_pointer
-version SUNWprivate_1.2
-end
-
-function ctf_type_reference
-version SUNWprivate_1.1
-end
-
-function ctf_type_resolve
-version SUNWprivate_1.1
-end
-
-function ctf_type_size
-version SUNWprivate_1.1
-end
-
-function ctf_type_visit
-version SUNWprivate_1.1
-end
-
-function ctf_write
-version SUNWprivate_1.2
-end
-
-function ctf_update
-version SUNWprivate_1.2
-end
-
-function ctf_version
-version SUNWprivate_1.1
-end
diff --git a/usr/src/lib/libctf/spec/i386/Makefile b/usr/src/lib/libctf/spec/i386/Makefile
deleted file mode 100644
index 144265254a..0000000000
--- a/usr/src/lib/libctf/spec/i386/Makefile
+++ /dev/null
@@ -1,35 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 2001 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB)
diff --git a/usr/src/lib/libctf/spec/sparc/Makefile b/usr/src/lib/libctf/spec/sparc/Makefile
deleted file mode 100644
index 2043f6dc4c..0000000000
--- a/usr/src/lib/libctf/spec/sparc/Makefile
+++ /dev/null
@@ -1,35 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 2001 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB)
diff --git a/usr/src/lib/libctf/spec/sparcv9/Makefile b/usr/src/lib/libctf/spec/sparcv9/Makefile
deleted file mode 100644
index 2d54261765..0000000000
--- a/usr/src/lib/libctf/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 2001 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libctf/spec/versions b/usr/src/lib/libctf/spec/versions
deleted file mode 100644
index c15a94cfe8..0000000000
--- a/usr/src/lib/libctf/spec/versions
+++ /dev/null
@@ -1,46 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-i386 {
- SUNWprivate_1.2: {SUNWprivate_1.1};
- SUNWprivate_1.1;
-}
-
-amd64 {
- SUNWprivate_1.2: {SUNWprivate_1.1};
- SUNWprivate_1.1;
-}
-
-sparc {
- SUNWprivate_1.2: {SUNWprivate_1.1};
- SUNWprivate_1.1;
-}
-
-sparcv9 {
- SUNWprivate_1.2: {SUNWprivate_1.1};
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/libcurses/Makefile b/usr/src/lib/libcurses/Makefile
index 27a9dc4a70..a1b04c3e9f 100644
--- a/usr/src/lib/libcurses/Makefile
+++ b/usr/src/lib/libcurses/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,19 +19,16 @@
# CDDL HEADER END
#
#
-# Copyright 1990-2002 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libcurses/Makefile
-#
-# The builds occur in isa subdirectories.
-#
include ../Makefile.lib
-SUBDIRS = spec .WAIT $(MACH) $(BUILD64) $(MACH64)
+SUBDIRS = $(MACH)
+$(BUILD64)SUBDIRS += $(MACH64)
# conditional assignments
all := TARGET= all
@@ -85,7 +81,7 @@ check: $(CHECKHDRS)
scrfiles: $(SCRFILES)
-$(MACH) $(MACH64) spec: FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
ED = ed
@@ -119,11 +115,11 @@ screen/tmp:
rm -rf $@
mkdir $@
-_msg: $(MSGDOMAIN) $(POFILE)
+_msg: $(MSGDOMAIN) .WAIT $(POFILE)
$(RM) $(MSGDOMAIN)/$(POFILE)
$(CP) $(POFILE) $(MSGDOMAIN)
-$(POFILE): .WAIT $(POFILES)
+$(POFILE): $(POFILES)
$(RM) $@
$(CAT) $(POFILES) > $@
diff --git a/usr/src/lib/libcurses/Makefile.com b/usr/src/lib/libcurses/Makefile.com
index 093db7a79a..6db4b1cc4e 100644
--- a/usr/src/lib/libcurses/Makefile.com
+++ b/usr/src/lib/libcurses/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,13 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libcurses/screen/Makefile
-#
+
LIBRARY= libcurses.a
VERS= .1
@@ -136,10 +134,7 @@ include ../../Makefile.lib
# install this library in the root filesystem
include ../../Makefile.rootfs
-MAPFILE= $(MAPDIR)/mapfile
-MAPOPTS= $(MAPFILE:%=-M %)
-
-SRCS= $(OBJECTS:%.o=../screen/%.c)
+SRCDIR = ../screen
LIBS = $(DYNLIB) $(LINTLIB)
@@ -159,7 +154,7 @@ ROOTLINKS64= $(ROOTLIBDIR64)/$(LIBLINKS)
CLEANFILES += $(LINTOUT) $(LINTLIB)
CFLAGS += $(CCVERBOSE)
-DYNFLAGS += $(MAPOPTS)
+
LDLIBS += -lc
CPPFLAGS += -I../screen -I../../common/inc
@@ -179,12 +174,6 @@ all: $(LIBS)
lint: lintcheck
-$(DYNLIB): $(MAPFILE)
-
-$(MAPFILE):
- @cd $(MAPDIR); $(MAKE) mapfile
-
-
# install rule for 32-bit libcurses.a
$(ROOTLIBDIR)/%.a: %.a
$(INS.file)
@@ -204,15 +193,6 @@ $(ROOTLINKS) := INS.liblink= \
$(SYMLINK) libtermlib.so$(VERS) libtermlib.so; \
$(SYMLINK) libtermcap.so$(VERS) libtermcap.so;
-#
-# Include library targets
-#
-include ../../Makefile.targ
-
-pics/%.o: ../screen/%.c
- $(COMPILE.c) -o $@ $<
- $(POST_PROCESS_O)
-
# install rule for lint library target
$(ROOTLINTDIR)/%: ../screen/%
$(INS.file)
@@ -234,3 +214,8 @@ $(ROOTLINTDIR64)/%: ../screen/%
$(RM) llib-ltermcap.ln llib-ltermlib.ln ; \
$(SYMLINK) ./llib-lcurses.ln llib-ltermcap.ln; \
$(SYMLINK) ./llib-lcurses.ln llib-ltermlib.ln;
+
+#
+# Include library targets
+#
+include ../../Makefile.targ
diff --git a/usr/src/lib/libcurses/amd64/Makefile b/usr/src/lib/libcurses/amd64/Makefile
index 4733b9a3dd..5e8087fc09 100644
--- a/usr/src/lib/libcurses/amd64/Makefile
+++ b/usr/src/lib/libcurses/amd64/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-MAPDIR= ../spec/amd64
-
include ../Makefile.com
include ../../Makefile.lib.64
diff --git a/usr/src/lib/libcurses/i386/Makefile b/usr/src/lib/libcurses/i386/Makefile
index 951cf8b81d..2a944b0b43 100644
--- a/usr/src/lib/libcurses/i386/Makefile
+++ b/usr/src/lib/libcurses/i386/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright 1997-2003 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libcurses/i386/Makefile
-
-MAPDIR= ../spec/i386
include ../Makefile.com
diff --git a/usr/src/lib/libcurses/screen/mapfile-vers b/usr/src/lib/libcurses/screen/mapfile-vers
new file mode 100644
index 0000000000..d499d4689a
--- /dev/null
+++ b/usr/src/lib/libcurses/screen/mapfile-vers
@@ -0,0 +1,581 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNW_1.1 {
+ global:
+ addch;
+ addchnstr;
+ addchstr;
+ addnstr;
+ addnwstr;
+ addstr;
+ addwch;
+ addwchnstr;
+ addwchstr;
+ addwstr;
+ attroff;
+ attron;
+ attrset;
+ baudrate;
+ beep;
+ bkgd;
+ bkgdset;
+ border;
+ box;
+ can_change_color;
+ cbreak;
+ clear;
+ clearok;
+ clrtobot;
+ clrtoeol;
+ color_content;
+ copywin;
+ crmode;
+ curs_set;
+ def_prog_mode;
+ def_shell_mode;
+ delay_output;
+ delch;
+ del_curterm;
+ deleteln;
+ delscreen;
+ delwin;
+ derwin;
+ doupdate;
+ dupwin;
+ echo;
+ echochar;
+ echowchar;
+ endwin;
+ erase;
+ erasechar;
+ filter;
+ flash;
+ flushinp;
+ getch;
+ getnwstr;
+ getstr;
+ _getsyx;
+ getwch;
+ getwin;
+ getwstr;
+ halfdelay;
+ has_colors;
+ has_ic;
+ has_il;
+ idcok;
+ idlok;
+ immedok;
+ inch;
+ inchnstr;
+ inchstr;
+ init_color;
+ init_pair;
+ initscr;
+ innstr;
+ innwstr;
+ insch;
+ insdelln;
+ insertln;
+ insnstr;
+ insnwstr;
+ insstr;
+ instr;
+ inswch;
+ inswstr;
+ intrflush;
+ inwch;
+ inwchnstr;
+ inwchstr;
+ inwstr;
+ isendwin;
+ is_linetouched;
+ is_wintouched;
+ keyname;
+ keypad;
+ killchar;
+ leaveok;
+ longname;
+ meta;
+ _meta;
+ move;
+ mvaddch;
+ mvaddchnstr;
+ mvaddchstr;
+ mvaddnstr;
+ mvaddnwstr;
+ mvaddstr;
+ mvaddwch;
+ mvaddwchnstr;
+ mvaddwchstr;
+ mvaddwstr;
+ mvcur;
+ mvdelch;
+ mvderwin;
+ mvgetch;
+ mvgetnwstr;
+ mvgetstr;
+ mvgetwch;
+ mvgetwstr;
+ mvinch;
+ mvinchnstr;
+ mvinchstr;
+ mvinnstr;
+ mvinnwstr;
+ mvinsch;
+ mvinsnstr;
+ mvinsnwstr;
+ mvinsstr;
+ mvinstr;
+ mvinswch;
+ mvinswstr;
+ mvinwch;
+ mvinwchnstr;
+ mvinwchstr;
+ mvinwstr;
+ mvprintw;
+ mvscanw;
+ mvwaddch;
+ mvwaddchnstr;
+ mvwaddchstr;
+ mvwaddnstr;
+ mvwaddnwstr;
+ mvwaddstr;
+ mvwaddwch;
+ mvwaddwchnstr;
+ mvwaddwchstr;
+ mvwaddwstr;
+ mvwdelch;
+ mvwgetch;
+ mvwgetnwstr;
+ mvwgetstr;
+ mvwgetwch;
+ mvwgetwstr;
+ mvwin;
+ mvwinch;
+ mvwinchnstr;
+ mvwinchstr;
+ mvwinnstr;
+ mvwinnwstr;
+ mvwinsch;
+ mvwinsnstr;
+ mvwinsnwstr;
+ mvwinsstr;
+ mvwinstr;
+ mvwinswch;
+ mvwinswstr;
+ mvwinwch;
+ mvwinwchnstr;
+ mvwinwchstr;
+ mvwinwstr;
+ mvwprintw;
+ mvwscanw;
+ napms;
+ newpad;
+ newterm;
+ newwin;
+ nl;
+ nocbreak;
+ nocrmode;
+ nodelay;
+ noecho;
+ nonl;
+ noqiflush;
+ noraw;
+ notimeout;
+ overlay;
+ overwrite;
+ pair_content;
+ pechochar;
+ pechowchar;
+ pnoutrefresh;
+ prefresh;
+ printw;
+ putp;
+ putwin;
+ qiflush;
+ raw;
+ redrawwin;
+ refresh;
+ reset_prog_mode;
+ reset_shell_mode;
+ resetty;
+ restartterm;
+ _ring;
+ ripoffline;
+ savetty;
+ scanw;
+ scr_dump;
+ scr_init;
+ scrl;
+ scroll;
+ scrollok;
+ scr_restore;
+ scr_set;
+ _setecho;
+ _setnonl;
+ _setqiflush;
+ setscrreg;
+ setsyx;
+ set_term;
+ setterm;
+ setupterm;
+ slk_attroff;
+ slk_attron;
+ slk_attrset;
+ slk_clear;
+ slk_init;
+ slk_label;
+ slk_noutrefresh;
+ slk_refresh;
+ slk_restore;
+ slk_set;
+ slk_touch;
+ standend;
+ standout;
+ start_color;
+ subpad;
+ subwin;
+ syncok;
+ termattrs;
+ termname;
+ tgetent;
+ tgetflag;
+ tgetnum;
+ tgetstr;
+ tgoto;
+ tigetflag;
+ tigetnum;
+ tigetstr;
+ timeout;
+ touchline;
+ touchwin;
+ tparm;
+ tputs;
+ typeahead;
+ unctrl;
+ ungetch;
+ ungetwch;
+ untouchwin;
+ vidattr;
+ vidputs;
+ vwprintw;
+ vwscanw;
+ waddch;
+ waddchnstr;
+ waddchstr;
+ waddnstr;
+ waddnwstr;
+ waddstr;
+ waddwch;
+ waddwchnstr;
+ waddwchstr;
+ waddwstr;
+ wadjcurspos;
+ wattroff;
+ wattron;
+ wattrset;
+ wbkgd;
+ wbkgdset;
+ wborder;
+ wclear;
+ wclrtobot;
+ wclrtoeol;
+ wcursyncup;
+ wdelch;
+ wdeleteln;
+ wechochar;
+ wechowchar;
+ werase;
+ wgetch;
+ wgetnstr;
+ wgetnwstr;
+ wgetstr;
+ wgetwch;
+ wgetwstr;
+ whline;
+ winch;
+ winchnstr;
+ winchstr;
+ winnstr;
+ winnwstr;
+ winsch;
+ winsdelln;
+ winsertln;
+ winsnstr;
+ winsnwstr;
+ winsstr;
+ winstr;
+ winswch;
+ winswstr;
+ winwch;
+ winwchnstr;
+ winwchstr;
+ winwstr;
+ wmove;
+ wmovenextch;
+ wmoveprevch;
+ wnoutrefresh;
+ wprintw;
+ wredrawln;
+ wrefresh;
+ wscanw;
+ wscrl;
+ wsetscrreg;
+ wstandend;
+ wstandout;
+ wsyncdown;
+ wsyncup;
+ wtimeout;
+ wtouchln;
+ wvline;
+};
+
+SUNWprivate_1.1 {
+ global:
+ acs32map;
+ acs_map;
+ BC;
+ bit_attributes;
+ _blast_keys;
+ boolcodes;
+ boolfnames;
+ boolnames;
+ box32;
+ _branchto;
+ _called_before;
+ _ccleanup;
+ cconvert;
+ cexpand;
+ _change_color;
+ _change_video;
+ _chkinput;
+ COLOR_PAIRS;
+ COLORS;
+ COLS;
+ _countchar;
+ cpr;
+ _csmax;
+ cswidth;
+ cur_bools;
+ cur_nums;
+ curscr;
+ curserr;
+ curs_errno;
+ curs_err_strings;
+ curses_version;
+ _curs_mbstowcs;
+ _curs_mbtowc;
+ curs_parm_err;
+ _curs_scrwidth;
+ cur_strs;
+ _curs_wcstombs;
+ _curs_wctomb;
+ cur_term;
+ Def_term;
+ _delay;
+ delkey;
+ delkeymap;
+ delterm;
+ _do_slk_noref;
+ _do_slk_ref;
+ _do_slk_tch;
+ draino;
+ _endwin;
+ _first_term;
+ fixterm;
+ force_doupdate;
+ _frst_bools;
+ _frst_nums;
+ _frst_strs;
+ _frst_tblstr;
+ garbagedlines;
+ garbagedwin;
+ getattrs;
+ getbegx;
+ getbegy;
+ getbkgd;
+ getbmap;
+ getcurx;
+ getcury;
+ getmaxx;
+ getmaxy;
+ getmouse;
+ getparx;
+ getpary;
+ gettmode;
+ hline;
+ iexpand;
+ _image;
+ infotocap;
+ init_acs;
+ _init_costs;
+ _init_HP_pair;
+ initscr32;
+ _lib_version;
+ LINES;
+ m_addch;
+ m_addstr;
+ makenew;
+ _makenew;
+ map_button;
+ _mbaddch;
+ mbcharlen;
+ _mbclrch;
+ mbdisplen;
+ mbeucw;
+ mbgetwidth;
+ _mbinsshift;
+ mbscrw;
+ _mbtrue;
+ _mbvalid;
+ m_clear;
+ memSset;
+ m_erase;
+ m_initscr;
+ m_move;
+ m_newterm;
+ mouse_off;
+ mouse_on;
+ mouse_set;
+ Mouse_status;
+ m_refresh;
+ mvhline;
+ mvvline;
+ mvwhline;
+ mvwvline;
+ newkey;
+ newscreen;
+ newterm32;
+ numcodes;
+ numfnames;
+ numnames;
+ Oldcolors;
+ ospeed;
+ _outch;
+ _outchar;
+ outchcount;
+ _outwch;
+ _overlap;
+ p32echochar;
+ _padjust;
+ PC;
+ pr_bfooting;
+ pr_bheading;
+ pr_boolean;
+ pr_caprestrict;
+ _prefresh;
+ pr_heading;
+ pr_init;
+ pr_nfooting;
+ pr_nheading;
+ pr_number;
+ prog_istermios;
+ progname;
+ pr_onecolumn;
+ pr_sfooting;
+ pr_sheading;
+ pr_string;
+ pr_width;
+ _quick_echo;
+ _quick_ptr;
+ request_mouse_pos;
+ resetterm;
+ _rip_init;
+ rmpadding;
+ saveterm;
+ _scr_all;
+ scr_ll_dump;
+ _scrmax;
+ scr_reset;
+ setcurscreen;
+ set_curterm;
+ setcurterm;
+ _setidln;
+ setkeymap;
+ shell_istermios;
+ _slk_init;
+ slk_start;
+ _slk_update;
+ SP;
+ _sprintw;
+ __sscans;
+ stdscr;
+ _strbyte2code;
+ _strcode2byte;
+ strcodes;
+ strfnames;
+ strnames;
+ TABSIZE;
+ _tcsearch;
+ termerr;
+ term_errno;
+ term_err_strings;
+ term_parm_err;
+ tgetch;
+ tgetwch;
+ tifgetflag;
+ tifgetnum;
+ tifgetstr;
+ tinputfd;
+ tparm_p0;
+ tparm_p1;
+ tparm_p2;
+ tparm_p3;
+ tparm_p4;
+ tparm_p7;
+ tpr;
+ traceoff;
+ traceon;
+ _tstp;
+ ttimeout;
+ ttytype;
+ _unctrl;
+ UP;
+ _update_old_y_area;
+ use_env;
+ _use_env;
+ _useidln;
+ vid32attr;
+ vid32puts;
+ vidupdate;
+ _virtscr;
+ vline;
+ w32addch;
+ w32attroff;
+ w32attron;
+ w32attrset;
+ w32echochar;
+ w32insch;
+ wcscrw;
+ wmbinch;
+ wmbmove;
+ wmouse_position;
+ _y16update;
+ local:
+ *;
+};
diff --git a/usr/src/lib/libcurses/sparc/Makefile b/usr/src/lib/libcurses/sparc/Makefile
index 7fad7849fe..2a944b0b43 100644
--- a/usr/src/lib/libcurses/sparc/Makefile
+++ b/usr/src/lib/libcurses/sparc/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright 1997-2003 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libcurses/sparc/Makefile
-
-MAPDIR= ../spec/sparc
include ../Makefile.com
diff --git a/usr/src/lib/libcurses/sparcv9/Makefile b/usr/src/lib/libcurses/sparcv9/Makefile
index d420e5ba59..5e8087fc09 100644
--- a/usr/src/lib/libcurses/sparcv9/Makefile
+++ b/usr/src/lib/libcurses/sparcv9/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libcurses/sparcv9/Makefile
-
-MAPDIR= ../spec/sparcv9
include ../Makefile.com
include ../../Makefile.lib.64
diff --git a/usr/src/lib/libcurses/spec/Makefile b/usr/src/lib/libcurses/spec/Makefile
deleted file mode 100644
index ef6c68e2a4..0000000000
--- a/usr/src/lib/libcurses/spec/Makefile
+++ /dev/null
@@ -1,29 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libcurses/spec/Makefile
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/libcurses/spec/Makefile.targ b/usr/src/lib/libcurses/spec/Makefile.targ
deleted file mode 100644
index 23d4453718..0000000000
--- a/usr/src/lib/libcurses/spec/Makefile.targ
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libcurses/spec/Makefile.targ
-
-LIBRARY = libcurses.a
-VERS = .1
-
-OBJECTS = curses.o
-
-TRANSCPP =
-
-SPECCPP = -I../../screen -I..
diff --git a/usr/src/lib/libcurses/spec/amd64/Makefile b/usr/src/lib/libcurses/spec/amd64/Makefile
deleted file mode 100644
index 453c0ea671..0000000000
--- a/usr/src/lib/libcurses/spec/amd64/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#amd64_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libcurses/spec/curses.spec b/usr/src/lib/libcurses/spec/curses.spec
deleted file mode 100644
index 9d34513aa7..0000000000
--- a/usr/src/lib/libcurses/spec/curses.spec
+++ /dev/null
@@ -1,2749 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libcurses/spec/curses.spec
-
-function _getsyx
-declaration int _getsyx(int *yp, int *xp)
-version SUNW_1.1
-end
-
-function _meta
-declaration int _meta(int bf)
-version SUNW_1.1
-end
-
-function _ring
-include <curses.h>, <term.h>
-declaration int _ring(bool bf)
-version SUNW_1.1
-end
-
-function _setecho
-declaration int _setecho(int bf)
-version SUNW_1.1
-end
-
-function _setnonl
-declaration int _setnonl(int bf)
-version SUNW_1.1
-end
-
-function _setqiflush
-declaration void _setqiflush(int yes)
-version SUNW_1.1
-end
-
-function baudrate
-declaration int baudrate(void)
-version SUNW_1.1
-end
-
-function can_change_color
-include <curses.h>, <term.h>
-declaration bool can_change_color(void)
-version SUNW_1.1
-end
-
-function cbreak
-declaration int cbreak(void)
-version SUNW_1.1
-end
-
-function color_content
-declaration int color_content(short color, short *r, short *g, short *b)
-version SUNW_1.1
-end
-
-function copywin
-declaration int copywin(WINDOW *Srcwin, WINDOW *Dstwin, int minRowSrc, \
- int minColSrc, int minRowDst, int minColDst, \
- int maxRowDst, int maxColDst, int over_lay)
-version SUNW_1.1
-end
-
-function crmode
-declaration int crmode(void)
-version SUNW_1.1
-end
-
-function curserr
-declaration void curserr(void)
-version SUNWprivate_1.1
-end
-
-function curs_set
-declaration int curs_set(int visibility)
-version SUNW_1.1
-end
-
-function def_prog_mode
-declaration int def_prog_mode(void)
-version SUNW_1.1
-end
-
-function def_shell_mode
-declaration int def_shell_mode(void)
-version SUNW_1.1
-end
-
-function delay_output
-declaration int delay_output(int ms)
-version SUNW_1.1
-end
-
-function delkeymap
-include <curses.h>, <term.h>
-declaration void delkeymap(TERMINAL *terminal)
-version SUNWprivate_1.1
-end
-
-function delscreen
-include <curses.h>, <term.h>
-declaration void delscreen(SCREEN *screen)
-version SUNW_1.1
-end
-
-function delterm
-include <curses.h>, <term.h>
-declaration int delterm(TERMINAL *terminal)
-version SUNWprivate_1.1
-end
-
-function delwin
-include <curses.h>, <term.h>
-declaration int delwin(WINDOW *win)
-version SUNW_1.1
-end
-
-function derwin
-declaration WINDOW *derwin(WINDOW *win, int num_lines, int nc, \
- int by, int bx)
-version SUNW_1.1
-end
-
-function doupdate
-declaration int doupdate(void)
-version SUNW_1.1
-end
-
-function dupwin
-declaration WINDOW *dupwin(WINDOW *win)
-version SUNW_1.1
-end
-
-function endwin
-declaration int endwin(void)
-version SUNW_1.1
-end
-
-function erasechar
-declaration char erasechar(void)
-version SUNW_1.1
-end
-
-function filter
-declaration int filter(void)
-version SUNW_1.1
-end
-
-function flushinp
-declaration int flushinp(void)
-version SUNW_1.1
-end
-
-function getbmap
-declaration unsigned long getbmap(void)
-version SUNWprivate_1.1
-end
-
-function getmouse
-declaration unsigned long getmouse(void)
-version SUNWprivate_1.1
-end
-
-function getwin
-declaration WINDOW *getwin(FILE *filep)
-version SUNW_1.1
-end
-
-function has_colors
-include <curses.h>, <term.h>
-declaration bool has_colors(void)
-version SUNW_1.1
-end
-
-function has_ic
-declaration int has_ic(void)
-version SUNW_1.1
-end
-
-function has_il
-declaration int has_il(void)
-version SUNW_1.1
-end
-
-function idlok
-include <curses.h>, <term.h>
-declaration int idlok(WINDOW *win, bool bf)
-version SUNW_1.1
-end
-
-function immedok
-include <curses.h>, <term.h>
-declaration void immedok(WINDOW *win, bool bf)
-version SUNW_1.1
-end
-
-function init_color
-declaration int init_color(short color, short r, short g, short b)
-version SUNW_1.1
-end
-
-function init_pair
-declaration int init_pair(short pair, short f, short b)
-version SUNW_1.1
-end
-
-function initscr32 extends libcurses/spec/curses.spec initscr
-version SUNWprivate_1.1
-end
-
-function initscr
-include <curses.h>, <term.h>
-declaration WINDOW *initscr(void)
-version SUNW_1.1
-end
-
-function isendwin
-declaration int isendwin(void)
-version SUNW_1.1
-end
-
-function keyname
-declaration char *keyname(int key)
-version SUNW_1.1
-end
-
-function keypad
-include <curses.h>, <term.h>
-declaration int keypad(WINDOW *win, bool bf)
-version SUNW_1.1
-end
-
-function killchar
-declaration char killchar(void)
-version SUNW_1.1
-end
-
-function longname
-declaration char *longname(void)
-version SUNW_1.1
-end
-
-function m_addch
-declaration int m_addch(int c)
-version SUNWprivate_1.1
-end
-
-function m_addstr
-declaration int m_addstr(char *str)
-version SUNWprivate_1.1
-end
-
-function m_clear
-declaration int m_clear(void)
-version SUNWprivate_1.1
-end
-
-function m_erase
-declaration int m_erase(void)
-version SUNWprivate_1.1
-end
-
-function m_initscr
-declaration WINDOW *m_initscr(void)
-version SUNWprivate_1.1
-end
-
-function m_move
-declaration int m_move(int x, int y)
-version SUNWprivate_1.1
-end
-
-function m_newterm
-include <curses.h>, <term.h>
-declaration SCREEN *m_newterm(char *type, FILE *outfptr, FILE *infptr)
-version SUNWprivate_1.1
-end
-
-function m_refresh
-declaration int m_refresh(void)
-version SUNWprivate_1.1
-end
-
-function map_button
-declaration int map_button(unsigned long a)
-version SUNWprivate_1.1
-end
-
-function mouse_off
-declaration int mouse_off(long mbe)
-version SUNWprivate_1.1
-end
-
-function mouse_on
-declaration int mouse_on(long mbe)
-version SUNWprivate_1.1
-end
-
-function mouse_set
-declaration int mouse_set(long mbe)
-version SUNWprivate_1.1
-end
-
-function mvcur
-declaration int mvcur(int cury, int curx, int newy, int newx)
-version SUNW_1.1
-end
-
-function mvderwin
-declaration int mvderwin(WINDOW *win, int pary, int parx)
-version SUNW_1.1
-end
-
-function mvprintw
-declaration int mvprintw(int y, int x, ...)
-version SUNW_1.1
-end
-
-function mvscanw
-declaration int mvscanw(int y, int x, ...)
-version SUNW_1.1
-end
-
-function mvwin
-declaration int mvwin(WINDOW *win, int by, int bx)
-version SUNW_1.1
-end
-
-function mvwprintw
-declaration int mvwprintw(WINDOW *win, int y, int x, ...)
-version SUNW_1.1
-end
-
-function mvwscanw
-declaration int mvwscanw(WINDOW *win, int y, int x, ...)
-version SUNW_1.1
-end
-
-function napms
-declaration int napms(int ms)
-version SUNW_1.1
-end
-
-function newkey
-include <curses.h>, <term.h>
-declaration int newkey(char *rcvchars, short keyval, bool macro)
-version SUNWprivate_1.1
-end
-
-function newterm32 extends libcurses/spec/curses.spec newterm
-version SUNWprivate_1.1
-end
-
-function newterm
-include <curses.h>, <term.h>
-declaration SCREEN *newterm(char *type, FILE *fout, FILE *fin)
-version SUNW_1.1
-end
-
-function newscreen
-include <curses.h>, <term.h>
-declaration SCREEN *newscreen(char *type, int lsize, int csize, int \
- tabsize, FILE *outfptr, FILE *infptr)
-version SUNWprivate_1.1
-end
-
-function newpad
-declaration WINDOW *newpad(int l, int nc)
-version SUNW_1.1
-end
-
-function newwin
-declaration WINDOW *newwin(int nlines, int ncols, int by, int bx)
-version SUNW_1.1
-end
-
-function nocbreak
-declaration int nocbreak(void)
-version SUNW_1.1
-end
-
-function nocrmode
-declaration int nocrmode(void)
-version SUNW_1.1
-end
-
-function noraw
-declaration int noraw(void)
-version SUNW_1.1
-end
-
-function pair_content
-declaration int pair_content(short pair, short *f, short *b)
-version SUNW_1.1
-end
-
-function p32echochar extends libcurses/spec/curses.spec pechochar
-version SUNWprivate_1.1
-end
-
-function pechochar
-include <curses.h>, <term.h>
-declaration int pechochar(WINDOW *win, chtype c)
-version SUNW_1.1
-end
-
-function pechowchar
-declaration int pechowchar(WINDOW *pad, chtype ch)
-version SUNW_1.1
-end
-
-function pnoutrefresh
-declaration int pnoutrefresh(WINDOW *pad, int pby, int pbx, int sby, \
- int sbx, int sey, int sex)
-version SUNW_1.1
-end
-
-function printw
-declaration int printw(char *fmt, ...)
-version SUNW_1.1
-end
-
-function prefresh
-declaration int prefresh(WINDOW *pad, int pminy, int pminx, int sminy, \
- int sminx, int smaxy, int smaxx)
-version SUNW_1.1
-end
-
-function putwin
-declaration int putwin(WINDOW *win, FILE *filep)
-version SUNW_1.1
-end
-
-function raw
-declaration int raw(void)
-version SUNW_1.1
-end
-
-function redrawwin
-include <term.h>
-declaration int redrawwin(WINDOW *win)
-version SUNW_1.1
-end
-
-function request_mouse_pos
-declaration int request_mouse_pos(void)
-version SUNWprivate_1.1
-end
-
-function reset_prog_mode
-declaration int reset_prog_mode(void)
-version SUNW_1.1
-end
-
-function reset_shell_mode
-declaration int reset_shell_mode(void)
-version SUNW_1.1
-end
-
-function resetty
-declaration int resetty(void)
-version SUNW_1.1
-end
-
-function ripoffline
-declaration int ripoffline(int line, int (*init)(WINDOW *, int))
-version SUNW_1.1
-end
-
-function savetty
-declaration int savetty(void)
-version SUNW_1.1
-end
-
-function scanw
-declaration int scanw(char *fmt, ...)
-version SUNW_1.1
-end
-
-function scr_dump
-declaration int scr_dump(char *file)
-version SUNW_1.1
-end
-
-function setcurscreen
-include <curses.h>, <term.h>
-declaration SCREEN *setcurscreen(SCREEN *new)
-version SUNWprivate_1.1
-end
-
-function setcurterm
-include <curses.h>, <term.h>
-declaration TERMINAL *setcurterm(TERMINAL *newterminal)
-version SUNWprivate_1.1
-end
-
-function setsyx
-declaration int setsyx(int y, int x)
-version SUNW_1.1
-end
-
-function setupterm
-declaration int setupterm(char *term, int filenum, int *errret)
-version SUNW_1.1
-end
-
-function slk_attroff
-declaration int slk_attroff(chtype a)
-version SUNW_1.1
-end
-
-function slk_attron
-declaration int slk_attron(chtype a)
-version SUNW_1.1
-end
-
-function slk_attrset
-declaration int slk_attrset(chtype a)
-version SUNW_1.1
-end
-
-function slk_clear
-declaration int slk_clear(void)
-version SUNW_1.1
-end
-
-function slk_label
-declaration char *slk_label(int n)
-version SUNW_1.1
-end
-
-function slk_noutrefresh
-declaration int slk_noutrefresh(void)
-version SUNW_1.1
-end
-
-function slk_refresh
-declaration int slk_refresh(void)
-version SUNW_1.1
-end
-
-function slk_restore
-declaration int slk_restore(void)
-version SUNW_1.1
-end
-
-function slk_set
-declaration int slk_set(int n, char *lab, int f)
-version SUNW_1.1
-end
-
-function slk_start
-declaration int slk_start(int ng, int *gp)
-version SUNWprivate_1.1
-end
-
-function slk_touch
-declaration int slk_touch(void)
-version SUNW_1.1
-end
-
-function start_color
-declaration int start_color(void)
-version SUNW_1.1
-end
-
-function termattrs
-declaration chtype termattrs(void)
-version SUNW_1.1
-end
-
-function termname
-declaration char *termname(void)
-version SUNW_1.1
-end
-
-function traceoff
-declaration int traceoff(void)
-version SUNWprivate_1.1
-end
-
-function traceon
-declaration int traceon(void)
-version SUNWprivate_1.1
-end
-
-function typeahead
-declaration int typeahead(int fd)
-version SUNW_1.1
-end
-
-function unctrl
-declaration char *unctrl(int ch)
-version SUNW_1.1
-end
-
-function ungetch
-declaration int ungetch(int ch)
-version SUNW_1.1
-end
-
-function ungetwch
-declaration int ungetwch(wchar_t code)
-version SUNW_1.1
-end
-
-function vidupdate
-declaration void vidupdate(chtype newmode, chtype oldmode, \
- int (*outc)(char))
-version SUNWprivate_1.1
-end
-
-function vwprintw
-declaration int vwprintw(WINDOW *win, char *fmt, va_list ap)
-version SUNW_1.1
-end
-
-function vwscanw
-declaration int vwscanw(WINDOW *win, char *fmt, va_list ap)
-version SUNW_1.1
-end
-
-function w32addch extends libcurses/spec/curses.spec waddch
-version SUNWprivate_1.1
-end
-
-function waddch
-declaration int waddch(WINDOW *win, chtype ch)
-version SUNW_1.1
-end
-
-function waddchnstr
-declaration int waddchnstr(WINDOW *win, chtype *string, int ncols)
-version SUNW_1.1
-end
-
-function waddnstr
-declaration int waddnstr(WINDOW *win, char *tstr, int i)
-version SUNW_1.1
-end
-
-function waddnwstr
-declaration int waddnwstr(WINDOW *win, wchar_t *code, int n)
-version SUNW_1.1
-end
-
-function waddwch
-declaration int waddwch(WINDOW *win, chtype c)
-version SUNW_1.1
-end
-
-function waddwchnstr
-declaration int waddwchnstr(WINDOW *win, chtype *string, int ncols)
-version SUNW_1.1
-end
-
-function w32attroff extends libcurses/spec/curses.spec wattroff
-version SUNWprivate_1.1
-end
-
-function w32attron extends libcurses/spec/curses.spec wattron
-version SUNWprivate_1.1
-end
-
-function w32attrset extends libcurses/spec/curses.spec wattrset
-version SUNWprivate_1.1
-end
-
-function w32echochar extends libcurses/spec/curses.spec wechochar
-version SUNWprivate_1.1
-end
-
-function w32insch extends libcurses/spec/curses.spec winsch
-version SUNWprivate_1.1
-end
-
-function wattroff
-declaration int wattroff(WINDOW *win, chtype attrs)
-version SUNW_1.1
-end
-
-function wattron
-declaration int wattron(WINDOW *win, chtype attrs)
-version SUNW_1.1
-end
-
-function wattrset
-declaration int wattrset(WINDOW *win, chtype attrs)
-version SUNW_1.1
-end
-
-function wbkgd
-declaration int wbkgd(WINDOW *win, chtype nbkgd)
-version SUNW_1.1
-end
-
-function wborder
-declaration int wborder(WINDOW *win, chtype ls, chtype rs, chtype ts, \
- chtype bs, chtype tl, chtype tr, chtype bl, chtype br)
-version SUNW_1.1
-end
-
-function wclrtobot
-declaration int wclrtobot(WINDOW *win)
-version SUNW_1.1
-end
-
-function wclrtoeol
-declaration int wclrtoeol(WINDOW *win)
-version SUNW_1.1
-end
-
-function wcursyncup
-declaration void wcursyncup(WINDOW *win)
-version SUNW_1.1
-end
-
-function wdelch
-declaration int wdelch(WINDOW *win)
-version SUNW_1.1
-end
-
-function wechochar
-declaration int wechochar(WINDOW *win, chtype c)
-version SUNW_1.1
-end
-
-function wechowchar
-declaration int wechowchar(WINDOW *win, chtype ch)
-version SUNW_1.1
-end
-
-function wgetch
-declaration int wgetch(WINDOW *win)
-version SUNW_1.1
-end
-
-function wgetstr
-declaration int wgetstr(WINDOW *win, char *str)
-version SUNW_1.1
-end
-
-function wgetnstr
-declaration int wgetnstr(WINDOW *win, char *str, int n)
-version SUNW_1.1
-end
-
-function wgetnwstr
-declaration int wgetnwstr(WINDOW *win, wchar_t *str, int n)
-version SUNW_1.1
-end
-
-function wgetwch
-declaration int wgetwch(WINDOW *win)
-version SUNW_1.1
-end
-
-function wgetwstr
-declaration int wgetwstr(WINDOW *win, wchar_t *str)
-version SUNW_1.1
-end
-
-function whline
-declaration int whline(WINDOW *win, chtype ch, int num_chars)
-version SUNW_1.1
-end
-
-function winchnstr
-declaration int winchnstr(WINDOW *win, chtype *string, int ncols)
-version SUNW_1.1
-end
-
-function winchstr
-declaration int winchstr(WINDOW *win, chtype *string)
-version SUNW_1.1
-end
-
-function winnstr
-declaration int winnstr(WINDOW *win, char *string, int ncols)
-version SUNW_1.1
-end
-
-function winnwstr
-declaration int winnwstr(WINDOW *win, wchar_t *wstr, int ncols)
-version SUNW_1.1
-end
-
-function winsch
-declaration int winsch(WINDOW *win, chtype c)
-version SUNW_1.1
-end
-
-function winsdelln
-declaration int winsdelln(WINDOW *win, int id)
-version SUNW_1.1
-end
-
-function winsnstr
-declaration int winsnstr(WINDOW *win, char *tsp, int n)
-version SUNW_1.1
-end
-
-function winsnwstr
-declaration int winsnwstr(WINDOW *win, wchar_t *code, int n)
-version SUNW_1.1
-end
-
-function winstr
-declaration int winstr(WINDOW *win, char *str)
-version SUNW_1.1
-end
-
-function winswch
-declaration int winswch(WINDOW *win, chtype c)
-version SUNW_1.1
-end
-
-function winwch
-declaration chtype winwch(WINDOW *win)
-version SUNW_1.1
-end
-
-function winwchnstr
-declaration int winwchnstr(WINDOW *win, chtype *string, int ncols)
-version SUNW_1.1
-end
-
-function winwstr
-declaration int winwstr(WINDOW *win, wchar_t *wstr)
-version SUNW_1.1
-end
-
-function wmouse_position
-declaration void wmouse_position(WINDOW *win, int *x, int *y)
-version SUNWprivate_1.1
-end
-
-function wmove
-declaration int wmove(WINDOW *win, int y, int x)
-version SUNW_1.1
-end
-
-function wnoutrefresh
-declaration int wnoutrefresh(WINDOW *win)
-version SUNW_1.1
-end
-
-function wprintw
-declaration int wprintw(WINDOW *win, ...)
-version SUNW_1.1
-end
-
-function wredrawln
-declaration int wredrawln(WINDOW *win, int begline, int numlines)
-version SUNW_1.1
-end
-
-function wrefresh
-declaration int wrefresh(WINDOW *win)
-version SUNW_1.1
-end
-
-function wscanw
-declaration int wscanw(WINDOW *win, ...)
-version SUNW_1.1
-end
-
-function wscrl
-declaration int wscrl(WINDOW *win, int n)
-version SUNW_1.1
-end
-
-function wsetscrreg
-declaration int wsetscrreg(WINDOW *win, int topy, int boty)
-version SUNW_1.1
-end
-
-function wstandend
-declaration int wstandend(WINDOW *win)
-version SUNW_1.1
-end
-
-function wstandout
-declaration int wstandout(WINDOW *win)
-version SUNW_1.1
-end
-
-function wsyncdown
-declaration void wsyncdown(WINDOW *win)
-version SUNW_1.1
-end
-
-function wsyncup
-declaration void wsyncup(WINDOW *win)
-version SUNW_1.1
-end
-
-function wtouchln
-declaration int wtouchln(WINDOW *win, int y, int n, int changed)
-version SUNW_1.1
-end
-
-function wvline
-declaration int wvline(WINDOW *win, chtype vertch, int num_chars)
-version SUNW_1.1
-end
-
-data BC
-version SUNWprivate_1.1
-end
-
-data COLORS
-version SUNWprivate_1.1
-end
-
-data COLOR_PAIRS
-version SUNWprivate_1.1
-end
-
-data COLS
-version SUNWprivate_1.1
-end
-
-data Def_term
-version SUNWprivate_1.1
-end
-
-data LINES
-version SUNWprivate_1.1
-end
-
-data Mouse_status
-version SUNWprivate_1.1
-end
-
-data Oldcolors
-version SUNWprivate_1.1
-end
-
-data PC
-version SUNWprivate_1.1
-end
-
-data SP
-version SUNWprivate_1.1
-end
-
-data TABSIZE
-version SUNWprivate_1.1
-end
-
-data UP
-version SUNWprivate_1.1
-end
-
-function __sscans
-declaration int __sscans(WINDOW *win, char *fmt, ...)
-version SUNWprivate_1.1
-end
-
-function _blast_keys
-include <curses.h>, <term.h>
-declaration void _blast_keys(TERMINAL *terminal)
-version SUNWprivate_1.1
-end
-
-function _branchto
-declaration char *_branchto(char *cp, char to)
-version SUNWprivate_1.1
-end
-
-data _called_before
-version SUNWprivate_1.1
-end
-
-function _ccleanup
-declaration void _ccleanup(int signo)
-version SUNWprivate_1.1
-end
-
-function _change_color
-declaration void _change_color(short newcolor, short oldcolor, \
- int (*outc)(char))
-version SUNWprivate_1.1
-end
-
-function _change_video
-include <curses.h>, <term.h>
-declaration int _change_video(chtype newmode, chtype oldmode, int \
- (*outc)(char), bool color_terminal)
-version SUNWprivate_1.1
-end
-
-function _chkinput
-declaration int _chkinput(void)
-version SUNWprivate_1.1
-end
-
-function _countchar
-declaration int _countchar(void)
-version SUNWprivate_1.1
-end
-
-data _csmax
-version SUNWprivate_1.1
-end
-
-function _curs_mbstowcs
-declaration size_t _curs_mbstowcs(wchar_t *pwcs, const char *s, size_t n)
-version SUNWprivate_1.1
-end
-
-function _curs_mbtowc
-declaration int _curs_mbtowc(wchar_t *wchar, const char *s, size_t n)
-version SUNWprivate_1.1
-end
-
-data _curs_scrwidth
-version SUNWprivate_1.1
-end
-
-function _curs_wcstombs
-declaration size_t _curs_wcstombs(char *s, const wchar_t *pwcs, size_t n)
-version SUNWprivate_1.1
-end
-
-function _curs_wctomb
-declaration int _curs_wctomb(char *s, const wchar_t wchar)
-version SUNWprivate_1.1
-end
-
-function _delay
-declaration int _delay(int delay, int (*outc)(char))
-version SUNWprivate_1.1
-end
-
-data _do_slk_noref
-version SUNWprivate_1.1
-end
-
-data _do_slk_ref
-version SUNWprivate_1.1
-end
-
-data _do_slk_tch
-version SUNWprivate_1.1
-end
-
-data _endwin
-version SUNWprivate_1.1
-end
-
-data _first_term
-version SUNWprivate_1.1
-end
-
-data _frst_bools
-version SUNWprivate_1.1
-end
-
-data _frst_nums
-version SUNWprivate_1.1
-end
-
-data _frst_strs
-version SUNWprivate_1.1
-end
-
-data _frst_tblstr
-version SUNWprivate_1.1
-end
-
-function _image
-declaration int _image(WINDOW *win)
-version SUNWprivate_1.1
-end
-
-function _init_HP_pair
-declaration void _init_HP_pair(short pair, short f, short b)
-version SUNWprivate_1.1
-end
-
-function _init_costs
-declaration void _init_costs(void)
-version SUNWprivate_1.1
-end
-
-data _lib_version
-version SUNWprivate_1.1
-end
-
-function _makenew
-declaration WINDOW *_makenew(int nlines, int ncols, int begy, int begx)
-version SUNWprivate_1.1
-end
-
-function _mbaddch
-declaration int _mbaddch(WINDOW *win, chtype a, chtype b)
-version SUNWprivate_1.1
-end
-
-function _mbclrch
-declaration int _mbclrch(WINDOW *win, int y, int x)
-version SUNWprivate_1.1
-end
-
-function _mbinsshift
-declaration int _mbinsshift(WINDOW *win, int len)
-version SUNWprivate_1.1
-end
-
-data _mbtrue
-version SUNWprivate_1.1
-end
-
-function _mbvalid
-declaration int _mbvalid(WINDOW *win)
-version SUNWprivate_1.1
-end
-
-function _outch
-declaration int _outch(char c)
-version SUNWprivate_1.1
-end
-
-function _outchar
-declaration int _outchar(char ch)
-version SUNWprivate_1.1
-end
-
-function _outwch
-declaration int _outwch(chtype c)
-version SUNWprivate_1.1
-end
-
-function _overlap
-declaration int _overlap(WINDOW *Srcwin, WINDOW *Dstwin, int Overlay)
-version SUNWprivate_1.1
-end
-
-function _padjust
-declaration int _padjust(WINDOW *pad, int pminy, int pminx, int sminy, \
- int sminx, int smaxy, int smaxx)
-version SUNWprivate_1.1
-end
-
-function _prefresh
-declaration int _prefresh(int (*func)(WINDOW *), WINDOW *pad, int pminy, \
- int pminx, int sminy, int sminx, int smaxy, int smaxx)
-version SUNWprivate_1.1
-end
-
-function _quick_echo
-declaration int _quick_echo(WINDOW *win, chtype ch)
-version SUNWprivate_1.1
-end
-
-data _quick_ptr
-version SUNWprivate_1.1
-end
-
-data _rip_init
-version SUNWprivate_1.1
-end
-
-function _scr_all
-declaration int _scr_all(char *file, int which)
-version SUNWprivate_1.1
-end
-
-data _scrmax
-version SUNWprivate_1.1
-end
-
-data _setidln
-version SUNWprivate_1.1
-end
-
-data _slk_init
-version SUNWprivate_1.1
-end
-
-function _slk_update
-declaration int _slk_update(void)
-version SUNWprivate_1.1
-end
-
-function _sprintw
-declaration int _sprintw(WINDOW *win, char *fmt, ...)
-version SUNWprivate_1.1
-end
-
-function _strbyte2code
-declaration wchar_t *_strbyte2code(char *code, wchar_t *byte, int n)
-version SUNWprivate_1.1
-end
-
-function _strcode2byte
-declaration char *_strcode2byte(wchar_t *code, char *b, int n)
-version SUNWprivate_1.1
-end
-
-function _tcsearch
-declaration int _tcsearch(char *cap, short offsets[], char *names[], \
- int size, int n)
-version SUNWprivate_1.1
-end
-
-function _tstp
-declaration void _tstp(int dummy)
-version SUNWprivate_1.1
-end
-
-data _unctrl
-version SUNWprivate_1.1
-end
-
-function _update_old_y_area
-declaration void _update_old_y_area(WINDOW *win, int nlines, int ncols, \
- int start_line, int start_col)
-version SUNWprivate_1.1
-end
-
-data _use_env
-version SUNWprivate_1.1
-end
-
-data _useidln
-version SUNWprivate_1.1
-end
-
-data _virtscr
-version SUNWprivate_1.1
-end
-
-data _y16update
-version SUNWprivate_1.1
-end
-
-data acs32map
-version SUNWprivate_1.1
-end
-
-data acs_map
-version SUNWprivate_1.1
-end
-
-function addch
-declaration int addch(chtype ch)
-version SUNW_1.1
-end
-
-function addchnstr
-declaration int addchnstr(chtype *s, int n)
-version SUNW_1.1
-end
-
-function addchstr
-declaration int addchstr(chtype *s)
-version SUNW_1.1
-end
-
-function addnstr
-declaration int addnstr(char *s, int n)
-version SUNW_1.1
-end
-
-function addnwstr
-declaration int addnwstr(wchar_t *s, int n)
-version SUNW_1.1
-end
-
-function addstr
-declaration int addstr(char *s)
-version SUNW_1.1
-end
-
-function addwch
-declaration int addwch(chtype ch)
-version SUNW_1.1
-end
-
-function addwchnstr
-declaration int addwchnstr(chtype *str, int n)
-version SUNW_1.1
-end
-
-function addwchstr
-declaration int addwchstr(chtype *str)
-version SUNW_1.1
-end
-
-function addwstr
-declaration int addwstr(wchar_t *ws)
-version SUNW_1.1
-end
-
-function attroff
-declaration int attroff(chtype at)
-version SUNW_1.1
-end
-
-function attron
-declaration int attron(chtype at)
-version SUNW_1.1
-end
-
-function attrset
-declaration int attrset(chtype at)
-version SUNW_1.1
-end
-
-function beep
-declaration int beep(void)
-version SUNW_1.1
-end
-
-data bit_attributes
-version SUNWprivate_1.1
-end
-
-data bkgd
-version SUNW_1.1
-end
-
-function bkgdset
-declaration void bkgdset(chtype c)
-version SUNW_1.1
-end
-
-data boolcodes
-version SUNWprivate_1.1
-end
-
-data boolfnames
-version SUNWprivate_1.1
-end
-
-data boolnames
-version SUNWprivate_1.1
-end
-
-function border
-declaration int border(chtype ls, chtype rs, chtype ts, chtype bs, \
- chtype tl, chtype tr, chtype bl, chtype br)
-version SUNW_1.1
-end
-
-function box32 extends libcurses/spec/curses.spec box
-version SUNWprivate_1.1
-end
-
-function box
-declaration int box(WINDOW *win, chtype verch, chtype horch)
-version SUNW_1.1
-end
-
-function cconvert
-declaration char *cconvert(char *string)
-version SUNWprivate_1.1
-end
-
-function cexpand
-declaration char *cexpand(char *str)
-version SUNWprivate_1.1
-end
-
-function clear
-declaration int clear(void)
-version SUNW_1.1
-end
-
-function clearok
-include <curses.h>, <term.h>
-declaration int clearok(WINDOW *win, bool bf)
-version SUNW_1.1
-end
-
-function clrtobot
-declaration int clrtobot(void)
-version SUNW_1.1
-end
-
-function clrtoeol
-declaration int clrtoeol(void)
-version SUNW_1.1
-end
-
-function cpr
-declaration int cpr(FILE *f, char *c)
-version SUNWprivate_1.1
-end
-
-data cswidth
-version SUNWprivate_1.1
-end
-
-data cur_bools
-version SUNWprivate_1.1
-end
-
-data cur_nums
-version SUNWprivate_1.1
-end
-
-data cur_strs
-version SUNWprivate_1.1
-end
-
-data cur_term
-version SUNWprivate_1.1
-end
-
-data curs_err_strings
-version SUNWprivate_1.1
-end
-
-data curs_errno
-version SUNWprivate_1.1
-end
-
-data curs_parm_err
-version SUNWprivate_1.1
-end
-
-data curscr
-version SUNWprivate_1.1
-end
-
-data curses_version
-version SUNWprivate_1.1
-end
-
-function del_curterm
-include <curses.h>, <term.h>
-declaration int del_curterm(TERMINAL *terminal)
-version SUNW_1.1
-end
-
-function delch
-declaration int delch(void)
-version SUNW_1.1
-end
-
-function deleteln
-declaration int deleteln(void)
-version SUNW_1.1
-end
-
-function delkey
-declaration int delkey(char *sends, int keyval)
-version SUNWprivate_1.1
-end
-
-function draino
-declaration int draino(int ms)
-version SUNWprivate_1.1
-end
-
-function echo
-declaration int echo(void)
-version SUNW_1.1
-end
-
-function echochar
-declaration int echochar(chtype ch)
-version SUNW_1.1
-end
-
-function echowchar
-declaration int echowchar(chtype ch)
-version SUNW_1.1
-end
-
-function erase
-declaration int erase(void)
-version SUNW_1.1
-end
-
-function fixterm
-declaration int fixterm(void)
-version SUNWprivate_1.1
-end
-
-function flash
-declaration int flash(void)
-version SUNW_1.1
-end
-
-function force_doupdate
-declaration int force_doupdate(void)
-version SUNWprivate_1.1
-end
-
-function garbagedlines
-declaration int garbagedlines(WINDOW *win, int start, int finish)
-version SUNWprivate_1.1
-end
-
-function garbagedwin
-declaration int garbagedwin(WINDOW *win)
-version SUNWprivate_1.1
-end
-
-function getattrs
-declaration chtype getattrs(WINDOW *win)
-version SUNWprivate_1.1
-end
-
-function getbegx
-declaration int getbegx(WINDOW *win)
-version SUNWprivate_1.1
-end
-
-function getbegy
-declaration int getbegy(WINDOW *win)
-version SUNWprivate_1.1
-end
-
-function getbkgd
-declaration chtype getbkgd(WINDOW *win)
-version SUNWprivate_1.1
-end
-
-function getch
-declaration int getch(void)
-version SUNW_1.1
-end
-
-function getcurx
-declaration int getcurx(WINDOW *win)
-version SUNWprivate_1.1
-end
-
-function getcury
-declaration int getcury(WINDOW *win)
-version SUNWprivate_1.1
-end
-
-function getmaxx
-declaration int getmaxx(WINDOW *win)
-version SUNWprivate_1.1
-end
-
-function getmaxy
-declaration int getmaxy(WINDOW *win)
-version SUNWprivate_1.1
-end
-
-function getnwstr
-declaration int getnwstr(wchar_t *ws, int n)
-version SUNW_1.1
-end
-
-function getparx
-declaration int getparx(WINDOW *win)
-version SUNWprivate_1.1
-end
-
-function getpary
-declaration int getpary(WINDOW *win)
-version SUNWprivate_1.1
-end
-
-function getstr
-declaration int getstr(char *str)
-version SUNW_1.1
-end
-
-function gettmode
-declaration int gettmode(void)
-version SUNWprivate_1.1
-end
-
-function getwch
-declaration int getwch(void)
-version SUNW_1.1
-end
-
-function getwstr
-declaration int getwstr(wchar_t *ws)
-version SUNW_1.1
-end
-
-function halfdelay
-declaration int halfdelay(int tens)
-version SUNW_1.1
-end
-
-function hline
-declaration int hline(chtype horch, int num_chars)
-version SUNWprivate_1.1
-end
-
-function idcok
-include <curses.h>, <term.h>
-declaration void idcok(WINDOW *win, bool bf)
-version SUNW_1.1
-end
-
-function inch
-declaration chtype inch(void)
-version SUNW_1.1
-end
-
-function inchnstr
-declaration int inchnstr(chtype *s, int n)
-version SUNW_1.1
-end
-
-function inchstr
-declaration int inchstr(chtype *s)
-version SUNW_1.1
-end
-
-function iexpand
-declaration char *iexpand(char *string)
-version SUNWprivate_1.1
-end
-
-function infotocap
-declaration char *infotocap(char *value, int *err)
-version SUNWprivate_1.1
-end
-
-function init_acs
-declaration int init_acs(void)
-version SUNWprivate_1.1
-end
-
-function innstr
-declaration int innstr(char *s, int n)
-version SUNW_1.1
-end
-
-function innwstr
-declaration int innwstr(wchar_t *ws, int n);
-version SUNW_1.1
-end
-
-function insch
-declaration int insch(chtype c)
-version SUNW_1.1
-end
-
-function insdelln
-declaration int insdelln(int id)
-version SUNW_1.1
-end
-
-function insertln
-declaration int insertln(void)
-version SUNW_1.1
-end
-
-function insnstr
-declaration int insnstr(char *s, int n)
-version SUNW_1.1
-end
-
-function insnwstr
-declaration int insnwstr(wchar_t *ws, int n)
-version SUNW_1.1
-end
-
-function insstr
-declaration int insstr(char *s)
-version SUNW_1.1
-end
-
-function instr
-declaration int instr(char *s)
-version SUNW_1.1
-end
-
-function inswch
-declaration int inswch(chtype c)
-version SUNW_1.1
-end
-
-function inswstr
-declaration int inswstr(wchar_t *ws)
-version SUNW_1.1
-end
-
-function intrflush
-declaration int intrflush(WINDOW *win, int flag)
-version SUNW_1.1
-end
-
-function inwch
-declaration chtype inwch(void)
-version SUNW_1.1
-end
-
-function inwchnstr
-declaration int inwchnstr(chtype *str, int n)
-version SUNW_1.1
-end
-
-function inwchstr
-declaration int inwchstr(chtype *str)
-version SUNW_1.1
-end
-
-function inwstr
-declaration int inwstr(wchar_t *ws)
-version SUNW_1.1
-end
-
-function is_linetouched
-declaration int is_linetouched(WINDOW *win, int line)
-version SUNW_1.1
-end
-
-function is_wintouched
-declaration int is_wintouched(WINDOW *win)
-version SUNW_1.1
-end
-
-function leaveok
-include <curses.h>, <term.h>
-declaration int leaveok(WINDOW *win, bool bf)
-version SUNW_1.1
-end
-
-function makenew
-declaration WINDOW *makenew(int nlines, int ncols, int begy, int begx)
-version SUNWprivate_1.1
-end
-
-function mbcharlen
-declaration int mbcharlen(char *sp)
-version SUNWprivate_1.1
-end
-
-function mbdisplen
-declaration int mbdisplen(char *sp)
-version SUNWprivate_1.1
-end
-
-function mbeucw
-declaration int mbeucw(int c)
-version SUNWprivate_1.1
-end
-
-function mbgetwidth
-declaration void mbgetwidth(void)
-version SUNWprivate_1.1
-end
-
-function mbscrw
-declaration int mbscrw(int c)
-version SUNWprivate_1.1
-end
-
-function memSset
-declaration void memSset(chtype *s, chtype c, int n)
-version SUNWprivate_1.1
-end
-
-function meta
-declaration int meta(WINDOW *win, int flag)
-version SUNW_1.1
-end
-
-function move
-declaration int move(int y, int x)
-version SUNW_1.1
-end
-
-function mvaddch
-declaration int mvaddch(int y, int x, chtype ch)
-version SUNW_1.1
-end
-
-function mvaddchnstr
-declaration int mvaddchnstr(int y, int x, chtype *s, int n)
-version SUNW_1.1
-end
-
-function mvaddchstr
-declaration int mvaddchstr(int y, int x, chtype *s)
-version SUNW_1.1
-end
-
-function mvaddnstr
-declaration int mvaddnstr(int y, int x, char *s, int n)
-version SUNW_1.1
-end
-
-function mvaddnwstr
-declaration int mvaddnwstr(int y, int x, wchar_t *ws, int n)
-version SUNW_1.1
-end
-
-function mvaddstr
-declaration int mvaddstr(int y, int x, char *str)
-version SUNW_1.1
-end
-
-function mvaddwch
-declaration int mvaddwch(int y, int x, chtype ch)
-version SUNW_1.1
-end
-
-function mvaddwchnstr
-declaration int mvaddwchnstr(int y, int x, chtype *str, int n)
-version SUNW_1.1
-end
-
-function mvaddwchstr
-declaration int mvaddwchstr(int y, int x, chtype *s)
-version SUNW_1.1
-end
-
-function mvaddwstr
-declaration int mvaddwstr(int y, int x, wchar_t *ws)
-version SUNW_1.1
-end
-
-function mvdelch
-declaration int mvdelch(int y, int x)
-version SUNW_1.1
-end
-
-function mvgetch
-declaration int mvgetch(int y, int x)
-version SUNW_1.1
-end
-
-function mvgetnwstr
-declaration int mvgetnwstr(int y, int x, wchar_t *ws, int n)
-version SUNW_1.1
-end
-
-function mvgetstr
-declaration int mvgetstr(int y, int x, char *str)
-version SUNW_1.1
-end
-
-function mvgetwch
-declaration int mvgetwch(int y, int x)
-version SUNW_1.1
-end
-
-function mvgetwstr
-declaration int mvgetwstr(int y, int x, wchar_t *ws)
-version SUNW_1.1
-end
-
-function mvhline
-declaration int mvhline(int y, int x, chtype ch, int n)
-version SUNWprivate_1.1
-end
-
-function mvinch
-declaration chtype mvinch(int y, int x)
-version SUNW_1.1
-end
-
-function mvinchnstr
-declaration int mvinchnstr(int y, int x, chtype *str, int n)
-version SUNW_1.1
-end
-
-function mvinchstr
-declaration int mvinchstr(int y, int x, chtype *str)
-version SUNW_1.1
-end
-
-function mvinnstr
-declaration int mvinnstr(int y, int x, char *s, int n)
-version SUNW_1.1
-end
-
-function mvinnwstr
-declaration int mvinnwstr(int y, int x, wchar_t *ws, int n)
-version SUNW_1.1
-end
-
-function mvinsch
-declaration int mvinsch(int y, int x, chtype ch)
-version SUNW_1.1
-end
-
-function mvinsnstr
-declaration int mvinsnstr(int y, int x, char *s, int n)
-version SUNW_1.1
-end
-
-function mvinsnwstr
-declaration int mvinsnwstr(int y, int x, wchar_t *ws, int n)
-version SUNW_1.1
-end
-
-function mvinsstr
-declaration int mvinsstr(int y, int x, char *s)
-version SUNW_1.1
-end
-
-function mvinstr
-declaration int mvinstr(int y, int x, char *s)
-version SUNW_1.1
-end
-
-function mvinswch
-declaration int mvinswch(int y, int x, chtype ch)
-version SUNW_1.1
-end
-
-function mvinswstr
-declaration int mvinswstr(int y, int x, wchar_t *ws)
-version SUNW_1.1
-end
-
-function mvinwch
-declaration chtype mvinwch(int y, int x)
-version SUNW_1.1
-end
-
-function mvinwchnstr
-declaration int mvinwchnstr(int y, int x, chtype *str, int n)
-version SUNW_1.1
-end
-
-function mvinwchstr
-declaration int mvinwchstr(int y, int x, chtype *str)
-version SUNW_1.1
-end
-
-function mvinwstr
-declaration int mvinwstr(int y, int x, wchar_t *ws)
-version SUNW_1.1
-end
-
-function mvvline
-declaration int mvvline(int y, int x, chtype c, int n)
-version SUNWprivate_1.1
-end
-
-function mvwaddch
-declaration int mvwaddch(WINDOW *win, int y, int x, chtype ch)
-version SUNW_1.1
-end
-
-function mvwaddchnstr
-declaration int mvwaddchnstr(WINDOW *win, int y, int x, chtype *ch, int n)
-version SUNW_1.1
-end
-
-function mvwaddchstr
-declaration int mvwaddchstr(WINDOW *win, int y, int x, chtype *ch)
-version SUNW_1.1
-end
-
-function mvwaddnstr
-declaration int mvwaddnstr(WINDOW *win, int y, int x, char *c, int n)
-version SUNW_1.1
-end
-
-function mvwaddnwstr
-declaration int mvwaddnwstr(WINDOW *win, int y, int x, wchar_t *wc, int n)
-version SUNW_1.1
-end
-
-function mvwaddstr
-declaration int mvwaddstr(WINDOW *win, int y, int x, char *str)
-version SUNW_1.1
-end
-
-function mvwaddwch
-declaration int mvwaddwch(WINDOW *win, int y, int x, chtype ch)
-version SUNW_1.1
-end
-
-function mvwaddwchnstr
-declaration int mvwaddwchnstr(WINDOW *win, int y, int x, chtype *str, int n)
-version SUNW_1.1
-end
-
-function mvwaddwchstr
-declaration int mvwaddwchstr(WINDOW *win, int y, int x, chtype *str)
-version SUNW_1.1
-end
-
-function mvwaddwstr
-declaration int mvwaddwstr(WINDOW *win, int y, int x, wchar_t *wc)
-version SUNW_1.1
-end
-
-function mvwdelch
-declaration int mvwdelch(WINDOW *win, int y, int x)
-version SUNW_1.1
-end
-
-function mvwgetch
-declaration int mvwgetch(WINDOW *win, int y, int x)
-version SUNW_1.1
-end
-
-function mvwgetnwstr
-declaration int mvwgetnwstr(WINDOW *win, int y, int x, wchar_t *ws, int n)
-version SUNW_1.1
-end
-
-function mvwgetstr
-declaration int mvwgetstr(WINDOW *win, int y, int x, char *str)
-version SUNW_1.1
-end
-
-function mvwgetwch
-declaration int mvwgetwch(WINDOW *win, int y, int x)
-version SUNW_1.1
-end
-
-function mvwgetwstr
-declaration int mvwgetwstr(WINDOW *win, int y, int x, wchar_t *ws)
-version SUNW_1.1
-end
-
-function mvwhline
-declaration int mvwhline(WINDOW *win, int y, int x, chtype c, int n)
-version SUNWprivate_1.1
-end
-
-function mvwinch
-declaration chtype mvwinch(WINDOW *win, int y, int x)
-version SUNW_1.1
-end
-
-function mvwinchnstr
-declaration int mvwinchnstr(WINDOW *win, int y, int x, chtype *s, int n)
-version SUNW_1.1
-end
-
-function mvwinchstr
-declaration int mvwinchstr(WINDOW *win, int y, int x, chtype *str)
-version SUNW_1.1
-end
-
-function mvwinnstr
-declaration int mvwinnstr(WINDOW *win, int y, int x, char *str, int n)
-version SUNW_1.1
-end
-
-function mvwinnwstr
-declaration int mvwinnwstr(WINDOW *win, int y, int x, wchar_t *ws, int n)
-version SUNW_1.1
-end
-
-function mvwinsch
-declaration int mvwinsch(WINDOW *win, int y, int x, chtype c)
-version SUNW_1.1
-end
-
-function mvwinsnstr
-declaration int mvwinsnstr(WINDOW *win, int y, int x, char *str, int n)
-version SUNW_1.1
-end
-
-function mvwinsnwstr
-declaration int mvwinsnwstr(WINDOW *win, int y, int x, wchar_t *ws, int n)
-version SUNW_1.1
-end
-
-function mvwinsstr
-declaration int mvwinsstr(WINDOW *win, int y, int x, char *str)
-version SUNW_1.1
-end
-
-function mvwinstr
-declaration int mvwinstr(WINDOW *win, int y, int x, char *str)
-version SUNW_1.1
-end
-
-function mvwinswch
-declaration int mvwinswch(WINDOW *win, int y, int x, chtype c)
-version SUNW_1.1
-end
-
-function mvwinswstr
-declaration int mvwinswstr(WINDOW *win, int y, int x, wchar_t *ws)
-version SUNW_1.1
-end
-
-function mvwinwch
-declaration chtype mvwinwch(WINDOW *win, int y, int x)
-version SUNW_1.1
-end
-
-function mvwinwchnstr
-declaration int mvwinwchnstr(WINDOW *win, int y, int x, chtype *str, int n)
-version SUNW_1.1
-end
-
-function mvwinwchstr
-declaration int mvwinwchstr(WINDOW *win, int y, int x, chtype *str)
-version SUNW_1.1
-end
-
-function mvwinwstr
-declaration int mvwinwstr(WINDOW *win, int y, int x, wchar_t *ws)
-version SUNW_1.1
-end
-
-function mvwvline
-declaration int mvwvline(WINDOW *win, int y, int x, chtype c, int n)
-version SUNWprivate_1.1
-end
-
-function nl
-declaration int nl(void)
-version SUNW_1.1
-end
-
-function nodelay
-include <curses.h>, <term.h>
-declaration int nodelay(WINDOW *win, bool bf)
-version SUNW_1.1
-end
-
-function noecho
-declaration int noecho(void)
-version SUNW_1.1
-end
-
-function nonl
-declaration int nonl(void)
-version SUNW_1.1
-end
-
-function noqiflush
-declaration void noqiflush(void)
-version SUNW_1.1
-end
-
-function notimeout
-include <curses.h>, <term.h>
-declaration int notimeout(WINDOW *win, bool bf)
-version SUNW_1.1
-end
-
-data numcodes
-version SUNWprivate_1.1
-end
-
-data numfnames
-version SUNWprivate_1.1
-end
-
-data numnames
-version SUNWprivate_1.1
-end
-
-data ospeed
-version SUNWprivate_1.1
-end
-
-data outchcount
-version SUNWprivate_1.1
-end
-
-function overlay
-declaration int overlay(WINDOW *src, WINDOW *dst)
-version SUNW_1.1
-end
-
-function overwrite
-declaration int overwrite(WINDOW *src, WINDOW *dst)
-version SUNW_1.1
-end
-
-data prog_istermios
-version SUNWprivate_1.1
-end
-
-function pr_bfooting
-declaration void pr_bfooting(void)
-version SUNWprivate_1.1
-end
-
-function pr_bheading
-declaration void pr_bheading(void)
-version SUNWprivate_1.1
-end
-
-function pr_boolean
-declaration void pr_boolean(char *infoname, char *capname, \
- char *fullname, int value)
-version SUNWprivate_1.1
-end
-
-function pr_caprestrict
-declaration void pr_caprestrict(int onoff)
-version SUNWprivate_1.1
-end
-
-function pr_heading
-declaration void pr_heading(char *term, char *synonyms)
-version SUNWprivate_1.1
-end
-
-function pr_init
-include <print.h>
-declaration void pr_init(enum printtypes type)
-version SUNWprivate_1.1
-end
-
-function pr_nfooting
-declaration void pr_nfooting(void)
-version SUNWprivate_1.1
-end
-
-function pr_nheading
-declaration void pr_nheading(void)
-version SUNWprivate_1.1
-end
-
-function pr_number
-declaration void pr_number(char *infoname, char *capname, \
- char *fullname, int value)
-version SUNWprivate_1.1
-end
-
-function pr_onecolumn
-declaration void pr_onecolumn(int onoff)
-version SUNWprivate_1.1
-end
-
-function pr_sfooting
-declaration void pr_sfooting(void)
-version SUNWprivate_1.1
-end
-
-function pr_sheading
-declaration void pr_sheading(void)
-version SUNWprivate_1.1
-end
-
-function pr_string
-declaration void pr_string(char *infoname, char *capname, \
- char *fullname, char *value)
-version SUNWprivate_1.1
-end
-
-function pr_width
-declaration void pr_width(int nwidth)
-version SUNWprivate_1.1
-end
-
-data progname
-version SUNWprivate_1.1
-end
-
-function putp
-declaration int putp(char *str)
-version SUNW_1.1
-end
-
-function qiflush
-declaration void qiflush(void)
-version SUNW_1.1
-end
-
-function refresh
-declaration int refresh(void)
-version SUNW_1.1
-end
-
-function resetterm
-declaration int resetterm(void)
-version SUNWprivate_1.1
-end
-
-function restartterm
-declaration int restartterm(char * term, int filenum, int *errret)
-version SUNW_1.1
-end
-
-function rmpadding
-declaration char *rmpadding(char *str, char *padbuffer, int *padding)
-version SUNWprivate_1.1
-end
-
-function saveterm
-declaration int saveterm(void)
-version SUNWprivate_1.1
-end
-
-function scr_init
-declaration int scr_init(char *file)
-version SUNW_1.1
-end
-
-function scr_ll_dump
-declaration int scr_ll_dump(FILE *filep)
-version SUNWprivate_1.1
-end
-
-function scr_reset
-declaration int scr_reset(FILE *filep, int type)
-version SUNWprivate_1.1
-end
-
-function scr_restore
-declaration int scr_restore(char *file)
-version SUNW_1.1
-end
-
-function scr_set
-declaration int scr_set(char *file)
-version SUNW_1.1
-end
-
-function scrl
-declaration int scrl(int n)
-version SUNW_1.1
-end
-
-function scroll
-declaration int scroll(WINDOW *win)
-version SUNW_1.1
-end
-
-function scrollok
-include <curses.h>, <term.h>
-declaration int scrollok(WINDOW *win, bool bf)
-version SUNW_1.1
-end
-
-function set_curterm
-include <curses.h>, <term.h>
-declaration TERMINAL *set_curterm(TERMINAL *newterminal)
-version SUNWprivate_1.1
-end
-
-function set_term
-include <curses.h>, <term.h>
-declaration SCREEN *set_term(SCREEN *screen)
-version SUNW_1.1
-end
-
-function setkeymap
-declaration int setkeymap(void)
-version SUNWprivate_1.1
-end
-
-function setscrreg
-declaration int setscrreg(int t, int b)
-version SUNW_1.1
-end
-
-function setterm
-declaration int setterm(char *name)
-version SUNW_1.1
-end
-
-data shell_istermios
-version SUNWprivate_1.1
-end
-
-function slk_init
-declaration int slk_init(int f)
-version SUNW_1.1
-end
-
-function standend
-declaration int standend(void)
-version SUNW_1.1
-end
-
-function standout
-declaration int standout(void)
-version SUNW_1.1
-end
-
-data stdscr
-version SUNWprivate_1.1
-end
-
-data strcodes
-version SUNWprivate_1.1
-end
-
-data strfnames
-version SUNWprivate_1.1
-end
-
-data strnames
-version SUNWprivate_1.1
-end
-
-function subpad
-include <curses.h>, <term.h>
-declaration WINDOW *subpad(WINDOW *win, int l, int nc, int by, int bx)
-version SUNW_1.1
-end
-
-function subwin
-include <curses.h>, <term.h>
-declaration WINDOW *subwin(WINDOW *win, int l, int nc, int by, int bx)
-version SUNW_1.1
-end
-
-function syncok
-include <curses.h>, <term.h>
-declaration int syncok(WINDOW *win, bool bf)
-version SUNW_1.1
-end
-
-data term_err_strings
-version SUNWprivate_1.1
-end
-
-data term_errno
-version SUNWprivate_1.1
-end
-
-data term_parm_err
-version SUNWprivate_1.1
-end
-
-function termerr
-declaration void termerr(void)
-version SUNWprivate_1.1
-end
-
-function tgetch
-declaration int tgetch(int interpret)
-version SUNWprivate_1.1
-end
-
-function tgetent
-declaration int tgetent(char *bp, char *name)
-version SUNW_1.1
-end
-
-function tgetflag
-declaration int tgetflag(char *tcstr)
-version SUNW_1.1
-end
-
-function tgetnum
-declaration int tgetnum(char *tcstr)
-version SUNW_1.1
-end
-
-function tgetstr
-declaration char *tgetstr(char *tcstr, char **area)
-version SUNW_1.1
-end
-
-function tgetwch
-declaration wchar_t tgetwch(int cntl)
-version SUNWprivate_1.1
-end
-
-function tgoto
-declaration char *tgoto(char *cap, int col, int row)
-version SUNW_1.1
-end
-
-function tifgetflag
-declaration int tifgetflag(char *tistr)
-version SUNWprivate_1.1
-end
-
-function tifgetnum
-declaration int tifgetnum(char *tistr)
-version SUNWprivate_1.1
-end
-
-function tifgetstr
-declaration char *tifgetstr(char *tistr)
-version SUNWprivate_1.1
-end
-
-function tigetflag
-declaration int tigetflag(char *tistr)
-version SUNW_1.1
-end
-
-function tigetnum
-declaration int tigetnum(char *tistr)
-version SUNW_1.1
-end
-
-function tigetstr
-declaration char *tigetstr(char *tistr)
-version SUNW_1.1
-end
-
-function timeout
-declaration void timeout(int tm)
-version SUNW_1.1
-end
-
-function tinputfd
-declaration void tinputfd(int fd)
-version SUNWprivate_1.1
-end
-
-function touchline
-include <curses.h>, <term.h>
-declaration int touchline(WINDOW *win, int y, int n)
-version SUNW_1.1
-end
-
-function touchwin
-include <curses.h>, <term.h>
-declaration int touchwin(WINDOW *win)
-version SUNW_1.1
-end
-
-function tparm
-declaration char *tparm(char *str, long int p1, long int p2, long int p3, \
- long int p4, long int p5, long int p6, long int p7, \
- long int p8, long int p9)
-version SUNW_1.1
-end
-
-function tparm_p0
-declaration char *tparm_p0(char *instring)
-version SUNWprivate_1.1
-end
-
-function tparm_p1
-declaration char *tparm_p1(char *instring, long l1)
-version SUNWprivate_1.1
-end
-
-function tparm_p2
-declaration char *tparm_p2(char *instring, long l1, long l2)
-version SUNWprivate_1.1
-end
-
-function tparm_p3
-declaration char *tparm_p3(char *instring, long l1, long l2, long l3)
-version SUNWprivate_1.1
-end
-
-function tparm_p4
-declaration char *tparm_p4(char *instring, long l1, long l2, \
- long l3, long l4)
-version SUNWprivate_1.1
-end
-
-function tparm_p7
-declaration char *tparm_p7(char *instring, long l1, long l2, \
- long l3, long l4, long l5, long l6, long l7)
-version SUNWprivate_1.1
-end
-
-function tpr
-declaration void tpr(FILE *stream, char *string)
-version SUNWprivate_1.1
-end
-
-function tputs
-declaration int tputs(char *cp, int affcnt, int (*outc)(char))
-version SUNW_1.1
-end
-
-function ttimeout
-declaration int ttimeout(int delay)
-version SUNWprivate_1.1
-end
-
-data ttytype
-version SUNWprivate_1.1
-end
-
-function untouchwin
-include <curses.h>, <term.h>
-declaration int untouchwin(WINDOW *win)
-version SUNW_1.1
-end
-
-function use_env
-declaration void use_env(int bf)
-version SUNWprivate_1.1
-end
-
-function vid32attr extends libcurses/spec/curses.spec vidattr
-version SUNWprivate_1.1
-end
-
-function vid32puts extends libcurses/spec/curses.spec vidputs
-version SUNWprivate_1.1
-end
-
-function vidattr
-declaration int vidattr(chtype newmode)
-version SUNW_1.1
-end
-
-function vidputs
-declaration int vidputs(chtype a, int (*b)(char))
-version SUNW_1.1
-end
-
-function vline
-declaration int vline(chtype vertch, int num_chars)
-version SUNWprivate_1.1
-end
-
-function waddchstr
-include <curses.h>, <term.h>
-declaration int waddchstr(WINDOW *win, chtype *str)
-version SUNW_1.1
-end
-
-function waddstr
-include <curses.h>, <term.h>
-declaration int waddstr(WINDOW *win, char *str)
-version SUNW_1.1
-end
-
-function waddwchstr
-include <curses.h>, <term.h>
-declaration int waddwchstr(WINDOW *win, chtype *str)
-version SUNW_1.1
-end
-
-function waddwstr
-include <curses.h>, <term.h>
-declaration int waddwstr(WINDOW *win, wchar_t *ws)
-version SUNW_1.1
-end
-
-function wadjcurspos
-include <curses.h>, <term.h>
-declaration int wadjcurspos(WINDOW *win)
-version SUNW_1.1
-end
-
-function wbkgdset
-include <curses.h>, <term.h>
-declaration void wbkgdset(WINDOW *win, chtype c)
-version SUNW_1.1
-end
-
-function wclear
-include <curses.h>, <term.h>
-declaration int wclear(WINDOW *win)
-version SUNW_1.1
-end
-
-function wcscrw
-declaration int wcscrw(wchar_t wc)
-version SUNWprivate_1.1
-end
-
-function wdeleteln
-include <curses.h>, <term.h>
-declaration int wdeleteln(WINDOW *win)
-version SUNW_1.1
-end
-
-function werase
-include <curses.h>, <term.h>
-declaration int werase(WINDOW *win)
-version SUNW_1.1
-end
-
-function winch
-include <curses.h>, <term.h>
-declaration chtype winch(WINDOW *win)
-version SUNW_1.1
-end
-
-function winsertln
-include <curses.h>, <term.h>
-declaration int winsertln(WINDOW *win)
-version SUNW_1.1
-end
-
-function winsstr
-include <curses.h>, <term.h>
-declaration int winsstr(WINDOW *win, char *str)
-version SUNW_1.1
-end
-
-function winswstr
-include <curses.h>, <term.h>
-declaration int winswstr(WINDOW *win, wchar_t *ws)
-version SUNW_1.1
-end
-
-function winwchstr
-include <curses.h>, <term.h>
-declaration int winwchstr(WINDOW *win, chtype *str)
-version SUNW_1.1
-end
-
-function wmbinch
-include <curses.h>, <term.h>
-declaration char *wmbinch(WINDOW *win, int y, int x)
-version SUNWprivate_1.1
-end
-
-function wmbmove
-include <curses.h>, <term.h>
-declaration int wmbmove(WINDOW *win, int y, int x)
-version SUNWprivate_1.1
-end
-
-function wmovenextch
-include <curses.h>, <term.h>
-declaration int wmovenextch(WINDOW *win)
-version SUNW_1.1
-end
-
-function wmoveprevch
-include <curses.h>, <term.h>
-declaration int wmoveprevch(WINDOW *win)
-version SUNW_1.1
-end
-
-function wtimeout
-include <curses.h>, <term.h>
-declaration void wtimeout(WINDOW *win, int tm)
-version SUNW_1.1
-end
diff --git a/usr/src/lib/libcurses/spec/i386/Makefile b/usr/src/lib/libcurses/spec/i386/Makefile
deleted file mode 100644
index 44bc48652e..0000000000
--- a/usr/src/lib/libcurses/spec/i386/Makefile
+++ /dev/null
@@ -1,43 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libcurses/spec/i386/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#i386_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libcurses/spec/sparc/Makefile b/usr/src/lib/libcurses/spec/sparc/Makefile
deleted file mode 100644
index 16877a6747..0000000000
--- a/usr/src/lib/libcurses/spec/sparc/Makefile
+++ /dev/null
@@ -1,43 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# Copyright (c) 1998-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libcurses/spec/sparc/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-sparc_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libcurses/spec/sparcv9/Makefile b/usr/src/lib/libcurses/spec/sparcv9/Makefile
deleted file mode 100644
index d5d3a92af9..0000000000
--- a/usr/src/lib/libcurses/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,45 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1998-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libcurses/spec/sparcv9/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-sparcv9_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libcurses/spec/versions b/usr/src/lib/libcurses/spec/versions
deleted file mode 100644
index 38a2cfc77a..0000000000
--- a/usr/src/lib/libcurses/spec/versions
+++ /dev/null
@@ -1,43 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-sparc {
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-sparcv9 {
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-i386 {
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-amd64 {
- SUNW_1.1;
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/libdevice/Makefile b/usr/src/lib/libdevice/Makefile
index 5facb90b3b..deea4f83e8 100644
--- a/usr/src/lib/libdevice/Makefile
+++ b/usr/src/lib/libdevice/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,16 +19,16 @@
# CDDL HEADER END
#
#
-# Copyright (c) 1990-1999 by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-#pragma ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libdevice/Makefile
include ../Makefile.lib
-SUBDIRS = spec .WAIT $(MACH) $(BUILD64) $(MACH64)
+SUBDIRS = $(MACH)
+$(BUILD64)SUBDIRS += $(MACH64)
# conditional assignments
all := TARGET= all
@@ -58,7 +57,7 @@ install_h: $(ROOTHDRS)
check: $(CHECKHDRS)
-$(MACH) $(MACH64) spec: FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
diff --git a/usr/src/lib/libdevice/Makefile.com b/usr/src/lib/libdevice/Makefile.com
index f082e9e174..269cb501e7 100644
--- a/usr/src/lib/libdevice/Makefile.com
+++ b/usr/src/lib/libdevice/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,7 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
@@ -37,10 +36,6 @@ LIBS = $(DYNLIB) $(LINTLIB)
LDLIBS += -lc -lnvpair
$(LINTLIB) := SRCS = $(SRCDIR)/$(LINTSRC)
-SRCDIR = ..
-MAPDIR = ../spec/$(TRANSMACH)
-SPECMAPFILE = $(MAPDIR)/mapfile
-
CFLAGS += $(CCVERBOSE)
CPPFLAGS += -D_REENTRANT
diff --git a/usr/src/lib/libdevice/mapfile-vers b/usr/src/lib/libdevice/mapfile-vers
new file mode 100644
index 0000000000..c91a7adf82
--- /dev/null
+++ b/usr/src/lib/libdevice/mapfile-vers
@@ -0,0 +1,78 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNWprivate_1.1 {
+ global:
+ devctl_ap_acquire;
+ devctl_ap_configure;
+ devctl_ap_connect;
+ devctl_ap_disconnect;
+ devctl_ap_getstate;
+ devctl_ap_insert;
+ devctl_ap_remove;
+ devctl_ap_unconfigure;
+ devctl_bus_acquire;
+ devctl_bus_configure;
+ devctl_bus_dev_create;
+ devctl_bus_getstate;
+ devctl_bus_quiesce;
+ devctl_bus_reset;
+ devctl_bus_resetall;
+ devctl_bus_unconfigure;
+ devctl_bus_unquiesce;
+ devctl_ddef_alloc;
+ devctl_ddef_byte_array;
+ devctl_ddef_free;
+ devctl_ddef_int;
+ devctl_ddef_int_array;
+ devctl_ddef_string;
+ devctl_ddef_string_array;
+ devctl_device_acquire;
+ devctl_device_getstate;
+ devctl_device_offline;
+ devctl_device_online;
+ devctl_device_remove;
+ devctl_device_reset;
+ devctl_get_pathname;
+ devctl_pm_bus_acquire;
+ devctl_pm_bus_no_invol;
+ devctl_pm_bus_teststrict;
+ devctl_pm_busycomponent;
+ devctl_pm_changepowerhigh;
+ devctl_pm_changepowerlow;
+ devctl_pm_dev_acquire;
+ devctl_pm_device_changeonresume;
+ devctl_pm_device_no_lower_power;
+ devctl_pm_device_promprintf;
+ devctl_pm_failsuspend;
+ devctl_pm_idlecomponent;
+ devctl_pm_raisepower;
+ devctl_pm_testbusy;
+ devctl_release;
+ local:
+ *;
+};
diff --git a/usr/src/lib/libdevice/spec/Makefile b/usr/src/lib/libdevice/spec/Makefile
deleted file mode 100644
index 7dc67f05ef..0000000000
--- a/usr/src/lib/libdevice/spec/Makefile
+++ /dev/null
@@ -1,30 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libdevice/spec/Makefile
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/libdevice/spec/Makefile.targ b/usr/src/lib/libdevice/spec/Makefile.targ
deleted file mode 100644
index 04eac9aad3..0000000000
--- a/usr/src/lib/libdevice/spec/Makefile.targ
+++ /dev/null
@@ -1,35 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libdevice/spec/Makefile.targ
-
-LIBRARY = libdevice.a
-VERS = .1
-
-OBJECTS = device.o
-
-SPECCPP =
diff --git a/usr/src/lib/libdevice/spec/amd64/Makefile b/usr/src/lib/libdevice/spec/amd64/Makefile
deleted file mode 100644
index 2a38c1cba9..0000000000
--- a/usr/src/lib/libdevice/spec/amd64/Makefile
+++ /dev/null
@@ -1,42 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#amd64_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libdevice/spec/device.spec b/usr/src/lib/libdevice/spec/device.spec
deleted file mode 100644
index 6be747179f..0000000000
--- a/usr/src/lib/libdevice/spec/device.spec
+++ /dev/null
@@ -1,312 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libdevice/spec/device.spec
-
-function devctl_release
-include <sys/types.h>, <libdevice.h>
-declaration void devctl_release(devctl_hdl_t hdl)
-version SUNWprivate_1.1
-end
-
-function devctl_device_online
-include <sys/types.h>, <libdevice.h>
-declaration int devctl_device_online(devctl_hdl_t hdl)
-version SUNWprivate_1.1
-end
-
-function devctl_device_offline
-include <sys/types.h>, <libdevice.h>
-declaration int devctl_device_offline(devctl_hdl_t hdl)
-version SUNWprivate_1.1
-end
-
-function devctl_device_getstate
-include <sys/types.h>, <libdevice.h>
-declaration int devctl_device_getstate(devctl_hdl_t hdl, uint_t *statep)
-version SUNWprivate_1.1
-end
-
-function devctl_device_reset
-include <sys/types.h>, <libdevice.h>
-declaration int devctl_device_reset(devctl_hdl_t hdl)
-version SUNWprivate_1.1
-end
-
-function devctl_bus_quiesce
-include <sys/types.h>, <libdevice.h>
-declaration int devctl_bus_quiesce(devctl_hdl_t hdl)
-version SUNWprivate_1.1
-end
-
-function devctl_bus_unquiesce
-include <sys/types.h>, <libdevice.h>
-declaration int devctl_bus_unquiesce(devctl_hdl_t hdl)
-version SUNWprivate_1.1
-end
-
-function devctl_bus_getstate
-include <sys/types.h>, <libdevice.h>
-declaration int devctl_bus_getstate(devctl_hdl_t hdl, uint_t *statep)
-version SUNWprivate_1.1
-end
-
-function devctl_bus_reset
-include <sys/types.h>, <libdevice.h>
-declaration int devctl_bus_reset(devctl_hdl_t hdl)
-version SUNWprivate_1.1
-end
-
-function devctl_bus_resetall
-include <sys/types.h>, <libdevice.h>
-declaration int devctl_bus_resetall(devctl_hdl_t hdl)
-version SUNWprivate_1.1
-end
-
-function devctl_bus_acquire
-include <sys/types.h>, <libdevice.h>
-declaration devctl_hdl_t devctl_bus_acquire(char *devfs_path, uint_t flags)
-version SUNWprivate_1.1
-end
-
-function devctl_bus_configure
-include <sys/types.h>, <libdevice.h>
-declaration int devctl_bus_configure(devctl_hdl_t dcp)
-version SUNWprivate_1.1
-end
-
-function devctl_bus_unconfigure
-include <sys/types.h>, <libdevice.h>
-declaration int devctl_bus_unconfigure(devctl_hdl_t dcp)
-version SUNWprivate_1.1
-end
-
-function devctl_device_acquire
-include <sys/types.h>, <libdevice.h>
-declaration devctl_hdl_t devctl_device_acquire(char *devfs_path, \
- uint_t flags)
-version SUNWprivate_1.1
-end
-
-function devctl_device_remove
-include <sys/types.h>, <libdevice.h>
-declaration int devctl_device_remove(devctl_hdl_t dcp)
-version SUNWprivate_1.1
-end
-
-function devctl_ap_acquire
-include <libdevice.h>
-declaration devctl_hdl_t devctl_ap_acquire(char *devfs_path, uint_t flags)
-version SUNWprivate_1.1
-end
-
-function devctl_pm_dev_acquire
-include <libdevice.h>
-declaration devctl_hdl_t devctl_pm_dev_acquire(char *devfs_path, uint_t flags)
-version SUNWprivate_1.1
-end
-
-function devctl_pm_bus_acquire
-include <libdevice.h>
-declaration devctl_hdl_t devctl_pm_bus_acquire(char *devfs_path, uint_t flags)
-version SUNWprivate_1.1
-end
-
-function devctl_ap_insert
-include <libdevice.h>
-declaration int devctl_ap_insert(devctl_hdl_t hdl, nvlist_t *ap_data)
-version SUNWprivate_1.1
-end
-
-function devctl_ap_remove
-include <libdevice.h>
-declaration int devctl_ap_remove(devctl_hdl_t hdl, nvlist_t *ap_data)
-version SUNWprivate_1.1
-end
-
-function devctl_ap_connect
-include <libdevice.h>
-declaration int devctl_ap_connect(devctl_hdl_t hdl, nvlist_t *ap_data)
-version SUNWprivate_1.1
-end
-
-function devctl_ap_disconnect
-include <libdevice.h>
-declaration int devctl_ap_disconnect(devctl_hdl_t hdl, \
- nvlist_t *ap_data)
-version SUNWprivate_1.1
-end
-
-function devctl_ap_configure
-include <libdevice.h>
-declaration int devctl_ap_configure(devctl_hdl_t hdl, \
- nvlist_t *ap_data)
-version SUNWprivate_1.1
-end
-
-function devctl_ap_unconfigure
-include <libdevice.h>
-declaration int devctl_ap_unconfigure(devctl_hdl_t hdl, \
- nvlist_t *ap_data)
-version SUNWprivate_1.1
-end
-
-function devctl_ap_getstate
-include <libdevice.h>
-declaration int devctl_ap_getstate(devctl_hdl_t hdl, \
- nvlist_t *ap_data, devctl_ap_state_t *statep)
-version SUNWprivate_1.1
-end
-
-function devctl_ddef_alloc
-include <sys/types.h>, <libdevice.h>
-declaration devctl_ddef_t devctl_ddef_alloc(char *, int)
-version SUNWprivate_1.1
-end
-
-function devctl_ddef_free
-include <libdevice.h>
-declaration void devctl_ddef_free(devctl_ddef_t)
-version SUNWprivate_1.1
-end
-
-function devctl_ddef_int
-include <libdevice.h>
-declaration int devctl_ddef_int(devctl_ddef_t, char *, int32_t)
-version SUNWprivate_1.1
-end
-
-function devctl_ddef_int_array
-include <libdevice.h>
-declaration int devctl_ddef_int_array(devctl_ddef_t, \
- char *, int, int32_t *)
-version SUNWprivate_1.1
-end
-
-function devctl_ddef_string
-include <libdevice.h>
-declaration int devctl_ddef_string(devctl_ddef_t, char *, char *)
-version SUNWprivate_1.1
-end
-
-function devctl_ddef_string_array
-include <libdevice.h>
-declaration int devctl_ddef_string_array(devctl_ddef_t, \
- char *, int, char **)
-version SUNWprivate_1.1
-end
-
-function devctl_ddef_byte_array
-include <libdevice.h>
-declaration int devctl_ddef_byte_array(devctl_ddef_t, \
- char *, int, uchar_t *)
-version SUNWprivate_1.1
-end
-
-function devctl_bus_dev_create
-include <libdevice.h>
-declaration int devctl_bus_dev_create(devctl_hdl_t, \
- devctl_ddef_t, uint_t, devctl_hdl_t *)
-version SUNWprivate_1.1
-end
-
-function devctl_get_pathname
-include <libdevice.h>
-declaration char * devctl_get_pathname(devctl_hdl_t, char *, size_t)
-version SUNWprivate_1.1
-end
-
-function devctl_pm_raisepower
-include <sys/types.h>, <libdevice.h>
-declaration int devctl_pm_raisepower(devctl_hdl_t hdl)
-version SUNWprivate_1.1
-end
-
-function devctl_pm_changepowerlow
-include <sys/types.h>, <libdevice.h>
-declaration int devctl_pm_changepowerlow(devctl_hdl_t hdl)
-version SUNWprivate_1.1
-end
-
-function devctl_pm_changepowerhigh
-include <sys/types.h>, <libdevice.h>
-declaration int devctl_pm_changepowerhigh(devctl_hdl_t hdl)
-version SUNWprivate_1.1
-end
-
-function devctl_pm_idlecomponent
-include <sys/types.h>, <libdevice.h>
-declaration int devctl_pm_idlecomponent(devctl_hdl_t hdl)
-version SUNWprivate_1.1
-end
-
-function devctl_pm_busycomponent
-include <sys/types.h>, <libdevice.h>
-declaration int devctl_pm_busycomponent(devctl_hdl_t hdl)
-version SUNWprivate_1.1
-end
-
-function devctl_pm_testbusy
-include <sys/types.h>, <libdevice.h>
-declaration int devctl_pm_testbusy(devctl_hdl_t hdl, uint_t *busyp)
-version SUNWprivate_1.1
-end
-
-function devctl_pm_failsuspend
-include <sys/types.h>, <libdevice.h>
-declaration int devctl_pm_failsuspend(devctl_hdl_t hdl)
-version SUNWprivate_1.1
-end
-
-function devctl_pm_bus_teststrict
-include <sys/types.h>, <libdevice.h>
-declaration int devctl_pm_bus_teststrict(devctl_hdl_t hdl, uint_t *strict)
-version SUNWprivate_1.1
-end
-
-function devctl_pm_device_changeonresume
-include <sys/types.h>, <libdevice.h>
-declaration int devctl_pm_device_changeonresume(devctl_hdl_t hdl)
-version SUNWprivate_1.1
-end
-
-function devctl_pm_device_no_lower_power
-include <sys/types.h>, <libdevice.h>
-declaration int devctl_pm_device_no_lower_power(devctl_hdl_t hdl)
-version SUNWprivate_1.1
-end
-
-function devctl_pm_bus_no_invol
-include <sys/types.h>, <libdevice.h>
-declaration int devctl_pm_bus_no_invol(devctl_hdl_t hdl)
-version SUNWprivate_1.1
-end
-
-function devctl_pm_device_promprintf
-include <sys/types.h>, <libdevice.h>
-declaration int devctl_pm_device_promprintf(devctl_hdl_t hdl)
-version SUNWprivate_1.1
-end
diff --git a/usr/src/lib/libdevice/spec/i386/Makefile b/usr/src/lib/libdevice/spec/i386/Makefile
deleted file mode 100644
index 6a0eed0e6e..0000000000
--- a/usr/src/lib/libdevice/spec/i386/Makefile
+++ /dev/null
@@ -1,42 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libdevice/spec/i386/Makefile
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#i386_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libdevice/spec/sparc/Makefile b/usr/src/lib/libdevice/spec/sparc/Makefile
deleted file mode 100644
index 1f60fde554..0000000000
--- a/usr/src/lib/libdevice/spec/sparc/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libdevice/spec/sparc/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#sparc_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libdevice/spec/sparcv9/Makefile b/usr/src/lib/libdevice/spec/sparcv9/Makefile
deleted file mode 100644
index 86c4c1e032..0000000000
--- a/usr/src/lib/libdevice/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,43 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libdevice/spec/sparcv9/Makefile
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#sparcv9_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libdevice/spec/versions b/usr/src/lib/libdevice/spec/versions
deleted file mode 100644
index a542a0f7fc..0000000000
--- a/usr/src/lib/libdevice/spec/versions
+++ /dev/null
@@ -1,39 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-sparc {
- SUNWprivate_1.1;
-}
-sparcv9 {
- SUNWprivate_1.1;
-}
-i386 {
- SUNWprivate_1.1;
-}
-amd64 {
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/libdevid/Makefile b/usr/src/lib/libdevid/Makefile
index eb9c9fd272..86addda787 100644
--- a/usr/src/lib/libdevid/Makefile
+++ b/usr/src/lib/libdevid/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,17 +19,16 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libdevid/Makefile
+# ident "%Z%%M% %I% %E% SMI"
#
include ../Makefile.lib
-SUBDIRS = spec .WAIT $(MACH) $(BUILD64) $(MACH64)
+SUBDIRS = $(MACH)
+$(BUILD64)SUBDIRS += $(MACH64)
# conditional assignments
all := TARGET= all
@@ -57,7 +55,7 @@ install_h: $(ROOTHDRS)
check: $(CHECKHDRS)
-$(MACH) $(MACH64) spec: FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
diff --git a/usr/src/lib/libdevid/Makefile.com b/usr/src/lib/libdevid/Makefile.com
index 8ef377e354..25c5e2d4c7 100644
--- a/usr/src/lib/libdevid/Makefile.com
+++ b/usr/src/lib/libdevid/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,7 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
@@ -42,10 +41,6 @@ LIBS = $(DYNLIB) $(LINTLIB)
#
LDLIBS += -ldevinfo -lc
-SRCDIR = ..
-MAPDIR = ../spec/$(TRANSMACH)
-SPECMAPFILE = $(MAPDIR)/mapfile
-
CFLAGS += $(CCVERBOSE)
.KEEP_STATE:
diff --git a/usr/src/lib/libdevid/mapfile-vers b/usr/src/lib/libdevid/mapfile-vers
new file mode 100644
index 0000000000..209614fe26
--- /dev/null
+++ b/usr/src/lib/libdevid/mapfile-vers
@@ -0,0 +1,55 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNW_1.2 {
+ global:
+ devid_str_decode;
+ devid_str_encode;
+ devid_str_free;
+ devid_valid;
+} SUNW_1.1;
+
+SUNW_1.1 {
+ global:
+ devid_compare;
+ devid_deviceid_to_nmlist;
+ devid_free;
+ devid_free_nmlist;
+ devid_get;
+ devid_get_minor_name;
+ devid_sizeof;
+};
+
+SUNWprivate_1.1 {
+ global:
+ devid_free_guid;
+ devid_scsi_encode;
+ devid_str_compare;
+ devid_to_guid;
+ local:
+ *;
+};
diff --git a/usr/src/lib/libdevid/spec/Makefile b/usr/src/lib/libdevid/spec/Makefile
deleted file mode 100644
index f6d27e20e1..0000000000
--- a/usr/src/lib/libdevid/spec/Makefile
+++ /dev/null
@@ -1,30 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libdevid/spec/Makefile
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/libdevid/spec/Makefile.targ b/usr/src/lib/libdevid/spec/Makefile.targ
deleted file mode 100644
index 061bead63c..0000000000
--- a/usr/src/lib/libdevid/spec/Makefile.targ
+++ /dev/null
@@ -1,35 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libdevid/spec/Makefile.targ
-
-LIBRARY = libdevid.a
-VERS = .1
-
-OBJECTS = devid.o
-
-SPECCPP = -I../..
diff --git a/usr/src/lib/libdevid/spec/amd64/Makefile b/usr/src/lib/libdevid/spec/amd64/Makefile
deleted file mode 100644
index 2a38c1cba9..0000000000
--- a/usr/src/lib/libdevid/spec/amd64/Makefile
+++ /dev/null
@@ -1,42 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#amd64_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libdevid/spec/devid.spec b/usr/src/lib/libdevid/spec/devid.spec
deleted file mode 100644
index b7a14d1486..0000000000
--- a/usr/src/lib/libdevid/spec/devid.spec
+++ /dev/null
@@ -1,135 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/devid/spec/devid.spec
-
-#
-# Stable: PSARC/1995/352
-#
-function devid_get
-include <sys/types.h>, <libdevid.h>
-declaration int devid_get(int fd, ddi_devid_t *devid)
-version SUNW_1.1
-end
-
-function devid_free
-include <sys/types.h>, <libdevid.h>
-declaration void devid_free(ddi_devid_t devid)
-version SUNW_1.1
-end
-
-function devid_get_minor_name
-include <sys/types.h>, <libdevid.h>
-declaration int devid_get_minor_name(int fd, char **minor_name)
-version SUNW_1.1
-end
-
-function devid_sizeof
-include <sys/types.h>, <libdevid.h>
-declaration size_t devid_sizeof(ddi_devid_t devid)
-version SUNW_1.1
-end
-
-function devid_compare
-include <sys/types.h>, <libdevid.h>
-declaration int devid_compare(ddi_devid_t id1, ddi_devid_t id2)
-version SUNW_1.1
-end
-
-function devid_deviceid_to_nmlist
-include <sys/types.h>, <libdevid.h>
-declaration int devid_deviceid_to_nmlist( char *search_path, \
- ddi_devid_t devid, char *minor_name, \
- devid_nmlist_t **retlist)
-version SUNW_1.1
-end
-
-function devid_free_nmlist
-include <sys/types.h>, <libdevid.h>
-declaration void devid_free_nmlist(devid_nmlist_t *list)
-version SUNW_1.1
-end
-
-#
-# Stable: PSARC/2000/480
-#
-function devid_valid
-include <sys/types.h>, <libdevid.h>
-declaration int devid_valid(ddi_devid_t devid)
-version SUNW_1.2
-end
-
-function devid_str_encode
-include <sys/types.h>, <libdevid.h>
-declaration char *devid_str_encode(ddi_devid_t devid, char *minor_name)
-version SUNW_1.2
-end
-
-function devid_str_decode
-include <sys/types.h>, <libdevid.h>
-declaration int devid_str_decode(char *devidstr, ddi_devid_t *devidp, \
- char **minor_namep)
-version SUNW_1.2
-end
-
-function devid_str_free
-include <sys/types.h>, <libdevid.h>
-declaration void devid_str_free(char *devidstr)
-version SUNW_1.2
-end
-
-#
-# Consolidation private: PSARC/2000/480
-#
-function devid_str_compare
-include <sys/types.h>, <libdevid.h>
-declaration int devid_str_compare(char *id1_str, char *id2_str)
-version SUNWprivate_1.1
-end
-
-#
-# Consolidation private: PSARC/2004/504
-#
-function devid_scsi_encode
-include <sys/types.h>, <libdevid.h>
-declaration int devid_scsi_encode(int version, char *driver_name, \
- uchar_t *inq, size_t inq_len, uchar_t *inq80, \
- size_t inq80_len, uchar_t *inq83, \
- size_t inq83_len, ddi_devid_t *devid);
-version SUNWprivate_1.1
-end
-
-function devid_to_guid
-include <sys/types.h>, <libdevid.h>
-declaration char *devid_to_guid(ddi_devid_t devid);
-version SUNWprivate_1.1
-end
-
-function devid_free_guid
-include <sys/types.h>, <libdevid.h>
-declaration void devid_free_guid(char *guid);
-version SUNWprivate_1.1
-end
diff --git a/usr/src/lib/libdevid/spec/i386/Makefile b/usr/src/lib/libdevid/spec/i386/Makefile
deleted file mode 100644
index 472668a010..0000000000
--- a/usr/src/lib/libdevid/spec/i386/Makefile
+++ /dev/null
@@ -1,42 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libdevid/spec/i386/Makefile
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#i386_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libdevid/spec/sparc/Makefile b/usr/src/lib/libdevid/spec/sparc/Makefile
deleted file mode 100644
index 850a834f1e..0000000000
--- a/usr/src/lib/libdevid/spec/sparc/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libdevid/spec/sparc/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#sparc_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libdevid/spec/sparcv9/Makefile b/usr/src/lib/libdevid/spec/sparcv9/Makefile
deleted file mode 100644
index ab0f9e69c9..0000000000
--- a/usr/src/lib/libdevid/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,43 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libdevid/spec/sparcv9/Makefile
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#sparcv9_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libdevid/spec/versions b/usr/src/lib/libdevid/spec/versions
deleted file mode 100644
index f5e512d84b..0000000000
--- a/usr/src/lib/libdevid/spec/versions
+++ /dev/null
@@ -1,49 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# SUNW_1.2: Public (stable) PSARC/2000/480
-# SUNW_1.1: Public (stable) PSARC/1995/352
-#
-sparc {
- SUNW_1.2: {SUNW_1.1};
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-sparcv9 {
- SUNW_1.2: {SUNW_1.1};
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-i386 {
- SUNW_1.2: {SUNW_1.1};
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-amd64 {
- SUNW_1.2: {SUNW_1.1};
- SUNW_1.1;
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/libdevinfo/Makefile b/usr/src/lib/libdevinfo/Makefile
index 96ce3a2dcd..17b5ed71f6 100644
--- a/usr/src/lib/libdevinfo/Makefile
+++ b/usr/src/lib/libdevinfo/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -19,17 +18,17 @@
#
# CDDL HEADER END
#
-# ident "%Z%%M% %I% %E% SMI"
#
-# Copyright (c) 1990-1999 by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-# lib/libdevinfo/Makefile
+# ident "%Z%%M% %I% %E% SMI"
#
include ../Makefile.lib
-SUBDIRS = spec .WAIT $(MACH) $(BUILD64) $(MACH64)
+SUBDIRS = $(MACH)
+$(BUILD64)SUBDIRS += $(MACH64)
# conditional assignments
all := TARGET= all
@@ -58,7 +57,7 @@ install_h: $(ROOTHDRS)
check: $(CHECKHDRS)
-$(MACH) $(MACH64) spec: FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
diff --git a/usr/src/lib/libdevinfo/Makefile.com b/usr/src/lib/libdevinfo/Makefile.com
index cc05e1bad6..d071f6a304 100644
--- a/usr/src/lib/libdevinfo/Makefile.com
+++ b/usr/src/lib/libdevinfo/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,7 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
@@ -39,10 +38,6 @@ LIBS = $(DYNLIB) $(LINTLIB)
LDLIBS += -lnvpair -lsec -lc
$(LINTLIB) := SRCS = $(SRCDIR)/$(LINTSRC)
-SRCDIR = ..
-MAPDIR = ../spec/$(TRANSMACH)
-SPECMAPFILE = $(MAPDIR)/mapfile
-
CFLAGS += $(CCVERBOSE)
CPPFLAGS += -I..
diff --git a/usr/src/lib/libdevinfo/amd64/Makefile b/usr/src/lib/libdevinfo/amd64/Makefile
index 45561f6e73..9ab764a959 100644
--- a/usr/src/lib/libdevinfo/amd64/Makefile
+++ b/usr/src/lib/libdevinfo/amd64/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,13 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-MAPDIR= ../spec/amd64
include ../Makefile.com
include ../../Makefile.lib.64
diff --git a/usr/src/lib/libdevinfo/i386/Makefile b/usr/src/lib/libdevinfo/i386/Makefile
index 821c7b0afd..e41aa0aa25 100644
--- a/usr/src/lib/libdevinfo/i386/Makefile
+++ b/usr/src/lib/libdevinfo/i386/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright 1996-2003 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libdevinfo/i386/Makefile
-MAPDIR= ../spec/i386
include ../Makefile.com
all: $(LIBS)
diff --git a/usr/src/lib/libdevinfo/mapfile-vers b/usr/src/lib/libdevinfo/mapfile-vers
new file mode 100644
index 0000000000..7ddb19dae3
--- /dev/null
+++ b/usr/src/lib/libdevinfo/mapfile-vers
@@ -0,0 +1,185 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNW_1.3 {
+ global:
+ di_devfs_minor_path;
+ di_driver_major;
+ di_link_next_by_lnode;
+ di_link_next_by_node;
+ di_link_private_get;
+ di_link_private_set;
+ di_link_spectype;
+ di_link_to_lnode;
+ di_lnode_devinfo;
+ di_lnode_devt;
+ di_lnode_name;
+ di_lnode_next;
+ di_lnode_private_get;
+ di_lnode_private_set;
+ di_minor_private_get;
+ di_minor_private_set;
+ di_node_private_get;
+ di_node_private_set;
+ di_walk_link;
+ di_walk_lnode;
+} SUNW_1.2;
+
+# Due to mistakes made early in the history of this library, there are
+# no SUNW_1.2 symbols, but the version is now kept as a placeholder.
+# Don't add any symbols to this version.
+
+SUNW_1.2 {
+ global:
+ SUNW_1.2;
+} SUNW_1.1;
+
+SUNW_1.1 {
+ global:
+ di_binding_name;
+ di_bus_addr;
+ di_child_node;
+ di_compatible_names;
+ di_devfs_path;
+ di_devfs_path_free;
+ di_devid;
+ di_driver_name;
+ di_driver_ops;
+ di_drv_first_node;
+ di_drv_next_node;
+ di_fini;
+ di_init;
+ di_instance;
+ di_minor_devt;
+ di_minor_name;
+ di_minor_next;
+ di_minor_nodetype;
+ di_minor_spectype;
+ di_minor_type;
+ di_nodeid;
+ di_node_name;
+ di_parent_node;
+ di_prom_fini;
+ di_prom_init;
+ di_prom_prop_data;
+ di_prom_prop_lookup_bytes;
+ di_prom_prop_lookup_ints;
+ di_prom_prop_lookup_strings;
+ di_prom_prop_name;
+ di_prom_prop_next;
+ di_prop_bytes;
+ di_prop_devt;
+ di_prop_int64;
+ di_prop_ints;
+ di_prop_lookup_bytes;
+ di_prop_lookup_int64;
+ di_prop_lookup_ints;
+ di_prop_lookup_strings;
+ di_prop_name;
+ di_prop_next;
+ di_prop_strings;
+ di_prop_type;
+ di_sibling_node;
+ di_state;
+ di_walk_minor;
+ di_walk_node;
+};
+
+SUNWprivate_1.1 {
+ global:
+ devfs_add_minor_perm;
+ devfs_bootdev_free_list;
+ devfs_bootdev_get_list;
+ devfs_bootdev_modifiable;
+ devfs_bootdev_set_list;
+ devfs_dev_to_prom_name;
+ devfs_free_all_prom_names;
+ devfs_free_minor_perm;
+ devfs_get_all_prom_names;
+ devfs_get_prom_names;
+ devfs_install2target;
+ devfs_load_minor_perm;
+ devfs_path_to_drv;
+ devfs_read_minor_perm;
+ devfs_resolve_aliases;
+ devfs_rm_minor_perm;
+ devfs_target2install;
+ di_devlink_add_link;
+ di_devlink_cache_walk;
+ di_devlink_close;
+ di_devlink_content;
+ di_devlink_dup;
+ di_devlink_fini;
+ di_devlink_free;
+ di_devlink_init;
+ di_devlink_init_root;
+ di_devlink_open;
+ di_devlink_path;
+ di_devlink_rm_link;
+ di_devlink_type;
+ di_devlink_update;
+ di_devlink_walk;
+ di_devperm_login;
+ di_devperm_logout;
+ di_driver_private_data;
+ di_init_driver;
+ di_init_impl;
+ di_lookup_node;
+ di_minor_devinfo;
+ di_node_state;
+ di_parent_private_data;
+ di_path_addr;
+ di_path_client_node;
+ di_path_next;
+ di_path_next_client;
+ di_path_next_phci;
+ di_path_phci_node;
+ di_path_prop_bytes;
+ di_path_prop_int64s;
+ di_path_prop_ints;
+ di_path_prop_len;
+ di_path_prop_lookup_bytes;
+ di_path_prop_lookup_int64s;
+ di_path_prop_lookup_ints;
+ di_path_prop_lookup_strings;
+ di_path_prop_name;
+ di_path_prop_next;
+ di_path_prop_strings;
+ di_path_prop_type;
+ di_path_state;
+ di_phci_first_node;
+ di_phci_next_node;
+ di_prop_drv_next;
+ di_prop_global_next;
+ di_prop_hw_next;
+ di_prop_rawdata;
+ di_prop_sys_next;
+ di_vhci_first_node;
+ di_vhci_next_node;
+ local:
+ *;
+};
diff --git a/usr/src/lib/libdevinfo/sparc/Makefile b/usr/src/lib/libdevinfo/sparc/Makefile
index 0c9bd6da6d..e41aa0aa25 100644
--- a/usr/src/lib/libdevinfo/sparc/Makefile
+++ b/usr/src/lib/libdevinfo/sparc/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright 1996-2003 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libdevinfo/sparc/Makefile
-MAPDIR= ../spec/sparc
include ../Makefile.com
all: $(LIBS)
diff --git a/usr/src/lib/libdevinfo/sparcv9/Makefile b/usr/src/lib/libdevinfo/sparcv9/Makefile
index 2d0a109adf..9ab764a959 100644
--- a/usr/src/lib/libdevinfo/sparcv9/Makefile
+++ b/usr/src/lib/libdevinfo/sparcv9/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright 1996-2003 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libdevinfo/sparcv9/Makefile
-MAPDIR= ../spec/sparcv9
include ../Makefile.com
include ../../Makefile.lib.64
diff --git a/usr/src/lib/libdevinfo/spec/Makefile b/usr/src/lib/libdevinfo/spec/Makefile
deleted file mode 100644
index 17a9843469..0000000000
--- a/usr/src/lib/libdevinfo/spec/Makefile
+++ /dev/null
@@ -1,30 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libdevinfo/spec/Makefile
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/libdevinfo/spec/Makefile.targ b/usr/src/lib/libdevinfo/spec/Makefile.targ
deleted file mode 100644
index 7c57fa8369..0000000000
--- a/usr/src/lib/libdevinfo/spec/Makefile.targ
+++ /dev/null
@@ -1,35 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libdevinfo/spec/Makefile.targ
-
-LIBRARY = libdevinfo.a
-VERS = .1
-
-OBJECTS = devinfo.o
-
-SPECCPP = -I../..
diff --git a/usr/src/lib/libdevinfo/spec/amd64/Makefile b/usr/src/lib/libdevinfo/spec/amd64/Makefile
deleted file mode 100644
index 2a38c1cba9..0000000000
--- a/usr/src/lib/libdevinfo/spec/amd64/Makefile
+++ /dev/null
@@ -1,42 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#amd64_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libdevinfo/spec/devinfo.spec b/usr/src/lib/libdevinfo/spec/devinfo.spec
deleted file mode 100644
index cbf95569e3..0000000000
--- a/usr/src/lib/libdevinfo/spec/devinfo.spec
+++ /dev/null
@@ -1,975 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libdevinfo/spec/devinfo.spec
-
-function di_init
-include <libdevinfo.h>
-declaration di_node_t di_init(const char *phys_path, uint_t flag)
-version SUNW_1.1
-end
-
-function di_fini
-include <libdevinfo.h>
-declaration void di_fini(di_node_t root)
-version SUNW_1.1
-end
-
-function di_parent_node
-include <libdevinfo.h>
-declaration di_node_t di_parent_node(di_node_t node)
-version SUNW_1.1
-end
-
-function di_sibling_node
-include <libdevinfo.h>
-declaration di_node_t di_sibling_node(di_node_t node)
-version SUNW_1.1
-end
-
-function di_child_node
-include <libdevinfo.h>
-declaration di_node_t di_child_node(di_node_t node)
-version SUNW_1.1
-end
-
-function di_drv_first_node
-include <libdevinfo.h>
-declaration di_node_t di_drv_first_node(const char *drv_name, \
- di_node_t root)
-version SUNW_1.1
-end
-
-function di_drv_next_node
-include <libdevinfo.h>
-declaration di_node_t di_drv_next_node(di_node_t node)
-version SUNW_1.1
-end
-
-function di_walk_node
-include <libdevinfo.h>
-declaration int di_walk_node(di_node_t root, uint_t flag, void *arg, \
- int (*node_callback)(di_node_t, void *))
-version SUNW_1.1
-end
-
-function di_walk_minor
-include <libdevinfo.h>
-declaration int di_walk_minor(di_node_t root, const char *minor_type, \
- uint_t flag, void *arg, \
- int (*minor_callback)(di_node_t, di_minor_t, void *))
-version SUNW_1.1
-end
-
-function di_node_name
-include <libdevinfo.h>
-declaration char * di_node_name(di_node_t node)
-version SUNW_1.1
-end
-
-function di_bus_addr
-include <libdevinfo.h>
-declaration char * di_bus_addr(di_node_t node)
-version SUNW_1.1
-end
-
-function di_binding_name
-include <libdevinfo.h>
-declaration char * di_binding_name(di_node_t node)
-version SUNW_1.1
-end
-
-function di_compatible_names
-include <libdevinfo.h>
-declaration int di_compatible_names(di_node_t node, char **names)
-version SUNW_1.1
-end
-
-function di_instance
-include <libdevinfo.h>
-declaration int di_instance(di_node_t node)
-version SUNW_1.1
-end
-
-function di_nodeid
-include <libdevinfo.h>
-declaration int di_nodeid(di_node_t node)
-version SUNW_1.1
-end
-
-function di_state
-include <libdevinfo.h>
-declaration uint_t di_state(di_node_t node)
-version SUNW_1.1
-end
-
-function di_devid
-include <libdevinfo.h>
-declaration ddi_devid_t di_devid(di_node_t node)
-version SUNW_1.1
-end
-
-function di_driver_name
-include <libdevinfo.h>
-declaration char * di_driver_name(di_node_t node)
-version SUNW_1.1
-end
-
-function di_driver_ops
-include <libdevinfo.h>
-declaration uint_t di_driver_ops(di_node_t node)
-version SUNW_1.1
-end
-
-function di_devfs_path
-include <libdevinfo.h>
-declaration char * di_devfs_path(di_node_t node)
-version SUNW_1.1
-end
-
-function di_devfs_path_free
-include <libdevinfo.h>
-declaration void di_devfs_path_free(char *buf)
-version SUNW_1.1
-end
-
-function di_minor_next
-include <libdevinfo.h>
-declaration di_minor_t di_minor_next(di_node_t node, di_minor_t minor)
-version SUNW_1.1
-end
-
-function di_minor_type
-include <libdevinfo.h>
-declaration ddi_minor_type di_minor_type(di_minor_t minor)
-version SUNW_1.1
-end
-
-function di_minor_name
-include <libdevinfo.h>
-declaration char * di_minor_name(di_minor_t minor)
-version SUNW_1.1
-end
-
-function di_minor_devt
-include <libdevinfo.h>
-declaration dev_t di_minor_devt(di_minor_t minor)
-version SUNW_1.1
-end
-
-function di_minor_spectype
-include <libdevinfo.h>
-declaration int di_minor_spectype(di_minor_t minor)
-version SUNW_1.1
-end
-
-function di_minor_nodetype
-include <libdevinfo.h>
-declaration char * di_minor_nodetype(di_minor_t minor)
-version SUNW_1.1
-end
-
-function di_prop_next
-include <libdevinfo.h>
-declaration di_prop_t di_prop_next(di_node_t node, di_prop_t prop)
-version SUNW_1.1
-end
-
-function di_prop_devt
-include <libdevinfo.h>
-declaration dev_t di_prop_devt(di_prop_t prop)
-version SUNW_1.1
-end
-
-function di_prop_name
-include <libdevinfo.h>
-declaration char * di_prop_name(di_prop_t prop)
-version SUNW_1.1
-end
-
-function di_prop_type
-include <libdevinfo.h>
-declaration int di_prop_type(di_prop_t prop)
-version SUNW_1.1
-end
-
-function di_prop_ints
-include <libdevinfo.h>
-declaration int di_prop_ints(di_prop_t prop, int **prop_data)
-version SUNW_1.1
-end
-
-function di_prop_int64
-include <libdevinfo.h>
-declaration int di_prop_int64(di_prop_t prop, int64_t **prop_data)
-version SUNW_1.1
-end
-
-function di_prop_strings
-include <libdevinfo.h>
-declaration int di_prop_strings(di_prop_t prop, char **prop_data)
-version SUNW_1.1
-end
-
-function di_prop_bytes
-include <libdevinfo.h>
-declaration int di_prop_bytes(di_prop_t prop, uchar_t **prop_data)
-version SUNW_1.1
-end
-
-function di_prop_lookup_ints
-include <libdevinfo.h>
-declaration int di_prop_lookup_ints(dev_t dev, di_node_t node, \
- const char *prop_name, int **prop_data)
-version SUNW_1.1
-end
-
-function di_prop_lookup_int64
-include <libdevinfo.h>
-declaration int di_prop_lookup_int64(dev_t dev, di_node_t node, \
- const char *prop_name, int64_t **prop_data)
-version SUNW_1.1
-end
-
-function di_prop_lookup_strings
-include <libdevinfo.h>
-declaration int di_prop_lookup_strings(dev_t dev, di_node_t node, \
- const char *prop_name, char **prop_data)
-version SUNW_1.1
-end
-
-function di_prop_lookup_bytes
-include <libdevinfo.h>
-declaration int di_prop_lookup_bytes(dev_t dev, di_node_t node, \
- const char *prop_name, uchar_t **prop_data)
-version SUNW_1.1
-end
-
-function di_prom_init
-include <libdevinfo.h>
-declaration di_prom_handle_t di_prom_init(void)
-version SUNW_1.1
-end
-
-function di_prom_fini
-include <libdevinfo.h>
-declaration void di_prom_fini(di_prom_handle_t ph)
-version SUNW_1.1
-end
-
-function di_prom_prop_next
-include <libdevinfo.h>
-declaration di_prom_prop_t di_prom_prop_next(di_prom_handle_t ph, \
- di_node_t node, di_prom_prop_t prom_prop)
-version SUNW_1.1
-end
-
-function di_prom_prop_name
-include <libdevinfo.h>
-declaration char * di_prom_prop_name(di_prom_prop_t prom_prop)
-version SUNW_1.1
-end
-
-function di_prom_prop_data
-include <libdevinfo.h>
-declaration int di_prom_prop_data(di_prom_prop_t prom_prop, \
- uchar_t **prom_prop_data)
-version SUNW_1.1
-end
-
-function di_prom_prop_lookup_ints
-include <libdevinfo.h>
-declaration int di_prom_prop_lookup_ints(di_prom_handle_t ph, \
- di_node_t node, const char *prom_prop_name, \
- int **prom_prop_data)
-version SUNW_1.1
-end
-
-function di_prom_prop_lookup_strings
-include <libdevinfo.h>
-declaration int di_prom_prop_lookup_strings(di_prom_handle_t ph, \
- di_node_t node, const char *prom_prop_name, \
- char **prom_prop_data)
-version SUNW_1.1
-end
-
-function di_prom_prop_lookup_bytes
-include <libdevinfo.h>
-declaration int di_prom_prop_lookup_bytes(di_prom_handle_t ph, \
- di_node_t node, const char *prom_prop_name, \
- uchar_t **prom_prop_data)
-version SUNW_1.1
-end
-
-function devfs_path_to_drv
-include <libdevinfo.h>, <device_info.h>
-declaration int devfs_path_to_drv(char *devfs_path, char *drv_buf)
-version SUNWprivate_1.1
-end
-
-function devfs_dev_to_prom_name
-include <libdevinfo.h>
-declaration int devfs_dev_to_prom_name(char *dev_path, char *prom_path)
-version SUNWprivate_1.1
-end
-
-function devfs_resolve_aliases
-include <libdevinfo.h>
-declaration char * devfs_resolve_aliases(char *drv)
-version SUNWprivate_1.1
-end
-
-function devfs_bootdev_set_list
-include <libdevinfo.h>
-declaration int devfs_bootdev_set_list(const char *dev_name, \
- const u_int options)
-version SUNWprivate_1.1
-end
-
-function devfs_bootdev_modifiable
-include <libdevinfo.h>
-declaration int devfs_bootdev_modifiable(void)
-version SUNWprivate_1.1
-end
-
-function devfs_bootdev_get_list
-include <libdevinfo.h>
-declaration int devfs_bootdev_get_list(const char *default_root, \
- struct boot_dev ***bootdev_list)
-version SUNWprivate_1.1
-end
-
-function devfs_bootdev_free_list
-include <libdevinfo.h>
-declaration void devfs_bootdev_free_list(struct boot_dev **array)
-version SUNWprivate_1.1
-end
-
-function devfs_get_all_prom_names
-include <libdevinfo.h>
-declaration int devfs_get_all_prom_names(const char *, uint_t, \
- struct devfs_prom_path **)
-version SUNWprivate_1.1
-end
-
-function devfs_free_all_prom_names
-include <libdevinfo.h>
-declaration void devfs_free_all_prom_names(struct devfs_prom_path *)
-version SUNWprivate_1.1
-end
-
-function devfs_get_prom_names
-include <libdevinfo.h>
-declaration int devfs_get_prom_names(const char *dev_name, \
- u_int options, char ***prom_list)
-version SUNWprivate_1.1
-end
-
-
-#
-# Evolving (LDI PSARC/2001/769 and PSARC/2003/537)
-#
-function di_node_private_set
-include <libdevinfo.h>
-declaration void di_node_private_set(di_node_t node, void *data)
-version SUNW_1.3
-end
-
-function di_node_private_get
-include <libdevinfo.h>
-declaration void *di_node_private_get(di_node_t node)
-version SUNW_1.3
-end
-
-function di_minor_private_set
-include <libdevinfo.h>
-declaration void di_minor_private_set(di_minor_t minor, void *data)
-version SUNW_1.3
-end
-
-function di_minor_private_get
-include <libdevinfo.h>
-declaration void *di_minor_private_get(di_minor_t minor)
-version SUNW_1.3
-end
-
-function di_lnode_private_set
-include <libdevinfo.h>
-declaration void di_lnode_private_set(di_lnode_t lnode, void *data)
-version SUNW_1.3
-end
-
-function di_lnode_private_get
-include <libdevinfo.h>
-declaration void *di_lnode_private_get(di_lnode_t lnode)
-version SUNW_1.3
-end
-
-function di_link_private_set
-include <libdevinfo.h>
-declaration void di_link_private_set(di_link_t link, void *data)
-version SUNW_1.3
-end
-
-function di_link_private_get
-include <libdevinfo.h>
-declaration void *di_link_private_get(di_link_t link)
-version SUNW_1.3
-end
-
-function di_walk_link
-include <libdevinfo.h>
-declaration int di_walk_link(di_node_t root, uint_t flag, uint_t endpoint, \
- void *arg, int (*link_callback)(di_link_t, void *))
-version SUNW_1.3
-end
-
-function di_walk_lnode
-include <libdevinfo.h>
-declaration int di_walk_lnode(di_node_t root, uint_t flag, void *arg, \
- int (*lnode_callback)(di_lnode_t, void *))
-version SUNW_1.3
-end
-
-function di_link_next_by_node
-include <libdevinfo.h>
-declaration di_link_t di_link_next_by_node(di_node_t node, di_link_t link, \
- uint_t endpoint)
-version SUNW_1.3
-end
-
-function di_link_next_by_lnode
-include <libdevinfo.h>
-declaration di_link_t di_link_next_by_lnode(di_lnode_t lnode, \
- di_link_t link, uint_t endpoint)
-version SUNW_1.3
-end
-
-function di_link_to_lnode
-include <libdevinfo.h>
-declaration di_lnode_t di_link_to_lnode(di_link_t link, uint_t endpoint)
-version SUNW_1.3
-end
-
-function di_lnode_next
-include <libdevinfo.h>
-declaration di_lnode_t di_lnode_next(di_node_t node, di_lnode_t lnode)
-version SUNW_1.3
-end
-
-function di_lnode_name
-include <libdevinfo.h>
-declaration char *di_lnode_name(di_lnode_t lnode)
-version SUNW_1.3
-end
-
-function di_lnode_devinfo
-include <libdevinfo.h>
-declaration di_node_t di_lnode_devinfo(di_lnode_t lnode)
-version SUNW_1.3
-end
-
-function di_lnode_devt
-include <libdevinfo.h>
-declaration int di_lnode_devt(di_lnode_t lnode, dev_t *devt)
-version SUNW_1.3
-end
-
-function di_link_spectype
-include <libdevinfo.h>
-declaration int di_link_spectype(di_link_t link)
-version SUNW_1.3
-end
-
-function di_driver_major
-include <libdevinfo.h>
-declaration int di_driver_major(di_node_t node)
-version SUNW_1.3
-end
-
-function di_devfs_minor_path
-include <libdevinfo.h>
-declaration char * di_devfs_minor_path(di_minor_t minor)
-version SUNW_1.3
-end
-
-
-#
-# Sun private devlinks interfaces
-#
-function di_devlink_init
-include <libdevinfo.h>
-declaration di_devlink_handle_t di_devlink_init(const char *name, \
- uint_t flags)
-version SUNWprivate_1.1
-end
-
-function di_devlink_fini
-include <libdevinfo.h>
-declaration int di_devlink_fini(di_devlink_handle_t *hdlp)
-version SUNWprivate_1.1
-end
-
-function di_devlink_walk
-include <libdevinfo.h>
-declaration int di_devlink_walk(di_devlink_handle_t hdl, \
- const char *re, const char *minor_path, \
- uint_t flags, void *arg, \
- int (*fcn)(di_devlink_t, void *))
-
-version SUNWprivate_1.1
-end
-
-function di_devlink_path
-include <libdevinfo.h>
-declaration const char *di_devlink_path(di_devlink_t devlink)
-version SUNWprivate_1.1
-end
-
-function di_devlink_content
-include <libdevinfo.h>
-declaration const char *di_devlink_content(di_devlink_t devlink)
-version SUNWprivate_1.1
-end
-
-function di_devlink_type
-include <libdevinfo.h>
-declaration int di_devlink_type(di_devlink_t devlink)
-version SUNWprivate_1.1
-end
-
-function di_devlink_dup
-include <libdevinfo.h>
-declaration di_devlink_t di_devlink_dup(di_devlink_t devlink)
-version SUNWprivate_1.1
-end
-
-function di_devlink_free
-include <libdevinfo.h>
-declaration int di_devlink_free(di_devlink_t devlink)
-version SUNWprivate_1.1
-end
-
-#
-# Project private devlinks interfaces
-#
-function di_devlink_open
-include <libdevinfo.h>
-declaration di_devlink_handle_t di_devlink_open(const char *root_dir, \
- uint_t flags)
-version SUNWprivate_1.1
-end
-
-function di_devlink_close
-include <libdevinfo.h>
-declaration int di_devlink_close(di_devlink_handle_t *hdlp, int flag)
-version SUNWprivate_1.1
-end
-
-function di_devlink_rm_link
-include <libdevinfo.h>
-declaration int di_devlink_rm_link(di_devlink_handle_t hdl, \
- const char *link)
-version SUNWprivate_1.1
-end
-
-function di_devlink_add_link
-include <libdevinfo.h>
-declaration int di_devlink_add_link(di_devlink_handle_t hdl, \
- const char *link, const char *content, int flags)
-version SUNWprivate_1.1
-end
-
-function di_devlink_update
-include <libdevinfo.h>
-declaration int di_devlink_update(di_devlink_handle_t hdl)
-version SUNWprivate_1.1
-end
-
-function di_devlink_init_root
-include <libdevinfo.h>
-declaration di_devlink_handle_t di_devlink_init_root(const char *root, \
- const char *name, uint_t flags)
-version SUNWprivate_1.1
-end
-#
-# Consolidation private PSARC 1997/127
-#
-function di_init_impl
-include <libdevinfo.h>
-declaration di_node_t di_init_impl(const char *phys_path, uint_t flag, \
- struct di_priv_data *priv)
-version SUNWprivate_1.1
-end
-
-function di_init_driver
-include <libdevinfo.h>
-declaration di_node_t di_init_driver(const char *drv_name, uint_t flag)
-version SUNWprivate_1.1
-end
-
-function di_prop_drv_next
-include <libdevinfo.h>
-declaration di_prop_t di_prop_drv_next(di_node_t node, di_prop_t prop)
-version SUNWprivate_1.1
-end
-
-function di_prop_sys_next
-include <libdevinfo.h>
-declaration di_prop_t di_prop_sys_next(di_node_t node, di_prop_t prop)
-version SUNWprivate_1.1
-end
-
-function di_prop_global_next
-include <libdevinfo.h>
-declaration di_prop_t di_prop_global_next(di_node_t node, di_prop_t prop)
-version SUNWprivate_1.1
-end
-
-function di_prop_hw_next
-include <libdevinfo.h>
-declaration di_prop_t di_prop_hw_next(di_node_t node, di_prop_t prop)
-version SUNWprivate_1.1
-end
-
-function di_prop_rawdata
-include <libdevinfo.h>
-declaration int di_prop_rawdata(di_prop_t prop, uchar_t **prop_data)
-version SUNWprivate_1.1
-end
-
-function di_parent_private_data
-include <libdevinfo.h>
-declaration void * di_parent_private_data(di_node_t node)
-version SUNWprivate_1.1
-end
-
-function di_driver_private_data
-include <libdevinfo.h>
-declaration void * di_driver_private_data(di_node_t node)
-version SUNWprivate_1.1
-end
-
-function di_node_state
-include <libdevinfo.h>
-declaration ddi_node_state_t di_node_state(di_node_t node)
-version SUNWprivate_1.1
-end
-
-
-#
-# Consolidation private PSARC 1999/647
-#
-# di_path_next is replaced by di_path_next_phci/client
-#
-function di_path_next
-include <libdevinfo.h>
-declaration di_path_t di_path_next(di_node_t node, di_path_t path)
-version SUNWprivate_1.1
-end
-
-function di_path_next_phci
-include <libdevinfo.h>
-declaration di_path_t di_path_next_phci(di_node_t node, di_path_t path)
-version SUNWprivate_1.1
-end
-
-function di_path_next_client
-include <libdevinfo.h>
-declaration di_path_t di_path_next_client(di_node_t node, di_path_t path)
-version SUNWprivate_1.1
-end
-
-#
-# Consolidation private PSARC 1999/647
-#
-function di_path_state
-include <libdevinfo.h>
-declaration di_path_state_t di_path_state(di_path_t path)
-version SUNWprivate_1.1
-end
-
-#
-# Consolidation private PSARC 1999/647
-#
-function di_path_addr
-include <libdevinfo.h>
-declaration char *di_path_addr(di_path_t path, char *buf)
-version SUNWprivate_1.1
-end
-
-#
-# Consolidation private PSARC 1999/647
-#
-function di_path_client_node
-include <libdevinfo.h>
-declaration di_node_t di_path_client_node(di_path_t path)
-version SUNWprivate_1.1
-end
-
-#
-# Consolidation private PSARC 1999/647
-#
-function di_path_phci_node
-include <libdevinfo.h>
-declaration di_node_t di_path_phci_node(di_path_t path)
-version SUNWprivate_1.1
-end
-
-#
-# Consolidation private PSARC 1999/647
-#
-function di_path_prop_next
-include <libdevinfo.h>
-declaration di_path_prop_t di_path_prop_next(di_path_t path, \
- di_path_prop_t prop)
-version SUNWprivate_1.1
-end
-
-#
-# Consolidation private PSARC 1999/647
-#
-function di_path_prop_name
-include <libdevinfo.h>
-declaration char* di_path_prop_name(di_path_prop_t prop)
-version SUNWprivate_1.1
-end
-
-#
-# Consolidation private PSARC 1999/647
-#
-function di_path_prop_type
-include <libdevinfo.h>
-declaration int di_path_prop_type(di_path_prop_t prop)
-version SUNWprivate_1.1
-end
-
-#
-# Consolidation private PSARC 1999/647
-#
-function di_path_prop_len
-include <libdevinfo.h>
-declaration int di_path_prop_len(di_path_prop_t prop)
-version SUNWprivate_1.1
-end
-
-#
-# Consolidation private PSARC 1999/647
-#
-function di_path_prop_bytes
-include <libdevinfo.h>
-declaration int di_path_prop_bytes(di_path_prop_t prop, uchar_t **prop_data)
-version SUNWprivate_1.1
-end
-
-#
-# Consolidation private PSARC 1999/647
-#
-function di_path_prop_ints
-include <libdevinfo.h>
-declaration int di_path_prop_ints(di_path_prop_t prop, int **prop_data)
-version SUNWprivate_1.1
-end
-
-#
-# Consolidation private PSARC 1999/647
-#
-function di_path_prop_int64s
-include <libdevinfo.h>
-declaration int di_path_prop_int64s(di_path_prop_t prop, \
- int64_t **prop_data)
-version SUNWprivate_1.1
-end
-
-#
-# Consolidation private PSARC 1999/647
-#
-function di_path_prop_strings
-include <libdevinfo.h>
-declaration int di_path_prop_strings(di_path_prop_t prop, char **prop_data)
-version SUNWprivate_1.1
-end
-
-#
-# Consolidation private PSARC 1999/647
-#
-function di_path_prop_lookup_bytes
-include <libdevinfo.h>
-declaration int di_path_prop_lookup_bytes(di_path_t path, \
- const char *prop_name, uchar_t **prop_data)
-version SUNWprivate_1.1
-end
-
-#
-# Consolidation private PSARC 1999/647
-#
-function di_path_prop_lookup_ints
-include <libdevinfo.h>
-declaration int di_path_prop_lookup_ints(di_path_t path, \
- const char *prop_name, int **prop_data)
-version SUNWprivate_1.1
-end
-
-#
-# Consolidation private PSARC 1999/647
-#
-function di_path_prop_lookup_int64s
-include <libdevinfo.h>
-declaration int di_path_prop_lookup_int64s(di_path_t path, \
- const char *prop_name, int64_t **prop_data)
-version SUNWprivate_1.1
-end
-
-#
-# Consolidation private PSARC 1999/647
-#
-function di_path_prop_lookup_strings
-include <libdevinfo.h>
-declaration int di_path_prop_lookup_strings(di_path_t path, \
- const char *prop_name, char **prop_data)
-version SUNWprivate_1.1
-end
-
-#
-# Project private (devfs project)
-#
-function di_minor_devinfo
-include <libdevinfo.h>
-declaration di_node_t di_minor_devinfo(di_minor_t minor)
-version SUNWprivate_1.1
-end
-
-#
-# Project private function (PSARC/2004/169)
-#
-function di_lookup_node
-include <libdevinfo.h>
-declaration di_node_t di_lookup_node(di_node_t root, char *path)
-version SUNWprivate_1.1
-end
-
-#
-# Project private function (devfsadmd)
-#
-function di_devlink_cache_walk
-include <libdevinfo.h>
-declaration int di_devlink_cache_walk(di_devlink_handle_t hdp, \
- const char *re, const char *path, \
- uint_t flags, void *arg, \
- int (*devlink_callback)(di_devlink_t, void *))
-version SUNWprivate_1.1
-end
-
-#
-# Consolidation private PSARC 2003/612
-#
-function di_devperm_login
-include <libdevinfo.h>
-declaration int di_devperm_login(const char *ttyn, uid_t uid, gid_t gid, \
- void (*errmsg)(char *errstring))
-version SUNWprivate_1.1
-end
-
-function di_devperm_logout
-include <libdevinfo.h>
-declaration int di_devperm_logout(const char *ttyn)
-version SUNWprivate_1.1
-end
-
-#
-# Private functions for solaris installation programs.
-#
-function devfs_target2install
-include <device_info.h>
-declaration int devfs_target2install(const char *rootdir, \
- const char *devname, char *buf, size_t bufsz)
-version SUNWprivate_1.1
-end
-
-function devfs_install2target
-include <device_info.h>
-declaration int devfs_install2target(const char *rootdir, \
- const char *devname, char *buf, size_t bufsz)
-version SUNWprivate_1.1
-end
-
-function devfs_read_minor_perm
-include <device_info.h>
-declaration struct mperm *devfs_read_minor_perm( \
- void (*cb)(minorperm_err_t, int))
-version SUNWprivate_1.1
-end
-
-function devfs_free_minor_perm
-include <device_info.h>
-declaration void devfs_free_minor_perm(struct mperm *)
-version SUNWprivate_1.1
-end
-
-function devfs_load_minor_perm
-include <device_info.h>
-declaration int devfs_load_minor_perm(struct mperm *, \
- void (*cb)(minorperm_err_t, int))
-version SUNWprivate_1.1
-end
-
-function devfs_add_minor_perm
-include <device_info.h>
-declaration int devfs_add_minor_perm(char *drv, \
- void (*cb)(minorperm_err_t, int))
-version SUNWprivate_1.1
-end
-
-function devfs_rm_minor_perm
-include <device_info.h>
-declaration int devfs_rm_minor_perm(char *drv, \
- void (*cb)(minorperm_err_t, int))
-version SUNWprivate_1.1
-end
-
-function di_vhci_first_node
-include <libdevinfo.h>
-declaration di_node_t di_vhci_first_node(di_node_t root)
-version SUNWprivate_1.1
-end
-
-function di_vhci_next_node
-include <libdevinfo.h>
-declaration di_node_t di_vhci_next_node(di_node_t vhci_node)
-version SUNWprivate_1.1
-end
-
-function di_phci_first_node
-include <libdevinfo.h>
-declaration di_node_t di_phci_first_node(di_node_t vhci_node)
-version SUNWprivate_1.1
-end
-
-function di_phci_next_node
-include <libdevinfo.h>
-declaration di_node_t di_phci_next_node(di_node_t phci_node)
-version SUNWprivate_1.1
-end
diff --git a/usr/src/lib/libdevinfo/spec/i386/Makefile b/usr/src/lib/libdevinfo/spec/i386/Makefile
deleted file mode 100644
index 2ac46c39dc..0000000000
--- a/usr/src/lib/libdevinfo/spec/i386/Makefile
+++ /dev/null
@@ -1,42 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libdevinfo/spec/i386/Makefile
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#i386_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libdevinfo/spec/sparc/Makefile b/usr/src/lib/libdevinfo/spec/sparc/Makefile
deleted file mode 100644
index 1b69ee2c55..0000000000
--- a/usr/src/lib/libdevinfo/spec/sparc/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libdevinfo/spec/sparc/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#sparc_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libdevinfo/spec/sparcv9/Makefile b/usr/src/lib/libdevinfo/spec/sparcv9/Makefile
deleted file mode 100644
index c0625153f3..0000000000
--- a/usr/src/lib/libdevinfo/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,43 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libdevinfo/spec/sparcv9/Makefile
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#sparcv9_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libdevinfo/spec/versions b/usr/src/lib/libdevinfo/spec/versions
deleted file mode 100644
index 1a698fbb9f..0000000000
--- a/usr/src/lib/libdevinfo/spec/versions
+++ /dev/null
@@ -1,55 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# SUNW_1.3: Public (evolving) PSARC 2001/769 and PSARC 2003/537 (LDI)
-# SUNW_1.2: Public (evolving) PSARC 1997/302 (clustering DDI hooks)
-# SUNW_1.1: Public (evolving) PSARC 1997/127
-#
-
-sparc {
- SUNW_1.3: {SUNW_1.2};
- SUNW_1.2: {SUNW_1.1};
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-sparcv9 {
- SUNW_1.3: {SUNW_1.2};
- SUNW_1.2: {SUNW_1.1};
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-i386 {
- SUNW_1.3: {SUNW_1.2};
- SUNW_1.2: {SUNW_1.1};
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-amd64 {
- SUNW_1.3: {SUNW_1.2};
- SUNW_1.2: {SUNW_1.1};
- SUNW_1.1;
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/libdhcpagent/Makefile b/usr/src/lib/libdhcpagent/Makefile
index 118d233736..dde31ea7b3 100644
--- a/usr/src/lib/libdhcpagent/Makefile
+++ b/usr/src/lib/libdhcpagent/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,8 +19,8 @@
# CDDL HEADER END
#
#
-# Copyright (c) 1999-2001 by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
@@ -40,15 +39,13 @@ lint := TARGET = lint
.KEEP_STATE:
-all clean clobber install: spec .WAIT $(SUBDIRS)
-
-lint: $(SUBDIRS)
+all clean clobber install lint: $(SUBDIRS)
install_h: $(ROOTHDRS)
check: $(CHECKHDRS)
-spec $(SUBDIRS): FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
diff --git a/usr/src/lib/libdhcpagent/Makefile.com b/usr/src/lib/libdhcpagent/Makefile.com
index 7a428bb11d..ecd15a6496 100644
--- a/usr/src/lib/libdhcpagent/Makefile.com
+++ b/usr/src/lib/libdhcpagent/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,7 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
@@ -38,11 +37,9 @@ include ../../Makefile.rootfs
LIBS = $(DYNLIB) $(LINTLIB)
LDLIBS += -lc -lsocket -ldhcputil
-$(LINTLIB) := SRCS = $(SRCDIR)/$(LINTSRC)
SRCDIR = ../common
-MAPDIR = ../spec/$(TRANSMACH)
-SPECMAPFILE = $(MAPDIR)/mapfile
+$(LINTLIB) := SRCS = $(SRCDIR)/$(LINTSRC)
CFLAGS += $(CCVERBOSE)
diff --git a/usr/src/lib/libdhcpagent/common/mapfile-vers b/usr/src/lib/libdhcpagent/common/mapfile-vers
new file mode 100644
index 0000000000..589e76b4fb
--- /dev/null
+++ b/usr/src/lib/libdhcpagent/common/mapfile-vers
@@ -0,0 +1,52 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNWprivate_1.1 {
+ global:
+ dhcp_ipc_accept;
+ dhcp_ipc_alloc_reply;
+ dhcp_ipc_alloc_request;
+ dhcp_ipc_close;
+ dhcp_ipc_get_data;
+ dhcp_ipc_getinfo;
+ dhcp_ipc_init;
+ dhcp_ipc_make_request;
+ dhcp_ipc_recv_request;
+ dhcp_ipc_send_reply;
+ dhcp_ipc_strerror;
+ dhcp_start_agent;
+ dhcp_state_to_string;
+ dhcp_status_hdr_string;
+ dhcp_status_reply_to_string;
+ dhcp_string_to_request;
+ ifname_to_hostconf;
+ read_hostconf;
+ remove_hostconf;
+ write_hostconf;
+ local:
+ *;
+};
diff --git a/usr/src/lib/libdhcpagent/spec/Makefile b/usr/src/lib/libdhcpagent/spec/Makefile
deleted file mode 100644
index 8ed5392dab..0000000000
--- a/usr/src/lib/libdhcpagent/spec/Makefile
+++ /dev/null
@@ -1,30 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1999-2001 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#ident "%W% %E% SMI"
-#
-# lib/libdhcpagent/spec/Makefile
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/libdhcpagent/spec/Makefile.targ b/usr/src/lib/libdhcpagent/spec/Makefile.targ
deleted file mode 100644
index cfd33e6b04..0000000000
--- a/usr/src/lib/libdhcpagent/spec/Makefile.targ
+++ /dev/null
@@ -1,35 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1999-2001 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#ident "%W% %E% SMI"
-#
-# lib/libdhcpagent/spec/Makefile.targ
-
-LIBRARY = libdhcpagent.a
-VERS = .1
-
-OBJECTS = dhcpagent.o
-
-SPECCPP = -I../.. -I$(SRC)/common/net/dhcp
diff --git a/usr/src/lib/libdhcpagent/spec/amd64/Makefile b/usr/src/lib/libdhcpagent/spec/amd64/Makefile
deleted file mode 100644
index 4ee7613aaf..0000000000
--- a/usr/src/lib/libdhcpagent/spec/amd64/Makefile
+++ /dev/null
@@ -1,32 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-all clean clobber install lint:
- @echo "Nothing to $@ on amd64"
diff --git a/usr/src/lib/libdhcpagent/spec/dhcpagent.spec b/usr/src/lib/libdhcpagent/spec/dhcpagent.spec
deleted file mode 100644
index 99c42f72e1..0000000000
--- a/usr/src/lib/libdhcpagent/spec/dhcpagent.spec
+++ /dev/null
@@ -1,159 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libdhcpagent/spec/dhcpagent.spec
-
-function ifname_to_hostconf
-include <dhcp_hostconf.h>
-declaration char *ifname_to_hostconf(const char *ifname)
-version SUNWprivate_1.1
-end
-
-function remove_hostconf
-include <dhcp_hostconf.h>
-declaration int remove_hostconf(const char *ifname)
-version SUNWprivate_1.1
-end
-
-function read_hostconf
-include <dhcp_hostconf.h>
-declaration int read_hostconf(const char *ifname, PKT_LIST **plpp, \
- uint_t plplen)
-version SUNWprivate_1.1
-end
-
-function write_hostconf
-include <dhcp_hostconf.h>
-declaration int write_hostconf(const char *ifname, PKT_LIST **pl, \
- uint_t pllen, time_t relative_to)
-version SUNWprivate_1.1
-end
-
-function dhcp_ipc_init
-include <dhcpagent_ipc.h>
-declaration int dhcp_ipc_init(int *listen_fd)
-version SUNWprivate_1.1
-end
-
-function dhcp_ipc_accept
-include <dhcpagent_ipc.h>
-declaration int dhcp_ipc_accept(int listen_fd, int *fd, int *is_priv)
-version SUNWprivate_1.1
-end
-
-function dhcp_ipc_recv_request
-include <dhcpagent_ipc.h>
-declaration int dhcp_ipc_recv_request(int fd, \
- dhcp_ipc_request_t **request, int timeout_msec)
-version SUNWprivate_1.1
-end
-
-function dhcp_ipc_send_reply
-include <dhcpagent_ipc.h>
-declaration int dhcp_ipc_send_reply(int fd, dhcp_ipc_reply_t *reply)
-version SUNWprivate_1.1
-end
-
-function dhcp_ipc_close
-include <dhcpagent_ipc.h>
-declaration int dhcp_ipc_close(int fd)
-version SUNWprivate_1.1
-end
-
-function dhcp_ipc_strerror
-include <dhcpagent_ipc.h>
-declaration const char *dhcp_ipc_strerror(int errno)
-version SUNWprivate_1.1
-end
-
-function dhcp_ipc_alloc_request
-include <dhcpagent_ipc.h>
-declaration dhcp_ipc_request_t *dhcp_ipc_alloc_request( \
- dhcp_ipc_type_t type, const char *ifname, \
- void *buffer, uint32_t buffer_size, \
- dhcp_data_type_t data_type)
-version SUNWprivate_1.1
-end
-
-function dhcp_ipc_make_request
-include <dhcpagent_ipc.h>
-declaration int dhcp_ipc_make_request(dhcp_ipc_request_t * request, \
- dhcp_ipc_reply_t **reply, int32_t timeout)
-version SUNWprivate_1.1
-end
-
-function dhcp_ipc_get_data
-include <dhcpagent_ipc.h>
-declaration void *dhcp_ipc_get_data(dhcp_ipc_reply_t *reply, \
- size_t *size, dhcp_data_type_t *type)
-version SUNWprivate_1.1
-end
-
-function dhcp_ipc_getinfo
-include <dhcpagent_ipc.h>
-declaration int dhcp_ipc_getinfo(dhcp_optnum_t *optnum, \
- DHCP_OPT **result, int32_t timeout)
-version SUNWprivate_1.1
-end
-
-function dhcp_ipc_alloc_reply
-include <dhcpagent_ipc.h>
-declaration dhcp_ipc_reply_t *dhcp_ipc_alloc_reply( \
- dhcp_ipc_request_t *request, int return_code, \
- void *buffer, uint32_t buffer_size, \
- dhcp_data_type_t data_type)
-version SUNWprivate_1.1
-end
-
-function dhcp_state_to_string
-include <dhcpagent_util.h>
-declaration const char *dhcp_state_to_string(DHCPSTATE state)
-version SUNWprivate_1.1
-end
-
-function dhcp_string_to_request
-include <dhcpagent_util.h>
-declaration dhcp_ipc_type_t dhcp_string_to_request(const char *string)
-version SUNWprivate_1.1
-end
-
-function dhcp_start_agent
-include <dhcpagent_util.h>
-declaration int dhcp_start_agent(int)
-version SUNWprivate_1.1
-end
-
-function dhcp_status_hdr_string
-include <dhcpagent_util.h>
-declaration const char *dhcp_status_hdr_string(void)
-version SUNWprivate_1.1
-end
-
-function dhcp_status_reply_to_string
-include <dhcpagent_util.h>
-declaration const char *dhcp_status_reply_to_string(dhcp_ipc_reply_t *)
-version SUNWprivate_1.1
-end
diff --git a/usr/src/lib/libdhcpagent/spec/i386/Makefile b/usr/src/lib/libdhcpagent/spec/i386/Makefile
deleted file mode 100644
index 5e7ead776d..0000000000
--- a/usr/src/lib/libdhcpagent/spec/i386/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#ident "%W% %E% SMI"
-#
-# lib/libdhcpagent/spec/i386/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#i386_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libdhcpagent/spec/sparc/Makefile b/usr/src/lib/libdhcpagent/spec/sparc/Makefile
deleted file mode 100644
index edf4bf0eb8..0000000000
--- a/usr/src/lib/libdhcpagent/spec/sparc/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#ident "%W% %E% SMI"
-#
-# lib/libdhcpagent/spec/sparc/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#sparc_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libdhcpagent/spec/sparcv9/Makefile b/usr/src/lib/libdhcpagent/spec/sparcv9/Makefile
deleted file mode 100644
index 88c0d60efa..0000000000
--- a/usr/src/lib/libdhcpagent/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,33 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1999-2001 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libdhcpagent/spec/sparcv9/Makefile
-
-.KEEP_STATE:
-
-all clean clobber install lint:
- @echo "Nothing to $@ on sparcv9"
diff --git a/usr/src/lib/libdhcpagent/spec/versions b/usr/src/lib/libdhcpagent/spec/versions
deleted file mode 100644
index 22e0dd1104..0000000000
--- a/usr/src/lib/libdhcpagent/spec/versions
+++ /dev/null
@@ -1,39 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-sparc {
- SUNWprivate_1.1;
-}
-sparcv9 {
- SUNWprivate_1.1;
-}
-i386 {
- SUNWprivate_1.1;
-}
-amd64 {
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/libdhcpdu/Makefile.com b/usr/src/lib/libdhcpdu/Makefile.com
index e8f0530f5a..c758684255 100644
--- a/usr/src/lib/libdhcpdu/Makefile.com
+++ b/usr/src/lib/libdhcpdu/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,7 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
@@ -37,8 +36,6 @@ LDLIBS += -lnvpair -lresolv -lnsl -lc
ROOTLIBDIR = $(ROOT)/usr/lib/inet/dhcp/nsu
SRCDIR = ../common
-MAPFILES = ../common/mapfile
-MAPOPTS = $(MAPFILES:%=-M %)
#
# Since lint is not smart enough to grok `do { } while (0)' in macros,
@@ -46,7 +43,8 @@ MAPOPTS = $(MAPFILES:%=-M %)
#
LINTFLAGS += -erroff=E_CONSTANT_CONDITION
CPPFLAGS += -D_REENTRANT -I../../libresolv2/include
-DYNFLAGS += $(MAPOPTS)
+
+MAPFILES = ../common/mapfile
.KEEP_STATE:
diff --git a/usr/src/lib/libdhcpsvc/Makefile.com b/usr/src/lib/libdhcpsvc/Makefile.com
index 40c32694ec..df7838be2e 100644
--- a/usr/src/lib/libdhcpsvc/Makefile.com
+++ b/usr/src/lib/libdhcpsvc/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,7 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
@@ -29,7 +28,5 @@
include $(SRC)/lib/Makefile.lib
COMDIR = $(SRC)/common/net/dhcp
-SRCDIR = ..
-SPECMAPFILE = $(MAPDIR)/mapfile
CPPFLAGS += -I$(SRC)/lib/libdhcpsvc/head -D_REENTRANT
diff --git a/usr/src/lib/libdhcpsvc/modules/Makefile.com b/usr/src/lib/libdhcpsvc/modules/Makefile.com
index 7832eeb5aa..a1b00f4aa5 100644
--- a/usr/src/lib/libdhcpsvc/modules/Makefile.com
+++ b/usr/src/lib/libdhcpsvc/modules/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,13 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright 2000, 2003 Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libdhcpsvc/modules/Makefile.com
include $(SRC)/lib/libdhcpsvc/Makefile.com
@@ -39,8 +36,5 @@ ROOTLIBDIR = $(ROOT)/usr/lib/inet/dhcp/svc
# Make the utility routines available
UTILDIR = ../../../modules/util
-# Specfile map directory, used by leaf module makefiles
-MAPDIR = ../spec/$(MACH)
-
# Provide the current container version as DSVC_CONVER
CPPFLAGS += -DDSVC_CONVER=$(VERS:.%=%)
diff --git a/usr/src/lib/libdhcpsvc/modules/binfiles/Makefile b/usr/src/lib/libdhcpsvc/modules/binfiles/Makefile
index d2492aa321..2225b9c4c6 100644
--- a/usr/src/lib/libdhcpsvc/modules/binfiles/Makefile
+++ b/usr/src/lib/libdhcpsvc/modules/binfiles/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,13 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright (c) 2000 by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libdhcpsvc/modules/binfiles/Makefile
include $(SRC)/lib/Makefile.lib
-SUBDIRS = spec .WAIT $(MACH)
+SUBDIRS = $(MACH)
include ../../Makefile.subdirs
diff --git a/usr/src/lib/libdhcpsvc/modules/binfiles/mapfile-vers b/usr/src/lib/libdhcpsvc/modules/binfiles/mapfile-vers
new file mode 100644
index 0000000000..29713f6ee9
--- /dev/null
+++ b/usr/src/lib/libdhcpsvc/modules/binfiles/mapfile-vers
@@ -0,0 +1,52 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNWprivate_1.1 {
+ global:
+ add_dn;
+ add_dt;
+ close_dn;
+ close_dt;
+ delete_dn;
+ delete_dt;
+ dsvc_synchtype;
+ list_dn;
+ list_dt;
+ lookup_dn;
+ lookup_dt;
+ mklocation;
+ modify_dn;
+ modify_dt;
+ open_dn;
+ open_dt;
+ remove_dn;
+ remove_dt;
+ status;
+ version;
+ local:
+ *;
+};
diff --git a/usr/src/lib/libdhcpsvc/modules/binfiles/spec/Makefile b/usr/src/lib/libdhcpsvc/modules/binfiles/spec/Makefile
deleted file mode 100644
index ea31a56c68..0000000000
--- a/usr/src/lib/libdhcpsvc/modules/binfiles/spec/Makefile
+++ /dev/null
@@ -1,30 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 2000 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libdhcpsvc/modules/binfiles/spec/Makefile
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/libdhcpsvc/modules/binfiles/spec/Makefile.targ b/usr/src/lib/libdhcpsvc/modules/binfiles/spec/Makefile.targ
deleted file mode 100644
index 8ffab2c191..0000000000
--- a/usr/src/lib/libdhcpsvc/modules/binfiles/spec/Makefile.targ
+++ /dev/null
@@ -1,32 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 2000 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libdhcpsvc/modules/binfiles/spec/Makefile.targ
-
-LIBRARY = ds_SUNWbinfiles.a
-VERS = .1
-OBJECTS = ds_SUNWbinfiles.o
diff --git a/usr/src/lib/libdhcpsvc/modules/binfiles/spec/amd64/Makefile b/usr/src/lib/libdhcpsvc/modules/binfiles/spec/amd64/Makefile
deleted file mode 100644
index 98f45d6f94..0000000000
--- a/usr/src/lib/libdhcpsvc/modules/binfiles/spec/amd64/Makefile
+++ /dev/null
@@ -1,30 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-all install clean clobber:
- @echo "Nothing to $@ on amd64"
diff --git a/usr/src/lib/libdhcpsvc/modules/binfiles/spec/ds_SUNWbinfiles.spec b/usr/src/lib/libdhcpsvc/modules/binfiles/spec/ds_SUNWbinfiles.spec
deleted file mode 100644
index e698a19243..0000000000
--- a/usr/src/lib/libdhcpsvc/modules/binfiles/spec/ds_SUNWbinfiles.spec
+++ /dev/null
@@ -1,107 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libdhcpsvc/modules/binfiles/spec/ds_SUNWbinfiles.spec
-
-function status extends libdhcpsvc/modules/templates/spec/public.spec
-version SUNWprivate_1.1
-end
-
-function version extends libdhcpsvc/modules/templates/spec/public.spec
-version SUNWprivate_1.1
-end
-
-function mklocation extends libdhcpsvc/modules/templates/spec/public.spec
-version SUNWprivate_1.1
-end
-
-function list_dn extends libdhcpsvc/modules/templates/spec/public.spec
-version SUNWprivate_1.1
-end
-
-function open_dn extends libdhcpsvc/modules/templates/spec/public.spec
-version SUNWprivate_1.1
-end
-
-function close_dn extends libdhcpsvc/modules/templates/spec/public.spec
-version SUNWprivate_1.1
-end
-
-function remove_dn extends libdhcpsvc/modules/templates/spec/public.spec
-version SUNWprivate_1.1
-end
-
-function lookup_dn extends libdhcpsvc/modules/templates/spec/public.spec
-version SUNWprivate_1.1
-end
-
-function add_dn extends libdhcpsvc/modules/templates/spec/public.spec
-version SUNWprivate_1.1
-end
-
-function modify_dn extends libdhcpsvc/modules/templates/spec/public.spec
-version SUNWprivate_1.1
-end
-
-function delete_dn extends libdhcpsvc/modules/templates/spec/public.spec
-version SUNWprivate_1.1
-end
-
-function list_dt extends libdhcpsvc/modules/templates/spec/public.spec
-version SUNWprivate_1.1
-end
-
-function open_dt extends libdhcpsvc/modules/templates/spec/public.spec
-version SUNWprivate_1.1
-end
-
-function close_dt extends libdhcpsvc/modules/templates/spec/public.spec
-version SUNWprivate_1.1
-end
-
-function remove_dt extends libdhcpsvc/modules/templates/spec/public.spec
-version SUNWprivate_1.1
-end
-
-function lookup_dt extends libdhcpsvc/modules/templates/spec/public.spec
-version SUNWprivate_1.1
-end
-
-function add_dt extends libdhcpsvc/modules/templates/spec/public.spec
-version SUNWprivate_1.1
-end
-
-function modify_dt extends libdhcpsvc/modules/templates/spec/public.spec
-version SUNWprivate_1.1
-end
-
-function delete_dt extends libdhcpsvc/modules/templates/spec/public.spec
-version SUNWprivate_1.1
-end
-
-data dsvc_synchtype
-version SUNWprivate_1.1
-end
diff --git a/usr/src/lib/libdhcpsvc/modules/binfiles/spec/i386/Makefile b/usr/src/lib/libdhcpsvc/modules/binfiles/spec/i386/Makefile
deleted file mode 100644
index 337d83a17d..0000000000
--- a/usr/src/lib/libdhcpsvc/modules/binfiles/spec/i386/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 2000 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libdhcpsvc/modules/binfiles/spec/i386/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libdhcpsvc/modules/binfiles/spec/sparc/Makefile b/usr/src/lib/libdhcpsvc/modules/binfiles/spec/sparc/Makefile
deleted file mode 100644
index be20696b91..0000000000
--- a/usr/src/lib/libdhcpsvc/modules/binfiles/spec/sparc/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 2000 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libdhcpsvc/modules/binfiles/spec/sparc/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libdhcpsvc/modules/binfiles/spec/sparcv9/Makefile b/usr/src/lib/libdhcpsvc/modules/binfiles/spec/sparcv9/Makefile
deleted file mode 100644
index 385bf7622b..0000000000
--- a/usr/src/lib/libdhcpsvc/modules/binfiles/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,31 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 2000 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libdhcpsvc/modules/binfiles/spec/sparcv9/Makefile
-
-all install clean clobber:
- @echo "Nothing to $@ on sparcv9"
diff --git a/usr/src/lib/libdhcpsvc/modules/binfiles/spec/versions b/usr/src/lib/libdhcpsvc/modules/binfiles/spec/versions
deleted file mode 100644
index a542a0f7fc..0000000000
--- a/usr/src/lib/libdhcpsvc/modules/binfiles/spec/versions
+++ /dev/null
@@ -1,39 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-sparc {
- SUNWprivate_1.1;
-}
-sparcv9 {
- SUNWprivate_1.1;
-}
-i386 {
- SUNWprivate_1.1;
-}
-amd64 {
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/libdhcpsvc/modules/files/Makefile b/usr/src/lib/libdhcpsvc/modules/files/Makefile
index 3b3ad645ab..2225b9c4c6 100644
--- a/usr/src/lib/libdhcpsvc/modules/files/Makefile
+++ b/usr/src/lib/libdhcpsvc/modules/files/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,13 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright (c) 2000 by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libdhcpsvc/modules/files/Makefile
include $(SRC)/lib/Makefile.lib
-SUBDIRS = spec .WAIT $(MACH)
+SUBDIRS = $(MACH)
include ../../Makefile.subdirs
diff --git a/usr/src/lib/libdhcpsvc/modules/files/mapfile-vers b/usr/src/lib/libdhcpsvc/modules/files/mapfile-vers
new file mode 100644
index 0000000000..29713f6ee9
--- /dev/null
+++ b/usr/src/lib/libdhcpsvc/modules/files/mapfile-vers
@@ -0,0 +1,52 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNWprivate_1.1 {
+ global:
+ add_dn;
+ add_dt;
+ close_dn;
+ close_dt;
+ delete_dn;
+ delete_dt;
+ dsvc_synchtype;
+ list_dn;
+ list_dt;
+ lookup_dn;
+ lookup_dt;
+ mklocation;
+ modify_dn;
+ modify_dt;
+ open_dn;
+ open_dt;
+ remove_dn;
+ remove_dt;
+ status;
+ version;
+ local:
+ *;
+};
diff --git a/usr/src/lib/libdhcpsvc/modules/files/spec/Makefile b/usr/src/lib/libdhcpsvc/modules/files/spec/Makefile
deleted file mode 100644
index 1438b9cda6..0000000000
--- a/usr/src/lib/libdhcpsvc/modules/files/spec/Makefile
+++ /dev/null
@@ -1,30 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 2001 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libdhcpsvc/modules/files/spec/Makefile
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/libdhcpsvc/modules/files/spec/Makefile.targ b/usr/src/lib/libdhcpsvc/modules/files/spec/Makefile.targ
deleted file mode 100644
index 0155e81cf9..0000000000
--- a/usr/src/lib/libdhcpsvc/modules/files/spec/Makefile.targ
+++ /dev/null
@@ -1,32 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 2000 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libdhcpsvc/modules/files/spec/Makefile.targ
-
-LIBRARY = ds_SUNWfiles.a
-VERS = .1
-OBJECTS = ds_SUNWfiles.o
diff --git a/usr/src/lib/libdhcpsvc/modules/files/spec/amd64/Makefile b/usr/src/lib/libdhcpsvc/modules/files/spec/amd64/Makefile
deleted file mode 100644
index 98f45d6f94..0000000000
--- a/usr/src/lib/libdhcpsvc/modules/files/spec/amd64/Makefile
+++ /dev/null
@@ -1,30 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-all install clean clobber:
- @echo "Nothing to $@ on amd64"
diff --git a/usr/src/lib/libdhcpsvc/modules/files/spec/ds_SUNWfiles.spec b/usr/src/lib/libdhcpsvc/modules/files/spec/ds_SUNWfiles.spec
deleted file mode 100644
index ebb367d634..0000000000
--- a/usr/src/lib/libdhcpsvc/modules/files/spec/ds_SUNWfiles.spec
+++ /dev/null
@@ -1,107 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libdhcpsvc/modules/files/spec/ds_SUNWfiles.spec
-
-function status extends libdhcpsvc/modules/templates/spec/public.spec
-version SUNWprivate_1.1
-end
-
-function version extends libdhcpsvc/modules/templates/spec/public.spec
-version SUNWprivate_1.1
-end
-
-function mklocation extends libdhcpsvc/modules/templates/spec/public.spec
-version SUNWprivate_1.1
-end
-
-function list_dn extends libdhcpsvc/modules/templates/spec/public.spec
-version SUNWprivate_1.1
-end
-
-function open_dn extends libdhcpsvc/modules/templates/spec/public.spec
-version SUNWprivate_1.1
-end
-
-function close_dn extends libdhcpsvc/modules/templates/spec/public.spec
-version SUNWprivate_1.1
-end
-
-function remove_dn extends libdhcpsvc/modules/templates/spec/public.spec
-version SUNWprivate_1.1
-end
-
-function lookup_dn extends libdhcpsvc/modules/templates/spec/public.spec
-version SUNWprivate_1.1
-end
-
-function add_dn extends libdhcpsvc/modules/templates/spec/public.spec
-version SUNWprivate_1.1
-end
-
-function modify_dn extends libdhcpsvc/modules/templates/spec/public.spec
-version SUNWprivate_1.1
-end
-
-function delete_dn extends libdhcpsvc/modules/templates/spec/public.spec
-version SUNWprivate_1.1
-end
-
-function list_dt extends libdhcpsvc/modules/templates/spec/public.spec
-version SUNWprivate_1.1
-end
-
-function open_dt extends libdhcpsvc/modules/templates/spec/public.spec
-version SUNWprivate_1.1
-end
-
-function close_dt extends libdhcpsvc/modules/templates/spec/public.spec
-version SUNWprivate_1.1
-end
-
-function remove_dt extends libdhcpsvc/modules/templates/spec/public.spec
-version SUNWprivate_1.1
-end
-
-function lookup_dt extends libdhcpsvc/modules/templates/spec/public.spec
-version SUNWprivate_1.1
-end
-
-function add_dt extends libdhcpsvc/modules/templates/spec/public.spec
-version SUNWprivate_1.1
-end
-
-function modify_dt extends libdhcpsvc/modules/templates/spec/public.spec
-version SUNWprivate_1.1
-end
-
-function delete_dt extends libdhcpsvc/modules/templates/spec/public.spec
-version SUNWprivate_1.1
-end
-
-data dsvc_synchtype
-version SUNWprivate_1.1
-end
diff --git a/usr/src/lib/libdhcpsvc/modules/files/spec/i386/Makefile b/usr/src/lib/libdhcpsvc/modules/files/spec/i386/Makefile
deleted file mode 100644
index 15c76e0732..0000000000
--- a/usr/src/lib/libdhcpsvc/modules/files/spec/i386/Makefile
+++ /dev/null
@@ -1,34 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 2001 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libdhcpsvc/modules/files/spec/i386/Makefile
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libdhcpsvc/modules/files/spec/sparc/Makefile b/usr/src/lib/libdhcpsvc/modules/files/spec/sparc/Makefile
deleted file mode 100644
index 8c73560bfe..0000000000
--- a/usr/src/lib/libdhcpsvc/modules/files/spec/sparc/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 2001 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libdhcpsvc/modules/files/spec/sparc/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libdhcpsvc/modules/files/spec/sparcv9/Makefile b/usr/src/lib/libdhcpsvc/modules/files/spec/sparcv9/Makefile
deleted file mode 100644
index 50282a75d3..0000000000
--- a/usr/src/lib/libdhcpsvc/modules/files/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,31 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 2000 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libdhcpsvc/modules/files/spec/sparcv9/Makefile
-
-all install clean clobber:
- @echo "Nothing to $@ on sparcv9"
diff --git a/usr/src/lib/libdhcpsvc/modules/files/spec/versions b/usr/src/lib/libdhcpsvc/modules/files/spec/versions
deleted file mode 100644
index a542a0f7fc..0000000000
--- a/usr/src/lib/libdhcpsvc/modules/files/spec/versions
+++ /dev/null
@@ -1,39 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-sparc {
- SUNWprivate_1.1;
-}
-sparcv9 {
- SUNWprivate_1.1;
-}
-i386 {
- SUNWprivate_1.1;
-}
-amd64 {
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/libdhcpsvc/modules/files0/Makefile b/usr/src/lib/libdhcpsvc/modules/files0/Makefile
index 84baa395ff..2225b9c4c6 100644
--- a/usr/src/lib/libdhcpsvc/modules/files0/Makefile
+++ b/usr/src/lib/libdhcpsvc/modules/files0/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,13 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright (c) 2000 by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libdhcpsvc/modules/files0/Makefile
include $(SRC)/lib/Makefile.lib
-SUBDIRS = spec .WAIT $(MACH)
+SUBDIRS = $(MACH)
include ../../Makefile.subdirs
diff --git a/usr/src/lib/fm/libfmd_snmp/spec/amd64/Makefile b/usr/src/lib/libdhcpsvc/modules/files0/mapfile-vers
index f0f7dfb2bc..57e5bdbe3d 100644
--- a/usr/src/lib/fm/libfmd_snmp/spec/amd64/Makefile
+++ b/usr/src/lib/libdhcpsvc/modules/files0/mapfile-vers
@@ -18,7 +18,6 @@
#
# CDDL HEADER END
#
-
#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
@@ -26,12 +25,27 @@
# ident "%Z%%M% %I% %E% SMI"
#
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB64)
+SUNWprivate_1.1 {
+ global:
+ add_dn;
+ add_dt;
+ close_dn;
+ close_dt;
+ delete_dn;
+ delete_dt;
+ list_dn;
+ list_dt;
+ lookup_dn;
+ lookup_dt;
+ mklocation;
+ modify_dn;
+ modify_dt;
+ open_dn;
+ open_dt;
+ remove_dn;
+ remove_dt;
+ status;
+ version;
+ local:
+ *;
+};
diff --git a/usr/src/lib/libdhcpsvc/modules/files0/spec/Makefile b/usr/src/lib/libdhcpsvc/modules/files0/spec/Makefile
deleted file mode 100644
index 8dcd45a363..0000000000
--- a/usr/src/lib/libdhcpsvc/modules/files0/spec/Makefile
+++ /dev/null
@@ -1,30 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 2000 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libdhcpsvc/modules/files0/spec/Makefile
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/libdhcpsvc/modules/files0/spec/Makefile.targ b/usr/src/lib/libdhcpsvc/modules/files0/spec/Makefile.targ
deleted file mode 100644
index d9cbaacfff..0000000000
--- a/usr/src/lib/libdhcpsvc/modules/files0/spec/Makefile.targ
+++ /dev/null
@@ -1,32 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 2000 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libdhcpsvc/modules/files0/spec/Makefile.targ
-
-LIBRARY = ds_SUNWfiles.a
-VERS = .0
-OBJECTS = ds_SUNWfiles.o
diff --git a/usr/src/lib/libdhcpsvc/modules/files0/spec/amd64/Makefile b/usr/src/lib/libdhcpsvc/modules/files0/spec/amd64/Makefile
deleted file mode 100644
index 98f45d6f94..0000000000
--- a/usr/src/lib/libdhcpsvc/modules/files0/spec/amd64/Makefile
+++ /dev/null
@@ -1,30 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-all install clean clobber:
- @echo "Nothing to $@ on amd64"
diff --git a/usr/src/lib/libdhcpsvc/modules/files0/spec/ds_SUNWfiles.spec b/usr/src/lib/libdhcpsvc/modules/files0/spec/ds_SUNWfiles.spec
deleted file mode 100644
index acfebfd0e8..0000000000
--- a/usr/src/lib/libdhcpsvc/modules/files0/spec/ds_SUNWfiles.spec
+++ /dev/null
@@ -1,103 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libdhcpsvc/modules/files0/spec/ds_SUNWfiles.spec
-
-function status extends libdhcpsvc/modules/templates/spec/public.spec
-version SUNWprivate_1.1
-end
-
-function version extends libdhcpsvc/modules/templates/spec/public.spec
-version SUNWprivate_1.1
-end
-
-function mklocation extends libdhcpsvc/modules/templates/spec/public.spec
-version SUNWprivate_1.1
-end
-
-function list_dn extends libdhcpsvc/modules/templates/spec/public.spec
-version SUNWprivate_1.1
-end
-
-function open_dn extends libdhcpsvc/modules/templates/spec/public.spec
-version SUNWprivate_1.1
-end
-
-function close_dn extends libdhcpsvc/modules/templates/spec/public.spec
-version SUNWprivate_1.1
-end
-
-function remove_dn extends libdhcpsvc/modules/templates/spec/public.spec
-version SUNWprivate_1.1
-end
-
-function lookup_dn extends libdhcpsvc/modules/templates/spec/public.spec
-version SUNWprivate_1.1
-end
-
-function add_dn extends libdhcpsvc/modules/templates/spec/public.spec
-version SUNWprivate_1.1
-end
-
-function modify_dn extends libdhcpsvc/modules/templates/spec/public.spec
-version SUNWprivate_1.1
-end
-
-function delete_dn extends libdhcpsvc/modules/templates/spec/public.spec
-version SUNWprivate_1.1
-end
-
-function list_dt extends libdhcpsvc/modules/templates/spec/public.spec
-version SUNWprivate_1.1
-end
-
-function open_dt extends libdhcpsvc/modules/templates/spec/public.spec
-version SUNWprivate_1.1
-end
-
-function close_dt extends libdhcpsvc/modules/templates/spec/public.spec
-version SUNWprivate_1.1
-end
-
-function remove_dt extends libdhcpsvc/modules/templates/spec/public.spec
-version SUNWprivate_1.1
-end
-
-function lookup_dt extends libdhcpsvc/modules/templates/spec/public.spec
-version SUNWprivate_1.1
-end
-
-function add_dt extends libdhcpsvc/modules/templates/spec/public.spec
-version SUNWprivate_1.1
-end
-
-function modify_dt extends libdhcpsvc/modules/templates/spec/public.spec
-version SUNWprivate_1.1
-end
-
-function delete_dt extends libdhcpsvc/modules/templates/spec/public.spec
-version SUNWprivate_1.1
-end
diff --git a/usr/src/lib/libdhcpsvc/modules/files0/spec/i386/Makefile b/usr/src/lib/libdhcpsvc/modules/files0/spec/i386/Makefile
deleted file mode 100644
index 4927e56071..0000000000
--- a/usr/src/lib/libdhcpsvc/modules/files0/spec/i386/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 2000 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libdhcpsvc/modules/files0/spec/i386/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libdhcpsvc/modules/files0/spec/sparc/Makefile b/usr/src/lib/libdhcpsvc/modules/files0/spec/sparc/Makefile
deleted file mode 100644
index 60fad6a048..0000000000
--- a/usr/src/lib/libdhcpsvc/modules/files0/spec/sparc/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 2000 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libdhcpsvc/modules/files0/spec/sparc/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libdhcpsvc/modules/files0/spec/sparcv9/Makefile b/usr/src/lib/libdhcpsvc/modules/files0/spec/sparcv9/Makefile
deleted file mode 100644
index 47c58e7393..0000000000
--- a/usr/src/lib/libdhcpsvc/modules/files0/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,31 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 2000 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libdhcpsvc/modules/files0/spec/sparcv9/Makefile
-
-all install clean clobber:
- @echo "Nothing to $@ on sparcv9"
diff --git a/usr/src/lib/libdhcpsvc/modules/files0/spec/versions b/usr/src/lib/libdhcpsvc/modules/files0/spec/versions
deleted file mode 100644
index a542a0f7fc..0000000000
--- a/usr/src/lib/libdhcpsvc/modules/files0/spec/versions
+++ /dev/null
@@ -1,39 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-sparc {
- SUNWprivate_1.1;
-}
-sparcv9 {
- SUNWprivate_1.1;
-}
-i386 {
- SUNWprivate_1.1;
-}
-amd64 {
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/libdhcpsvc/modules/nisplus/Makefile b/usr/src/lib/libdhcpsvc/modules/nisplus/Makefile
index 2bc5189767..2225b9c4c6 100644
--- a/usr/src/lib/libdhcpsvc/modules/nisplus/Makefile
+++ b/usr/src/lib/libdhcpsvc/modules/nisplus/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright (c) 2001 by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libdhcpsvc/modules/nisplus/Makefile
+# ident "%Z%%M% %I% %E% SMI"
#
include $(SRC)/lib/Makefile.lib
-SUBDIRS = spec .WAIT $(MACH)
+SUBDIRS = $(MACH)
include ../../Makefile.subdirs
diff --git a/usr/src/lib/libdhcpsvc/modules/nisplus/mapfile-vers b/usr/src/lib/libdhcpsvc/modules/nisplus/mapfile-vers
new file mode 100644
index 0000000000..57e5bdbe3d
--- /dev/null
+++ b/usr/src/lib/libdhcpsvc/modules/nisplus/mapfile-vers
@@ -0,0 +1,51 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNWprivate_1.1 {
+ global:
+ add_dn;
+ add_dt;
+ close_dn;
+ close_dt;
+ delete_dn;
+ delete_dt;
+ list_dn;
+ list_dt;
+ lookup_dn;
+ lookup_dt;
+ mklocation;
+ modify_dn;
+ modify_dt;
+ open_dn;
+ open_dt;
+ remove_dn;
+ remove_dt;
+ status;
+ version;
+ local:
+ *;
+};
diff --git a/usr/src/lib/libdhcpsvc/modules/nisplus/spec/Makefile b/usr/src/lib/libdhcpsvc/modules/nisplus/spec/Makefile
deleted file mode 100644
index 40f813d4f2..0000000000
--- a/usr/src/lib/libdhcpsvc/modules/nisplus/spec/Makefile
+++ /dev/null
@@ -1,30 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 2001 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libdhcpsvc/modules/nisplus/spec/Makefile
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/libdhcpsvc/modules/nisplus/spec/Makefile.targ b/usr/src/lib/libdhcpsvc/modules/nisplus/spec/Makefile.targ
deleted file mode 100644
index fa43471a88..0000000000
--- a/usr/src/lib/libdhcpsvc/modules/nisplus/spec/Makefile.targ
+++ /dev/null
@@ -1,32 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 2001 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libdhcpsvc/modules/nisplus/spec/Makefile.targ
-
-LIBRARY = ds_SUNWnisplus.a
-VERS = .1
-OBJECTS = ds_SUNWnisplus.o
diff --git a/usr/src/lib/libdhcpsvc/modules/nisplus/spec/amd64/Makefile b/usr/src/lib/libdhcpsvc/modules/nisplus/spec/amd64/Makefile
deleted file mode 100644
index 98f45d6f94..0000000000
--- a/usr/src/lib/libdhcpsvc/modules/nisplus/spec/amd64/Makefile
+++ /dev/null
@@ -1,30 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-all install clean clobber:
- @echo "Nothing to $@ on amd64"
diff --git a/usr/src/lib/libdhcpsvc/modules/nisplus/spec/ds_SUNWnisplus.spec b/usr/src/lib/libdhcpsvc/modules/nisplus/spec/ds_SUNWnisplus.spec
deleted file mode 100644
index dac30cf1a1..0000000000
--- a/usr/src/lib/libdhcpsvc/modules/nisplus/spec/ds_SUNWnisplus.spec
+++ /dev/null
@@ -1,103 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libdhcpsvc/modules/nisplus/spec/ds_SUNWnisplus.spec
-
-function status extends libdhcpsvc/modules/templates/spec/public.spec
-version SUNWprivate_1.1
-end
-
-function version extends libdhcpsvc/modules/templates/spec/public.spec
-version SUNWprivate_1.1
-end
-
-function mklocation extends libdhcpsvc/modules/templates/spec/public.spec
-version SUNWprivate_1.1
-end
-
-function list_dn extends libdhcpsvc/modules/templates/spec/public.spec
-version SUNWprivate_1.1
-end
-
-function open_dn extends libdhcpsvc/modules/templates/spec/public.spec
-version SUNWprivate_1.1
-end
-
-function close_dn extends libdhcpsvc/modules/templates/spec/public.spec
-version SUNWprivate_1.1
-end
-
-function remove_dn extends libdhcpsvc/modules/templates/spec/public.spec
-version SUNWprivate_1.1
-end
-
-function lookup_dn extends libdhcpsvc/modules/templates/spec/public.spec
-version SUNWprivate_1.1
-end
-
-function add_dn extends libdhcpsvc/modules/templates/spec/public.spec
-version SUNWprivate_1.1
-end
-
-function modify_dn extends libdhcpsvc/modules/templates/spec/public.spec
-version SUNWprivate_1.1
-end
-
-function delete_dn extends libdhcpsvc/modules/templates/spec/public.spec
-version SUNWprivate_1.1
-end
-
-function list_dt extends libdhcpsvc/modules/templates/spec/public.spec
-version SUNWprivate_1.1
-end
-
-function open_dt extends libdhcpsvc/modules/templates/spec/public.spec
-version SUNWprivate_1.1
-end
-
-function close_dt extends libdhcpsvc/modules/templates/spec/public.spec
-version SUNWprivate_1.1
-end
-
-function remove_dt extends libdhcpsvc/modules/templates/spec/public.spec
-version SUNWprivate_1.1
-end
-
-function lookup_dt extends libdhcpsvc/modules/templates/spec/public.spec
-version SUNWprivate_1.1
-end
-
-function add_dt extends libdhcpsvc/modules/templates/spec/public.spec
-version SUNWprivate_1.1
-end
-
-function modify_dt extends libdhcpsvc/modules/templates/spec/public.spec
-version SUNWprivate_1.1
-end
-
-function delete_dt extends libdhcpsvc/modules/templates/spec/public.spec
-version SUNWprivate_1.1
-end
diff --git a/usr/src/lib/libdhcpsvc/modules/nisplus/spec/i386/Makefile b/usr/src/lib/libdhcpsvc/modules/nisplus/spec/i386/Makefile
deleted file mode 100644
index d770cf0930..0000000000
--- a/usr/src/lib/libdhcpsvc/modules/nisplus/spec/i386/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 2001 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libdhcpsvc/modules/nisplus/spec/i386/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libdhcpsvc/modules/nisplus/spec/sparc/Makefile b/usr/src/lib/libdhcpsvc/modules/nisplus/spec/sparc/Makefile
deleted file mode 100644
index 3968022371..0000000000
--- a/usr/src/lib/libdhcpsvc/modules/nisplus/spec/sparc/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 2001 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libdhcpsvc/modules/nisplus/spec/sparc/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libdhcpsvc/modules/nisplus/spec/sparcv9/Makefile b/usr/src/lib/libdhcpsvc/modules/nisplus/spec/sparcv9/Makefile
deleted file mode 100644
index 11f65ca8ef..0000000000
--- a/usr/src/lib/libdhcpsvc/modules/nisplus/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,31 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 2001 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libdhcpsvc/modules/nisplus/spec/sparcv9/Makefile
-
-all install clean clobber:
- @echo "Nothing to $@ on sparcv9"
diff --git a/usr/src/lib/libdhcpsvc/modules/nisplus/spec/versions b/usr/src/lib/libdhcpsvc/modules/nisplus/spec/versions
deleted file mode 100644
index a542a0f7fc..0000000000
--- a/usr/src/lib/libdhcpsvc/modules/nisplus/spec/versions
+++ /dev/null
@@ -1,39 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-sparc {
- SUNWprivate_1.1;
-}
-sparcv9 {
- SUNWprivate_1.1;
-}
-i386 {
- SUNWprivate_1.1;
-}
-amd64 {
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/libdhcpsvc/modules/nisplus0/Makefile b/usr/src/lib/libdhcpsvc/modules/nisplus0/Makefile
index 042efe7508..bdeebd3bee 100644
--- a/usr/src/lib/libdhcpsvc/modules/nisplus0/Makefile
+++ b/usr/src/lib/libdhcpsvc/modules/nisplus0/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,15 +19,13 @@
# CDDL HEADER END
#
#
-# Copyright (c) 2001 by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libdhcpsvc/modules/nisplus0/Makefile
+# ident "%Z%%M% %I% %E% SMI"
#
include $(SRC)/lib/Makefile.lib
-SUBDIRS = spec .WAIT $(MACH)
+SUBDIRS = $(MACH)
include ../../Makefile.subdirs
diff --git a/usr/src/lib/libdhcpsvc/modules/nisplus0/mapfile-vers b/usr/src/lib/libdhcpsvc/modules/nisplus0/mapfile-vers
new file mode 100644
index 0000000000..57e5bdbe3d
--- /dev/null
+++ b/usr/src/lib/libdhcpsvc/modules/nisplus0/mapfile-vers
@@ -0,0 +1,51 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNWprivate_1.1 {
+ global:
+ add_dn;
+ add_dt;
+ close_dn;
+ close_dt;
+ delete_dn;
+ delete_dt;
+ list_dn;
+ list_dt;
+ lookup_dn;
+ lookup_dt;
+ mklocation;
+ modify_dn;
+ modify_dt;
+ open_dn;
+ open_dt;
+ remove_dn;
+ remove_dt;
+ status;
+ version;
+ local:
+ *;
+};
diff --git a/usr/src/lib/libdhcpsvc/modules/nisplus0/spec/Makefile b/usr/src/lib/libdhcpsvc/modules/nisplus0/spec/Makefile
deleted file mode 100644
index 42baacc734..0000000000
--- a/usr/src/lib/libdhcpsvc/modules/nisplus0/spec/Makefile
+++ /dev/null
@@ -1,30 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 2001 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libdhcpsvc/modules/nisplus0/spec/Makefile
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/libdhcpsvc/modules/nisplus0/spec/Makefile.targ b/usr/src/lib/libdhcpsvc/modules/nisplus0/spec/Makefile.targ
deleted file mode 100644
index 5cee6e93c3..0000000000
--- a/usr/src/lib/libdhcpsvc/modules/nisplus0/spec/Makefile.targ
+++ /dev/null
@@ -1,32 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 2001 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libdhcpsvc/modules/nisplus0/spec/Makefile.targ
-
-LIBRARY = ds_SUNWnisplus.a
-VERS = .0
-OBJECTS = ds_SUNWnisplus.o
diff --git a/usr/src/lib/libdhcpsvc/modules/nisplus0/spec/amd64/Makefile b/usr/src/lib/libdhcpsvc/modules/nisplus0/spec/amd64/Makefile
deleted file mode 100644
index 98f45d6f94..0000000000
--- a/usr/src/lib/libdhcpsvc/modules/nisplus0/spec/amd64/Makefile
+++ /dev/null
@@ -1,30 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-all install clean clobber:
- @echo "Nothing to $@ on amd64"
diff --git a/usr/src/lib/libdhcpsvc/modules/nisplus0/spec/ds_SUNWnisplus.spec b/usr/src/lib/libdhcpsvc/modules/nisplus0/spec/ds_SUNWnisplus.spec
deleted file mode 100644
index 385427b766..0000000000
--- a/usr/src/lib/libdhcpsvc/modules/nisplus0/spec/ds_SUNWnisplus.spec
+++ /dev/null
@@ -1,103 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libdhcpsvc/modules/nisplus0/spec/ds_SUNWnisplus.spec
-
-function status extends libdhcpsvc/modules/templates/spec/public.spec
-version SUNWprivate_1.1
-end
-
-function version extends libdhcpsvc/modules/templates/spec/public.spec
-version SUNWprivate_1.1
-end
-
-function mklocation extends libdhcpsvc/modules/templates/spec/public.spec
-version SUNWprivate_1.1
-end
-
-function list_dn extends libdhcpsvc/modules/templates/spec/public.spec
-version SUNWprivate_1.1
-end
-
-function open_dn extends libdhcpsvc/modules/templates/spec/public.spec
-version SUNWprivate_1.1
-end
-
-function close_dn extends libdhcpsvc/modules/templates/spec/public.spec
-version SUNWprivate_1.1
-end
-
-function remove_dn extends libdhcpsvc/modules/templates/spec/public.spec
-version SUNWprivate_1.1
-end
-
-function lookup_dn extends libdhcpsvc/modules/templates/spec/public.spec
-version SUNWprivate_1.1
-end
-
-function add_dn extends libdhcpsvc/modules/templates/spec/public.spec
-version SUNWprivate_1.1
-end
-
-function modify_dn extends libdhcpsvc/modules/templates/spec/public.spec
-version SUNWprivate_1.1
-end
-
-function delete_dn extends libdhcpsvc/modules/templates/spec/public.spec
-version SUNWprivate_1.1
-end
-
-function list_dt extends libdhcpsvc/modules/templates/spec/public.spec
-version SUNWprivate_1.1
-end
-
-function open_dt extends libdhcpsvc/modules/templates/spec/public.spec
-version SUNWprivate_1.1
-end
-
-function close_dt extends libdhcpsvc/modules/templates/spec/public.spec
-version SUNWprivate_1.1
-end
-
-function remove_dt extends libdhcpsvc/modules/templates/spec/public.spec
-version SUNWprivate_1.1
-end
-
-function lookup_dt extends libdhcpsvc/modules/templates/spec/public.spec
-version SUNWprivate_1.1
-end
-
-function add_dt extends libdhcpsvc/modules/templates/spec/public.spec
-version SUNWprivate_1.1
-end
-
-function modify_dt extends libdhcpsvc/modules/templates/spec/public.spec
-version SUNWprivate_1.1
-end
-
-function delete_dt extends libdhcpsvc/modules/templates/spec/public.spec
-version SUNWprivate_1.1
-end
diff --git a/usr/src/lib/libdhcpsvc/modules/nisplus0/spec/i386/Makefile b/usr/src/lib/libdhcpsvc/modules/nisplus0/spec/i386/Makefile
deleted file mode 100644
index 80e2efc640..0000000000
--- a/usr/src/lib/libdhcpsvc/modules/nisplus0/spec/i386/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 2001 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libdhcpsvc/modules/nisplus0/spec/i386/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libdhcpsvc/modules/nisplus0/spec/sparc/Makefile b/usr/src/lib/libdhcpsvc/modules/nisplus0/spec/sparc/Makefile
deleted file mode 100644
index 3ab842df8d..0000000000
--- a/usr/src/lib/libdhcpsvc/modules/nisplus0/spec/sparc/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 2001 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libdhcpsvc/modules/nisplus0/spec/sparc/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libdhcpsvc/modules/nisplus0/spec/sparcv9/Makefile b/usr/src/lib/libdhcpsvc/modules/nisplus0/spec/sparcv9/Makefile
deleted file mode 100644
index e6843fd3f5..0000000000
--- a/usr/src/lib/libdhcpsvc/modules/nisplus0/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,31 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 2001 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libdhcpsvc/modules/nisplus0/spec/sparcv9/Makefile
-
-all install clean clobber:
- @echo "Nothing to $@ on sparcv9"
diff --git a/usr/src/lib/libdhcpsvc/modules/nisplus0/spec/versions b/usr/src/lib/libdhcpsvc/modules/nisplus0/spec/versions
deleted file mode 100644
index a542a0f7fc..0000000000
--- a/usr/src/lib/libdhcpsvc/modules/nisplus0/spec/versions
+++ /dev/null
@@ -1,39 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-sparc {
- SUNWprivate_1.1;
-}
-sparcv9 {
- SUNWprivate_1.1;
-}
-i386 {
- SUNWprivate_1.1;
-}
-amd64 {
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/libdhcpsvc/modules/templates/Makefile b/usr/src/lib/libdhcpsvc/modules/templates/Makefile
index af47db42cf..2225b9c4c6 100644
--- a/usr/src/lib/libdhcpsvc/modules/templates/Makefile
+++ b/usr/src/lib/libdhcpsvc/modules/templates/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright (c) 2001 by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libdhcpsvc/modules/RESOURCE/Makefile
+# ident "%Z%%M% %I% %E% SMI"
#
include $(SRC)/lib/Makefile.lib
-SUBDIRS = spec .WAIT $(MACH)
+SUBDIRS = $(MACH)
include ../../Makefile.subdirs
diff --git a/usr/src/lib/libdhcpsvc/modules/templates/spec/Makefile b/usr/src/lib/libdhcpsvc/modules/templates/spec/Makefile
deleted file mode 100644
index 4c6a997e4f..0000000000
--- a/usr/src/lib/libdhcpsvc/modules/templates/spec/Makefile
+++ /dev/null
@@ -1,30 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 2001 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libdhcpsvc/modules/templates/spec/Makefile
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/libdhcpsvc/modules/templates/spec/Makefile.targ b/usr/src/lib/libdhcpsvc/modules/templates/spec/Makefile.targ
deleted file mode 100644
index 0f95cec689..0000000000
--- a/usr/src/lib/libdhcpsvc/modules/templates/spec/Makefile.targ
+++ /dev/null
@@ -1,32 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 2001 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libdhcpsvc/modules/templates/spec/Makefile.targ
-
-LIBRARY = ds_RESOURCE.a
-VERS = .1
-OBJECTS = ds_RESOURCE.o
diff --git a/usr/src/lib/libdhcpsvc/modules/templates/spec/amd64/Makefile b/usr/src/lib/libdhcpsvc/modules/templates/spec/amd64/Makefile
deleted file mode 100644
index 98f45d6f94..0000000000
--- a/usr/src/lib/libdhcpsvc/modules/templates/spec/amd64/Makefile
+++ /dev/null
@@ -1,30 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-all install clean clobber:
- @echo "Nothing to $@ on amd64"
diff --git a/usr/src/lib/libdhcpsvc/modules/templates/spec/ds_RESOURCE.spec b/usr/src/lib/libdhcpsvc/modules/templates/spec/ds_RESOURCE.spec
deleted file mode 100644
index 88a5dfeeb5..0000000000
--- a/usr/src/lib/libdhcpsvc/modules/templates/spec/ds_RESOURCE.spec
+++ /dev/null
@@ -1,103 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libdhcpsvc/modules/templates/spec/ds_RESOURCE.spec
-
-function status extends libdhcpsvc/modules/templates/spec/public.spec
-version SUNWprivate_1.1
-end
-
-function version extends libdhcpsvc/modules/templates/spec/public.spec
-version SUNWprivate_1.1
-end
-
-function mklocation extends libdhcpsvc/modules/templates/spec/public.spec
-version SUNWprivate_1.1
-end
-
-function list_dn extends libdhcpsvc/modules/templates/spec/public.spec
-version SUNWprivate_1.1
-end
-
-function open_dn extends libdhcpsvc/modules/templates/spec/public.spec
-version SUNWprivate_1.1
-end
-
-function close_dn extends libdhcpsvc/modules/templates/spec/public.spec
-version SUNWprivate_1.1
-end
-
-function remove_dn extends libdhcpsvc/modules/templates/spec/public.spec
-version SUNWprivate_1.1
-end
-
-function lookup_dn extends libdhcpsvc/modules/templates/spec/public.spec
-version SUNWprivate_1.1
-end
-
-function add_dn extends libdhcpsvc/modules/templates/spec/public.spec
-version SUNWprivate_1.1
-end
-
-function modify_dn extends libdhcpsvc/modules/templates/spec/public.spec
-version SUNWprivate_1.1
-end
-
-function delete_dn extends libdhcpsvc/modules/templates/spec/public.spec
-version SUNWprivate_1.1
-end
-
-function list_dt extends libdhcpsvc/modules/templates/spec/public.spec
-version SUNWprivate_1.1
-end
-
-function open_dt extends libdhcpsvc/modules/templates/spec/public.spec
-version SUNWprivate_1.1
-end
-
-function close_dt extends libdhcpsvc/modules/templates/spec/public.spec
-version SUNWprivate_1.1
-end
-
-function remove_dt extends libdhcpsvc/modules/templates/spec/public.spec
-version SUNWprivate_1.1
-end
-
-function lookup_dt extends libdhcpsvc/modules/templates/spec/public.spec
-version SUNWprivate_1.1
-end
-
-function add_dt extends libdhcpsvc/modules/templates/spec/public.spec
-version SUNWprivate_1.1
-end
-
-function modify_dt extends libdhcpsvc/modules/templates/spec/public.spec
-version SUNWprivate_1.1
-end
-
-function delete_dt extends libdhcpsvc/modules/templates/spec/public.spec
-version SUNWprivate_1.1
-end
diff --git a/usr/src/lib/libdhcpsvc/modules/templates/spec/i386/Makefile b/usr/src/lib/libdhcpsvc/modules/templates/spec/i386/Makefile
deleted file mode 100644
index 904a73a4c9..0000000000
--- a/usr/src/lib/libdhcpsvc/modules/templates/spec/i386/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 2001 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libdhcpsvc/modules/templates/spec/i386/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libdhcpsvc/modules/templates/spec/public.spec b/usr/src/lib/libdhcpsvc/modules/templates/spec/public.spec
deleted file mode 100644
index 24d9e07991..0000000000
--- a/usr/src/lib/libdhcpsvc/modules/templates/spec/public.spec
+++ /dev/null
@@ -1,136 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libdhcpsvc/modules/templates/spec/public.spec
-
-#
-# This is the authoritative specfile for all public modules
-#
-
-function status
-include <dhcp_svc_public.h>
-declaration int status(const char *location)
-end
-
-function version
-include <dhcp_svc_public.h>
-declaration int version(int *vp)
-end
-
-function mklocation
-include <dhcp_svc_public.h>
-declaration int mklocation(const char *location)
-end
-
-function list_dn
-include <dhcp_svc_public.h>
-declaration int list_dn(const char *location, char ***listppp, \
- uint_t *count)
-end
-
-function open_dn
-include <dhcp_svc_public.h>
-declaration int open_dn(void **handlep, const char *location, uint_t flags,\
- const struct in_addr *netp, const struct in_addr *maskp)
-end
-
-function close_dn
-include <dhcp_svc_public.h>
-declaration int close_dn(void **handlep)
-end
-
-function remove_dn
-include <dhcp_svc_public.h>
-declaration int remove_dn(const char *location, const struct in_addr *netp)
-end
-
-function lookup_dn
-include <dhcp_svc_public.h>
-declaration int lookup_dn(void *handle, boolean_t partial, uint_t query, \
- int count, const dn_rec_t *targetp, \
- dn_rec_list_t **recordsp, uint_t *nrecordsp)
-end
-
-function add_dn
-include <dhcp_svc_public.h>
-declaration int add_dn(void *handle, dn_rec_t *addp)
-end
-
-function modify_dn
-include <dhcp_svc_public.h>
-declaration int modify_dn(void *handle, const dn_rec_t *origp, \
- dn_rec_t *newp)
-end
-
-function delete_dn
-include <dhcp_svc_public.h>
-declaration int delete_dn(void *handle, const dn_rec_t *pnp)
-end
-
-function list_dt
-include <dhcp_svc_public.h>
-declaration int list_dt(const char *location, char ***listppp, \
- uint_t *count)
-end
-
-function open_dt
-include <dhcp_svc_public.h>
-declaration int open_dt(void **handlep, const char *location, \
- uint_t flags)
-end
-
-function close_dt
-include <dhcp_svc_public.h>
-declaration int close_dt(void **handlep)
-end
-
-function remove_dt
-include <dhcp_svc_public.h>
-declaration int remove_dt(const char *location)
-end
-
-function lookup_dt
-include <dhcp_svc_public.h>
-declaration int lookup_dt(void *handle, boolean_t partial, uint_t query, \
- int count, const dt_rec_t *targetp, \
- dt_rec_list_t **recordsp, uint_t *nrecordsp)
-end
-
-function add_dt
-include <dhcp_svc_public.h>
-declaration int add_dt(void *handle, dt_rec_t *addp)
-end
-
-function modify_dt
-include <dhcp_svc_public.h>
-declaration int modify_dt(void *handle, const dt_rec_t *origp, \
- dt_rec_t *newp)
-end
-
-function delete_dt
-include <dhcp_svc_public.h>
-declaration int delete_dt(void *handle, const dt_rec_t *dtp)
-end
diff --git a/usr/src/lib/libdhcpsvc/modules/templates/spec/sparc/Makefile b/usr/src/lib/libdhcpsvc/modules/templates/spec/sparc/Makefile
deleted file mode 100644
index 0b7f977ce7..0000000000
--- a/usr/src/lib/libdhcpsvc/modules/templates/spec/sparc/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 2001 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libdhcpsvc/modules/templates/spec/sparc/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libdhcpsvc/modules/templates/spec/sparcv9/Makefile b/usr/src/lib/libdhcpsvc/modules/templates/spec/sparcv9/Makefile
deleted file mode 100644
index 60b3f17058..0000000000
--- a/usr/src/lib/libdhcpsvc/modules/templates/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,31 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 2001 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libdhcpsvc/modules/templates/spec/sparcv9/Makefile
-
-all install clean clobber:
- @echo "Nothing to $@ on sparcv9"
diff --git a/usr/src/lib/libdhcpsvc/modules/templates/spec/versions b/usr/src/lib/libdhcpsvc/modules/templates/spec/versions
deleted file mode 100644
index a542a0f7fc..0000000000
--- a/usr/src/lib/libdhcpsvc/modules/templates/spec/versions
+++ /dev/null
@@ -1,39 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-sparc {
- SUNWprivate_1.1;
-}
-sparcv9 {
- SUNWprivate_1.1;
-}
-i386 {
- SUNWprivate_1.1;
-}
-amd64 {
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/libdhcpsvc/private/Makefile b/usr/src/lib/libdhcpsvc/private/Makefile
index cdf3bb5781..8be228255c 100644
--- a/usr/src/lib/libdhcpsvc/private/Makefile
+++ b/usr/src/lib/libdhcpsvc/private/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,14 @@
# CDDL HEADER END
#
#
-# Copyright (c) 2001 by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
include ../Makefile.com
-SUBDIRS = spec .WAIT $(MACH)
+SUBDIRS = $(MACH)
include ../Makefile.subdirs
XGETFLAGS += -a
diff --git a/usr/src/lib/libdhcpsvc/private/Makefile.com b/usr/src/lib/libdhcpsvc/private/Makefile.com
index 5460919a98..6d5d7a397a 100644
--- a/usr/src/lib/libdhcpsvc/private/Makefile.com
+++ b/usr/src/lib/libdhcpsvc/private/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,7 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
@@ -29,7 +28,6 @@
LIBRARY = libdhcpsvc.a
VERS = .1
OBJECTS = confopt.o errmsgs.o private.o public.o dsvcd_synch.o
-MAPDIR = ../spec/$(TRANSMACH)
# include library definitions
include $(SRC)/lib/libdhcpsvc/Makefile.com
diff --git a/usr/src/lib/libdhcpsvc/private/mapfile-vers b/usr/src/lib/libdhcpsvc/private/mapfile-vers
new file mode 100644
index 0000000000..755a781e8d
--- /dev/null
+++ b/usr/src/lib/libdhcpsvc/private/mapfile-vers
@@ -0,0 +1,63 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNWprivate_1.1 {
+ global:
+ add_dd_entry;
+ add_dnrec_to_list;
+ add_dsvc_conf;
+ add_dtrec_to_list;
+ alloc_dnrec;
+ alloc_dtrec;
+ close_dd;
+ confopt_to_datastore;
+ delete_dd_entry;
+ delete_dsvc_conf;
+ dhcpsvc_errmsg;
+ enumerate_dd;
+ free_dd;
+ free_dd_list;
+ free_dnrec;
+ free_dnrec_list;
+ free_dsvc_conf;
+ free_dtrec;
+ free_dtrec_list;
+ list_dd;
+ lookup_dd;
+ mklocation_dd;
+ modify_dd_entry;
+ module_synchtype;
+ open_dd;
+ query_dsvc_conf;
+ read_dsvc_conf;
+ remove_dd;
+ replace_dsvc_conf;
+ status_dd;
+ write_dsvc_conf;
+ local:
+ *;
+};
diff --git a/usr/src/lib/libdhcpsvc/private/spec/Makefile b/usr/src/lib/libdhcpsvc/private/spec/Makefile
deleted file mode 100644
index 6c5642e7d0..0000000000
--- a/usr/src/lib/libdhcpsvc/private/spec/Makefile
+++ /dev/null
@@ -1,30 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 2001 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libdhcpsvc/private/spec/Makefile
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/libdhcpsvc/private/spec/Makefile.targ b/usr/src/lib/libdhcpsvc/private/spec/Makefile.targ
deleted file mode 100644
index c8e34bd81c..0000000000
--- a/usr/src/lib/libdhcpsvc/private/spec/Makefile.targ
+++ /dev/null
@@ -1,33 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 2001 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libdhcpsvc/private/spec/Makefile.targ
-
-LIBRARY = libdhcpsvc.a
-VERS = .1
-OBJECTS = dhcpsvc.o
-SPECCPP = -I../../head
diff --git a/usr/src/lib/libdhcpsvc/private/spec/amd64/Makefile b/usr/src/lib/libdhcpsvc/private/spec/amd64/Makefile
deleted file mode 100644
index 98f45d6f94..0000000000
--- a/usr/src/lib/libdhcpsvc/private/spec/amd64/Makefile
+++ /dev/null
@@ -1,30 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-all install clean clobber:
- @echo "Nothing to $@ on amd64"
diff --git a/usr/src/lib/libdhcpsvc/private/spec/dhcpsvc.spec b/usr/src/lib/libdhcpsvc/private/spec/dhcpsvc.spec
deleted file mode 100644
index 0a170e8a85..0000000000
--- a/usr/src/lib/libdhcpsvc/private/spec/dhcpsvc.spec
+++ /dev/null
@@ -1,231 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libdhcpsvc/private/spec/dhcpsvc.spec
-
-function dhcpsvc_errmsg
-include <dhcp_svc_public.h>
-declaration const char *dhcpsvc_errmsg(unsigned int index)
-version SUNWprivate_1.1
-end
-
-function alloc_dtrec
-include <dhcp_svc_public.h>
-declaration dt_rec_t *alloc_dtrec(const char *key, char type, \
- const char *value)
-version SUNWprivate_1.1
-end
-
-function alloc_dnrec
-include <dhcp_svc_public.h>
-declaration dn_rec_t *alloc_dnrec(const uchar_t *cid, uchar_t cid_len, \
- uchar_t flags, struct in_addr cip, struct in_addr sip, \
- lease_t lease, const char *macro, const char *comment);
-version SUNWprivate_1.1
-end
-
-function add_dtrec_to_list
-include <dhcp_svc_public.h>
-declaration dt_rec_list_t *add_dtrec_to_list(dt_rec_t *item, \
- dt_rec_list_t *list);
-version SUNWprivate_1.1
-end
-
-function add_dnrec_to_list
-include <dhcp_svc_public.h>
-declaration dn_rec_list_t *add_dnrec_to_list(dn_rec_t *item, \
- dn_rec_list_t *list);
-version SUNWprivate_1.1
-end
-
-function free_dtrec
-include <dhcp_svc_public.h>
-declaration void free_dtrec(dt_rec_t *dtp)
-version SUNWprivate_1.1
-end
-
-function free_dtrec_list
-include <dhcp_svc_public.h>
-declaration void free_dtrec_list(dt_rec_list_t *dtlp)
-version SUNWprivate_1.1
-end
-
-function free_dnrec
-include <dhcp_svc_public.h>
-declaration void free_dnrec(dn_rec_t *dnp)
-version SUNWprivate_1.1
-end
-
-function free_dnrec_list
-include <dhcp_svc_public.h>
-declaration void free_dnrec_list(dn_rec_list_t *dnlp)
-version SUNWprivate_1.1
-end
-
-function add_dsvc_conf
-include <dhcp_svc_confopt.h>
-declaration int add_dsvc_conf(dhcp_confopt_t **ddpp, const char *key, \
- const char *value)
-version SUNWprivate_1.1
-end
-
-function read_dsvc_conf
-include <dhcp_svc_confopt.h>
-declaration int read_dsvc_conf(dhcp_confopt_t **ddpp)
-version SUNWprivate_1.1
-end
-
-function replace_dsvc_conf
-include <dhcp_svc_confopt.h>
-declaration int replace_dsvc_conf(dhcp_confopt_t **ddpp, \
- const char *key, const char *value)
-version SUNWprivate_1.1
-end
-
-function write_dsvc_conf
-include <dhcp_svc_confopt.h>
-declaration int write_dsvc_conf(dhcp_confopt_t *ddp, mode_t mode)
-version SUNWprivate_1.1
-end
-
-function free_dsvc_conf
-include <dhcp_svc_confopt.h>
-declaration void free_dsvc_conf(dhcp_confopt_t *ddp)
-version SUNWprivate_1.1
-end
-
-function delete_dsvc_conf
-include <dhcp_svc_confopt.h>
-declaration int delete_dsvc_conf(void)
-version SUNWprivate_1.1
-end
-
-function query_dsvc_conf
-include <dhcp_svc_confopt.h>
-declaration int query_dsvc_conf(dhcp_confopt_t *ddp, const char *key, \
- char **value)
-version SUNWprivate_1.1
-end
-
-function confopt_to_datastore
-include <dhcp_svc_private.h>
-declaration int confopt_to_datastore(dhcp_confopt_t *ddp, \
- dsvc_datastore_t *dsp)
-version SUNWprivate_1.1
-end
-
-function enumerate_dd
-include <dhcp_svc_private.h>
-declaration int enumerate_dd(char ***modules, int *nump)
-version SUNWprivate_1.1
-end
-
-function list_dd
-include <dhcp_svc_private.h>
-declaration int list_dd(dsvc_datastore_t *dsp, dsvc_contype_t type, \
- char ***listppp, uint_t *count)
-version SUNWprivate_1.1
-end
-
-function status_dd
-include <dhcp_svc_private.h>
-declaration int status_dd(dsvc_datastore_t *ddp)
-version SUNWprivate_1.1
-end
-
-function mklocation_dd
-include <dhcp_svc_private.h>
-declaration int mklocation_dd(dsvc_datastore_t *ddp)
-version SUNWprivate_1.1
-end
-
-function add_dd_entry
-include <dhcp_svc_private.h>
-declaration int add_dd_entry(dsvc_handle_t handle, void *newp)
-version SUNWprivate_1.1
-end
-
-function modify_dd_entry
-include <dhcp_svc_private.h>
-declaration int modify_dd_entry(dsvc_handle_t handle, const void *origp, \
- void *newp)
-version SUNWprivate_1.1
-end
-
-function delete_dd_entry
-include <dhcp_svc_private.h>
-declaration int delete_dd_entry(dsvc_handle_t handle, void *entryp)
-version SUNWprivate_1.1
-end
-
-function close_dd
-include <dhcp_svc_private.h>
-declaration int close_dd(dsvc_handle_t *handlep)
-version SUNWprivate_1.1
-end
-
-function remove_dd
-include <dhcp_svc_private.h>
-declaration int remove_dd(dsvc_datastore_t *ddp, dsvc_contype_t type, \
- const char *name)
-version SUNWprivate_1.1
-end
-
-function open_dd
-include <dhcp_svc_private.h>
-declaration int open_dd(dsvc_handle_t *handlep, dsvc_datastore_t *ddp, \
- dsvc_contype_t type, const char *name, uint_t flags)
-version SUNWprivate_1.1
-end
-
-function lookup_dd
-include <dhcp_svc_private.h>
-declaration int lookup_dd(dsvc_handle_t handle, boolean_t partial, \
- uint_t query, int count, const void *targetp, \
- void **recordsp, uint_t *nrecordsp)
-version SUNWprivate_1.1
-end
-
-function free_dd
-include <dhcp_svc_private.h>
-declaration void free_dd(dsvc_handle_t handle, void *entryp)
-version SUNWprivate_1.1
-end
-
-function free_dd_list
-include <dhcp_svc_private.h>
-declaration void free_dd_list(dsvc_handle_t handle, void *listp)
-version SUNWprivate_1.1
-end
-
-function module_synchtype
-include <dhcp_svc_private.h>
-declaration int module_synchtype(dsvc_datastore_t *ddp, \
- dsvc_synchtype_t *synchtypep)
-version SUNWprivate_1.1
-end
-
-
diff --git a/usr/src/lib/libdhcpsvc/private/spec/i386/Makefile b/usr/src/lib/libdhcpsvc/private/spec/i386/Makefile
deleted file mode 100644
index ade9177938..0000000000
--- a/usr/src/lib/libdhcpsvc/private/spec/i386/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 2001 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libdhcpsvc/private/spec/i386/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libdhcpsvc/private/spec/sparc/Makefile b/usr/src/lib/libdhcpsvc/private/spec/sparc/Makefile
deleted file mode 100644
index 8a6b0aca95..0000000000
--- a/usr/src/lib/libdhcpsvc/private/spec/sparc/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 2001 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libdhcpsvc/private/spec/sparc/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libdhcpsvc/private/spec/sparcv9/Makefile b/usr/src/lib/libdhcpsvc/private/spec/sparcv9/Makefile
deleted file mode 100644
index 27000f6825..0000000000
--- a/usr/src/lib/libdhcpsvc/private/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,31 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 2001 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libdhcpsvc/private/spec/sparcv9/Makefile
-
-all install clean clobber:
- @echo "Nothing to $@ on sparcv9"
diff --git a/usr/src/lib/libdhcpsvc/private/spec/versions b/usr/src/lib/libdhcpsvc/private/spec/versions
deleted file mode 100644
index a542a0f7fc..0000000000
--- a/usr/src/lib/libdhcpsvc/private/spec/versions
+++ /dev/null
@@ -1,39 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-sparc {
- SUNWprivate_1.1;
-}
-sparcv9 {
- SUNWprivate_1.1;
-}
-i386 {
- SUNWprivate_1.1;
-}
-amd64 {
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/libdhcputil/Makefile b/usr/src/lib/libdhcputil/Makefile
index eebf93f7df..f5abdf9627 100644
--- a/usr/src/lib/libdhcputil/Makefile
+++ b/usr/src/lib/libdhcputil/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,7 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 1999-2003 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
@@ -50,9 +49,7 @@ lint := TARGET = lint
.KEEP_STATE:
-all clean clobber install: spec .WAIT $(SUBDIRS)
-
-lint: $(SUBDIRS)
+all clean clobber install lint: $(SUBDIRS)
install_h: $(ROOTHDRS)
@@ -65,7 +62,7 @@ $(POFILE): pofile_MSGFILES
_msg: $(MSGDOMAINPOFILE)
-spec $(SUBDIRS): FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
diff --git a/usr/src/lib/libdhcputil/Makefile.com b/usr/src/lib/libdhcputil/Makefile.com
index c6e3f163e4..e05af3bd3a 100644
--- a/usr/src/lib/libdhcputil/Makefile.com
+++ b/usr/src/lib/libdhcputil/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,7 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
@@ -41,12 +40,10 @@ include ../../Makefile.rootfs
LIBS = $(DYNLIB) $(LINTLIB)
LDLIBS += -lc -lnsl -lgen -linetutil
-SRCS = $(LOCOBJS:%.o=$(SRCDIR)/%.c) $(COMOBJS:%.o=$(COMDIR)/%.c)
-$(LINTLIB) := SRCS = $(SRCDIR)/$(LINTSRC)
SRCDIR = ../common
-MAPDIR = ../spec/$(TRANSMACH)
-SPECMAPFILE = $(MAPDIR)/mapfile
+SRCS = $(LOCOBJS:%.o=$(SRCDIR)/%.c) $(COMOBJS:%.o=$(COMDIR)/%.c)
+$(LINTLIB) := SRCS = $(SRCDIR)/$(LINTSRC)
CFLAGS += $(CCVERBOSE)
CPPFLAGS += -I$(COMDIR)
diff --git a/usr/src/lib/libdhcputil/common/mapfile-vers b/usr/src/lib/libdhcputil/common/mapfile-vers
new file mode 100644
index 0000000000..65d36e67d5
--- /dev/null
+++ b/usr/src/lib/libdhcputil/common/mapfile-vers
@@ -0,0 +1,61 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+# There really should be only one SUNWprivate version.
+# Don't add any more. Add new private symbols to SUNWprivate_1.2
+
+SUNWprivate_1.2 {
+ global:
+ dhcp_options_scan;
+} SUNWprivate_1.1;
+
+SUNWprivate_1.1 {
+ global:
+ dhcpmsg;
+ dhcpmsg_fini;
+ dhcpmsg_init;
+ dsym_close_parser;
+ dsym_free_classes;
+ dsym_free_fields;
+ dsym_get_cat_id;
+ dsym_get_code_ranges;
+ dsym_get_type_id;
+ dsym_init_parser;
+ dsym_parse_field;
+ dsym_parser;
+ inittab_decode;
+ inittab_decode_e;
+ inittab_encode;
+ inittab_encode_e;
+ inittab_getbycode;
+ inittab_getbyname;
+ inittab_load;
+ inittab_type_to_size;
+ inittab_verify;
+ local:
+ *;
+};
diff --git a/usr/src/lib/libdhcputil/spec/Makefile b/usr/src/lib/libdhcputil/spec/Makefile
deleted file mode 100644
index ad76aff4a5..0000000000
--- a/usr/src/lib/libdhcputil/spec/Makefile
+++ /dev/null
@@ -1,30 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1999-2001 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#ident "%W% %E% SMI"
-#
-# lib/libdhcputil/spec/Makefile
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/libdhcputil/spec/Makefile.targ b/usr/src/lib/libdhcputil/spec/Makefile.targ
deleted file mode 100644
index d0cbd76ba4..0000000000
--- a/usr/src/lib/libdhcputil/spec/Makefile.targ
+++ /dev/null
@@ -1,33 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1999-2001 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#ident "%W% %E% SMI"
-#
-# lib/libdhcputil/spec/Makefile.targ
-
-LIBRARY = libdhcputil.a
-VERS = .1
-OBJECTS = dhcputil.o
-SPECCPP = -I../.. -I$(SRC)/common/net/dhcp
diff --git a/usr/src/lib/libdhcputil/spec/amd64/Makefile b/usr/src/lib/libdhcputil/spec/amd64/Makefile
deleted file mode 100644
index 4ee7613aaf..0000000000
--- a/usr/src/lib/libdhcputil/spec/amd64/Makefile
+++ /dev/null
@@ -1,32 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-all clean clobber install lint:
- @echo "Nothing to $@ on amd64"
diff --git a/usr/src/lib/libdhcputil/spec/dhcputil.spec b/usr/src/lib/libdhcputil/spec/dhcputil.spec
deleted file mode 100644
index eaaed806b3..0000000000
--- a/usr/src/lib/libdhcputil/spec/dhcputil.spec
+++ /dev/null
@@ -1,178 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libdhcpagent/spec/dhcputil.spec
-
-function dhcpmsg
-include <dhcpmsg.h>
-declaration void dhcpmsg(int level, const char *format, ...)
-version SUNWprivate_1.1
-end
-
-function dhcpmsg_init
-include <dhcpmsg.h>
-declaration void dhcpmsg_init(const char *program_name, boolean_t \
- is_daemon, boolean_t is_verbose, int debugging_level)
-version SUNWprivate_1.1
-end
-
-function dhcpmsg_fini
-include <dhcpmsg.h>
-declaration void dhcpmsg_fini(void)
-version SUNWprivate_1.1
-end
-
-function inittab_load
-include <dhcp_inittab.h>
-declaration dhcp_symbol_t *inittab_load(uchar_t categories, char \
- consumer, size_t *n_entries)
-version SUNWprivate_1.1
-end
-
-function inittab_getbyname
-include <dhcp_inittab.h>
-declaration dhcp_symbol_t *inittab_getbyname(uchar_t categories, \
- char consumer, const char *name)
-version SUNWprivate_1.1
-end
-
-function inittab_getbycode
-include <dhcp_inittab.h>
-declaration dhcp_symbol_t *inittab_getbycode(uchar_t categories, \
- char consumer, uint16_t code)
-version SUNWprivate_1.1
-end
-
-function inittab_verify
-include <dhcp_inittab.h>
-declaration int inittab_verify(dhcp_symbol_t *inittab_entry, \
- dhcp_symbol_t *internal_entry)
-version SUNWprivate_1.1
-end
-
-function inittab_encode
-include <dhcp_inittab.h>
-declaration uchar_t *inittab_encode(dhcp_symbol_t *inittab_entry, \
- const char *value, uint16_t *lengthp, boolean_t \
- just_payload)
-version SUNWprivate_1.1
-end
-
-function inittab_decode
-include <dhcp_inittab.h>
-declaration char *inittab_decode(dhcp_symbol_t *inittab_entry, \
- uchar_t *payload, uint16_t length, boolean_t \
- just_payload)
-version SUNWprivate_1.1
-end
-
-function inittab_encode_e
-include <dhcp_inittab.h>
-declaration uchar_t *inittab_encode_e(dhcp_symbol_t *inittab_entry, \
- const char *value, uint16_t *lengthp, boolean_t \
- just_payload, int *ierrnop)
-version SUNWprivate_1.1
-end
-
-function inittab_decode_e
-include <dhcp_inittab.h>
-declaration char *inittab_decode_e(dhcp_symbol_t *inittab_entry, \
- uchar_t *payload, uint16_t length, boolean_t \
- just_payload, int *ierrno)
-version SUNWprivate_1.1
-end
-
-function inittab_type_to_size
-include <dhcp_inittab.h>
-declaration uint8_t inittab_type_to_size(dhcp_symbol_t *inittab_entry)
-version SUNWprivate_1.1
-end
-
-function dsym_close_parser
-include <dhcp_symbol.h>
-declaration void dsym_close_parser(char **fields, dhcp_symbol_t *sym)
-version SUNWprivate_1.1
-end
-
-function dsym_free_classes
-include <dhcp_symbol.h>
-declaration void dsym_free_classes(dhcp_classes_t *classes)
-version SUNWprivate_1.1
-end
-
-function dsym_free_fields
-include <dhcp_symbol.h>
-declaration void dsym_free_fields(char **fields)
-version SUNWprivate_1.1
-end
-
-function dsym_init_parser
-include <dhcp_symbol.h>
-declaration dsym_errcode_t dsym_init_parser(const char * name, \
- const char *value, char ***fields_ret, dhcp_symbol_t *sym)
-version SUNWprivate_1.1
-end
-
-function dsym_parse_field
-include <dhcp_symbol.h>
-declaration dsym_errcode_t dsym_parse_field(int field_num, \
- char **fields, dhcp_symbol_t *sym)
-version SUNWprivate_1.1
-end
-
-function dsym_parser
-include <dhcp_symbol.h>
-declaration dsym_errcode_t dsym_parser(char **fields, dhcp_symbol_t *sym, \
- int *lastField, boolean_t bestEffort)
-version SUNWprivate_1.1
-end
-
-function dsym_get_cat_id
-include <dhcp_symbol.h>
-declaration dsym_errcode_t dsym_get_cat_id(const char *cat, \
- dsym_category_t *id, boolean_t cs)
-version SUNWprivate_1.1
-end
-
-function dsym_get_code_ranges
-include <dhcp_symbol.h>
-declaration dsym_errcode_t dsym_get_code_ranges(const char *cat, \
- ushort_t *min, ushort_t *max, boolean_t cs)
-version SUNWprivate_1.1
-end
-
-function dsym_get_type_id
-include <dhcp_symbol.h>
-declaration dsym_errcode_t dsym_get_type_id(const char *type, \
- dsym_cdtype_t *id, boolean_t cs)
-version SUNWprivate_1.1
-end
-
-function dhcp_options_scan
-include <dhcp_impl.h>
-declaration int dhcp_options_scan(PKT_LIST *pl, boolean_t scan_vendor)
-version SUNWprivate_1.2
-end
diff --git a/usr/src/lib/libdhcputil/spec/i386/Makefile b/usr/src/lib/libdhcputil/spec/i386/Makefile
deleted file mode 100644
index 6ad76c1208..0000000000
--- a/usr/src/lib/libdhcputil/spec/i386/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1999-2001 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#ident "%W% %E% SMI"
-#
-# lib/libdhcputil/spec/i386/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libdhcputil/spec/sparc/Makefile b/usr/src/lib/libdhcputil/spec/sparc/Makefile
deleted file mode 100644
index 4aba178c6f..0000000000
--- a/usr/src/lib/libdhcputil/spec/sparc/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1999-2001 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#ident "%W% %E% SMI"
-#
-# lib/libdhcputil/spec/sparc/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libdhcputil/spec/sparcv9/Makefile b/usr/src/lib/libdhcputil/spec/sparcv9/Makefile
deleted file mode 100644
index 86fdf91c6b..0000000000
--- a/usr/src/lib/libdhcputil/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,33 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1999-2001 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#ident "%W% %E% SMI"
-#
-# lib/libdhcputil/spec/sparcv9/Makefile
-
-.KEEP_STATE:
-
-all clean clobber install lint:
- @echo "Nothing to $@ on sparcv9"
diff --git a/usr/src/lib/libdhcputil/spec/versions b/usr/src/lib/libdhcputil/spec/versions
deleted file mode 100644
index 05e8e3e9ca..0000000000
--- a/usr/src/lib/libdhcputil/spec/versions
+++ /dev/null
@@ -1,43 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-sparc {
- SUNWprivate_1.2: {SUNWprivate_1.1};
- SUNWprivate_1.1;
-}
-sparcv9 {
- SUNWprivate_1.2: {SUNWprivate_1.1};
- SUNWprivate_1.1;
-}
-i386 {
- SUNWprivate_1.2: {SUNWprivate_1.1};
- SUNWprivate_1.1;
-}
-amd64 {
- SUNWprivate_1.2: {SUNWprivate_1.1};
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/libdiagcode/spec/amd64/Makefile b/usr/src/lib/libdiagcode/spec/amd64/Makefile
deleted file mode 100644
index 0b3b4f1ff2..0000000000
--- a/usr/src/lib/libdiagcode/spec/amd64/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB)
diff --git a/usr/src/lib/libdisasm/Makefile b/usr/src/lib/libdisasm/Makefile
index 2573befc49..69dbd89f35 100644
--- a/usr/src/lib/libdisasm/Makefile
+++ b/usr/src/lib/libdisasm/Makefile
@@ -23,7 +23,7 @@
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
-
+#
include ../Makefile.lib
@@ -42,17 +42,13 @@ lint := TARGET = lint
.KEEP_STATE:
-$(INTEL_BLD)SPECDIR= spec
-
-all clean clobber install: $(SPECDIR) .WAIT $(SUBDIRS)
-
-lint: $(SUBDIRS)
+all clean clobber install lint: $(SUBDIRS)
install_h: $(ROOTHDRS)
check: $(CHECKHDRS)
-$(SUBDIRS) spec: FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
diff --git a/usr/src/lib/libdisasm/Makefile.com b/usr/src/lib/libdisasm/Makefile.com
index d929ff46aa..a742d3e525 100644
--- a/usr/src/lib/libdisasm/Makefile.com
+++ b/usr/src/lib/libdisasm/Makefile.com
@@ -23,6 +23,7 @@
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
+#
#
# The build process for libdisasm is sightly different from that used by other
@@ -44,7 +45,6 @@ TYPES= library
CURTYPE= library
COMDIR= $(SRC)/lib/libdisasm/common
-SPECDIR= $(SRC)/lib/libdisasm/spec
#
# Architecture-dependent files common to both versions of libdisasm
@@ -86,8 +86,7 @@ LIBS_standalone = $(STANDLIBRARY)
LIBS_library = $(DYNLIB) $(LINTLIB)
LIBS = $(LIBS_$(CURTYPE))
-MAPDIR= $(SPECDIR)/$(TRANSMACH)
-SPECMAPFILE= $(MAPDIR)/mapfile
+MAPFILES = $(COMDIR)/mapfile-vers
LDLIBS += -lc
diff --git a/usr/src/lib/libdisasm/Makefile.targ b/usr/src/lib/libdisasm/Makefile.targ
index c5798c1a94..3d4f928527 100644
--- a/usr/src/lib/libdisasm/Makefile.targ
+++ b/usr/src/lib/libdisasm/Makefile.targ
@@ -24,6 +24,8 @@
#
# ident "%Z%%M% %I% %E% SMI"
#
+
+#
# We build each flavor in a separate make invocation to improve clarity(!) in
# Makefile.com. The subordinate makes have $(CURTYPE) set to indicate the
# flavor they're supposed to build. This causes the correct set of source
@@ -59,11 +61,6 @@ $(STANDLIBRARY): $(OBJS) $(LINKTEST_OBJ)
rm $@.linktest
$(LD) $(LDFLAGS) -o $@ $(OBJS)
-$(DYNLIB): $(MAPFILE)
-
-$(MAPFILE):
- @cd $(MAPDIR); $(MAKE) mapfile
-
clobber: $(TYPES:%=clobber.%)
$(TYPES:%=clobber.%):
diff --git a/usr/src/lib/libdisasm/common/mapfile-vers b/usr/src/lib/libdisasm/common/mapfile-vers
new file mode 100644
index 0000000000..aba1c6a51e
--- /dev/null
+++ b/usr/src/lib/libdisasm/common/mapfile-vers
@@ -0,0 +1,40 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNWprivate_1.1 {
+ global:
+ dis_disassemble;
+ dis_errno;
+ dis_handle_create;
+ dis_handle_destroy;
+ dis_max_instrlen;
+ dis_previnstr;
+ dis_set_data;
+ dis_strerror;
+ local:
+ *;
+};
diff --git a/usr/src/lib/libdisasm/spec/Makefile.targ b/usr/src/lib/libdisasm/spec/Makefile.targ
deleted file mode 100644
index 7f0c111966..0000000000
--- a/usr/src/lib/libdisasm/spec/Makefile.targ
+++ /dev/null
@@ -1,30 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-
-LIBRARY= libdisasm.a
-VERS= .1
-
-OBJECTS= libdisasm.o
diff --git a/usr/src/lib/libdisasm/spec/amd64/Makefile b/usr/src/lib/libdisasm/spec/amd64/Makefile
deleted file mode 100644
index ccb7881373..0000000000
--- a/usr/src/lib/libdisasm/spec/amd64/Makefile
+++ /dev/null
@@ -1,34 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libdisasm/spec/i386/Makefile b/usr/src/lib/libdisasm/spec/i386/Makefile
deleted file mode 100644
index 9c275ffd2d..0000000000
--- a/usr/src/lib/libdisasm/spec/i386/Makefile
+++ /dev/null
@@ -1,33 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libdisasm/spec/libdisasm.spec b/usr/src/lib/libdisasm/spec/libdisasm.spec
deleted file mode 100644
index d06dc0f18e..0000000000
--- a/usr/src/lib/libdisasm/spec/libdisasm.spec
+++ /dev/null
@@ -1,57 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-function dis_disassemble
-version SUNWprivate_1.1
-end
-
-function dis_errno
-version SUNWprivate_1.1
-end
-
-function dis_handle_create
-version SUNWprivate_1.1
-end
-
-function dis_handle_destroy
-version SUNWprivate_1.1
-end
-
-function dis_max_instrlen
-version SUNWprivate_1.1
-end
-
-function dis_previnstr
-version SUNWprivate_1.1
-end
-
-function dis_set_data
-version SUNWprivate_1.1
-end
-
-function dis_strerror
-version SUNWprivate_1.1
-end
diff --git a/usr/src/lib/libdisasm/spec/sparc/Makefile b/usr/src/lib/libdisasm/spec/sparc/Makefile
deleted file mode 100644
index 9c275ffd2d..0000000000
--- a/usr/src/lib/libdisasm/spec/sparc/Makefile
+++ /dev/null
@@ -1,33 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libdisasm/spec/sparcv9/Makefile b/usr/src/lib/libdisasm/spec/sparcv9/Makefile
deleted file mode 100644
index ccb7881373..0000000000
--- a/usr/src/lib/libdisasm/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,34 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libdisasm/spec/versions b/usr/src/lib/libdisasm/spec/versions
deleted file mode 100644
index 4b00fdea49..0000000000
--- a/usr/src/lib/libdisasm/spec/versions
+++ /dev/null
@@ -1,39 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-
-#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-sparc {
- SUNWprivate_1.1;
-}
-sparcv9 {
- SUNWprivate_1.1;
-}
-i386 {
- SUNWprivate_1.1;
-}
-amd64 {
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/libdiskmgt/Makefile b/usr/src/lib/libdiskmgt/Makefile
index 6c88d6c133..92b3f02d67 100644
--- a/usr/src/lib/libdiskmgt/Makefile
+++ b/usr/src/lib/libdiskmgt/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,7 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
@@ -33,7 +32,9 @@ ROOTHDRDIR= $(ROOT)/usr/include
ROOTHDRS= $(HDRS:%=$(ROOTHDRDIR)/%)
CHECKDIRS= $(HDRS:%.h=%.check)
HDRDIR = common
-SUBDIRS = spec .WAIT $(MACH) $(BUILD64) $(MACH64)
+
+SUBDIRS = $(MACH)
+$(BUILD64)SUBDIRS += $(MACH64)
$(ROOTHDRDIR)/%: %
$(INS.file)
@@ -55,7 +56,7 @@ check: $(CHECKHDRS)
$(POFILE):
-$(MACH) $(MACH64) spec: FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
diff --git a/usr/src/lib/libdiskmgt/Makefile.com b/usr/src/lib/libdiskmgt/Makefile.com
index 5e8c824fc5..350c1248fd 100644
--- a/usr/src/lib/libdiskmgt/Makefile.com
+++ b/usr/src/lib/libdiskmgt/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,7 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
@@ -40,11 +39,9 @@ LIBS = $(DYNLIB) $(LINTLIB)
LDLIBS += -ldevinfo -ladm -ldevid -lkstat -lsysevent \
-lvolmgt -lnvpair -lefi -lc
LDFLAGS += -R/opt/VRTSvxvm/lib
-$(LINTLIB) := SRCS = $(SRCDIR)/$(LINTSRC)
SRCDIR = ../common
-MAPDIR = ../spec/$(TRANSMACH)
-SPECMAPFILE = $(MAPDIR)/mapfile
+$(LINTLIB) := SRCS = $(SRCDIR)/$(LINTSRC)
CFLAGS += $(CCVERBOSE)
CPPFLAGS += -D_REENTRANT -I$(SRC)/lib/libdiskmgt/common
diff --git a/usr/src/lib/libdiskmgt/amd64/Makefile b/usr/src/lib/libdiskmgt/amd64/Makefile
index cb86d986a2..80a8e6fcb2 100644
--- a/usr/src/lib/libdiskmgt/amd64/Makefile
+++ b/usr/src/lib/libdiskmgt/amd64/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,13 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-MAPDIR= ../spec/amd64
include ../Makefile.com
include ../../Makefile.lib.64
diff --git a/usr/src/lib/libdiskmgt/common/mapfile-vers b/usr/src/lib/libdiskmgt/common/mapfile-vers
new file mode 100644
index 0000000000..80a66faf35
--- /dev/null
+++ b/usr/src/lib/libdiskmgt/common/mapfile-vers
@@ -0,0 +1,49 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNWprivate_1.1 {
+ global:
+ dm_free_descriptor;
+ dm_free_descriptors;
+ dm_free_name;
+ dm_get_associated_descriptors;
+ dm_get_associated_types;
+ dm_get_attributes;
+ dm_get_descriptor_by_name;
+ dm_get_descriptors;
+ dm_get_event;
+ dm_get_name;
+ dm_get_slices;
+ dm_get_slice_stats;
+ dm_get_stats;
+ dm_get_type;
+ dm_init_event_queue;
+ dm_inuse;
+ dm_isoverlapping;
+ local:
+ *;
+};
diff --git a/usr/src/lib/libdiskmgt/sparcv9/Makefile b/usr/src/lib/libdiskmgt/sparcv9/Makefile
index f2593718fe..80a8e6fcb2 100644
--- a/usr/src/lib/libdiskmgt/sparcv9/Makefile
+++ b/usr/src/lib/libdiskmgt/sparcv9/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#pragma ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libdiskmgt/sparcv9/Makefile
-MAPDIR= ../spec/sparcv9
include ../Makefile.com
include ../../Makefile.lib.64
diff --git a/usr/src/lib/libdiskmgt/spec/Makefile b/usr/src/lib/libdiskmgt/spec/Makefile
deleted file mode 100644
index 7ec77b7139..0000000000
--- a/usr/src/lib/libdiskmgt/spec/Makefile
+++ /dev/null
@@ -1,30 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2002 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libdiskmgt/spec/Makefile
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/libdiskmgt/spec/Makefile.targ b/usr/src/lib/libdiskmgt/spec/Makefile.targ
deleted file mode 100644
index 3b1f0e9cc9..0000000000
--- a/usr/src/lib/libdiskmgt/spec/Makefile.targ
+++ /dev/null
@@ -1,33 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2002 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libdiskmgt/spec/Makefile.targ
-
-LIBRARY = libdiskmgt.a
-VERS = .1
-OBJECTS = diskmgt.o
-SPECCPP = -I../../common
diff --git a/usr/src/lib/libdiskmgt/spec/amd64/Makefile b/usr/src/lib/libdiskmgt/spec/amd64/Makefile
deleted file mode 100644
index 5dd1b7240f..0000000000
--- a/usr/src/lib/libdiskmgt/spec/amd64/Makefile
+++ /dev/null
@@ -1,42 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#amd64_C_PICFLAGS = $(amd64_C_BIGPICFLAGS)
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libdiskmgt/spec/diskmgt.spec b/usr/src/lib/libdiskmgt/spec/diskmgt.spec
deleted file mode 100644
index cd86d49b36..0000000000
--- a/usr/src/lib/libdiskmgt/spec/diskmgt.spec
+++ /dev/null
@@ -1,137 +0,0 @@
-#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libdiskmgt/spec/diskmgt.spec
-
-function dm_free_descriptors
-include <libdiskmgt.h>
-declaration void dm_free_descriptors(dm_descriptor_t *desc_list)
-version SUNWprivate_1.1
-end
-
-function dm_free_descriptor
-include <libdiskmgt.h>
-declaration void dm_free_descriptor(dm_descriptor_t desc)
-version SUNWprivate_1.1
-end
-
-function dm_free_name
-include <libdiskmgt.h>
-declaration void dm_free_name(char *name)
-version SUNWprivate_1.1
-end
-
-function dm_get_descriptors
-include <libdiskmgt.h>
-declaration dm_descriptor_t *dm_get_descriptors(dm_desc_type_t type, \
- int filter[], int *errp)
-version SUNWprivate_1.1
-end
-
-function dm_get_associated_descriptors
-include <libdiskmgt.h>
-declaration dm_descriptor_t * \
- dm_get_associated_descriptors(dm_descriptor_t desc, \
- dm_desc_type_t type, int *errp)
-version SUNWprivate_1.1
-end
-
-function dm_get_associated_types
-include <libdiskmgt.h>
-declaration dm_desc_type_t *dm_get_associated_types(dm_desc_type_t type)
-version SUNWprivate_1.1
-end
-
-function dm_get_descriptor_by_name
-include <libdiskmgt.h>
-declaration dm_descriptor_t dm_get_descriptor_by_name(dm_desc_type_t \
- desc_type, char *name, int *errp)
-version SUNWprivate_1.1
-end
-
-function dm_get_name
-include <libdiskmgt.h>
-declaration char *dm_get_name(dm_descriptor_t desc, int *errp)
-version SUNWprivate_1.1
-end
-
-function dm_get_type
-include <libdiskmgt.h>
-declaration dm_desc_type_t dm_get_type(dm_descriptor_t desc)
-version SUNWprivate_1.1
-end
-
-function dm_get_attributes
-include <libdiskmgt.h>
-declaration nvlist_t *dm_get_attributes(dm_descriptor_t desc, int *errp)
-version SUNWprivate_1.1
-end
-
-function dm_get_stats
-include <libdiskmgt.h>
-declaration nvlist_t *dm_get_stats(dm_descriptor_t desc, int stat_type, \
- int *errp)
-version SUNWprivate_1.1
-end
-
-function dm_init_event_queue
-include <libdiskmgt.h>
-declaration void dm_init_event_queue(void(*callback)(nvlist_t *, int), \
- int *errp)
-version SUNWprivate_1.1
-end
-
-function dm_get_event
-include <libdiskmgt.h>
-declaration nvlist_t *dm_get_event(int *errp)
-version SUNWprivate_1.1
-end
-
-function dm_get_slices
-include <libdiskmgt.h>
-declaration void dm_get_slices(char * drive, dm_descriptor_t **slices, \
- int *errp)
-version SUNWprivate_1.1
-end
-
-function dm_get_slice_stats
-include <libdiskmgt.h>
-declaration void dm_get_slice_stats(char *slice, nvlist_t **dev_stats, \
- int *errp)
-version SUNWprivate_1.1
-end
-
-function dm_inuse
-include <libdiskmgt.h>
-declaration void dm_inuse(char * dev_name, char **msg, dm_who_type_t who,
- int *errp)
-version SUNWprivate_1.1
-end
-
-function dm_isoverlapping
-declaration int dm_isoverlapping(char *dev_name, char **msg, int *errp)
-version SUNWprivate_1.1
-end
diff --git a/usr/src/lib/libdiskmgt/spec/i386/Makefile b/usr/src/lib/libdiskmgt/spec/i386/Makefile
deleted file mode 100644
index 2548b2bdb4..0000000000
--- a/usr/src/lib/libdiskmgt/spec/i386/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2002 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libdiskmgt/spec/i386/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libdiskmgt/spec/sparc/Makefile b/usr/src/lib/libdiskmgt/spec/sparc/Makefile
deleted file mode 100644
index b1aa1cc40c..0000000000
--- a/usr/src/lib/libdiskmgt/spec/sparc/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2002 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libdiskmgt/spec/sparc/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libdiskmgt/spec/sparcv9/Makefile b/usr/src/lib/libdiskmgt/spec/sparcv9/Makefile
deleted file mode 100644
index 1d4ec142d6..0000000000
--- a/usr/src/lib/libdiskmgt/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,43 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2002-2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libdiskmgt/spec/sparcv9/Makefile
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#sparcv9_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libdiskmgt/spec/versions b/usr/src/lib/libdiskmgt/spec/versions
deleted file mode 100644
index 22e0dd1104..0000000000
--- a/usr/src/lib/libdiskmgt/spec/versions
+++ /dev/null
@@ -1,39 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-sparc {
- SUNWprivate_1.1;
-}
-sparcv9 {
- SUNWprivate_1.1;
-}
-i386 {
- SUNWprivate_1.1;
-}
-amd64 {
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/libdladm/Makefile b/usr/src/lib/libdladm/Makefile
index d6a19d60d0..6fdcdf8a88 100644
--- a/usr/src/lib/libdladm/Makefile
+++ b/usr/src/lib/libdladm/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,10 +19,10 @@
# CDDL HEADER END
#
#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#pragma ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
include $(SRC)/lib/Makefile.lib
@@ -44,11 +43,7 @@ lint := TARGET = lint
.KEEP_STATE:
-all install: spec .WAIT $(SUBDIRS)
-
-clean clobber: spec $(SUBDIRS)
-
-lint: $(SUBDIRS)
+all clean clobber install lint: $(SUBDIRS)
install_h: $(ROOTHDRS)
@@ -58,7 +53,7 @@ $(POFILE): pofile_MSGFILES
_msg: $(MSGDOMAINPOFILE)
-spec $(SUBDIRS): FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
diff --git a/usr/src/lib/libdladm/Makefile.com b/usr/src/lib/libdladm/Makefile.com
index 94ed31b29b..23396f1091 100644
--- a/usr/src/lib/libdladm/Makefile.com
+++ b/usr/src/lib/libdladm/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,10 +19,10 @@
# CDDL HEADER END
#
#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#pragma ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
LIBRARY = libdladm.a
@@ -38,11 +37,9 @@ include ../../Makefile.rootfs
LIBS = $(DYNLIB) $(LINTLIB)
LDLIBS += -ldevinfo -ldlpi -lc
-$(LINTLIB) := SRCS = $(SRCDIR)/$(LINTSRC)
SRCDIR = ../common
-MAPDIR = ../spec/$(TRANSMACH)
-SPECMAPFILE = $(MAPDIR)/mapfile
+$(LINTLIB) := SRCS = $(SRCDIR)/$(LINTSRC)
CFLAGS += $(CCVERBOSE)
CPPFLAGS += -I$(SRCDIR) -D_REENTRANT
diff --git a/usr/src/lib/libdladm/common/mapfile-vers b/usr/src/lib/libdladm/common/mapfile-vers
new file mode 100644
index 0000000000..5e0f599741
--- /dev/null
+++ b/usr/src/lib/libdladm/common/mapfile-vers
@@ -0,0 +1,35 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNWprivate_1.1 {
+ global:
+ dladm_info;
+ dladm_walk;
+ dladm_walk_vlan;
+ local:
+ *;
+};
diff --git a/usr/src/lib/libdladm/spec/Makefile b/usr/src/lib/libdladm/spec/Makefile
deleted file mode 100644
index 53fbd3ad4b..0000000000
--- a/usr/src/lib/libdladm/spec/Makefile
+++ /dev/null
@@ -1,29 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/libdladm/spec/Makefile.targ b/usr/src/lib/libdladm/spec/Makefile.targ
deleted file mode 100644
index 3ba97559a4..0000000000
--- a/usr/src/lib/libdladm/spec/Makefile.targ
+++ /dev/null
@@ -1,32 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-
-LIBRARY = libdladm.a
-VERS = .1
-OBJECTS = dladm.o
-
diff --git a/usr/src/lib/libdladm/spec/amd64/Makefile b/usr/src/lib/libdladm/spec/amd64/Makefile
deleted file mode 100644
index af603444ad..0000000000
--- a/usr/src/lib/libdladm/spec/amd64/Makefile
+++ /dev/null
@@ -1,32 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-all clean clobber install lint:
- @echo "Nothing to $@ on amd64"
diff --git a/usr/src/lib/libdladm/spec/dladm.spec b/usr/src/lib/libdladm/spec/dladm.spec
deleted file mode 100644
index 6aca5746ee..0000000000
--- a/usr/src/lib/libdladm/spec/dladm.spec
+++ /dev/null
@@ -1,46 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-
-function dladm_walk
-include <libdladm.h>
-declaration int dladm_walk(void (*fn)(void *, const char *), \
- void *)
-version SUNWprivate_1.1
-end
-
-function dladm_walk_vlan
-include <libdladm.h>
-declaration int dladm_walk_vlan(void (*fn)(void *, const char *), \
- void *)
-version SUNWprivate_1.1
-end
-
-function dladm_info
-include <libdladm.h>
-declaration int dladm_info(const char *, dladm_attr_t *)
-version SUNWprivate_1.1
-end
diff --git a/usr/src/lib/libdladm/spec/i386/Makefile b/usr/src/lib/libdladm/spec/i386/Makefile
deleted file mode 100644
index 0a770cb926..0000000000
--- a/usr/src/lib/libdladm/spec/i386/Makefile
+++ /dev/null
@@ -1,35 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libdladm/spec/sparc/Makefile b/usr/src/lib/libdladm/spec/sparc/Makefile
deleted file mode 100644
index 0a770cb926..0000000000
--- a/usr/src/lib/libdladm/spec/sparc/Makefile
+++ /dev/null
@@ -1,35 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libdladm/spec/sparcv9/Makefile b/usr/src/lib/libdladm/spec/sparcv9/Makefile
deleted file mode 100644
index f1868eaa18..0000000000
--- a/usr/src/lib/libdladm/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,32 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-all clean clobber install lint:
- @echo "Nothing to $@ on sparcv9"
diff --git a/usr/src/lib/libdladm/spec/versions b/usr/src/lib/libdladm/spec/versions
deleted file mode 100644
index 60672092ef..0000000000
--- a/usr/src/lib/libdladm/spec/versions
+++ /dev/null
@@ -1,42 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-
-sparc {
- SUNWprivate_1.1;
-}
-
-sparcv9 {
- SUNWprivate_1.1;
-}
-
-i386 {
- SUNWprivate_1.1;
-}
-
-amd64 {
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/libdlpi/Makefile b/usr/src/lib/libdlpi/Makefile
index 5b0692f635..a354d4de53 100644
--- a/usr/src/lib/libdlpi/Makefile
+++ b/usr/src/lib/libdlpi/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,10 +19,10 @@
# CDDL HEADER END
#
#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#pragma ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
include $(SRC)/lib/Makefile.lib
@@ -44,11 +43,7 @@ lint := TARGET = lint
.KEEP_STATE:
-all install: spec .WAIT $(SUBDIRS)
-
-clean clobber: spec $(SUBDIRS)
-
-lint: $(SUBDIRS)
+all clean clobber install lint: $(SUBDIRS)
install_h: $(ROOTHDRS)
@@ -58,7 +53,7 @@ $(POFILE): pofile_MSGFILES
_msg: $(MSGDOMAINPOFILE)
-spec $(SUBDIRS): FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
diff --git a/usr/src/lib/libdlpi/Makefile.com b/usr/src/lib/libdlpi/Makefile.com
index 9d1fd1f72b..2ce8d412af 100644
--- a/usr/src/lib/libdlpi/Makefile.com
+++ b/usr/src/lib/libdlpi/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,10 +19,10 @@
# CDDL HEADER END
#
#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#pragma ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
LIBRARY = libdlpi.a
@@ -38,11 +37,9 @@ include ../../Makefile.rootfs
LIBS = $(DYNLIB) $(LINTLIB)
LDLIBS += -lc
-$(LINTLIB) := SRCS = $(SRCDIR)/$(LINTSRC)
SRCDIR = ../common
-MAPDIR = ../spec/$(TRANSMACH)
-SPECMAPFILE = $(MAPDIR)/mapfile
+$(LINTLIB) := SRCS = $(SRCDIR)/$(LINTSRC)
CFLAGS += $(CCVERBOSE)
CPPFLAGS += -I$(SRCDIR) -D_REENTRANT
diff --git a/usr/src/lib/libdlpi/common/mapfile-vers b/usr/src/lib/libdlpi/common/mapfile-vers
new file mode 100644
index 0000000000..8a263e2d5c
--- /dev/null
+++ b/usr/src/lib/libdlpi/common/mapfile-vers
@@ -0,0 +1,49 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNWprivate_1.1 {
+ global:
+ dlpi_attach;
+ dlpi_bind;
+ dlpi_close;
+ dlpi_detach;
+ dlpi_disabmulti;
+ dlpi_enabmulti;
+ dlpi_if_open;
+ dlpi_if_parse;
+ dlpi_info;
+ dlpi_mac_type;
+ dlpi_open;
+ dlpi_passive;
+ dlpi_phys_addr;
+ dlpi_promiscoff;
+ dlpi_promiscon;
+ dlpi_set_phys_addr;
+ dlpi_unbind;
+ local:
+ *;
+};
diff --git a/usr/src/lib/libdlpi/spec/Makefile b/usr/src/lib/libdlpi/spec/Makefile
deleted file mode 100644
index 53fbd3ad4b..0000000000
--- a/usr/src/lib/libdlpi/spec/Makefile
+++ /dev/null
@@ -1,29 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/libdlpi/spec/Makefile.targ b/usr/src/lib/libdlpi/spec/Makefile.targ
deleted file mode 100644
index 3c83dca3e6..0000000000
--- a/usr/src/lib/libdlpi/spec/Makefile.targ
+++ /dev/null
@@ -1,32 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-
-LIBRARY = libdlpi.a
-VERS = .1
-OBJECTS = dlpi.o
-
diff --git a/usr/src/lib/libdlpi/spec/amd64/Makefile b/usr/src/lib/libdlpi/spec/amd64/Makefile
deleted file mode 100644
index af603444ad..0000000000
--- a/usr/src/lib/libdlpi/spec/amd64/Makefile
+++ /dev/null
@@ -1,32 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-all clean clobber install lint:
- @echo "Nothing to $@ on amd64"
diff --git a/usr/src/lib/libdlpi/spec/dlpi.spec b/usr/src/lib/libdlpi/spec/dlpi.spec
deleted file mode 100644
index 27a44abf18..0000000000
--- a/usr/src/lib/libdlpi/spec/dlpi.spec
+++ /dev/null
@@ -1,131 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-
-function dlpi_mac_type
-include <libdlpi.h>
-declaration const char *dlpi_mac_type(uint_t)
-version SUNWprivate_1.1
-end
-
-function dlpi_open
-include <libdlpi.h>
-declaration int dlpi_open(const char *)
-version SUNWprivate_1.1
-end
-
-function dlpi_close
-include <libdlpi.h>
-declaration int dlpi_close(int)
-version SUNWprivate_1.1
-end
-
-function dlpi_info
-include <libdlpi.h>
-declaration int dlpi_info(int, int, dl_info_ack_t *, \
- union DL_qos_types *, union DL_qos_types *, \
- uint8_t *, size_t *, uint8_t *, size_t *)
-version SUNWprivate_1.1
-end
-
-function dlpi_attach
-include <libdlpi.h>
-declaration int dlpi_attach(int, int, uint_t)
-version SUNWprivate_1.1
-end
-
-function dlpi_detach
-include <libdlpi.h>
-declaration int dlpi_detach(int, int)
-version SUNWprivate_1.1
-end
-
-function dlpi_bind
-include <libdlpi.h>
-declaration int dlpi_bind(int, int, uint_t, uint16_t, boolean_t, \
- uint32_t *, uint32_t *, uint8_t *, size_t *)
-version SUNWprivate_1.1
-end
-
-function dlpi_unbind
-include <libdlpi.h>
-declaration int dlpi_unbind(int, int)
-version SUNWprivate_1.1
-end
-
-function dlpi_enabmulti
-include <libdlpi.h>
-declaration int dlpi_enabmulti(int, int, uint8_t *, size_t)
-version SUNWprivate_1.1
-end
-
-function dlpi_disabmulti
-include <libdlpi.h>
-declaration int dlpi_disabmulti(int, int, uint8_t *, size_t)
-version SUNWprivate_1.1
-end
-
-function dlpi_promiscon
-include <libdlpi.h>
-declaration int dlpi_promiscon(int, int, uint_t)
-version SUNWprivate_1.1
-end
-
-function dlpi_promiscoff
-include <libdlpi.h>
-declaration int dlpi_promiscoff(int, int, uint_t)
-version SUNWprivate_1.1
-end
-
-function dlpi_phys_addr
-include <libdlpi.h>
-declaration int dlpi_phys_addr(int, int, uint_t, uint8_t *, size_t *)
-version SUNWprivate_1.1
-end
-
-function dlpi_set_phys_addr
-include <libdlpi.h>
-declaration int dlpi_set_phys_addr(int, int, uint8_t *, size_t)
-version SUNWprivate_1.1
-end
-
-function dlpi_passive
-include <libdlpi.h>
-declaration void dlpi_passive(int, int)
-version SUNWprivate_1.1
-end
-
-function dlpi_if_open
-include <libdlpi.h>
-declaration int dlpi_if_open(const char *, dlpi_if_attr_t *, boolean_t)
-version SUNWprivate_1.1
-end
-
-function dlpi_if_parse
-include <libdlpi.h>
-declaration int dlpi_if_parse(const char *, char *, int *)
-version SUNWprivate_1.1
-end
diff --git a/usr/src/lib/libdlpi/spec/i386/Makefile b/usr/src/lib/libdlpi/spec/i386/Makefile
deleted file mode 100644
index 0a770cb926..0000000000
--- a/usr/src/lib/libdlpi/spec/i386/Makefile
+++ /dev/null
@@ -1,35 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libdlpi/spec/sparc/Makefile b/usr/src/lib/libdlpi/spec/sparc/Makefile
deleted file mode 100644
index 0a770cb926..0000000000
--- a/usr/src/lib/libdlpi/spec/sparc/Makefile
+++ /dev/null
@@ -1,35 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libdlpi/spec/sparcv9/Makefile b/usr/src/lib/libdlpi/spec/sparcv9/Makefile
deleted file mode 100644
index f1868eaa18..0000000000
--- a/usr/src/lib/libdlpi/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,32 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-all clean clobber install lint:
- @echo "Nothing to $@ on sparcv9"
diff --git a/usr/src/lib/libdlpi/spec/versions b/usr/src/lib/libdlpi/spec/versions
deleted file mode 100644
index 60672092ef..0000000000
--- a/usr/src/lib/libdlpi/spec/versions
+++ /dev/null
@@ -1,42 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-
-sparc {
- SUNWprivate_1.1;
-}
-
-sparcv9 {
- SUNWprivate_1.1;
-}
-
-i386 {
- SUNWprivate_1.1;
-}
-
-amd64 {
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/libdoor/Makefile.com b/usr/src/lib/libdoor/Makefile.com
index 7c5437f4e9..afd16152e0 100644
--- a/usr/src/lib/libdoor/Makefile.com
+++ b/usr/src/lib/libdoor/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,7 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
@@ -32,10 +31,9 @@ VERS = .1
include ../../Makefile.lib
include ../../Makefile.rootfs
-MAPFILES= ../common/mapfile-vers $(MAPFILE-FLTR)
-MAPOPTS= $(MAPFILES:%=-M %)
+MAPFILES += $(MAPFILE-FLTR)
-DYNFLAGS += -F libc.so.1 $(MAPOPTS)
+DYNFLAGS += -F libc.so.1
LIBS = $(DYNLIB) $(LINTLIB)
@@ -57,5 +55,3 @@ include ../../Makefile.targ
all: $(LIBS)
lint:
-
-$(DYNLIB): $(MAPFILES)
diff --git a/usr/src/lib/libdoor/amd64/Makefile b/usr/src/lib/libdoor/amd64/Makefile
index 10a1eda530..3caee6ff32 100644
--- a/usr/src/lib/libdoor/amd64/Makefile
+++ b/usr/src/lib/libdoor/amd64/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,13 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-MAPDIR= ../spec/amd64
include ../Makefile.com
include ../../Makefile.lib.64
diff --git a/usr/src/lib/libdoor/i386/Makefile b/usr/src/lib/libdoor/i386/Makefile
index be20c8e521..2a944b0b43 100644
--- a/usr/src/lib/libdoor/i386/Makefile
+++ b/usr/src/lib/libdoor/i386/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libdoor/i386/Makefile
-MAPDIR= ../spec/i386
include ../Makefile.com
.KEEP_STATE:
diff --git a/usr/src/lib/libdoor/sparc/Makefile b/usr/src/lib/libdoor/sparc/Makefile
index 3c61c0da3e..2a944b0b43 100644
--- a/usr/src/lib/libdoor/sparc/Makefile
+++ b/usr/src/lib/libdoor/sparc/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libdoor/sparc/Makefile
-MAPDIR= ../spec/sparc
include ../Makefile.com
.KEEP_STATE:
diff --git a/usr/src/lib/libdoor/sparcv9/Makefile b/usr/src/lib/libdoor/sparcv9/Makefile
index adf6597578..3caee6ff32 100644
--- a/usr/src/lib/libdoor/sparcv9/Makefile
+++ b/usr/src/lib/libdoor/sparcv9/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,13 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-MAPDIR= ../spec/sparcv9
include ../Makefile.com
include ../../Makefile.lib.64
diff --git a/usr/src/lib/libdscp/Makefile b/usr/src/lib/libdscp/Makefile
index 8eff9de752..ed1d5b934e 100644
--- a/usr/src/lib/libdscp/Makefile
+++ b/usr/src/lib/libdscp/Makefile
@@ -22,14 +22,12 @@
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# lib/libdscp/Makefile
-#
-#ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
include ../Makefile.lib
-SUBDIRS= spec .WAIT sparc svc
+SUBDIRS= sparc svc
all := TARGET= all
install := TARGET= install
@@ -56,7 +54,7 @@ install_h: $(ROOTHDRS)
check: $(CHECKHDRS)
-spec sparc svc: FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
diff --git a/usr/src/lib/libdscp/Makefile.com b/usr/src/lib/libdscp/Makefile.com
index 5c9e76421c..ad61d43a21 100644
--- a/usr/src/lib/libdscp/Makefile.com
+++ b/usr/src/lib/libdscp/Makefile.com
@@ -22,9 +22,7 @@
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# lib/libdscp/Makefile.com
-#
-#ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
LIBRARY= libdscp.a
@@ -39,10 +37,6 @@ LIBS = $(DYNLIB) $(LINTLIB)
LDLIBS += -lc -lsocket -lnsl
$(LINTLIB) := SRCS = $(SRCDIR)/$(LINTSRC)
-SRCDIR = ..
-MAPDIR = ../spec/$(TRANSMACH)
-SPECMAPFILE = $(MAPDIR)/mapfile
-
CPPFLAGS += -I..
CFLAGS += $(CCVERBOSE)
diff --git a/usr/src/lib/libdscp/mapfile-vers b/usr/src/lib/libdscp/mapfile-vers
new file mode 100644
index 0000000000..bcf26421c6
--- /dev/null
+++ b/usr/src/lib/libdscp/mapfile-vers
@@ -0,0 +1,37 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNWprivate_1.1 {
+ global:
+ dscpAddr;
+ dscpAuth;
+ dscpBind;
+ dscpIdent;
+ dscpSecure;
+ local:
+ *;
+};
diff --git a/usr/src/lib/libdscp/sparc/Makefile b/usr/src/lib/libdscp/sparc/Makefile
index 22bf606d7a..182e6180d4 100644
--- a/usr/src/lib/libdscp/sparc/Makefile
+++ b/usr/src/lib/libdscp/sparc/Makefile
@@ -22,12 +22,9 @@
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# lib/libdscp/sparc/Makefile
-#
-#ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
-MAPDIR= ../spec/sparc
include ../Makefile.com
all: $(LIBS)
diff --git a/usr/src/lib/libdscp/spec/Makefile b/usr/src/lib/libdscp/spec/Makefile
deleted file mode 100644
index 048c9a5306..0000000000
--- a/usr/src/lib/libdscp/spec/Makefile
+++ /dev/null
@@ -1,61 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# lib/libdscp/spec/Makefile
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-
-SUBDIRS= sparc
-
-all := TARGET= all
-install := TARGET= install
-clean := TARGET= clean
-clobber := TARGET= clobber
-lint := TARGET= lint
-
-.KEEP_STATE:
-
-all install clean clobber: ${SUBDIRS}
-
-${SUBDIRS}: FRC
- @cd $@; pwd; ${MAKE} ${TARGET}
-
-#
-# This will make sure that any target not
-# explicitly defined will not break the build.
-#
-# XXX pmake on intel does not like the following rules
-# %: ignore_and_exit_quietly
-# ignore_and_exit_quietly:
-#
-# So here it is manually
-#
-IGNORE= _msg catalog install_h delete \
- package tcov debug private_t \
- check analyze test dynamic lint
-
-${IGNORE}:
-
-FRC:
diff --git a/usr/src/lib/libdscp/spec/Makefile.targ b/usr/src/lib/libdscp/spec/Makefile.targ
deleted file mode 100644
index c9f02d8818..0000000000
--- a/usr/src/lib/libdscp/spec/Makefile.targ
+++ /dev/null
@@ -1,35 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# lib/libdscp/spec/Makefile.targ
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-
-LIBRARY = libdscp.a
-VERS = .1
-
-OBJECTS = libdscp.o
-
-SPECCPP = -I../..
diff --git a/usr/src/lib/libdscp/spec/libdscp.spec b/usr/src/lib/libdscp/spec/libdscp.spec
deleted file mode 100644
index 91cdd7c540..0000000000
--- a/usr/src/lib/libdscp/spec/libdscp.spec
+++ /dev/null
@@ -1,56 +0,0 @@
-#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# lib/libdscp/spec/libdscp.spec
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-function dscpBind
-include <libdscp.h>
-declaration int dscpBind(int, int, int)
-version SUNWprivate_1.1
-end
-
-function dscpSecure
-include <libdscp.h>
-declaration int dscpSecure(int, int)
-version SUNWprivate_1.1
-end
-
-function dscpAuth
-include <libdscp.h>
-declaration int dscpAuth(int, struct sockaddr *, int)
-version SUNWprivate_1.1
-end
-
-function dscpAddr
-include <libdscp.h>
-declaration int dscpAddr(int, int, struct sockaddr *, int *)
-version SUNWprivate_1.1
-end
-
-function dscpIdent
-include <libdscp.h>
-declaration int dscpIdent(struct sockaddr *, int, int *)
-version SUNWprivate_1.1
-end
diff --git a/usr/src/lib/libdscp/spec/sparc/Makefile b/usr/src/lib/libdscp/spec/sparc/Makefile
deleted file mode 100644
index 79205aad21..0000000000
--- a/usr/src/lib/libdscp/spec/sparc/Makefile
+++ /dev/null
@@ -1,38 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# lib/libdscp/spec/sparc/Makefile
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-include $(SRC)/lib/Makefile.lib
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libdscp/spec/versions b/usr/src/lib/libdscp/spec/versions
deleted file mode 100644
index bbebe2a784..0000000000
--- a/usr/src/lib/libdscp/spec/versions
+++ /dev/null
@@ -1,31 +0,0 @@
-#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# usr/src/lib/libdscp/spec/versions
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-
-sparc {
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/libdtrace/Makefile b/usr/src/lib/libdtrace/Makefile
index c3113a4610..7aa994108e 100644
--- a/usr/src/lib/libdtrace/Makefile
+++ b/usr/src/lib/libdtrace/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,10 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
+#
include ../Makefile.lib
@@ -42,11 +42,9 @@ yydebug := TARGET = yydebug
.KEEP_STATE:
-all clean clobber: spec .WAIT $(SUBDIRS)
-
-install: install_h spec .WAIT $(SUBDIRS)
+all clean clobber lint yydebug: $(SUBDIRS)
-lint yydebug: $(SUBDIRS)
+install: install_h $(SUBDIRS)
$(ROOTHDRS) := GROUP = bin
@@ -54,7 +52,7 @@ install_h: $(ROOTHDRS)
check: $(CHECKHDRS)
-spec $(SUBDIRS): FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
diff --git a/usr/src/lib/libdtrace/Makefile.com b/usr/src/lib/libdtrace/Makefile.com
index c8db3eaec8..976df5437d 100644
--- a/usr/src/lib/libdtrace/Makefile.com
+++ b/usr/src/lib/libdtrace/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,10 +19,10 @@
# CDDL HEADER END
#
#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
LIBRARY = libdtrace.a
@@ -89,7 +88,6 @@ SRCS = $(LIBSRCS:%.c=../common/%.c) $(LIBISASRCS:%.c=../$(MACH)/%.c)
LIBS = $(DYNLIB) $(LINTLIB)
SRCDIR = ../common
-SPECMAPFILE = $(MAPDIR)/mapfile
CLEANFILES += dt_lex.c dt_grammar.c dt_grammar.h y.output
CLEANFILES += ../common/procfs.sed ../common/procfs.d
diff --git a/usr/src/lib/libdtrace/amd64/Makefile b/usr/src/lib/libdtrace/amd64/Makefile
index 3805f674b5..e9cdd5bdda 100644
--- a/usr/src/lib/libdtrace/amd64/Makefile
+++ b/usr/src/lib/libdtrace/amd64/Makefile
@@ -27,7 +27,6 @@
ASFLAGS += $(AS_PICFLAGS) -P -D_ASM
-MAPDIR = ../spec/amd64
MACHOBJS = dis_tables.o
include ../Makefile.com
diff --git a/usr/src/lib/libdtrace/common/mapfile-vers b/usr/src/lib/libdtrace/common/mapfile-vers
new file mode 100644
index 0000000000..caa2ffd495
--- /dev/null
+++ b/usr/src/lib/libdtrace/common/mapfile-vers
@@ -0,0 +1,114 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNWprivate_1.1 {
+ global:
+ dtrace_addr2str;
+ dtrace_aggregate_clear;
+ dtrace_aggregate_print;
+ dtrace_aggregate_snap;
+ dtrace_aggregate_walk;
+ dtrace_aggregate_walk_joined;
+ dtrace_aggregate_walk_keyrevsorted;
+ dtrace_aggregate_walk_keysorted;
+ dtrace_aggregate_walk_keyvarrevsorted;
+ dtrace_aggregate_walk_keyvarsorted;
+ dtrace_aggregate_walk_valrevsorted;
+ dtrace_aggregate_walk_valsorted;
+ dtrace_aggregate_walk_valvarrevsorted;
+ dtrace_aggregate_walk_valvarsorted;
+ dtrace_attr2str;
+ dtrace_class_name;
+ dtrace_close;
+ dtrace_consume;
+ dtrace_ctlfd;
+ _dtrace_debug;
+ dtrace_desc2str;
+ dtrace_dof_create;
+ dtrace_dof_destroy;
+ dtrace_errmsg;
+ dtrace_errno;
+ dtrace_faultstr;
+ dtrace_fprinta;
+ dtrace_fprintf;
+ dtrace_geterr_dof;
+ dtrace_getopt;
+ dtrace_getopt_dof;
+ dtrace_go;
+ dtrace_handle_buffered;
+ dtrace_handle_drop;
+ dtrace_handle_err;
+ dtrace_handle_proc;
+ dtrace_handle_setopt;
+ dtrace_id2desc;
+ dtrace_lookup_by_addr;
+ dtrace_lookup_by_name;
+ dtrace_lookup_by_type;
+ dtrace_object_info;
+ dtrace_object_iter;
+ dtrace_open;
+ dtrace_printa_create;
+ dtrace_printf_create;
+ dtrace_printf_format;
+ dtrace_probe_info;
+ dtrace_probe_iter;
+ dtrace_proc_continue;
+ dtrace_proc_create;
+ dtrace_proc_grab;
+ dtrace_proc_release;
+ dtrace_program_exec;
+ dtrace_program_fcompile;
+ dtrace_program_header;
+ dtrace_program_info;
+ dtrace_program_link;
+ dtrace_program_strcompile;
+ dtrace_provider_modules;
+ dtrace_setopt;
+ dtrace_sleep;
+ dtrace_stability_name;
+ dtrace_status;
+ dtrace_stmt_action;
+ dtrace_stmt_add;
+ dtrace_stmt_create;
+ dtrace_stmt_destroy;
+ dtrace_stmt_iter;
+ dtrace_stop;
+ dtrace_str2attr;
+ dtrace_str2desc;
+ dtrace_subrstr;
+ dtrace_symbol_type;
+ dtrace_type_fcompile;
+ dtrace_type_strcompile;
+ dtrace_uaddr2str;
+ dtrace_update;
+ _dtrace_version;
+ dtrace_vopen;
+ dtrace_work;
+ dtrace_xstr2desc;
+ local:
+ *;
+};
diff --git a/usr/src/lib/libdtrace/i386/Makefile b/usr/src/lib/libdtrace/i386/Makefile
index 7f0a5f1bcf..6c479392f9 100644
--- a/usr/src/lib/libdtrace/i386/Makefile
+++ b/usr/src/lib/libdtrace/i386/Makefile
@@ -22,11 +22,11 @@
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
+#
ASFLAGS += $(AS_PICFLAGS) -P -D_ASM
-MAPDIR = ../spec/i386
MACHOBJS = dis_tables.o
DLIBSRCS = regs.d
diff --git a/usr/src/lib/libdtrace/sparc/Makefile b/usr/src/lib/libdtrace/sparc/Makefile
index 7b0e768522..99c63ef951 100644
--- a/usr/src/lib/libdtrace/sparc/Makefile
+++ b/usr/src/lib/libdtrace/sparc/Makefile
@@ -22,11 +22,11 @@
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
+#
ASFLAGS += -D_ASM -K PIC -P
-MAPDIR = ../spec/sparc
include ../Makefile.com
install yydebug: all $(ROOTLIBS) $(ROOTLINKS) $(ROOTLINT) \
diff --git a/usr/src/lib/libdtrace/sparcv9/Makefile b/usr/src/lib/libdtrace/sparcv9/Makefile
index 1db72d9e67..0e3892db51 100644
--- a/usr/src/lib/libdtrace/sparcv9/Makefile
+++ b/usr/src/lib/libdtrace/sparcv9/Makefile
@@ -22,11 +22,11 @@
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
+#
ASFLAGS += -D_ASM -K PIC -P
-MAPDIR = ../spec/sparcv9
include ../Makefile.com
include ../../Makefile.lib.64
diff --git a/usr/src/lib/libdtrace/spec/Makefile b/usr/src/lib/libdtrace/spec/Makefile
deleted file mode 100644
index 76070e312f..0000000000
--- a/usr/src/lib/libdtrace/spec/Makefile
+++ /dev/null
@@ -1,28 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/libdtrace/spec/Makefile.targ b/usr/src/lib/libdtrace/spec/Makefile.targ
deleted file mode 100644
index 1940a23e95..0000000000
--- a/usr/src/lib/libdtrace/spec/Makefile.targ
+++ /dev/null
@@ -1,32 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-.KEEP_STATE:
-
-LIBRARY = libdtrace.a
-VERS = .1
-OBJECTS = dtrace.o
diff --git a/usr/src/lib/libdtrace/spec/amd64/Makefile b/usr/src/lib/libdtrace/spec/amd64/Makefile
deleted file mode 100644
index 026853df1b..0000000000
--- a/usr/src/lib/libdtrace/spec/amd64/Makefile
+++ /dev/null
@@ -1,37 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libdtrace/spec/dtrace.spec b/usr/src/lib/libdtrace/spec/dtrace.spec
deleted file mode 100644
index 86fe4ec44c..0000000000
--- a/usr/src/lib/libdtrace/spec/dtrace.spec
+++ /dev/null
@@ -1,352 +0,0 @@
-#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-data _dtrace_debug
-version SUNWprivate_1.1
-end
-
-data _dtrace_version
-version SUNWprivate_1.1
-end
-
-function dtrace_addr2str
-version SUNWprivate_1.1
-end
-
-function dtrace_aggregate_clear
-version SUNWprivate_1.1
-end
-
-function dtrace_aggregate_print
-version SUNWprivate_1.1
-end
-
-function dtrace_aggregate_snap
-version SUNWprivate_1.1
-end
-
-function dtrace_aggregate_walk
-version SUNWprivate_1.1
-end
-
-function dtrace_aggregate_walk_joined
-version SUNWprivate_1.1
-end
-
-function dtrace_aggregate_walk_keysorted
-version SUNWprivate_1.1
-end
-
-function dtrace_aggregate_walk_keyrevsorted
-version SUNWprivate_1.1
-end
-
-function dtrace_aggregate_walk_keyvarrevsorted
-version SUNWprivate_1.1
-end
-
-function dtrace_aggregate_walk_keyvarsorted
-version SUNWprivate_1.1
-end
-
-function dtrace_aggregate_walk_valsorted
-version SUNWprivate_1.1
-end
-
-function dtrace_aggregate_walk_valrevsorted
-version SUNWprivate_1.1
-end
-
-function dtrace_aggregate_walk_valvarrevsorted
-version SUNWprivate_1.1
-end
-
-function dtrace_aggregate_walk_valvarsorted
-version SUNWprivate_1.1
-end
-
-function dtrace_attr2str
-version SUNWprivate_1.1
-end
-
-function dtrace_class_name
-version SUNWprivate_1.1
-end
-
-function dtrace_close
-version SUNWprivate_1.1
-end
-
-function dtrace_consume
-version SUNWprivate_1.1
-end
-
-function dtrace_ctlfd
-version SUNWprivate_1.1
-end
-
-function dtrace_desc2str
-version SUNWprivate_1.1
-end
-
-function dtrace_dof_create
-version SUNWprivate_1.1
-end
-
-function dtrace_dof_destroy
-version SUNWprivate_1.1
-end
-
-function dtrace_errmsg
-version SUNWprivate_1.1
-end
-
-function dtrace_errno
-version SUNWprivate_1.1
-end
-
-function dtrace_faultstr
-version SUNWprivate_1.1
-end
-
-function dtrace_fprinta
-version SUNWprivate_1.1
-end
-
-function dtrace_fprintf
-version SUNWprivate_1.1
-end
-
-function dtrace_geterr_dof
-version SUNWprivate_1.1
-end
-
-function dtrace_getopt
-version SUNWprivate_1.1
-end
-
-function dtrace_getopt_dof
-version SUNWprivate_1.1
-end
-
-function dtrace_go
-version SUNWprivate_1.1
-end
-
-function dtrace_handle_buffered
-version SUNWprivate_1.1
-end
-
-function dtrace_handle_drop
-version SUNWprivate_1.1
-end
-
-function dtrace_handle_err
-version SUNWprivate_1.1
-end
-
-function dtrace_handle_proc
-version SUNWprivate_1.1
-end
-
-function dtrace_handle_setopt
-version SUNWprivate_1.1
-end
-
-function dtrace_id2desc
-version SUNWprivate_1.1
-end
-
-function dtrace_lookup_by_addr
-version SUNWprivate_1.1
-end
-
-function dtrace_lookup_by_name
-version SUNWprivate_1.1
-end
-
-function dtrace_lookup_by_type
-version SUNWprivate_1.1
-end
-
-function dtrace_object_info
-version SUNWprivate_1.1
-end
-
-function dtrace_object_iter
-version SUNWprivate_1.1
-end
-
-function dtrace_open
-version SUNWprivate_1.1
-end
-
-function dtrace_printa_create
-version SUNWprivate_1.1
-end
-
-function dtrace_printf_create
-version SUNWprivate_1.1
-end
-
-function dtrace_printf_format
-version SUNWprivate_1.1
-end
-
-function dtrace_probe_info
-version SUNWprivate_1.1
-end
-
-function dtrace_probe_iter
-version SUNWprivate_1.1
-end
-
-function dtrace_proc_continue
-version SUNWprivate_1.1
-end
-
-function dtrace_proc_create
-version SUNWprivate_1.1
-end
-
-function dtrace_proc_grab
-version SUNWprivate_1.1
-end
-
-function dtrace_proc_release
-version SUNWprivate_1.1
-end
-
-function dtrace_program_exec
-version SUNWprivate_1.1
-end
-
-function dtrace_program_header
-version SUNWprivate_1.1
-end
-
-function dtrace_program_info
-version SUNWprivate_1.1
-end
-
-function dtrace_program_link
-version SUNWprivate_1.1
-end
-
-function dtrace_program_fcompile
-version SUNWprivate_1.1
-end
-
-function dtrace_program_strcompile
-version SUNWprivate_1.1
-end
-
-function dtrace_provider_modules
-version SUNWprivate_1.1
-end
-
-function dtrace_setopt
-version SUNWprivate_1.1
-end
-
-function dtrace_sleep
-version SUNWprivate_1.1
-end
-
-function dtrace_stability_name
-version SUNWprivate_1.1
-end
-
-function dtrace_status
-version SUNWprivate_1.1
-end
-
-function dtrace_stmt_create
-version SUNWprivate_1.1
-end
-
-function dtrace_stmt_action
-version SUNWprivate_1.1
-end
-
-function dtrace_stmt_add
-version SUNWprivate_1.1
-end
-
-function dtrace_stmt_destroy
-version SUNWprivate_1.1
-end
-
-function dtrace_stmt_iter
-version SUNWprivate_1.1
-end
-
-function dtrace_str2desc
-version SUNWprivate_1.1
-end
-
-function dtrace_stop
-version SUNWprivate_1.1
-end
-
-function dtrace_str2attr
-version SUNWprivate_1.1
-end
-
-function dtrace_subrstr
-version SUNWprivate_1.1
-end
-
-function dtrace_symbol_type
-version SUNWprivate_1.1
-end
-
-function dtrace_type_strcompile
-version SUNWprivate_1.1
-end
-
-function dtrace_type_fcompile
-version SUNWprivate_1.1
-end
-
-function dtrace_uaddr2str
-version SUNWprivate_1.1
-end
-
-function dtrace_update
-version SUNWprivate_1.1
-end
-
-function dtrace_vopen
-version SUNWprivate_1.1
-end
-
-function dtrace_work
-version SUNWprivate_1.1
-end
-
-function dtrace_xstr2desc
-version SUNWprivate_1.1
-end
diff --git a/usr/src/lib/libdtrace/spec/i386/Makefile b/usr/src/lib/libdtrace/spec/i386/Makefile
deleted file mode 100644
index d7c2a7cf3a..0000000000
--- a/usr/src/lib/libdtrace/spec/i386/Makefile
+++ /dev/null
@@ -1,35 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB)
diff --git a/usr/src/lib/libdtrace/spec/sparc/Makefile b/usr/src/lib/libdtrace/spec/sparc/Makefile
deleted file mode 100644
index 5b93400cf8..0000000000
--- a/usr/src/lib/libdtrace/spec/sparc/Makefile
+++ /dev/null
@@ -1,35 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB)
diff --git a/usr/src/lib/libdtrace/spec/sparcv9/Makefile b/usr/src/lib/libdtrace/spec/sparcv9/Makefile
deleted file mode 100644
index 23f39e0922..0000000000
--- a/usr/src/lib/libdtrace/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libdtrace/spec/versions b/usr/src/lib/libdtrace/spec/versions
deleted file mode 100644
index 3fc6f92d2d..0000000000
--- a/usr/src/lib/libdtrace/spec/versions
+++ /dev/null
@@ -1,42 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-sparc {
- SUNWprivate_1.1;
-}
-
-sparcv9 {
- SUNWprivate_1.1;
-}
-
-i386 {
- SUNWprivate_1.1;
-}
-
-amd64 {
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/libdtrace_jni/Makefile b/usr/src/lib/libdtrace_jni/Makefile
index d0d83dce97..4287dc1a01 100644
--- a/usr/src/lib/libdtrace_jni/Makefile
+++ b/usr/src/lib/libdtrace_jni/Makefile
@@ -18,7 +18,6 @@
#
# CDDL HEADER END
#
-
#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
@@ -39,9 +38,7 @@ lint := TARGET = lint
.KEEP_STATE:
-all clean clobber: java spec .WAIT $(SUBDIRS)
-
-install: java spec .WAIT $(SUBDIRS)
+all clean clobber install: java .WAIT $(SUBDIRS)
lint: $(SUBDIRS)
@@ -49,7 +46,7 @@ install_h:
check: $(CHECKHDRS)
-java spec $(SUBDIRS): FRC
+java $(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
doc:
diff --git a/usr/src/lib/libdtrace_jni/Makefile.com b/usr/src/lib/libdtrace_jni/Makefile.com
index e91ebe7a93..6d2aad2d0c 100644
--- a/usr/src/lib/libdtrace_jni/Makefile.com
+++ b/usr/src/lib/libdtrace_jni/Makefile.com
@@ -18,7 +18,6 @@
#
# CDDL HEADER END
#
-
#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
@@ -45,7 +44,6 @@ include ../../Makefile.lib
SRCS = $(LIBSRCS:%.c=../common/%.c)
SRCDIR = ../common
-SPECMAPFILE = $(MAPDIR)/mapfile
CPPFLAGS += -I../common -I.
CPPFLAGS += -I$(JAVA_ROOT)/include -I$(JAVA_ROOT)/include/solaris
diff --git a/usr/src/lib/libdtrace_jni/amd64/Makefile b/usr/src/lib/libdtrace_jni/amd64/Makefile
index 6755e8b390..c9bd26cfd3 100644
--- a/usr/src/lib/libdtrace_jni/amd64/Makefile
+++ b/usr/src/lib/libdtrace_jni/amd64/Makefile
@@ -18,7 +18,6 @@
#
# CDDL HEADER END
#
-
#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
@@ -26,8 +25,6 @@
# ident "%Z%%M% %I% %E% SMI"
#
-MAPDIR = ../spec/amd64
-
include ../Makefile.com
include ../../Makefile.lib.64
diff --git a/usr/src/lib/libdtrace_jni/common/mapfile-vers b/usr/src/lib/libdtrace_jni/common/mapfile-vers
new file mode 100644
index 0000000000..b001e1aae4
--- /dev/null
+++ b/usr/src/lib/libdtrace_jni/common/mapfile-vers
@@ -0,0 +1,64 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNWprivate_1.1 {
+ global:
+ Java_org_opensolaris_os_dtrace_LocalConsumer__1checkProgramEnabling;
+ Java_org_opensolaris_os_dtrace_LocalConsumer__1checkVersion;
+ Java_org_opensolaris_os_dtrace_LocalConsumer__1close;
+ Java_org_opensolaris_os_dtrace_LocalConsumer__1compileFile;
+ Java_org_opensolaris_os_dtrace_LocalConsumer__1compileString;
+ Java_org_opensolaris_os_dtrace_LocalConsumer__1consume;
+ Java_org_opensolaris_os_dtrace_LocalConsumer__1createProcess;
+ Java_org_opensolaris_os_dtrace_LocalConsumer__1destroy;
+ Java_org_opensolaris_os_dtrace_LocalConsumer__1exec;
+ Java_org_opensolaris_os_dtrace_LocalConsumer__1getAggregate;
+ Java_org_opensolaris_os_dtrace_LocalConsumer__1getExecutableName;
+ Java_org_opensolaris_os_dtrace_LocalConsumer__1getOption;
+ Java_org_opensolaris_os_dtrace_LocalConsumer__1getProgramInfo;
+ Java_org_opensolaris_os_dtrace_LocalConsumer__1getVersion;
+ Java_org_opensolaris_os_dtrace_LocalConsumer__1go;
+ Java_org_opensolaris_os_dtrace_LocalConsumer__1grabProcess;
+ Java_org_opensolaris_os_dtrace_LocalConsumer__1interrupt;
+ Java_org_opensolaris_os_dtrace_LocalConsumer__1isEnabled;
+ Java_org_opensolaris_os_dtrace_LocalConsumer__1listCompiledProbeDetail;
+ Java_org_opensolaris_os_dtrace_LocalConsumer__1listCompiledProbes;
+ Java_org_opensolaris_os_dtrace_LocalConsumer__1listProbeDetail;
+ Java_org_opensolaris_os_dtrace_LocalConsumer__1listProbes;
+ Java_org_opensolaris_os_dtrace_LocalConsumer__1loadJniTable;
+ Java_org_opensolaris_os_dtrace_LocalConsumer__1lookupKernelFunction;
+ Java_org_opensolaris_os_dtrace_LocalConsumer__1lookupUserFunction;
+ Java_org_opensolaris_os_dtrace_LocalConsumer__1open;
+ Java_org_opensolaris_os_dtrace_LocalConsumer__1openCount;
+ Java_org_opensolaris_os_dtrace_LocalConsumer__1quantizeBucket;
+ Java_org_opensolaris_os_dtrace_LocalConsumer__1setDebug;
+ Java_org_opensolaris_os_dtrace_LocalConsumer__1setMaximumConsumers;
+ Java_org_opensolaris_os_dtrace_LocalConsumer__1setOption;
+ Java_org_opensolaris_os_dtrace_LocalConsumer__1stop;
+ local:
+ *;
+};
diff --git a/usr/src/lib/libdtrace_jni/i386/Makefile b/usr/src/lib/libdtrace_jni/i386/Makefile
index 5f95ecb5e8..a333224278 100644
--- a/usr/src/lib/libdtrace_jni/i386/Makefile
+++ b/usr/src/lib/libdtrace_jni/i386/Makefile
@@ -18,7 +18,6 @@
#
# CDDL HEADER END
#
-
#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
@@ -26,8 +25,6 @@
# ident "%Z%%M% %I% %E% SMI"
#
-MAPDIR = ../spec/i386
-
include ../Makefile.com
install: all $(ROOTLIBS) $(ROOTLINKS) $(ROOTLINT)
diff --git a/usr/src/lib/libdtrace_jni/sparc/Makefile b/usr/src/lib/libdtrace_jni/sparc/Makefile
index 758b71741f..a333224278 100644
--- a/usr/src/lib/libdtrace_jni/sparc/Makefile
+++ b/usr/src/lib/libdtrace_jni/sparc/Makefile
@@ -18,7 +18,6 @@
#
# CDDL HEADER END
#
-
#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
@@ -26,8 +25,6 @@
# ident "%Z%%M% %I% %E% SMI"
#
-MAPDIR = ../spec/sparc
-
include ../Makefile.com
install: all $(ROOTLIBS) $(ROOTLINKS) $(ROOTLINT)
diff --git a/usr/src/lib/libdtrace_jni/sparcv9/Makefile b/usr/src/lib/libdtrace_jni/sparcv9/Makefile
index 59d59c4abc..c9bd26cfd3 100644
--- a/usr/src/lib/libdtrace_jni/sparcv9/Makefile
+++ b/usr/src/lib/libdtrace_jni/sparcv9/Makefile
@@ -18,7 +18,6 @@
#
# CDDL HEADER END
#
-
#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
@@ -26,8 +25,6 @@
# ident "%Z%%M% %I% %E% SMI"
#
-MAPDIR = ../spec/sparcv9
-
include ../Makefile.com
include ../../Makefile.lib.64
diff --git a/usr/src/lib/libdtrace_jni/spec/amd64/Makefile b/usr/src/lib/libdtrace_jni/spec/amd64/Makefile
deleted file mode 100644
index aced5376d3..0000000000
--- a/usr/src/lib/libdtrace_jni/spec/amd64/Makefile
+++ /dev/null
@@ -1,37 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-
-#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libdtrace_jni/spec/dtrace_jni.spec b/usr/src/lib/libdtrace_jni/spec/dtrace_jni.spec
deleted file mode 100644
index ac34d71659..0000000000
--- a/usr/src/lib/libdtrace_jni/spec/dtrace_jni.spec
+++ /dev/null
@@ -1,155 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-
-#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-function Java_org_opensolaris_os_dtrace_LocalConsumer__1checkVersion
-version SUNWprivate_1.1
-end
-
-function Java_org_opensolaris_os_dtrace_LocalConsumer__1loadJniTable
-version SUNWprivate_1.1
-end
-
-function Java_org_opensolaris_os_dtrace_LocalConsumer__1open
-version SUNWprivate_1.1
-end
-
-function Java_org_opensolaris_os_dtrace_LocalConsumer__1compileString
-version SUNWprivate_1.1
-end
-
-function Java_org_opensolaris_os_dtrace_LocalConsumer__1compileFile
-version SUNWprivate_1.1
-end
-
-function Java_org_opensolaris_os_dtrace_LocalConsumer__1exec
-version SUNWprivate_1.1
-end
-
-function Java_org_opensolaris_os_dtrace_LocalConsumer__1getProgramInfo
-version SUNWprivate_1.1
-end
-
-function Java_org_opensolaris_os_dtrace_LocalConsumer__1setOption
-version SUNWprivate_1.1
-end
-
-function Java_org_opensolaris_os_dtrace_LocalConsumer__1getOption
-version SUNWprivate_1.1
-end
-
-function Java_org_opensolaris_os_dtrace_LocalConsumer__1checkProgramEnabling
-version SUNWprivate_1.1
-end
-
-function Java_org_opensolaris_os_dtrace_LocalConsumer__1isEnabled
-version SUNWprivate_1.1
-end
-
-function Java_org_opensolaris_os_dtrace_LocalConsumer__1go
-version SUNWprivate_1.1
-end
-
-function Java_org_opensolaris_os_dtrace_LocalConsumer__1stop
-version SUNWprivate_1.1
-end
-
-function Java_org_opensolaris_os_dtrace_LocalConsumer__1consume
-version SUNWprivate_1.1
-end
-
-function Java_org_opensolaris_os_dtrace_LocalConsumer__1interrupt
-version SUNWprivate_1.1
-end
-
-function Java_org_opensolaris_os_dtrace_LocalConsumer__1close
-version SUNWprivate_1.1
-end
-
-function Java_org_opensolaris_os_dtrace_LocalConsumer__1quantizeBucket
-version SUNWprivate_1.1
-end
-
-function Java_org_opensolaris_os_dtrace_LocalConsumer__1lookupKernelFunction
-version SUNWprivate_1.1
-end
-
-function Java_org_opensolaris_os_dtrace_LocalConsumer__1lookupUserFunction
-version SUNWprivate_1.1
-end
-
-function Java_org_opensolaris_os_dtrace_LocalConsumer__1getAggregate
-version SUNWprivate_1.1
-end
-
-function Java_org_opensolaris_os_dtrace_LocalConsumer__1createProcess
-version SUNWprivate_1.1
-end
-
-function Java_org_opensolaris_os_dtrace_LocalConsumer__1grabProcess
-version SUNWprivate_1.1
-end
-
-function Java_org_opensolaris_os_dtrace_LocalConsumer__1listProbes
-version SUNWprivate_1.1
-end
-
-function Java_org_opensolaris_os_dtrace_LocalConsumer__1listCompiledProbes
-version SUNWprivate_1.1
-end
-
-function Java_org_opensolaris_os_dtrace_LocalConsumer__1listProbeDetail
-version SUNWprivate_1.1
-end
-
-function Java_org_opensolaris_os_dtrace_LocalConsumer__1listCompiledProbeDetail
-version SUNWprivate_1.1
-end
-
-function Java_org_opensolaris_os_dtrace_LocalConsumer__1getVersion
-version SUNWprivate_1.1
-end
-
-function Java_org_opensolaris_os_dtrace_LocalConsumer__1openCount
-version SUNWprivate_1.1
-end
-
-function Java_org_opensolaris_os_dtrace_LocalConsumer__1getExecutableName
-version SUNWprivate_1.1
-end
-
-function Java_org_opensolaris_os_dtrace_LocalConsumer__1setMaximumConsumers
-version SUNWprivate_1.1
-end
-
-function Java_org_opensolaris_os_dtrace_LocalConsumer__1setDebug
-version SUNWprivate_1.1
-end
-
-function Java_org_opensolaris_os_dtrace_LocalConsumer__1destroy
-version SUNWprivate_1.1
-end
diff --git a/usr/src/lib/libdtrace_jni/spec/i386/Makefile b/usr/src/lib/libdtrace_jni/spec/i386/Makefile
deleted file mode 100644
index 4e313b5aa8..0000000000
--- a/usr/src/lib/libdtrace_jni/spec/i386/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-
-#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB)
diff --git a/usr/src/lib/libdtrace_jni/spec/sparc/Makefile b/usr/src/lib/libdtrace_jni/spec/sparc/Makefile
deleted file mode 100644
index 0783a6dc00..0000000000
--- a/usr/src/lib/libdtrace_jni/spec/sparc/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-
-#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB)
diff --git a/usr/src/lib/libdtrace_jni/spec/sparcv9/Makefile b/usr/src/lib/libdtrace_jni/spec/sparcv9/Makefile
deleted file mode 100644
index aced5376d3..0000000000
--- a/usr/src/lib/libdtrace_jni/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,37 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-
-#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libefi/Makefile b/usr/src/lib/libefi/Makefile
index 6b817122f0..80360ae8b7 100644
--- a/usr/src/lib/libefi/Makefile
+++ b/usr/src/lib/libefi/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,7 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2002 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
@@ -32,18 +31,16 @@ SUBDIRS= $(MACH)
$(BUILD64)SUBDIRS += $(MACH64)
all := TARGET= all
-install := TARGET= install
clean := TARGET= clean
clobber := TARGET= clobber
+install := TARGET= install
lint := TARGET= lint
.KEEP_STATE:
-all install clean clobber: spec .WAIT $(SUBDIRS)
-
-lint: $(SUBDIRS)
+all clean clobber install lint: $(SUBDIRS)
-spec $(SUBDIRS): FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
diff --git a/usr/src/lib/libefi/Makefile.com b/usr/src/lib/libefi/Makefile.com
index 32003df9b1..4b8c5d1277 100644
--- a/usr/src/lib/libefi/Makefile.com
+++ b/usr/src/lib/libefi/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,7 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
@@ -36,8 +35,6 @@ include ../../Makefile.lib
include ../../Makefile.rootfs
SRCDIR = ../common
-MAPDIR = ../spec/$(TRANSMACH)
-SPECMAPFILE = $(MAPDIR)/mapfile
LIBS = $(DYNLIB) $(LINTLIB)
LDLIBS += -luuid -lc
diff --git a/usr/src/lib/libefi/common/mapfile-vers b/usr/src/lib/libefi/common/mapfile-vers
new file mode 100644
index 0000000000..ca2e3ae408
--- /dev/null
+++ b/usr/src/lib/libefi/common/mapfile-vers
@@ -0,0 +1,43 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNW_1.1 {
+ global:
+ efi_alloc_and_init;
+ efi_alloc_and_read;
+ efi_free;
+ efi_write;
+};
+
+SUNWprivate_1.1 {
+ global:
+ efi_auto_sense;
+ efi_err_check;
+ efi_type;
+ local:
+ *;
+};
diff --git a/usr/src/lib/libefi/spec/Makefile b/usr/src/lib/libefi/spec/Makefile
deleted file mode 100644
index 631c5dd98c..0000000000
--- a/usr/src/lib/libefi/spec/Makefile
+++ /dev/null
@@ -1,29 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright 2002 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# lib/libefi/spec/Makefile
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/libefi/spec/Makefile.targ b/usr/src/lib/libefi/spec/Makefile.targ
deleted file mode 100644
index 93620cea6d..0000000000
--- a/usr/src/lib/libefi/spec/Makefile.targ
+++ /dev/null
@@ -1,34 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright 2002 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# lib/libadm/spec/Makefile.targ
-
-LIBRARY = libefi.a
-VERS = .1
-
-OBJECTS = efi.o
-
-SPECCPP =
diff --git a/usr/src/lib/libefi/spec/amd64/Makefile b/usr/src/lib/libefi/spec/amd64/Makefile
deleted file mode 100644
index 5dd1b7240f..0000000000
--- a/usr/src/lib/libefi/spec/amd64/Makefile
+++ /dev/null
@@ -1,42 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#amd64_C_PICFLAGS = $(amd64_C_BIGPICFLAGS)
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libefi/spec/efi.spec b/usr/src/lib/libefi/spec/efi.spec
deleted file mode 100644
index 9957cccbf4..0000000000
--- a/usr/src/lib/libefi/spec/efi.spec
+++ /dev/null
@@ -1,79 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libefi/spec/efi.spec
-
-# EFI reading/writing
-function efi_alloc_and_init
-include <sys/types.h>, <sys/vtoc.h>, <sys/efi_partition.h>
-declaration int efi_alloc_and_init(int, uint32_t, struct dk_gpt **)
-version SUNW_1.1
-exception $return < 0
-end
-
-# EFI reading/writing
-function efi_alloc_and_read
-include <sys/types.h>, <sys/vtoc.h>, <sys/efi_partition.h>
-declaration int efi_alloc_and_read(int, struct dk_gpt **)
-version SUNW_1.1
-exception $return < 0
-end
-
-# EFI reading/writing
-function efi_write
-include <sys/types.h>, <sys/vtoc.h>, <sys/efi_partition.h>
-declaration int efi_write(int , struct dk_gpt *)
-version SUNW_1.1
-exception $return < 0
-end
-
-# EFI reading/writing
-function efi_free
-include <stdlib.h>
-declaration void efi_free(struct dk_gpt *)
-version SUNW_1.1
-end
-
-# EFI type
-function efi_type
-include <sys/vtoc.h>, <errno.h>
-declaration int efi_type(int fd)
-version SUNWprivate_1.1
-end
-
-# EFI error check
-function efi_err_check
-include <sys/vtoc.h>, <sys/efi_partition.h>
-declaration void efi_err_check(struct dk_gpt *vtoc)
-version SUNWprivate_1.1
-end
-
-# EFI auto sense
-function efi_auto_sense
-include <sys/vtoc.h>, <sys/efi_partition.h>
-declaration int efi_auto_sense(int fd, struct dk_gpt **vtoc)
-version SUNWprivate_1.1
-end
diff --git a/usr/src/lib/libefi/spec/i386/Makefile b/usr/src/lib/libefi/spec/i386/Makefile
deleted file mode 100644
index e1550e7f62..0000000000
--- a/usr/src/lib/libefi/spec/i386/Makefile
+++ /dev/null
@@ -1,42 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright 2002 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# lib/libefi/spec/i386/Makefile
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#i386_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libefi/spec/sparc/Makefile b/usr/src/lib/libefi/spec/sparc/Makefile
deleted file mode 100644
index 13c653d998..0000000000
--- a/usr/src/lib/libefi/spec/sparc/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright 2002 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# lib/libefi/spec/sparc/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#sparc_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libefi/spec/sparcv9/Makefile b/usr/src/lib/libefi/spec/sparcv9/Makefile
deleted file mode 100644
index 35aa251bbd..0000000000
--- a/usr/src/lib/libefi/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,43 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright 2002 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# lib/libefi/spec/sparcv9/Makefile
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-# sparcv9_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libefi/spec/versions b/usr/src/lib/libefi/spec/versions
deleted file mode 100644
index dc2cad2ce6..0000000000
--- a/usr/src/lib/libefi/spec/versions
+++ /dev/null
@@ -1,47 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-sparc {
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-
-sparcv9 {
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-
-
-i386 {
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-
-amd64 {
- SUNW_1.1;
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/libeti/form/Makefile b/usr/src/lib/libeti/form/Makefile
index 7c1c845930..a130b89a17 100644
--- a/usr/src/lib/libeti/form/Makefile
+++ b/usr/src/lib/libeti/form/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,13 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libeti/form/Makefile
-#
include ../../Makefile.lib
@@ -41,9 +38,7 @@ lint := TARGET= lint
.KEEP_STATE:
-all clean clobber install: spec .WAIT $(SUBDIRS)
-
-lint: $(SUBDIRS)
+all clean clobber install lint: $(SUBDIRS)
# definitions for install_h target
HDRS= form.h utility.h
@@ -59,7 +54,7 @@ install_h: $(ROOTHDRS)
check: $(CHECKHDRS)
-spec $(SUBDIRS): FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
diff --git a/usr/src/lib/libeti/form/Makefile.com b/usr/src/lib/libeti/form/Makefile.com
index b0cbd9c713..932a603632 100644
--- a/usr/src/lib/libeti/form/Makefile.com
+++ b/usr/src/lib/libeti/form/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,13 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libeti/form/Makefile.com
-#
LIBRARY= libform.a
VERS= .1
@@ -70,8 +67,6 @@ OBJECTS= \
# include library definitions
include ../../../Makefile.lib
-MAPFILE= $(MAPDIR)/mapfile
-
LIBS = $(DYNLIB) $(LINTLIB)
SRCDIR= ../common
@@ -80,7 +75,6 @@ $(LINTLIB) := SRCS=$(SRCDIR)/$(LINTSRC)
CPPFLAGS += -I../inc
CFLAGS += $(CCVERBOSE)
-DYNFLAGS += -M $(MAPFILE)
LDLIBS += -lcurses -lc
.KEEP_STATE:
@@ -89,11 +83,6 @@ all: $(LIBS)
lint: lintcheck
-$(DYNLIB): $(MAPFILE)
-
-$(MAPFILE):
- @cd $(MAPDIR); $(MAKE) mapfile
-
# include library targets
include ../../../Makefile.targ
diff --git a/usr/src/lib/libeti/form/amd64/Makefile b/usr/src/lib/libeti/form/amd64/Makefile
index c8f079aaac..04160e850a 100644
--- a/usr/src/lib/libeti/form/amd64/Makefile
+++ b/usr/src/lib/libeti/form/amd64/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,13 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-MAPDIR= ../spec/amd64
include ../Makefile.com
include ../../../Makefile.lib.64
@@ -35,5 +33,3 @@ DYNFLAGS += $(DYNFLAGS64)
.KEEP_STATE:
install: all $(ROOTLIBS64) $(ROOTLINKS64)
-
-$(DYNLIB): $(MAPFILE)
diff --git a/usr/src/lib/libeti/form/common/mapfile-vers b/usr/src/lib/libeti/form/common/mapfile-vers
new file mode 100644
index 0000000000..168cda804f
--- /dev/null
+++ b/usr/src/lib/libeti/form/common/mapfile-vers
@@ -0,0 +1,226 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNW_1.1 {
+ global:
+ current_field;
+ data_ahead;
+ data_behind;
+ dup_field;
+ dynamic_field_info;
+ field_arg;
+ field_back;
+ field_buffer;
+ field_count;
+ field_fore;
+ field_index;
+ field_info;
+ field_init;
+ field_just;
+ field_opts;
+ field_opts_off;
+ field_opts_on;
+ field_pad;
+ field_status;
+ field_term;
+ field_type;
+ field_userptr;
+ form_driver;
+ form_fields;
+ form_init;
+ form_opts;
+ form_opts_off;
+ form_opts_on;
+ form_page;
+ form_sub;
+ form_term;
+ form_userptr;
+ form_win;
+ free_field;
+ free_fieldtype;
+ free_form;
+ link_field;
+ link_fieldtype;
+ move_field;
+ new_field;
+ new_fieldtype;
+ new_form;
+ new_page;
+ pos_form_cursor;
+ post_form;
+ scale_form;
+ set_current_field;
+ set_field_back;
+ set_field_buffer;
+ set_field_fore;
+ set_field_init;
+ set_field_just;
+ set_field_opts;
+ set_field_pad;
+ set_field_status;
+ set_field_term;
+ set_field_type;
+ set_fieldtype_arg;
+ set_fieldtype_choice;
+ set_field_userptr;
+ set_form_fields;
+ set_form_init;
+ set_form_opts;
+ set_form_page;
+ set_form_sub;
+ set_form_term;
+ set_form_userptr;
+ set_form_win;
+ set_max_field;
+ set_new_page;
+ unpost_form;
+};
+
+SUNWprivate_1.1 {
+ global:
+ _adjust_cursor;
+ __advance;
+ _beg_field;
+ _beg_line;
+ __braelist;
+ __braslist;
+ __bravar;
+ _buf_to_win;
+ __cclass;
+ __cflg;
+ _checkchar;
+ _checkfield;
+ _clr_eof;
+ _clr_eol;
+ _clr_field;
+ _copyarg;
+ _data_beg;
+ _data_end;
+ _data_entry;
+ _data_manipulation;
+ _data_navigation;
+ _DEFAULT_FIELD;
+ _DEFAULT_FIELDTYPE;
+ _DEFAULT_FORM;
+ _del_char;
+ _del_line;
+ _del_prev;
+ _del_word;
+ _down_char;
+ _down_field;
+ _end_field;
+ _end_line;
+ __eptr_;
+ __execute;
+ _field_navigation;
+ _first_active;
+ _first_field;
+ _first_page;
+ _freearg;
+ __getrnge;
+ _grow_field;
+ _ins_char;
+ _ins_line;
+ _ins_mode;
+ __i_size;
+ _last_field;
+ _last_page;
+ _left_char;
+ _left_field;
+ _lib_version;
+ __loc1;
+ __lptr_;
+ _makearg;
+ _misc_request;
+ _new_line;
+ _next_char;
+ _next_choice;
+ _nextchoice;
+ _next_field;
+ _next_line;
+ _next_page;
+ _next_word;
+ _ovl_mode;
+ _page_navigation;
+ _pos_form_cursor;
+ _prev_char;
+ _prev_choice;
+ _prevchoice;
+ _prev_field;
+ _prev_line;
+ _prev_page;
+ _prev_word;
+ _right_char;
+ _right_field;
+ __rpop;
+ __rpush;
+ _scr_bchar;
+ _scr_bhpage;
+ _scr_bline;
+ _scr_bpage;
+ _scr_fchar;
+ _scr_fhpage;
+ _scr_fline;
+ _scr_fpage;
+ _scr_hbhalf;
+ _scr_hbline;
+ _scr_hfhalf;
+ _scr_hfline;
+ _set_current_field;
+ _set_form_page;
+ _sfirst_field;
+ __size;
+ _slast_field;
+ _snext_field;
+ __sp_;
+ _sprev_field;
+ __st;
+ __stmax;
+ _sync_attrs;
+ _sync_buffer;
+ _sync_field;
+ _sync_linked;
+ _sync_opts;
+ TYPE_ALNUM;
+ TYPE_ALPHA;
+ TYPE_ENUM;
+ TYPE_INTEGER;
+ TYPE_NUMERIC;
+ TYPE_REGEXP;
+ _up_char;
+ _update_current;
+ _up_field;
+ _validate;
+ _validation;
+ _whsp_beg;
+ _whsp_end;
+ _win_to_buf;
+ __xpop;
+ __xpush;
+ local:
+ *;
+};
diff --git a/usr/src/lib/libeti/form/i386/Makefile b/usr/src/lib/libeti/form/i386/Makefile
index 1ef78fe4e3..775621cd27 100644
--- a/usr/src/lib/libeti/form/i386/Makefile
+++ b/usr/src/lib/libeti/form/i386/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,15 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright 1997-2003 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libeti/form/sparc/Makefile
-#
-MAPDIR= ../spec/i386
include ../Makefile.com
.KEEP_STATE:
diff --git a/usr/src/lib/libeti/form/sparc/Makefile b/usr/src/lib/libeti/form/sparc/Makefile
index d2d347cbee..775621cd27 100644
--- a/usr/src/lib/libeti/form/sparc/Makefile
+++ b/usr/src/lib/libeti/form/sparc/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,15 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright 1997-2003 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libeti/panel/sparc/Makefile
-#
-MAPDIR= ../spec/sparc
include ../Makefile.com
.KEEP_STATE:
diff --git a/usr/src/lib/libeti/form/sparcv9/Makefile b/usr/src/lib/libeti/form/sparcv9/Makefile
index 98528912b2..04160e850a 100644
--- a/usr/src/lib/libeti/form/sparcv9/Makefile
+++ b/usr/src/lib/libeti/form/sparcv9/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,15 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libeti/form/sparc/Makefile
+# ident "%Z%%M% %I% %E% SMI"
#
-MAPDIR= ../spec/sparcv9
include ../Makefile.com
include ../../../Makefile.lib.64
@@ -37,5 +33,3 @@ DYNFLAGS += $(DYNFLAGS64)
.KEEP_STATE:
install: all $(ROOTLIBS64) $(ROOTLINKS64)
-
-$(DYNLIB): $(MAPFILE)
diff --git a/usr/src/lib/libeti/form/spec/Makefile b/usr/src/lib/libeti/form/spec/Makefile
deleted file mode 100644
index 17f4255c0e..0000000000
--- a/usr/src/lib/libeti/form/spec/Makefile
+++ /dev/null
@@ -1,30 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libeti/form/spec/Makefile
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/libeti/form/spec/Makefile.targ b/usr/src/lib/libeti/form/spec/Makefile.targ
deleted file mode 100644
index 7d1d500c29..0000000000
--- a/usr/src/lib/libeti/form/spec/Makefile.targ
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libeti/form/spec/Makefile.targ
-
-LIBRARY = libform.a
-VERS = .1
-
-OBJECTS = form.o
-
-TRANSCPP =
-SPECCPP =
diff --git a/usr/src/lib/libeti/form/spec/amd64/Makefile b/usr/src/lib/libeti/form/spec/amd64/Makefile
deleted file mode 100644
index 2a38c1cba9..0000000000
--- a/usr/src/lib/libeti/form/spec/amd64/Makefile
+++ /dev/null
@@ -1,42 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#amd64_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libeti/form/spec/form.spec b/usr/src/lib/libeti/form/spec/form.spec
deleted file mode 100644
index acabf86547..0000000000
--- a/usr/src/lib/libeti/form/spec/form.spec
+++ /dev/null
@@ -1,939 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libeti/form/spec/form.spec
-
-function current_field
-include <form.h>
-declaration FIELD *current_field(FORM*form)
-version SUNW_1.1
-end
-
-function data_ahead
-include <form.h>
-declaration int data_ahead(FORM *form)
-version SUNW_1.1
-end
-
-function data_behind
-include <form.h>
-declaration int data_behind(FORM *form)
-version SUNW_1.1
-end
-
-function dup_field
-include <form.h>
-declaration FIELD *dup_field(FIELD *field, int frow, int fcol)
-version SUNW_1.1
-end
-
-function dynamic_field_info
-include <form.h>
-declaration int dynamic_field_info(FIELD *field, int *drows, \
- int *dcols, int *max)
-version SUNW_1.1
-end
-
-function field_arg
-include <form.h>
-declaration char *field_arg(FIELD *field)
-version SUNW_1.1
-end
-
-function field_back
-include <form.h>
-declaration chtype field_back(FIELD *field)
-version SUNW_1.1
-end
-
-function field_buffer
-include <form.h>
-declaration char *field_buffer(FIELD *field, int buf)
-version SUNW_1.1
-end
-
-function field_count
-include <form.h>
-declaration int field_count(FORM *form)
-version SUNW_1.1
-end
-
-function field_fore
-include <form.h>
-declaration chtype field_fore(FIELD *field)
-version SUNW_1.1
-end
-
-function field_index
-include <form.h>
-declaration int field_index(FIELD *field)
-version SUNW_1.1
-end
-
-function field_info
-include <form.h>
-declaration int field_info(FIELD *field, int *rows, int *cols, \
- int *frow, int *fcol, int *nrow, int *nbuf)
-version SUNW_1.1
-end
-
-function field_init
-include <form.h>
-declaration PTF_void field_init(FORM *form)
-version SUNW_1.1
-end
-
-function field_just
-include <form.h>
-declaration int field_just(FIELD *field);
-version SUNW_1.1
-end
-
-function field_opts
-include <form.h>
-declaration OPTIONS field_opts(FIELD *field)
-version SUNW_1.1
-end
-
-function field_opts_off
-include <form.h>
-declaration int field_opts_off(FIELD *field, OPTIONS opts)
-version SUNW_1.1
-end
-
-function field_opts_on
-include <form.h>
-declaration int field_opts_on(FIELD *field, OPTIONS opts)
-version SUNW_1.1
-end
-
-function field_pad
-include <form.h>
-declaration int field_pad(FIELD *field)
-version SUNW_1.1
-end
-
-function field_status
-include <form.h>
-declaration int field_status(FIELD *field)
-version SUNW_1.1
-end
-
-function field_term
-include <form.h>
-declaration PTF_void field_term(FORM *form)
-version SUNW_1.1
-end
-
-function field_type
-include <form.h>
-declaration FIELDTYPE *field_type(FIELD *field)
-version SUNW_1.1
-end
-
-function field_userptr
-include <form.h>
-declaration char *field_userptr(FIELD *field)
-version SUNW_1.1
-end
-
-function form_driver
-include <form.h>
-declaration int form_driver(FORM *form, int c)
-version SUNW_1.1
-end
-
-function form_fields
-include <form.h>
-declaration FIELD **form_fields(FORM *form)
-version SUNW_1.1
-end
-
-function form_init
-include <form.h>
-declaration PTF_void form_init(FORM *form)
-version SUNW_1.1
-end
-
-function form_opts
-include <form.h>
-declaration OPTIONS form_opts(FORM *form)
-version SUNW_1.1
-end
-
-function form_opts_off
-include <form.h>
-declaration int form_opts_off(FORM *form, OPTIONS opts)
-version SUNW_1.1
-end
-
-function form_opts_on
-include <form.h>
-declaration int form_opts_on(FORM *form, OPTIONS opts)
-version SUNW_1.1
-end
-
-function form_page
-include <form.h>
-declaration int form_page(FORM *form)
-version SUNW_1.1
-end
-
-function form_sub
-include <form.h>
-declaration WINDOW *form_sub(FORM *form)
-version SUNW_1.1
-end
-
-function form_term
-include <form.h>
-declaration PTF_void form_term(FORM *form)
-version SUNW_1.1
-end
-
-function form_userptr
-include <form.h>
-declaration char *form_userptr(FORM *form)
-version SUNW_1.1
-end
-
-function form_win
-include <form.h>
-declaration WINDOW *form_win(FORM *form)
-version SUNW_1.1
-end
-
-function free_field
-include <form.h>
-declaration int free_field(FIELD *field)
-version SUNW_1.1
-end
-
-function free_fieldtype
-include <form.h>
-declaration int free_fieldtype(FIELDTYPE *fieldtype)
-version SUNW_1.1
-end
-
-function free_form
-include <form.h>
-declaration int free_form(FORM *form)
-version SUNW_1.1
-end
-
-function link_field
-include <form.h>
-declaration FIELD *link_field(FIELD *field, int frow, int fcol)
-version SUNW_1.1
-end
-
-function link_fieldtype
-include <form.h>
-declaration FIELDTYPE *link_fieldtype(FIELDTYPE *type1, FIELDTYPE *type2)
-version SUNW_1.1
-end
-
-function move_field
-include <form.h>
-declaration int move_field(FIELD *field, int frow, int fcol)
-version SUNW_1.1
-end
-
-function new_field
-include <form.h>
-declaration FIELD *new_field(int r, int c, int frow, int fcol, \
- int nrow, int ncol)
-version SUNW_1.1
-end
-
-function new_fieldtype
-include <form.h>
-declaration FIELDTYPE *new_fieldtype(int (* field_check)(FIELD *, \
- char *), int (* char_check)(int, char *))
-version SUNW_1.1
-end
-
-function new_form
-include <form.h>
-declaration FORM *new_form(FIELD **fields)
-version SUNW_1.1
-end
-
-function new_page
-include <form.h>
-declaration int new_page(FIELD *field)
-version SUNW_1.1
-end
-
-function pos_form_cursor
-include <form.h>
-declaration int pos_form_cursor(FORM *form)
-version SUNW_1.1
-end
-
-function post_form
-include <form.h>
-declaration int post_form(FORM *form)
-version SUNW_1.1
-end
-
-function scale_form
-include <form.h>
-declaration int scale_form(FORM *form, int *rows, int *cols)
-version SUNW_1.1
-end
-
-function set_current_field
-include <form.h>
-declaration int set_current_field(FORM *form, FIELD *field)
-version SUNW_1.1
-end
-
-function set_field_back
-include <form.h>
-declaration int set_field_back(FIELD *field, chtype attr)
-version SUNW_1.1
-end
-
-function set_field_buffer
-include <form.h>
-declaration int set_field_buffer(FIELD *field, int buf, char *value)
-version SUNW_1.1
-end
-
-function set_field_fore
-include <form.h>
-declaration int set_field_fore(FIELD *field, chtype attr)
-version SUNW_1.1
-end
-
-function set_field_init
-include <form.h>
-declaration int set_field_init(FORM *form, void (*func)(FORM*))
-version SUNW_1.1
-end
-
-function set_field_just
-include <form.h>
-declaration int set_field_just(FIELD *field, int justification)
-version SUNW_1.1
-end
-
-function set_field_opts
-include <form.h>
-declaration int set_field_opts(FIELD *field, OPTIONS opts)
-version SUNW_1.1
-end
-
-function set_field_pad
-include <form.h>
-declaration int set_field_pad(FIELD *field, int pad)
-version SUNW_1.1
-end
-
-function set_field_status
-include <form.h>
-declaration int set_field_status(FIELD *field, int status)
-version SUNW_1.1
-end
-
-function set_field_term
-include <form.h>
-declaration int set_field_term(FORM *form, void (*func)(FORM*))
-version SUNW_1.1
-end
-
-function set_field_type
-include <form.h>
-declaration int set_field_type(FIELD *field, FIELDTYPE *type, ...)
-version SUNW_1.1
-end
-
-function set_field_userptr
-include <form.h>
-declaration int set_field_userptr(FIELD *field, char *ptr)
-version SUNW_1.1
-end
-
-function set_fieldtype_arg
-include <form.h>
-declaration int set_fieldtype_arg(FIELDTYPE *fieldtype, \
- char *(* mak_arg)(va_list *), \
- char *(* copy_arg)(char *), \
- void (* free_arg)(char *))
-version SUNW_1.1
-end
-
-function set_fieldtype_choice
-include <form.h>
-declaration int set_fieldtype_choice(FIELDTYPE *fieldtype, \
- int (* next_choice)(FIELD *, char *), \
- int (* prev_choice)(FIELD *, char *))
-version SUNW_1.1
-end
-
-function set_form_fields
-include <form.h>
-declaration int set_form_fields(FORM *form, FIELD **field)
-version SUNW_1.1
-end
-
-function set_form_init
-include <form.h>
-declaration int set_form_init(FORM *form, void (*func)(FORM*))
-version SUNW_1.1
-end
-
-function set_form_opts
-include <form.h>
-declaration int set_form_opts(FORM *form, OPTIONS opts)
-version SUNW_1.1
-end
-
-function set_form_page
-include <form.h>
-declaration int set_form_page(FORM *form, int page)
-version SUNW_1.1
-end
-
-function set_form_sub
-include <form.h>
-declaration int set_form_sub(FORM *form, WINDOW *sub)
-version SUNW_1.1
-end
-
-function set_form_term
-include <form.h>
-declaration int set_form_term(FORM *form, void (*func)(FORM*))
-version SUNW_1.1
-end
-
-function set_form_userptr
-include <form.h>
-declaration int set_form_userptr(FORM *form, char *ptr)
-version SUNW_1.1
-end
-
-function set_form_win
-include <form.h>
-declaration int set_form_win(FORM *form, WINDOW *win)
-version SUNW_1.1
-end
-
-function set_max_field
-include <form.h>
-declaration int set_max_field(FIELD *field, int max)
-version SUNW_1.1
-end
-
-function set_new_page
-include <form.h>
-declaration int set_new_page(FIELD *field, int bool)
-version SUNW_1.1
-end
-
-function unpost_form
-include <form.h>
-declaration int unpost_form(FORM *form)
-version SUNW_1.1
-end
-
-function __advance
-version SUNWprivate_1.1
-end
-
-function __braelist
-version SUNWprivate_1.1
-end
-
-function __braslist
-version SUNWprivate_1.1
-end
-
-function __bravar
-version SUNWprivate_1.1
-end
-
-function __cclass
-version SUNWprivate_1.1
-end
-
-function __cflg
-version SUNWprivate_1.1
-end
-
-function __eptr_
-version SUNWprivate_1.1
-end
-
-function __execute
-version SUNWprivate_1.1
-end
-
-function __getrnge
-version SUNWprivate_1.1
-end
-
-function __i_size
-version SUNWprivate_1.1
-end
-
-function __loc1
-version SUNWprivate_1.1
-end
-
-function __lptr_
-version SUNWprivate_1.1
-end
-
-function __rpop
-version SUNWprivate_1.1
-end
-
-function __rpush
-version SUNWprivate_1.1
-end
-
-function __size
-version SUNWprivate_1.1
-end
-
-function __sp_
-version SUNWprivate_1.1
-end
-
-function __st
-version SUNWprivate_1.1
-end
-
-function __stmax
-version SUNWprivate_1.1
-end
-
-function __xpop
-version SUNWprivate_1.1
-end
-
-function __xpush
-version SUNWprivate_1.1
-end
-
-function _adjust_cursor
-version SUNWprivate_1.1
-end
-
-function _beg_field
-version SUNWprivate_1.1
-end
-
-function _beg_line
-version SUNWprivate_1.1
-end
-
-function _buf_to_win
-version SUNWprivate_1.1
-end
-
-function _checkchar
-version SUNWprivate_1.1
-end
-
-function _checkfield
-version SUNWprivate_1.1
-end
-
-function _clr_eof
-version SUNWprivate_1.1
-end
-
-function _clr_eol
-version SUNWprivate_1.1
-end
-
-function _clr_field
-version SUNWprivate_1.1
-end
-
-function _copyarg
-version SUNWprivate_1.1
-end
-
-function _data_beg
-version SUNWprivate_1.1
-end
-
-function _data_end
-version SUNWprivate_1.1
-end
-
-function _data_entry
-version SUNWprivate_1.1
-end
-
-function _data_manipulation
-version SUNWprivate_1.1
-end
-
-function _data_navigation
-version SUNWprivate_1.1
-end
-
-function _DEFAULT_FIELD
-version SUNWprivate_1.1
-end
-
-function _DEFAULT_FIELDTYPE
-version SUNWprivate_1.1
-end
-
-function _DEFAULT_FORM
-version SUNWprivate_1.1
-end
-
-function _del_char
-version SUNWprivate_1.1
-end
-
-function _del_line
-version SUNWprivate_1.1
-end
-
-function _del_prev
-version SUNWprivate_1.1
-end
-
-function _del_word
-version SUNWprivate_1.1
-end
-
-function _down_char
-version SUNWprivate_1.1
-end
-
-function _down_field
-version SUNWprivate_1.1
-end
-
-function _end_field
-version SUNWprivate_1.1
-end
-
-function _end_line
-version SUNWprivate_1.1
-end
-
-function _field_navigation
-version SUNWprivate_1.1
-end
-
-function _first_active
-version SUNWprivate_1.1
-end
-
-function _first_field
-version SUNWprivate_1.1
-end
-
-function _first_page
-version SUNWprivate_1.1
-end
-
-function _freearg
-version SUNWprivate_1.1
-end
-
-function _grow_field
-version SUNWprivate_1.1
-end
-
-function _ins_char
-version SUNWprivate_1.1
-end
-
-function _ins_line
-version SUNWprivate_1.1
-end
-
-function _ins_mode
-version SUNWprivate_1.1
-end
-
-function _last_field
-version SUNWprivate_1.1
-end
-
-function _last_page
-version SUNWprivate_1.1
-end
-
-function _left_char
-version SUNWprivate_1.1
-end
-
-function _left_field
-version SUNWprivate_1.1
-end
-
-function _lib_version
-version SUNWprivate_1.1
-end
-
-function _makearg
-version SUNWprivate_1.1
-end
-
-function _misc_request
-version SUNWprivate_1.1
-end
-
-function _new_line
-version SUNWprivate_1.1
-end
-
-function _next_char
-version SUNWprivate_1.1
-end
-
-function _next_choice
-version SUNWprivate_1.1
-end
-
-function _next_field
-version SUNWprivate_1.1
-end
-
-function _next_line
-version SUNWprivate_1.1
-end
-
-function _next_page
-version SUNWprivate_1.1
-end
-
-function _next_word
-version SUNWprivate_1.1
-end
-
-function _nextchoice
-version SUNWprivate_1.1
-end
-
-function _ovl_mode
-version SUNWprivate_1.1
-end
-
-function _page_navigation
-version SUNWprivate_1.1
-end
-
-function _pos_form_cursor
-version SUNWprivate_1.1
-end
-
-function _prev_char
-version SUNWprivate_1.1
-end
-
-function _prev_choice
-version SUNWprivate_1.1
-end
-
-function _prev_field
-version SUNWprivate_1.1
-end
-
-function _prev_line
-version SUNWprivate_1.1
-end
-
-function _prev_page
-version SUNWprivate_1.1
-end
-
-function _prev_word
-version SUNWprivate_1.1
-end
-
-function _prevchoice
-version SUNWprivate_1.1
-end
-
-function _right_char
-version SUNWprivate_1.1
-end
-
-function _right_field
-version SUNWprivate_1.1
-end
-
-function _scr_bchar
-version SUNWprivate_1.1
-end
-
-function _scr_bhpage
-version SUNWprivate_1.1
-end
-
-function _scr_bline
-version SUNWprivate_1.1
-end
-
-function _scr_bpage
-version SUNWprivate_1.1
-end
-
-function _scr_fchar
-version SUNWprivate_1.1
-end
-
-function _scr_fhpage
-version SUNWprivate_1.1
-end
-
-function _scr_fline
-version SUNWprivate_1.1
-end
-
-function _scr_fpage
-version SUNWprivate_1.1
-end
-
-function _scr_hbhalf
-version SUNWprivate_1.1
-end
-
-function _scr_hbline
-version SUNWprivate_1.1
-end
-
-function _scr_hfhalf
-version SUNWprivate_1.1
-end
-
-function _scr_hfline
-version SUNWprivate_1.1
-end
-
-function _set_current_field
-version SUNWprivate_1.1
-end
-
-function _set_form_page
-version SUNWprivate_1.1
-end
-
-function _sfirst_field
-version SUNWprivate_1.1
-end
-
-function _slast_field
-version SUNWprivate_1.1
-end
-
-function _snext_field
-version SUNWprivate_1.1
-end
-
-function _sprev_field
-version SUNWprivate_1.1
-end
-
-function _sync_attrs
-version SUNWprivate_1.1
-end
-
-function _sync_buffer
-version SUNWprivate_1.1
-end
-
-function _sync_field
-version SUNWprivate_1.1
-end
-
-function _sync_linked
-version SUNWprivate_1.1
-end
-
-function _sync_opts
-version SUNWprivate_1.1
-end
-
-function _up_char
-version SUNWprivate_1.1
-end
-
-function _up_field
-version SUNWprivate_1.1
-end
-
-function _update_current
-version SUNWprivate_1.1
-end
-
-function _validate
-version SUNWprivate_1.1
-end
-
-function _validation
-version SUNWprivate_1.1
-end
-
-function _whsp_beg
-version SUNWprivate_1.1
-end
-
-function _whsp_end
-version SUNWprivate_1.1
-end
-
-function _win_to_buf
-version SUNWprivate_1.1
-end
-
-function TYPE_ALNUM
-version SUNWprivate_1.1
-end
-
-function TYPE_ALPHA
-version SUNWprivate_1.1
-end
-
-function TYPE_ENUM
-version SUNWprivate_1.1
-end
-
-function TYPE_INTEGER
-version SUNWprivate_1.1
-end
-
-function TYPE_NUMERIC
-version SUNWprivate_1.1
-end
-
-function TYPE_REGEXP
-version SUNWprivate_1.1
-end
-
diff --git a/usr/src/lib/libeti/form/spec/i386/Makefile b/usr/src/lib/libeti/form/spec/i386/Makefile
deleted file mode 100644
index 1d286bf325..0000000000
--- a/usr/src/lib/libeti/form/spec/i386/Makefile
+++ /dev/null
@@ -1,42 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libeti/form/spec/i386/Makefile
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#i386_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libeti/form/spec/sparc/Makefile b/usr/src/lib/libeti/form/spec/sparc/Makefile
deleted file mode 100644
index 2d6b7997c6..0000000000
--- a/usr/src/lib/libeti/form/spec/sparc/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libeti/form/spec/sparc/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#sparc_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libeti/form/spec/sparcv9/Makefile b/usr/src/lib/libeti/form/spec/sparcv9/Makefile
deleted file mode 100644
index 9435d14450..0000000000
--- a/usr/src/lib/libeti/form/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,43 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libeti/form/spec/sparcv9/Makefile
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#sparcv9_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libeti/form/spec/versions b/usr/src/lib/libeti/form/spec/versions
deleted file mode 100644
index 38a2cfc77a..0000000000
--- a/usr/src/lib/libeti/form/spec/versions
+++ /dev/null
@@ -1,43 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-sparc {
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-sparcv9 {
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-i386 {
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-amd64 {
- SUNW_1.1;
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/libeti/menu/Makefile b/usr/src/lib/libeti/menu/Makefile
index 2199c693c5..903974a531 100644
--- a/usr/src/lib/libeti/menu/Makefile
+++ b/usr/src/lib/libeti/menu/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,13 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libeti/menu/Makefile
-#
include ../../Makefile.lib
@@ -41,9 +38,7 @@ lint := TARGET= lint
.KEEP_STATE:
-all clean clobber install: spec .WAIT $(SUBDIRS)
-
-lint: $(SUBDIRS)
+all clean clobber install lint: $(SUBDIRS)
# definitions for install_h target
HDRS= menu.h
@@ -59,7 +54,7 @@ install_h: $(ROOTHDRS)
check: $(CHECKHDRS)
-spec $(SUBDIRS): FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
diff --git a/usr/src/lib/libeti/menu/Makefile.com b/usr/src/lib/libeti/menu/Makefile.com
index 202b4b171c..974b465c5e 100644
--- a/usr/src/lib/libeti/menu/Makefile.com
+++ b/usr/src/lib/libeti/menu/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -25,8 +24,6 @@
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libeti/menu/Makefile.com
-#
LIBRARY= libmenu.a
VERS= .1
@@ -68,8 +65,6 @@ OBJECTS= \
# include library definitions
include ../../../Makefile.lib
-MAPFILE= $(MAPDIR)/mapfile
-
LIBS = $(DYNLIB) $(LINTLIB)
SRCDIR= ../common
@@ -78,7 +73,6 @@ $(LINTLIB) := SRCS=$(SRCDIR)/$(LINTSRC)
CPPFLAGS += -I../inc
CFLAGS += $(CCVERBOSE)
-DYNFLAGS += -M $(MAPFILE)
LDLIBS += -lcurses -lc
.KEEP_STATE:
@@ -87,11 +81,6 @@ all: $(LIBS) fnamecheck
lint: lintcheck
-$(DYNLIB): $(MAPFILE)
-
-$(MAPFILE):
- @cd $(MAPDIR); $(MAKE) mapfile
-
# include library targets
include ../../../Makefile.targ
diff --git a/usr/src/lib/libeti/menu/amd64/Makefile b/usr/src/lib/libeti/menu/amd64/Makefile
index c8f079aaac..04160e850a 100644
--- a/usr/src/lib/libeti/menu/amd64/Makefile
+++ b/usr/src/lib/libeti/menu/amd64/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,13 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-MAPDIR= ../spec/amd64
include ../Makefile.com
include ../../../Makefile.lib.64
@@ -35,5 +33,3 @@ DYNFLAGS += $(DYNFLAGS64)
.KEEP_STATE:
install: all $(ROOTLIBS64) $(ROOTLINKS64)
-
-$(DYNLIB): $(MAPFILE)
diff --git a/usr/src/lib/libeti/menu/common/mapfile-vers b/usr/src/lib/libeti/menu/common/mapfile-vers
new file mode 100644
index 0000000000..b1213a584f
--- /dev/null
+++ b/usr/src/lib/libeti/menu/common/mapfile-vers
@@ -0,0 +1,113 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNW_1.1 {
+ global:
+ current_item;
+ free_item;
+ free_menu;
+ item_count;
+ item_description;
+ item_index;
+ item_init;
+ item_name;
+ item_opts;
+ item_opts_off;
+ item_opts_on;
+ item_term;
+ item_userptr;
+ item_value;
+ item_visible;
+ menu_back;
+ menu_driver;
+ menu_fore;
+ menu_format;
+ menu_grey;
+ menu_init;
+ menu_items;
+ menu_mark;
+ menu_opts;
+ menu_opts_off;
+ menu_opts_on;
+ menu_pad;
+ menu_pattern;
+ menu_sub;
+ menu_term;
+ menu_userptr;
+ menu_win;
+ new_item;
+ new_menu;
+ pos_menu_cursor;
+ post_menu;
+ scale_menu;
+ set_current_item;
+ set_item_init;
+ set_item_opts;
+ set_item_term;
+ set_item_userptr;
+ set_item_value;
+ set_menu_back;
+ set_menu_fore;
+ set_menu_format;
+ set_menu_grey;
+ set_menu_init;
+ set_menu_items;
+ set_menu_mark;
+ set_menu_opts;
+ set_menu_pad;
+ set_menu_pattern;
+ set_menu_sub;
+ set_menu_term;
+ set_menu_userptr;
+ set_menu_win;
+ set_top_row;
+ top_row;
+ unpost_menu;
+};
+
+SUNWprivate_1.1 {
+ global:
+ _affect_change;
+ _chk_current;
+ _chk_top;
+ _connect;
+ _Default_Item;
+ _Default_Menu;
+ _disconnect;
+ _draw;
+ _lib_version;
+ _link_items;
+ _match;
+ _movecurrent;
+ _move_post_item;
+ _position_cursor;
+ _post_item;
+ _scale;
+ _show;
+ local:
+ *;
+};
diff --git a/usr/src/lib/libeti/menu/i386/Makefile b/usr/src/lib/libeti/menu/i386/Makefile
index 768dd99c23..775621cd27 100644
--- a/usr/src/lib/libeti/menu/i386/Makefile
+++ b/usr/src/lib/libeti/menu/i386/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,15 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright 1997-2003 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libeti/menu/sparc/Makefile
-#
-MAPDIR= ../spec/i386
include ../Makefile.com
.KEEP_STATE:
diff --git a/usr/src/lib/libeti/menu/sparc/Makefile b/usr/src/lib/libeti/menu/sparc/Makefile
index 0f6bc1c0ab..775621cd27 100644
--- a/usr/src/lib/libeti/menu/sparc/Makefile
+++ b/usr/src/lib/libeti/menu/sparc/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,15 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright 1997-2003 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libeti/menu/sparc/Makefile
-#
-MAPDIR= ../spec/sparc
include ../Makefile.com
.KEEP_STATE:
diff --git a/usr/src/lib/libeti/menu/sparcv9/Makefile b/usr/src/lib/libeti/menu/sparcv9/Makefile
index 7b4108b69c..04160e850a 100644
--- a/usr/src/lib/libeti/menu/sparcv9/Makefile
+++ b/usr/src/lib/libeti/menu/sparcv9/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libeti/menu/sparc/Makefile
-MAPDIR= ../spec/sparcv9
include ../Makefile.com
include ../../../Makefile.lib.64
@@ -36,5 +33,3 @@ DYNFLAGS += $(DYNFLAGS64)
.KEEP_STATE:
install: all $(ROOTLIBS64) $(ROOTLINKS64)
-
-$(DYNLIB): $(MAPFILE)
diff --git a/usr/src/lib/libeti/menu/spec/Makefile b/usr/src/lib/libeti/menu/spec/Makefile
deleted file mode 100644
index 0ee81155b6..0000000000
--- a/usr/src/lib/libeti/menu/spec/Makefile
+++ /dev/null
@@ -1,30 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libeti/menu/spec/Makefile
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/libeti/menu/spec/Makefile.targ b/usr/src/lib/libeti/menu/spec/Makefile.targ
deleted file mode 100644
index 75f6ec5571..0000000000
--- a/usr/src/lib/libeti/menu/spec/Makefile.targ
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libeti/menu/spec/Makefile.targ
-
-LIBRARY = libmenu.a
-VERS = .1
-
-OBJECTS = menu.o
-
-TRANSCPP =
-SPECCPP =
diff --git a/usr/src/lib/libeti/menu/spec/amd64/Makefile b/usr/src/lib/libeti/menu/spec/amd64/Makefile
deleted file mode 100644
index 2a38c1cba9..0000000000
--- a/usr/src/lib/libeti/menu/spec/amd64/Makefile
+++ /dev/null
@@ -1,42 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#amd64_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libeti/menu/spec/i386/Makefile b/usr/src/lib/libeti/menu/spec/i386/Makefile
deleted file mode 100644
index dca9c4bcdc..0000000000
--- a/usr/src/lib/libeti/menu/spec/i386/Makefile
+++ /dev/null
@@ -1,42 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libeti/menu/spec/i386/Makefile
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#i386_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libeti/menu/spec/menu.spec b/usr/src/lib/libeti/menu/spec/menu.spec
deleted file mode 100644
index 00a0b7a9f6..0000000000
--- a/usr/src/lib/libeti/menu/spec/menu.spec
+++ /dev/null
@@ -1,456 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libeti/menu/spec/menu.spec
-
-function current_item
-include <menu.h>
-declaration ITEM *current_item(MENU *menu)
-version SUNW_1.1
-end
-
-function free_item
-include <menu.h>
-declaration int free_item(ITEM *item)
-version SUNW_1.1
-end
-
-function free_menu
-include <menu.h>
-declaration int free_menu(MENU *menu)
-version SUNW_1.1
-end
-
-function item_count
-include <menu.h>
-declaration int item_count(MENU *menu)
-version SUNW_1.1
-end
-
-function item_description
-include <menu.h>
-declaration char *item_description(ITEM *item)
-version SUNW_1.1
-end
-
-function item_index
-include <menu.h>
-declaration int item_index(ITEM *item)
-version SUNW_1.1
-end
-
-function item_init
-include <menu.h>
-declaration PTF_void item_init(MENU *menu)
-version SUNW_1.1
-end
-
-function item_name
-include <menu.h>
-declaration char *item_name(ITEM *item)
-version SUNW_1.1
-end
-
-function item_opts
-include <menu.h>
-declaration OPTIONS item_opts(ITEM *item)
-version SUNW_1.1
-end
-
-function item_opts_off
-include <menu.h>
-declaration int item_opts_off(ITEM *item, OPTIONS opts)
-version SUNW_1.1
-end
-
-function item_opts_on
-include <menu.h>
-declaration int item_opts_on(ITEM *item, OPTIONS opts)
-version SUNW_1.1
-end
-
-function item_term
-include <menu.h>
-declaration PTF_void item_term(MENU *menu)
-version SUNW_1.1
-end
-
-function item_userptr
-include <menu.h>
-declaration char *item_userptr(ITEM *item)
-version SUNW_1.1
-end
-
-function item_value
-include <menu.h>
-declaration int item_value(ITEM *item)
-version SUNW_1.1
-end
-
-function item_visible
-include <menu.h>
-declaration int item_visible(ITEM *item)
-version SUNW_1.1
-end
-
-function menu_back
-include <menu.h>
-declaration chtype menu_back(MENU *menu)
-version SUNW_1.1
-end
-
-function menu_driver
-include <menu.h>
-declaration int menu_driver(MENU *menu, int c)
-version SUNW_1.1
-end
-
-function menu_fore
-include <menu.h>
-declaration chtype menu_fore(MENU *menu)
-version SUNW_1.1
-end
-
-function menu_format
-include <menu.h>
-declaration void menu_format(MENU *menu, int *rows, int *cols)
-version SUNW_1.1
-end
-
-function menu_grey
-include <menu.h>
-declaration chtype menu_grey(MENU *menu)
-version SUNW_1.1
-end
-
-function menu_init
-include <menu.h>
-declaration PTF_void menu_init(MENU *menu)
-version SUNW_1.1
-end
-
-function menu_items
-include <menu.h>
-declaration ITEM **menu_items(MENU *menu)
-version SUNW_1.1
-end
-
-function menu_mark
-include <menu.h>
-declaration char *menu_mark(MENU *menu)
-version SUNW_1.1
-end
-
-function menu_opts
-include <menu.h>
-declaration OPTIONS menu_opts(MENU *menu)
-version SUNW_1.1
-end
-
-function menu_opts_off
-include <menu.h>
-declaration int menu_opts_off(MENU *menu, OPTIONS opts)
-version SUNW_1.1
-end
-
-function menu_opts_on
-include <menu.h>
-declaration int menu_opts_on(MENU *menu, OPTIONS opts)
-version SUNW_1.1
-end
-
-function menu_pad
-include <menu.h>
-declaration int menu_pad(MENU *menu)
-version SUNW_1.1
-end
-
-function menu_pattern
-include <menu.h>
-declaration char *menu_pattern(MENU *menu)
-version SUNW_1.1
-end
-
-function menu_sub
-include <menu.h>
-declaration WINDOW *menu_sub(MENU *menu)
-version SUNW_1.1
-end
-
-function menu_term
-include <menu.h>
-declaration PTF_void menu_term(MENU *menu)
-version SUNW_1.1
-end
-
-function menu_userptr
-include <menu.h>
-declaration char *menu_userptr(MENU *menu)
-version SUNW_1.1
-end
-
-function menu_win
-include <menu.h>
-declaration WINDOW *menu_win(MENU *menu)
-version SUNW_1.1
-end
-
-function new_item
-include <menu.h>
-declaration ITEM *new_item(char *name, char *desc)
-version SUNW_1.1
-end
-
-function new_menu
-include <menu.h>
-declaration MENU *new_menu(ITEM **items)
-version SUNW_1.1
-end
-
-function pos_menu_cursor
-include <menu.h>
-declaration int pos_menu_cursor(MENU *menu)
-version SUNW_1.1
-end
-
-function post_menu
-include <menu.h>
-declaration int post_menu(MENU *menu)
-version SUNW_1.1
-end
-
-function scale_menu
-include <menu.h>
-declaration int scale_menu(MENU *menu, int *rows, int *cols)
-version SUNW_1.1
-end
-
-function set_current_item
-include <menu.h>
-declaration int set_current_item(MENU *menu, ITEM *item)
-version SUNW_1.1
-end
-
-function set_item_init
-include <menu.h>
-declaration int set_item_init(MENU *menu, void (*func)(MENU *))
-version SUNW_1.1
-end
-
-function set_item_opts
-include <menu.h>
-declaration int set_item_opts(ITEM *item, OPTIONS opts)
-version SUNW_1.1
-end
-
-function set_item_term
-include <menu.h>
-declaration int set_item_term(MENU *menu, void (*func)(MENU *))
-version SUNW_1.1
-end
-
-function set_item_userptr
-include <menu.h>
-declaration int set_item_userptr(ITEM *item, char *userptr)
-version SUNW_1.1
-end
-
-function set_item_value
-include <menu.h>
-declaration int set_item_value(ITEM *item, int bool)
-version SUNW_1.1
-end
-
-function set_menu_back
-include <menu.h>
-declaration int set_menu_back(MENU *menu, chtype attr)
-version SUNW_1.1
-end
-
-function set_menu_fore
-include <menu.h>
-declaration int set_menu_fore(MENU *menu, chtype attr)
-version SUNW_1.1
-end
-
-function set_menu_format
-include <menu.h>
-declaration int set_menu_format(MENU *menu, int rows, int cols)
-version SUNW_1.1
-end
-
-function set_menu_grey
-include <menu.h>
-declaration int set_menu_grey(MENU*menu, chtype attr)
-version SUNW_1.1
-end
-
-function set_menu_init
-include <menu.h>
-declaration int set_menu_init(MENU *menu, void (*func)(MENU *))
-version SUNW_1.1
-end
-
-function set_menu_items
-include <menu.h>
-declaration int set_menu_items(MENU *menu, ITEM **items)
-version SUNW_1.1
-end
-
-function set_menu_mark
-include <menu.h>
-declaration int set_menu_mark(MENU *menu, char *mark)
-version SUNW_1.1
-end
-
-function set_menu_opts
-include <menu.h>
-declaration int set_menu_opts(MENU *menu, OPTIONS opts)
-version SUNW_1.1
-end
-
-function set_menu_pad
-include <menu.h>
-declaration int set_menu_pad(MENU *menu, int pad)
-version SUNW_1.1
-end
-
-function set_menu_pattern
-include <menu.h>
-declaration int set_menu_pattern(MENU *menu, char *pat)
-version SUNW_1.1
-end
-
-function set_menu_sub
-include <menu.h>
-declaration int set_menu_sub(MENU *menu, WINDOW *sub)
-version SUNW_1.1
-end
-
-function set_menu_term
-include <menu.h>
-declaration int set_menu_term(MENU *menu, void (*func)(MENU *))
-version SUNW_1.1
-end
-
-function set_menu_userptr
-include <menu.h>
-declaration int set_menu_userptr(MENU *menu, char *userptr)
-version SUNW_1.1
-end
-
-function set_menu_win
-include <menu.h>
-declaration int set_menu_win(MENU *menu, WINDOW *win)
-version SUNW_1.1
-end
-
-function set_top_row
-include <menu.h>
-declaration int set_top_row(MENU *menu, int row)
-version SUNW_1.1
-end
-
-function top_row
-include <menu.h>
-declaration int top_row(MENU *menu)
-version SUNW_1.1
-end
-
-function unpost_menu
-include <menu.h>
-declaration int unpost_menu(MENU *menu)
-version SUNW_1.1
-end
-
-function _affect_change
-version SUNWprivate_1.1
-end
-
-function _chk_current
-version SUNWprivate_1.1
-end
-
-function _chk_top
-version SUNWprivate_1.1
-end
-
-function _connect
-version SUNWprivate_1.1
-end
-
-function _Default_Item
-version SUNWprivate_1.1
-end
-
-function _Default_Menu
-version SUNWprivate_1.1
-end
-
-function _disconnect
-version SUNWprivate_1.1
-end
-
-function _draw
-version SUNWprivate_1.1
-end
-
-function _lib_version
-version SUNWprivate_1.1
-end
-
-function _link_items
-version SUNWprivate_1.1
-end
-
-function _match
-version SUNWprivate_1.1
-end
-
-function _move_post_item
-version SUNWprivate_1.1
-end
-
-function _movecurrent
-version SUNWprivate_1.1
-end
-
-function _position_cursor
-version SUNWprivate_1.1
-end
-
-function _post_item
-version SUNWprivate_1.1
-end
-
-function _scale
-version SUNWprivate_1.1
-end
-
-function _show
-version SUNWprivate_1.1
-end
-
diff --git a/usr/src/lib/libeti/menu/spec/sparc/Makefile b/usr/src/lib/libeti/menu/spec/sparc/Makefile
deleted file mode 100644
index bd3ceedb93..0000000000
--- a/usr/src/lib/libeti/menu/spec/sparc/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libeti/menu/spec/sparc/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#sparc_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libeti/menu/spec/sparcv9/Makefile b/usr/src/lib/libeti/menu/spec/sparcv9/Makefile
deleted file mode 100644
index e4e1ea6862..0000000000
--- a/usr/src/lib/libeti/menu/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,43 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libeti/menu/spec/sparcv9/Makefile
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#sparcv9_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libeti/menu/spec/versions b/usr/src/lib/libeti/menu/spec/versions
deleted file mode 100644
index 38a2cfc77a..0000000000
--- a/usr/src/lib/libeti/menu/spec/versions
+++ /dev/null
@@ -1,43 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-sparc {
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-sparcv9 {
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-i386 {
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-amd64 {
- SUNW_1.1;
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/libeti/panel/Makefile b/usr/src/lib/libeti/panel/Makefile
index 9a32913d80..d39c71495b 100644
--- a/usr/src/lib/libeti/panel/Makefile
+++ b/usr/src/lib/libeti/panel/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,13 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libeti/panel/Makefile
-#
include ../../Makefile.lib
@@ -41,9 +38,7 @@ lint := TARGET= lint
.KEEP_STATE:
-all clean clobber install: spec .WAIT $(SUBDIRS)
-
-lint: $(SUBDIRS)
+all clean clobber install lint: $(SUBDIRS)
# definitions for install_h target
HDRS= panel.h
@@ -59,7 +54,7 @@ install_h: $(ROOTHDRS)
check: $(CHECKHDRS)
-spec $(SUBDIRS): FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
diff --git a/usr/src/lib/libeti/panel/Makefile.com b/usr/src/lib/libeti/panel/Makefile.com
index ffdf998885..21f886f639 100644
--- a/usr/src/lib/libeti/panel/Makefile.com
+++ b/usr/src/lib/libeti/panel/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -25,8 +24,6 @@
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libeti/panel/Makefile.com
-#
LIBRARY= libpanel.a
VERS= .1
@@ -44,8 +41,6 @@ OBJECTS= \
# include library definitions
include ../../../Makefile.lib
-MAPFILE= $(MAPDIR)/mapfile
-
LIBS = $(DYNLIB) $(LINTLIB)
SRCDIR= ../common
@@ -54,7 +49,6 @@ $(LINTLIB) := SRCS=$(SRCDIR)/$(LINTSRC)
CPPFLAGS += -I../inc
CFLAGS += $(CCVERBOSE)
-DYNFLAGS += -M $(MAPFILE)
LDLIBS += -lcurses -lc
.KEEP_STATE:
@@ -63,11 +57,6 @@ all: $(LIBS) fnamecheck
lint: lintcheck
-$(DYNLIB): $(MAPFILE)
-
-$(MAPFILE):
- @cd $(MAPDIR); $(MAKE) mapfile
-
# include library targets
include ../../../Makefile.targ
diff --git a/usr/src/lib/libeti/panel/amd64/Makefile b/usr/src/lib/libeti/panel/amd64/Makefile
index c8f079aaac..04160e850a 100644
--- a/usr/src/lib/libeti/panel/amd64/Makefile
+++ b/usr/src/lib/libeti/panel/amd64/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,13 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-MAPDIR= ../spec/amd64
include ../Makefile.com
include ../../../Makefile.lib.64
@@ -35,5 +33,3 @@ DYNFLAGS += $(DYNFLAGS64)
.KEEP_STATE:
install: all $(ROOTLIBS64) $(ROOTLINKS64)
-
-$(DYNLIB): $(MAPFILE)
diff --git a/usr/src/lib/libeti/panel/common/mapfile-vers b/usr/src/lib/libeti/panel/common/mapfile-vers
new file mode 100644
index 0000000000..407978bce4
--- /dev/null
+++ b/usr/src/lib/libeti/panel/common/mapfile-vers
@@ -0,0 +1,60 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNW_1.1 {
+ global:
+ bottom_panel;
+ del_panel;
+ hide_panel;
+ move_panel;
+ new_panel;
+ panel_above;
+ panel_below;
+ panel_hidden;
+ panel_userptr;
+ panel_window;
+ replace_panel;
+ set_panel_userptr;
+ show_panel;
+ top_panel;
+ update_panels;
+};
+
+SUNWprivate_1.1 {
+ global:
+ _alloc_overlap;
+ _Bottom_panel;
+ _free_overlap;
+ _intersect_panel;
+ _lib_version;
+ _Panel_cnt;
+ _remove_overlap;
+ _Top_panel;
+ _unlink_obs;
+ local:
+ *;
+};
diff --git a/usr/src/lib/libeti/panel/i386/Makefile b/usr/src/lib/libeti/panel/i386/Makefile
index a237a87be2..775621cd27 100644
--- a/usr/src/lib/libeti/panel/i386/Makefile
+++ b/usr/src/lib/libeti/panel/i386/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,15 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright 1997-2003 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libeti/panel/sparc/Makefile
-#
-MAPDIR= ../spec/i386
include ../Makefile.com
.KEEP_STATE:
diff --git a/usr/src/lib/libeti/panel/sparc/Makefile b/usr/src/lib/libeti/panel/sparc/Makefile
index d2d347cbee..775621cd27 100644
--- a/usr/src/lib/libeti/panel/sparc/Makefile
+++ b/usr/src/lib/libeti/panel/sparc/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,15 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright 1997-2003 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libeti/panel/sparc/Makefile
-#
-MAPDIR= ../spec/sparc
include ../Makefile.com
.KEEP_STATE:
diff --git a/usr/src/lib/libeti/panel/sparcv9/Makefile b/usr/src/lib/libeti/panel/sparcv9/Makefile
index 15522725a0..04160e850a 100644
--- a/usr/src/lib/libeti/panel/sparcv9/Makefile
+++ b/usr/src/lib/libeti/panel/sparcv9/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,16 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
-# All rights reserved.
-#
-# lib/libeti/panel/sparc/Makefile
+# ident "%Z%%M% %I% %E% SMI"
#
-MAPDIR= ../spec/sparcv9
include ../Makefile.com
include ../../../Makefile.lib.64
@@ -38,5 +33,3 @@ DYNFLAGS += $(DYNFLAGS64)
.KEEP_STATE:
install: all $(ROOTLIBS64) $(ROOTLINKS64)
-
-$(DYNLIB): $(MAPFILE)
diff --git a/usr/src/lib/libeti/panel/spec/Makefile b/usr/src/lib/libeti/panel/spec/Makefile
deleted file mode 100644
index 4ecd4c567b..0000000000
--- a/usr/src/lib/libeti/panel/spec/Makefile
+++ /dev/null
@@ -1,30 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libeti/panel/spec/Makefile
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/libeti/panel/spec/Makefile.targ b/usr/src/lib/libeti/panel/spec/Makefile.targ
deleted file mode 100644
index d6bb3f03bc..0000000000
--- a/usr/src/lib/libeti/panel/spec/Makefile.targ
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libeti/panel/spec/Makefile.targ
-
-LIBRARY = libpanel.a
-VERS = .1
-
-OBJECTS = panel.o
-
-TRANSCPP =
-SPECCPP =
diff --git a/usr/src/lib/libeti/panel/spec/amd64/Makefile b/usr/src/lib/libeti/panel/spec/amd64/Makefile
deleted file mode 100644
index 2a38c1cba9..0000000000
--- a/usr/src/lib/libeti/panel/spec/amd64/Makefile
+++ /dev/null
@@ -1,42 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#amd64_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libeti/panel/spec/i386/Makefile b/usr/src/lib/libeti/panel/spec/i386/Makefile
deleted file mode 100644
index d3797c6cbf..0000000000
--- a/usr/src/lib/libeti/panel/spec/i386/Makefile
+++ /dev/null
@@ -1,42 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libeti/panel/spec/i386/Makefile
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#i386_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libeti/panel/spec/panel.spec b/usr/src/lib/libeti/panel/spec/panel.spec
deleted file mode 100644
index d99791b29b..0000000000
--- a/usr/src/lib/libeti/panel/spec/panel.spec
+++ /dev/null
@@ -1,154 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libeti/panel/spec/panel.spec
-
-function bottom_panel
-include <panel.h>
-declaration int bottom_panel(PANEL *panel)
-version SUNW_1.1
-end
-
-function del_panel
-include <panel.h>
-declaration int del_panel(PANEL *panel)
-version SUNW_1.1
-end
-
-function hide_panel
-include <panel.h>
-declaration int hide_panel(PANEL *panel)
-version SUNW_1.1
-end
-
-function move_panel
-include <panel.h>
-declaration int move_panel(PANEL *panel, int starty, int startx)
-version SUNW_1.1
-end
-
-function new_panel
-include <panel.h>
-declaration PANEL *new_panel(WINDOW *win)
-version SUNW_1.1
-end
-
-function panel_above
-include <panel.h>
-declaration PANEL *panel_above(PANEL *panel)
-version SUNW_1.1
-end
-
-function panel_below
-include <panel.h>
-declaration PANEL *panel_below(PANEL *panel)
-version SUNW_1.1
-end
-
-function panel_hidden
-include <panel.h>
-declaration int panel_hidden(PANEL *panel)
-version SUNW_1.1
-end
-
-function panel_userptr
-include <panel.h>
-declaration char * panel_userptr(PANEL *panel)
-version SUNW_1.1
-end
-
-function panel_window
-include <panel.h>
-declaration WINDOW *panel_window(PANEL *panel)
-version SUNW_1.1
-end
-
-function set_panel_userptr
-include <panel.h>
-declaration int set_panel_userptr(PANEL *panel, char *ptr)
-version SUNW_1.1
-end
-
-function show_panel
-include <panel.h>
-declaration int show_panel(PANEL *panel)
-version SUNW_1.1
-end
-
-function replace_panel
-include <panel.h>
-declaration int replace_panel(PANEL *panel, WINDOW *win)
-version SUNW_1.1
-end
-
-function top_panel
-include <panel.h>
-declaration int top_panel(PANEL *panel)
-version SUNW_1.1
-end
-
-function update_panels
-include <panel.h>
-declaration void update_panels(void)
-version SUNW_1.1
-end
-
-function _Bottom_panel
-version SUNWprivate_1.1
-end
-
-function _Panel_cnt
-version SUNWprivate_1.1
-end
-
-function _Top_panel
-version SUNWprivate_1.1
-end
-
-function _alloc_overlap
-version SUNWprivate_1.1
-end
-
-function _free_overlap
-version SUNWprivate_1.1
-end
-
-function _intersect_panel
-version SUNWprivate_1.1
-end
-
-function _lib_version
-version SUNWprivate_1.1
-end
-
-function _remove_overlap
-version SUNWprivate_1.1
-end
-
-function _unlink_obs
-version SUNWprivate_1.1
-end
-
diff --git a/usr/src/lib/libeti/panel/spec/sparc/Makefile b/usr/src/lib/libeti/panel/spec/sparc/Makefile
deleted file mode 100644
index 6ebc46a79e..0000000000
--- a/usr/src/lib/libeti/panel/spec/sparc/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libeti/panel/spec/sparc/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#sparc_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libeti/panel/spec/sparcv9/Makefile b/usr/src/lib/libeti/panel/spec/sparcv9/Makefile
deleted file mode 100644
index e3c7abe755..0000000000
--- a/usr/src/lib/libeti/panel/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,43 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libeti/panel/spec/sparcv9/Makefile
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#sparcv9_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libeti/panel/spec/versions b/usr/src/lib/libeti/panel/spec/versions
deleted file mode 100644
index 38a2cfc77a..0000000000
--- a/usr/src/lib/libeti/panel/spec/versions
+++ /dev/null
@@ -1,43 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-sparc {
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-sparcv9 {
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-i386 {
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-amd64 {
- SUNW_1.1;
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/libexacct/Makefile b/usr/src/lib/libexacct/Makefile
index bf453238ba..222978e736 100644
--- a/usr/src/lib/libexacct/Makefile
+++ b/usr/src/lib/libexacct/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,12 +19,10 @@
# CDDL HEADER END
#
#
-# Copyright 1999-2002 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libexacct/Makefile
+# ident "%Z%%M% %I% %E% SMI"
#
include ../Makefile.lib
@@ -55,22 +52,20 @@ CP= cp
.KEEP_STATE:
-all debug clean clobber delete install package: spec .WAIT $(SUBDIRS)
-
-lint: $(SUBDIRS)
+all debug clean clobber delete install lint package: $(SUBDIRS)
install_h: $(ROOTHDRS)
check: $(CHECKHDRS)
-spec $(SUBDIRS): FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
-_msg: $(MSGDOMAIN) $(POFILE)
+_msg: $(MSGDOMAIN) .WAIT $(POFILE)
$(RM) $(MSGDOMAIN)/$(POFILE)
$(CP) $(POFILE) $(MSGDOMAIN)
-$(POFILE): .WAIT $(POFILES)
+$(POFILE): $(POFILES)
$(RM) $@
$(CAT) $(POFILES) > $@
diff --git a/usr/src/lib/libexacct/Makefile.com b/usr/src/lib/libexacct/Makefile.com
index 5662f38f83..82925b1906 100644
--- a/usr/src/lib/libexacct/Makefile.com
+++ b/usr/src/lib/libexacct/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,7 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
@@ -39,11 +38,9 @@ SRCS= $(COMMON_OBJS:%.o=../../../common/exacct/%.c) \
LIBS = $(DYNLIB) $(LINTLIB)
LDLIBS += -lc
-$(LINTLIB) := SRCS = $(SRCDIR)/$(LINTSRC)
SRCDIR = ../common
-MAPDIR = ../spec/$(TRANSMACH)
-SPECMAPFILE = $(MAPDIR)/mapfile
+$(LINTLIB) := SRCS = $(SRCDIR)/$(LINTSRC)
CFLAGS += $(CCVERBOSE)
CPPFLAGS += -D_FILE_OFFSET_BITS=64
diff --git a/usr/src/lib/libexacct/common/mapfile-vers b/usr/src/lib/libexacct/common/mapfile-vers
new file mode 100644
index 0000000000..d1e0ff74ea
--- /dev/null
+++ b/usr/src/lib/libexacct/common/mapfile-vers
@@ -0,0 +1,74 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNW_1.3 {
+ global:
+ ea_clear;
+ ea_fdopen;
+} SUNW_1.2;
+
+SUNW_1.2 {
+ global:
+ ea_alloc;
+ ea_attach_to_group;
+ ea_attach_to_object;
+ ea_copy_object;
+ ea_copy_object_tree;
+ ea_free;
+ ea_free_item;
+ ea_get_object_tree;
+ ea_strdup;
+ ea_strfree;
+} SUNW_1.1;
+
+SUNW_1.1 {
+ global:
+ ea_close;
+ ea_error;
+ ea_free_object;
+ ea_get_creator;
+ ea_get_hostname;
+ ea_get_object;
+ ea_match_object_catalog;
+ ea_next_object;
+ ea_open;
+ ea_pack_object;
+ ea_previous_object;
+ ea_set_group;
+ ea_set_item;
+ ea_unpack_object;
+ ea_write_object;
+};
+
+SUNWprivate {
+ global:
+ exacct_order16;
+ exacct_order32;
+ exacct_order64;
+ local:
+ *;
+};
diff --git a/usr/src/lib/libexacct/spec/Makefile b/usr/src/lib/libexacct/spec/Makefile
deleted file mode 100644
index e91ff02df0..0000000000
--- a/usr/src/lib/libexacct/spec/Makefile
+++ /dev/null
@@ -1,31 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1999-2000 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libexacct/spec/Makefile
-#
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/libexacct/spec/Makefile.targ b/usr/src/lib/libexacct/spec/Makefile.targ
deleted file mode 100644
index b6a2252892..0000000000
--- a/usr/src/lib/libexacct/spec/Makefile.targ
+++ /dev/null
@@ -1,34 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1999-2000 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libexacct/spec/Makefile.targ
-#
-
-LIBRARY= libexacct.a
-VERS= .1
-
-OBJECTS= exacct.o
diff --git a/usr/src/lib/libexacct/spec/amd64/Makefile b/usr/src/lib/libexacct/spec/amd64/Makefile
deleted file mode 100644
index 747e875202..0000000000
--- a/usr/src/lib/libexacct/spec/amd64/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJEcTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#amd64_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libexacct/spec/exacct.spec b/usr/src/lib/libexacct/spec/exacct.spec
deleted file mode 100644
index 03c3def8a4..0000000000
--- a/usr/src/lib/libexacct/spec/exacct.spec
+++ /dev/null
@@ -1,199 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-function ea_alloc
-include <exacct.h>
-declaration void *ea_alloc(size_t size)
-version SUNW_1.2
-end
-
-function ea_free
-include <exacct.h>
-declaration void ea_free(void *ptr, size_t size)
-version SUNW_1.2
-end
-
-function ea_strdup
-include <exacct.h>
-declaration char *ea_strdup(const char *ptr)
-version SUNW_1.2
-end
-
-function ea_strfree
-include <exacct.h>
-declaration void ea_strfree(char *ptr)
-version SUNW_1.2
-end
-
-function ea_error
-include <exacct.h>
-declaration int ea_error(void)
-version SUNW_1.1
-end
-
-function ea_open
-include <exacct.h>
-declaration int ea_open(ea_file_t *ef, const char *name, const char *creator, int aflags, int oflags, mode_t mode)
-version SUNW_1.1
-end
-
-function ea_fdopen
-include <exacct.h>
-declaration int ea_fdopen(ea_file_t *ef, int fd, const char *creator, int aflags, int oflags)
-version SUNW_1.3
-end
-
-function ea_clear
-include <exacct.h>
-declaration void ea_clear(ea_file_t *ef)
-version SUNW_1.3
-end
-
-function ea_close
-include <exacct.h>
-declaration int ea_close(ea_file_t *ef)
-version SUNW_1.1
-end
-
-function ea_next_object
-include <exacct.h>
-declaration ea_object_type_t ea_next_object(ea_file_t *ef, ea_object_t *obj)
-version SUNW_1.1
-end
-
-function ea_previous_object
-include <exacct.h>
-declaration ea_object_type_t ea_previous_object(ea_file_t *ef, ea_object_t *obj)
-version SUNW_1.1
-end
-
-function ea_get_object
-include <exacct.h>
-declaration ea_object_type_t ea_get_object(ea_file_t *ef, ea_object_t *obj)
-version SUNW_1.1
-end
-
-function ea_write_object
-include <exacct.h>
-declaration int ea_write_object(ea_file_t *ef, ea_object_t *obj)
-version SUNW_1.1
-end
-
-function ea_unpack_object
-include <sys/exacct.h>
-declaration ea_object_type_t ea_unpack_object(ea_object_t **objp, int flag, void *buf, size_t bufsize)
-version SUNW_1.1
-end
-
-function ea_pack_object
-include <sys/exacct.h>
-declaration size_t ea_pack_object(ea_object_t *obj, void *buf, size_t bufsize)
-version SUNW_1.1
-end
-
-function ea_match_object_catalog
-include <sys/exacct.h>
-declaration int ea_match_object_catalog(ea_object_t *obj, ea_catalog_t mask)
-version SUNW_1.1
-end
-
-function ea_set_item
-include <sys/exacct.h>
-declaration int ea_set_item(ea_object_t *obj, ea_catalog_t tag, const void *value, size_t valsize)
-version SUNW_1.1
-end
-
-function ea_set_group
-include <sys/exacct.h>
-declaration int ea_set_group(ea_object_t *obj, ea_catalog_t tag)
-version SUNW_1.1
-end
-
-function ea_attach_to_object
-include <sys/exacct.h>
-declaration int ea_attach_to_object(ea_object_t *root, ea_object_t *obj)
-version SUNW_1.2
-end
-
-function ea_attach_to_group
-include <sys/exacct.h>
-declaration int ea_attach_to_group(ea_object_t *group, ea_object_t *obj)
-version SUNW_1.2
-end
-
-function ea_free_item
-include <sys/exacct.h>
-declaration int ea_free_item(ea_object_t *obj, int flag)
-version SUNW_1.2
-end
-
-function ea_free_object
-include <sys/exacct.h>
-declaration void ea_free_object(ea_object_t *obj, int flag)
-version SUNW_1.1
-end
-
-function ea_get_creator
-include <sys/exacct.h>
-declaration const char *ea_get_creator(ea_file_t *ef)
-version SUNW_1.1
-end
-
-function ea_get_hostname
-include <sys/exacct.h>
-declaration const char *ea_get_hostname(ea_file_t *ef)
-version SUNW_1.1
-end
-
-function ea_copy_object
-include <sys/exacct.h>
-declaration ea_object_t *ea_copy_object(const ea_object_t *src)
-version SUNW_1.2
-end
-
-function ea_copy_object_tree
-include <sys/exacct.h>
-declaration ea_object_t *ea_copy_object_tree(const ea_object_t *src)
-version SUNW_1.2
-end
-
-function ea_get_object_tree
-include <sys/exacct.h>
-declaration ea_object_t *ea_get_object_tree(ea_file_t *file, uint32_t nobj)
-version SUNW_1.2
-end
-
-function exacct_order16
-version SUNWprivate
-end
-
-function exacct_order32
-version SUNWprivate
-end
-
-function exacct_order64
-version SUNWprivate
-end
diff --git a/usr/src/lib/libexacct/spec/i386/Makefile b/usr/src/lib/libexacct/spec/i386/Makefile
deleted file mode 100644
index e78e070926..0000000000
--- a/usr/src/lib/libexacct/spec/i386/Makefile
+++ /dev/null
@@ -1,37 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1999-2000 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libexacct/spec/i386/Makefile
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libexacct/spec/sparc/Makefile b/usr/src/lib/libexacct/spec/sparc/Makefile
deleted file mode 100644
index cbb55369ea..0000000000
--- a/usr/src/lib/libexacct/spec/sparc/Makefile
+++ /dev/null
@@ -1,45 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1999-2000 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libexacct/spec/sparc/Makefile
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#sparc_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libexacct/spec/sparcv9/Makefile b/usr/src/lib/libexacct/spec/sparcv9/Makefile
deleted file mode 100644
index 1ea4581cac..0000000000
--- a/usr/src/lib/libexacct/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,46 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1999-2000 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libexacct/spec/sparcv9/Makefile
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJEcTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#sparcv9_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libexacct/spec/versions b/usr/src/lib/libexacct/spec/versions
deleted file mode 100644
index f7133b5c7a..0000000000
--- a/usr/src/lib/libexacct/spec/versions
+++ /dev/null
@@ -1,50 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-
-i386 {
- SUNW_1.3: { SUNW_1.2 };
- SUNW_1.2: { SUNW_1.1 };
- SUNW_1.1;
- SUNWprivate;
-}
-sparc {
- SUNW_1.3: { SUNW_1.2 };
- SUNW_1.2: { SUNW_1.1 };
- SUNW_1.1;
- SUNWprivate;
-}
-sparcv9 {
- SUNW_1.3: { SUNW_1.2 };
- SUNW_1.2: { SUNW_1.1 };
- SUNW_1.1;
- SUNWprivate;
-}
-amd64 {
- SUNW_1.3: { SUNW_1.2 };
- SUNW_1.2: { SUNW_1.1 };
- SUNW_1.1;
- SUNWprivate;
-}
diff --git a/usr/src/lib/libfru/Makefile.obj b/usr/src/lib/libfru/Makefile.obj
index 0eac420b35..6b32eb1147 100644
--- a/usr/src/lib/libfru/Makefile.obj
+++ b/usr/src/lib/libfru/Makefile.obj
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,12 +19,10 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libfru/Makefile.obj
+# ident "%Z%%M% %I% %E% SMI"
#
#
@@ -66,3 +63,5 @@ SRCS= $(MAINSRCS) \
# include common Makefiles
include ../../Makefile.lib
+# There should be a mapfile here
+MAPFILES =
diff --git a/usr/src/lib/libfru/libfrupicl/Makefile.com b/usr/src/lib/libfru/libfrupicl/Makefile.com
index c3aecd6eaf..39d304c0ee 100644
--- a/usr/src/lib/libfru/libfrupicl/Makefile.com
+++ b/usr/src/lib/libfru/libfrupicl/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,12 +19,13 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
+
LIBRARY= libfrupicl.a
VERS= .1
@@ -34,11 +34,13 @@ OBJECTS= frupicl.o
# include library definitions
include $(SRC)/lib/Makefile.lib
-SRCS= $(OBJECTS:%.o=../%.c)
CLOBBERFILES += $(LIBLINKS)
LIBS = $(DYNLIB)
+# There should be a mapfile here
+MAPFILES =
+
LINTFLAGS = -mnux
LINTFLAGS64 = $(LINTFLAGS) -Xarch=$(MACH64:sparcv9=v9)
LINTOUT= lint.out
@@ -78,11 +80,6 @@ _msg: $(MSGDOMAIN) $(POFILE)
$(RM) $(MSGDOMAIN)/$(POFILE)
$(CP) $(POFILE) $(MSGDOMAIN)
-$(DYNLIB): $(MAPFILE)
-
-$(MAPFILE):
- @cd $(MAPDIR); $(MAKE) mapfile
-
# include library targets
include $(SRC)/lib/Makefile.targ
diff --git a/usr/src/lib/libfru/libfrupicltree/Makefile.com b/usr/src/lib/libfru/libfrupicltree/Makefile.com
index 5e3f905a7b..22ca075446 100644
--- a/usr/src/lib/libfru/libfrupicltree/Makefile.com
+++ b/usr/src/lib/libfru/libfrupicltree/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,7 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
@@ -33,11 +32,13 @@ OBJECTS= frupicltree.o
include $(SRC)/lib/Makefile.lib
-SRCS= $(OBJECTS:%.o=../%.c)
CLOBBERFILES += $(LIBLINKS)
LIBS = $(DYNLIB)
+# There should be a mapfile here
+MAPFILES =
+
LINTFLAGS = -mnux
LINTFLAGS64 = $(LINTFLAGS) -Xarch=$(MACH64:sparcv9=v9)
LINTOUT= lint.out
@@ -77,11 +78,6 @@ _msg: $(MSGDOMAIN) $(POFILE)
$(RM) $(MSGDOMAIN)/$(POFILE)
$(CP) $(POFILE) $(MSGDOMAIN)
-$(DYNLIB): $(MAPFILE)
-
-$(MAPFILE):
- @cd $(MAPDIR); $(MAKE) mapfile
-
include $(SRC)/lib/Makefile.targ
pics/%.o: ../%.c
diff --git a/usr/src/lib/libfru/libfrureg/Makefile.com b/usr/src/lib/libfru/libfrureg/Makefile.com
index 1d370fe047..243a16d8d1 100644
--- a/usr/src/lib/libfru/libfrureg/Makefile.com
+++ b/usr/src/lib/libfru/libfrureg/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,7 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
@@ -34,13 +33,13 @@ OBJECTS= frureg.o
# include library definitions
include $(SRC)/lib/Makefile.lib
-SRCS= $(OBJECTS:%.o=../%.c)
-#MAPFILE= $(MAPDIR)/mapfile
-#CLOBBERFILES += $(MAPFILE)
CLOBBERFILES += $(LIBLINKS)
LIBS = $(DYNLIB)
+# There should be a mapfile here
+MAPFILES =
+
LINTFLAGS = -uxn
LINTFLAGS64 = $(LINTFLAGS) -Xarch=$(MACH64:sparcv9=v9)
LINTOUT= lint.out
@@ -80,11 +79,6 @@ _msg: $(MSGDOMAIN) $(POFILE)
$(RM) $(MSGDOMAIN)/$(POFILE)
$(CP) $(POFILE) $(MSGDOMAIN)
-$(DYNLIB): $(MAPFILE)
-
-$(MAPFILE):
- @cd $(MAPDIR); $(MAKE) mapfile
-
# include library targets
include $(SRC)/lib/Makefile.targ
diff --git a/usr/src/lib/libfruutils/Makefile.com b/usr/src/lib/libfruutils/Makefile.com
index bc119e2373..25b526178d 100644
--- a/usr/src/lib/libfruutils/Makefile.com
+++ b/usr/src/lib/libfruutils/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -34,11 +33,13 @@ OBJECTS= fru_tag.o
# include library definitions
include $(SRC)/lib/Makefile.lib
-SRCS= $(OBJECTS:%.o=../%.c)
CLOBBERFILES += $(LIBLINKS)
LIBS = $(DYNLIB)
+# There should be a mapfile here
+MAPFILES =
+
LINTFLAGS = -uxn
LINTFLAGS64 = $(LINTFLAGS) -Xarch=$(MACH64:sparcv9=v9)
LINTOUT= lint.out
diff --git a/usr/src/lib/libfsmgt/Makefile b/usr/src/lib/libfsmgt/Makefile
index 979ce766a8..13fd55c705 100644
--- a/usr/src/lib/libfsmgt/Makefile
+++ b/usr/src/lib/libfsmgt/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,10 +19,10 @@
# CDDL HEADER END
#
#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#pragma ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
include ../../Makefile.master
@@ -42,9 +41,7 @@ lint := TARGET = lint
.KEEP_STATE:
-all clean clobber install: spec .WAIT $(SUBDIRS)
-
-lint: $(SUBDIRS)
+all clean clobber install lint: $(SUBDIRS)
install_h:
@@ -52,7 +49,7 @@ check: $(CHECKHDRS)
$(POFILE):
-spec $(SUBDIRS): FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
diff --git a/usr/src/lib/libfsmgt/Makefile.com b/usr/src/lib/libfsmgt/Makefile.com
index db42f9c89e..d0fd25a89d 100644
--- a/usr/src/lib/libfsmgt/Makefile.com
+++ b/usr/src/lib/libfsmgt/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,7 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
@@ -36,8 +35,6 @@ OBJECTS = fs_mounts.o fs_mount_defaults.o \
cmd.o fileutil.o fs_dfstab.o \
nfs_netcfg.o nfs_nfssec.o
-SRCS = $(OBJECTS:%.o=../%.c)
-
include ../../Makefile.lib
ROOTDIRS= $(ROOT)/usr/include
@@ -48,11 +45,9 @@ CHECKHDRS= $(HDRS:%.h=%.check)
LIBS = $(DYNLIB) $(LINTLIB)
LDLIBS += -lc -lnsl -lkstat
-$(LINTLIB) := SRCS = $(SRCDIR)/$(LINTSRC)
SRCDIR = ../common
-MAPDIR = ../spec/$(TRANSMACH)
-SPECMAPFILE = $(MAPDIR)/mapfile
+$(LINTLIB) := SRCS = $(SRCDIR)/$(LINTSRC)
#add nfs/lib directory as part of the include path
CFLAGS += $(CCVERBOSE)
diff --git a/usr/src/lib/libfsmgt/common/mapfile-vers b/usr/src/lib/libfsmgt/common/mapfile-vers
new file mode 100644
index 0000000000..3a98468e82
--- /dev/null
+++ b/usr/src/lib/libfsmgt/common/mapfile-vers
@@ -0,0 +1,90 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNWprivate_1.1 {
+ global:
+ cmd_execute_command;
+ cmd_execute_command_and_retrieve_string;
+ cmd_retrieve_string;
+ fileutil_add_string_to_array;
+ fileutil_free_string_array;
+ fileutil_get_cmd_from_string;
+ fileutil_get_first_column_data;
+ fileutil_getfs;
+ fileutil_getline;
+ fs_add_DFStab_ent;
+ fs_add_mount_default;
+ fs_check_for_duplicate_DFStab_paths;
+ fs_create_array_from_accesslist;
+ fs_del_All_DFStab_ents_with_Path;
+ fs_del_DFStab_ent;
+ fs_del_mount_default_ent;
+ fs_edit_DFStab_ent;
+ fs_edit_mount_defaults;
+ fs_free_DFStab_ents;
+ fs_free_mntdefaults_list;
+ fs_free_mount_list;
+ fs_free_share_list;
+ fs_get_availablesize;
+ fs_get_avail_for_nonsuperuser_size;
+ fs_get_blocksize;
+ fs_get_DFStab_ent_Desc;
+ fs_get_DFStab_ent_Fstype;
+ fs_get_DFStab_ent_Next;
+ fs_get_DFStab_ent_Options;
+ fs_get_DFStab_ent_Path;
+ fs_get_DFStab_ent_Res;
+ fs_get_DFStab_ents;
+ fs_get_Dfstab_share_cmd;
+ fs_get_filtered_mount_defaults;
+ fs_get_filtered_mount_list;
+ fs_get_fragsize;
+ fs_get_maxfilenamelen;
+ fs_get_mount_defaults;
+ fs_get_mount_list;
+ fs_get_mounts_by_mntopt;
+ fs_get_share_list;
+ fs_get_totalsize;
+ fs_get_usedsize;
+ fs_is_readonly;
+ fs_parse_optlist_for_option;
+ fs_parse_opts_for_sec_modes;
+ fs_print_dfstab_entries;
+ fs_set_DFStab_ent;
+ netcfg_free_networkid_list;
+ netcfg_get_networkid_list;
+ nfs_free_mntinfo_list;
+ nfs_get_filtered_mount_list;
+ nfs_get_mount_list;
+ nfs_get_mounts_by_mntopt;
+ nfssec_free_secmode_list;
+ nfssec_get_default_secmode;
+ nfssec_get_nfs_secmode_list;
+ sys_get_hostname;
+ local:
+ *;
+};
diff --git a/usr/src/lib/libfsmgt/spec/Makefile b/usr/src/lib/libfsmgt/spec/Makefile
deleted file mode 100644
index 0378e0e3c9..0000000000
--- a/usr/src/lib/libfsmgt/spec/Makefile
+++ /dev/null
@@ -1,30 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libfsmgt/spec/Makefile
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/libfsmgt/spec/Makefile.targ b/usr/src/lib/libfsmgt/spec/Makefile.targ
deleted file mode 100644
index a002604ffa..0000000000
--- a/usr/src/lib/libfsmgt/spec/Makefile.targ
+++ /dev/null
@@ -1,33 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libfsmgt/spec/Makefile.targ
-
-LIBRARY = libfsmgt.a
-VERS = .1
-OBJECTS = fsmgt.o
-SPECCPP = -I../../common
diff --git a/usr/src/lib/libfsmgt/spec/amd64/Makefile b/usr/src/lib/libfsmgt/spec/amd64/Makefile
deleted file mode 100644
index 4ee7613aaf..0000000000
--- a/usr/src/lib/libfsmgt/spec/amd64/Makefile
+++ /dev/null
@@ -1,32 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-all clean clobber install lint:
- @echo "Nothing to $@ on amd64"
diff --git a/usr/src/lib/libfsmgt/spec/fsmgt.spec b/usr/src/lib/libfsmgt/spec/fsmgt.spec
deleted file mode 100644
index ea271f0023..0000000000
--- a/usr/src/lib/libfsmgt/spec/fsmgt.spec
+++ /dev/null
@@ -1,397 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libfsmgt/spec/fsmgt.spec
-
-function cmd_execute_command
-include <libfsmgt.h>
-declaration int cmd_execute_command(char *cmd, int *output_filedes, \
- int *error_filedes)
-version SUNWprivate_1.1
-end
-
-function cmd_execute_command_and_retrieve_string
-include <libfsmgt.h>
-declaration char *cmd_execute_command_and_retrieve_string(char *cmd, \
- int *errp)
-version SUNWprivate_1.1
-end
-
-function cmd_retrieve_string
-include <libfsmgt.h>
-declaration char *cmd_retrieve_string(int filedes, int *errp)
-version SUNWprivate_1.1
-end
-
-function fileutil_add_string_to_array
-include <libfsmgt.h>
-declaration boolean_t fileutil_add_string_to_array(char ***, char *, \
- int *, int *)
-version SUNWprivate_1.1
-end
-
-function fileutil_free_string_array
-include <libfsmgt.h>
-declaration void fileutil_free_string_array(char **, int)
-version SUNWprivate_1.1
-end
-
-function fileutil_get_cmd_from_string
-include <libfsmgt.h>
-declaration char *fileutil_get_cmd_from_string(char *input_stringp)
-version SUNWprivate_1.1
-end
-
-function fileutil_get_first_column_data
-include <libfsmgt.h>
-declaration char **fileutil_get_first_column_data(FILE *, int *, int *)
-version SUNWprivate_1.1
-end
-
-function fileutil_getfs
-include <libfsmgt.h>
-declaration char *fileutil_getfs(FILE *)
-version SUNWprivate_1.1
-end
-
-function fileutil_getline
-include <libfsmgt.h>
-declaration char *fileutil_getline(FILE *, char *, int)
-version SUNWprivate_1.1
-end
-
-function fs_add_mount_default
-include <libfsmgt.h>
-declaration fs_mntdefaults_t *fs_add_mount_default(fs_mntdefaults_t *, \
- int *)
-version SUNWprivate_1.1
-end
-
-function fs_del_mount_default_ent
-include <libfsmgt.h>
-declaration fs_mntdefaults_t *fs_del_mount_default_ent(fs_mntdefaults_t *, \
- int *)
-version SUNWprivate_1.1
-end
-
-function fs_edit_mount_defaults
-include <libfsmgt.h>
-declaration fs_mntdefaults_t *fs_edit_mount_defaults(fs_mntdefaults_t *, \
- fs_mntdefaults_t *, int *)
-version SUNWprivate_1.1
-end
-
-function fs_free_mntdefaults_list
-include <libfsmgt.h>
-declaration void fs_free_mntdefaults_list(fs_mntdefaults_t *headp);
-version SUNWprivate_1.1
-end
-
-function fs_get_filtered_mount_defaults
-include <libfsmgt.h>
-declaration fs_mntdefaults_t *fs_get_filtered_mount_defaults(\
- fs_mntdefaults_t *filter, int *errp)
-version SUNWprivate_1.1
-end
-
-function fs_get_mount_defaults
-include <libfsmgt.h>
-declaration fs_mntdefaults_t *fs_get_mount_defaults(int *errp)
-version SUNWprivate_1.1
-end
-
-function fs_free_mount_list
-include <libfsmgt.h>
-declaration void fs_free_mount_list(fs_mntlist_t *mnt_list)
-version SUNWprivate_1.1
-end
-
-function fs_get_availablesize
-include <libfsmgt.h>
-declaration unsigned long long fs_get_availablesize(char *mntpnt, int *errp)
-version SUNWprivate_1.1
-end
-
-function fs_get_avail_for_nonsuperuser_size
-include <libfsmgt.h>
-delcaration unsigned long long fs_get_avail_for_nonsuperuser_size(\
- char *mntpnt, int *errp)
-version SUNWprivate_1.1
-end
-
-function fs_get_blocksize
-include <libfsmgt.h>
-declaration unsigned long long fs_get_blocksize(char *mntpnt, int *errp)
-version SUNWprivate_1.1
-end
-
-function fs_get_filtered_mount_list
-include <libfsmgt.h>
-declaration fs_mntlist_t *fs_get_filtered_mount_list(char *resource, \
- char *mountp, char *fstype, char *mntopts, char *time, \
- boolean_t find_overlays, int *errp)
-version SUNWprivate_1.1
-end
-
-function fs_get_fragsize
-include <libfsmgt.h>
-declaration unsigned long fs_get_fragsize(char *mntpnt, int *errp)
-version SUNWprivate_1.1
-end
-
-function fs_get_maxfilenamelen
-include <libfsmgt.h>
-declaration unsigned long fs_get_maxfilenamelen(char *mntpnt, int *errp)
-version SUNWprivate_1.1
-end
-
-function fs_get_mounts_by_mntopt
-include <libfsmgt.h>
-declaration fs_mntlist_t *fs_get_mounts_by_mntopt(char *mntopt, \
- boolean_t find_overlays, int *errp)
-version SUNWprivate_1.1
-end
-
-function fs_get_mount_list
-include <libfsmgt.h>
-declaration fs_mntlist_t *fs_get_mount_list(boolean_t find_overlays, \
- int *errp)
-version SUNWprivate_1.1
-end
-
-function fs_get_totalsize
-include <libfsmgt.h>
-declaration unsigned long long fs_get_totalsize(char *mntpnt, int *errp)
-version SUNWprivate_1.1
-end
-
-function fs_get_usedsize
-include <libfsmgt.h>
-declaration unsigned long long fs_get_usedsize(char *mntpnt, int *errp)
-version SUNWprivate_1.1
-end
-
-function fs_is_readonly
-include <libfsmgt.h>
-declaration boolean_t fs_is_readonly(char *mntpnt, int *errp)
-version SUNWprivate_1.1
-end
-
-function fs_parse_optlist_for_option
-include <libfsmgt.h>
-declaration char *fs_parse_optlist_for_option(char *optlist, char *opt, \
- int *errp)
-version SUNWprivate_1.1
-end
-
-function fs_parse_opts_for_sec_modes
-include <libfsmgt.h>
-declaration char **fs_parse_opts_for_sec_modes(char *cmd, int *count, \
- int *error)
-version SUNWprivate_1.1
-end
-
-function fs_free_share_list
-include <libfsmgt.h>
-declaration void fs_free_share_list(fs_sharelist_t *share_list)
-version SUNWprivate_1.1
-end
-
-function fs_get_share_list
-include <libfsmgt.h>
-declaration fs_sharelist_t *fs_get_share_list(int *errp)
-version SUNWprivate_1.1
-end
-
-function fs_create_array_from_accesslist
-include <libfsmgt.h>
-declaration char **fs_create_array_from_accesslist(char *access_list, \
- int *count, int *err)
-version SUNWprivate_1.1
-end
-
-function fs_check_for_duplicate_DFStab_paths
-include <libfsmgt.h>
-declaration int fs_check_for_duplicate_DFStab_paths(char *path, int *err)
-include <libfsmgt.h>
-version SUNWprivate_1.1
-end
-
-function fs_add_DFStab_ent
-declaration fs_dfstab_entry_t fs_add_DFStab_ent(char *, int *)
-include <libfsmgt.h>
-version SUNWprivate_1.1
-end
-
-function fs_del_All_DFStab_ents_with_Path
-include <libfsmgt.h>
-declaration fs_dfstab_entry_t fs_del_All_DFStab_ents_with_Path(char *path, \
- int *err)
-version SUNWprivate_1.1
-end
-
-function fs_del_DFStab_ent
-include <libfsmgt.h>
-declaration fs_dfstab_entry_t fs_del_DFStab_ent(char *, int *)
-version SUNWprivate_1.1
-end
-
-function fs_edit_DFStab_ent
-include <libfsmgt.h>
-declaration fs_dfstab_entry_t fs_edit_DFStab_ent(char *, char *, int *)
-version SUNWprivate_1.1
-end
-
-function fs_free_DFStab_ents
-include <libfsmgt.h>
-declaration void fs_free_DFStab_ents(fs_dfstab_entry_t)
-version SUNWprivate_1.1
-end
-
-function fs_get_DFStab_ents
-include <libfsmgt.h>
-declaration fs_dfstab_entry_t fs_get_DFStab_ents(int *err)
-version SUNWprivate_1.1
-end
-
-function fs_get_DFStab_ent_Desc
-include <libfsmgt.h>
-declaration char *fs_get_DFStab_ent_Desc(fs_dfstab_entry_t)
-version SUNWprivate_1.1
-end
-
-function fs_get_DFStab_ent_Fstype
-include <libfsmgt.h>
-declaration char *fs_get_DFStab_ent_Fstype(fs_dfstab_entry_t)
-version SUNWprivate_1.1
-end
-
-function fs_get_DFStab_ent_Next
-include <libfsmgt.h>
-declaration fs_dfstab_entry_t fs_get_DFStab_ent_Next(fs_dfstab_entry_t)
-version SUNWprivate_1.1
-end
-
-function fs_get_DFStab_ent_Options
-include <libfsmgt.h>
-declaration char *fs_get_DFStab_ent_Options(fs_dfstab_entry_t)
-version SUNWprivate_1.1
-end
-
-function fs_get_DFStab_ent_Path
-include <libfsmgt.h>
-declaration char *fs_get_DFStab_ent_Path(fs_dfstab_entry_t)
-version SUNWprivate_1.1
-end
-
-function fs_get_DFStab_ent_Res
-include <libfsmgt.h>
-declaration char *fs_get_DFStab_ent_Res(fs_dfstab_entry_t)
-version SUNWprivate_1.1
-end
-
-function fs_get_Dfstab_share_cmd
-include <libfsmgt.h>
-declaration char *fs_get_Dfstab_share_cmd(fs_dfstab_entry_t, int *)
-version SUNWprivate_1.1
-end
-
-function fs_set_DFStab_ent
-include <libfsmgt.h>
-declaration fs_dfstab_entry_t fs_set_DFStab_ent(char *, char *, char *, \
- char *, int *)
-version SUNWprivate_1.1
-end
-
-function fs_print_dfstab_entries
-include <libfsmgt.h>
-declaration void fs_print_dfstab_entries(fs_dfstab_entry_t)
-version SUNWprivate_1.1
-end
-
-function nfs_free_mntinfo_list
-include <libfsmgt.h>
-declaration void nfs_free_mntinfo_list(nfs_mntlist_t *)
-version SUNWprivate_1.1
-end
-
-function nfs_get_filtered_mount_list
-include <libfsmgt.h>
-declaration nfs_mntlist_t *nfs_get_filtered_mount_list(char *resource, \
- char *mountp, char *mntopts, char *time, \
- boolean_t find_overlays, int *errp)
-version SUNWprivate_1.1
-end
-
-function nfs_get_mounts_by_mntopt
-include <libfsmgt.h>
-declaration nfs_mntlist_t *nfs_get_mounts_by_mntopt(char *mntopt, \
- boolean_t find_overlays, int *errp)
-version SUNWprivate_1.1
-end
-
-function nfs_get_mount_list
-include <libfsmgt.h>
-declaration nfs_mntlist_t *nfs_get_mount_list(int *)
-version SUNWprivate_1.1
-end
-
-function netcfg_free_networkid_list
-include <libfsmgt.h>
-declaration void netcfg_free_networkid_list(char **netlist, \
- int num_elements)
-version SUNWprivate_1.1
-end
-
-function netcfg_get_networkid_list
-include <libfsmgt.h>
-declaration char **netcfg_get_networkid_list(int *num_elements, int *errp)
-version SUNWprivate_1.1
-end
-
-function nfssec_free_secmode_list
-include <libfsmgt.h>
-declaration void nfssec_free_secmode_list(char **seclist, int num_elements)
-version SUNWprivate_1.1
-end
-
-function nfssec_get_default_secmode
-include <libfsmgt.h>
-declaration char *nfssec_get_default_secmode(int *errp)
-version SUNWprivate_1.1
-end
-
-function nfssec_get_nfs_secmode_list
-include <libfsmgt.h>
-declaration char **nfssec_get_nfs_secmode_list(int *num_elements, int *errp)
-version SUNWprivate_1.1
-end
-
-function sys_get_hostname
-include <libfsmgt.h>
-declaration char *sys_get_hostname(int *errp)
-version SUNWprivate_1.1
-end
diff --git a/usr/src/lib/libfsmgt/spec/i386/Makefile b/usr/src/lib/libfsmgt/spec/i386/Makefile
deleted file mode 100644
index e12e4cd84d..0000000000
--- a/usr/src/lib/libfsmgt/spec/i386/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libfsmgt/spec/i386/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libfsmgt/spec/sparc/Makefile b/usr/src/lib/libfsmgt/spec/sparc/Makefile
deleted file mode 100644
index e91aa5fd82..0000000000
--- a/usr/src/lib/libfsmgt/spec/sparc/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libfsmgt/spec/sparc/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libfsmgt/spec/sparcv9/Makefile b/usr/src/lib/libfsmgt/spec/sparcv9/Makefile
deleted file mode 100644
index aa21494217..0000000000
--- a/usr/src/lib/libfsmgt/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,33 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libdiskmgt/spec/sparcv9/Makefile
-
-.KEEP_STATE:
-
-all clean clobber install lint:
- @echo "Nothing to $@ on sparcv9"
diff --git a/usr/src/lib/libfsmgt/spec/versions b/usr/src/lib/libfsmgt/spec/versions
deleted file mode 100644
index 22e0dd1104..0000000000
--- a/usr/src/lib/libfsmgt/spec/versions
+++ /dev/null
@@ -1,39 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-sparc {
- SUNWprivate_1.1;
-}
-sparcv9 {
- SUNWprivate_1.1;
-}
-i386 {
- SUNWprivate_1.1;
-}
-amd64 {
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/libfstyp/Makefile b/usr/src/lib/libfstyp/Makefile
index d1218b7820..b9cf46e1eb 100644
--- a/usr/src/lib/libfstyp/Makefile
+++ b/usr/src/lib/libfstyp/Makefile
@@ -41,15 +41,13 @@ lint := TARGET= lint
.KEEP_STATE:
-all install clean clobber: spec .WAIT $(SUBDIRS)
-
-lint: $(SUBDIRS)
+all install clean clobber lint: $(SUBDIRS)
install_h: $(ROOTHDRS)
check: $(CHECKHDRS)
-spec $(SUBDIRS): FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
diff --git a/usr/src/lib/libfstyp/Makefile.com b/usr/src/lib/libfstyp/Makefile.com
index 399f6f9e9c..19177c1e25 100644
--- a/usr/src/lib/libfstyp/Makefile.com
+++ b/usr/src/lib/libfstyp/Makefile.com
@@ -32,8 +32,6 @@ OBJECTS = libfstyp.o
include ../../Makefile.lib
SRCDIR = ../common
-MAPDIR = ../spec/$(TRANSMACH)
-SPECMAPFILE = $(MAPDIR)/mapfile
LIBS = $(DYNLIB) $(LINTLIB)
LDLIBS += -lc
diff --git a/usr/src/lib/libdtrace_jni/spec/versions b/usr/src/lib/libfstyp/common/mapfile-vers
index 3be654f018..bc4eaa57d2 100644
--- a/usr/src/lib/libdtrace_jni/spec/versions
+++ b/usr/src/lib/libfstyp/common/mapfile-vers
@@ -18,7 +18,6 @@
#
# CDDL HEADER END
#
-
#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
@@ -26,18 +25,19 @@
# ident "%Z%%M% %I% %E% SMI"
#
-i386 {
- SUNWprivate_1.1;
-}
-
-amd64 {
- SUNWprivate_1.1;
-}
-
-sparc {
- SUNWprivate_1.1;
-}
+SUNW_1.1 {
+ global:
+ fstyp_dump;
+ fstyp_fini;
+ fstyp_get_attr;
+ fstyp_ident;
+ fstyp_init;
+ fstyp_strerror;
+};
-sparcv9 {
+SUNWprivate_1.1 {
+ global:
SUNWprivate_1.1;
-}
+ local:
+ *;
+};
diff --git a/usr/src/lib/libfstyp/spec/Makefile b/usr/src/lib/libfstyp/spec/Makefile
deleted file mode 100644
index 6c16bc1c97..0000000000
--- a/usr/src/lib/libfstyp/spec/Makefile
+++ /dev/null
@@ -1,55 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# lib/libfstyp/spec/Makefile
-
-#
-# This could've been as easy as
-#
-#include $(SRC)/lib/Makefile.spec.arch
-#
-# But we don't deliver 64-bit library yet, thus we need to override
-# the inclusion of the Makefile and build only the targets
-# for $(MACH) instead of $(MACH)_ARCHITECTURES
-#
-all := TARGET= all
-install := TARGET= install
-clean := TARGET= clean
-clobber := TARGET= clobber
-lint := TARGET= lint
-
-.KEEP_STATE:
-
-all install clean clobber: $(MACH)
-
-$(MACH): FRC
- @cd $@; pwd; $(MAKE) $(TARGET)
-
-IGNORE= _msg catalog install_h delete \
- package tcov debug private_h \
- check analyse test dynamic lint
-$(IGNORE):
-
-FRC:
diff --git a/usr/src/lib/libfstyp/spec/Makefile.targ b/usr/src/lib/libfstyp/spec/Makefile.targ
deleted file mode 100644
index 3da4b5d5b0..0000000000
--- a/usr/src/lib/libfstyp/spec/Makefile.targ
+++ /dev/null
@@ -1,33 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# lib/libfstyp/spec/Makefile.targ
-
-LIBRARY = libfstyp.a
-VERS = .1
-
-OBJECTS = fstyp.o
-
-SPECCPP =
diff --git a/usr/src/lib/libfstyp/spec/fstyp.spec b/usr/src/lib/libfstyp/spec/fstyp.spec
deleted file mode 100644
index 86b2881f22..0000000000
--- a/usr/src/lib/libfstyp/spec/fstyp.spec
+++ /dev/null
@@ -1,70 +0,0 @@
-#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libfstyp/spec/fstyp.spec
-
-# fstyp initialize
-function fstyp_init
-include <sys/types.h>
-declaration int fstyp_init(int fd, off_t offset, char *module_dir, fstyp_handle_t *handle)
-version SUNW_1.1
-exception $return != 0
-end
-
-# fstyp finalize
-function fstyp_fini
-declaration void fstyp_fini(fstyp_handle_t handle)
-version SUNW_1.1
-end
-
-# fstyp identify
-function fstyp_ident
-declaration int fstyp_ident(fstyp_handle_t handle, const char *fsname, char **ident)
-version SUNW_1.1
-exception $return != 0
-end
-
-# fstyp get attributes
-function fstyp_get_attr
-include <libnvpair.h>
-declaration int fstyp_get_attr(fstyp_handle_t handle, nvlist_t **attr)
-version SUNW_1.1
-exception $return != 0
-end
-
-# fstyp dump fs info
-function fstyp_dump
-include <stdio.h>
-declaration int fstyp_dump(fstyp_handle_t handle, FILE *fout, FILE *ferr)
-version SUNW_1.1
-exception $return != 0
-end
-
-# fstyp error string
-function fstyp_strerror
-declaration const char *fstyp_strerror(int error)
-version SUNW_1.1
-end
-
diff --git a/usr/src/lib/libfstyp/spec/i386/Makefile b/usr/src/lib/libfstyp/spec/i386/Makefile
deleted file mode 100644
index dc68f36de0..0000000000
--- a/usr/src/lib/libfstyp/spec/i386/Makefile
+++ /dev/null
@@ -1,41 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# lib/libfstyp/spec/i386/Makefile
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#i386_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libfstyp/spec/sparc/Makefile b/usr/src/lib/libfstyp/spec/sparc/Makefile
deleted file mode 100644
index 12fb3f9086..0000000000
--- a/usr/src/lib/libfstyp/spec/sparc/Makefile
+++ /dev/null
@@ -1,43 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# lib/libfstyp/spec/sparc/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#sparc_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libgen/Makefile b/usr/src/lib/libgen/Makefile
index cdc4709d50..50890d7703 100644
--- a/usr/src/lib/libgen/Makefile
+++ b/usr/src/lib/libgen/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,7 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 1989-1999, 2002 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
@@ -30,7 +29,9 @@ include ../Makefile.lib
HDRS = regexpr.h
HDRDIR = inc
-SUBDIRS = spec .WAIT $(MACH) $(BUILD64) .WAIT $(MACH64)
+
+SUBDIRS = $(MACH)
+$(BUILD64)SUBDIRS += $(MACH64)
all := TARGET= all
clean := TARGET= clean
@@ -46,7 +47,7 @@ install_h: $(ROOTHDRS)
check: $(CHECKHDRS)
-spec $(MACH) $(MACH64): FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
diff --git a/usr/src/lib/libgen/Makefile.com b/usr/src/lib/libgen/Makefile.com
index 8cb653da1a..07e8fc6b27 100644
--- a/usr/src/lib/libgen/Makefile.com
+++ b/usr/src/lib/libgen/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -39,11 +38,11 @@ include ../../Makefile.rootfs
LIBS = $(DYNLIB) $(LINTLIB)
LDLIBS += -lc
-$(LINTLIB) := SRCS = $(SRCDIR)/$(LINTSRC)
SRCDIR = ../common
-MAPDIR = ../spec/$(TRANSMACH)
-SPECMAPFILE = $(MAPDIR)/mapfile
+$(LINTLIB) := SRCS = $(SRCDIR)/$(LINTSRC)
+
+MAPFILES += $(MAPFILE32)
CFLAGS += $(CCVERBOSE)
CPPFLAGS += -D_REENTRANT -D_LARGEFILE64_SOURCE -I../inc -I../../common/inc
diff --git a/usr/src/lib/libgen/amd64/Makefile b/usr/src/lib/libgen/amd64/Makefile
index 4862ca2b90..d44bc0ad74 100644
--- a/usr/src/lib/libgen/amd64/Makefile
+++ b/usr/src/lib/libgen/amd64/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,12 +19,14 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
+MAPFILE32 =
+
include ../Makefile.com
include ../../Makefile.lib.64
@@ -34,5 +35,3 @@ LIBS = $(DYNLIB) $(LINTLIB)
all: $(LIBS)
install: all $(ROOTLIBS64) $(ROOTLINKS64)
-
-$(DYNLIB): $(MAPFILE)
diff --git a/usr/src/lib/libgen/common/mapfile-vers b/usr/src/lib/libgen/common/mapfile-vers
new file mode 100644
index 0000000000..9bfec93dfe
--- /dev/null
+++ b/usr/src/lib/libgen/common/mapfile-vers
@@ -0,0 +1,103 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNW_1.1 {
+ global:
+ advance;
+ bgets;
+ braelist;
+ ___braelist;
+ braslist;
+ ___braslist;
+ bufsplit;
+ compile;
+ copylist;
+ eaccess;
+ gmatch;
+ isencrypt;
+ loc1;
+ ___loc1;
+ loc2;
+ ___loc2;
+ locs;
+ ___locs;
+ mkdirp;
+ nbra;
+ ___nbra;
+ p2close;
+ p2open;
+ pathfind;
+ regerrno;
+ ___regerrno;
+ reglength;
+ ___reglength;
+ rmdirp;
+ step;
+ strcadd;
+ strccpy;
+ streadd;
+ strecpy;
+ strfind;
+ strrspn;
+ strtrns;
+};
+
+SUNWprivate_1.1 {
+ global:
+ _bgets;
+ _braelist;
+ _braslist;
+ _bufsplit;
+ _compile;
+ _copylist;
+ _eaccess;
+ _gmatch;
+ _isencrypt;
+ _loc1;
+ _loc2;
+ _locs;
+ _mkdirp;
+ _nbra;
+ _p2close;
+ __p2close;
+ _p2open;
+ __p2open;
+ _pathfind;
+ _regerrno;
+ _reglength;
+ _rmdirp;
+ _step;
+ _strcadd;
+ _strccpy;
+ _streadd;
+ _strecpy;
+ _strfind;
+ _strrspn;
+ _strtrns;
+ local:
+ *;
+};
diff --git a/usr/src/lib/libgen/common/mapfile32-vers b/usr/src/lib/libgen/common/mapfile32-vers
new file mode 100644
index 0000000000..5c8e6d0e69
--- /dev/null
+++ b/usr/src/lib/libgen/common/mapfile32-vers
@@ -0,0 +1,36 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNW_1.1 { # largefiles interfaces for 32-bit applications
+ global:
+ copylist64;
+};
+
+SUNWprivate_1.1 {
+ global:
+ _copylist64;
+};
diff --git a/usr/src/lib/libgen/i386/Makefile b/usr/src/lib/libgen/i386/Makefile
index b844ab9d07..3ca446fd6e 100644
--- a/usr/src/lib/libgen/i386/Makefile
+++ b/usr/src/lib/libgen/i386/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,12 +19,14 @@
# CDDL HEADER END
#
#
-# Copyright 1997-1999, 2002 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
+MAPFILE32 = ../common/mapfile32-vers
+
include ../Makefile.com
all: $(LIBS)
diff --git a/usr/src/lib/libgen/sparc/Makefile b/usr/src/lib/libgen/sparc/Makefile
index b844ab9d07..3ca446fd6e 100644
--- a/usr/src/lib/libgen/sparc/Makefile
+++ b/usr/src/lib/libgen/sparc/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,12 +19,14 @@
# CDDL HEADER END
#
#
-# Copyright 1997-1999, 2002 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
+MAPFILE32 = ../common/mapfile32-vers
+
include ../Makefile.com
all: $(LIBS)
diff --git a/usr/src/lib/libgen/sparcv9/Makefile b/usr/src/lib/libgen/sparcv9/Makefile
index 98caf3ac23..d44bc0ad74 100644
--- a/usr/src/lib/libgen/sparcv9/Makefile
+++ b/usr/src/lib/libgen/sparcv9/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,12 +19,14 @@
# CDDL HEADER END
#
#
-# Copyright 1997-1999, 2002 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
+MAPFILE32 =
+
include ../Makefile.com
include ../../Makefile.lib.64
@@ -34,5 +35,3 @@ LIBS = $(DYNLIB) $(LINTLIB)
all: $(LIBS)
install: all $(ROOTLIBS64) $(ROOTLINKS64)
-
-$(DYNLIB): $(MAPFILE)
diff --git a/usr/src/lib/libgen/spec/Makefile b/usr/src/lib/libgen/spec/Makefile
deleted file mode 100644
index 6570cc455e..0000000000
--- a/usr/src/lib/libgen/spec/Makefile
+++ /dev/null
@@ -1,29 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1998-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libgen/spec/Makefile
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/libgen/spec/Makefile.targ b/usr/src/lib/libgen/spec/Makefile.targ
deleted file mode 100644
index 966a351179..0000000000
--- a/usr/src/lib/libgen/spec/Makefile.targ
+++ /dev/null
@@ -1,35 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1998-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libgen/spec/Makefile.targ
-
-LIBRARY = libgen.a
-VERS = .1
-
-OBJECTS = gen.o \
- private.o \
- weak.o
-
diff --git a/usr/src/lib/libgen/spec/amd64/Makefile b/usr/src/lib/libgen/spec/amd64/Makefile
deleted file mode 100644
index 453c0ea671..0000000000
--- a/usr/src/lib/libgen/spec/amd64/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#amd64_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libgen/spec/gen.spec b/usr/src/lib/libgen/spec/gen.spec
deleted file mode 100644
index 02fd888134..0000000000
--- a/usr/src/lib/libgen/spec/gen.spec
+++ /dev/null
@@ -1,237 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libgen/spec/gen.spec
-
-function bgets
-include <libgen.h>
-declaration char *bgets(char *buffer, size_t count, FILE *stream, \
- char *breakstring)
-version SUNW_1.1
-exception $return == NULL
-end
-
-function bufsplit
-include <libgen.h>
-declaration size_t bufsplit(char *buf, size_t n, char **a)
-version SUNW_1.1
-exception $return == 0
-end
-
-function copylist
-include <libgen.h>
-declaration char *copylist(const char *filenm, off_t *szptr)
-version SUNW_1.1
-exception $return == NULL
-end
-
-function copylist64 extends libgen/spec/gen.spec copylist
-include <libgen.h>
-declaration char *copylist64(const char *filenm, off64_t *szptr)
-arch sparc i386
-version sparc=SUNW_1.1 i386=SUNW_1.1
-end
-
-function gmatch
-include <libgen.h>
-declaration int gmatch(const char *str, const char *pattern)
-version SUNW_1.1
-exception $return == 0
-end
-
-function isencrypt
-include <libgen.h>
-declaration int isencrypt(const char *fbuf, size_t ninbuf)
-version SUNW_1.1
-end
-
-function mkdirp
-include <libgen.h>
-declaration int mkdirp(const char *path, mode_t mode)
-version SUNW_1.1
-exception $return == -1
-end
-
-function rmdirp
-include <libgen.h>
-declaration int rmdirp(char *dir, char *dir1)
-version SUNW_1.1
-exception $return == -1
-end
-
-function p2open
-include <libgen.h>
-declaration int p2open(const char *cmd, FILE *fp[2])
-version SUNW_1.1
-exception $return == -1
-end
-
-function p2close
-include <libgen.h>
-declaration int p2close(FILE *fp[2])
-version SUNW_1.1
-exception $return == -1
-end
-
-function pathfind
-include <libgen.h>
-declaration char *pathfind(const char *path, const char *name, \
- const char *mode)
-version SUNW_1.1
-exception $return == NULL
-end
-
-function compile
-include <regexpr.h>
-declaration char *compile(const char *instring, char *expbuf, \
- char *endbuf)
-version SUNW_1.1
-end
-
-function step
-include <regexpr.h>
-declaration int step(const char *string, const char *expbuf)
-version SUNW_1.1
-end
-
-function advance
-include <regexpr.h>
-declaration int advance(const char *string, const char *expbuf)
-version SUNW_1.1
-end
-
-data locs
-version SUNW_1.1
-end
-
-data loc1
-version SUNW_1.1
-end
-
-data loc2
-version SUNW_1.1
-end
-
-data ___loc1
-version SUNW_1.1
-end
-
-data ___loc2
-version SUNW_1.1
-end
-
-data ___locs
-version SUNW_1.1
-end
-
-data reglength
-version SUNW_1.1
-end
-
-data ___reglength
-version SUNW_1.1
-end
-
-data regerrno
-version SUNW_1.1
-end
-
-data ___regerrno
-version SUNW_1.1
-end
-
-data nbra
-version SUNW_1.1
-end
-
-data ___nbra
-version SUNW_1.1
-end
-
-data braelist
-version SUNW_1.1
-end
-
-data braslist
-version SUNW_1.1
-end
-
-data ___braelist
-version SUNW_1.1
-end
-
-data ___braslist
-version SUNW_1.1
-end
-
-function strccpy
-include <libgen.h>
-declaration char *strccpy(char *output, const char *input)
-version SUNW_1.1
-end
-
-function strcadd
-include <libgen.h>
-declaration char *strcadd(char *output, const char *input)
-version SUNW_1.1
-end
-
-function strecpy
-include <libgen.h>
-declaration char *strecpy(char *output, const char *input, \
- const char *exceptions)
-version SUNW_1.1
-end
-
-function streadd
-include <libgen.h>
-declaration char *streadd(char *output, const char *input, \
- const char *exceptions)
-version SUNW_1.1
-end
-
-function strfind
-include <libgen.h>
-declaration int strfind(const char *as1, const char *as2)
-version SUNW_1.1
-end
-
-function strrspn
-include <libgen.h>
-declaration char *strrspn(const char *string, const char *tc)
-version SUNW_1.1
-end
-
-function strtrns
-include <libgen.h>
-declaration char * strtrns(const char *string, const char *old, \
- const char *new, char *result)
-version SUNW_1.1
-end
-
-function eaccess
-version SUNW_1.1
-end
diff --git a/usr/src/lib/libgen/spec/i386/Makefile b/usr/src/lib/libgen/spec/i386/Makefile
deleted file mode 100644
index 13fd65f65a..0000000000
--- a/usr/src/lib/libgen/spec/i386/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1998-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libgen/spec/i386/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#i386_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libgen/spec/private.spec b/usr/src/lib/libgen/spec/private.spec
deleted file mode 100644
index 4231fbded4..0000000000
--- a/usr/src/lib/libgen/spec/private.spec
+++ /dev/null
@@ -1,40 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libgen/spec/private.spec
-
-function _compile
-version SUNWprivate_1.1
-end
-
-function __p2open
-version SUNWprivate_1.1
-end
-
-function __p2close
-version SUNWprivate_1.1
-end
-
diff --git a/usr/src/lib/libgen/spec/sparc/Makefile b/usr/src/lib/libgen/spec/sparc/Makefile
deleted file mode 100644
index 1362b1144c..0000000000
--- a/usr/src/lib/libgen/spec/sparc/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1998-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libgen/spec/sparc/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#sparc_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libgen/spec/sparcv9/Makefile b/usr/src/lib/libgen/spec/sparcv9/Makefile
deleted file mode 100644
index e935b65bbf..0000000000
--- a/usr/src/lib/libgen/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,45 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1998-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libgen/spec/sparcv9/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#sparcv9_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libgen/spec/versions b/usr/src/lib/libgen/spec/versions
deleted file mode 100644
index 38a2cfc77a..0000000000
--- a/usr/src/lib/libgen/spec/versions
+++ /dev/null
@@ -1,43 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-sparc {
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-sparcv9 {
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-i386 {
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-amd64 {
- SUNW_1.1;
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/libgen/spec/weak.spec b/usr/src/lib/libgen/spec/weak.spec
deleted file mode 100644
index 26fd753d6d..0000000000
--- a/usr/src/lib/libgen/spec/weak.spec
+++ /dev/null
@@ -1,169 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libgen/spec/weak.spec
-
-function _bgets
-weak bgets
-version SUNWprivate_1.1
-end
-
-function _bufsplit
-weak bufsplit
-version SUNWprivate_1.1
-end
-
-function _copylist64
-weak copylist64
-arch sparc i386
-version SUNWprivate_1.1
-end
-
-function _copylist
-weak copylist
-version SUNWprivate_1.1
-end
-
-function _eaccess
-weak eaccess
-version SUNWprivate_1.1
-end
-
-function _gmatch
-weak gmatch
-version SUNWprivate_1.1
-end
-
-function _isencrypt
-weak isencrypt
-version SUNWprivate_1.1
-end
-
-function _mkdirp
-weak mkdirp
-version SUNWprivate_1.1
-end
-
-function _p2open
-weak p2open
-version SUNWprivate_1.1
-end
-
-function _p2close
-weak p2close
-version SUNWprivate_1.1
-end
-
-function _pathfind
-weak pathfind
-version SUNWprivate_1.1
-end
-
-function _nbra
-weak nbra
-version SUNWprivate_1.1
-end
-
-function _regerrno
-weak regerrno
-version SUNWprivate_1.1
-end
-
-function _reglength
-weak reglength
-version SUNWprivate_1.1
-end
-
-function _loc1
-weak loc1
-version SUNWprivate_1.1
-end
-
-function _loc2
-weak loc2
-version SUNWprivate_1.1
-end
-
-function _locs
-weak locs
-version SUNWprivate_1.1
-end
-
-function _braelist
-weak braelist
-version SUNWprivate_1.1
-end
-
-function _braslist
-weak braslist
-version SUNWprivate_1.1
-end
-
-function _step
-weak step
-version SUNWprivate_1.1
-end
-
-function _rmdirp
-weak rmdirp
-version SUNWprivate_1.1
-end
-
-function _strccpy
-weak strccpy
-version SUNWprivate_1.1
-end
-
-function _strcadd
-weak strcadd
-version SUNWprivate_1.1
-end
-
-function _strecpy
-weak strecpy
-version SUNWprivate_1.1
-end
-
-function _streadd
-weak streadd
-version SUNWprivate_1.1
-end
-
-function _strfind
-weak strfind
-version SUNWprivate_1.1
-end
-
-function _strrspn
-weak strrspn
-version SUNWprivate_1.1
-end
-
-function _strtrns
-weak strtrns
-version SUNWprivate_1.1
-end
-
diff --git a/usr/src/lib/libgss/Makefile b/usr/src/lib/libgss/Makefile
index a1c813540e..e1ddcf1af3 100644
--- a/usr/src/lib/libgss/Makefile
+++ b/usr/src/lib/libgss/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,13 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libgss/Makefile
+# ident "%Z%%M% %I% %E% SMI"
#
+
include ../Makefile.lib
LIBRARY= libgss.a
@@ -54,9 +52,7 @@ MSGFILES = `$(GREP) -l gettext *.[ch]`
.KEEP_STATE:
-all clean clobber install: spec .WAIT $(SUBDIRS)
-
-lint: $(SUBDIRS)
+all clean clobber lint: $(SUBDIRS)
install: $(GSSMECH_DIR) all .WAIT $(SUBDIRS)
@@ -69,7 +65,7 @@ $(POFILE): pofile_MSGFILES
$(GSSMECH_DIR):
$(INS.dir)
-$(SUBDIRS) spec: FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
diff --git a/usr/src/lib/libgss/Makefile.com b/usr/src/lib/libgss/Makefile.com
index 687e3f6cdd..82136b42d0 100644
--- a/usr/src/lib/libgss/Makefile.com
+++ b/usr/src/lib/libgss/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,12 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libgss/Makefile
LIBRARY = libgss.a
VERS = .1
@@ -87,10 +85,6 @@ LIBS = $(DYNLIB) $(LINTLIB)
$(LINTLIB):= SRCS = $(SRCDIR)/$(LINTSRC)
LDLIBS += -lc -lcmd
-SRCDIR = ..
-MAPDIR = ../spec/$(TRANSMACH)
-SPECMAPFILE= $(MAPDIR)/mapfile
-
CPPFLAGS += -I$(GSSCRED_DIR) -I$(SRC)/uts/common/gssapi/include \
-DHAVE_STDLIB_H
diff --git a/usr/src/lib/libgss/i386/Makefile b/usr/src/lib/libgss/i386/Makefile
index aacf5d2538..3a9b043b65 100644
--- a/usr/src/lib/libgss/i386/Makefile
+++ b/usr/src/lib/libgss/i386/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libgss/i386/Makefile
-MAPDIR= ../spec/i386
include ../Makefile.com
.KEEP_STATE:
diff --git a/usr/src/lib/libgss/mapfile-vers b/usr/src/lib/libgss/mapfile-vers
new file mode 100644
index 0000000000..d3a8e1251e
--- /dev/null
+++ b/usr/src/lib/libgss/mapfile-vers
@@ -0,0 +1,121 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNW_1.2 {
+ global:
+ gss_accept_sec_context;
+ gss_acquire_cred;
+ gss_acquire_cred_with_password;
+ gss_add_cred;
+ gss_add_cred_with_password;
+ gss_add_oid_set_member;
+ gss_canonicalize_name;
+ GSS_C_NT_ANONYMOUS;
+ GSS_C_NT_EXPORT_NAME;
+ GSS_C_NT_HOSTBASED_SERVICE;
+ GSS_C_NT_MACHINE_UID_NAME;
+ GSS_C_NT_STRING_UID_NAME;
+ GSS_C_NT_USER_NAME;
+ gss_compare_name;
+ gss_context_time;
+ gss_create_empty_oid_set;
+ gss_delete_sec_context;
+ gss_display_name;
+ gss_display_status;
+ gss_duplicate_name;
+ gss_export_name;
+ gss_export_sec_context;
+ gss_get_mic;
+ gss_import_name;
+ gss_import_sec_context;
+ gss_indicate_mechs;
+ gss_init_sec_context;
+ gss_inquire_context;
+ gss_inquire_cred;
+ gss_inquire_cred_by_mech;
+ gss_inquire_mechs_for_name;
+ gss_inquire_names_for_mech;
+ gss_process_context_token;
+ gss_release_buffer;
+ gss_release_cred;
+ gss_release_name;
+ gss_release_oid;
+ gss_release_oid_set;
+ gss_seal;
+ gss_sign;
+ gss_store_cred;
+ gss_test_oid_set_member;
+ gss_unseal;
+ gss_unwrap;
+ gss_verify;
+ gss_verify_mic;
+ gss_wrap;
+ gss_wrap_size_limit;
+} SUNW_1.1;
+
+# Due to mistakes made early in the history of this library, there are
+# no SUNW_1.1 symbols, but the version is now kept as a placeholder.
+# Don't add any symbols to this version.
+
+SUNW_1.1 {
+ global:
+ SUNW_1.1;
+};
+
+SUNWprivate_1.1 {
+ global:
+ der_length_size;
+ generic_gss_copy_oid;
+ generic_gss_release_oid;
+ get_der_length;
+ gss_copy_oid_set;
+ gsscred_expname_to_unix_cred;
+ gsscred_expname_to_unix_cred_ext;
+ gsscred_name_to_unix_cred;
+ gsscred_name_to_unix_cred_ext;
+ gsscred_set_options;
+ gss_get_group_info;
+ __gss_get_kmodName;
+ __gss_get_mechanisms;
+ __gss_get_mech_info;
+ __gss_get_mech_type;
+ __gss_get_modOptions;
+ __gss_mech_qops;
+ __gss_mech_to_oid;
+ gss_nt_exported_name;
+ gss_nt_service_name;
+ gss_nt_service_name_v2;
+ __gss_num_to_qop;
+ __gss_oid_to_mech;
+ gss_oid_to_str;
+ __gss_qop_to_num;
+ gss_str_to_oid;
+ __gss_userok;
+ put_der_length;
+ local:
+ *;
+};
diff --git a/usr/src/lib/libgss/sparc/Makefile b/usr/src/lib/libgss/sparc/Makefile
index fe210b036e..2a944b0b43 100644
--- a/usr/src/lib/libgss/sparc/Makefile
+++ b/usr/src/lib/libgss/sparc/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright 1997-2003 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libgss/sparc/Makefile
-MAPDIR= ../spec/sparc
include ../Makefile.com
.KEEP_STATE:
diff --git a/usr/src/lib/libgss/spec/Makefile b/usr/src/lib/libgss/spec/Makefile
deleted file mode 100644
index 7a3f89b118..0000000000
--- a/usr/src/lib/libgss/spec/Makefile
+++ /dev/null
@@ -1,30 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libgss/spec/Makefile
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/libgss/spec/Makefile.targ b/usr/src/lib/libgss/spec/Makefile.targ
deleted file mode 100644
index ce18aa182d..0000000000
--- a/usr/src/lib/libgss/spec/Makefile.targ
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libgss/spec/Makefile.targ
-
-LIBRARY = libgss.a
-VERS = .1
-
-OBJECTS = gss.o
-
-TRANSCPP =
-SPECCPP =
diff --git a/usr/src/lib/libgss/spec/amd64/Makefile b/usr/src/lib/libgss/spec/amd64/Makefile
deleted file mode 100644
index 2a38c1cba9..0000000000
--- a/usr/src/lib/libgss/spec/amd64/Makefile
+++ /dev/null
@@ -1,42 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#amd64_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libgss/spec/gss.spec b/usr/src/lib/libgss/spec/gss.spec
deleted file mode 100644
index 6cfae0c489..0000000000
--- a/usr/src/lib/libgss/spec/gss.spec
+++ /dev/null
@@ -1,753 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libgss/spec/gss.spec
-
-data GSS_C_NT_USER_NAME
-version SUNW_1.2
-end
-
-data GSS_C_NT_MACHINE_UID_NAME
-version SUNW_1.2
-end
-
-data GSS_C_NT_STRING_UID_NAME
-version SUNW_1.2
-end
-
-data GSS_C_NT_HOSTBASED_SERVICE
-version SUNW_1.2
-end
-
-data GSS_C_NT_ANONYMOUS
-version SUNW_1.2
-end
-
-data GSS_C_NT_EXPORT_NAME
-version SUNW_1.2
-end
-
-function gss_release_oid_set
-include <gssapi/gssapi.h>
-declaration OM_uint32 gss_release_oid_set( \
- OM_uint32 *minor_status ,\
- gss_OID_set *set)
-version SUNW_1.2
-exception $return != 0
-end
-
-function gss_acquire_cred
-include <gssapi/gssapi.h>
-declaration OM_uint32 gss_acquire_cred( \
- OM_uint32 *minor_status ,\
- const gss_name_t desired_name ,\
- OM_uint32 time_req ,\
- const gss_OID_set desired_mechs ,\
- gss_cred_usage_t cred_usage ,\
- gss_cred_id_t *output_cred_handle ,\
- gss_OID_set *actual_mechs ,\
- OM_uint32 *time_rec)
-version SUNW_1.2
-exception $return != 0
-end
-
-function gss_acquire_cred_with_password
-include <gssapi/gssapi_ext.h>
-declaration OM_uint32 gss_acquire_cred_with_password( \
- OM_uint32 *minor_status ,\
- const gss_name_t desired_name ,\
- const gss_buffer_t password ,\
- OM_uint32 time_req ,\
- const gss_OID_set desired_mechs ,\
- gss_cred_usage_t cred_usage ,\
- gss_cred_id_t *output_cred_handle ,\
- gss_OID_set *actual_mechs ,\
- OM_uint32 *time_rec)
-version SUNW_1.2
-exception $return != 0
-end
-
-function gss_release_cred
-include <gssapi/gssapi.h>
-declaration OM_uint32 gss_release_cred( \
- OM_uint32 * minor_status,\
- gss_cred_id_t * cred_handle \
- )
-version SUNW_1.2
-exception $return != 0
-end
-
-function gss_init_sec_context
-include <gssapi/gssapi.h>
-declaration OM_uint32 gss_init_sec_context( \
- OM_uint32 * minor_status ,\
- const gss_cred_id_t initiator_cred_hdle,\
- gss_ctx_id_t * context_handle ,\
- const gss_name_t target_name ,\
- const gss_OID mech_type ,\
- OM_uint32 req_flags ,\
- OM_uint32 time_req ,\
- gss_channel_bindings_t input_chan_bindings ,\
- const gss_buffer_t input_token ,\
- gss_OID * actual_mech_type ,\
- gss_buffer_t output_token ,\
- OM_uint32 * ret_flags ,\
- OM_uint32 * time_rec \
- )
-version SUNW_1.2
-exception $return != 0
-end
-
-function gss_accept_sec_context
-include <gssapi/gssapi.h>
-declaration OM_uint32 gss_accept_sec_context( \
- OM_uint32 * minor_status ,\
- gss_ctx_id_t * context_handle ,\
- const gss_cred_id_t acceptor_cred_hdle ,\
- const gss_buffer_t input_token_buffer ,\
- const gss_channel_bindings_t input_chan_bindings ,\
- gss_name_t * src_name ,\
- gss_OID * mech_type ,\
- gss_buffer_t output_token ,\
- OM_uint32 * ret_flags ,\
- OM_uint32 * time_rec ,\
- gss_cred_id_t * delegated_cred_hdle \
- )
-version SUNW_1.2
-exception $return != 0
-end
-
-function gss_process_context_token
-include <gssapi/gssapi.h>
-declaration OM_uint32 gss_process_context_token( \
- OM_uint32 * minor_status ,\
- const gss_ctx_id_t context_handle ,\
- const gss_buffer_t token_buffer \
- )
-version SUNW_1.2
-exception $return != 0
-end
-
-function gss_delete_sec_context
-include <gssapi/gssapi.h>
-declaration OM_uint32 gss_delete_sec_context( \
- OM_uint32 * minor_status ,\
- gss_ctx_id_t * context_handle ,\
- gss_buffer_t output_token \
- )
-version SUNW_1.2
-exception $return != 0
-end
-
-function gss_context_time
-include <gssapi/gssapi.h>
-declaration OM_uint32 gss_context_time( \
- OM_uint32 * minor_status ,\
- const gss_ctx_id_t context_handle ,\
- OM_uint32 * time_rec \
- )
-version SUNW_1.2
-exception $return != 0
-end
-
-function gss_display_status
-include <gssapi/gssapi.h>
-declaration OM_uint32 gss_display_status( \
- OM_uint32 * minor_status ,\
- OM_uint32 status_value ,\
- int status_type ,\
- const gss_OID mech_type ,\
- OM_uint32 * message_context ,\
- gss_buffer_t status_string \
- )
-version SUNW_1.2
-exception $return != 0
-end
-
-function gss_indicate_mechs
-include <gssapi/gssapi.h>
-declaration OM_uint32 gss_indicate_mechs( \
- OM_uint32 * minor_status ,\
- gss_OID_set * mech_set \
- )
-version SUNW_1.2
-exception $return != 0
-end
-
-function gss_compare_name
-include <gssapi/gssapi.h>
-declaration OM_uint32 gss_compare_name( \
- OM_uint32 * minor_status ,\
- const gss_name_t name1 ,\
- const gss_name_t name2 ,\
- int * name_equal \
- )
-version SUNW_1.2
-exception $return != 0
-end
-
-function gss_display_name
-include <gssapi/gssapi.h>
-declaration OM_uint32 gss_display_name( \
- OM_uint32 * minor_status ,\
- const gss_name_t input_name ,\
- gss_buffer_t output_name_buffer ,\
- gss_OID * output_name_type \
- )
-version SUNW_1.2
-exception $return != 0
-end
-
-function gss_import_name
-include <gssapi/gssapi.h>
-declaration OM_uint32 gss_import_name( \
- OM_uint32 * minor_status ,\
- const gss_buffer_t input_name_buffer ,\
- const gss_OID input_name_type ,\
- gss_name_t * output_name \
- )
-version SUNW_1.2
-exception $return != 0
-end
-
-function gss_release_name
-include <gssapi/gssapi.h>
-declaration OM_uint32 gss_release_name( \
- OM_uint32 * minor_status ,\
- gss_name_t * input_name \
- )
-version SUNW_1.2
-exception $return != 0
-end
-
-function gss_release_buffer
-include <gssapi/gssapi.h>
-declaration OM_uint32 gss_release_buffer( \
- OM_uint32 * minor_status ,\
- gss_buffer_t buffer \
- )
-version SUNW_1.2
-exception $return != 0
-end
-
-
-function gss_inquire_cred
-include <gssapi/gssapi.h>
-declaration OM_uint32 gss_inquire_cred( \
- OM_uint32 * minor_status ,\
- const gss_cred_id_t cred_handle ,\
- gss_name_t * name ,\
- OM_uint32 * lifetime ,\
- gss_cred_usage_t * cred_usage ,\
- gss_OID_set * mechanisms \
- )
-version SUNW_1.2
-exception $return != 0
-end
-
-function gss_inquire_context
-include <gssapi/gssapi.h>
-declaration OM_uint32 gss_inquire_context( \
- OM_uint32 * minor_status ,\
- const gss_ctx_id_t context_handle ,\
- gss_name_t * src_name ,\
- gss_name_t * targ_name ,\
- OM_uint32 * lifetime_rec ,\
- gss_OID * mech_type ,\
- OM_uint32 * ctx_flags ,\
- int * locally_initiated ,\
- int * open \
- )
-version SUNW_1.2
-exception $return != 0
-end
-
-function gss_get_mic
-include <gssapi/gssapi.h>
-declaration OM_uint32 gss_get_mic( \
- OM_uint32 * minor_status ,\
- const gss_ctx_id_t context_handle ,\
- gss_qop_t qop_req ,\
- const gss_buffer_t message_buffer ,\
- gss_buffer_t message_token \
- )
-version SUNW_1.2
-exception $return != 0
-end
-
-function gss_verify_mic
-include <gssapi/gssapi.h>
-declaration OM_uint32 gss_verify_mic( \
- OM_uint32 * minor_status ,\
- const gss_ctx_id_t context_handle ,\
- const gss_buffer_t message_buffer ,\
- const gss_buffer_t token_buffer ,\
- gss_qop_t * qop_state \
- )
-version SUNW_1.2
-exception $return != 0
-end
-
-function gss_wrap
-include <gssapi/gssapi.h>
-declaration OM_uint32 gss_wrap( \
- OM_uint32 * minor_status ,\
- const gss_ctx_id_t context_handle ,\
- int conf_req_flag ,\
- gss_qop_t qop_req ,\
- const gss_buffer_t input_message_bfer ,\
- int * conf_state ,\
- gss_buffer_t output_message_bfer \
- )
-version SUNW_1.2
-exception $return != 0
-end
-
-function gss_unwrap
-include <gssapi/gssapi.h>
-declaration OM_uint32 gss_unwrap( \
- OM_uint32 * minor_status ,\
- const gss_ctx_id_t context_handle ,\
- const gss_buffer_t input_message_bfer ,\
- gss_buffer_t output_message_bfer ,\
- int * conf_state ,\
- gss_qop_t * qop_state \
- )
-version SUNW_1.2
-exception $return != 0
-end
-
-function gss_wrap_size_limit
-include <gssapi/gssapi.h>
-declaration OM_uint32 gss_wrap_size_limit( \
- OM_uint32 * minor_status ,\
- const gss_ctx_id_t context_handle ,\
- int conf_req_flag ,\
- gss_qop_t qop_req ,\
- OM_uint32 req_output_size ,\
- OM_uint32 * max_input_size \
- )
-version SUNW_1.2
-exception $return != 0
-end
-
-function gss_export_name
-include <gssapi/gssapi.h>
-declaration OM_uint32 gss_export_name( \
- OM_uint32 * minor_status ,\
- const gss_name_t input_name ,\
- gss_buffer_t exported_name \
- )
-version SUNW_1.2
-exception $return != 0
-end
-
-function gss_add_cred
-include <gssapi/gssapi.h>
-declaration OM_uint32 gss_add_cred( \
- OM_uint32 * minor_status ,\
- const gss_cred_id_t input_cred_handle ,\
- const gss_name_t desired_name ,\
- const gss_OID desired_mech ,\
- gss_cred_usage_t cred_usage ,\
- OM_uint32 initiator_time_req ,\
- OM_uint32 acceptor_time_req ,\
- gss_cred_id_t * output_cred_handle ,\
- gss_OID_set * actual_mechs ,\
- OM_uint32 * initiator_time_rec ,\
- OM_uint32 * acceptor_time_rec \
- )
-version SUNW_1.2
-exception $return != 0
-end
-
-function gss_add_cred_with_password
-include <gssapi/gssapi_ext.h>
-declaration OM_uint32 gss_add_cred_with_password( \
- OM_uint32 * minor_status ,\
- const gss_cred_id_t input_cred_handle ,\
- const gss_name_t desired_name ,\
- const gss_OID desired_mech ,\
- const gss_buffer_t password ,\
- gss_cred_usage_t cred_usage ,\
- OM_uint32 initiator_time_req ,\
- OM_uint32 acceptor_time_req ,\
- gss_cred_id_t * output_cred_handle ,\
- gss_OID_set * actual_mechs ,\
- OM_uint32 * initiator_time_rec ,\
- OM_uint32 * acceptor_time_rec \
- )
-version SUNW_1.2
-exception $return != 0
-end
-
-function gss_store_cred
-include <gssapi/gssapi.h>
-declaration OM_uint32 gss_store_cred( \
- OM_uint32 * minor_status ,\
- const gss_cred_id_t input_cred_handle ,\
- gss_cred_usage_t cred_usage ,\
- const gss_OID desired_mech ,\
- OM_uint32 overwrite_cred ,\
- OM_uint32 default_cred ,\
- gss_OID_set * elements_stored ,\
- gss_cred_usage_t * cred_usage_stored \
- )
-version SUNW_1.2
-exception $return != 0
-end
-
-function gss_inquire_cred_by_mech
-include <gssapi/gssapi.h>
-declaration OM_uint32 gss_inquire_cred_by_mech( \
- OM_uint32 * minor_status ,\
- const gss_cred_id_t cred_handle ,\
- const gss_OID mech_type ,\
- gss_name_t * name ,\
- OM_uint32 * initiator_lifetime ,\
- OM_uint32 * acceptor_lifetime ,\
- gss_cred_usage_t * cred_usage \
- )
-version SUNW_1.2
-exception $return != 0
-end
-
-function gss_export_sec_context
-include <gssapi/gssapi.h>
-declaration OM_uint32 gss_export_sec_context( \
- OM_uint32 * minor_status ,\
- gss_ctx_id_t * context_handle ,\
- gss_buffer_t interprocess_token \
-)
-version SUNW_1.2
-exception $return != 0
-end
-
-function gss_import_sec_context
-include <gssapi/gssapi.h>
-declaration OM_uint32 gss_import_sec_context( \
- OM_uint32 * minor_status ,\
- const gss_buffer_t interprocess_token ,\
- gss_ctx_id_t * context_handle \
- )
-version SUNW_1.2
-exception $return != 0
-end
-
-function gss_release_oid
-include <gssapi/gssapi.h>
-declaration OM_uint32 gss_release_oid( \
- OM_uint32 * minor_status ,\
- gss_OID * oid \
- )
-version SUNW_1.2
-exception $return != 0
-end
-
-function gss_create_empty_oid_set
-include <gssapi/gssapi.h>
-declaration OM_uint32 gss_create_empty_oid_set( \
- OM_uint32 * minor_status ,\
- gss_OID_set * oid_set \
- )
-version SUNW_1.2
-exception $return != 0
-end
-
-function gss_add_oid_set_member
-include <gssapi/gssapi.h>
-declaration OM_uint32 gss_add_oid_set_member( \
- OM_uint32 * minor_status ,\
- const gss_OID member_oid ,\
- gss_OID_set * oid_set \
- )
-version SUNW_1.2
-exception $return != 0
-end
-
-function gss_test_oid_set_member
-include <gssapi/gssapi.h>
-declaration OM_uint32 gss_test_oid_set_member( \
- OM_uint32 * minor_status ,\
- const gss_OID member ,\
- const gss_OID_set set ,\
- int *present)
-version SUNW_1.2
-exception $return != 0
-end
-
-function gss_str_to_oid
-include <gssapi/gssapi.h>
-declaration OM_uint32 gss_str_to_oid( \
- OM_uint32 * minor_status ,\
- const gss_buffer_t oid_str ,\
- gss_OID * oid \
- )
-version SUNWprivate_1.1
-exception $return != 0
-end
-
-
-function gss_inquire_names_for_mech
-include <gssapi/gssapi.h>
-declaration OM_uint32 gss_inquire_names_for_mech( \
- OM_uint32 * minor_status ,\
- const gss_OID mechanism ,\
- gss_OID_set * name_types \
- )
-version SUNW_1.2
-exception $return != 0
-end
-
-function gss_inquire_mechs_for_name
-include <gssapi/gssapi.h>
-declaration OM_uint32 gss_inquire_mechs_for_name( \
- OM_uint32 * minor_status ,\
- const gss_name_t input_name ,\
- gss_OID_set * mech_types \
- )
-version SUNW_1.2
-exception $return != 0
-end
-
-function gss_canonicalize_name
-include <gssapi/gssapi.h>
-declaration OM_uint32 gss_canonicalize_name( \
- OM_uint32 * minor_status ,\
- const gss_name_t input_name ,\
- const gss_OID mech_type ,\
- gss_name_t * output_name \
- )
-version SUNW_1.2
-exception $return != 0
-end
-
-function gss_duplicate_name
-include <gssapi/gssapi.h>
-declaration OM_uint32 gss_duplicate_name( \
- OM_uint32 * minor_status ,\
- const gss_name_t src_name ,\
- gss_name_t * dest_name \
- )
-version SUNW_1.2
-exception $return != 0
-end
-
-function gss_sign
-declaration OM_uint32 gss_sign(OM_uint32 *minor_status ,\
- gss_ctx_id_t context_handle ,\
- int qop_req,\
- gss_buffer_t message_buffer ,\
- gss_buffer_t message_token \
- )
-version SUNW_1.2
-exception $return != 0
-end
-
-function gss_verify
-declaration OM_uint32 gss_verify( \
- OM_uint32 *minor_status ,\
- gss_ctx_id_t context_handle ,\
- gss_buffer_t message_buffer ,\
- gss_buffer_t token_buffer,\
- int *qop_state \
- )
-version SUNW_1.2
-exception $return != 0
-end
-
-function gss_seal
-declaration OM_uint32 gss_seal( \
- OM_uint32 *minor_status ,\
- gss_ctx_id_t context_handle ,\
- int conf_req_flag ,\
- int qop_req ,\
- gss_buffer_t input_message_bfer ,\
- int *conf_state ,\
- gss_buffer_t output_message_bfer \
- )
-version SUNW_1.2
-exception $return != 0
-end
-
-function gss_unseal
-declaration OM_uint32 gss_unseal( \
- OM_uint32 *minor_status ,\
- gss_ctx_id_t context_handle ,\
- gss_buffer_t input_message_bfer ,\
- gss_buffer_t output_message_bfer ,\
- int *conf_state ,\
- int *qop_state \
- )
-version SUNW_1.2
-exception $return != 0
-end
-
-function gss_oid_to_str
-version SUNWprivate_1.1
-end
-
-function gss_copy_oid_set
-declaration OM_uint32 gss_copy_oid_set( \
- OM_uint32 *,\
- const gss_OID_set_desc *, \
- gss_OID_set *)
-version SUNWprivate_1.1
-end
-
-data gss_nt_exported_name
-declaration const gss_OID_desc * const gss_nt_exported_name;
-version SUNWprivate_1.1
-end
-
-data gss_nt_service_name
-declaration const gss_OID_desc * const gss_nt_service_name;
-version SUNWprivate_1.1
-end
-
-data gss_nt_service_name_v2
-declaration const gss_OID_desc * const gss_nt_service_name_v2;
-version SUNWprivate_1.1
-end
-
-function __gss_qop_to_num
-version SUNWprivate_1.1
-end
-
-function __gss_num_to_qop
-version SUNWprivate_1.1
-end
-
-function __gss_get_mech_info
-version SUNWprivate_1.1
-end
-
-function __gss_mech_qops
-version SUNWprivate_1.1
-end
-
-function __gss_mech_to_oid
-version SUNWprivate_1.1
-end
-
-function __gss_oid_to_mech
-version SUNWprivate_1.1
-end
-
-function __gss_get_mechanisms
-version SUNWprivate_1.1
-end
-
-function __gss_userok
-declaration OM_uint32 __gss_userok(\
- OM_uint32 *minor,\
- const gss_name_t name,\
- const char *user,\
- int *user_ok)
-version SUNWprivate_1.1
-end
-
-function gsscred_expname_to_unix_cred
-version SUNWprivate_1.1
-end
-
-function gsscred_expname_to_unix_cred_ext
-declaration OM_uint32 gsscred_expname_to_unix_cred_ext(\
- const gss_buffer_t expName,\
- uid_t *uidOut,\
- gid_t *gidOut,\
- gid_t *gids[],\
- int *gidsLen,\
- int try_mech)
-version SUNWprivate_1.1
-end
-
-function gsscred_name_to_unix_cred
-declaration OM_uint32 gsscred_name_to_unix_cred( \
- const gss_name_t intName, \
- const gss_OID mechType, \
- uid_t *uidOut, \
- gid_t *gidOut, \
- gid_t *gids[], \
- int *gidsLen)
-version SUNWprivate_1.1
-end
-
-function gsscred_name_to_unix_cred_ext
-declaration OM_uint32 gsscred_name_to_unix_cred_ext(\
- const gss_name_t intName,\
- const gss_OID mechType,\
- uid_t *uidOut,\
- gid_t *gidOut,\
- gid_t *gids[],\
- int *gidsLen,\
- int try_mech)
-version SUNWprivate_1.1
-end
-
-function gsscred_set_options
-declaration void gsscred_set_options(void)
-version SUNWprivate_1.1
-end
-
-function gss_get_group_info
-version SUNWprivate_1.1
-end
-
-function __gss_get_modOptions
-declaration char * __gss_get_modOptions(const gss_OID)
-version SUNWprivate_1.1
-end
-
-function __gss_get_kmodName
-version SUNWprivate_1.1
-end
-
-# Needed by mech_dummy.so to run rpcgss_sample with -m 2
-function generic_gss_copy_oid
-version SUNWprivate_1.1
-end
-
-# Needed by mech_dummy.so to run rpcgss_sample with -m 2
-function generic_gss_release_oid
-version SUNWprivate_1.1
-end
-
-function __gss_get_mech_type
-version SUNWprivate_1.1
-end
-
-function der_length_size
-version SUNWprivate_1.1
-end
-
-function get_der_length
-version SUNWprivate_1.1
-end
-
-function put_der_length
-version SUNWprivate_1.1
-end
diff --git a/usr/src/lib/libgss/spec/i386/Makefile b/usr/src/lib/libgss/spec/i386/Makefile
deleted file mode 100644
index 401acdcae1..0000000000
--- a/usr/src/lib/libgss/spec/i386/Makefile
+++ /dev/null
@@ -1,42 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libgss/spec/i386/Makefile
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#i386_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libgss/spec/sparc/Makefile b/usr/src/lib/libgss/spec/sparc/Makefile
deleted file mode 100644
index 1af31f36a2..0000000000
--- a/usr/src/lib/libgss/spec/sparc/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libgss/spec/sparc/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#sparc_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libgss/spec/sparcv9/Makefile b/usr/src/lib/libgss/spec/sparcv9/Makefile
deleted file mode 100644
index 1eb81d037c..0000000000
--- a/usr/src/lib/libgss/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,43 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libgss/spec/sparcv9/Makefile
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#sparcv9_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libgss/spec/versions b/usr/src/lib/libgss/spec/versions
deleted file mode 100644
index 5fa1ed3b51..0000000000
--- a/usr/src/lib/libgss/spec/versions
+++ /dev/null
@@ -1,47 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-sparc {
- SUNW_1.2: {SUNW_1.1};
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-sparcv9 {
- SUNW_1.2: {SUNW_1.1};
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-i386 {
- SUNW_1.2: {SUNW_1.1};
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-amd64 {
- SUNW_1.2: {SUNW_1.1};
- SUNW_1.1;
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/libinetcfg/Makefile b/usr/src/lib/libinetcfg/Makefile
index e66d14656c..108e33c201 100644
--- a/usr/src/lib/libinetcfg/Makefile
+++ b/usr/src/lib/libinetcfg/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,10 +19,10 @@
# CDDL HEADER END
#
#
-# Copyright 2002 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
include $(SRC)/lib/Makefile.lib
@@ -43,9 +42,7 @@ lint := TARGET = lint
.KEEP_STATE:
-all clean clobber install: spec .WAIT $(SUBDIRS)
-
-lint: $(SUBDIRS)
+all clean clobber install lint: $(SUBDIRS)
install_h: $(ROOTHDRS)
@@ -55,7 +52,7 @@ $(POFILE): pofile_MSGFILES
_msg: $(MSGDOMAINPOFILE)
-spec $(SUBDIRS): FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
diff --git a/usr/src/lib/libinetcfg/Makefile.com b/usr/src/lib/libinetcfg/Makefile.com
index 3600f689ed..1eb8a4aee4 100644
--- a/usr/src/lib/libinetcfg/Makefile.com
+++ b/usr/src/lib/libinetcfg/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,7 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
@@ -40,11 +39,9 @@ include ../../Makefile.rootfs
LIBS = $(DYNLIB) $(LINTLIB)
LDLIBS += -lc -lnsl -lsocket -ldevinfo
-$(LINTLIB) := SRCS = $(SRCDIR)/$(LINTSRC)
SRCDIR = ../common
-MAPDIR = ../spec/$(TRANSMACH)
-SPECMAPFILE = $(MAPDIR)/mapfile
+$(LINTLIB) := SRCS = $(SRCDIR)/$(LINTSRC)
CFLAGS += $(CCVERBOSE)
CPPFLAGS += -I$(SRCDIR) -D_REENTRANT
diff --git a/usr/src/lib/libinetcfg/common/mapfile-vers b/usr/src/lib/libinetcfg/common/mapfile-vers
new file mode 100644
index 0000000000..e9c1e5d58e
--- /dev/null
+++ b/usr/src/lib/libinetcfg/common/mapfile-vers
@@ -0,0 +1,74 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNWprivate_1.1 {
+ global:
+ icfg_close;
+ icfg_errmsg;
+ icfg_free_if_list;
+ icfg_get_addr;
+ icfg_get_broadcast;
+ icfg_get_dest_addr;
+ icfg_get_flags;
+ icfg_get_groupname;
+ icfg_get_if_list;
+ icfg_get_index;
+ icfg_get_metric;
+ icfg_get_mtu;
+ icfg_get_netmask;
+ icfg_get_subnet;
+ icfg_get_token;
+ icfg_get_tunnel_dest;
+ icfg_get_tunnel_encaplimit;
+ icfg_get_tunnel_hoplimit;
+ icfg_get_tunnel_lower;
+ icfg_get_tunnel_src;
+ icfg_get_tunnel_upper;
+ icfg_is_logical;
+ icfg_iterate_if;
+ icfg_open;
+ icfg_refresh_tunnel_cache;
+ icfg_set_addr;
+ icfg_set_broadcast;
+ icfg_set_dest_addr;
+ icfg_set_flags;
+ icfg_set_index;
+ icfg_set_metric;
+ icfg_set_mtu;
+ icfg_set_netmask;
+ icfg_set_prefixlen;
+ icfg_set_subnet;
+ icfg_set_token;
+ icfg_set_tunnel_dest;
+ icfg_set_tunnel_encaplimit;
+ icfg_set_tunnel_hoplimit;
+ icfg_set_tunnel_src;
+ icfg_sockaddr_to_str;
+ icfg_str_to_sockaddr;
+ local:
+ *;
+};
diff --git a/usr/src/lib/libinetcfg/spec/Makefile b/usr/src/lib/libinetcfg/spec/Makefile
deleted file mode 100644
index ad235ae8d2..0000000000
--- a/usr/src/lib/libinetcfg/spec/Makefile
+++ /dev/null
@@ -1,30 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2002 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libinetcfg/spec/Makefile
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/libinetcfg/spec/Makefile.targ b/usr/src/lib/libinetcfg/spec/Makefile.targ
deleted file mode 100644
index 808aead6f7..0000000000
--- a/usr/src/lib/libinetcfg/spec/Makefile.targ
+++ /dev/null
@@ -1,33 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2002 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libinetcfg/spec/Makefile.targ
-
-LIBRARY = libinetcfg.a
-VERS = .1
-OBJECTS = inetcfg.o
-
diff --git a/usr/src/lib/libinetcfg/spec/amd64/Makefile b/usr/src/lib/libinetcfg/spec/amd64/Makefile
deleted file mode 100644
index 4ee7613aaf..0000000000
--- a/usr/src/lib/libinetcfg/spec/amd64/Makefile
+++ /dev/null
@@ -1,32 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-all clean clobber install lint:
- @echo "Nothing to $@ on amd64"
diff --git a/usr/src/lib/libinetcfg/spec/i386/Makefile b/usr/src/lib/libinetcfg/spec/i386/Makefile
deleted file mode 100644
index 3a1dd0d6f8..0000000000
--- a/usr/src/lib/libinetcfg/spec/i386/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2002 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libinetcfg/spec/i386/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libinetcfg/spec/inetcfg.spec b/usr/src/lib/libinetcfg/spec/inetcfg.spec
deleted file mode 100644
index 7d2af8201a..0000000000
--- a/usr/src/lib/libinetcfg/spec/inetcfg.spec
+++ /dev/null
@@ -1,310 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libinetcfg/spec/inetcfg.spec
-
-function icfg_errmsg
-include <inetcfg.h>
-declaration const char *icfg_errmsg(int index)
-version SUNWprivate_1.1
-end
-
-function icfg_open
-include <inetcfg.h>
-declaration int icfg_open(icfg_handle_t *handle, \
- const icfg_if_t *interface)
-version SUNWprivate_1.1
-end
-
-function icfg_close
-include <inetcfg.h>
-declaration void icfg_close(icfg_handle_t handle)
-version SUNWprivate_1.1
-end
-
-function icfg_set_tunnel_dest
-include <inetcfg.h>
-declaration int icfg_set_tunnel_dest(icfg_handle_t handle, \
- const struct sockaddr *addr, socklen_t addrlen)
-version SUNWprivate_1.1
-end
-
-function icfg_set_tunnel_src
-include <inetcfg.h>
-declaration int icfg_set_tunnel_src(icfg_handle_t handle, \
- const struct sockaddr *addr, socklen_t addrlen)
-version SUNWprivate_1.1
-end
-
-function icfg_set_tunnel_hoplimit
-include <inetcfg.h>
-declaration int icfg_set_tunnel_hoplimit(icfg_handle_t handle, \
- uint8_t limit)
-version SUNWprivate_1.1
-end
-
-function icfg_set_tunnel_encaplimit
-include <inetcfg.h>
-declaration int icfg_set_tunnel_encaplimit(icfg_handle_t handle, \
- int16_t limit)
-version SUNWprivate_1.1
-end
-
-function icfg_get_tunnel_dest
-include <inetcfg.h>
-declaration int icfg_get_tunnel_dest(icfg_handle_t handle, \
- struct sockaddr *addr, socklen_t *addrlen)
-version SUNWprivate_1.1
-end
-
-function icfg_get_tunnel_src
-include <inetcfg.h>
-declaration int icfg_get_tunnel_src(icfg_handle_t handle, \
- struct sockaddr *addr, socklen_t *addrlen)
-version SUNWprivate_1.1
-end
-
-function icfg_get_tunnel_hoplimit
-include <inetcfg.h>
-declaration int icfg_get_tunnel_hoplimit(icfg_handle_t handle, \
- uint8_t *limit)
-version SUNWprivate_1.1
-end
-
-function icfg_get_tunnel_encaplimit
-include <inetcfg.h>
-declaration int icfg_get_tunnel_encaplimit(icfg_handle_t handle, \
- int16_t *limit)
-version SUNWprivate_1.1
-end
-
-function icfg_get_tunnel_lower
-include <inetcfg.h>
-declaration int icfg_get_tunnel_lower(icfg_handle_t handle, \
- int *protocol)
-version SUNWprivate_1.1
-end
-
-function icfg_get_tunnel_upper
-include <inetcfg.h>
-declaration int icfg_get_tunnel_upper(icfg_handle_t handle, \
- int *protocol)
-version SUNWprivate_1.1
-end
-
-function icfg_refresh_tunnel_cache
-include <inetcfg.h>
-declaration int icfg_refresh_tunnel_cache(icfg_handle_t handle)
-version SUNWprivate_1.1
-end
-
-function icfg_set_flags
-include <inetcfg.h>
-declaration int icfg_set_flags(icfg_handle_t handle, uint64_t flags)
-version SUNWprivate_1.1
-end
-
-function icfg_set_metric
-include <inetcfg.h>
-declaration int icfg_set_metric(icfg_handle_t handle, int metric)
-version SUNWprivate_1.1
-end
-
-function icfg_set_mtu
-include <inetcfg.h>
-declaration int icfg_set_mtu(icfg_handle_t handle, uint_t mtu)
-version SUNWprivate_1.1
-end
-
-function icfg_set_index
-include <inetcfg.h>
-declaration int icfg_set_index(icfg_handle_t handle, int index)
-version SUNWprivate_1.1
-end
-
-function icfg_set_netmask
-include <inetcfg.h>
-declaration int icfg_set_netmask(icfg_handle_t handle, \
- const struct sockaddr_in *addr)
-version SUNWprivate_1.1
-end
-
-function icfg_set_broadcast
-include <inetcfg.h>
-declaration int icfg_set_broadcast(icfg_handle_t handle, \
- const struct sockaddr_in *addr)
-version SUNWprivate_1.1
-end
-
-function icfg_set_prefixlen
-include <inetcfg.h>
-declaration int icfg_set_prefixlen(icfg_handle_t handle, int prefixlen)
-version SUNWprivate_1.1
-end
-
-function icfg_set_addr
-include <inetcfg.h>
-declaration int icfg_set_addr(icfg_handle_t handle, \
- const struct sockaddr *addr, socklen_t addrlen)
-version SUNWprivate_1.1
-end
-
-function icfg_set_token
-include <inetcfg.h>
-declaration int icfg_set_token(icfg_handle_t handle, \
- const struct sockaddr_in6 *addr, int prefixlen)
-version SUNWprivate_1.1
-end
-
-function icfg_set_subnet
-include <inetcfg.h>
-declaration int icfg_set_subnet(icfg_handle_t handle, \
- const struct sockaddr *addr, socklen_t addrlen, \
- int prefixlen)
-version SUNWprivate_1.1
-end
-
-function icfg_set_dest_addr
-include <inetcfg.h>
-declaration int icfg_set_dest_addr(icfg_handle_t handle, \
- const struct sockaddr *addr, socklen_t addrlen)
-version SUNWprivate_1.1
-end
-
-function icfg_get_addr
-include <inetcfg.h>
-declaration int icfg_get_addr(icfg_handle_t handle, struct sockaddr *addr,\
- socklen_t *addrlen, int *prefixlen, boolean_t force)
-version SUNWprivate_1.1
-end
-
-function icfg_get_token
-include <inetcfg.h>
-declaration int icfg_get_token(icfg_handle_t handle, \
- struct sockaddr_in6 *addr, int *prefixlen, boolean_t force)
-version SUNWprivate_1.1
-end
-
-function icfg_get_subnet
-include <inetcfg.h>
-declaration int icfg_get_subnet(icfg_handle_t handle, \
- struct sockaddr *addr, socklen_t *addrlen, \
- int *prefixlen, boolean_t force)
-version SUNWprivate_1.1
-end
-
-function icfg_get_netmask
-include <inetcfg.h>
-declaration int icfg_get_netmask(icfg_handle_t handle, \
- struct sockaddr_in *addr)
-version SUNWprivate_1.1
-end
-
-function icfg_get_broadcast
-include <inetcfg.h>
-declaration int icfg_get_broadcast(icfg_handle_t handle, \
- struct sockaddr_in *addr)
-version SUNWprivate_1.1
-end
-
-function icfg_get_dest_addr
-include <inetcfg.h>
-declaration int icfg_get_dest_addr(icfg_handle_t handle, \
- struct sockaddr *addr, socklen_t *addrlen)
-version SUNWprivate_1.1
-end
-
-function icfg_get_groupname
-include <inetcfg.h>
-declaration int icfg_get_groupname(icfg_handle_t handle, \
- char *groupname, size_t len)
-version SUNWprivate_1.1
-end
-
-function icfg_get_flags
-include <inetcfg.h>
-declaration int icfg_get_flags(icfg_handle_t handle, \
- uint64_t *flags)
-version SUNWprivate_1.1
-end
-
-function icfg_get_metric
-include <inetcfg.h>
-declaration int icfg_get_metric(icfg_handle_t handle, int *metric)
-version SUNWprivate_1.1
-end
-
-function icfg_get_mtu
-include <inetcfg.h>
-declaration int icfg_get_mtu(icfg_handle_t handle, uint_t *mtu)
-version SUNWprivate_1.1
-end
-
-function icfg_get_index
-include <inetcfg.h>
-declaration int icfg_get_index(icfg_handle_t handle, int *index)
-version SUNWprivate_1.1
-end
-
-function icfg_get_if_list
-include <inetcfg.h>
-declaration int icfg_get_if_list(icfg_if_t **if_list, int *numif, \
- int proto, int type)
-version SUNWprivate_1.1
-end
-
-function icfg_free_if_list
-include <inetcfg.h>
-declaration void icfg_free_if_list(icfg_if_t *if_list)
-version SUNWprivate_1.1
-end
-
-function icfg_iterate_if
-include <inetcfg.h>
-declaration int icfg_iterate_if(int proto, int type, void *arg, \
- int (*callback)(icfg_if_t *interface, void *arg))
-version SUNWprivate_1.1
-end
-
-function icfg_is_logical
-include <inetcfg.h>
-declaration boolean_t icfg_is_logical(icfg_handle_t handle)
-version SUNWprivate_1.1
-end
-
-function icfg_sockaddr_to_str
-include <inetcfg.h>
-declaration int icfg_sockaddr_to_str(sa_family_t af, \
- const struct sockaddr *sockaddr, char *addr, size_t len)
-version SUNWprivate_1.1
-end
-
-function icfg_str_to_sockaddr
-include <inetcfg.h>
-declaration int icfg_str_to_sockaddr(sa_family_t af, const char *straddr, \
- struct sockaddr *sockaddr, socklen_t *)
-version SUNWprivate_1.1
-end
diff --git a/usr/src/lib/libinetcfg/spec/sparc/Makefile b/usr/src/lib/libinetcfg/spec/sparc/Makefile
deleted file mode 100644
index c502395dff..0000000000
--- a/usr/src/lib/libinetcfg/spec/sparc/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2002 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libinetcfg/spec/sparc/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libinetcfg/spec/sparcv9/Makefile b/usr/src/lib/libinetcfg/spec/sparcv9/Makefile
deleted file mode 100644
index 1826191a45..0000000000
--- a/usr/src/lib/libinetcfg/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,33 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2002 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libinetcfg/spec/sparcv9/Makefile
-
-.KEEP_STATE:
-
-all clean clobber install lint:
- @echo "Nothing to $@ on sparcv9"
diff --git a/usr/src/lib/libinetcfg/spec/versions b/usr/src/lib/libinetcfg/spec/versions
deleted file mode 100644
index 22e0dd1104..0000000000
--- a/usr/src/lib/libinetcfg/spec/versions
+++ /dev/null
@@ -1,39 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-sparc {
- SUNWprivate_1.1;
-}
-sparcv9 {
- SUNWprivate_1.1;
-}
-i386 {
- SUNWprivate_1.1;
-}
-amd64 {
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/libinetsvc/Makefile b/usr/src/lib/libinetsvc/Makefile
index a72b2d665b..0b426c7c65 100644
--- a/usr/src/lib/libinetsvc/Makefile
+++ b/usr/src/lib/libinetsvc/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,10 +19,10 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
include ../Makefile.lib
@@ -41,15 +40,13 @@ HDRS = inetsvc.h
.KEEP_STATE:
-all clean clobber install: spec .WAIT $(SUBDIRS)
+all clean clobber install lint: $(SUBDIRS)
install_h: $(ROOTHDRS)
check: $(CHECKHDRS)
-lint: $(SUBDIRS)
-
-$(SUBDIRS) spec: FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
diff --git a/usr/src/lib/libinetsvc/Makefile.com b/usr/src/lib/libinetsvc/Makefile.com
index 6ea2c906c6..164d31c196 100644
--- a/usr/src/lib/libinetsvc/Makefile.com
+++ b/usr/src/lib/libinetsvc/Makefile.com
@@ -22,7 +22,7 @@
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
LIBRARY = libinetsvc.a
@@ -32,14 +32,12 @@ OBJECTS = inetsvc.o
include ../../Makefile.lib
LIBS = $(DYNLIB) $(LINTLIB)
-$(LINTLIB) := SRCS = $(SRCDIR)/$(LINTSRC)
LDLIBS += -lscf -lc -lsocket -lnsl -lmd -luutil
SRCDIR = ../common
-MAPDIR = ../spec/$(TRANSMACH)
-SPECMAPFILE = $(MAPDIR)/mapfile
+$(LINTLIB) := SRCS = $(SRCDIR)/$(LINTSRC)
-CFLAGS += -v -Wp,-xc99=%all
+CFLAGS += $(CCVERBOSE) -Wp,-xc99=%all
CPPFLAGS += -I../common -D_REENTRANT
$(RELEASE_BUILD)CPPFLAGS += -DNDEBUG
diff --git a/usr/src/lib/libinetsvc/common/mapfile-vers b/usr/src/lib/libinetsvc/common/mapfile-vers
new file mode 100644
index 0000000000..d0913123e9
--- /dev/null
+++ b/usr/src/lib/libinetsvc/common/mapfile-vers
@@ -0,0 +1,66 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNWprivate_1.1 {
+ global:
+ calculate_hash;
+ connect_to_inetd;
+ destroy_basic_cfg;
+ destroy_proto_list;
+ destroy_strings;
+ dg_template;
+ find_prop;
+ free_instance_props;
+ get_netids;
+ get_prop_table;
+ get_prop_value_boolean;
+ get_prop_value_count;
+ get_prop_value_int;
+ get_prop_value_string;
+ get_protos;
+ get_rpc_prognum;
+ get_sock_type_id;
+ inet_ntop_native;
+ put_prop_value_boolean;
+ put_prop_value_count;
+ put_prop_value_int;
+ put_prop_value_string;
+ put_prop_value_string_list;
+ read_default_props;
+ read_instance_props;
+ read_prop;
+ refresh_inetd;
+ retrieve_inetd_hash;
+ safe_sendto;
+ safe_write;
+ setproctitle;
+ store_inetd_hash;
+ valid_default_prop;
+ valid_props;
+ local:
+ *;
+};
diff --git a/usr/src/lib/libinetsvc/spec/Makefile b/usr/src/lib/libinetsvc/spec/Makefile
deleted file mode 100644
index 97ff568ece..0000000000
--- a/usr/src/lib/libinetsvc/spec/Makefile
+++ /dev/null
@@ -1,29 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/libinetsvc/spec/Makefile.targ b/usr/src/lib/libinetsvc/spec/Makefile.targ
deleted file mode 100644
index c5b9409832..0000000000
--- a/usr/src/lib/libinetsvc/spec/Makefile.targ
+++ /dev/null
@@ -1,34 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-
-LIBRARY = libinetsvc.a
-VERS = .1
-
-OBJECTS = inetsvc.o
-
-SPECCPP =
diff --git a/usr/src/lib/libinetsvc/spec/amd64/Makefile b/usr/src/lib/libinetsvc/spec/amd64/Makefile
deleted file mode 100644
index 9ec1b071b8..0000000000
--- a/usr/src/lib/libinetsvc/spec/amd64/Makefile
+++ /dev/null
@@ -1,30 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-
-all install pics clean clobber:
- @echo "No 64bit version of library created"
diff --git a/usr/src/lib/libinetsvc/spec/i386/Makefile b/usr/src/lib/libinetsvc/spec/i386/Makefile
deleted file mode 100644
index 1fa4955779..0000000000
--- a/usr/src/lib/libinetsvc/spec/i386/Makefile
+++ /dev/null
@@ -1,43 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#i386_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libinetsvc/spec/inetsvc.spec b/usr/src/lib/libinetsvc/spec/inetsvc.spec
deleted file mode 100644
index 49aa24aa1e..0000000000
--- a/usr/src/lib/libinetsvc/spec/inetsvc.spec
+++ /dev/null
@@ -1,249 +0,0 @@
-#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-
-function get_prop_table
-include <inetsvc.h>
-declaration inetd_prop_t *get_prop_table(size_t *num_elements)
-version SUNWprivate_1.1
-end
-
-function find_prop
-include <inetsvc.h>
-declaration inetd_prop_t *find_prop(const inetd_prop_t *prop,
- const char *name, inet_type_t type)
-version SUNWprivate_1.1
-end
-
-function get_prop_value_int
-include <inetsvc.h>
-declaration int64_t get_prop_value_int(const inetd_prop_t *prop,
- const char *name)
-version SUNWprivate_1.1
-end
-
-function get_prop_value_count
-include <inetsvc.h>
-declaration uint64_t get_prop_value_count(const inetd_prop_t *prop,
- const char *name)
-version SUNWprivate_1.1
-end
-
-function get_prop_value_boolean
-include <inetsvc.h>
-declaration boolean_t get_prop_value_boolean(const inetd_prop_t *prop,
- const char *name)
-version SUNWprivate_1.1
-end
-
-function get_prop_value_string
-include <inetsvc.h>
-declaration char *get_prop_value_string(const inetd_prop_t *prop,
- const char *name)
-version SUNWprivate_1.1
-end
-
-function put_prop_value_int
-include <inetsvc.h>
-declaration void put_prop_value_int(inetd_prop_t *prop,
- const char *name, int64_t value)
-version SUNWprivate_1.1
-end
-
-function put_prop_value_count
-include <inetsvc.h>
-declaration void put_prop_value_count(inetd_prop_t *prop,
- const char *name, uint64_t value)
-version SUNWprivate_1.1
-end
-
-function put_prop_value_boolean
-include <inetsvc.h>
-declaration void put_prop_value_boolean(inetd_prop_t *prop,
- const char *name, boolean_t value)
-version SUNWprivate_1.1
-end
-
-function put_prop_value_string
-include <inetsvc.h>
-declaration boolean_t put_prop_value_string(inetd_prop_t *prop,
- const char *name, const char *value)
-version SUNWprivate_1.1
-end
-
-function put_prop_value_string_list
-include <inetsvc.h>
-declaration void put_prop_value_string_list(inetd_prop_t *prop,
- const char *name, char **value)
-version SUNWprivate_1.1
-end
-
-function valid_props
-include <inetsvc.h>
-declaration boolean_t valid_props(inetd_prop_t *prop)
-version SUNWprivate_1.1
-end
-
-function valid_default_prop
-include <inetsvc.h>
-declaration boolean_t valid_default_prop(const char *name,
- const void *value)
-version SUNWprivate_1.1
-end
-
-function read_prop
-include <inetsvc.h>
-declaration scf_error_t read_prop(scf_handle_t *h, inetd_prop_t *iprop,
- int index, const char *inst, const char *pg_name)
-version SUNWprivate_1.1
-end
-
-function read_instance_props
-include <inetsvc.h>
-declaration inetd_prop_t *read_instance_props(scf_handle_t *h,
- const char *instance, size_t *num_elements,
- scf_error_t *err)
-version SUNWprivate_1.1
-end
-
-function read_default_props
-include <inetsvc.h>
-declaration inetd_prop_t *read_default_props(scf_handle_t *h,
- size_t *num_elements, scf_error_t *err)
-version SUNWprivate_1.1
-end
-
-function free_instance_props
-include <inetsvc.h>
-declaration void free_instance_props(inetd_prop_t *prop)
-version SUNWprivate_1.1
-end
-
-function connect_to_inetd
-include <inetsvc.h>
-declaration int connect_to_inetd(void)
-version SUNWprivate_1.1
-end
-
-function refresh_inetd
-include <inetsvc.h>
-declaration int refresh_inetd(void)
-version SUNWprivate_1.1
-end
-
-function get_sock_type_id
-include <inetsvc.h>
-declaration int get_sock_type_id(const char *type_str);
-version SUNWprivate_1.1
-end
-
-function get_rpc_prognum
-include <inetsvc.h>
-declaration int get_rpc_prognum(const char *svc_name);
-version SUNWprivate_1.1
-end
-
-function calculate_hash
-include <inetsvc.h>
-declaration int calculate_hash(const char *pathname, char **hash);
-version SUNWprivate_1.1
-end
-
-function retrieve_inetd_hash
-include <inetsvc.h>
-declaration scf_error_t retrieve_inetd_hash(char **hash)
-version SUNWprivate_1.1
-end
-
-function store_inetd_hash
-include <inetsvc.h>
-declaration scf_error_t store_inetd_hash(const char *hash)
-version SUNWprivate_1.1
-end
-
-function inet_ntop_native
-include <inetsvc.h>
-declaration const char *inet_ntop_native(int af, const void *addr,
- char *dst, size_t size)
-version SUNWprivate_1.1
-end
-
-function setproctitle
-include <inetsvc.h>
-declaration void setproctitle(const char *svc_name, int s, char **argv);
-version SUNWprivate_1.1
-end
-
-function dg_template
-include <inetsvc.h>
-declaration void dg_template(void (*cb)(int, const struct sockaddr *, int,
- const void *, size_t), int s, void *buf, size_t buflen);
-version SUNWprivate_1.1
-end
-
-function safe_write
-include <inetsvc.h>
-declaration int safe_write(int fd, const void *buf, size_t sz);
-version SUNWprivate_1.1
-end
-
-function safe_sendto
-include <inetsvc.h>
-declaration int safe_sendto(int fd, const void *buf, size_t sz, int flags,
- const struct sockaddr *to, int tolen);
-version SUNWprivate_1.1
-end
-
-function get_protos
-include <inetsvc.h>
-declaration char **get_protos(const char *pstr);
-version SUNWprivate_1.1
-end
-
-function get_netids
-include <inetsvc.h>
-declaration char **get_netids(char *proto);
-version SUNWprivate_1.1
-end
-
-function destroy_strings
-include <inetsvc.h>
-declaration void destroy_strings(char **strs);
-version SUNWprivate_1.1
-end
-
-function destroy_basic_cfg
-include <inetsvc.h>
-declaration void destroy_basic_cfg(basic_cfg_t *cfg)
-version SUNWprivate_1.1
-end
-
-function destroy_proto_list
-include <inetsvc.h>
-declaration void destroy_proto_list(basic_cfg_t *cfg)
-version SUNWprivate_1.1
-end
-
diff --git a/usr/src/lib/libinetsvc/spec/sparc/Makefile b/usr/src/lib/libinetsvc/spec/sparc/Makefile
deleted file mode 100644
index 8f3b7be350..0000000000
--- a/usr/src/lib/libinetsvc/spec/sparc/Makefile
+++ /dev/null
@@ -1,43 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#sparc_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libinetsvc/spec/sparcv9/Makefile b/usr/src/lib/libinetsvc/spec/sparcv9/Makefile
deleted file mode 100644
index 9ec1b071b8..0000000000
--- a/usr/src/lib/libinetsvc/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,30 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-
-all install pics clean clobber:
- @echo "No 64bit version of library created"
diff --git a/usr/src/lib/libinetsvc/spec/versions b/usr/src/lib/libinetsvc/spec/versions
deleted file mode 100644
index 48f7ac760c..0000000000
--- a/usr/src/lib/libinetsvc/spec/versions
+++ /dev/null
@@ -1,32 +0,0 @@
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-sparc {
- SUNWprivate_1.1;
-}
-i386 {
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/libinetutil/Makefile b/usr/src/lib/libinetutil/Makefile
index 0d6e0903b8..980894ba78 100644
--- a/usr/src/lib/libinetutil/Makefile
+++ b/usr/src/lib/libinetutil/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,7 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
@@ -41,15 +40,13 @@ lint := TARGET = lint
.KEEP_STATE:
-all clean clobber install: spec .WAIT $(SUBDIRS)
-
-lint: $(SUBDIRS)
+all clean clobber install lint: $(SUBDIRS)
install_h: $(ROOTHDRS)
check: $(CHECKHDRS)
-$(SUBDIRS) spec: FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
diff --git a/usr/src/lib/libinetutil/Makefile.com b/usr/src/lib/libinetutil/Makefile.com
index d9e592c2df..810f24bd71 100644
--- a/usr/src/lib/libinetutil/Makefile.com
+++ b/usr/src/lib/libinetutil/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -37,6 +36,8 @@ include ../../Makefile.rootfs
LIBS = $(DYNLIB) $(LINTLIB)
+SRCDIR = ../common
+COMDIR = $(SRC)/common/net/dhcp
SRCS = $(COMDIR)/octet.c $(SRCDIR)/inetutil4.c \
$(SRCDIR)/ifspec.c $(SRCDIR)/eh.c $(SRCDIR)/tq.c \
$(SRCDIR)/ifaddrlist.c
@@ -44,11 +45,6 @@ SRCS = $(COMDIR)/octet.c $(SRCDIR)/inetutil4.c \
$(LINTLIB):= SRCS = $(SRCDIR)/$(LINTSRC)
LDLIBS += -lsocket -lc
-SRCDIR = ../common
-COMDIR = $(SRC)/common/net/dhcp
-MAPDIR = ../spec/$(TRANSMACH)
-SPECMAPFILE = $(MAPDIR)/mapfile
-
CFLAGS += $(CCVERBOSE)
CPPFLAGS += -I$(SRCDIR)
diff --git a/usr/src/lib/libinetutil/common/mapfile-vers b/usr/src/lib/libinetutil/common/mapfile-vers
new file mode 100644
index 0000000000..51c168fcc4
--- /dev/null
+++ b/usr/src/lib/libinetutil/common/mapfile-vers
@@ -0,0 +1,53 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNWprivate_1.1 {
+ global:
+ get_netmask4;
+ hexascii_to_octet;
+ ifaddrlist;
+ ifparse_ifspec;
+ iu_adjust_timer;
+ iu_cancel_timer;
+ iu_earliest_timer;
+ iu_eh_create;
+ iu_eh_destroy;
+ iu_eh_register_signal;
+ iu_eh_unregister_signal;
+ iu_expire_timers;
+ iu_handle_events;
+ iu_register_event;
+ iu_schedule_timer;
+ iu_schedule_timer_ms;
+ iu_stop_handling_events;
+ iu_tq_create;
+ iu_tq_destroy;
+ iu_unregister_event;
+ octet_to_hexascii;
+ local:
+ *;
+};
diff --git a/usr/src/lib/libinetutil/spec/Makefile b/usr/src/lib/libinetutil/spec/Makefile
deleted file mode 100644
index ca996b5cd4..0000000000
--- a/usr/src/lib/libinetutil/spec/Makefile
+++ /dev/null
@@ -1,30 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 2001 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libinetutil/spec/Makefile
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/libinetutil/spec/Makefile.targ b/usr/src/lib/libinetutil/spec/Makefile.targ
deleted file mode 100644
index dc5a1e2c9d..0000000000
--- a/usr/src/lib/libinetutil/spec/Makefile.targ
+++ /dev/null
@@ -1,35 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 2001 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libinetutil/spec/Makefile.targ
-
-LIBRARY = libinetutil.a
-VERS = .1
-
-OBJECTS = inetutil.o
-
-SPECCPP = -I../..
diff --git a/usr/src/lib/libinetutil/spec/amd64/Makefile b/usr/src/lib/libinetutil/spec/amd64/Makefile
deleted file mode 100644
index fb532ef308..0000000000
--- a/usr/src/lib/libinetutil/spec/amd64/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#amd64_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libinetutil/spec/i386/Makefile b/usr/src/lib/libinetutil/spec/i386/Makefile
deleted file mode 100644
index 5998e7365a..0000000000
--- a/usr/src/lib/libinetutil/spec/i386/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 2001 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libinetutil/spec/i386/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#i386_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libinetutil/spec/inetutil.spec b/usr/src/lib/libinetutil/spec/inetutil.spec
deleted file mode 100644
index 25741fd0ef..0000000000
--- a/usr/src/lib/libinetutil/spec/inetutil.spec
+++ /dev/null
@@ -1,161 +0,0 @@
-#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libinetutil/spec/inetutil.spec
-
-function octet_to_hexascii
-include <sys/types.h>
-include <netinet/in.h>
-include <libinetutil.h>
-declaration int octet_to_hexascii(const void *nump, uint_t nlen, \
- char *bufp, uint_t *blen)
-version SUNWprivate_1.1
-end
-
-function hexascii_to_octet
-include <sys/types.h>
-include <netinet/in.h>
-include <libinetutil.h>
-declaration int hexascii_to_octet(const char *asp, uint_t alen, \
- void *bufp, uint_t *blen)
-version SUNWprivate_1.1
-end
-
-function get_netmask4
-include <sys/types.h>
-include <netinet/in.h>
-include <libinetutil.h>
-declaration void get_netmask4(const struct in_addr *np, struct in_addr *sp)
-version SUNWprivate_1.1
-end
-
-function ifaddrlist
-include <libinetutil.h>
-declaration int ifaddrlist(struct ifaddrlist **, int, char *);
-version SUNWprivate_1.1
-end
-
-function ifparse_ifspec
-include <libinetutil.h>
-declaration boolean_t ifparse_ifspec(const char *ifname, ifspec_t *ifsp)
-version SUNWprivate_1.1
-end
-
-function iu_tq_create
-include <libinetutil.h>
-declaration iu_tq_t *iu_tq_create(void)
-version SUNWprivate_1.1
-end
-
-function iu_tq_destroy
-include <libinetutil.h>
-declaration void iu_tq_destroy(iu_tq_t *tq)
-version SUNWprivate_1.1
-end
-
-function iu_schedule_timer
-include <libinetutil.h>
-declaration iu_timer_id_t iu_schedule_timer(iu_tq_t *tq, uint32_t sec, iu_tq_callback_t *callback, void *arg)
-version SUNWprivate_1.1
-end
-
-function iu_schedule_timer_ms
-include <libinetutil.h>
-declaration iu_timer_id_t iu_schedule_timer_ms(iu_tq_t *tq, uint64_t ms, iu_tq_callback_t *callback, void *arg)
-version SUNWprivate_1.1
-end
-
-function iu_adjust_timer
-include <libinetutil.h>
-declaration int iu_adjust_timer(iu_tq_t *tq, iu_timer_id_t timer_id, uint32_t sec)
-version SUNWprivate_1.1
-end
-
-function iu_cancel_timer
-include <libinetutil.h>
-declaration int iu_cancel_timer(iu_tq_t *tq, iu_timer_id_t timer_id, void **arg)
-version SUNWprivate_1.1
-end
-
-function iu_expire_timers
-include <libinetutil.h>
-declaration int iu_expire_timers(iu_tq_t *tq)
-version SUNWprivate_1.1
-end
-
-function iu_earliest_timer
-include <libinetutil.h>
-declaration int iu_earliest_timer(iu_tq_t *tq)
-version SUNWprivate_1.1
-end
-
-function iu_eh_create
-include <libinetutil.h>
-declaration iu_eh_t *iu_eh_create(void)
-version SUNWprivate_1.1
-end
-
-function iu_eh_destroy
-include <libinetutil.h>
-declaration void iu_eh_destroy(iu_eh_t *eh)
-version SUNWprivate_1.1
-end
-
-function iu_register_event
-include <libinetutil.h>
-declaration iu_event_id_t iu_register_event(iu_eh_t *eh, int fd, short events, iu_eh_callback_t *callback, void *arg)
-version SUNWprivate_1.1
-end
-
-function iu_unregister_event
-include <libinetutil.h>
-declaration int iu_unregister_event(iu_eh_t *eh, iu_event_id_t event_id, void **arg)
-version SUNWprivate_1.1
-end
-
-function iu_handle_events
-include <libinetutil.h>
-declaration int iu_handle_events(iu_eh_t *eh, iu_tq_t *tq)
-version SUNWprivate_1.1
-end
-
-function iu_stop_handling_events
-include <libinetutil.h>
-declaration void iu_stop_handling_events(iu_eh_t *eh, unsigned int reason)
-version SUNWprivate_1.1
-end
-
-function iu_eh_register_signal
-include <libinetutil.h>
-declaration int iu_eh_register_signal(iu_eh_t *eh, int sig, iu_eh_sighandler_t *handler, void *data)
-version SUNWprivate_1.1
-end
-
-function iu_eh_unregister_signal
-include <libinetutil.h>
-declaration int iu_eh_unregister_signal(iu_eh_t *eh, int sig, void **datap)
-version SUNWprivate_1.1
-end
diff --git a/usr/src/lib/libinetutil/spec/sparc/Makefile b/usr/src/lib/libinetutil/spec/sparc/Makefile
deleted file mode 100644
index e41e118fe4..0000000000
--- a/usr/src/lib/libinetutil/spec/sparc/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 2001 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libinetutil/spec/sparc/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#sparc_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libinetutil/spec/sparcv9/Makefile b/usr/src/lib/libinetutil/spec/sparcv9/Makefile
deleted file mode 100644
index 57683cf1ec..0000000000
--- a/usr/src/lib/libinetutil/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,45 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 2001 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libinetutil/spec/sparcv9/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#sparcv9_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libinetutil/spec/versions b/usr/src/lib/libinetutil/spec/versions
deleted file mode 100644
index 22e0dd1104..0000000000
--- a/usr/src/lib/libinetutil/spec/versions
+++ /dev/null
@@ -1,39 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-sparc {
- SUNWprivate_1.1;
-}
-sparcv9 {
- SUNWprivate_1.1;
-}
-i386 {
- SUNWprivate_1.1;
-}
-amd64 {
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/libintl/Makefile.com b/usr/src/lib/libintl/Makefile.com
index 40a7f300b8..e229aa353e 100644
--- a/usr/src/lib/libintl/Makefile.com
+++ b/usr/src/lib/libintl/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -19,8 +18,8 @@
#
# CDDL HEADER END
#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
@@ -32,11 +31,11 @@ VERS= .1
include ../../Makefile.lib
include ../../Makefile.rootfs
-MAPFILES= ../common/mapfile-vers $(MAPFILE-FLTR)
-MAPOPTS= $(MAPFILES:%=-M %)
+MAPFILES += $(MAPFILE-FLTR)
+
SRCDIR= ../common
-DYNFLAGS += -F libc.so.1 $(MAPOPTS)
+DYNFLAGS += -F libc.so.1
LIBS= $(DYNLIB) $(LINTLIB)
$(LINTLIB):= SRCS=$(SRCDIR)/$(LINTSRC)
@@ -53,5 +52,3 @@ all: $(LIBS)
lint:
include ../../Makefile.targ
-
-$(DYNLIB): $(MAPFILES)
diff --git a/usr/src/lib/libipmp/Makefile b/usr/src/lib/libipmp/Makefile
index 596c39e922..188c49c073 100644
--- a/usr/src/lib/libipmp/Makefile
+++ b/usr/src/lib/libipmp/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,7 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
@@ -44,9 +43,7 @@ lint := TARGET = lint
.KEEP_STATE:
-all clean clobber install: spec .WAIT $(SUBDIRS)
-
-lint: $(SUBDIRS)
+all clean clobber install lint: $(SUBDIRS)
install_h: $(ROOTHDRS)
@@ -57,7 +54,7 @@ $(POFILE): $(MSGFILES)
_msg: $(MSGDOMAINPOFILE)
-$(SUBDIRS) spec: FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
diff --git a/usr/src/lib/libipmp/Makefile.com b/usr/src/lib/libipmp/Makefile.com
index 5bce4ce86e..bea02659a8 100644
--- a/usr/src/lib/libipmp/Makefile.com
+++ b/usr/src/lib/libipmp/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,7 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
@@ -33,12 +32,10 @@ OBJECTS = ipmp_query.o ipmp_mpathd.o ipmp.o
include ../../Makefile.lib
LIBS = $(DYNLIB) $(LINTLIB)
-$(LINTLIB):= SRCS = $(SRCDIR)/$(LINTSRC)
LDLIBS += -lsocket -lc
SRCDIR = ../common
-MAPDIR = ../spec/$(TRANSMACH)
-SPECMAPFILE = $(MAPDIR)/mapfile
+$(LINTLIB):= SRCS = $(SRCDIR)/$(LINTSRC)
CFLAGS += $(CCVERBOSE)
CPPFLAGS += -D_REENTRANT -I$(SRCDIR)
diff --git a/usr/src/lib/libipmp/common/mapfile-vers b/usr/src/lib/libipmp/common/mapfile-vers
new file mode 100644
index 0000000000..a4052bfcd3
--- /dev/null
+++ b/usr/src/lib/libipmp/common/mapfile-vers
@@ -0,0 +1,52 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNWprivate_1.1 {
+ global:
+ ipmp_close;
+ ipmp_errmsg;
+ ipmp_freegroupinfo;
+ ipmp_freegrouplist;
+ ipmp_freeifinfo;
+ ipmp_getgroupinfo;
+ ipmp_getgrouplist;
+ ipmp_getifinfo;
+ ipmp_groupinfo_create;
+ ipmp_grouplist_create;
+ ipmp_ifinfo_create;
+ ipmp_open;
+ ipmp_read;
+ ipmp_setqcontext;
+ ipmp_snap_addgroupinfo;
+ ipmp_snap_addifinfo;
+ ipmp_snap_create;
+ ipmp_snap_free;
+ ipmp_write;
+ ipmp_writetlv;
+ local:
+ *;
+};
diff --git a/usr/src/lib/libipmp/spec/Makefile b/usr/src/lib/libipmp/spec/Makefile
deleted file mode 100644
index 5df87a9a92..0000000000
--- a/usr/src/lib/libipmp/spec/Makefile
+++ /dev/null
@@ -1,29 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2002 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/libipmp/spec/Makefile.targ b/usr/src/lib/libipmp/spec/Makefile.targ
deleted file mode 100644
index 48aa2df3e3..0000000000
--- a/usr/src/lib/libipmp/spec/Makefile.targ
+++ /dev/null
@@ -1,32 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2002 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-LIBRARY = libipmp.a
-VERS = .1
-OBJECTS = ipmp.o
-SPECCPP =
diff --git a/usr/src/lib/libipmp/spec/amd64/Makefile b/usr/src/lib/libipmp/spec/amd64/Makefile
deleted file mode 100644
index 4ee7613aaf..0000000000
--- a/usr/src/lib/libipmp/spec/amd64/Makefile
+++ /dev/null
@@ -1,32 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-all clean clobber install lint:
- @echo "Nothing to $@ on amd64"
diff --git a/usr/src/lib/libipmp/spec/i386/Makefile b/usr/src/lib/libipmp/spec/i386/Makefile
deleted file mode 100644
index 01df11b35b..0000000000
--- a/usr/src/lib/libipmp/spec/i386/Makefile
+++ /dev/null
@@ -1,35 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2002 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libipmp/spec/ipmp.spec b/usr/src/lib/libipmp/spec/ipmp.spec
deleted file mode 100644
index d2cb5c473e..0000000000
--- a/usr/src/lib/libipmp/spec/ipmp.spec
+++ /dev/null
@@ -1,159 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-function ipmp_open
-include <ipmp.h>
-declaration int ipmp_open(ipmp_handle_t *handlep);
-version SUNWprivate_1.1
-end
-
-function ipmp_close
-include <ipmp.h>
-declaration void ipmp_close(ipmp_handle_t handle);
-version SUNWprivate_1.1
-end
-
-function ipmp_errmsg
-include <ipmp.h>
-declaration const char *ipmp_errmsg(int error);
-version SUNWprivate_1.1
-end
-
-function ipmp_setqcontext
-include <ipmp_query.h>
-declaration int ipmp_setqcontext(ipmp_handle_t handle, \
- ipmp_qcontext_t qcontext);
-version SUNWprivate_1.1
-end
-
-function ipmp_getgrouplist
-include <ipmp_query.h>
-declaration int ipmp_getgrouplist(ipmp_handle_t handle, \
- ipmp_grouplist_t **grlistpp);
-version SUNWprivate_1.1
-end
-
-function ipmp_freegrouplist
-include <ipmp_query.h>
-declaration void ipmp_freegrouplist(ipmp_grouplist_t *grlistp);
-version SUNWprivate_1.1
-end
-
-function ipmp_getgroupinfo
-include <ipmp_query.h>
-declaration int ipmp_getgroupinfo(ipmp_handle_t handle, \
- const char *grname, ipmp_groupinfo_t **grinfopp);
-version SUNWprivate_1.1
-end
-
-function ipmp_freegroupinfo
-include <ipmp_query.h>
-declaration void ipmp_freegroupinfo(ipmp_groupinfo_t *grinfop);
-version SUNWprivate_1.1
-end
-
-function ipmp_getifinfo
-include <ipmp_query.h>
-declaration int ipmp_getifinfo(ipmp_handle_t handle, const char *ifname, \
- ipmp_ifinfo_t **ifinfopp);
-version SUNWprivate_1.1
-end
-
-function ipmp_freeifinfo
-include <ipmp_query.h>
-declaration void ipmp_freeifinfo(ipmp_ifinfo_t *ifinfop);
-version SUNWprivate_1.1
-end
-
-function ipmp_ifinfo_create
-include <ipmp_query_impl.h>
-declaration ipmp_ifinfo_t *ipmp_ifinfo_create(const char *name, \
- const char *group, ipmp_if_state_t state, \
- ipmp_if_type_t type)
-version SUNWprivate_1.1
-end
-
-function ipmp_groupinfo_create
-include <ipmp_query_impl.h>
-declaration ipmp_groupinfo_t *ipmp_groupinfo_create(const char *name, \
- uint64_t sig, ipmp_group_state_t state, unsigned int nif, \
- char (*ifs)[LIFNAMSIZ])
-version SUNWprivate_1.1
-end
-
-function ipmp_grouplist_create
-include <ipmp_query_impl.h>
-declaration ipmp_grouplist_t *ipmp_grouplist_create(uint64_t sig, \
- unsigned int ngroup, char (*groups)[LIFGRNAMSIZ])
-version SUNWprivate_1.1
-end
-
-function ipmp_snap_free
-include <ipmp_query_impl.h>
-declaration void ipmp_snap_free(ipmp_snap_t *)
-version SUNWprivate_1.1
-end
-
-function ipmp_snap_create
-include <ipmp_query_impl.h>
-declaration ipmp_snap_t *ipmp_snap_create(void)
-version SUNWprivate_1.1
-end
-
-function ipmp_snap_addgroupinfo
-include <ipmp_query_impl.h>
-declaration int ipmp_snap_addgroupinfo(ipmp_snap_t *snap, \
- ipmp_groupinfo_t *grinfop)
-version SUNWprivate_1.1
-end
-
-function ipmp_snap_addifinfo
-include <ipmp_query_impl.h>
-declaration int ipmp_snap_addifinfo(ipmp_snap_t *snap, \
- ipmp_ifinfo_t *ifinfop)
-version SUNWprivate_1.1
-end
-
-function ipmp_read
-include <ipmp_mpathd.h>
-declaration int ipmp_read(int fd, void *buffer, size_t buflen, \
- const struct timeval *endtp)
-version SUNWprivate_1.1
-end
-
-function ipmp_write
-include <ipmp_mpathd.h>
-declaration int ipmp_write(int fd, const void *buffer, size_t buflen)
-version SUNWprivate_1.1
-end
-
-function ipmp_writetlv
-include <ipmp_mpathd.h>
-declaration int ipmp_writetlv(int fd, ipmp_infotype_t type, size_t len, \
- void *value)
-version SUNWprivate_1.1
-end
diff --git a/usr/src/lib/libipmp/spec/sparc/Makefile b/usr/src/lib/libipmp/spec/sparc/Makefile
deleted file mode 100644
index 01df11b35b..0000000000
--- a/usr/src/lib/libipmp/spec/sparc/Makefile
+++ /dev/null
@@ -1,35 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2002 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libipmp/spec/sparcv9/Makefile b/usr/src/lib/libipmp/spec/sparcv9/Makefile
deleted file mode 100644
index 4f53c7c87f..0000000000
--- a/usr/src/lib/libipmp/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,32 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2002 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-all clean clobber install lint:
- @echo "Nothing to $@ on sparcv9"
diff --git a/usr/src/lib/libipmp/spec/versions b/usr/src/lib/libipmp/spec/versions
deleted file mode 100644
index 3fc6f92d2d..0000000000
--- a/usr/src/lib/libipmp/spec/versions
+++ /dev/null
@@ -1,42 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-sparc {
- SUNWprivate_1.1;
-}
-
-sparcv9 {
- SUNWprivate_1.1;
-}
-
-i386 {
- SUNWprivate_1.1;
-}
-
-amd64 {
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/libipp/Makefile b/usr/src/lib/libipp/Makefile
index 2076598add..5675f84f5f 100644
--- a/usr/src/lib/libipp/Makefile
+++ b/usr/src/lib/libipp/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,12 +19,10 @@
# CDDL HEADER END
#
#
-# Copyright 2001-2002 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libipp/Makefile
+# ident "%Z%%M% %I% %E% SMI"
#
include ../Makefile.lib
@@ -46,15 +43,13 @@ lint := TARGET= lint
.KEEP_STATE:
-all install clean clobber: spec .WAIT $(SUBDIRS)
-
-lint: $(SUBDIRS)
+all install clean clobber lint: $(SUBDIRS)
install_h: $(ROOTHDRS)
check: $(CHECKHDRS)
-$(SUBDIRS) spec: FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
diff --git a/usr/src/lib/libipp/Makefile.com b/usr/src/lib/libipp/Makefile.com
index ab17f19204..94a44ec24e 100644
--- a/usr/src/lib/libipp/Makefile.com
+++ b/usr/src/lib/libipp/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,13 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libipp/Makefile.com
-#
LIBRARY = libipp.a
VERS = .1
@@ -36,15 +33,10 @@ OBJECTS = libipp.o
# include library definitions
include ../../Makefile.lib
-SRCDIR = ..
-
LIBS = $(DYNLIB) $(LINTLIB)
$(LINTLIB) := SRCS = $(SRCDIR)/$(LINTSRC)
LDLIBS += -lc -lnvpair
-MAPDIR= ../spec/$(TRANSMACH)
-SPECMAPFILE= $(MAPDIR)/mapfile
-
CFLAGS += $(CCVERBOSE)
CPPFLAGS += -D_REENTRANT
diff --git a/usr/src/lib/libipp/mapfile-vers b/usr/src/lib/libipp/mapfile-vers
new file mode 100644
index 0000000000..87edca0902
--- /dev/null
+++ b/usr/src/lib/libipp/mapfile-vers
@@ -0,0 +1,41 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNWprivate_1.1 {
+ global:
+ ipp_action_create;
+ ipp_action_destroy;
+ ipp_action_info;
+ ipp_action_mod;
+ ipp_action_modify;
+ ipp_free;
+ ipp_free_array;
+ ipp_list_mods;
+ ipp_mod_list_actions;
+ local:
+ *;
+};
diff --git a/usr/src/lib/libipp/spec/Makefile b/usr/src/lib/libipp/spec/Makefile
deleted file mode 100644
index 31bb39f628..0000000000
--- a/usr/src/lib/libipp/spec/Makefile
+++ /dev/null
@@ -1,30 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2001-2002 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libipp/spec/Makefile
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/libipp/spec/Makefile.targ b/usr/src/lib/libipp/spec/Makefile.targ
deleted file mode 100644
index 8b3e56b1be..0000000000
--- a/usr/src/lib/libipp/spec/Makefile.targ
+++ /dev/null
@@ -1,35 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2001-2002 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libdevinfo/spec/Makefile.targ
-
-LIBRARY = libipp.a
-VERS = .1
-
-OBJECTS = libipp.o
-
-SPECCPP = -I../..
diff --git a/usr/src/lib/libipp/spec/amd64/Makefile b/usr/src/lib/libipp/spec/amd64/Makefile
deleted file mode 100644
index d334868181..0000000000
--- a/usr/src/lib/libipp/spec/amd64/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#amd64_C_PICFLAGS = $(amd64_C_BIGPICFLAGS)
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libipp/spec/i386/Makefile b/usr/src/lib/libipp/spec/i386/Makefile
deleted file mode 100644
index a784448676..0000000000
--- a/usr/src/lib/libipp/spec/i386/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2001-2002 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libipp/spec/i386/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#i386_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libipp/spec/libipp.spec b/usr/src/lib/libipp/spec/libipp.spec
deleted file mode 100644
index cd44a75dd7..0000000000
--- a/usr/src/lib/libipp/spec/libipp.spec
+++ /dev/null
@@ -1,83 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libipp/spec/libipp.spec
-
-function ipp_action_create
-include <libipp.h>
-declaration int ipp_action_create(const char *, const char *, \
- nvlist_t **, ipp_flags_t)
-version SUNWprivate_1.1
-end
-
-function ipp_action_destroy
-include <libipp.h>
-declaration int ipp_action_destroy(const char *, ipp_flags_t)
-version SUNWprivate_1.1
-end
-
-function ipp_action_modify
-include <libipp.h>
-declaration int ipp_action_modify(const char *, nvlist_t **, ipp_flags_t)
-version SUNWprivate_1.1
-end
-
-function ipp_action_info
-include <libipp.h>
-declaration int ipp_action_info(const char *, int (*f)(nvlist_t *, \
- void *), void *, ipp_flags_t)
-version SUNWprivate_1.1
-end
-
-function ipp_action_mod
-include <libipp.h>
-declaration int ipp_action_mod(const char *, char **);
-version SUNWprivate_1.1
-end
-
-function ipp_list_mods
-include <libipp.h>
-declaration int ipp_list_mods(char ***, int *);
-version SUNWprivate_1.1
-end
-
-function ipp_mod_list_actions
-include <libipp.h>
-declaration int ipp_mod_list_actions(const char *, char ***, int *);
-version SUNWprivate_1.1
-end
-
-function ipp_free
-include <libipp.h>
-declaration void ipp_free(char *);
-version SUNWprivate_1.1
-end
-
-function ipp_free_array
-include <libipp.h>
-declaration void ipp_free_array(char **, int);
-version SUNWprivate_1.1
-end
diff --git a/usr/src/lib/libipp/spec/sparc/Makefile b/usr/src/lib/libipp/spec/sparc/Makefile
deleted file mode 100644
index a2355696d6..0000000000
--- a/usr/src/lib/libipp/spec/sparc/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2001-2002 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libipp/spec/sparc/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#sparc_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libipp/spec/sparcv9/Makefile b/usr/src/lib/libipp/spec/sparcv9/Makefile
deleted file mode 100644
index aca6202ef2..0000000000
--- a/usr/src/lib/libipp/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,45 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2001-2002 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libipp/spec/sparcv9/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#sparcv9_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libipp/spec/versions b/usr/src/lib/libipp/spec/versions
deleted file mode 100644
index a542a0f7fc..0000000000
--- a/usr/src/lib/libipp/spec/versions
+++ /dev/null
@@ -1,39 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-sparc {
- SUNWprivate_1.1;
-}
-sparcv9 {
- SUNWprivate_1.1;
-}
-i386 {
- SUNWprivate_1.1;
-}
-amd64 {
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/libipsecutil/Makefile b/usr/src/lib/libipsecutil/Makefile
index 1c52a89fa6..939c4710de 100644
--- a/usr/src/lib/libipsecutil/Makefile
+++ b/usr/src/lib/libipsecutil/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,7 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
@@ -40,10 +39,7 @@ lint := TARGET = lint
.KEEP_STATE:
-all install: spec .WAIT $(SUBDIRS)
-clean clobber: spec $(SUBDIRS)
-
-lint: $(SUBDIRS)
+all clean clobber install lint: $(SUBDIRS)
install_h: $(ROOTHDRS)
@@ -51,7 +47,7 @@ check: $(CHECKHDRS)
_msg:
-$(SUBDIRS) spec: FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
diff --git a/usr/src/lib/libipsecutil/Makefile.com b/usr/src/lib/libipsecutil/Makefile.com
index f3b9f02534..0465e30288 100644
--- a/usr/src/lib/libipsecutil/Makefile.com
+++ b/usr/src/lib/libipsecutil/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,7 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
@@ -33,15 +32,13 @@ OBJECTS = ipsec_util.o algs.o err.o
include ../../Makefile.lib
LIBS += $(DYNLIB) $(LINTLIB)
+
+SRCDIR = ../common
SRCS = $(SRCDIR)/ipsec_util.c $(SRCDIR)/algs.c $(SRCDIR)/err.c
$(LINTLIB):= SRCS = $(SRCDIR)/$(LINTSRC)
LDLIBS += -lnsl -lc
-SRCDIR = ../common
-MAPDIR = ../spec/$(TRANSMACH)
-SPECMAPFILE = $(MAPDIR)/mapfile
-
CFLAGS += $(CCVERBOSE)
CPPFLAGS += -I$(SRCDIR)
diff --git a/usr/src/lib/libipsecutil/common/mapfile-vers b/usr/src/lib/libipsecutil/common/mapfile-vers
new file mode 100644
index 0000000000..75f7eedc48
--- /dev/null
+++ b/usr/src/lib/libipsecutil/common/mapfile-vers
@@ -0,0 +1,74 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNWprivate_1.1 {
+ global:
+ addipsecalg;
+ addipsecproto;
+ bail;
+ bail_msg;
+ dbgstr2num;
+ delipsecalgbyname;
+ delipsecalgbynum;
+ delipsecprotobyname;
+ delipsecprotobynum;
+ do_interactive;
+ dump_aalg;
+ dump_ealg;
+ dump_key;
+ dump_sadb_idtype;
+ dump_sockaddr;
+ env;
+ err;
+ errx;
+ getipsecalgs;
+ getipsecprotos;
+ interactive;
+ ipsecalgs_diag;
+ ipsecproto_get_exec_mode;
+ ipsecproto_set_exec_mode;
+ keysock_diag;
+ kmc_insert_mapping;
+ kmc_lookup_by_cookie;
+ lineno;
+ list_ints;
+ nflag;
+ parsedbgopts;
+ pflag;
+ privstr2num;
+ readfile;
+ spdsock_diag;
+ spdsock_get_ext;
+ verr;
+ verrx;
+ vwarn;
+ vwarnx;
+ warn;
+ warnx;
+ local:
+ *;
+};
diff --git a/usr/src/lib/libipsecutil/spec/Makefile b/usr/src/lib/libipsecutil/spec/Makefile
deleted file mode 100644
index be32cec89c..0000000000
--- a/usr/src/lib/libipsecutil/spec/Makefile
+++ /dev/null
@@ -1,29 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/libipsecutil/spec/Makefile.targ b/usr/src/lib/libipsecutil/spec/Makefile.targ
deleted file mode 100644
index 97762819e3..0000000000
--- a/usr/src/lib/libipsecutil/spec/Makefile.targ
+++ /dev/null
@@ -1,34 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-LIBRARY = libipsecutil.a
-VERS = .1
-
-OBJECTS = ipsec_util.o algs.o err.o
-
-SPECCPP = -I../..
diff --git a/usr/src/lib/libipsecutil/spec/algs.spec b/usr/src/lib/libipsecutil/spec/algs.spec
deleted file mode 100644
index 7122e4010c..0000000000
--- a/usr/src/lib/libipsecutil/spec/algs.spec
+++ /dev/null
@@ -1,114 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libipsecutil/spec/inetutil.spec
-
-function addipsecalg
-include <ipsec_util.h>
-declaration int addipsecalg(struct ipsecalgent *newbie, uint_t flags)
-arch i386 sparc
-version SUNWprivate_1.1
-end
-
-function delipsecalgbyname
-include <ipsec_util.h>
-declaration int delipsecalgbyname(const char *name, int proto_num)
-arch i386 sparc
-version SUNWprivate_1.1
-end
-
-function delipsecalgbynum
-include <ipsec_util.h>
-declaration int delipsecalgbynum(int alg_num, int proto_num)
-arch i386 sparc
-version SUNWprivate_1.1
-end
-
-function addipsecproto
-include <ipsec_util.h>
-declaration int addipsecproto(const char *proto_name, int proto_num, \
- ipsecalgs_exec_mode_t proto_exec_mode, uint_t flags)
-arch i386 sparc
-version SUNWprivate_1.1
-end
-
-function delipsecprotobyname
-include <ipsec_util.h>
-declaration int delipsecprotobyname(const char *proto_name)
-arch i386 sparc
-version SUNWprivate_1.1
-end
-
-function delipsecprotobynum
-include <ipsec_util.h>
-declaration int delipsecprotobynum(int proto_num)
-arch i386 sparc
-version SUNWprivate_1.1
-end
-
-function getipsecprotos
-include <ipsec_util.h>
-declaration int *getipsecprotos(int *nentries)
-arch i386 sparc
-version SUNWprivate_1.1
-end
-
-function getipsecalgs
-include <ipsec_util.h>
-declaration int *getipsecalgs(int *nentries, int proto_num)
-arch i386 sparc
-version SUNWprivate_1.1
-end
-
-function list_ints
-include <ipsec_util.h>
-declaration int list_ints(FILE *f, int *floater)
-arch i386 sparc
-version SUNWprivate_1.1
-end
-
-function ipsecalgs_diag
-include <ipsec_util.h>
-declaration const char *ipsecalgs_diag(int diag)
-arch i386 sparc
-version SUNWprivate_1.1
-end
-
-function ipsecproto_get_exec_mode
-include <ipsec_util.h>
-declaration int ipsecproto_get_exec_mode(int proto_num, \
- ipsecalgs_exec_mode_t *exec_mode)
-arch i386 sparc
-version SUNWprivate_1.1
-end
-
-function ipsecproto_set_exec_mode
-include <ipsec_util.h>
-declaration int ipsecproto_set_exec_mode(int proto_num, \
- ipsecalgs_exec_mode_t exec_mode)
-arch i386 sparc
-version SUNWprivate_1.1
-end
diff --git a/usr/src/lib/libipsecutil/spec/amd64/Makefile b/usr/src/lib/libipsecutil/spec/amd64/Makefile
deleted file mode 100644
index 4ae9e0b124..0000000000
--- a/usr/src/lib/libipsecutil/spec/amd64/Makefile
+++ /dev/null
@@ -1,31 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-# The 64 bit version of this library is not built.
-all install clean clobber:
- @echo "Nothing to $@ on amd64"
diff --git a/usr/src/lib/libipsecutil/spec/err.spec b/usr/src/lib/libipsecutil/spec/err.spec
deleted file mode 100644
index 84173ab351..0000000000
--- a/usr/src/lib/libipsecutil/spec/err.spec
+++ /dev/null
@@ -1,83 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libipsecutil/spec/err.spec
-
-function err
-include <ipsec_util.h>
-declaration void err(int status, const char *fmt, ...)
-arch i386 sparc
-version SUNWprivate_1.1
-end
-
-function errx
-include <ipsec_util.h>
-declaration void errx(int status, const char *fmt, ...)
-arch i386 sparc
-version SUNWprivate_1.1
-end
-
-function warn
-include <ipsec_util.h>
-declaration void warn(const char *fmt, ...)
-arch i386 sparc
-version SUNWprivate_1.1
-end
-
-function warnx
-include <ipsec_util.h>
-declaration void warnx(const char *fmt, ...)
-arch i386 sparc
-version SUNWprivate_1.1
-end
-
-function verr
-include <ipsec_util.h>
-declaration void verr(int status, const char *fmt, va_list args)
-arch i386 sparc
-version SUNWprivate_1.1
-end
-
-function verrx
-include <ipsec_util.h>
-declaration void verrx(int status, const char *fmt, va_list args)
-arch i386 sparc
-version SUNWprivate_1.1
-end
-
-function vwarn
-include <ipsec_util.h>
-declaration void vwarn(const char *fmt, va_list args)
-arch i386 sparc
-version SUNWprivate_1.1
-end
-
-function vwarnx
-include <ipsec_util.h>
-declaration void vwarnx(const char *fmt, va_list args)
-arch i386 sparc
-version SUNWprivate_1.1
-end
diff --git a/usr/src/lib/libipsecutil/spec/i386/Makefile b/usr/src/lib/libipsecutil/spec/i386/Makefile
deleted file mode 100644
index 2038c3c9e8..0000000000
--- a/usr/src/lib/libipsecutil/spec/i386/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB)
diff --git a/usr/src/lib/libipsecutil/spec/ipsec_util.spec b/usr/src/lib/libipsecutil/spec/ipsec_util.spec
deleted file mode 100644
index 26719e815d..0000000000
--- a/usr/src/lib/libipsecutil/spec/ipsec_util.spec
+++ /dev/null
@@ -1,166 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libipsecutil/spec/ipsec_util.spec
-
-function bail
-include <ipsec_util.h>
-declaration void bail(char *what)
-arch i386 sparc
-version SUNWprivate_1.1
-end
-
-function bail_msg
-include <ipsec_util.h>
-declaration void bail_msg(char *fmt, ...)
-arch i386 sparc
-version SUNWprivate_1.1
-end
-
-function dump_sockaddr
-include <ipsec_util.h>
-declaration int dump_sockaddr(struct sockaddr *sa, boolean_t add_only, \
- FILE *where)
-arch i386 sparc
-version SUNWprivate_1.1
-end
-
-function dump_key
-include <ipsec_util.h>
-declaration int dump_key(uint8_t *keyp, uint_t bitlen, FILE *where)
-arch i386 sparc
-version SUNWprivate_1.1
-end
-
-function dump_aalg
-include <ipsec_util.h>
-declaration int dump_aalg(uint8_t aalg, FILE *where)
-arch i386 sparc
-version SUNWprivate_1.1
-end
-
-function dump_ealg
-include <ipsec_util.h>
-declaration int dump_ealg(uint8_t ealg, FILE *where)
-arch i386 sparc
-version SUNWprivate_1.1
-end
-
-function dump_sadb_idtype
-include <ipsec_util.h>
-declaration boolean_t dump_sadb_idtype(uint8_t idtype, FILE *where, int *rc)
-arch i386 sparc
-version SUNWprivate_1.1
-end
-
-function do_interactive
-include <ipsec_util.h>
-declaration void do_interactive(FILE *infile, char *promptstring, \
- parse_cmdln_fn parseit)
-arch i386 sparc
-version SUNWprivate_1.1
-end
-
-function privstr2num
-include <ipsec_util.h>
-declaration int privstr2num(char *str)
-arch i386 sparc
-version SUNWprivate_1.1
-end
-
-function dbgstr2num
-include <ipsec_util.h>
-declaration int dbgstr2num(char *str)
-arch i386 sparc
-version SUNWprivate_1.1
-end
-
-function parsedbgopts
-include <ipsec_util.h>
-declaration int parsedbgopts(char *optarg)
-arch i386 sparc
-version SUNWprivate_1.1
-end
-
-function kmc_insert_mapping
-include <ipsec_util.h>
-declaration int kmc_insert_mapping(char *label)
-arch i386 sparc
-version SUNWprivate_1.1
-end
-
-function kmc_lookup_by_cookie
-include <ipsec_util.h>
-declaration char *kmc_lookup_by_cookie(int cookie)
-arch i386 sparc
-version SUNWprivate_1.1
-end
-
-function spdsock_get_ext
-include <sys/types.h>, <net/pfpolicy.h>, <ipsec_util.h>
-declaration int spdsock_get_ext(spd_ext_t *extv[], spd_msg_t *basehdr, \
- uint_t msgsize, char *diag_buf, uint_t diag_buf_len)
-arch i386 sparc
-version SUNWprivate_1.1
-end
-
-function spdsock_diag
-include <sys/types.h>, <net/pfpolicy.h>, <ipsec_util.h>
-declaration const char *spdsock_diag(int diagnostic)
-arch i386 sparc
-version SUNWprivate_1.1
-end
-
-function keysock_diag
-include <sys/types.h>, <net/pfkeyv2.h>, <ipsec_util.h>
-declaration const char *keysock_diag(int diagnostic)
-arch i386 sparc
-version SUNWprivate_1.1
-end
-
-data nflag
-version SUNWprivate_1.1
-end
-
-data pflag
-version SUNWprivate_1.1
-end
-
-data interactive
-version SUNWprivate_1.1
-end
-
-data readfile
-version SUNWprivate_1.1
-end
-
-data lineno
-version SUNWprivate_1.1
-end
-
-data env
-version SUNWprivate_1.1
-end
diff --git a/usr/src/lib/libipsecutil/spec/sparc/Makefile b/usr/src/lib/libipsecutil/spec/sparc/Makefile
deleted file mode 100644
index 2038c3c9e8..0000000000
--- a/usr/src/lib/libipsecutil/spec/sparc/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB)
diff --git a/usr/src/lib/libipsecutil/spec/sparcv9/Makefile b/usr/src/lib/libipsecutil/spec/sparcv9/Makefile
deleted file mode 100644
index fee0765eae..0000000000
--- a/usr/src/lib/libipsecutil/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,31 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-# The 64 bit version of this library is not built.
-all install clean clobber:
- @echo "Nothing to $@ on sparcv9"
diff --git a/usr/src/lib/libipsecutil/spec/versions b/usr/src/lib/libipsecutil/spec/versions
deleted file mode 100644
index 1bc677d6dc..0000000000
--- a/usr/src/lib/libipsecutil/spec/versions
+++ /dev/null
@@ -1,35 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# vers file for libipsecutil
-#
-
-sparc {
- SUNWprivate_1.1;
-}
-i386 {
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/libkrb5/Makefile b/usr/src/lib/libkrb5/Makefile
index 5b94b3aaef..3ee7c85c04 100755
--- a/usr/src/lib/libkrb5/Makefile
+++ b/usr/src/lib/libkrb5/Makefile
@@ -24,7 +24,6 @@
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libkrb5/Makefile
include $(SRC)/lib/Makefile.lib
@@ -53,7 +52,7 @@ LIBRARY= libkrb5.a
.KEEP_STATE:
-all clean clobber install: $(SUBDIRS)
+all clean clobber install lint: $(SUBDIRS)
$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
diff --git a/usr/src/lib/libkrb5/Makefile.com b/usr/src/lib/libkrb5/Makefile.com
index 341576dfae..0af464673e 100755
--- a/usr/src/lib/libkrb5/Makefile.com
+++ b/usr/src/lib/libkrb5/Makefile.com
@@ -24,8 +24,6 @@
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libkrb5/Makefile.com
-#
# include library definitions
include $(SRC)/lib/Makefile.lib
@@ -69,3 +67,5 @@ clobber: clean
clean:
-$(RM) $(LIBS)
+
+lint:
diff --git a/usr/src/lib/libkrb5/amd64/Makefile b/usr/src/lib/libkrb5/amd64/Makefile
index 54b82e901c..ed38f8157b 100644
--- a/usr/src/lib/libkrb5/amd64/Makefile
+++ b/usr/src/lib/libkrb5/amd64/Makefile
@@ -24,9 +24,6 @@
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libkrb5/amd64/Makefile
-
-MAPDIR= ../common
include ../Makefile.com
diff --git a/usr/src/lib/libkrb5/i386/Makefile b/usr/src/lib/libkrb5/i386/Makefile
index 8673c75014..eefe1d221f 100755
--- a/usr/src/lib/libkrb5/i386/Makefile
+++ b/usr/src/lib/libkrb5/i386/Makefile
@@ -24,9 +24,6 @@
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libkrb5/i386/Makefile
-
-MAPDIR= ../common
include ../Makefile.com
diff --git a/usr/src/lib/libkrb5/sparc/Makefile b/usr/src/lib/libkrb5/sparc/Makefile
index 9187a100f5..2f8f7bfaa7 100755
--- a/usr/src/lib/libkrb5/sparc/Makefile
+++ b/usr/src/lib/libkrb5/sparc/Makefile
@@ -24,9 +24,6 @@
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libkrb5/sparc/Makefile
-
-MAPDIR= ../common
include ../Makefile.com
diff --git a/usr/src/lib/libkrb5/sparcv9/Makefile b/usr/src/lib/libkrb5/sparcv9/Makefile
index c8105dab90..ed38f8157b 100755
--- a/usr/src/lib/libkrb5/sparcv9/Makefile
+++ b/usr/src/lib/libkrb5/sparcv9/Makefile
@@ -24,9 +24,6 @@
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libkrb5/sparcv9/Makefile
-
-MAPDIR= ../common
include ../Makefile.com
diff --git a/usr/src/lib/libkstat/Makefile b/usr/src/lib/libkstat/Makefile
index 743288866c..ac5f368ea9 100644
--- a/usr/src/lib/libkstat/Makefile
+++ b/usr/src/lib/libkstat/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,17 +19,17 @@
# CDDL HEADER END
#
#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libkstat/Makefile
include ../../Makefile.master
include ../Makefile.lib
-SUBDIRS= spec .WAIT $(MACH) $(BUILD64) $(MACH64)
+SUBDIRS = $(MACH)
+$(BUILD64)SUBDIRS += $(MACH64)
all := TARGET= all
clean := TARGET= clean
@@ -69,7 +68,7 @@ install_h: $(ROOTHDRS)
check: $(CHECKHDRS)
-$(MACH) $(MACH64) spec: FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
_msg: $(MSGDOMAIN) $(POFILE)
diff --git a/usr/src/lib/libkstat/Makefile.com b/usr/src/lib/libkstat/Makefile.com
index 8de4e808fe..aacfa928bf 100644
--- a/usr/src/lib/libkstat/Makefile.com
+++ b/usr/src/lib/libkstat/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,13 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libkstat/Makefile.com
-#
LIBRARY= libkstat.a
VERS= .1
@@ -39,8 +36,7 @@ include ../../Makefile.lib
# install this library in the root filesystem
include ../../Makefile.rootfs
-MAPFILE= $(MAPDIR)/mapfile
-SRCS= $(OBJECTS:%.o=../common/%.c)
+SRCDIR = ../common
LIBS = $(DYNLIB) $(LINTLIB)
@@ -48,18 +44,12 @@ LINTSRC= $(LINTLIB:%.ln=%)
CPPFLAGS += -I..
CFLAGS += $(CCVERBOSE)
-DYNFLAGS += -M $(MAPFILE)
LDLIBS += -lc
.KEEP_STATE:
lint: lintcheck
-$(DYNLIB): $(MAPFILE)
-
-$(MAPFILE):
- @cd $(MAPDIR); $(MAKE) mapfile
-
# include library targets
include ../../Makefile.targ
diff --git a/usr/src/lib/libkstat/amd64/Makefile b/usr/src/lib/libkstat/amd64/Makefile
index 5ca4cbf62e..d50a21bdb0 100644
--- a/usr/src/lib/libkstat/amd64/Makefile
+++ b/usr/src/lib/libkstat/amd64/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-MAPDIR= ../spec/amd64
-
include ../Makefile.com
include ../../Makefile.lib.64
diff --git a/usr/src/lib/libkstat/common/mapfile-vers b/usr/src/lib/libkstat/common/mapfile-vers
new file mode 100644
index 0000000000..21bfa76a0d
--- /dev/null
+++ b/usr/src/lib/libkstat/common/mapfile-vers
@@ -0,0 +1,48 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+# Due to mistakes made early in the history of this library, there are
+# no SUNW_1.1 symbols, but the version is now kept as a placeholder.
+# Don't add any symbols to this version.
+
+SUNW_1.1 {
+ global:
+ SUNW_1.1;
+} SUNW_0.7;
+
+SUNW_0.7 {
+ global:
+ kstat_chain_update;
+ kstat_close;
+ kstat_data_lookup;
+ kstat_lookup;
+ kstat_open;
+ kstat_read;
+ kstat_write;
+ local:
+ *;
+};
diff --git a/usr/src/lib/libkstat/i386/Makefile b/usr/src/lib/libkstat/i386/Makefile
index 264147980a..2a944b0b43 100644
--- a/usr/src/lib/libkstat/i386/Makefile
+++ b/usr/src/lib/libkstat/i386/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libkstat/i386/Makefile
-
-MAPDIR= ../spec/i386
include ../Makefile.com
diff --git a/usr/src/lib/libkstat/sparc/Makefile b/usr/src/lib/libkstat/sparc/Makefile
index 3ae96b873f..2a944b0b43 100644
--- a/usr/src/lib/libkstat/sparc/Makefile
+++ b/usr/src/lib/libkstat/sparc/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libkstat/sparc/Makefile
-
-MAPDIR= ../spec/sparc
include ../Makefile.com
diff --git a/usr/src/lib/libkstat/sparcv9/Makefile b/usr/src/lib/libkstat/sparcv9/Makefile
index b71bd0abd5..d50a21bdb0 100644
--- a/usr/src/lib/libkstat/sparcv9/Makefile
+++ b/usr/src/lib/libkstat/sparcv9/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright 1997-2003 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libkstat/sparcv9/Makefile
-
-MAPDIR= ../spec/sparcv9
include ../Makefile.com
include ../../Makefile.lib.64
diff --git a/usr/src/lib/libkstat/spec/Makefile b/usr/src/lib/libkstat/spec/Makefile
deleted file mode 100644
index 5e671bddfe..0000000000
--- a/usr/src/lib/libkstat/spec/Makefile
+++ /dev/null
@@ -1,29 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1998-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libkstat/spec/Makefile
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/libkstat/spec/Makefile.targ b/usr/src/lib/libkstat/spec/Makefile.targ
deleted file mode 100644
index a774e562ec..0000000000
--- a/usr/src/lib/libkstat/spec/Makefile.targ
+++ /dev/null
@@ -1,33 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1998-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libkstat/spec/Makefile.targ
-
-LIBRARY = libkstat.a
-VERS = .1
-
-OBJECTS = kstat.o
-
diff --git a/usr/src/lib/libkstat/spec/amd64/Makefile b/usr/src/lib/libkstat/spec/amd64/Makefile
deleted file mode 100644
index 453c0ea671..0000000000
--- a/usr/src/lib/libkstat/spec/amd64/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#amd64_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libkstat/spec/i386/Makefile b/usr/src/lib/libkstat/spec/i386/Makefile
deleted file mode 100644
index 90d510fd09..0000000000
--- a/usr/src/lib/libkstat/spec/i386/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1998-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libkstat/spec/i386/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#i386_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libkstat/spec/kstat.spec b/usr/src/lib/libkstat/spec/kstat.spec
deleted file mode 100644
index 00a8b70acc..0000000000
--- a/usr/src/lib/libkstat/spec/kstat.spec
+++ /dev/null
@@ -1,78 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libkstat/spec/kstat.spec
-
-function kstat_chain_update
-include <kstat.h>
-declaration kid_t kstat_chain_update(kstat_ctl_t *kc)
-version SUNW_0.7
-exception ((int)$return == -1)
-end
-
-function kstat_lookup
-include <kstat.h>
-declaration kstat_t *kstat_lookup(kstat_ctl_t *kc, char *ks_module, \
- int ks_instance, char *ks_name)
-version SUNW_0.7
-errno
-exception ($return == 0)
-end
-
-function kstat_data_lookup
-include <kstat.h>
-declaration void *kstat_data_lookup(kstat_t *ksp, char *name)
-version SUNW_0.7
-exception ($return == 0)
-end
-
-function kstat_open
-include <kstat.h>
-declaration kstat_ctl_t *kstat_open(void)
-version SUNW_0.7
-exception ($return == 0)
-end
-
-function kstat_close
-include <kstat.h>
-declaration int kstat_close(kstat_ctl_t *kc)
-version SUNW_0.7
-exception ($return == -1)
-end
-
-function kstat_read
-include <kstat.h>
-declaration kid_t kstat_read(kstat_ctl_t *kc, kstat_t *ksp, void *buf)
-version SUNW_0.7
-exception ($return == -1)
-end
-
-function kstat_write
-include <kstat.h>
-declaration kid_t kstat_write(kstat_ctl_t *kc, kstat_t *ksp, void *buf)
-version SUNW_0.7
-exception ($return == -1)
-end
diff --git a/usr/src/lib/libkstat/spec/sparc/Makefile b/usr/src/lib/libkstat/spec/sparc/Makefile
deleted file mode 100644
index 9f95f97dc7..0000000000
--- a/usr/src/lib/libkstat/spec/sparc/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1998-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libaio/spec/sparc/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#sparc_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libkstat/spec/sparcv9/Makefile b/usr/src/lib/libkstat/spec/sparcv9/Makefile
deleted file mode 100644
index 81257bca98..0000000000
--- a/usr/src/lib/libkstat/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,45 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1998-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libkstat/spec/sparcv9/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#sparcv9_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libkstat/spec/versions b/usr/src/lib/libkstat/spec/versions
deleted file mode 100644
index d59d4f7280..0000000000
--- a/usr/src/lib/libkstat/spec/versions
+++ /dev/null
@@ -1,47 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# Note: Even though the SUNW_1.1 version now contains no symbols
-# beyond what was present at Solaris 2.3, the SUNW_1.1 version MUST be
-# present. This is because applications built on 2.6 Beta
-# (when it did contain symbols explicitly) may depend on it.
-
-sparc {
- SUNW_1.1: {SUNW_0.7};
- SUNW_0.7;
-}
-sparcv9 {
- SUNW_1.1: {SUNW_0.7};
- SUNW_0.7;
-}
-i386 {
- SUNW_1.1: {SUNW_0.7};
- SUNW_0.7;
-}
-amd64 {
- SUNW_1.1: {SUNW_0.7};
- SUNW_0.7;
-}
diff --git a/usr/src/lib/libkvm/Makefile b/usr/src/lib/libkvm/Makefile
index fbe73606ff..b4629602bf 100644
--- a/usr/src/lib/libkvm/Makefile
+++ b/usr/src/lib/libkvm/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,21 +19,19 @@
# CDDL HEADER END
#
#
-# Copyright 1990-2002 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libkvm/Makefile
-#
-# The builds occur in isa subdirectories.
+# ident "%Z%%M% %I% %E% SMI"
#
include ../Makefile.lib
HDRS = kvm.h
HDRDIR = .
-SUBDIRS = spec .WAIT $(MACH) $(BUILD64) $(MACH64)
+
+SUBDIRS = $(MACH)
+$(BUILD64)SUBDIRS += $(MACH64)
all := TARGET= all
install := TARGET= install
@@ -51,7 +48,7 @@ install_h: $(ROOTHDRS)
check: $(CHECKHDRS)
-$(MACH) $(MACH64) spec: FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
diff --git a/usr/src/lib/libkvm/Makefile.com b/usr/src/lib/libkvm/Makefile.com
index 9a2e6d1545..f85c414bf4 100644
--- a/usr/src/lib/libkvm/Makefile.com
+++ b/usr/src/lib/libkvm/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,13 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libkvm/Makefile.com
-#
LIBRARY= libkvm.a
VERS= .1
@@ -36,8 +33,7 @@ OBJECTS= kvm.o kvm_getcmd.o
# include library definitions
include ../../Makefile.lib
-MAPFILE= $(MAPDIR)/mapfile
-SRCS= $(OBJECTS:%.o=../common/%.c)
+SRCDIR = ../common
LIBS = $(DYNLIB) $(LINTLIB)
@@ -46,7 +42,6 @@ $(LINTLIB):= SRCS=../common/llib-lkvm
LINTSRC= $(LINTLIB:%.ln=%)
CFLAGS += $(CCVERBOSE)
-DYNFLAGS += -M $(MAPFILE)
DYNFLAGS32 += -Wl,-f,/usr/platform/\$$PLATFORM/lib/$(DYNLIBPSR)
DYNFLAGS64 += -Wl,-f,/usr/platform/\$$PLATFORM/lib/$(MACH64)/$(DYNLIBPSR)
LDLIBS += -lelf -lc
@@ -59,11 +54,6 @@ CLOBBERFILES += test test.o
lint: lintcheck
-$(DYNLIB): $(MAPFILE)
-
-$(MAPFILE):
- @cd $(MAPDIR); $(MAKE) mapfile
-
test: ../common/test.c
$(COMPILE.c) ../common/test.c
$(LINK.c) -o $@ test.o -lkvm -lelf
diff --git a/usr/src/lib/libkvm/amd64/Makefile b/usr/src/lib/libkvm/amd64/Makefile
index 8c3eb041f5..634b49163c 100644
--- a/usr/src/lib/libkvm/amd64/Makefile
+++ b/usr/src/lib/libkvm/amd64/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,13 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-MAPDIR= ../spec/amd64
include ../Makefile.com
include ../../Makefile.lib.64
diff --git a/usr/src/lib/libkvm/common/mapfile-vers b/usr/src/lib/libkvm/common/mapfile-vers
new file mode 100644
index 0000000000..7f35fcc3ea
--- /dev/null
+++ b/usr/src/lib/libkvm/common/mapfile-vers
@@ -0,0 +1,55 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNW_1.1 {
+ global:
+ kvm_close;
+ kvm_getcmd;
+ kvm_getproc;
+ kvm_getu;
+ kvm_kread;
+ kvm_kwrite;
+ kvm_nextproc;
+ kvm_nlist;
+ kvm_open;
+ kvm_read;
+ kvm_setproc;
+ kvm_uread;
+ kvm_uwrite;
+ kvm_write;
+};
+
+SUNWprivate_1.1 {
+ global:
+ kvm_aread;
+ kvm_awrite;
+ kvm_physaddr;
+ kvm_pread;
+ kvm_pwrite;
+ local:
+ *;
+};
diff --git a/usr/src/lib/libkvm/i386/Makefile b/usr/src/lib/libkvm/i386/Makefile
index b3c66f3435..6768df622e 100644
--- a/usr/src/lib/libkvm/i386/Makefile
+++ b/usr/src/lib/libkvm/i386/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,13 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
-MAPDIR= ../spec/i386
include ../Makefile.com
DYNFLAGS += $(DYNFLAGS32)
diff --git a/usr/src/lib/libkvm/sparc/Makefile b/usr/src/lib/libkvm/sparc/Makefile
index ad0f0b9df1..6768df622e 100644
--- a/usr/src/lib/libkvm/sparc/Makefile
+++ b/usr/src/lib/libkvm/sparc/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,13 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
-MAPDIR= ../spec/sparc
include ../Makefile.com
DYNFLAGS += $(DYNFLAGS32)
diff --git a/usr/src/lib/libkvm/sparcv9/Makefile b/usr/src/lib/libkvm/sparcv9/Makefile
index 4c5c46d496..634b49163c 100644
--- a/usr/src/lib/libkvm/sparcv9/Makefile
+++ b/usr/src/lib/libkvm/sparcv9/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,13 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
-MAPDIR= ../spec/sparcv9
include ../Makefile.com
include ../../Makefile.lib.64
diff --git a/usr/src/lib/libkvm/spec/Makefile b/usr/src/lib/libkvm/spec/Makefile
deleted file mode 100644
index 4ee371daa5..0000000000
--- a/usr/src/lib/libkvm/spec/Makefile
+++ /dev/null
@@ -1,29 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1998-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libkvm/spec/Makefile
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/libkvm/spec/Makefile.targ b/usr/src/lib/libkvm/spec/Makefile.targ
deleted file mode 100644
index c9e2738b79..0000000000
--- a/usr/src/lib/libkvm/spec/Makefile.targ
+++ /dev/null
@@ -1,33 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1998-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libkvm/spec/Makefile.targ
-
-LIBRARY = libkvm.a
-VERS = .1
-
-OBJECTS = kvm.o
-
diff --git a/usr/src/lib/libkvm/spec/amd64/Makefile b/usr/src/lib/libkvm/spec/amd64/Makefile
deleted file mode 100644
index 453c0ea671..0000000000
--- a/usr/src/lib/libkvm/spec/amd64/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#amd64_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libkvm/spec/i386/Makefile b/usr/src/lib/libkvm/spec/i386/Makefile
deleted file mode 100644
index c7d5274776..0000000000
--- a/usr/src/lib/libkvm/spec/i386/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1998-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libadm/spec/i386/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#i386_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libkvm/spec/kvm.spec b/usr/src/lib/libkvm/spec/kvm.spec
deleted file mode 100644
index fc3fed5062..0000000000
--- a/usr/src/lib/libkvm/spec/kvm.spec
+++ /dev/null
@@ -1,173 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libkvm/spec/kvm.spec
-#
-# NOTE on SUNW_1.1 interfaces:
-# The following symbols are all UNCOMMITTED and documented in section 3K.
-#
-# The UNCOMMITTED classification is due to the fact that there is almost
-# nothing you can put as a symbol in a namelist which has any form of
-# release to release stability. The syntax of these routines is actually
-# pretty stable, but being UNCOMMITTED, the door is always open for change.
-#
-# NOTE on SUNprivate_1.1 interfaces:
-#
-# The [private] symbol[s] [are] an unofficial private interface between
-# the crash command and libkvm. The interface classification level must
-# be consolidation private (or more restrictive).
-#
-
-function kvm_getu
-include <kvm.h>, <sys/param.h>, <sys/user.h>, <sys/proc.h>
-declaration user_t *kvm_getu(kvm_t *kd, proc_t *proc)
-version SUNW_1.1
-exception ( $return == 0 )
-end
-
-function kvm_getcmd
-include <kvm.h>, <sys/param.h>, <sys/user.h>, <sys/proc.h>
-declaration int kvm_getcmd(kvm_t *kd, proc_t *proc, user_t *u, \
- char ***arg, char ***env)
-version SUNW_1.1
-exception ( $return == -1 )
-end
-
-function kvm_getproc
-include <kvm.h>, <sys/param.h>, <sys/time.h>, <sys/proc.h>
-declaration proc_t *kvm_getproc(kvm_t *kd, pid_t pid)
-version SUNW_1.1
-exception ( $return == 0 )
-end
-
-function kvm_nextproc
-include <kvm.h>, <sys/param.h>, <sys/time.h>, <sys/proc.h>
-declaration proc_t *kvm_nextproc(kvm_t *kd)
-version SUNW_1.1
-exception ( $return == 0 )
-end
-
-function kvm_setproc
-include <kvm.h>, <sys/param.h>, <sys/time.h>, <sys/proc.h>
-declaration int kvm_setproc (kvm_t *kd)
-version SUNW_1.1
-exception ( $return == -1 )
-end
-
-function kvm_nlist
-include <kvm.h>, <nlist.h>
-declaration int kvm_nlist(kvm_t *kd, struct nlist *nl)
-version SUNW_1.1
-exception ( $return == -1 )
-end
-
-function kvm_open
-include <kvm.h>, <fcntl.h>
-declaration kvm_t *kvm_open(const char *namelist, const char *corefile, \
- const char *swapfile, int flag, const char *errstr)
-version SUNW_1.1
-exception ( $return == 0 )
-end
-
-function kvm_close
-include <kvm.h>, <fcntl.h>
-declaration int kvm_close(kvm_t *kd)
-version SUNW_1.1
-exception ( $return == -1 )
-end
-
-function kvm_read
-include <kvm.h>
-declaration ssize_t kvm_read(kvm_t *kd, uintptr_t addr, void *buf, size_t nbytes)
-version SUNW_1.1
-exception ( $return == -1 )
-end
-
-function kvm_write
-include <kvm.h>
-declaration ssize_t kvm_write(kvm_t *kd, uintptr_t addr, const void *buf, \
- size_t nbytes)
-version SUNW_1.1
-exception ( $return == -1 )
-end
-
-function kvm_uread
-include <kvm.h>
-declaration ssize_t kvm_uread(kvm_t *kd, uintptr_t addr, void *buf, size_t nbytes)
-version SUNW_1.1
-exception ( $return == -1 )
-end
-
-function kvm_uwrite
-include <kvm.h>
-declaration ssize_t kvm_uwrite(kvm_t *kd, uintptr_t addr, const void *buf, \
- size_t nbytes)
-version SUNW_1.1
-exception ( $return == -1 )
-end
-
-function kvm_kread
-include <kvm.h>
-declaration ssize_t kvm_kread(kvm_t *kd, uintptr_t addr, void *buf, size_t nbytes)
-version SUNW_1.1
-exception ( $return == -1 )
-end
-
-function kvm_kwrite
-include <kvm.h>
-declaration ssize_t kvm_kwrite(kvm_t *kd, uintptr_t addr, const void *buf, size_t nbytes)
-version SUNW_1.1
-exception ( $return == -1 )
-end
-
-function kvm_physaddr
-declaration uint64_t kvm_physaddr(kvm_t *kd, struct as *as, uintptr_t vaddr)
-version SUNWprivate_1.1
-end
-
-function kvm_aread
-declaration ssize_t kvm_aread(kvm_t *kd, uintptr_t addr, void *buf, \
- size_t size, struct as *as)
-version SUNWprivate_1.1
-end
-
-function kvm_awrite
-declaration ssize_t kvm_awrite(kvm_t *kd, uintptr_t addr, \
- const void *buf, size_t size, struct as *as)
-version SUNWprivate_1.1
-end
-
-function kvm_pread
-declaration ssize_t kvm_pread(kvm_t *kd, uint64_t addr, void *buf, \
- size_t size)
-version SUNWprivate_1.1
-end
-
-function kvm_pwrite
-declaration ssize_t kvm_pwrite(kvm_t *kd, uint64_t addr, \
- const void *buf, size_t size)
-version SUNWprivate_1.1
-end
diff --git a/usr/src/lib/libkvm/spec/sparc/Makefile b/usr/src/lib/libkvm/spec/sparc/Makefile
deleted file mode 100644
index faa8631beb..0000000000
--- a/usr/src/lib/libkvm/spec/sparc/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1998-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libkvm/spec/sparc/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#sparc_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libkvm/spec/sparcv9/Makefile b/usr/src/lib/libkvm/spec/sparcv9/Makefile
deleted file mode 100644
index a90d93da31..0000000000
--- a/usr/src/lib/libkvm/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,45 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1998-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libaio/spec/sparcv9/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#sparcv9_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libkvm/spec/versions b/usr/src/lib/libkvm/spec/versions
deleted file mode 100644
index f62e5bb2e2..0000000000
--- a/usr/src/lib/libkvm/spec/versions
+++ /dev/null
@@ -1,43 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-sparc {
- SUNWprivate_1.1;
- SUNW_1.1;
-}
-sparcv9 {
- SUNWprivate_1.1;
- SUNW_1.1;
-}
-i386 {
- SUNWprivate_1.1;
- SUNW_1.1;
-}
-amd64 {
- SUNWprivate_1.1;
- SUNW_1.1;
-}
diff --git a/usr/src/lib/liblaadm/Makefile b/usr/src/lib/liblaadm/Makefile
index a70c31b9ac..aad578c055 100644
--- a/usr/src/lib/liblaadm/Makefile
+++ b/usr/src/lib/liblaadm/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,10 +19,10 @@
# CDDL HEADER END
#
#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#pragma ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
include $(SRC)/lib/Makefile.lib
@@ -44,11 +43,7 @@ lint := TARGET = lint
.KEEP_STATE:
-all install: spec .WAIT $(SUBDIRS)
-
-clean clobber: spec $(SUBDIRS)
-
-lint: $(SUBDIRS)
+all clean clobber install lint: $(SUBDIRS)
install_h: $(ROOTHDRS)
@@ -58,7 +53,7 @@ $(POFILE): pofile_MSGFILES
_msg: $(MSGDOMAINPOFILE)
-spec $(SUBDIRS): FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
diff --git a/usr/src/lib/liblaadm/Makefile.com b/usr/src/lib/liblaadm/Makefile.com
index a0008c047a..45b019e06e 100644
--- a/usr/src/lib/liblaadm/Makefile.com
+++ b/usr/src/lib/liblaadm/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,10 +19,10 @@
# CDDL HEADER END
#
#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#pragma ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
LIBRARY = liblaadm.a
@@ -38,11 +37,9 @@ include ../../Makefile.rootfs
LIBS = $(DYNLIB) $(LINTLIB)
LDLIBS += -lsocket -lc
-$(LINTLIB) := SRCS = $(SRCDIR)/$(LINTSRC)
SRCDIR = ../common
-MAPDIR = ../spec/$(TRANSMACH)
-SPECMAPFILE = $(MAPDIR)/mapfile
+$(LINTLIB) := SRCS = $(SRCDIR)/$(LINTSRC)
CFLAGS += $(CCVERBOSE)
CPPFLAGS += -I$(SRCDIR) -D_REENTRANT
diff --git a/usr/src/lib/liblaadm/common/mapfile-vers b/usr/src/lib/liblaadm/common/mapfile-vers
new file mode 100644
index 0000000000..41f5be656b
--- /dev/null
+++ b/usr/src/lib/liblaadm/common/mapfile-vers
@@ -0,0 +1,49 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNWprivate_1.1 {
+ global:
+ laadm_add;
+ laadm_create;
+ laadm_delete;
+ laadm_diag;
+ laadm_down;
+ laadm_lacp_mode_to_str;
+ laadm_lacp_timer_to_str;
+ laadm_mac_addr_to_str;
+ laadm_modify;
+ laadm_policy_to_str;
+ laadm_remove;
+ laadm_str_to_lacp_mode;
+ laadm_str_to_lacp_timer;
+ laadm_str_to_mac_addr;
+ laadm_str_to_policy;
+ laadm_up;
+ laadm_walk_sys;
+ local:
+ *;
+};
diff --git a/usr/src/lib/liblaadm/spec/Makefile b/usr/src/lib/liblaadm/spec/Makefile
deleted file mode 100644
index 53fbd3ad4b..0000000000
--- a/usr/src/lib/liblaadm/spec/Makefile
+++ /dev/null
@@ -1,29 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/liblaadm/spec/Makefile.targ b/usr/src/lib/liblaadm/spec/Makefile.targ
deleted file mode 100644
index 4da2bc7b5d..0000000000
--- a/usr/src/lib/liblaadm/spec/Makefile.targ
+++ /dev/null
@@ -1,32 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-
-LIBRARY = liblaadm.a
-VERS = .1
-OBJECTS = laadm.o
-
diff --git a/usr/src/lib/liblaadm/spec/amd64/Makefile b/usr/src/lib/liblaadm/spec/amd64/Makefile
deleted file mode 100644
index af603444ad..0000000000
--- a/usr/src/lib/liblaadm/spec/amd64/Makefile
+++ /dev/null
@@ -1,32 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-all clean clobber install lint:
- @echo "Nothing to $@ on amd64"
diff --git a/usr/src/lib/liblaadm/spec/i386/Makefile b/usr/src/lib/liblaadm/spec/i386/Makefile
deleted file mode 100644
index 0a770cb926..0000000000
--- a/usr/src/lib/liblaadm/spec/i386/Makefile
+++ /dev/null
@@ -1,35 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/liblaadm/spec/laadm.spec b/usr/src/lib/liblaadm/spec/laadm.spec
deleted file mode 100644
index dc10f43a34..0000000000
--- a/usr/src/lib/liblaadm/spec/laadm.spec
+++ /dev/null
@@ -1,140 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-
-function laadm_create
-include <liblaadm.h>
-declaration int laadm_create(uint32_t, uint32_t, laadm_port_attr_db_t *, \
- uint32_t, boolean_t, uchar_t *, \
- aggr_lacp_mode_t, aggr_lacp_timer_t, boolean_t, \
- const char *, laadm_diag_t *);
-version SUNWprivate_1.1
-end
-
-function laadm_delete
-include <liblaadm.h>
-declaration int laadm_delete(uint32_t, boolean_t, const char *, \
- laadm_diag_t *);
-version SUNWprivate_1.1
-end
-
-function laadm_add
-include <liblaadm.h>
-declaration int laadm_add(uint32_t, uint32_t, laadm_port_attr_db_t *, \
- boolean_t, const char *, laadm_diag_t *);
-version SUNWprivate_1.1
-end
-
-function laadm_remove
-include <liblaadm.h>
-declaration int laadm_remove(uint32_t, uint32_t, laadm_port_attr_db_t *, \
- boolean_t, const char *, laadm_diag_t *);
-version SUNWprivate_1.1
-end
-
-function laadm_modify
-include <liblaadm.h>
-declaration int laadm_modify(uint32_t, uint32_t, uint32_t, boolean_t, \
- uchar_t *, aggr_lacp_mode_t, aggr_lacp_timer_t, \
- boolean_t, const char *, laadm_diag_t *)
-version SUNWprivate_1.1
-end
-
-function laadm_up
-include <liblaadm.h>
-declaration int laadm_up(uint32_t, const char *, laadm_diag_t *);
-version SUNWprivate_1.1
-end
-
-function laadm_down
-include <liblaadm.h>
-declaration int laadm_down(uint32_t);
-version SUNWprivate_1.1
-end
-
-function laadm_str_to_policy
-include <liblaadm.h>
-declaration boolean_t laadm_str_to_policy(const char *, uint32_t *)
-version SUNWprivate_1.1
-end
-
-function laadm_policy_to_str
-include <liblaadm.h>
-declaration char *laadm_policy_to_str(uint32_t, char *)
-version SUNWprivate_1.1
-end
-
-function laadm_str_to_mac_addr
-include <liblaadm.h>
-declaration boolean_t laadm_str_to_mac_addr(const char *, boolean_t *, \
- uchar_t *);
-version SUNWprivate_1.1
-end
-
-function laadm_mac_addr_to_str
-include <liblaadm.h>
-declaration char *laadm_mac_addr_to_str(unsigned char *, char *);
-version SUNWprivate_1.1
-end
-
-function laadm_str_to_lacp_mode
-include <liblaadm.h>
-declaration boolean_t laadm_str_to_lacp_mode(const char *, \
- aggr_lacp_mode_t *)
-version SUNWprivate_1.1
-end
-
-function laadm_lacp_mode_to_str
-include <liblaadm.h>
-declaration char *laadm_lacp_mode_to_str(aggr_lacp_mode_t)
-version SUNWprivate_1.1
-end
-
-function laadm_str_to_lacp_timer
-include <liblaadm.h>
-declaration boolean_t laadm_str_to_lacp_timer(const char *, \
- aggr_lacp_timer_t *)
-version SUNWprivate_1.1
-end
-
-function laadm_lacp_timer_to_str
-include <liblaadm.h>
-declaration char *laadm_lacp_timer_to_str(aggr_lacp_timer_t)
-version SUNWprivate_1.1
-end
-
-function laadm_walk_sys
-include <liblaadm.h>
-declaration int laadm_walk_sys(int (*)(void *, laadm_grp_attr_sys_t *), \
- void *)
-version SUNWprivate_1.1
-end
-
-function laadm_diag
-include <liblaadm.h>
-declaration const char *laadm_diag(laadm_diag_t)
-version SUNWprivate_1.1
-end
diff --git a/usr/src/lib/liblaadm/spec/sparc/Makefile b/usr/src/lib/liblaadm/spec/sparc/Makefile
deleted file mode 100644
index 0a770cb926..0000000000
--- a/usr/src/lib/liblaadm/spec/sparc/Makefile
+++ /dev/null
@@ -1,35 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/liblaadm/spec/sparcv9/Makefile b/usr/src/lib/liblaadm/spec/sparcv9/Makefile
deleted file mode 100644
index f1868eaa18..0000000000
--- a/usr/src/lib/liblaadm/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,32 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-all clean clobber install lint:
- @echo "Nothing to $@ on sparcv9"
diff --git a/usr/src/lib/liblaadm/spec/versions b/usr/src/lib/liblaadm/spec/versions
deleted file mode 100644
index 60672092ef..0000000000
--- a/usr/src/lib/liblaadm/spec/versions
+++ /dev/null
@@ -1,42 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-
-sparc {
- SUNWprivate_1.1;
-}
-
-sparcv9 {
- SUNWprivate_1.1;
-}
-
-i386 {
- SUNWprivate_1.1;
-}
-
-amd64 {
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/libldap4/Makefile b/usr/src/lib/libldap4/Makefile
index 1d83af4be5..b666813ce9 100644
--- a/usr/src/lib/libldap4/Makefile
+++ b/usr/src/lib/libldap4/Makefile
@@ -1,15 +1,34 @@
#
-# Copyright (c) 1997-2001 by Sun Microsystems, Inc.
-# All rights reserved.
+# CDDL HEADER START
#
-#pragma ident "%Z%%M% %I% %E% SMI"
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libldap4/Makefile
include ../Makefile.lib
-
-SUBDIRS= spec .WAIT $(MACH) $(BUILD64) $(MACH64)
+SUBDIRS = $(MACH)
+$(BUILD64)SUBDIRS += $(MACH64)
all := TARGET= all
clean := TARGET= clean
@@ -32,7 +51,7 @@ install_h: $(ROOTHDRS)
check: $(CHECKHDRS)
-$(MACH) $(MACH64) spec: FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
diff --git a/usr/src/lib/libldap4/Makefile.com b/usr/src/lib/libldap4/Makefile.com
index f1ba53072f..a92ce1d5c3 100644
--- a/usr/src/lib/libldap4/Makefile.com
+++ b/usr/src/lib/libldap4/Makefile.com
@@ -1,11 +1,29 @@
#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libldap4/Makefile.com
-#
LIBRARY= libldap.a
VERS= .4
@@ -46,8 +64,7 @@ include ../../Makefile.lib
LDAPINC= $(SRC)/lib/libldap4/include
LDAP_FLAGS= -DLDAP_REFERRALS -DCLDAP -DLDAP_DNS -DSUN
-MAPFILE= $(MAPDIR)/mapfile
-
+SRCDIR = ../common
SRCS= $(LDAPOBJS:%.o=../common/%.c) $(BEROBJS:%.o=../ber/%.c) \
$(UTILOBJS:%.o=../util/%.c) $(SECOBJS:%.o=../sec/%.c)
@@ -61,7 +78,6 @@ ROOTLINT= $(LINTSRC:%=$(ROOTLINTDIR)/%)
CLEANFILES += $(LINTOUT) $(LINTLIB)
-CLOBBERFILES += $(MAPFILE)
# Local Libldap definitions
@@ -71,18 +87,12 @@ LOCFLAGS += -D_SYS_STREAM_H -D_REENTRANT -DSVR4 -DSUNW_OPTIONS \
CPPFLAGS = $(LOCFLAGS) $(CPPFLAGS.master)
CFLAGS += $(CCVERBOSE)
-DYNFLAGS += -M $(MAPFILE)
LDLIBS += -lsocket -lnsl -lresolv -lc -lmd
.KEEP_STATE:
lint: lintcheck
-$(DYNLIB): $(MAPFILE)
-
-$(MAPFILE):
- @cd $(MAPDIR); $(MAKE) mapfile
-
# include library targets
include ../../Makefile.targ
diff --git a/usr/src/lib/libldap4/amd64/Makefile b/usr/src/lib/libldap4/amd64/Makefile
index f6dbac60d2..4e772d362a 100644
--- a/usr/src/lib/libldap4/amd64/Makefile
+++ b/usr/src/lib/libldap4/amd64/Makefile
@@ -1,12 +1,30 @@
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-MAPDIR= ../spec/amd64
-
include ../Makefile.com
include ../../Makefile.lib.64
diff --git a/usr/src/lib/libldap4/common/mapfile-vers b/usr/src/lib/libldap4/common/mapfile-vers
new file mode 100644
index 0000000000..74dbf66deb
--- /dev/null
+++ b/usr/src/lib/libldap4/common/mapfile-vers
@@ -0,0 +1,216 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNW_1.2 {
+ global:
+ ber_alloc;
+ ber_get_int;
+} SUNW_1.1;
+
+SUNW_1.1 {
+ global:
+ ber_alloc_t;
+ ber_bvdup;
+ ber_bvecfree;
+ ber_bvfree;
+ ber_first_element;
+ ber_flatten;
+ ber_free;
+ ber_init;
+ ber_next_element;
+ ber_peek_tag;
+ ber_printf;
+ ber_scanf;
+ ber_skip_tag;
+ cldap_close;
+ cldap_open;
+ cldap_search_s;
+ cldap_setretryinfo;
+ ldap_abandon;
+ ldap_abandon_ext;
+ ldap_add;
+ ldap_add_ext;
+ ldap_add_ext_s;
+ ldap_add_s;
+ ldap_bind;
+ ldap_bind_s;
+ ldap_build_filter;
+ ldap_compare;
+ ldap_compare_ext;
+ ldap_compare_ext_s;
+ ldap_compare_s;
+ ldap_control_free;
+ ldap_controls_free;
+ ldap_count_entries;
+ ldap_count_messages;
+ ldap_count_references;
+ ldap_count_values;
+ ldap_count_values_len;
+ ldap_create_sort_control;
+ ldap_create_sort_keylist;
+ ldap_create_virtuallist_control;
+ ldap_delete;
+ ldap_delete_ext;
+ ldap_delete_ext_s;
+ ldap_delete_s;
+ ldap_destroy_cache;
+ ldap_disable_cache;
+ ldap_dn2ufn;
+ ldap_dns_to_dn;
+ ldap_dns_to_url;
+ ldap_dn_to_url;
+ ldap_enable_cache;
+ ldap_enable_translation;
+ ldap_entry2html;
+ ldap_entry2html_search;
+ ldap_entry2text;
+ ldap_entry2text_search;
+ ldap_err2string;
+ ldap_explode_dn;
+ ldap_explode_dns;
+ ldap_explode_rdn;
+ ldap_extended_operation;
+ ldap_extended_operation_s;
+ ldap_first_attribute;
+ ldap_first_disptmpl;
+ ldap_first_entry;
+ ldap_first_message;
+ ldap_first_reference;
+ ldap_first_searchobj;
+ ldap_first_tmplcol;
+ ldap_first_tmplrow;
+ ldap_flush_cache;
+ ldap_free_friendlymap;
+ ldap_free_searchprefs;
+ ldap_free_sort_keylist;
+ ldap_free_templates;
+ ldap_free_urldesc;
+ ldap_friendly_name;
+ ldap_get_dn;
+ ldap_getfilter_free;
+ ldap_getfirstfilter;
+ ldap_getnextfilter;
+ ldap_get_option;
+ ldap_get_values;
+ ldap_get_values_len;
+ ldap_init;
+ ldap_init_getfilter;
+ ldap_init_getfilter_buf;
+ ldap_init_searchprefs;
+ ldap_init_searchprefs_buf;
+ ldap_init_templates;
+ ldap_init_templates_buf;
+ ldap_is_dns_dn;
+ ldap_is_ldap_url;
+ ldap_memfree;
+ ldap_modify;
+ ldap_modify_ext;
+ ldap_modify_ext_s;
+ ldap_modify_s;
+ ldap_modrdn;
+ ldap_modrdn_s;
+ ldap_mods_free;
+ ldap_msgfree;
+ ldap_msgid;
+ ldap_msgtype;
+ ldap_next_attribute;
+ ldap_next_disptmpl;
+ ldap_next_entry;
+ ldap_next_message;
+ ldap_next_reference;
+ ldap_next_searchobj;
+ ldap_next_tmplcol;
+ ldap_next_tmplrow;
+ ldap_oc2template;
+ ldap_open;
+ ldap_parse_extended_result;
+ ldap_parse_result;
+ ldap_parse_sasl_bind_result;
+ ldap_parse_sort_control;
+ ldap_parse_virtuallist_control;
+ ldap_perror;
+ ldap_rename;
+ ldap_rename_s;
+ ldap_result;
+ ldap_result2error;
+ ldap_sasl_bind;
+ ldap_sasl_bind_s;
+ ldap_sasl_cram_md5_bind_s;
+ ldap_search;
+ ldap_search_ext;
+ ldap_search_ext_s;
+ ldap_search_s;
+ ldap_search_st;
+ ldap_set_cache_options;
+ ldap_setfilteraffixes;
+ ldap_set_option;
+ ldap_set_rebind_proc;
+ ldap_set_string_translators;
+ ldap_simple_bind;
+ ldap_simple_bind_s;
+ ldap_sort_entries;
+ ldap_sort_strcasecmp;
+ ldap_sort_values;
+ ldap_tmplattrs;
+ ldap_translate_from_t61;
+ ldap_translate_to_t61;
+ ldap_ufn_search_c;
+ ldap_ufn_search_ct;
+ ldap_ufn_search_s;
+ ldap_ufn_setfilter;
+ ldap_ufn_setprefix;
+ ldap_ufn_timeout;
+ ldap_unbind;
+ ldap_unbind_s;
+ ldap_uncache_entry;
+ ldap_uncache_request;
+ ldap_url_parse;
+ ldap_url_search;
+ ldap_url_search_s;
+ ldap_url_search_st;
+ ldap_vals2html;
+ ldap_vals2text;
+ ldap_value_free;
+ ldap_value_free_len;
+ open_default_ldap_connection;
+ set_ber_options;
+};
+
+SUNWprivate_1.1 {
+ global:
+ i18n_catopen;
+ ldap_create_page_control;
+ ldap_get_reference_urls;
+ ldaplogconfigf;
+ ldap_parse_page_control;
+ ldif_type_and_value;
+ slapdcat;
+ str_getline;
+ str_parse_line;
+ local:
+ *;
+};
diff --git a/usr/src/lib/libldap4/i386/Makefile b/usr/src/lib/libldap4/i386/Makefile
index 10b1c4f5f5..7cf5507978 100644
--- a/usr/src/lib/libldap4/i386/Makefile
+++ b/usr/src/lib/libldap4/i386/Makefile
@@ -1,12 +1,29 @@
#
-# Copyright (c) 1997-2001 by Sun Microsystems, Inc.
-# All rights reserved.
+# CDDL HEADER START
#
-#pragma ident "%Z%%M% %I% %E% SMI"
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
#
-# lib/liblibldap4/i386/Makefile
-
-MAPDIR= ../spec/i386
include ../Makefile.com
diff --git a/usr/src/lib/libldap4/sparc/Makefile b/usr/src/lib/libldap4/sparc/Makefile
index 07866abc0c..7cf5507978 100644
--- a/usr/src/lib/libldap4/sparc/Makefile
+++ b/usr/src/lib/libldap4/sparc/Makefile
@@ -1,12 +1,29 @@
#
-# Copyright (c) 1997-2001 by Sun Microsystems, Inc.
-# All rights reserved.
+# CDDL HEADER START
#
-#ident "%Z%%M% %I% %E% SMI"
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libldap4/sparc/Makefile
-
-MAPDIR= ../spec/sparc
include ../Makefile.com
diff --git a/usr/src/lib/libldap4/sparcv9/Makefile b/usr/src/lib/libldap4/sparcv9/Makefile
index 9776bf13ec..4e772d362a 100644
--- a/usr/src/lib/libldap4/sparcv9/Makefile
+++ b/usr/src/lib/libldap4/sparcv9/Makefile
@@ -1,12 +1,29 @@
#
-# Copyright (c) 1997-2001 by Sun Microsystems, Inc.
-# All rights reserved.
+# CDDL HEADER START
#
-#ident "%Z%%M% %I% %E% SMI"
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libldap4/sparcv9/Makefile
-
-MAPDIR= ../spec/sparcv9
include ../Makefile.com
include ../../Makefile.lib.64
diff --git a/usr/src/lib/libldap4/spec/Makefile b/usr/src/lib/libldap4/spec/Makefile
deleted file mode 100644
index 6718d324a0..0000000000
--- a/usr/src/lib/libldap4/spec/Makefile
+++ /dev/null
@@ -1,8 +0,0 @@
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1998-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libadm/spec/Makefile
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/libldap4/spec/Makefile.targ b/usr/src/lib/libldap4/spec/Makefile.targ
deleted file mode 100644
index 5642e0126f..0000000000
--- a/usr/src/lib/libldap4/spec/Makefile.targ
+++ /dev/null
@@ -1,13 +0,0 @@
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1998-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libldap/spec/Makefile.targ
-
-LIBRARY = libldap.a
-VERS = .4
-
-OBJECTS = ldap.o
-
-SPECCPP = -I..
diff --git a/usr/src/lib/libldap4/spec/amd64/Makefile b/usr/src/lib/libldap4/spec/amd64/Makefile
deleted file mode 100644
index d9dd978091..0000000000
--- a/usr/src/lib/libldap4/spec/amd64/Makefile
+++ /dev/null
@@ -1,26 +0,0 @@
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#amd64_C_PICFLAGS = -K PIC
-
-# To make sure the correct header files are located first
-CPPFLAGS= -I$(SRC)/lib/libldap4/include $(CPPFLAGS.master)
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libldap4/spec/i386/Makefile b/usr/src/lib/libldap4/spec/i386/Makefile
deleted file mode 100644
index 56982ab8a4..0000000000
--- a/usr/src/lib/libldap4/spec/i386/Makefile
+++ /dev/null
@@ -1,26 +0,0 @@
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1998-2001 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libldap4/spec/i386/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#i386_C_PICFLAGS = -K PIC
-
-# To make sure the correct header files are located first
-CPPFLAGS= -I$(SRC)/lib/libldap4/include $(CPPFLAGS.master)
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libldap4/spec/ldap.spec b/usr/src/lib/libldap4/spec/ldap.spec
deleted file mode 100644
index c2c8ff4b89..0000000000
--- a/usr/src/lib/libldap4/spec/ldap.spec
+++ /dev/null
@@ -1,1288 +0,0 @@
-#
-# Copyright (c) 1998-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libldap/spec/ldap.spec
-
-function ber_alloc_t
-include <lber.h>, <ldap.h>
-declaration BerElement *ber_alloc_t(int options)
-version SUNW_1.1
-exception $return == NULLBER
-end
-
-function ber_bvdup
-include <lber.h>, <ldap.h>
-declaration struct berval *ber_bvdup(struct berval *bv)
-version SUNW_1.1
-exception $return == NULL
-end
-
-function ber_bvecfree
-include <lber.h>, <ldap.h>
-declaration void ber_bvecfree(struct berval **bv)
-version SUNW_1.1
-end
-
-function ber_bvfree
-include <lber.h>, <ldap.h>
-declaration void ber_bvfree(struct berval *bv)
-version SUNW_1.1
-end
-
-function ber_first_element
-include <lber.h>, <ldap.h>
-declaration unsigned int ber_first_element(BerElement *ber, \
- unsigned int *len, char **last)
-version SUNW_1.1
-end
-
-function ber_flatten
-include <lber.h>, <ldap.h>
-declaration int ber_flatten(BerElement *ber, struct berval **bvPtr)
-version SUNW_1.1
-exception $return == -1
-end
-
-function ber_free
-include <lber.h>, <ldap.h>
-declaration void ber_free(BerElement *ber, int freebuf)
-version SUNW_1.1
-end
-
-function ber_init
-include <lber.h>, <ldap.h>
-declaration BerElement *ber_init(struct berval *bv)
-version SUNW_1.1
-exception $return == NULLBER
-end
-
-function ber_next_element
-include <lber.h>, <ldap.h>
-declaration unsigned int ber_next_element(BerElement *ber, \
- unsigned int *len, char *last)
-version SUNW_1.1
-end
-
-function ber_peek_tag
-include <lber.h>, <ldap.h>
-declaration unsigned int ber_peek_tag(BerElement *ber, unsigned int *len)
-version SUNW_1.1
-end
-
-function ber_printf
-include <lber.h>, <ldap.h>
-declaration int ber_printf(BerElement *ber, char *fmt, ...)
-version SUNW_1.1
-exception $return == -1
-end
-
-function ber_scanf
-include <lber.h>, <ldap.h>
-declaration unsigned int ber_scanf(BerElement *ber, char *fmt, ...)
-version SUNW_1.1
-exception $return == LBER_DEFAULT
-end
-
-function ber_skip_tag
-include <lber.h>, <ldap.h>
-declaration unsigned int ber_skip_tag(BerElement *ber, unsigned int *len)
-version SUNW_1.1
-end
-
-function ber_get_int
-include <lber.h>
-declaration unsigned int ber_get_int(BerElement *ber, int *num)
-version SUNW_1.2
-end
-
-function ber_alloc
-include <lber.h>
-declaration BerElement *ber_alloc(void)
-version SUNW_1.2
-end
-
-function cldap_close
-include <lber.h>, <ldap.h>
-declaration void cldap_close(LDAP *ld)
-version SUNW_1.1
-end
-
-function cldap_open
-include <lber.h>, <ldap.h>
-declaration LDAP *cldap_open(char *host, int port)
-version SUNW_1.1
-exception $return == NULL
-end
-
-function cldap_search_s
-include <lber.h>, <ldap.h>
-declaration int cldap_search_s(LDAP *ld, char *base, int scope, \
- char *filter, char **attrs, int attrsonly, \
- LDAPMessage **res, char *logdn)
-version SUNW_1.1
-exception $return == -1
-end
-
-function cldap_setretryinfo
-include <lber.h>, <ldap.h>
-declaration void cldap_setretryinfo(LDAP *ld, int tries, time_t timeout)
-version SUNW_1.1
-end
-
-function i18n_catopen
-include <lber.h>, <ldap.h>
-declaration void i18n_catopen(char *name)
-version SUNWprivate_1.1
-end
-
-function ldap_abandon
-include <lber.h>, <ldap.h>
-declaration int ldap_abandon(LDAP *ld, int msgid)
-version SUNW_1.1
-exception $return == -1
-end
-
-function ldap_abandon_ext
-include <lber.h>, <ldap.h>
-declaration int ldap_abandon_ext(LDAP *ld, int msgid, \
- LDAPControl **serverctrls, LDAPControl **clientctrls)
-version SUNW_1.1
-exception $return == -1
-end
-
-function ldap_add
-include <lber.h>, <ldap.h>
-declaration int ldap_add(LDAP *ld, char *dn, LDAPMod **attrs)
-version SUNW_1.1
-exception $return == -1
-end
-
-function ldap_add_ext
-include <lber.h>, <ldap.h>
-declaration int ldap_add_ext(LDAP *ld, char *dn, LDAPMod **attrs, \
- LDAPControl **serverctrls, \
- LDAPControl **clientctrls, int *msgidp)
-version SUNW_1.1
-exception $return == -1
-end
-
-function ldap_add_ext_s
-include <lber.h>, <ldap.h>
-declaration int ldap_add_ext_s(LDAP *ld, char *dn, LDAPMod **attrs, LDAPControl **serverctrls, LDAPControl **clientctrls)
-version SUNW_1.1
-exception $return == -1
-end
-
-function ldap_add_s
-include <lber.h>, <ldap.h>
-declaration int ldap_add_s(LDAP *ld, char *dn, LDAPMod **attrs)
-version SUNW_1.1
-exception $return == -1
-end
-
-function ldap_bind
-include <lber.h>, <ldap.h>
-declaration int ldap_bind(LDAP *ld, char *dn, char *passwd, int authmethod)
-version SUNW_1.1
-exception $return == -1
-end
-
-function ldap_bind_s
-include <lber.h>, <ldap.h>
-declaration int ldap_bind_s(LDAP *ld, char *dn, char *passwd, \
- int authmethod)
-version SUNW_1.1
-exception $return == -1
-end
-
-function ldap_build_filter
-include <lber.h>, <ldap.h>
-declaration void ldap_build_filter(char *filtbuf, size_t buflen, \
- char *pattern, char *prefix, char *suffix, \
- char *attr, char *value, char **valwords)
-version SUNW_1.1
-end
-
-function ldap_compare
-include <lber.h>, <ldap.h>
-declaration int ldap_compare(LDAP *ld, char *dn, char *attr, char *value)
-version SUNW_1.1
-exception $return == -1
-end
-
-function ldap_compare_ext
-include <lber.h>, <ldap.h>
-declaration int ldap_compare_ext(LDAP *ld, char *dn, char *attr, \
- struct berval *bvalue, LDAPControl **serverctrls, \
- LDAPControl **clientctrls, int *msgidp)
-version SUNW_1.1
-exception $return == -1
-end
-
-function ldap_compare_ext_s
-include <lber.h>, <ldap.h>
-declaration int ldap_compare_ext_s(LDAP *ld, char *dn, char *attr, \
- struct berval *bvalue, LDAPControl **serverctrls, \
- LDAPControl **clientctrls)
-version SUNW_1.1
-exception $return == -1
-end
-
-function ldap_compare_s
-include <lber.h>, <ldap.h>
-declaration int ldap_compare_s(LDAP *ld, char *dn, char *attr, char *value)
-version SUNW_1.1
-exception $return == -1
-end
-
-function ldap_control_free
-include <lber.h>, <ldap.h>
-declaration void ldap_control_free (LDAPControl *ctrl)
-version SUNW_1.1
-end
-
-function ldap_controls_free
-include <lber.h>, <ldap.h>
-declaration void ldap_controls_free (LDAPControl **ctrls)
-version SUNW_1.1
-end
-
-function ldap_count_entries
-include <lber.h>, <ldap.h>
-declaration int ldap_count_entries(LDAP *ld, LDAPMessage *res)
-version SUNW_1.1
-end
-
-function ldap_count_messages
-include <lber.h>, <ldap.h>
-declaration int ldap_count_messages(LDAP *ld, LDAPMessage *res)
-version SUNW_1.1
-end
-
-function ldap_count_references
-include <lber.h>, <ldap.h>
-declaration int ldap_count_references(LDAP *ld, LDAPMessage *res)
-version SUNW_1.1
-end
-
-function ldap_count_values
-include <lber.h>, <ldap.h>
-declaration int ldap_count_values(char **vals)
-version SUNW_1.1
-end
-
-function ldap_count_values_len
-include <lber.h>, <ldap.h>
-declaration int ldap_count_values_len(struct berval **vals)
-version SUNW_1.1
-end
-
-function ldap_create_page_control
-include <lber.h>, <ldap.h>
-declaration int ldap_create_page_control(LDAP *ld, \
- unsigned int pagesize, struct berval *cookie, \
- char isCritical, LDAPControl **output)
-version SUNWprivate_1.1
-end
-
-function ldap_delete
-include <lber.h>, <ldap.h>
-declaration int ldap_delete(LDAP *ld, char *dn)
-version SUNW_1.1
-exception $return == -1
-end
-
-function ldap_delete_ext
-include <lber.h>, <ldap.h>
-declaration int ldap_delete_ext(LDAP *ld, char *dn, \
- LDAPControl **serverctrls, \
- LDAPControl **clientctrls, int *msgidp)
-version SUNW_1.1
-exception $return == -1
-end
-
-function ldap_delete_ext_s
-include <lber.h>, <ldap.h>
-declaration int ldap_delete_ext_s(LDAP *ld, char *dn, \
- LDAPControl **serverctrls, LDAPControl **clientctrls)
-version SUNW_1.1
-exception $return == -1
-end
-
-function ldap_delete_s
-include <lber.h>, <ldap.h>
-declaration int ldap_delete_s(LDAP *ld, char *dn)
-version SUNW_1.1
-exception $return == -1
-end
-
-function ldap_destroy_cache
-include <lber.h>, <ldap.h>
-declaration void ldap_destroy_cache(LDAP *ld)
-version SUNW_1.1
-end
-
-function ldap_disable_cache
-include <lber.h>, <ldap.h>
-declaration void ldap_disable_cache(LDAP *ld)
-version SUNW_1.1
-end
-
-function ldap_dn2ufn
-include <lber.h>, <ldap.h>
-declaration char *ldap_dn2ufn(char *dn)
-version SUNW_1.1
-end
-
-function ldap_dn_to_url
-include <lber.h>, <ldap.h>
-declaration char *ldap_dn_to_url(LDAP *ld, char*dn, int nameparts)
-version SUNW_1.1
-exception $return == NULL
-end
-
-function ldap_dns_to_dn
-include <lber.h>, <ldap.h>
-declaration char *ldap_dns_to_dn(char *dns_name, int *nameparts)
-version SUNW_1.1
-exception $return == NULL
-end
-
-function ldap_dns_to_url
-include <lber.h>, <ldap.h>
-declaration char *ldap_dns_to_url(LDAP *ld, char *dns_name, \
- char *attrs, char *scope, char *filter)
-version SUNW_1.1
-exception $return == NULL
-end
-
-function ldap_enable_cache
-include <lber.h>, <ldap.h>
-declaration int ldap_enable_cache(LDAP *ld, time_t timeout, ssize_t maxmem)
-version SUNW_1.1
-end
-
-function ldap_enable_translation
-include <lber.h>, <ldap.h>
-declaration void ldap_enable_translation(LDAP *ld, LDAPMessage *entry, \
- int enable)
-version SUNW_1.1
-end
-
-function ldap_entry2html
-include <lber.h>, <ldap.h>
-declaration int ldap_entry2html(LDAP *ld, char *buf, LDAPMessage *entry, \
- struct ldap_disptmpl *tmpl, char **defattrs, \
- char ***defvals, writeptype writeproc, \
- void *writeparm, char *eol, int rdncount, \
- unsigned int opts, char *base, char *urlprefix)
-version SUNW_1.1
-end
-
-function ldap_entry2html_search
-include <lber.h>, <ldap.h>
-declaration int ldap_entry2html_search(LDAP *ld, char *dn, char *base, \
- LDAPMessage *entry, struct ldap_disptmpl*tmpllist, \
- char **defattrs, char ***defvals, \
- writeptype writeproc, void *writeparm, \
- char *eol,int rdncount, unsigned int opts, \
- char *urlprefix)
-version SUNW_1.1
-end
-
-function ldap_entry2text
-include <lber.h>, <ldap.h>
-declaration int ldap_entry2text(LDAP *ld, char *buf, \
- LDAPMessage *entry, struct ldap_disptmpl *tmpl, \
- char **defattrs, char ***defvals, \
- writeptype writeproc, void *writeparm, char *eol, \
- int rdncount, unsigned int opts)
-version SUNW_1.1
-end
-
-function ldap_entry2text_search
-include <lber.h>, <ldap.h>
-declaration int ldap_entry2text_search(LDAP *ld,char *dn, char *base, \
- LDAPMessage *entry, struct ldap_disptmpl*tmpllist, \
- char **defattrs, char ***defvals, \
- writeptype writeproc, void *writeparm, \
- char *eol,int rdncount, unsigned int opts)
-version SUNW_1.1
-end
-
-function ldap_err2string
-include <lber.h>, <ldap.h>
-declaration char *ldap_err2string(int err)
-version SUNW_1.1
-end
-
-function ldap_explode_dn
-include <lber.h>, <ldap.h>
-declaration char **ldap_explode_dn(char *dn, int notypes)
-version SUNW_1.1
-exception $return == NULL
-end
-
-function ldap_explode_dns
-include <lber.h>, <ldap.h>
-declaration char **ldap_explode_dns(char *dn)
-version SUNW_1.1
-exception $return == NULL
-end
-
-function ldap_explode_rdn
-include <lber.h>, <ldap.h>
-declaration char **ldap_explode_rdn(char *rdn, int notypes)
-version SUNW_1.1
-exception $return == NULL
-end
-
-function ldap_extended_operation
-include <lber.h>, <ldap.h>
-declaration int ldap_extended_operation(LDAP *ld, char *exoid, \
- struct berval *exdata, LDAPControl **serverctrls, \
- LDAPControl**clientctrls, int *msgidp)
-version SUNW_1.1
-end
-
-function ldap_extended_operation_s
-include <lber.h>, <ldap.h>
-declaration int ldap_extended_operation_s(LDAP *ld, char *exoid, \
- struct berval *exdata, LDAPControl **serverctrls, \
- LDAPControl **clientctrls, char **retoidp, \
- struct berval **retdatap)
-version SUNW_1.1
-end
-
-function ldap_first_attribute
-include <lber.h>, <ldap.h>
-declaration char *ldap_first_attribute(LDAP *ld, LDAPMessage *entry, \
- BerElement **ber)
-version SUNW_1.1
-end
-
-function ldap_first_disptmpl
-include <lber.h>, <ldap.h>
-declaration struct ldap_disptmpl *ldap_first_disptmpl \
- (struct ldap_disptmpl *tmpllist)
-version SUNW_1.1
-end
-
-function ldap_first_entry
-include <lber.h>, <ldap.h>
-declaration LDAPMessage *ldap_first_entry(LDAP *ld, LDAPMessage *res)
-version SUNW_1.1
-exception $return == NULL
-end
-
-function ldap_first_message
-include <lber.h>, <ldap.h>
-declaration LDAPMessage *ldap_first_message(LDAP *ld, LDAPMessage *res)
-version SUNW_1.1
-exception $return == NULL
-end
-
-function ldap_first_reference
-include <lber.h>, <ldap.h>
-declaration LDAPMessage *ldap_first_reference(LDAP *ld, LDAPMessage *res)
-version SUNW_1.1
-exception $return == NULL
-end
-
-function ldap_first_searchobj
-include <lber.h>, <ldap.h>
-declaration struct ldap_searchobj *ldap_first_searchobj \
- (struct ldap_searchobj *solist)
-version SUNW_1.1
-end
-
-function ldap_first_tmplcol
-include <lber.h>, <ldap.h>
-declaration struct ldap_tmplitem *ldap_first_tmplcol \
- (struct ldap_disptmpl *tmpl, \
- struct ldap_tmplitem *row)
-version SUNW_1.1
-exception $return == NULL
-end
-
-function ldap_first_tmplrow
-include <lber.h>, <ldap.h>
-declaration struct ldap_tmplitem *ldap_first_tmplrow \
- (struct ldap_disptmpl *tmpl)
-version SUNW_1.1
-exception $return == NULL
-end
-
-function ldap_flush_cache
-include <lber.h>, <ldap.h>
-declaration void ldap_flush_cache(LDAP *ld)
-version SUNW_1.1
-end
-
-function ldap_free_friendlymap
-include <lber.h>, <ldap.h>
-declaration void ldap_free_friendlymap(FriendlyMap **map)
-version SUNW_1.1
-end
-
-function ldap_free_searchprefs
-include <lber.h>, <ldap.h>
-declaration void ldap_free_searchprefs(struct ldap_searchobj *solist)
-version SUNW_1.1
-end
-
-function ldap_free_templates
-include <lber.h>, <ldap.h>
-declaration void ldap_free_templates(struct ldap_disptmpl *tmpllist)
-version SUNW_1.1
-end
-
-function ldap_free_urldesc
-include <lber.h>, <ldap.h>
-declaration void ldap_free_urldesc(LDAPURLDesc *ludp)
-version SUNW_1.1
-end
-
-function ldap_friendly_name
-include <lber.h>, <ldap.h>
-declaration char *ldap_friendly_name(char *filename, char *uname, \
- FriendlyMap **map)
-version SUNW_1.1
-end
-
-function ldap_get_dn
-include <lber.h>, <ldap.h>
-declaration char *ldap_get_dn(LDAP *ld, LDAPMessage *entry)
-version SUNW_1.1
-exception $return == NULL
-end
-
-function ldap_get_option
-include <lber.h>, <ldap.h>
-declaration int ldap_get_option (LDAP *ld, int option, void *outvalue)
-version SUNW_1.1
-exception $return == -1
-end
-
-function ldap_get_reference_urls
-include <lber.h>, <ldap.h>
-declaration char **ldap_get_reference_urls(LDAP *ld, LDAPMessage *res)
-version SUNWprivate_1.1
-exception $return == NULL
-end
-
-function ldap_get_values
-include <lber.h>, <ldap.h>
-declaration char **ldap_get_values(LDAP *ld, LDAPMessage *entry, \
- char *target)
-version SUNW_1.1
-exception $return == NULL
-end
-
-function ldap_get_values_len
-include <lber.h>, <ldap.h>
-declaration struct berval **ldap_get_values_len(LDAP *ld, \
- LDAPMessage *entry, char *target)
-version SUNW_1.1
-exception $return == NULL
-end
-
-function ldap_getfilter_free
-include <lber.h>, <ldap.h>
-declaration void ldap_getfilter_free(LDAPFiltDesc *lfdp)
-version SUNW_1.1
-end
-
-function ldap_getfirstfilter
-include <lber.h>, <ldap.h>
-declaration LDAPFiltInfo *ldap_getfirstfilter(LDAPFiltDesc *lfdp, \
- char *tagpat, char *value)
-version SUNW_1.1
-exception $return == NULL
-end
-
-function ldap_getnextfilter
-include <lber.h>, <ldap.h>
-declaration LDAPFiltInfo *ldap_getnextfilter(LDAPFiltDesc *lfdp)
-version SUNW_1.1
-exception $return == NULL
-end
-
-function ldap_init
-include <lber.h>, <ldap.h>
-declaration LDAP *ldap_init(char *defhost, int defport)
-version SUNW_1.1
-exception $return == NULL
-end
-
-function ldap_init_getfilter
-include <lber.h>, <ldap.h>
-declaration LDAPFiltDesc *ldap_init_getfilter(char *fname)
-version SUNW_1.1
-exception $return == NULL
-end
-
-function ldap_init_getfilter_buf
-include <lber.h>, <ldap.h>
-declaration LDAPFiltDesc *ldap_init_getfilter_buf(char *buf, \
- ssize_t buflen)
-version SUNW_1.1
-exception $return == NULL
-end
-
-function ldap_init_searchprefs
-include <lber.h>, <ldap.h>
-declaration int ldap_init_searchprefs(char *file, \
- struct ldap_searchobj **solistp)
-version SUNW_1.1
-exception $return == (int) NULLSEARCHOBJ
-end
-
-function ldap_init_searchprefs_buf
-include <lber.h>, <ldap.h>
-declaration int ldap_init_searchprefs_buf(char *buf, ssize_t buflen, \
- struct ldap_searchobj **solistp)
-version SUNW_1.1
-exception $return == (int) NULLSEARCHOBJ
-end
-
-function ldap_init_templates
-include <lber.h>, <ldap.h>
-declaration int ldap_init_templates(char *file, \
- struct ldap_disptmpl **tmpllistp)
-version SUNW_1.1
-end
-
-function ldap_init_templates_buf
-include <lber.h>, <ldap.h>
-declaration int ldap_init_templates_buf(char *buf, ssize_t buflen, \
- struct ldap_disptmpl **tmpllistp)
-version SUNW_1.1
-end
-
-function ldap_is_dns_dn
-include <lber.h>, <ldap.h>
-declaration int ldap_is_dns_dn(char *dn)
-version SUNW_1.1
-exception $return == 0
-end
-
-function ldap_is_ldap_url
-include <lber.h>, <ldap.h>
-declaration int ldap_is_ldap_url(char *url)
-version SUNW_1.1
-exception $return == 0
-end
-
-function ldap_memfree
-include <lber.h>, <ldap.h>
-declaration void ldap_memfree(char *mem)
-version SUNW_1.1
-end
-
-function ldap_modify
-include <lber.h>, <ldap.h>
-declaration int ldap_modify(LDAP *ld, char *dn, LDAPMod **mods)
-version SUNW_1.1
-exception $return == -1
-end
-
-function ldap_modify_ext
-include <lber.h>, <ldap.h>
-declaration int ldap_modify_ext(LDAP *ld, char *dn, LDAPMod **mods, \
- LDAPControl **serverctrls, \
- LDAPControl **clientctrls, int *msgidp)
-version SUNW_1.1
-exception $return == -1
-end
-
-function ldap_modify_ext_s
-include <lber.h>, <ldap.h>
-declaration int ldap_modify_ext_s(LDAP *ld, char *dn, LDAPMod **mods, \
- LDAPControl **serverctrls, LDAPControl **clientctrls)
-version SUNW_1.1
-exception $return == -1
-end
-
-function ldap_modify_s
-include <lber.h>, <ldap.h>
-declaration int ldap_modify_s(LDAP *ld, char *dn, LDAPMod **mods)
-version SUNW_1.1
-exception $return == -1
-end
-
-function ldap_modrdn
-include <lber.h>, <ldap.h>
-declaration int ldap_modrdn(LDAP *ld, char *dn, char *newrdn, \
- int deleteoldrdn)
-version SUNW_1.1
-exception $return == -1
-end
-
-function ldap_modrdn_s
-include <lber.h>, <ldap.h>
-declaration int ldap_modrdn_s(LDAP *ld, char *dn, char *newrdn, \
- int deleteoldrdn)
-version SUNW_1.1
-exception $return == -1
-end
-
-function ldap_mods_free
-include <lber.h>, <ldap.h>
-declaration void ldap_mods_free(LDAPMod **mods, int freemods)
-version SUNW_1.1
-end
-
-function ldap_msgfree
-include <lber.h>, <ldap.h>
-declaration int ldap_msgfree(LDAPMessage *lm)
-version SUNW_1.1
-end
-
-function ldap_msgid
-include <lber.h>, <ldap.h>
-declaration int ldap_msgid(LDAPMessage *res)
-version SUNW_1.1
-exception $return == LDAP_RES_ANY
-end
-
-function ldap_msgtype
-include <lber.h>, <ldap.h>
-declaration int ldap_msgtype(LDAPMessage *res)
-version SUNW_1.1
-exception $return == LDAP_RES_ANY
-end
-
-function ldap_next_attribute
-include <lber.h>, <ldap.h>
-declaration char *ldap_next_attribute(LDAP *ld, LDAPMessage *entry, \
- BerElement *ber)
-version SUNW_1.1
-exception $return == NULL
-end
-
-function ldap_next_disptmpl
-include <lber.h>, <ldap.h>
-declaration struct ldap_disptmpl *ldap_next_disptmpl \
- (struct ldap_disptmpl *tmpllist, \
- struct ldap_disptmpl *tmpl)
-version SUNW_1.1
-exception $return == NULLDISPTMPL
-end
-
-function ldap_next_entry
-include <lber.h>, <ldap.h>
-declaration LDAPMessage *ldap_next_entry(LDAP *ld, LDAPMessage *entry)
-version SUNW_1.1
-exception $return == NULLMSG
-end
-
-function ldap_next_message
-include <lber.h>, <ldap.h>
-declaration LDAPMessage *ldap_next_message(LDAP *ld, LDAPMessage *msg)
-version SUNW_1.1
-exception $return == NULLMSG
-end
-
-function ldap_next_reference
-include <lber.h>, <ldap.h>
-declaration LDAPMessage *ldap_next_reference(LDAP *ld, LDAPMessage *entry)
-version SUNW_1.1
-exception $return == NULLMSG
-end
-
-function ldap_next_searchobj
-include <lber.h>, <ldap.h>
-declaration struct ldap_searchobj *ldap_next_searchobj \
- (struct ldap_searchobj *solist, \
- struct ldap_searchobj *so)
-version SUNW_1.1
-exception $return == NULLSEARCHOBJ
-end
-
-function ldap_next_tmplcol
-include <lber.h>, <ldap.h>
-declaration struct ldap_tmplitem *ldap_next_tmplcol \
- (struct ldap_disptmpl *tmpl, \
- struct ldap_tmplitem *row, \
- struct ldap_tmplitem *col)
-version SUNW_1.1
-exception $return == NULLTMPLITEM
-end
-
-function ldap_next_tmplrow
-include <lber.h>, <ldap.h>
-declaration struct ldap_tmplitem *ldap_next_tmplrow \
- (struct ldap_disptmpl *tmpl, \
- struct ldap_tmplitem *row)
-version SUNW_1.1
-exception $return == NULLTMPLITEM
-end
-
-function ldap_oc2template
-include <lber.h>, <ldap.h>
-declaration struct ldap_disptmpl *ldap_oc2template(char **oclist, \
- struct ldap_disptmpl *tmpllist)
-version SUNW_1.1
-exception $return == NULLDISPTMPL
-end
-
-function ldap_open
-include <lber.h>, <ldap.h>
-declaration LDAP *ldap_open(char *host, int port)
-version SUNW_1.1
-exception $return == NULL
-end
-
-function ldap_parse_extended_result
-include <lber.h>, <ldap.h>
-declaration int ldap_parse_extended_result(LDAP *ld, LDAPMessage *res, \
- char **resultoidp, struct berval **resultdata, \
- int freeit)
-version SUNW_1.1
-end
-
-function ldap_parse_page_control
-include <lber.h>, <ldap.h>
-declaration int ldap_parse_page_control(LDAP *ld, \
- LDAPControl **controls, unsigned int *totalcount, \
- struct berval **cookie)
-version SUNWprivate_1.1
-end
-
-function ldap_parse_result
-include <lber.h>, <ldap.h>
-declaration int ldap_parse_result(LDAP *ld, LDAPMessage *res, \
- int *errcodep, char **matcheddnp, char **errmsgp, \
- char ***referralsp, LDAPControl ***serverctrlsp, \
- int freeit)
-version SUNW_1.1
-end
-
-function ldap_parse_sasl_bind_result
-include <lber.h>, <ldap.h>
-declaration int ldap_parse_sasl_bind_result(LDAP *ld, LDAPMessage *res, \
- struct berval **servercredp, int freeit)
-version SUNW_1.1
-end
-
-function ldap_perror
-include <lber.h>, <ldap.h>
-declaration void ldap_perror(LDAP *ld, char *s)
-version SUNW_1.1
-end
-
-function ldap_rename
-include <lber.h>, <ldap.h>
-declaration int ldap_rename(LDAP *ld, char *dn, char *newrdn, \
- char *newparent, int deleteoldrdn, \
- LDAPControl **serverctrls, \
- LDAPControl **clientctrls, int *msgidp)
-version SUNW_1.1
-end
-
-function ldap_rename_s
-include <lber.h>, <ldap.h>
-declaration int ldap_rename_s(LDAP *ld, char *dn, char *newrdn, \
- char *newparent, int deleteoldrdn, \
- LDAPControl **serverctrls, LDAPControl **clientctrls)
-version SUNW_1.1
-end
-
-function ldap_result2error
-include <lber.h>, <ldap.h>
-declaration int ldap_result2error(LDAP *ld, LDAPMessage *r, int freeit)
-version SUNW_1.1
-end
-
-function ldap_result
-include <lber.h>, <ldap.h>
-declaration int ldap_result(LDAP *ld, int msgid, int all, \
- struct timeval *timeout, LDAPMessage **result)
-version SUNW_1.1
-end
-
-function ldap_sasl_bind
-include <lber.h>, <ldap.h>
-declaration int ldap_sasl_bind(LDAP *ld, char *dn, char *mechanism, \
- struct berval *cred, LDAPControl **serverctrls, \
- LDAPControl **clientctrls, int *msgidp)
-version SUNW_1.1
-end
-
-function ldap_sasl_bind_s
-include <lber.h>, <ldap.h>
-declaration int ldap_sasl_bind_s(LDAP *ld, char *dn, char *mechanism, \
- struct berval *cred, LDAPControl **serverctrls, \
- LDAPControl **clientctrls, struct berval **servercredp)
-version SUNW_1.1
-end
-
-function ldap_sasl_cram_md5_bind_s
-include <lber.h>, <ldap.h>
-declaration int ldap_sasl_cram_md5_bind_s(LDAP *ld, char *dn, \
- struct berval *cred, LDAPControl **serverctrls, \
- LDAPControl **clientctrls)
-version SUNW_1.1
-end
-
-function ldap_search
-include <lber.h>, <ldap.h>
-declaration int ldap_search(LDAP *ld, char *base, int scope, \
- char *filter, char **attrs, int attrsonly)
-version SUNW_1.1
-exception $return == -1
-end
-
-function ldap_search_ext
-include <lber.h>, <ldap.h>
-declaration int ldap_search_ext(LDAP *ld, char *base, int scope, \
- char *filter, char **attrs, int attrsonly, \
- LDAPControl **serverctrls, LDAPControl **clientctrls, \
- struct timeval *timeoutp, int sizelimit, int *msgidp)
-version SUNW_1.1
-exception $return == -1
-end
-
-function ldap_search_ext_s
-include <lber.h>, <ldap.h>
-declaration int ldap_search_ext_s(LDAP *ld, char *base, int scope, \
- char *filter, char **attrs, int attrsonly, \
- LDAPControl **serverctrls, \
- LDAPControl **clientctrls, struct timeval *timeoutp, \
- int sizelimit, LDAPMessage **res)
-version SUNW_1.1
-exception $return == -1
-end
-
-function ldap_search_s
-include <lber.h>, <ldap.h>
-declaration int ldap_search_s(LDAP *ld, char *base, int scope, \
- char *filter, char **attrs, int attrsonly, \
- LDAPMessage **res)
-version SUNW_1.1
-exception $return == -1
-end
-
-function ldap_search_st
-include <lber.h>, <ldap.h>
-declaration int ldap_search_st(LDAP *ld, char *base, int scope, \
- char *filter, char **attrs, int attrsonly, \
- struct timeval *timeout, LDAPMessage **res)
-version SUNW_1.1
-exception $return == -1
-end
-
-function ldap_set_cache_options
-include <lber.h>, <ldap.h>
-declaration void ldap_set_cache_options(LDAP *ld, unsigned int opts)
-version SUNW_1.1
-end
-
-function ldap_set_option
-include <lber.h>, <ldap.h>
-declaration int ldap_set_option (LDAP *ld, int option, void *invalue)
-version SUNW_1.1
-end
-
-function ldap_set_rebind_proc
-include <lber.h>, <ldap.h>
-declaration void ldap_set_rebind_proc(LDAP *ld, \
- LDAP_REBIND_FUNCTION *rebindproc, void *extra_arg)
-version SUNW_1.1
-end
-
-function ldap_set_string_translators
-include <lber.h>, <ldap.h>
-declaration void ldap_set_string_translators(LDAP *ld, \
- BERTranslateProc encode_proc, \
- BERTranslateProc decode_proc)
-version SUNW_1.1
-end
-
-function ldap_setfilteraffixes
-include <lber.h>, <ldap.h>
-declaration void ldap_setfilteraffixes(LDAPFiltDesc *lfdp, \
- char *prefix, char *suffix)
-version SUNW_1.1
-end
-
-function ldap_simple_bind
-include <lber.h>, <ldap.h>
-declaration int ldap_simple_bind(LDAP *ld, char *dn, char *passwd)
-version SUNW_1.1
-exception $return == -1
-end
-
-function ldap_simple_bind_s
-include <lber.h>, <ldap.h>
-declaration int ldap_simple_bind_s(LDAP *ld, char *dn, char *passwd)
-version SUNW_1.1
-exception $return == -1
-end
-
-function ldap_sort_entries
-include <lber.h>, <ldap.h>
-declaration int ldap_sort_entries(LDAP *ld, LDAPMessage **chain, \
- char *attr, int (*cmp)())
-version SUNW_1.1
-exception $return == -1
-end
-
-function ldap_sort_strcasecmp
-include <lber.h>, <ldap.h>
-declaration int ldap_sort_strcasecmp(char **a, char **b)
-version SUNW_1.1
-end
-
-function ldap_sort_values
-include <lber.h>, <ldap.h>
-declaration int ldap_sort_values(LDAP *ld, char **vals, int (*cmp)())
-version SUNW_1.1
-exception $return == -1
-end
-
-function ldap_tmplattrs
-include <lber.h>, <ldap.h>
-declaration char **ldap_tmplattrs(struct ldap_disptmpl *tmpl, \
- char **includeattrs, int exclude, \
- unsigned int syntaxmask)
-version SUNW_1.1
-exception $return == NULL
-end
-
-function ldap_translate_from_t61
-include <lber.h>, <ldap.h>
-declaration int ldap_translate_from_t61(LDAP *ld, char **bufp, \
- unsigned int *lenp, int free_input)
-version SUNW_1.1
-end
-
-function ldap_translate_to_t61
-include <lber.h>, <ldap.h>
-declaration int ldap_translate_to_t61(LDAP *ld, char **bufp, \
- unsigned int *lenp, int free_input)
-version SUNW_1.1
-end
-
-function ldap_ufn_search_c
-include <lber.h>, <ldap.h>, "ufn.h"
-declaration int ldap_ufn_search_c(LDAP *ld, char *ufn, char **attrs, \
- int attrsonly, LDAPMessage **res, \
- cancelptype cancelproc, void *cancelparm)
-version SUNW_1.1
-exception $return == -1
-end
-
-function ldap_ufn_search_ct
-include <lber.h>, <ldap.h>, "ufn.h"
-declaration int ldap_ufn_search_ct(LDAP *ld, char *ufn, char **attrs, \
- int attrsonly, LDAPMessage **res, \
- cancelptype cancelproc, void *cancelparm, \
- char *tag1, char *tag2, char *tag3)
-version SUNW_1.1
-exception $return == -1
-end
-
-function ldap_ufn_search_s
-include <lber.h>, <ldap.h>
-declaration int ldap_ufn_search_s(LDAP *ld, char *ufn, char **attrs, \
- int attrsonly, LDAPMessage **res)
-version SUNW_1.1
-exception $return == -1
-end
-
-function ldap_ufn_setfilter
-include <lber.h>, <ldap.h>
-declaration LDAPFiltDesc *ldap_ufn_setfilter(LDAP *ld, char *fname)
-version SUNW_1.1
-end
-
-function ldap_ufn_setprefix
-include <lber.h>, <ldap.h>
-declaration void ldap_ufn_setprefix(LDAP *ld, char *prefix)
-version SUNW_1.1
-end
-
-function ldap_ufn_timeout
-include <lber.h>, <ldap.h>
-declaration int ldap_ufn_timeout(void *tvparam)
-version SUNW_1.1
-exception $return == 0
-end
-
-function ldap_unbind
-include <lber.h>, <ldap.h>
-declaration int ldap_unbind(LDAP *ld)
-version SUNW_1.1
-exception $return == 0
-end
-
-function ldap_unbind_s
-include <lber.h>, <ldap.h>
-declaration int ldap_unbind_s(LDAP *ld)
-version SUNW_1.1
-exception $return == 0
-end
-
-function ldap_uncache_entry
-include <lber.h>, <ldap.h>
-declaration void ldap_uncache_entry(LDAP *ld, char *dn)
-version SUNW_1.1
-end
-
-function ldap_uncache_request
-include <lber.h>, <ldap.h>
-declaration void ldap_uncache_request(LDAP *ld, int msgid)
-version SUNW_1.1
-end
-
-function ldap_url_parse
-include <lber.h>, <ldap.h>
-declaration int ldap_url_parse(char *url, LDAPURLDesc **ludpp)
-version SUNW_1.1
-end
-
-function ldap_url_search
-include <lber.h>, <ldap.h>
-declaration int ldap_url_search(LDAP *ld, char *url, int attrsonly)
-version SUNW_1.1
-exception $return == -1
-end
-
-function ldap_url_search_s
-include <lber.h>, <ldap.h>
-declaration int ldap_url_search_s(LDAP *ld, char *url, int attrsonly, \
- LDAPMessage **res)
-version SUNW_1.1
-exception $return == -1
-end
-
-function ldap_url_search_st
-include <lber.h>, <ldap.h>
-declaration int ldap_url_search_st(LDAP *ld, char *url, int attrsonly, \
- struct timeval *timeout, LDAPMessage **res)
-version SUNW_1.1
-exception $return == -1
-end
-
-function ldap_vals2html
-include <lber.h>, <ldap.h>
-declaration int ldap_vals2html(LDAP *ld, char *buf, char **vals, \
- char *label, int labelwidth, unsigned int syntaxid, \
- writeptype writeproc, void *writeparm, char *eol, \
- int rdncount, char *urlprefix)
-version SUNW_1.1
-end
-
-function ldap_vals2text
-include <lber.h>, <ldap.h>
-declaration int ldap_vals2text(LDAP *ld, char *buf, char **vals, \
- char *label, int labelwidth, \
- unsigned int syntaxid, writeptype writeproc, \
- void *writeparm, char *eol, int rdncount)
-version SUNW_1.1
-end
-
-function ldap_value_free
-include <lber.h>, <ldap.h>
-declaration void ldap_value_free(char **vals)
-version SUNW_1.1
-end
-
-function ldap_value_free_len
-include <lber.h>, <ldap.h>
-declaration void ldap_value_free_len(struct berval **vals)
-version SUNW_1.1
-end
-
-function ldaplogconfigf
-include <lber.h>, <ldap.h>
-declaration void ldaplogconfigf(FILE *fd)
-version SUNWprivate_1.1
-end
-
-function ldif_type_and_value
-include <lber.h>, <ldap.h>
-declaration char *ldif_type_and_value(char *type, char *val, int vlen)
-version SUNWprivate_1.1
-exception $return == NULL
-end
-
-function open_default_ldap_connection
-include <lber.h>, <ldap.h>
-declaration int open_default_ldap_connection(LDAP *ld)
-version SUNW_1.1
-end
-
-function set_ber_options
-include <lber.h>, <ldap.h>
-declaration void set_ber_options(LDAP *ld, BerElement *ber)
-version SUNW_1.1
-end
-
-data slapdcat
-include <lber.h>, <ldap.h>
-version SUNWprivate_1.1
-end
-
-function str_getline
-include <lber.h>, <ldap.h>
-declaration char *str_getline(char **next)
-version SUNWprivate_1.1
-exception $return == NULL
-end
-
-function str_parse_line
-include <lber.h>, <ldap.h>
-declaration int str_parse_line(char *line, char **type, \
- char **value, int *vlen)
-version SUNWprivate_1.1
-exception $return == -1
-end
-
-function ldap_create_sort_control
-include <lber.h>, <ldap.h>
-declaration int ldap_create_sort_control (LDAP *ld, \
- LDAPsortkey **sortKeyList, const char ctl_iscritical, \
- LDAPControl **ctrlp);
-version SUNW_1.1
-end
-
-function ldap_parse_sort_control
-include <lber.h>, <ldap.h>
-declaration int ldap_parse_sort_control(LDAP *ld, LDAPControl **ctrlp, \
- unsigned long *result, char **attribute);
-version SUNW_1.1
-end
-
-function ldap_create_sort_keylist
-include <lber.h>, <ldap.h>
-declaration int ldap_create_sort_keylist(LDAPsortkey ***sortKeyList, \
- char *string_rep);
-version SUNW_1.1
-end
-
-function ldap_free_sort_keylist
-include <lber.h>, <ldap.h>
-declaration void ldap_free_sort_keylist(LDAPsortkey **sortKeyList);
-version SUNW_1.1
-end
-
-function ldap_create_virtuallist_control
-include <lber.h>, <ldap.h>
-declaration int ldap_create_virtuallist_control(LDAP *ld, \
- LDAPVirtualList *ldvlistp, LDAPControl **ctrlp);
-version SUNW_1.1
-end
-
-function ldap_parse_virtuallist_control
-include <lber.h>, <ldap.h>
-declaration int ldap_parse_virtuallist_control(LDAP *ld, \
- LDAPControl **ctrls, unsigned long *target_posp, \
- unsigned long *list_sizep, int *errcodep);
-version SUNW_1.1
-end
diff --git a/usr/src/lib/libldap4/spec/sparc/Makefile b/usr/src/lib/libldap4/spec/sparc/Makefile
deleted file mode 100644
index 3d9a47c524..0000000000
--- a/usr/src/lib/libldap4/spec/sparc/Makefile
+++ /dev/null
@@ -1,26 +0,0 @@
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1998-2001 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libldap4/spec/sparc/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-sparc_C_PICFLAGS = -K PIC
-
-# To make sure the correct header files are located first
-CPPFLAGS= -I$(SRC)/lib/libldap4/include $(CPPFLAGS.master)
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libldap4/spec/sparcv9/Makefile b/usr/src/lib/libldap4/spec/sparcv9/Makefile
deleted file mode 100644
index 29dfe75f94..0000000000
--- a/usr/src/lib/libldap4/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,27 +0,0 @@
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1998-2001 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libldap4/spec/sparcv9/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-sparcv9_C_PICFLAGS = -K PIC
-
-# To make sure the correct header files are located first
-CPPFLAGS= -I$(SRC)/lib/libldap4/include $(CPPFLAGS.master)
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libldap4/spec/versions b/usr/src/lib/libldap4/spec/versions
deleted file mode 100644
index 04f28e32c1..0000000000
--- a/usr/src/lib/libldap4/spec/versions
+++ /dev/null
@@ -1,27 +0,0 @@
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-sparc {
- SUNW_1.2: {SUNW_1.1};
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-i386 {
- SUNW_1.2: {SUNW_1.1};
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-sparcv9 {
- SUNW_1.2: {SUNW_1.1};
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-amd64 {
- SUNW_1.2: {SUNW_1.1};
- SUNW_1.1;
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/libldap5/Makefile b/usr/src/lib/libldap5/Makefile
index 913ceb3b76..096d63a199 100644
--- a/usr/src/lib/libldap5/Makefile
+++ b/usr/src/lib/libldap5/Makefile
@@ -1,11 +1,29 @@
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libldap5/Makefile
-#
include ../Makefile.lib
@@ -27,7 +45,7 @@ POFILES= generic.po
.KEEP_STATE:
-all clean clobber install: spec .WAIT $(SUBDIRS)
+all clean clobber install: $(SUBDIRS)
lint:
@ $(ECHO) "usr/src/lib/libldap5 is third-party code that"
@@ -59,7 +77,7 @@ $(POFILES):
sed "/^domain/d" < messages.po > $@
$(RM) messages.po
-$(SUBDIRS) spec: FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
diff --git a/usr/src/lib/libldap5/Makefile.com b/usr/src/lib/libldap5/Makefile.com
index 1874b19a76..895f57e5ad 100644
--- a/usr/src/lib/libldap5/Makefile.com
+++ b/usr/src/lib/libldap5/Makefile.com
@@ -23,9 +23,6 @@
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
-
-#
-# lib/libldap5/Makefile.com
#
LIBRARY= libldap.a
@@ -104,7 +101,6 @@ ROOTLINT= $(LINTSRC:%=$(ROOTLINTDIR)/%)
CLEANFILES += $(LINTOUT) $(LINTLIB)
-CLOBBERFILES += $(MAPFILE)
# Local Libldap definitions
LOCFLAGS += $(XSTRCONST) -D_REENTRANT
@@ -115,9 +111,6 @@ sparcv9_C_PICFLAGS = $(sparcv9_C_BIGPICFLAGS)
#i386_C_PICFLAGS = $(i386_C_BIGPICFLAGS)
#amd64_C_PICFLAGS = $(amd64_C_BIGPICFLAGS)
-MAPDIR = ../spec/$(TRANSMACH)
-SPECMAPFILE = $(MAPDIR)/mapfile
-
CFLAGS += $(CCVERBOSE) $(LOCFLAGS)
CFLAGS64 += $(LOCFLAGS)
LDLIBS += -lsasl -lsocket -lnsl -lmd -lc
diff --git a/usr/src/lib/libldap5/mapfile-vers b/usr/src/lib/libldap5/mapfile-vers
new file mode 100644
index 0000000000..0170ec8c51
--- /dev/null
+++ b/usr/src/lib/libldap5/mapfile-vers
@@ -0,0 +1,252 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNW_5.2 {
+ global:
+ ldap_sasl_interactive_bind_s;
+} SUNW_5.1.1;
+
+SUNW_5.1.1 {
+ global:
+ ldap_url_parse_nodn;
+} SUNW_5.1;
+
+SUNW_5.1 {
+ global:
+ ber_alloc;
+ ber_alloc_t;
+ ber_bvdup;
+ ber_bvecfree;
+ ber_bvfree;
+ ber_first_element;
+ ber_flatten;
+ ber_free;
+ ber_get_int;
+ ber_init;
+ ber_next_element;
+ ber_peek_tag;
+ ber_printf;
+ ber_scanf;
+ ber_skip_tag;
+ ldap_abandon;
+ ldap_abandon_ext;
+ ldap_add;
+ ldap_add_ext;
+ ldap_add_ext_s;
+ ldap_add_s;
+ ldap_ber_free;
+ ldap_bind;
+ ldap_bind_s;
+ ldap_build_filter;
+ ldap_compare;
+ ldap_compare_ext;
+ ldap_compare_ext_s;
+ ldap_compare_s;
+ ldap_control_free;
+ ldap_controls_free;
+ ldap_count_entries;
+ ldap_count_messages;
+ ldap_count_references;
+ ldap_count_values;
+ ldap_count_values_len;
+ ldap_create_sort_control;
+ ldap_create_sort_keylist;
+ ldap_create_virtuallist_control;
+ ldap_delete;
+ ldap_delete_ext;
+ ldap_delete_ext_s;
+ ldap_delete_s;
+ ldap_dn2ufn;
+ ldap_dns_to_dn;
+ ldap_dns_to_url;
+ ldap_dn_to_url;
+ ldap_enable_translation;
+ ldap_entry2html;
+ ldap_entry2html_search;
+ ldap_entry2text;
+ ldap_entry2text_search;
+ ldap_err2string;
+ ldap_explode_dn;
+ ldap_explode_dns;
+ ldap_explode_rdn;
+ ldap_extended_operation;
+ ldap_extended_operation_s;
+ ldap_first_attribute;
+ ldap_first_disptmpl;
+ ldap_first_entry;
+ ldap_first_message;
+ ldap_first_reference;
+ ldap_first_searchobj;
+ ldap_first_tmplcol;
+ ldap_first_tmplrow;
+ ldap_free_friendlymap;
+ ldap_free_searchprefs;
+ ldap_free_sort_keylist;
+ ldap_free_templates;
+ ldap_free_urldesc;
+ ldap_friendly_name;
+ ldap_get_dn;
+ ldap_get_entry_controls;
+ ldap_getfilter_free;
+ ldap_getfirstfilter;
+ ldap_get_lang_values;
+ ldap_get_lang_values_len;
+ ldap_getnextfilter;
+ ldap_get_option;
+ ldap_get_values;
+ ldap_get_values_len;
+ ldap_init;
+ ldap_init_getfilter;
+ ldap_init_getfilter_buf;
+ ldap_init_searchprefs;
+ ldap_init_searchprefs_buf;
+ ldap_init_templates;
+ ldap_init_templates_buf;
+ ldap_is_dns_dn;
+ ldap_is_ldap_url;
+ ldap_memcache_destroy;
+ ldap_memcache_flush;
+ ldap_memcache_get;
+ ldap_memcache_init;
+ ldap_memcache_set;
+ ldap_memcache_update;
+ ldap_memfree;
+ ldap_modify;
+ ldap_modify_ext;
+ ldap_modify_ext_s;
+ ldap_modify_s;
+ ldap_modrdn;
+ ldap_modrdn2;
+ ldap_modrdn2_s;
+ ldap_modrdn_s;
+ ldap_mods_free;
+ ldap_msgfree;
+ ldap_msgid;
+ ldap_msgtype;
+ ldap_name2template;
+ ldap_next_attribute;
+ ldap_next_disptmpl;
+ ldap_next_entry;
+ ldap_next_message;
+ ldap_next_reference;
+ ldap_next_searchobj;
+ ldap_next_tmplcol;
+ ldap_next_tmplrow;
+ ldap_oc2template;
+ ldap_open;
+ ldap_parse_extended_result;
+ ldap_parse_reference;
+ ldap_parse_result;
+ ldap_parse_sasl_bind_result;
+ ldap_parse_sort_control;
+ ldap_parse_virtuallist_control;
+ ldap_perror;
+ ldap_rename;
+ ldap_rename_s;
+ ldap_result;
+ ldap_result2error;
+ ldap_sasl_bind;
+ ldap_sasl_bind_s;
+ ldap_sasl_cram_md5_bind_s;
+ ldap_search;
+ ldap_search_ext;
+ ldap_search_ext_s;
+ ldap_search_s;
+ ldap_search_st;
+ ldap_setfilteraffixes;
+ ldap_set_option;
+ ldap_set_rebind_proc;
+ ldap_set_string_translators;
+ ldap_simple_bind;
+ ldap_simple_bind_s;
+ ldap_sort_entries;
+ ldap_sort_strcasecmp;
+ ldap_sort_values;
+ ldap_tmplattrs;
+ ldap_translate_from_t61;
+ ldap_translate_to_t61;
+ ldap_ufn_search_c;
+ ldap_ufn_search_ct;
+ ldap_ufn_search_s;
+ ldap_ufn_setfilter;
+ ldap_ufn_setprefix;
+ ldap_ufn_timeout;
+ ldap_unbind;
+ ldap_unbind_ext;
+ ldap_unbind_s;
+ ldap_url_parse;
+ ldap_url_search;
+ ldap_url_search_s;
+ ldap_url_search_st;
+ ldap_vals2html;
+ ldap_vals2text;
+ ldap_value_free;
+ ldap_value_free_len;
+ ldap_version;
+};
+
+SUNWprivate_1.1 {
+ global:
+ ldap_charray_add;
+ ldap_charray_dup;
+ ldap_charray_inlist;
+ ldap_charray_position;
+ ldap_create_filter;
+ ldap_create_page_control;
+ ldap_create_persistentsearch_control;
+ ldap_create_proxiedauth_control;
+ ldap_create_proxyauth_control;
+ ldap_get_lderrno;
+ ldap_get_reference_urls;
+ ldaplogconfigf;
+ ldap_multisort_entries;
+ ldap_parse_entrychange_control;
+ ldap_parse_page_control;
+ ldap_set_lderrno;
+ ldapssl_advclientauth_init;
+ ldapssl_clientauth_init;
+ ldapssl_client_init;
+ ldapssl_enable_clientauth;
+ ldapssl_err2string;
+ ldapssl_init;
+ ldapssl_install_gethostbyaddr;
+ ldapssl_install_routines;
+ ldapssl_pkcs_init;
+ ldapssl_set_strength;
+ ldap_str2charray;
+ ldap_x_sasl_digest_md5_bind;
+ ldap_x_sasl_digest_md5_bind_s;
+ ldif_base64_decode;
+ ldif_type_and_value;
+ ldif_type_and_value_with_options;
+ prldap_get_session_option;
+ prldap_set_session_option;
+ str_getline;
+ str_parse_line;
+ local:
+ *;
+};
diff --git a/usr/src/lib/libldap5/spec/Makefile b/usr/src/lib/libldap5/spec/Makefile
deleted file mode 100644
index 912373b065..0000000000
--- a/usr/src/lib/libldap5/spec/Makefile
+++ /dev/null
@@ -1,10 +0,0 @@
-#
-# Copyright (c) 2001 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libldap5/spec/Makefile
-#
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/libldap5/spec/Makefile.targ b/usr/src/lib/libldap5/spec/Makefile.targ
deleted file mode 100644
index 909010a47d..0000000000
--- a/usr/src/lib/libldap5/spec/Makefile.targ
+++ /dev/null
@@ -1,15 +0,0 @@
-#
-# Copyright (c) 2001 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libldap5/spec/Makefile.targ
-#
-
-LIBRARY = libldap.a
-VERS = .5
-
-OBJECTS = ldap.o
-
-SPECCPP = -I..
diff --git a/usr/src/lib/libldap5/spec/amd64/Makefile b/usr/src/lib/libldap5/spec/amd64/Makefile
deleted file mode 100644
index 96bda57a49..0000000000
--- a/usr/src/lib/libldap5/spec/amd64/Makefile
+++ /dev/null
@@ -1,23 +0,0 @@
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#amd64_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libldap5/spec/i386/Makefile b/usr/src/lib/libldap5/spec/i386/Makefile
deleted file mode 100644
index c39e7707c6..0000000000
--- a/usr/src/lib/libldap5/spec/i386/Makefile
+++ /dev/null
@@ -1,24 +0,0 @@
-#
-# Copyright (c) 2001 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libldap5/spec/i386/Makefile
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#i386_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libldap5/spec/ldap.spec b/usr/src/lib/libldap5/spec/ldap.spec
deleted file mode 100644
index 387d97e53a..0000000000
--- a/usr/src/lib/libldap5/spec/ldap.spec
+++ /dev/null
@@ -1,1571 +0,0 @@
-#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libldap5/spec/ldap.spec
-#
-
-function ber_alloc_t
-include <lber.h>, <ldap.h>
-declaration BerElement *ber_alloc_t(int options)
-version SUNW_5.1
-exception $return == NULL
-end
-
-function ber_bvdup
-include <lber.h>, <ldap.h>
-declaration struct berval *ber_bvdup(const struct berval *bv)
-version SUNW_5.1
-exception $return == NULL
-end
-
-function ber_bvecfree
-include <lber.h>, <ldap.h>
-declaration void ber_bvecfree(struct berval **bv)
-version SUNW_5.1
-end
-
-function ber_bvfree
-include <lber.h>, <ldap.h>
-declaration void ber_bvfree(struct berval *bv)
-version SUNW_5.1
-end
-
-function ber_first_element
-include <lber.h>, <ldap.h>
-declaration ber_tag_t ber_first_element(BerElement *ber, \
- ber_len_t *len, char **last)
-version SUNW_5.1
-end
-
-function ber_flatten
-include <lber.h>, <ldap.h>
-declaration int ber_flatten(BerElement *ber, struct berval **bvPtr)
-version SUNW_5.1
-exception $return == -1
-end
-
-function ber_free
-include <lber.h>, <ldap.h>
-declaration void ber_free(BerElement *ber, int freebuf)
-version SUNW_5.1
-end
-
-function ber_init
-include <lber.h>, <ldap.h>
-declaration BerElement *ber_init(const struct berval *bv)
-version SUNW_5.1
-exception $return == NULL
-end
-
-function ber_next_element
-include <lber.h>, <ldap.h>
-declaration ber_tag_t ber_next_element(BerElement *ber, \
- ber_len_t *len, char *last)
-version SUNW_5.1
-end
-
-function ber_peek_tag
-include <lber.h>, <ldap.h>
-declaration ber_tag_t ber_peek_tag(BerElement *ber, ber_len_t *len)
-version SUNW_5.1
-end
-
-function ber_printf
-include <lber.h>, <ldap.h>
-declaration int ber_printf(BerElement *ber, const char *fmt, ...)
-version SUNW_5.1
-exception $return == -1
-end
-
-function ber_scanf
-include <lber.h>, <ldap.h>
-declaration ber_tag_t ber_scanf(BerElement *ber, const char *fmt, ...)
-version SUNW_5.1
-exception $return == LBER_DEFAULT
-end
-
-function ber_skip_tag
-include <lber.h>, <ldap.h>
-declaration ber_tag_t ber_skip_tag(BerElement *ber, ber_len_t *len)
-version SUNW_5.1
-end
-
-function ber_get_int
-include <lber.h>
-declaration ber_tag_t ber_get_int(BerElement *ber, ber_int_t *num)
-version SUNW_5.1
-end
-
-function ber_alloc
-include <lber.h>
-declaration BerElement *ber_alloc(void)
-version SUNW_5.1
-end
-
-function ldap_abandon
-include <lber.h>, <ldap.h>
-declaration int ldap_abandon(LDAP *ld, int msgid)
-version SUNW_5.1
-exception $return == -1
-end
-
-function ldap_abandon_ext
-include <lber.h>, <ldap.h>
-declaration int ldap_abandon_ext(LDAP *ld, int msgid, \
- LDAPControl **serverctrls, LDAPControl **clientctrls)
-version SUNW_5.1
-exception $return == -1
-end
-
-function ldap_add
-include <lber.h>, <ldap.h>
-declaration int ldap_add(LDAP *ld, const char *dn, LDAPMod **attrs)
-version SUNW_5.1
-exception $return == -1
-end
-
-function ldap_add_ext
-include <lber.h>, <ldap.h>
-declaration int ldap_add_ext(LDAP *ld, const char *dn, LDAPMod **attrs, \
- LDAPControl **serverctrls, \
- LDAPControl **clientctrls, int *msgidp)
-version SUNW_5.1
-exception $return == -1
-end
-
-function ldap_add_ext_s
-include <lber.h>, <ldap.h>
-declaration int ldap_add_ext_s(LDAP *ld, const char *dn, \
- LDAPMod **attrs, LDAPControl **serverctrls, \
- LDAPControl **clientctrls)
-version SUNW_5.1
-exception $return == -1
-end
-
-function ldap_add_s
-include <lber.h>, <ldap.h>
-declaration int ldap_add_s(LDAP *ld, const char *dn, LDAPMod **attrs)
-version SUNW_5.1
-exception $return == -1
-end
-
-function ldap_bind
-include <lber.h>, <ldap.h>
-declaration int ldap_bind(LDAP *ld, const char *dn, \
- const char *passwd, int authmethod)
-version SUNW_5.1
-exception $return == -1
-end
-
-function ldap_bind_s
-include <lber.h>, <ldap.h>
-declaration int ldap_bind_s(LDAP *ld, const char *dn, \
- const char *passwd, int authmethod)
-version SUNW_5.1
-exception $return == -1
-end
-
-function ldap_build_filter
-include <lber.h>, <ldap.h>
-declaration void ldap_build_filter(char *filtbuf, size_t buflen, \
- char *pattern, char *prefix, char *suffix, \
- char *attr, char *value, char **valwords)
-version SUNW_5.1
-end
-
-function ldap_compare
-include <lber.h>, <ldap.h>
-declaration int ldap_compare(LDAP *ld, const char *dn, const char *attr, \
- const char *value)
-version SUNW_5.1
-exception $return == -1
-end
-
-function ldap_compare_ext
-include <lber.h>, <ldap.h>
-declaration int ldap_compare_ext(LDAP *ld, const char *dn, \
- const char *attr, \
- const struct berval *bvalue, \
- LDAPControl **serverctrls, \
- LDAPControl **clientctrls, int *msgidp)
-version SUNW_5.1
-exception $return == -1
-end
-
-function ldap_compare_ext_s
-include <lber.h>, <ldap.h>
-declaration int ldap_compare_ext_s(LDAP *ld, const char *dn, \
- const char *attr, const struct berval *bvalue, \
- LDAPControl **serverctrls, LDAPControl **clientctrls)
-version SUNW_5.1
-exception $return == -1
-end
-
-function ldap_compare_s
-include <lber.h>, <ldap.h>
-declaration int ldap_compare_s(LDAP *ld, const char *dn, \
- const char *attr, const char *value)
-version SUNW_5.1
-exception $return == -1
-end
-
-function ldap_control_free
-include <lber.h>, <ldap.h>
-declaration void ldap_control_free (LDAPControl *ctrl)
-version SUNW_5.1
-end
-
-function ldap_controls_free
-include <lber.h>, <ldap.h>
-declaration void ldap_controls_free (LDAPControl **ctrls)
-version SUNW_5.1
-end
-
-function ldap_count_entries
-include <lber.h>, <ldap.h>
-declaration int ldap_count_entries(LDAP *ld, LDAPMessage *res)
-version SUNW_5.1
-end
-
-function ldap_count_messages
-include <lber.h>, <ldap.h>
-declaration int ldap_count_messages(LDAP *ld, LDAPMessage *res)
-version SUNW_5.1
-end
-
-function ldap_count_references
-include <lber.h>, <ldap.h>
-declaration int ldap_count_references(LDAP *ld, LDAPMessage *res)
-version SUNW_5.1
-end
-
-function ldap_count_values
-include <lber.h>, <ldap.h>
-declaration int ldap_count_values(char **vals)
-version SUNW_5.1
-end
-
-function ldap_count_values_len
-include <lber.h>, <ldap.h>
-declaration int ldap_count_values_len(struct berval **vals)
-version SUNW_5.1
-end
-
-function ldap_delete
-include <lber.h>, <ldap.h>
-declaration int ldap_delete(LDAP *ld, const char *dn)
-version SUNW_5.1
-exception $return == -1
-end
-
-function ldap_delete_ext
-include <lber.h>, <ldap.h>
-declaration int ldap_delete_ext(LDAP *ld, const char *dn, \
- LDAPControl **serverctrls, \
- LDAPControl **clientctrls, int *msgidp)
-version SUNW_5.1
-exception $return == -1
-end
-
-function ldap_delete_ext_s
-include <lber.h>, <ldap.h>
-declaration int ldap_delete_ext_s(LDAP *ld, const char *dn, \
- LDAPControl **serverctrls, LDAPControl **clientctrls)
-version SUNW_5.1
-exception $return == -1
-end
-
-function ldap_delete_s
-include <lber.h>, <ldap.h>
-declaration int ldap_delete_s(LDAP *ld, const char *dn)
-version SUNW_5.1
-exception $return == -1
-end
-
-function ldap_dn2ufn
-include <lber.h>, <ldap.h>
-declaration char *ldap_dn2ufn(const char *dn)
-version SUNW_5.1
-end
-
-function ldap_err2string
-include <lber.h>, <ldap.h>
-declaration char *ldap_err2string(int err)
-version SUNW_5.1
-end
-
-function ldap_explode_dn
-include <lber.h>, <ldap.h>
-declaration char **ldap_explode_dn(const char *dn, const int notypes)
-version SUNW_5.1
-exception $return == NULL
-end
-
-function ldap_explode_dns
-include <lber.h>, <ldap.h>
-declaration char **ldap_explode_dns(const char *dn)
-version SUNW_5.1
-exception $return == NULL
-end
-
-function ldap_explode_rdn
-include <lber.h>, <ldap.h>
-declaration char **ldap_explode_rdn(const char *rdn, const int notypes)
-version SUNW_5.1
-exception $return == NULL
-end
-
-function ldap_extended_operation
-include <lber.h>, <ldap.h>
-declaration int ldap_extended_operation(LDAP *ld, const char *requestoid, \
- const struct berval *requestdata, \
- LDAPControl **serverctrls, LDAPControl**clientctrls, \
- int *msgidp)
-version SUNW_5.1
-end
-
-function ldap_extended_operation_s
-include <lber.h>, <ldap.h>
-declaration int ldap_extended_operation_s(LDAP *ld, \
- const char *requestoid, \
- const struct berval *requestdata, \
- LDAPControl **serverctrls, \
- LDAPControl **clientctrls, char **retoidp, \
- struct berval **retdatap)
-version SUNW_5.1
-end
-
-function ldap_first_attribute
-include <lber.h>, <ldap.h>
-declaration char *ldap_first_attribute(LDAP *ld, LDAPMessage *entry, \
- BerElement **ber)
-version SUNW_5.1
-end
-
-function ldap_first_entry
-include <lber.h>, <ldap.h>
-declaration LDAPMessage *ldap_first_entry(LDAP *ld, LDAPMessage *chain)
-version SUNW_5.1
-exception $return == NULL
-end
-
-function ldap_first_message
-include <lber.h>, <ldap.h>
-declaration LDAPMessage *ldap_first_message(LDAP *ld, LDAPMessage *res)
-version SUNW_5.1
-exception $return == NULL
-end
-
-function ldap_first_reference
-include <lber.h>, <ldap.h>
-declaration LDAPMessage *ldap_first_reference(LDAP *ld, LDAPMessage *res)
-version SUNW_5.1
-exception $return == NULL
-end
-
-function ldap_first_searchobj
-include <lber.h>, <ldap.h>
-declaration struct ldap_searchobj *ldap_first_searchobj \
- (struct ldap_searchobj *solist)
-version SUNW_5.1
-end
-
-function ldap_free_friendlymap
-include <lber.h>, <ldap.h>
-declaration void ldap_free_friendlymap(FriendlyMap *map)
-version SUNW_5.1
-end
-
-function ldap_free_searchprefs
-include <lber.h>, <ldap.h>
-declaration void ldap_free_searchprefs(struct ldap_searchobj *solist)
-version SUNW_5.1
-end
-
-function ldap_free_templates
-include <lber.h>, <ldap.h>
-declaration void ldap_free_templates(struct ldap_disptmpl *tmpllist)
-version SUNW_5.1
-end
-
-function ldap_free_urldesc
-include <lber.h>, <ldap.h>
-declaration void ldap_free_urldesc(LDAPURLDesc *ludp)
-version SUNW_5.1
-end
-
-function ldap_friendly_name
-include <lber.h>, <ldap.h>
-declaration char *ldap_friendly_name(char *filename, char *uname, \
- FriendlyMap *map)
-version SUNW_5.1
-end
-
-function ldap_get_dn
-include <lber.h>, <ldap.h>
-declaration char *ldap_get_dn(LDAP *ld, LDAPMessage *entry)
-version SUNW_5.1
-exception $return == NULL
-end
-
-function ldap_get_option
-include <lber.h>, <ldap.h>
-declaration int ldap_get_option (LDAP *ld, int option, void *optdata)
-version SUNW_5.1
-exception $return == -1
-end
-
-function ldap_get_values
-include <lber.h>, <ldap.h>
-declaration char **ldap_get_values(LDAP *ld, LDAPMessage *entry, \
- const char *target)
-version SUNW_5.1
-exception $return == NULL
-end
-
-function ldap_get_values_len
-include <lber.h>, <ldap.h>
-declaration struct berval **ldap_get_values_len(LDAP *ld, \
- LDAPMessage *entry, const char *target)
-version SUNW_5.1
-exception $return == NULL
-end
-
-function ldap_getfilter_free
-include <lber.h>, <ldap.h>
-declaration void ldap_getfilter_free(LDAPFiltDesc *lfdp)
-version SUNW_5.1
-end
-
-function ldap_getfirstfilter
-include <lber.h>, <ldap.h>
-declaration LDAPFiltInfo *ldap_getfirstfilter(LDAPFiltDesc *lfdp, \
- char *tagpat, char *value)
-version SUNW_5.1
-exception $return == NULL
-end
-
-function ldap_getnextfilter
-include <lber.h>, <ldap.h>
-declaration LDAPFiltInfo *ldap_getnextfilter(LDAPFiltDesc *lfdp)
-version SUNW_5.1
-exception $return == NULL
-end
-
-function ldap_init
-include <lber.h>, <ldap.h>
-declaration LDAP *ldap_init(const char *defhost, int defport)
-version SUNW_5.1
-exception $return == NULL
-end
-
-function ldap_init_getfilter
-include <lber.h>, <ldap.h>
-declaration LDAPFiltDesc *ldap_init_getfilter(char *fname)
-version SUNW_5.1
-exception $return == NULL
-end
-
-function ldap_init_getfilter_buf
-include <lber.h>, <ldap.h>
-declaration LDAPFiltDesc *ldap_init_getfilter_buf(char *buf, \
- ssize_t buflen)
-version SUNW_5.1
-exception $return == NULL
-end
-
-function ldap_init_searchprefs
-include <lber.h>, <ldap.h>
-declaration int ldap_init_searchprefs(char *file, \
- struct ldap_searchobj **solistp)
-version SUNW_5.1
-exception $return == (int) NULLSEARCHOBJ
-end
-
-function ldap_init_searchprefs_buf
-include <lber.h>, <ldap.h>
-declaration int ldap_init_searchprefs_buf(char *buf, long buflen, \
- struct ldap_searchobj **solistp)
-version SUNW_5.1
-exception $return == (int) NULLSEARCHOBJ
-end
-
-function ldap_is_dns_dn
-include <lber.h>, <ldap.h>
-declaration int ldap_is_dns_dn(const char *dn)
-version SUNW_5.1
-exception $return == 0
-end
-
-function ldap_is_ldap_url
-include <lber.h>, <ldap.h>
-declaration int ldap_is_ldap_url(const char *url)
-version SUNW_5.1
-exception $return == 0
-end
-
-function ldap_memfree
-include <lber.h>, <ldap.h>
-declaration void ldap_memfree(void *p)
-version SUNW_5.1
-end
-
-function ldap_modify
-include <lber.h>, <ldap.h>
-declaration int ldap_modify(LDAP *ld, const char *dn, LDAPMod **mods)
-version SUNW_5.1
-exception $return == -1
-end
-
-function ldap_modify_ext
-include <lber.h>, <ldap.h>
-declaration int ldap_modify_ext(LDAP *ld, const char *dn, LDAPMod **mods, \
- LDAPControl **serverctrls, \
- LDAPControl **clientctrls, int *msgidp)
-version SUNW_5.1
-exception $return == -1
-end
-
-function ldap_modify_ext_s
-include <lber.h>, <ldap.h>
-declaration int ldap_modify_ext_s(LDAP *ld, const char *dn, \
- LDAPMod **mods, LDAPControl **serverctrls, \
- LDAPControl **clientctrls)
-version SUNW_5.1
-exception $return == -1
-end
-
-function ldap_modify_s
-include <lber.h>, <ldap.h>
-declaration int ldap_modify_s(LDAP *ld, const char *dn, LDAPMod **mods)
-version SUNW_5.1
-exception $return == -1
-end
-
-function ldap_modrdn
-include <lber.h>, <ldap.h>
-declaration int ldap_modrdn(LDAP *ld, const char *dn, const char *newrdn)
-version SUNW_5.1
-exception $return == -1
-end
-
-function ldap_modrdn_s
-include <lber.h>, <ldap.h>
-declaration int ldap_modrdn_s(LDAP *ld, const char *dn, const char *newrdn)
-version SUNW_5.1
-exception $return == -1
-end
-
-function ldap_mods_free
-include <lber.h>, <ldap.h>
-declaration void ldap_mods_free(LDAPMod **mods, int freemods)
-version SUNW_5.1
-end
-
-function ldap_msgfree
-include <lber.h>, <ldap.h>
-declaration int ldap_msgfree(LDAPMessage *lm)
-version SUNW_5.1
-end
-
-function ldap_msgid
-include <lber.h>, <ldap.h>
-declaration int ldap_msgid(LDAPMessage *lm)
-version SUNW_5.1
-exception $return == LDAP_RES_ANY
-end
-
-function ldap_msgtype
-include <lber.h>, <ldap.h>
-declaration int ldap_msgtype(LDAPMessage *lm)
-version SUNW_5.1
-exception $return == LDAP_RES_ANY
-end
-
-function ldap_next_attribute
-include <lber.h>, <ldap.h>
-declaration char *ldap_next_attribute(LDAP *ld, LDAPMessage *entry, \
- BerElement *ber)
-version SUNW_5.1
-exception $return == NULL
-end
-
-function ldap_next_entry
-include <lber.h>, <ldap.h>
-declaration LDAPMessage *ldap_next_entry(LDAP *ld, LDAPMessage *entry)
-version SUNW_5.1
-exception $return == NULLMSG
-end
-
-function ldap_next_message
-include <lber.h>, <ldap.h>
-declaration LDAPMessage *ldap_next_message(LDAP *ld, LDAPMessage *msg)
-version SUNW_5.1
-exception $return == NULLMSG
-end
-
-function ldap_next_reference
-include <lber.h>, <ldap.h>
-declaration LDAPMessage *ldap_next_reference(LDAP *ld, LDAPMessage *ref)
-version SUNW_5.1
-exception $return == NULLMSG
-end
-
-function ldap_next_searchobj
-include <lber.h>, <ldap.h>
-declaration struct ldap_searchobj *ldap_next_searchobj \
- (struct ldap_searchobj *solist, \
- struct ldap_searchobj *so)
-version SUNW_5.1
-exception $return == NULLSEARCHOBJ
-end
-
-function ldap_open
-include <lber.h>, <ldap.h>
-declaration LDAP *ldap_open(const char *host, int port)
-version SUNW_5.1
-exception $return == NULL
-end
-
-function ldap_parse_extended_result
-include <lber.h>, <ldap.h>
-declaration int ldap_parse_extended_result(LDAP *ld, LDAPMessage *res, \
- char **retoidp, struct berval **retdatap, \
- int freeit)
-version SUNW_5.1
-end
-
-function ldap_parse_result
-include <lber.h>, <ldap.h>
-declaration int ldap_parse_result(LDAP *ld, LDAPMessage *res, \
- int *errcodep, char **matcheddnp, char **errmsgp, \
- char ***referralsp, LDAPControl ***serverctrlsp, \
- int freeit)
-version SUNW_5.1
-end
-
-function ldap_parse_sasl_bind_result
-include <lber.h>, <ldap.h>
-declaration int ldap_parse_sasl_bind_result(LDAP *ld, LDAPMessage *res, \
- struct berval **servercredp, int freeit)
-version SUNW_5.1
-end
-
-function ldap_perror
-include <lber.h>, <ldap.h>
-declaration void ldap_perror(LDAP *ld, const char *s)
-version SUNW_5.1
-end
-
-function ldap_rename
-include <lber.h>, <ldap.h>
-declaration int ldap_rename(LDAP *ld, const char *dn, const char *newrdn, \
- const char *newparent, int deleteoldrdn, \
- LDAPControl **serverctrls, \
- LDAPControl **clientctrls, int *msgidp)
-version SUNW_5.1
-end
-
-function ldap_rename_s
-include <lber.h>, <ldap.h>
-declaration int ldap_rename_s(LDAP *ld, const char *dn, \
- const char *newrdn, const char *newparent, \
- int deleteoldrdn, LDAPControl **serverctrls, \
- LDAPControl **clientctrls)
-version SUNW_5.1
-end
-
-function ldap_result2error
-include <lber.h>, <ldap.h>
-declaration int ldap_result2error(LDAP *ld, LDAPMessage *r, int freeit)
-version SUNW_5.1
-end
-
-function ldap_result
-include <lber.h>, <ldap.h>
-declaration int ldap_result(LDAP *ld, int msgid, int all, \
- struct timeval *timeout, LDAPMessage **result)
-version SUNW_5.1
-end
-
-function ldap_sasl_bind
-include <lber.h>, <ldap.h>
-declaration int ldap_sasl_bind(LDAP *ld, const char *dn, \
- const char *mechanism, const struct berval *cred, \
- LDAPControl **serverctrls, LDAPControl **clientctrls, \
- int *msgidp)
-version SUNW_5.1
-end
-
-function ldap_sasl_bind_s
-include <lber.h>, <ldap.h>
-declaration int ldap_sasl_bind_s(LDAP *ld, const char *dn, \
- const char *mechanism, const struct berval *cred, \
- LDAPControl **serverctrls, LDAPControl **clientctrls, \
- struct berval **servercredp)
-version SUNW_5.1
-end
-
-function ldap_search
-include <lber.h>, <ldap.h>
-declaration int ldap_search(LDAP *ld, const char *base, int scope, \
- const char *filter, char **attrs, int attrsonly)
-version SUNW_5.1
-exception $return == -1
-end
-
-function ldap_search_ext
-include <lber.h>, <ldap.h>
-declaration int ldap_search_ext(LDAP *ld, const char *base, int scope, \
- const char *filter, char **attrs, int attrsonly, \
- LDAPControl **serverctrls, LDAPControl **clientctrls, \
- struct timeval *timeoutp, int sizelimit, int *msgidp)
-version SUNW_5.1
-exception $return == -1
-end
-
-function ldap_search_ext_s
-include <lber.h>, <ldap.h>
-declaration int ldap_search_ext_s(LDAP *ld, const char *base, int scope, \
- const char *filter, char **attrs, int attrsonly, \
- LDAPControl **serverctrls, \
- LDAPControl **clientctrls, struct timeval *timeoutp, \
- int sizelimit, LDAPMessage **res)
-version SUNW_5.1
-exception $return == -1
-end
-
-function ldap_search_s
-include <lber.h>, <ldap.h>
-declaration int ldap_search_s(LDAP *ld, const char *base, int scope, \
- const char *filter, char **attrs, int attrsonly, \
- LDAPMessage **res)
-version SUNW_5.1
-exception $return == -1
-end
-
-function ldap_search_st
-include <lber.h>, <ldap.h>
-declaration int ldap_search_st(LDAP *ld, const char *base, int scope, \
- const char *filter, char **attrs, int attrsonly, \
- struct timeval *timeout, LDAPMessage **res)
-version SUNW_5.1
-exception $return == -1
-end
-
-function ldap_set_option
-include <lber.h>, <ldap.h>
-declaration int ldap_set_option (LDAP *ld, int option, const void *optdata)
-version SUNW_5.1
-end
-
-function ldap_set_rebind_proc
-include <lber.h>, <ldap.h>
-declaration void ldap_set_rebind_proc(LDAP *ld, \
- LDAP_REBINDPROC_CALLBACK *rebindproc, void *arg)
-version SUNW_5.1
-end
-
-function ldap_setfilteraffixes
-include <lber.h>, <ldap.h>
-declaration void ldap_setfilteraffixes(LDAPFiltDesc *lfdp, \
- char *prefix, char *suffix)
-version SUNW_5.1
-end
-
-function ldap_simple_bind
-include <lber.h>, <ldap.h>
-declaration int ldap_simple_bind(LDAP *ld, const char *dn, \
- const char *passwd)
-version SUNW_5.1
-exception $return == -1
-end
-
-function ldap_simple_bind_s
-include <lber.h>, <ldap.h>
-declaration int ldap_simple_bind_s(LDAP *ld, const char *dn, \
- const char *passwd)
-version SUNW_5.1
-exception $return == -1
-end
-
-function ldap_sort_entries
-include <lber.h>, <ldap.h>
-declaration int ldap_sort_entries(LDAP *ld, LDAPMessage **chain, \
- char *attr, LDAP_CMP_CALLBACK *cmp)
-version SUNW_5.1
-exception $return == -1
-end
-
-function ldap_sort_strcasecmp
-include <lber.h>, <ldap.h>
-declaration int ldap_sort_strcasecmp(const char **a, const char **b)
-version SUNW_5.1
-end
-
-function ldap_sort_values
-include <lber.h>, <ldap.h>
-declaration int ldap_sort_values(LDAP *ld, char **vals, \
- LDAP_VALCMP_CALLBACK *cmp)
-version SUNW_5.1
-exception $return == -1
-end
-
-function ldap_ufn_search_c
-include <lber.h>, <ldap.h>
-declaration int ldap_ufn_search_c(LDAP *ld, char *ufn, char **attrs, \
- int attrsonly, LDAPMessage **res, \
- LDAP_CANCELPROC_CALLBACK cancelproc, void *cancelparm)
-version SUNW_5.1
-exception $return == -1
-end
-
-function ldap_ufn_search_ct
-include <lber.h>, <ldap.h>
-declaration int ldap_ufn_search_ct(LDAP *ld, char *ufn, char **attrs, \
- int attrsonly, LDAPMessage **res, \
- LDAP_CANCELPROC_CALLBACK cancelproc, void *cancelparm, \
- char *tag1, char *tag2, char *tag3)
-version SUNW_5.1
-exception $return == -1
-end
-
-function ldap_ufn_search_s
-include <lber.h>, <ldap.h>
-declaration int ldap_ufn_search_s(LDAP *ld, char *ufn, char **attrs, \
- int attrsonly, LDAPMessage **res)
-version SUNW_5.1
-exception $return == -1
-end
-
-function ldap_ufn_setfilter
-include <lber.h>, <ldap.h>
-declaration LDAPFiltDesc *ldap_ufn_setfilter(LDAP *ld, char *fname)
-version SUNW_5.1
-end
-
-function ldap_ufn_setprefix
-include <lber.h>, <ldap.h>
-declaration void ldap_ufn_setprefix(LDAP *ld, char *prefix)
-version SUNW_5.1
-end
-
-function ldap_ufn_timeout
-include <lber.h>, <ldap.h>
-declaration int ldap_ufn_timeout(void *tvparam)
-version SUNW_5.1
-exception $return == 0
-end
-
-function ldap_unbind
-include <lber.h>, <ldap.h>
-declaration int ldap_unbind(LDAP *ld)
-version SUNW_5.1
-exception $return == 0
-end
-
-function ldap_unbind_s
-include <lber.h>, <ldap.h>
-declaration int ldap_unbind_s(LDAP *ld)
-version SUNW_5.1
-exception $return == 0
-end
-
-function ldap_url_parse
-include <lber.h>, <ldap.h>
-declaration int ldap_url_parse(const char *url, LDAPURLDesc **ludpp)
-version SUNW_5.1
-end
-
-function ldap_url_parse_nodn
-include <lber.h>, <ldap.h>
-declaration int ldap_url_parse_nodn(const char *url, LDAPURLDesc **ludpp)
-version SUNW_5.1.1
-end
-
-function ldap_url_search
-include <lber.h>, <ldap.h>
-declaration int ldap_url_search(LDAP *ld, const char *url, int attrsonly)
-version SUNW_5.1
-exception $return == -1
-end
-
-function ldap_url_search_s
-include <lber.h>, <ldap.h>
-declaration int ldap_url_search_s(LDAP *ld, const char *url, \
- int attrsonly, LDAPMessage **res)
-version SUNW_5.1
-exception $return == -1
-end
-
-function ldap_url_search_st
-include <lber.h>, <ldap.h>
-declaration int ldap_url_search_st(LDAP *ld, const char *url, \
- int attrsonly, struct timeval *timeout, \
- LDAPMessage **res)
-version SUNW_5.1
-exception $return == -1
-end
-
-function ldap_value_free
-include <lber.h>, <ldap.h>
-declaration void ldap_value_free(char **vals)
-version SUNW_5.1
-end
-
-function ldap_value_free_len
-include <lber.h>, <ldap.h>
-declaration void ldap_value_free_len(struct berval **vals)
-version SUNW_5.1
-end
-
-function ldap_create_sort_control
-include <lber.h>, <ldap.h>
-declaration int ldap_create_sort_control (LDAP *ld, \
- LDAPsortkey **sortKeyList, const char ctl_iscritical, \
- LDAPControl **ctrlp);
-version SUNW_5.1
-end
-
-function ldap_parse_sort_control
-include <lber.h>, <ldap.h>
-declaration int ldap_parse_sort_control(LDAP *ld, LDAPControl **ctrlp, \
- unsigned long *result, char **attribute);
-version SUNW_5.1
-end
-
-function ldap_create_sort_keylist
-include <lber.h>, <ldap.h>
-declaration int ldap_create_sort_keylist(LDAPsortkey ***sortKeyList, \
- const char *string_rep);
-version SUNW_5.1
-end
-
-function ldap_free_sort_keylist
-include <lber.h>, <ldap.h>
-declaration void ldap_free_sort_keylist(LDAPsortkey **sortKeyList);
-version SUNW_5.1
-end
-
-function ldap_create_virtuallist_control
-include <lber.h>, <ldap.h>
-declaration int ldap_create_virtuallist_control(LDAP *ld, \
- LDAPVirtualList *ldvlistp, LDAPControl **ctrlp);
-version SUNW_5.1
-end
-
-function ldap_parse_virtuallist_control
-include <lber.h>, <ldap.h>
-declaration int ldap_parse_virtuallist_control(LDAP *ld, \
- LDAPControl **ctrls, unsigned long *target_posp, \
- unsigned long *list_sizep, int *errcodep);
-version SUNW_5.1
-end
-
-function ldapssl_init
-include <lber.h>, <ldap.h>
-declaration LDAP * ldapssl_init( const char *defhost, int defport, \
- int defsecure );
-version SUNWprivate_1.1
-exception $return == NULL
-end
-
-function ldapssl_install_routines
-include <lber.h>, <ldap.h>
-declaration int ldapssl_install_routines( LDAP *ld );
-version SUNWprivate_1.1
-exception $return == -1
-end
-
-function ldapssl_client_init
-include <lber.h>, <ldap.h>
-declaration int ldapssl_client_init( const char *certdbpath, \
- void *certdbhandle);
-version SUNWprivate_1.1
-exception $return == -1
-end
-
-function ldapssl_clientauth_init
-include <lber.h>, <ldap.h>
-declaration int ldapssl_clientauth_init(const char *certdbpath, \
- void *certdbhandle, const int needkeydb, \
- const char *keydbpath, void *keydbhandle);
-version SUNWprivate_1.1
-exception $return == -1
-end
-
-function ldapssl_advclientauth_init
-include <lber.h>, <ldap.h>
-declaration int ldapssl_advclientauth_init( const char *certdbpath, \
- void *certdbhandle, const int needkeydb, \
- const char *keydbpath, void *keydbhandle, \
- const int needsecmoddb, const char *secmoddbpath, \
- const int sslstrength );
-version SUNWprivate_1.1
-exception $return == -1
-end
-
-function ldapssl_err2string
-include <lber.h>, <ldap.h>
-declaration const char * ldapssl_err2string( const int prerrno );
-version SUNWprivate_1.1
-end
-
-function ldapssl_enable_clientauth
-include <lber.h>, <ldap.h>
-declaration int ldapssl_enable_clientauth( LDAP *ld, char *keynickname, \
- char *keypasswd, char *certnickname );
-
-version SUNWprivate_1.1
-exception $return == -1
-end
-
-function ldapssl_pkcs_init
-include <lber.h>, <ldap.h>
-declaration int ldapssl_pkcs_init( const struct ldapssl_pkcs_fns *pfns);
-version SUNWprivate_1.1
-exception $return == -1
-end
-
-function ldap_create_page_control
-include <lber.h>, <ldap.h>
-declaration int ldap_create_page_control(LDAP *ld, \
- unsigned int pagesize, struct berval *cookie, \
- char isCritical, LDAPControl **output)
-version SUNWprivate_1.1
-end
-
-function ldap_parse_page_control
-include <lber.h>, <ldap.h>
-declaration int ldap_parse_page_control(LDAP *ld, \
- LDAPControl **controls, unsigned int *totalcount, \
- struct berval **cookie)
-version SUNWprivate_1.1
-end
-
-function ldap_sasl_cram_md5_bind_s
-include <lber.h>, <ldap.h>
-declaration int ldap_sasl_cram_md5_bind_s(LDAP *ld, char *dn, \
- struct berval *cred, LDAPControl **serverctrls, \
- LDAPControl **clientctrls)
-version SUNW_5.1
-end
-
-function ldap_get_reference_urls
-include <lber.h>, <ldap.h>
-declaration char **ldap_get_reference_urls(LDAP *ld, LDAPMessage *res)
-version SUNWprivate_1.1
-exception $return == NULL
-end
-
-function ldap_get_entry_controls
-include <lber.h>, <ldap.h>
-declaration int ldap_get_entry_controls(LDAP *ld, LDAPMessage *entry, \
- LDAPControl ***serverctrlsp)
-version SUNW_5.1
-end
-
-function ldap_unbind_ext
-include <lber.h>, <ldap.h>
-declaration int ldap_unbind_ext(LDAP *ld, LDAPControl **serverctrls, \
- LDAPControl **clientctrls)
-version SUNW_5.1
-end
-
-function ldap_create_persistentsearch_control
-include <lber.h>, <ldap.h>
-declaration int ldap_create_persistentsearch_control(LDAP *ld, \
- int changetypes, int changesonly, \
- int return_echg_ctls, char ctl_iscritical, \
- LDAPControl **ctrlp)
-version SUNWprivate_1.1
-end
-
-function ldap_parse_entrychange_control
-include <lber.h>, <ldap.h>
-declaration int ldap_parse_entrychange_control(LDAP *ld, \
- LDAPControl **ctrls, int *chgtypep, char **prevdnp, \
- int *chgnumpresentp, ber_int_t *chgnump)
-version SUNWprivate_1.1
-end
-
-function ldap_create_proxyauth_control
-include <lber.h>, <ldap.h>
-declaration int ldap_create_proxyauth_control(LDAP *ld, const char *dn, \
- const char ctl_iscritical, LDAPControl **ctrlp)
-version SUNWprivate_1.1
-end
-
-function ldap_create_proxiedauth_control
-include <lber.h>, <ldap.h>
-declaration int ldap_create_proxiedauth_control(LDAP *ld, \
- const char *authzid, LDAPControl **ctrlp)
-version SUNWprivate_1.1
-end
-
-function ldap_get_lderrno
-include <lber.h>, <ldap.h>
-declaration int ldap_get_lderrno(LDAP *ld, char **m, char **s)
-version SUNWprivate_1.1
-end
-
-function ldap_set_lderrno
-include <lber.h>, <ldap.h>
-declaration int ldap_set_lderrno(LDAP *ld, int e, char *m, char *s)
-version SUNWprivate_1.1
-end
-
-function ldap_multisort_entries
-include <lber.h>, <ldap.h>
-declaration int ldap_multisort_entries(LDAP *ld, LDAPMessage **chain, \
- char **attr, LDAP_CMP_CALLBACK *cmp)
-version SUNWprivate_1.1
-end
-
-function ldap_create_filter
-include <lber.h>, <ldap.h>
-declaration int ldap_create_filter(char *buf, unsigned long buflen, \
- char *pattern, char *prefix, char *suffix, \
- char *attr, char *value, char **valwords)
-version SUNWprivate_1.1
-end
-
-function ldap_modrdn2
-include <lber.h>, <ldap.h>
-declaration int ldap_modrdn2(LDAP *ld, const char *dn, \
- const char *newrdn, int deleteoldrdn)
-version SUNW_5.1
-end
-
-function ldap_modrdn2_s
-include <lber.h>, <ldap.h>
-declaration int ldap_modrdn2_s(LDAP *ld, const char *dn, \
- const char *newrdn, int deleteoldrdn)
-version SUNW_5.1
-end
-
-function ldap_ber_free
-include <lber.h>, <ldap.h>
-declaration void ldap_ber_free(BerElement *ber, int freebuf)
-version SUNW_5.1
-end
-
-function ldap_get_lang_values
-include <lber.h>, <ldap.h>
-declaration char **ldap_get_lang_values(LDAP *ld, LDAPMessage *entry, \
- const char *target, char **type)
-version SUNW_5.1
-exception $return == NULL
-end
-
-function ldap_get_lang_values_len
-include <lber.h>, <ldap.h>
-declaration struct berval **ldap_get_lang_values_len(LDAP *ld, \
- LDAPMessage *entry, const char *target, char **type)
-version SUNW_5.1
-exception $return == NULL
-end
-
-function ldap_version
-include <lber.h>, <ldap.h>
-declaration int ldap_version(LDAPVersion *ver)
-version SUNW_5.1
-end
-
-function ldap_memcache_init
-include <lber.h>, <ldap.h>
-declaration int ldap_memcache_init(unsigned long ttl, \
- unsigned long size, char **baseDNs, \
- struct ldap_thread_fns *thread_fns, \
- LDAPMemCache **cachep)
-version SUNW_5.1
-end
-
-function ldap_memcache_set
-include <lber.h>, <ldap.h>
-declaration int ldap_memcache_set(LDAP *ld, LDAPMemCache *cache)
-version SUNW_5.1
-end
-
-function ldap_memcache_get
-include <lber.h>, <ldap.h>
-declaration int ldap_memcache_get(LDAP *ld, LDAPMemCache **cachep)
-version SUNW_5.1
-end
-
-function ldap_memcache_flush
-include <lber.h>, <ldap.h>
-declaration void ldap_memcache_flush(LDAPMemCache *cache, char *dn, \
- int scope)
-version SUNW_5.1
-end
-
-function ldap_memcache_destroy
-include <lber.h>, <ldap.h>
-declaration void ldap_memcache_destroy(LDAPMemCache *cache)
-version SUNW_5.1
-end
-
-function ldap_memcache_update
-include <lber.h>, <ldap.h>
-declaration void ldap_memcache_update(LDAPMemCache *cache)
-version SUNW_5.1
-end
-
-function ldap_dns_to_dn
-include <lber.h>, <ldap.h>
-declaration char *ldap_dns_to_dn(char *dns_name, int *nameparts)
-version SUNW_5.1
-exception $return == NULL
-end
-
-function ldap_dn_to_url
-include <lber.h>, <ldap.h>
-declaration char *ldap_dn_to_url(LDAP *ld, char*dn, int nameparts)
-version SUNW_5.1
-exception $return == NULL
-end
-
-function ldap_dns_to_url
-include <lber.h>, <ldap.h>
-declaration char *ldap_dns_to_url(LDAP *ld, char *dns_name, \
- char *attrs, char *scope, char *filter)
-version SUNW_5.1
-exception $return == NULL
-end
-
-function ldap_x_sasl_digest_md5_bind_s
-include <lber.h>, <ldap.h>
-declaration int ldap_x_sasl_digest_md5_bind_s(LDAP *ld, char *dn, \
- struct berval *cred, LDAPControl **serverctrls, \
- LDAPControl **clientctrls)
-exception $return == -1
-version SUNWprivate_1.1
-end
-
-function ldap_x_sasl_digest_md5_bind
-include <lber.h>, <ldap.h>
-declaration int ldap_x_sasl_digest_md5_bind(LDAP *ld, char *dn, \
- struct berval *cred, LDAPControl **serverctrls, \
- LDAPControl **clientctrls, struct timeval *timeout, \
- LDAPMessage **result)
-exception $return == -1
-version SUNWprivate_1.1
-end
-
-function ldap_enable_translation
-include <lber.h>, <ldap.h>
-declaration void ldap_enable_translation(LDAP *ld, LDAPMessage *entry, \
- int enable)
-version SUNW_5.1
-end
-
-function ldap_set_string_translators
-include <lber.h>, <ldap.h>
-declaration void ldap_set_string_translators(LDAP *ld, \
- BERTranslateProc encode_proc, \
- BERTranslateProc decode_proc)
-version SUNW_5.1
-end
-
-function ldap_translate_from_t61
-include <lber.h>, <ldap.h>
-declaration int ldap_translate_from_t61(LDAP *ld, char **bufp, \
- unsigned long *lenp, int free_input)
-version SUNW_5.1
-end
-
-function ldap_translate_to_t61
-include <lber.h>, <ldap.h>
-declaration int ldap_translate_to_t61(LDAP *ld, char **bufp, \
- unsigned long *lenp, int free_input)
-version SUNW_5.1
-end
-
-function ldap_init_templates
-include <lber.h>, <ldap.h>
-declaration int ldap_init_templates(char *file, \
- struct ldap_disptmpl **tmpllistp)
-version SUNW_5.1
-end
-
-function ldap_init_templates_buf
-include <lber.h>, <ldap.h>
-declaration int ldap_init_templates_buf(char *buf, long buflen, \
- struct ldap_disptmpl **tmpllistp)
-version SUNW_5.1
-end
-
-function ldap_first_disptmpl
-include <lber.h>, <ldap.h>
-declaration struct ldap_disptmpl *ldap_first_disptmpl \
- (struct ldap_disptmpl *tmpllist)
-version SUNW_5.1
-end
-
-function ldap_next_disptmpl
-include <lber.h>, <ldap.h>
-declaration struct ldap_disptmpl *ldap_next_disptmpl \
- (struct ldap_disptmpl *tmpllist, \
- struct ldap_disptmpl *tmpl)
-version SUNW_5.1
-exception $return == NULLDISPTMPL
-end
-
-function ldap_oc2template
-include <lber.h>, <ldap.h>
-declaration struct ldap_disptmpl *ldap_oc2template(char **oclist, \
- struct ldap_disptmpl *tmpllist)
-version SUNW_5.1
-exception $return == NULLDISPTMPL
-end
-
-function ldap_name2template
-include <lber.h>, <ldap.h>
-declaration struct ldap_disptmpl *ldap_name2template(char *name, \
- struct ldap_disptmpl *tmpllist)
-version SUNW_5.1
-exception $return == NULLDISPTMPL
-end
-
-function ldap_tmplattrs
-include <lber.h>, <ldap.h>
-declaration char **ldap_tmplattrs(struct ldap_disptmpl *tmpl, \
- char **includeattrs, int exclude, \
- unsigned long syntaxmask)
-version SUNW_5.1
-exception $return == NULL
-end
-
-function ldap_first_tmplrow
-include <lber.h>, <ldap.h>
-declaration struct ldap_tmplitem *ldap_first_tmplrow \
- (struct ldap_disptmpl *tmpl)
-version SUNW_5.1
-exception $return == NULL
-end
-
-function ldap_next_tmplrow
-include <lber.h>, <ldap.h>
-declaration struct ldap_tmplitem *ldap_next_tmplrow \
- (struct ldap_disptmpl *tmpl, \
- struct ldap_tmplitem *row)
-version SUNW_5.1
-exception $return == NULLTMPLITEM
-end
-
-function ldap_first_tmplcol
-include <lber.h>, <ldap.h>
-declaration struct ldap_tmplitem *ldap_first_tmplcol \
- (struct ldap_disptmpl *tmpl, \
- struct ldap_tmplitem *row)
-version SUNW_5.1
-exception $return == NULL
-end
-
-function ldap_next_tmplcol
-include <lber.h>, <ldap.h>
-declaration struct ldap_tmplitem *ldap_next_tmplcol \
- (struct ldap_disptmpl *tmpl, \
- struct ldap_tmplitem *row, \
- struct ldap_tmplitem *col)
-version SUNW_5.1
-exception $return == NULLTMPLITEM
-end
-
-function ldap_entry2text
-include <lber.h>, <ldap.h>
-declaration int ldap_entry2text(LDAP *ld, char *buf, \
- LDAPMessage *entry, struct ldap_disptmpl *tmpl, \
- char **defattrs, char ***defvals, \
- writeptype writeproc, void *writeparm, char *eol, \
- int rdncount, unsigned long opts)
-version SUNW_5.1
-end
-
-function ldap_vals2text
-include <lber.h>, <ldap.h>
-declaration int ldap_vals2text(LDAP *ld, char *buf, char **vals, \
- char *label, int labelwidth, \
- unsigned long syntaxid, writeptype writeproc, \
- void *writeparm, char *eol, int rdncount)
-version SUNW_5.1
-end
-
-function ldap_entry2text_search
-include <lber.h>, <ldap.h>
-declaration int ldap_entry2text_search(LDAP *ld,char *dn, char *base, \
- LDAPMessage *entry, struct ldap_disptmpl*tmpllist, \
- char **defattrs, char ***defvals, \
- writeptype writeproc, void *writeparm, \
- char *eol,int rdncount, unsigned long opts)
-version SUNW_5.1
-end
-
-function ldap_entry2html
-include <lber.h>, <ldap.h>
-declaration int ldap_entry2html(LDAP *ld, char *buf, LDAPMessage *entry, \
- struct ldap_disptmpl *tmpl, char **defattrs, \
- char ***defvals, writeptype writeproc, \
- void *writeparm, char *eol, int rdncount, \
- unsigned long opts, char *urlprefix, char *base)
-version SUNW_5.1
-end
-
-function ldap_vals2html
-include <lber.h>, <ldap.h>
-declaration int ldap_vals2html(LDAP *ld, char *buf, char **vals, \
- char *label, int labelwidth, unsigned long syntaxid, \
- writeptype writeproc, void *writeparm, char *eol, \
- int rdncount, char *urlprefix)
-version SUNW_5.1
-end
-
-function ldap_entry2html_search
-include <lber.h>, <ldap.h>
-declaration int ldap_entry2html_search(LDAP *ld, char *dn, char *base, \
- LDAPMessage *entry, struct ldap_disptmpl*tmpllist, \
- char **defattrs, char ***defvals, \
- writeptype writeproc, void *writeparm, \
- char *eol,int rdncount, unsigned long opts, \
- char *urlprefix)
-version SUNW_5.1
-end
-function ldaplogconfigf
-include <lber.h>, <ldap.h>
-declaration void ldaplogconfigf(FILE *fd)
-version SUNWprivate_1.1
-end
-
-function ldif_type_and_value
-include <lber.h>, <ldap.h>
-declaration char *ldif_type_and_value(char *type, char *val, int vlen)
-version SUNWprivate_1.1
-exception $return == NULL
-end
-
-function str_getline
-include <lber.h>, <ldap.h>
-declaration char *str_getline(char **next)
-version SUNWprivate_1.1
-exception $return == NULL
-end
-
-function str_parse_line
-include <lber.h>, <ldap.h>
-declaration int str_parse_line(char *line, char **type, \
- char **value, int *vlen)
-version SUNWprivate_1.1
-exception $return == -1
-end
-
-function ldap_parse_reference
-include <lber.h>, <ldap.h>
-declaration int ldap_parse_reference(LDAP *ld, LDAPMessage *ref, \
- char ***referralsp, LDAPControl ***serverctrlsp, \
- int freeit)
-version SUNW_5.1
-end
-
-function ldapssl_install_gethostbyaddr
-include <lber.h>, <ldap.h>
-declaration int ldapssl_install_gethostbyaddr(LDAP *ld, const char *skip)
-version SUNWprivate_1.1
-exception $return == -1
-end
-
-function ldap_sasl_interactive_bind_s
-include <lber.h>, <ldap.h>
-declaration int ldap_sasl_interactive_bind_s (LDAP *ld, const char *dn, \
- const char *saslMechanism, \
- LDAPControl **serverControls, \
- LDAPControl **clientControls, \
- unsigned flags, LDAP_SASL_INTERACT_PROC *proc, \
- void *defaults)
-version SUNW_5.2
-end
-
-function ldif_base64_decode
-include <lber.h>, <ldap.h>
-declaration int ldif_base64_decode(char *src, unsigned char *dst)
-version SUNWprivate_1.1
-end
-
-function ldapssl_set_strength
-include <lber.h>, <ldap.h>
-declaration int ldapssl_set_strength(LDAP *ld, int sslstrength)
-version SUNWprivate_1.1
-end
-
-function ldif_type_and_value_with_options
-include <lber.h>, <ldap.h>
-declaration char *ldif_type_and_value_with_options(char *type, char *val, \
- int vlen, unsigned long options)
-version SUNWprivate_1.1
-end
-
-function ldap_charray_add
-include <lber.h>, <ldap.h>
-declaration int ldap_charray_add( char ***a, char *s )
-version SUNWprivate_1.1
-end
-
-function ldap_charray_inlist
-include <lber.h>, <ldap.h>
-declaration int ldap_charray_inlist( char **a, char *s )
-version SUNWprivate_1.1
-end
-
-function ldap_charray_dup
-include <lber.h>, <ldap.h>
-declaration int ldap_charray_dup( char **a )
-version SUNWprivate_1.1
-end
-
-function ldap_charray_position
-include <lber.h>, <ldap.h>
-declaration int ldap_charray_position( char **a, char *s )
-version SUNWprivate_1.1
-end
-
-function ldap_str2charray
-include <lber.h>, <ldap.h>
-declaration int ldap_str2charray( char *str, char *brkstr )
-version SUNWprivate_1.1
-end
-
-function prldap_set_session_option
-include <lber.h>, <ldap.h>
-declaration int prldap_set_session_option( LDAP *ld, void *sessionarg, \
- int option, ... )
-version SUNWprivate_1.1
-end
-
-function prldap_get_session_option
-include <lber.h>, <ldap.h>
-declaration int prldap_get_session_option( LDAP *ld, void *sessionarg, \
- int option, ... )
-version SUNWprivate_1.1
-end
diff --git a/usr/src/lib/libldap5/spec/sparc/Makefile b/usr/src/lib/libldap5/spec/sparc/Makefile
deleted file mode 100644
index 3d18cd8216..0000000000
--- a/usr/src/lib/libldap5/spec/sparc/Makefile
+++ /dev/null
@@ -1,24 +0,0 @@
-#
-# Copyright (c) 2001 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libldap5/spec/sparc/Makefile
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-sparc_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libldap5/spec/sparcv9/Makefile b/usr/src/lib/libldap5/spec/sparcv9/Makefile
deleted file mode 100644
index 90f05dd7d0..0000000000
--- a/usr/src/lib/libldap5/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,25 +0,0 @@
-#
-# Copyright (c) 2001 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libldap5/spec/sparcv9/Makefile
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-sparcv9_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libldap5/spec/versions b/usr/src/lib/libldap5/spec/versions
deleted file mode 100644
index c78872899c..0000000000
--- a/usr/src/lib/libldap5/spec/versions
+++ /dev/null
@@ -1,31 +0,0 @@
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-sparc {
- SUNW_5.2: {SUNW_5.1.1};
- SUNW_5.1.1: {SUNW_5.1};
- SUNW_5.1;
- SUNWprivate_1.1;
-}
-i386 {
- SUNW_5.2: {SUNW_5.1.1};
- SUNW_5.1.1: {SUNW_5.1};
- SUNW_5.1;
- SUNWprivate_1.1;
-}
-sparcv9 {
- SUNW_5.2: {SUNW_5.1.1};
- SUNW_5.1.1: {SUNW_5.1};
- SUNW_5.1;
- SUNWprivate_1.1;
-}
-amd64 {
- SUNW_5.2: {SUNW_5.1.1};
- SUNW_5.1.1: {SUNW_5.1};
- SUNW_5.1;
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/liblgrp/Makefile b/usr/src/lib/liblgrp/Makefile
index 6cae9246b3..bb2e2dda77 100644
--- a/usr/src/lib/liblgrp/Makefile
+++ b/usr/src/lib/liblgrp/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,7 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
@@ -47,8 +46,7 @@ CHECKHDRS= $(HDRS:%.h=%.check)
.KEEP_STATE:
-all install clean clobber: spec .WAIT $(SUBDIRS)
-lint: $(SUBDIRS)
+all install clean clobber lint: $(SUBDIRS)
# install rule for install_h target
@@ -59,7 +57,7 @@ install_h: $(ROOTHDRS)
check: $(CHECKHDRS)
-$(SUBDIRS) spec: FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
diff --git a/usr/src/lib/liblgrp/Makefile.com b/usr/src/lib/liblgrp/Makefile.com
index 30cfb354ce..cdeb2e54a1 100644
--- a/usr/src/lib/liblgrp/Makefile.com
+++ b/usr/src/lib/liblgrp/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -35,10 +34,6 @@ OBJECTS= lgrp.o
include ../../Makefile.lib
SRCDIR= ../common
-SRCS= $(OBJECTS:%.o=$(SRCDIR)/%.c)
-
-MAPDIR= ../spec/$(TRANSMACH)
-SPECMAPFILE = $(MAPDIR)/mapfile
LIBS = $(DYNLIB) $(LINTLIB)
diff --git a/usr/src/lib/liblgrp/common/mapfile-vers b/usr/src/lib/liblgrp/common/mapfile-vers
new file mode 100644
index 0000000000..3c636d8a0d
--- /dev/null
+++ b/usr/src/lib/liblgrp/common/mapfile-vers
@@ -0,0 +1,53 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNW_1.2 {
+ global:
+ lgrp_latency_cookie;
+ lgrp_resources;
+} SUNW_1.1;
+
+SUNW_1.1 {
+ global:
+ lgrp_affinity_get;
+ lgrp_affinity_set;
+ lgrp_children;
+ lgrp_cookie_stale;
+ lgrp_cpus;
+ lgrp_fini;
+ lgrp_home;
+ lgrp_init;
+ lgrp_latency;
+ lgrp_mem_size;
+ lgrp_nlgrps;
+ lgrp_parents;
+ lgrp_root;
+ lgrp_version;
+ lgrp_view;
+ local:
+ *;
+};
diff --git a/usr/src/lib/liblgrp/spec/Makefile b/usr/src/lib/liblgrp/spec/Makefile
deleted file mode 100644
index 4c7f99b71d..0000000000
--- a/usr/src/lib/liblgrp/spec/Makefile
+++ /dev/null
@@ -1,29 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/liblgrp/spec/Makefile.targ b/usr/src/lib/liblgrp/spec/Makefile.targ
deleted file mode 100644
index d57b83fe96..0000000000
--- a/usr/src/lib/liblgrp/spec/Makefile.targ
+++ /dev/null
@@ -1,34 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-LIBRARY = liblgrp.a
-VERS = .1
-
-OBJECTS = lgrp.o
-
-SPECCPP = -I../..
diff --git a/usr/src/lib/liblgrp/spec/amd64/Makefile b/usr/src/lib/liblgrp/spec/amd64/Makefile
deleted file mode 100644
index 5dd1b7240f..0000000000
--- a/usr/src/lib/liblgrp/spec/amd64/Makefile
+++ /dev/null
@@ -1,42 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#amd64_C_PICFLAGS = $(amd64_C_BIGPICFLAGS)
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/liblgrp/spec/i386/Makefile b/usr/src/lib/liblgrp/spec/i386/Makefile
deleted file mode 100644
index d333544fbb..0000000000
--- a/usr/src/lib/liblgrp/spec/i386/Makefile
+++ /dev/null
@@ -1,41 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#i386_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/liblgrp/spec/lgrp.spec b/usr/src/lib/liblgrp/spec/lgrp.spec
deleted file mode 100644
index 78e4302e03..0000000000
--- a/usr/src/lib/liblgrp/spec/lgrp.spec
+++ /dev/null
@@ -1,135 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-
-function lgrp_affinity_get
-include <sys/lgrp_user.h>
-declaration lgrp_affinity_t lgrp_affinity_get(idtype_t idtype, id_t id, lgrp_id_t lgrp)
-version SUNW_1.1
-end
-
-function lgrp_affinity_set
-include <sys/lgrp_user.h>
-declaration int lgrp_affinity_set(idtype_t idtype, id_t id, lgrp_id_t lgrp, lgrp_affinity_t aff)
-version SUNW_1.1
-end
-
-function lgrp_children
-include <sys/lgrp_user.h>
-declaration int lgrp_children(lgrp_cookie_t cookie, lgrp_id_t lgrp, lgrp_id_t *children, uint_t count)
-version SUNW_1.1
-end
-
-function lgrp_cookie_stale
-include <sys/lgrp_user.h>
-declaration int lgrp_cookie_stale(lgrp_cookie_t cookie)
-version SUNW_1.1
-end
-
-function lgrp_cpus
-include <sys/lgrp_user.h>
-declaration int lgrp_cpus(lgrp_cookie_t cookie, lgrp_id_t lgrp, processorid_t *cpuids, uint_t count, lgrp_content_t content)
-version SUNW_1.1
-end
-
-function lgrp_fini
-include <sys/lgrp_user.h>
-declaration int lgrp_fini(lgrp_cookie_t)
-version SUNW_1.1
-end
-
-function lgrp_home
-include <sys/lgrp_user.h>
-declaration lgrp_id_t lgrp_home(idtype_t idtype, id_t id)
-version SUNW_1.1
-end
-
-function lgrp_init
-include <sys/lgrp_user.h>
-declaration lgrp_cookie_t lgrp_init(lgrp_view_t view)
-version SUNW_1.1
-end
-
-function lgrp_latency
-include <sys/lgrp_user.h>
-declaration int lgrp_latency(lgrp_id_t from, lgrp_id_t to)
-version SUNW_1.1
-end
-
-function lgrp_latency_cookie
-include <sys/lgrp_user.h>
-declaration int lgrp_latency_cookie(lgrp_cookie_t, lgrp_id_t from, lgrp_id_t to, lgrp_lat_between_t between)
-version SUNW_1.2
-end
-
-function lgrp_mem_size
-include <sys/lgrp_user.h>
-declaration lgrp_mem_size_t lgrp_mem_size(lgrp_cookie_t cookie, lgrp_id_t lgrp, lgrp_mem_size_flag_t type, lgrp_content_t content)
-version SUNW_1.1
-end
-
-function lgrp_nlgrps
-include <sys/lgrp_user.h>
-declaration int lgrp_nlgrps(lgrp_cookie_t)
-version SUNW_1.1
-end
-
-function lgrp_parents
-include <sys/lgrp_user.h>
-declaration int lgrp_parents(lgrp_cookie_t cookie, lgrp_id_t lgrp, lgrp_id_t *parents, uint_t count)
-version SUNW_1.1
-end
-
-function lgrp_resources
-include <sys/lgrp_user.h>
-declaration int lgrp_resources(lgrp_cookie_t cookie, lgrp_id_t lgrp, lgrp_id_t *lgrps, uint_t count, int type)
-version SUNW_1.2
-end
-
-function lgrp_root
-include <sys/lgrp_user.h>
-declaration lgrp_id_t lgrp_root(lgrp_cookie_t)
-version SUNW_1.1
-end
-
-function lgrp_version
-include <sys/lgrp_user.h>
-declaration int lgrp_version(int version)
-version SUNW_1.1
-end
-
-function lgrp_view
-include <sys/lgrp_user.h>
-declaration lgrp_view_t lgrp_view(lgrp_cookie_t cookie)
-version SUNW_1.1
-end
-
-#
-# Interfaces approved as stable PSARC 2003/034
-
-#
-#
diff --git a/usr/src/lib/liblgrp/spec/sparc/Makefile b/usr/src/lib/liblgrp/spec/sparc/Makefile
deleted file mode 100644
index 1acb498d81..0000000000
--- a/usr/src/lib/liblgrp/spec/sparc/Makefile
+++ /dev/null
@@ -1,43 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#sparc_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/liblgrp/spec/sparcv9/Makefile b/usr/src/lib/liblgrp/spec/sparcv9/Makefile
deleted file mode 100644
index 62244b89f2..0000000000
--- a/usr/src/lib/liblgrp/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,42 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#sparcv9_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/liblgrp/spec/versions b/usr/src/lib/liblgrp/spec/versions
deleted file mode 100644
index c14c0409ee..0000000000
--- a/usr/src/lib/liblgrp/spec/versions
+++ /dev/null
@@ -1,43 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-sparc {
- SUNW_1.2: {SUNW_1.1};
- SUNW_1.1;
-}
-sparcv9 {
- SUNW_1.2: {SUNW_1.1};
- SUNW_1.1;
-}
-i386 {
- SUNW_1.2: {SUNW_1.1};
- SUNW_1.1;
-}
-amd64 {
- SUNW_1.2: {SUNW_1.1};
- SUNW_1.1;
-}
diff --git a/usr/src/lib/liblm/Makefile b/usr/src/lib/liblm/Makefile
index 44d897019b..e9b89465dd 100644
--- a/usr/src/lib/liblm/Makefile
+++ b/usr/src/lib/liblm/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,16 +19,16 @@
# CDDL HEADER END
#
#
-# Copyright (c) 1994-1999 by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
-# lib/liblm/Makefile
include ../Makefile.lib
-SUBDIRS= spec .WAIT $(MACH) $(BUILD64) $(MACH64)
+SUBDIRS = $(MACH)
+$(BUILD64)SUBDIRS += $(MACH64)
all := TARGET= all
clean := TARGET= clean
@@ -54,7 +53,7 @@ CP= cp
all clean clobber delete install lint package: $(SUBDIRS)
-$(MACH) $(MACH64) spec: FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
_msg: $(MSGDOMAIN) $(POFILE)
diff --git a/usr/src/lib/liblm/Makefile.com b/usr/src/lib/liblm/Makefile.com
index 9e76539683..22d8865d56 100644
--- a/usr/src/lib/liblm/Makefile.com
+++ b/usr/src/lib/liblm/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -25,8 +24,6 @@
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/liblm/Makefile.com
-#
LIBRARY= liblm.a
VERS= .1
@@ -36,15 +33,13 @@ OBJECTS= lm_shutdown.o
# include library definitions
include ../../Makefile.lib
-MAPFILE= $(MAPDIR)/mapfile
-SRCS= $(OBJECTS:%.o=../common/%.c)
+SRCDIR = ../common
LIBS = $(DYNLIB)
# definitions for lint
CFLAGS += $(CCVERBOSE)
-DYNFLAGS += -M $(MAPFILE)
LDLIBS += -lc
.KEEP_STATE:
@@ -53,11 +48,6 @@ all: $(LIBS) fnamecheck
lint: lintcheck
-$(DYNLIB): $(MAPFILE)
-
-$(MAPFILE):
- @cd $(MAPDIR); $(MAKE) mapfile
-
# include library targets
include ../../Makefile.targ
diff --git a/usr/src/lib/liblm/amd64/Makefile b/usr/src/lib/liblm/amd64/Makefile
index 5cb0c917cc..3f238e6cae 100644
--- a/usr/src/lib/liblm/amd64/Makefile
+++ b/usr/src/lib/liblm/amd64/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,13 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-MAPDIR= ../spec/amd64
include ../Makefile.com
include ../../Makefile.lib.64
diff --git a/usr/src/lib/liblm/common/mapfile-vers b/usr/src/lib/liblm/common/mapfile-vers
new file mode 100644
index 0000000000..cca4ba33e8
--- /dev/null
+++ b/usr/src/lib/liblm/common/mapfile-vers
@@ -0,0 +1,33 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNWprivate_1.1 {
+ global:
+ lm_shutdown;
+ local:
+ *;
+};
diff --git a/usr/src/lib/liblm/i386/Makefile b/usr/src/lib/liblm/i386/Makefile
index 30784fb409..50dd2a7dd7 100644
--- a/usr/src/lib/liblm/i386/Makefile
+++ b/usr/src/lib/liblm/i386/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
-# lib/liblm/i386/Makefile
-
-MAPDIR= ../spec/i386
include ../Makefile.com
diff --git a/usr/src/lib/liblm/sparc/Makefile b/usr/src/lib/liblm/sparc/Makefile
index b220e7d4c0..50dd2a7dd7 100644
--- a/usr/src/lib/liblm/sparc/Makefile
+++ b/usr/src/lib/liblm/sparc/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
-# lib/liblm/sparc/Makefile
-
-MAPDIR= ../spec/sparc
include ../Makefile.com
diff --git a/usr/src/lib/liblm/sparcv9/Makefile b/usr/src/lib/liblm/sparcv9/Makefile
index 91b385077d..3f238e6cae 100644
--- a/usr/src/lib/liblm/sparcv9/Makefile
+++ b/usr/src/lib/liblm/sparcv9/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
-# lib/liblm/sparcv9/Makefile
-MAPDIR= ../spec/sparcv9
include ../Makefile.com
include ../../Makefile.lib.64
diff --git a/usr/src/lib/liblm/spec/Makefile b/usr/src/lib/liblm/spec/Makefile
deleted file mode 100644
index 354eccbafa..0000000000
--- a/usr/src/lib/liblm/spec/Makefile
+++ /dev/null
@@ -1,30 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/liblm/spec/Makefile
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/liblm/spec/Makefile.targ b/usr/src/lib/liblm/spec/Makefile.targ
deleted file mode 100644
index 01cc7e5365..0000000000
--- a/usr/src/lib/liblm/spec/Makefile.targ
+++ /dev/null
@@ -1,35 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/liblm/spec/Makefile.targ
-
-LIBRARY = liblm.a
-VERS = .1
-
-OBJECTS = lm.o
-
-SPECCPP =
diff --git a/usr/src/lib/liblm/spec/amd64/Makefile b/usr/src/lib/liblm/spec/amd64/Makefile
deleted file mode 100644
index 453c0ea671..0000000000
--- a/usr/src/lib/liblm/spec/amd64/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#amd64_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/liblm/spec/i386/Makefile b/usr/src/lib/liblm/spec/i386/Makefile
deleted file mode 100644
index 8f3a978cdf..0000000000
--- a/usr/src/lib/liblm/spec/i386/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/liblm/spec/i386/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#i386_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/liblm/spec/lm.spec b/usr/src/lib/liblm/spec/lm.spec
deleted file mode 100644
index c322a5da96..0000000000
--- a/usr/src/lib/liblm/spec/lm.spec
+++ /dev/null
@@ -1,33 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/liblm/spec/lm.spec
-
-function lm_shutdown
-declaration int lm_shutdown(void)
-version SUNWprivate_1.1
-end
-
diff --git a/usr/src/lib/liblm/spec/sparc/Makefile b/usr/src/lib/liblm/spec/sparc/Makefile
deleted file mode 100644
index b4ce2de6db..0000000000
--- a/usr/src/lib/liblm/spec/sparc/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/liblm/spec/sparc/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#sparc_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/liblm/spec/sparcv9/Makefile b/usr/src/lib/liblm/spec/sparcv9/Makefile
deleted file mode 100644
index b43f94d92a..0000000000
--- a/usr/src/lib/liblm/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,45 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/liblm/spec/sparcv9/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#sparcv9_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/liblm/spec/versions b/usr/src/lib/liblm/spec/versions
deleted file mode 100644
index a542a0f7fc..0000000000
--- a/usr/src/lib/liblm/spec/versions
+++ /dev/null
@@ -1,39 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-sparc {
- SUNWprivate_1.1;
-}
-sparcv9 {
- SUNWprivate_1.1;
-}
-i386 {
- SUNWprivate_1.1;
-}
-amd64 {
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/libmacadm/Makefile b/usr/src/lib/libmacadm/Makefile
index b96b65da6d..2858be8fdc 100644
--- a/usr/src/lib/libmacadm/Makefile
+++ b/usr/src/lib/libmacadm/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,10 +19,10 @@
# CDDL HEADER END
#
#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#pragma ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
include $(SRC)/lib/Makefile.lib
@@ -44,11 +43,7 @@ lint := TARGET = lint
.KEEP_STATE:
-all install: spec .WAIT $(SUBDIRS)
-
-clean clobber: spec $(SUBDIRS)
-
-lint: $(SUBDIRS)
+all clean clobber install lint: $(SUBDIRS)
install_h: $(ROOTHDRS)
@@ -58,7 +53,7 @@ $(POFILE): pofile_MSGFILES
_msg: $(MSGDOMAINPOFILE)
-spec $(SUBDIRS): FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
diff --git a/usr/src/lib/libmacadm/Makefile.com b/usr/src/lib/libmacadm/Makefile.com
index 41d7daeaf6..a6fb192048 100644
--- a/usr/src/lib/libmacadm/Makefile.com
+++ b/usr/src/lib/libmacadm/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -23,7 +22,7 @@
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#pragma ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
LIBRARY = libmacadm.a
@@ -38,11 +37,9 @@ include ../../Makefile.rootfs
LIBS = $(DYNLIB) $(LINTLIB)
LDLIBS += -ldevinfo -lc
-$(LINTLIB) := SRCS = $(SRCDIR)/$(LINTSRC)
SRCDIR = ../common
-MAPDIR = ../spec/$(TRANSMACH)
-SPECMAPFILE = $(MAPDIR)/mapfile
+$(LINTLIB) := SRCS = $(SRCDIR)/$(LINTSRC)
CFLAGS += $(CCVERBOSE)
CPPFLAGS += -I$(SRCDIR) -D_REENTRANT
diff --git a/usr/src/lib/libmacadm/common/mapfile-vers b/usr/src/lib/libmacadm/common/mapfile-vers
new file mode 100644
index 0000000000..1ae18a3193
--- /dev/null
+++ b/usr/src/lib/libmacadm/common/mapfile-vers
@@ -0,0 +1,33 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNWprivate_1.1 {
+ global:
+ macadm_walk;
+ local:
+ *;
+};
diff --git a/usr/src/lib/libmacadm/spec/Makefile b/usr/src/lib/libmacadm/spec/Makefile
deleted file mode 100644
index 53fbd3ad4b..0000000000
--- a/usr/src/lib/libmacadm/spec/Makefile
+++ /dev/null
@@ -1,29 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/libmacadm/spec/Makefile.targ b/usr/src/lib/libmacadm/spec/Makefile.targ
deleted file mode 100644
index 7508c2160e..0000000000
--- a/usr/src/lib/libmacadm/spec/Makefile.targ
+++ /dev/null
@@ -1,32 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-
-LIBRARY = libmacadm.a
-VERS = .1
-OBJECTS = macadm.o
-
diff --git a/usr/src/lib/libmacadm/spec/amd64/Makefile b/usr/src/lib/libmacadm/spec/amd64/Makefile
deleted file mode 100644
index af603444ad..0000000000
--- a/usr/src/lib/libmacadm/spec/amd64/Makefile
+++ /dev/null
@@ -1,32 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-all clean clobber install lint:
- @echo "Nothing to $@ on amd64"
diff --git a/usr/src/lib/libmacadm/spec/i386/Makefile b/usr/src/lib/libmacadm/spec/i386/Makefile
deleted file mode 100644
index 0a770cb926..0000000000
--- a/usr/src/lib/libmacadm/spec/i386/Makefile
+++ /dev/null
@@ -1,35 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libmacadm/spec/macadm.spec b/usr/src/lib/libmacadm/spec/macadm.spec
deleted file mode 100644
index 32cbe46145..0000000000
--- a/usr/src/lib/libmacadm/spec/macadm.spec
+++ /dev/null
@@ -1,34 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-
-function macadm_walk
-include <libmacadm.h>
-declaration int macadm_walk( \
- void (*fn)(void *, const char *), \
- void *, boolean_t);
-version SUNWprivate_1.1
-end
diff --git a/usr/src/lib/libmacadm/spec/sparc/Makefile b/usr/src/lib/libmacadm/spec/sparc/Makefile
deleted file mode 100644
index 0a770cb926..0000000000
--- a/usr/src/lib/libmacadm/spec/sparc/Makefile
+++ /dev/null
@@ -1,35 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libmacadm/spec/sparcv9/Makefile b/usr/src/lib/libmacadm/spec/sparcv9/Makefile
deleted file mode 100644
index f1868eaa18..0000000000
--- a/usr/src/lib/libmacadm/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,32 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-all clean clobber install lint:
- @echo "Nothing to $@ on sparcv9"
diff --git a/usr/src/lib/libmacadm/spec/versions b/usr/src/lib/libmacadm/spec/versions
deleted file mode 100644
index 60672092ef..0000000000
--- a/usr/src/lib/libmacadm/spec/versions
+++ /dev/null
@@ -1,42 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-
-sparc {
- SUNWprivate_1.1;
-}
-
-sparcv9 {
- SUNWprivate_1.1;
-}
-
-i386 {
- SUNWprivate_1.1;
-}
-
-amd64 {
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/libmail/Makefile b/usr/src/lib/libmail/Makefile
index 477c986063..ae02621be1 100644
--- a/usr/src/lib/libmail/Makefile
+++ b/usr/src/lib/libmail/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,18 +19,17 @@
# CDDL HEADER END
#
#
-# Copyright (c) 1999, by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-#pragma ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libmail/Makefile
include ../../Makefile.master
include ../Makefile.lib
-SUBDIRS= spec .WAIT $(MACH) $(BUILD64) $(MACH64)
-LINTDIRS= $(MACH) $(BUILD64) $(MACH64)
+SUBDIRS = $(MACH)
+$(BUILD64)SUBDIRS += $(MACH64)
all := TARGET= all
clean := TARGET= clean
@@ -52,9 +50,7 @@ CP= cp
.KEEP_STATE:
-all clean clobber install package: $(SUBDIRS)
-
-lint: $(LINTDIRS)
+all clean clobber install lint package: $(SUBDIRS)
# definitions for install_h target
HDRS= maillock.h libmail.h s_string.h
@@ -73,7 +69,7 @@ CHECKHDRS= $(PUBHDRS:%.h=inc/%.check)
check: $(CHECKHDRS)
-$(MACH) $(MACH64) spec: FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
_msg: $(MSGDOMAIN) $(POFILE)
diff --git a/usr/src/lib/libmail/Makefile.com b/usr/src/lib/libmail/Makefile.com
index ca0c7dfdc0..e8233c7616 100644
--- a/usr/src/lib/libmail/Makefile.com
+++ b/usr/src/lib/libmail/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -25,8 +24,6 @@
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libmail/Makefile.com
-#
LIBRARY= libmail.a
VERS= .1
@@ -36,11 +33,11 @@ OBJECTS= abspath.o casncmp.o copystream.o delempty.o \
s_string.o setup_exec.o strmove.o skipspace.o \
substr.o systemvp.o trimnl.o xgetenv.o
-# include library definitions
include ../../Makefile.lib
-MAPFILE= $(MAPDIR)/mapfile
-SRCS= $(OBJECTS:%.o=../common/%.c)
+SRCDIR = ../common
+
+MAPFILES += $(MAPFILE32)
LIBS = $(DYNLIB) $(LINTLIB)
@@ -50,7 +47,6 @@ LINTSRC= $(LINTLIB:%.ln=%)
CPPFLAGS = -I../inc -I../../common/inc $(CPPFLAGS.master)
CFLAGS += $(CCVERBOSE)
-DYNFLAGS += -M $(MAPFILE)
LDLIBS += -lc
.KEEP_STATE:
@@ -59,12 +55,6 @@ all: $(LIBS) fnamecheck
lint: lintcheck
-$(DYNLIB) $(DYNLIB64): $(MAPFILE)
-
-$(MAPFILE):
- @cd $(MAPDIR); $(MAKE) mapfile
-
-# include library targets
include ../../Makefile.targ
pics/%.o: ../common/%.c
diff --git a/usr/src/lib/libmail/amd64/Makefile b/usr/src/lib/libmail/amd64/Makefile
index 7a9b08d46c..f69d11f706 100644
--- a/usr/src/lib/libmail/amd64/Makefile
+++ b/usr/src/lib/libmail/amd64/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -26,7 +25,7 @@
# ident "%Z%%M% %I% %E% SMI"
#
-MAPDIR= ../spec/amd64
+MAPFILE32 =
include ../Makefile.com
include ../../Makefile.lib.64
diff --git a/usr/src/lib/libmail/common/mapfile-vers b/usr/src/lib/libmail/common/mapfile-vers
new file mode 100644
index 0000000000..d1dd7900e8
--- /dev/null
+++ b/usr/src/lib/libmail/common/mapfile-vers
@@ -0,0 +1,52 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNW_1.1 {
+ global:
+ maillock;
+ mailunlock;
+ touchlock;
+};
+
+SUNWprivate_1.1 {
+ global:
+ casncmp;
+ copystream;
+ delempty;
+ maildomain;
+ pclosevp;
+ popenvp;
+ skipspace;
+ strmove;
+ substr;
+ trimnl;
+ Xgetenv;
+ xgetenv;
+ xsetenv;
+ local:
+ *;
+};
diff --git a/usr/src/lib/libmail/common/mapfile32-vers b/usr/src/lib/libmail/common/mapfile32-vers
new file mode 100644
index 0000000000..945c49e43b
--- /dev/null
+++ b/usr/src/lib/libmail/common/mapfile32-vers
@@ -0,0 +1,47 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNWprivate_1.1 { # only for 32-bit applications
+ global:
+ abspath;
+ notify;
+ s_append;
+ s_array;
+ s_copy;
+ setup_exec;
+ s_free;
+ s_grow;
+ s_new;
+ s_parse;
+ s_read_line;
+ s_read_to_eof;
+ s_seq_read;
+ s_skipwhite;
+ s_tok;
+ s_tolower;
+ systemvp;
+};
diff --git a/usr/src/lib/libmail/i386/Makefile b/usr/src/lib/libmail/i386/Makefile
index 1f54277775..a579a6b1b6 100644
--- a/usr/src/lib/libmail/i386/Makefile
+++ b/usr/src/lib/libmail/i386/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -25,9 +24,8 @@
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libmail/i386/Makefile
-MAPDIR= ../spec/i386
+MAPFILE32 = ../common/mapfile32-vers
include ../Makefile.com
diff --git a/usr/src/lib/libmail/sparc/Makefile b/usr/src/lib/libmail/sparc/Makefile
index 5aad3e64df..a579a6b1b6 100644
--- a/usr/src/lib/libmail/sparc/Makefile
+++ b/usr/src/lib/libmail/sparc/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -23,11 +22,10 @@
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#pragma ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libmail/sparc/Makefile
-MAPDIR= ../spec/sparc
+MAPFILE32 = ../common/mapfile32-vers
include ../Makefile.com
diff --git a/usr/src/lib/libmail/sparcv9/Makefile b/usr/src/lib/libmail/sparcv9/Makefile
index fd82d2bc2a..f69d11f706 100644
--- a/usr/src/lib/libmail/sparcv9/Makefile
+++ b/usr/src/lib/libmail/sparcv9/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -23,11 +22,10 @@
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#pragma ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libmail/sparcv9/Makefile
-MAPDIR= ../spec/sparcv9
+MAPFILE32 =
include ../Makefile.com
include ../../Makefile.lib.64
diff --git a/usr/src/lib/libmail/spec/Makefile b/usr/src/lib/libmail/spec/Makefile
deleted file mode 100644
index 62af484744..0000000000
--- a/usr/src/lib/libmail/spec/Makefile
+++ /dev/null
@@ -1,30 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1999, by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libkstat/spec/Makefile
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/libmail/spec/Makefile.targ b/usr/src/lib/libmail/spec/Makefile.targ
deleted file mode 100644
index 56e7ce4f20..0000000000
--- a/usr/src/lib/libmail/spec/Makefile.targ
+++ /dev/null
@@ -1,35 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1999, by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libmail/spec/Makefile.targ
-
-LIBRARY = libmail.a
-VERS = .1
-
-OBJECTS = mail.o
-
-SPECCPP = -I../../inc
diff --git a/usr/src/lib/libmail/spec/amd64/Makefile b/usr/src/lib/libmail/spec/amd64/Makefile
deleted file mode 100644
index d334868181..0000000000
--- a/usr/src/lib/libmail/spec/amd64/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#amd64_C_PICFLAGS = $(amd64_C_BIGPICFLAGS)
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libmail/spec/i386/Makefile b/usr/src/lib/libmail/spec/i386/Makefile
deleted file mode 100644
index b52967dd4d..0000000000
--- a/usr/src/lib/libmail/spec/i386/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1999, by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libmail/spec/i386/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#i386_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libmail/spec/mail.spec b/usr/src/lib/libmail/spec/mail.spec
deleted file mode 100644
index b6f96cf54d..0000000000
--- a/usr/src/lib/libmail/spec/mail.spec
+++ /dev/null
@@ -1,242 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libmail/spec/mail.spec
-
-function maillock
-include <maillock.h>
-declaration int maillock(char *user, int retrycnt)
-version SUNW_1.1
-end
-
-function mailunlock
-include <maillock.h>
-declaration void mailunlock(void)
-version SUNW_1.1
-end
-
-function touchlock
-include <maillock.h>
-declaration void touchlock(void)
-version SUNW_1.1
-end
-
-function abspath
-include <libmail.h>
-declaration string *abspath(char *path, char *dot, string *to)
-arch sparc i386
-version SUNWprivate_1.1
-end
-
-function casncmp
-include <libmail.h>
-declaration int casncmp(char *s1, char *s2, ssize_t n)
-version SUNWprivate_1.1
-end
-
-function copystream
-include <libmail.h>
-declaration int copystream(FILE *infp, FILE *outfp)
-version SUNWprivate_1.1
-end
-
-function delempty
-include <libmail.h>
-declaration int delempty(mode_t m, char *mailname)
-version SUNWprivate_1.1
-end
-
-function maildomain
-include <libmail.h>
-declaration char *maildomain(void)
-version SUNWprivate_1.1
-end
-
-function notify
-include <libmail.h>
-declaration void notify(char *user, char *msg, int check_mesg_y, char *etcdir)
-arch sparc i386
-version SUNWprivate_1.1
-end
-
-function pclosevp
-include <libmail.h>
-declaration int pclosevp(FILE *fp)
-version SUNWprivate_1.1
-end
-
-function popenvp
-include <libmail.h>
-declaration FILE *popenvp(char *file, char **argv, char *mode, int resetid)
-version SUNWprivate_1.1
-end
-
-function setup_exec
-include <libmail.h>
-declaration char **setup_exec(char *s)
-arch sparc i386
-version SUNWprivate_1.1
-end
-
-function skipspace
-include <libmail.h>
-declaration char *skipspace(char *p)
-version SUNWprivate_1.1
-end
-
-function substr
-include <libmail.h>
-declaration int substr(char *string1, char *string2)
-version SUNWprivate_1.1
-end
-
-function strmove
-include <libmail.h>
-declaration void strmove(char *from, char *to)
-version SUNWprivate_1.1
-end
-
-function systemvp
-include <libmail.h>
-declaration pid_t systemvp(char *file, char **argv, int resetid)
-arch sparc i386
-version SUNWprivate_1.1
-end
-
-function trimnl
-include <libmail.h>
-declaration void trimnl(char *s)
-version SUNWprivate_1.1
-end
-
-function Xgetenv
-include <libmail.h>
-declaration char *Xgetenv(char *env)
-version SUNWprivate_1.1
-end
-
-function xgetenv
-include <libmail.h>
-declaration char *xgetenv(char *env)
-version SUNWprivate_1.1
-end
-
-function xsetenv
-include <libmail.h>
-declaration int xsetenv(char *file)
-version SUNWprivate_1.1
-end
-
-function s_append
-include <s_string.h>
-declaration string *s_append(string *to, char *from)
-arch sparc i386
-version SUNWprivate_1.1
-end
-
-function s_array
-include <s_string.h>
-declaration string *s_array(char *, size_t len)
-arch sparc i386
-version SUNWprivate_1.1
-end
-
-function s_copy
-include <s_string.h>
-declaration string *s_copy(char *)
-arch sparc i386
-version SUNWprivate_1.1
-end
-
-function s_free
-include <s_string.h>
-declaration void s_free(string*)
-arch sparc i386
-version SUNWprivate_1.1
-end
-
-function s_grow
-include <s_string.h>
-declaration int s_grow(string *sp, int c)
-arch sparc i386
-version SUNWprivate_1.1
-end
-
-function s_new
-include <s_string.h>
-declaration string *s_new(void)
-arch sparc i386
-version SUNWprivate_1.1
-end
-
-function s_parse
-include <s_string.h>
-declaration string *s_parse(string *from, string *to)
-arch sparc i386
-version SUNWprivate_1.1
-end
-
-function s_read_line
-include <s_string.h>
-declaration char *s_read_line(FILE *fp, string *to)
-arch sparc i386
-version SUNWprivate_1.1
-end
-
-function s_read_to_eof
-include <s_string.h>
-declaration size_t s_read_to_eof(FILE *fp, string *to)
-arch sparc i386
-version SUNWprivate_1.1
-end
-
-function s_seq_read
-include <s_string.h>
-declaration string *s_seq_read(FILE *fp, string *to, int lineortoken)
-arch sparc i386
-version SUNWprivate_1.1
-end
-
-function s_skipwhite
-include <s_string.h>
-declaration void s_skipwhite(string *from)
-arch sparc i386
-version SUNWprivate_1.1
-end
-
-function s_tok
-include <s_string.h>
-declaration string *s_tok(string*, char*)
-arch sparc i386
-version SUNWprivate_1.1
-end
-
-function s_tolower
-include <s_string.h>
-declaration void s_tolower(string*)
-arch sparc i386
-version SUNWprivate_1.1
-end
diff --git a/usr/src/lib/libmail/spec/sparc/Makefile b/usr/src/lib/libmail/spec/sparc/Makefile
deleted file mode 100644
index dfa6699b45..0000000000
--- a/usr/src/lib/libmail/spec/sparc/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1999, by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libmail/spec/sparc/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#sparc_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libmail/spec/sparcv9/Makefile b/usr/src/lib/libmail/spec/sparcv9/Makefile
deleted file mode 100644
index 587fa638cb..0000000000
--- a/usr/src/lib/libmail/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,45 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1999, by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libmail/spec/sparcv9/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#sparcv9_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libmail/spec/versions b/usr/src/lib/libmail/spec/versions
deleted file mode 100644
index 38a2cfc77a..0000000000
--- a/usr/src/lib/libmail/spec/versions
+++ /dev/null
@@ -1,43 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-sparc {
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-sparcv9 {
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-i386 {
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-amd64 {
- SUNW_1.1;
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/libmalloc/Makefile b/usr/src/lib/libmalloc/Makefile
index ea938cf4ea..7087b8cdde 100644
--- a/usr/src/lib/libmalloc/Makefile
+++ b/usr/src/lib/libmalloc/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,17 +19,16 @@
# CDDL HEADER END
#
#
-# Copyright (c) 1989,1998-1999 by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libmalloc/Makefile
+# ident "%Z%%M% %I% %E% SMI"
#
include ../Makefile.lib
-SUBDIRS= spec .WAIT $(MACH) $(BUILD64) $(MACH64)
+SUBDIRS = $(MACH)
+$(BUILD64)SUBDIRS += $(MACH64)
all := TARGET= all
clean := TARGET= clean
@@ -69,7 +67,7 @@ install_h: $(ROOTHDRS)
check: $(CHECKHDRS)
-$(MACH) $(MACH64) spec: FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
_msg: $(MSGDOMAIN) $(POFILE)
@@ -90,4 +88,3 @@ $(MSGDOMAIN):
$(INS.dir)
FRC:
-
diff --git a/usr/src/lib/libmalloc/Makefile.com b/usr/src/lib/libmalloc/Makefile.com
index d969e8ac80..4380a1d20b 100644
--- a/usr/src/lib/libmalloc/Makefile.com
+++ b/usr/src/lib/libmalloc/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,13 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libmalloc/Makefile.com
-#
LIBRARY= libmalloc.a
VERS= .1
@@ -36,8 +33,7 @@ OBJECTS= malloc.o
# include library definitions
include ../../Makefile.lib
-MAPFILE= $(MAPDIR)/mapfile
-SRCS= $(OBJECTS:%.o=../common/%.c)
+SRCDIR = ../common
LIBS = $(DYNLIB) $(LINTLIB)
@@ -47,18 +43,13 @@ LINTFLAGS64 += -erroff=E_BAD_PTR_CAST_ALIGN
CFLAGS += $(CCVERBOSE)
CPPFLAGS += -D_REENTRANT
-DYNFLAGS += -M$(MAPFILE) $(ZINTERPOSE)
+DYNFLAGS += $(ZINTERPOSE)
LDLIBS += -lc
.KEEP_STATE:
lint: lintcheck
-$(DYNLIB): $(MAPFILE)
-
-$(MAPFILE):
- @cd $(MAPDIR); $(MAKE) mapfile
-
# include library targets
include ../../Makefile.targ
diff --git a/usr/src/lib/libmalloc/amd64/Makefile b/usr/src/lib/libmalloc/amd64/Makefile
index 0130b72d08..d50a21bdb0 100644
--- a/usr/src/lib/libmalloc/amd64/Makefile
+++ b/usr/src/lib/libmalloc/amd64/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,13 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-MAPDIR= ../spec/amd64
include ../Makefile.com
include ../../Makefile.lib.64
diff --git a/usr/src/lib/libmalloc/common/mapfile-vers b/usr/src/lib/libmalloc/common/mapfile-vers
new file mode 100644
index 0000000000..b5df955077
--- /dev/null
+++ b/usr/src/lib/libmalloc/common/mapfile-vers
@@ -0,0 +1,54 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNW_1.1.1 {
+ global:
+ memalign = NODIRECT;
+ valloc = NODIRECT;
+} SUNW_1.1;
+
+SUNW_1.1 {
+ global:
+ calloc = NODIRECT;
+ cfree = NODIRECT;
+ _cfree = NODIRECT;
+ free = NODIRECT;
+ mallinfo = NODIRECT;
+ _mallinfo = NODIRECT;
+ malloc = NODIRECT;
+ mallopt = NODIRECT;
+ _mallopt = NODIRECT;
+ realloc = NODIRECT;
+};
+
+SUNWprivate_1.1 {
+ global:
+ _memalign = NODIRECT;
+ _valloc = NODIRECT;
+ local:
+ *;
+};
diff --git a/usr/src/lib/libmalloc/i386/Makefile b/usr/src/lib/libmalloc/i386/Makefile
index db004a3b26..87b5005f59 100644
--- a/usr/src/lib/libmalloc/i386/Makefile
+++ b/usr/src/lib/libmalloc/i386/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,15 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright 1997-2003 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libmalloc/i386/Makefile
-#
-MAPDIR= ../spec/i386
include ../Makefile.com
.KEEP_STATE:
diff --git a/usr/src/lib/libmalloc/sparc/Makefile b/usr/src/lib/libmalloc/sparc/Makefile
index c8c56e1eba..87b5005f59 100644
--- a/usr/src/lib/libmalloc/sparc/Makefile
+++ b/usr/src/lib/libmalloc/sparc/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,15 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright 1997-2003 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libmalloc/sparc/Makefile
-#
-MAPDIR= ../spec/sparc
include ../Makefile.com
.KEEP_STATE:
diff --git a/usr/src/lib/libmalloc/sparcv9/Makefile b/usr/src/lib/libmalloc/sparcv9/Makefile
index a399a598f0..d50a21bdb0 100644
--- a/usr/src/lib/libmalloc/sparcv9/Makefile
+++ b/usr/src/lib/libmalloc/sparcv9/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,15 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libmalloc/sparcv9/Makefile
+# ident "%Z%%M% %I% %E% SMI"
#
-MAPDIR= ../spec/sparcv9
include ../Makefile.com
include ../../Makefile.lib.64
diff --git a/usr/src/lib/libmalloc/spec/Makefile b/usr/src/lib/libmalloc/spec/Makefile
deleted file mode 100644
index 8f0318ff3f..0000000000
--- a/usr/src/lib/libmalloc/spec/Makefile
+++ /dev/null
@@ -1,29 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1998-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libmalloc/spec/Makefile
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/libmalloc/spec/Makefile.targ b/usr/src/lib/libmalloc/spec/Makefile.targ
deleted file mode 100644
index 632b71c117..0000000000
--- a/usr/src/lib/libmalloc/spec/Makefile.targ
+++ /dev/null
@@ -1,33 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1998-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libmalloc/spec/Makefile.targ
-
-LIBRARY = libmalloc.a
-VERS = .1
-
-OBJECTS = malloc.o
-
diff --git a/usr/src/lib/libmalloc/spec/amd64/Makefile b/usr/src/lib/libmalloc/spec/amd64/Makefile
deleted file mode 100644
index 453c0ea671..0000000000
--- a/usr/src/lib/libmalloc/spec/amd64/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#amd64_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libmalloc/spec/i386/Makefile b/usr/src/lib/libmalloc/spec/i386/Makefile
deleted file mode 100644
index da4f5ca90b..0000000000
--- a/usr/src/lib/libmalloc/spec/i386/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1998-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libmalloc/spec/i386/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#i386_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libmalloc/spec/malloc.spec b/usr/src/lib/libmalloc/spec/malloc.spec
deleted file mode 100644
index 579ecbcd9e..0000000000
--- a/usr/src/lib/libmalloc/spec/malloc.spec
+++ /dev/null
@@ -1,108 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libmalloc/spec/malloc.spec
-
-function free extends libc/spec/gen.spec free
-version SUNW_1.1
-binding nodirect
-end
-
-function calloc extends libc/spec/gen.spec calloc
-version SUNW_1.1
-binding nodirect
-end
-
-function malloc extends libc/spec/gen.spec malloc
-version SUNW_1.1
-binding nodirect
-end
-
-function realloc extends libc/spec/gen.spec realloc
-version SUNW_1.1
-binding nodirect
-end
-
-function memalign extends libc/spec/gen.spec memalign
-version SUNW_1.1.1
-binding nodirect
-end
-
-function _memalign
-weak memalign
-version SUNWprivate_1.1
-binding nodirect
-end
-
-function valloc extends libc/spec/gen.spec valloc
-version SUNW_1.1.1
-binding nodirect
-end
-
-function _valloc
-weak valloc
-version SUNWprivate_1.1
-binding nodirect
-end
-
-function mallopt
-include <malloc.h>
-declaration int mallopt(int cmd, int value)
-version SUNW_1.1
-exception $return != 0
-binding nodirect
-end
-
-function _mallopt
-weak mallopt
-version SUNW_1.1
-binding nodirect
-end
-
-function mallinfo
-include <malloc.h>
-declaration struct mallinfo mallinfo(void)
-version SUNW_1.1
-binding nodirect
-end
-
-function _mallinfo
-weak mallinfo
-version SUNW_1.1
-binding nodirect
-end
-
-function cfree
-declaration void cfree(char *p, unsigned int num, unsigned int size)
-version SUNW_1.1
-binding nodirect
-end
-
-function _cfree
-weak cfree
-version SUNW_1.1
-binding nodirect
-end
diff --git a/usr/src/lib/libmalloc/spec/sparc/Makefile b/usr/src/lib/libmalloc/spec/sparc/Makefile
deleted file mode 100644
index 90145115fc..0000000000
--- a/usr/src/lib/libmalloc/spec/sparc/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1998-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libmalloc/spec/sparc/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#sparc_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libmalloc/spec/sparcv9/Makefile b/usr/src/lib/libmalloc/spec/sparcv9/Makefile
deleted file mode 100644
index e58792b19d..0000000000
--- a/usr/src/lib/libmalloc/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,45 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1998-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libmalloc/spec/sparcv9/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#sparcv9_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libmalloc/spec/versions b/usr/src/lib/libmalloc/spec/versions
deleted file mode 100644
index aa4d8b22ee..0000000000
--- a/usr/src/lib/libmalloc/spec/versions
+++ /dev/null
@@ -1,47 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-sparc {
- SUNW_1.1.1: {SUNW_1.1};
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-sparcv9 {
- SUNW_1.1.1: {SUNW_1.1};
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-i386 {
- SUNW_1.1.1: {SUNW_1.1};
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-amd64 {
- SUNW_1.1.1: {SUNW_1.1};
- SUNW_1.1;
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/libmapid/Makefile b/usr/src/lib/libmapid/Makefile
index 290ad0391f..77403556e8 100644
--- a/usr/src/lib/libmapid/Makefile
+++ b/usr/src/lib/libmapid/Makefile
@@ -19,8 +19,8 @@
# CDDL HEADER END
#
#
-# Copyright 2006 Sun Microsystems, Inc.
-# All rights reserved. Use is subject to license terms.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
@@ -40,15 +40,13 @@ lint := TARGET = lint
.KEEP_STATE:
-all clean clobber lint install: spec .WAIT $(SUBDIRS)
-
-lint: $(SUBDIRS)
+all clean clobber lint install lint: $(SUBDIRS)
install_h: $(ROOTHDRS)
check: $(CHECKHDRS)
-$(SUBDIRS) spec: FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
diff --git a/usr/src/lib/libmapid/Makefile.com b/usr/src/lib/libmapid/Makefile.com
index a84f6962a4..1945db1e85 100644
--- a/usr/src/lib/libmapid/Makefile.com
+++ b/usr/src/lib/libmapid/Makefile.com
@@ -19,8 +19,8 @@
# CDDL HEADER END
#
#
-# Copyright 2006 Sun Microsystems, Inc.
-# All rights reserved. Use is subject to license terms.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
@@ -51,9 +51,6 @@ $(LINTLIB) := SRCS = $(SRCDIR)/$(LINTSRC)
LDLIBS += -lresolv -lcmd -lc
-MAPDIR = ../spec/$(TRANSMACH)
-SPECMAPFILE = $(MAPDIR)/mapfile
-
CFLAGS += $(CCVERBOSE)
CPPFLAGS+= -I$(SRCDIR) -D_REENTRANT
diff --git a/usr/src/lib/libmapid/common/mapfile-vers b/usr/src/lib/libmapid/common/mapfile-vers
new file mode 100644
index 0000000000..e8c9cf9e8c
--- /dev/null
+++ b/usr/src/lib/libmapid/common/mapfile-vers
@@ -0,0 +1,36 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNWprivate_1.1 {
+ global:
+ mapid_derive_domain;
+ mapid_get_domain;
+ mapid_reeval_domain;
+ mapid_stdchk_domain;
+ local:
+ *;
+};
diff --git a/usr/src/lib/libmapid/spec/Makefile b/usr/src/lib/libmapid/spec/Makefile
deleted file mode 100644
index 17689ea886..0000000000
--- a/usr/src/lib/libmapid/spec/Makefile
+++ /dev/null
@@ -1,55 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-#
-# As per $(SRC)/lib/README.Makefiles, this could've been as easy as
-#
-#include $(SRC)/lib/Makefile.spec.arch
-#
-# ... but we don't want/need to deliver 64 bit libraries; thus we need
-# to override the inclusion of the Makefile and build only the targets
-# for $(MACH) instead of $(MACH)_ARCHITECTURES
-#
-all := TARGET= all
-install := TARGET= install
-clean := TARGET= clean
-clobber := TARGET= clobber
-lint := TARGET= lint
-
-.KEEP_STATE:
-
-all install clean clobber: $(MACH)
-
-$(MACH): FRC
- @cd $@; pwd; $(MAKE) $(TARGET)
-
-IGNORE= _msg catalog install_h delete \
- package tcov debug private_h \
- check analyse test dynamic lint
-$(IGNORE):
-
-FRC:
diff --git a/usr/src/lib/libmapid/spec/Makefile.targ b/usr/src/lib/libmapid/spec/Makefile.targ
deleted file mode 100644
index f8d074e5dc..0000000000
--- a/usr/src/lib/libmapid/spec/Makefile.targ
+++ /dev/null
@@ -1,30 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-LIBRARY = libmapid.a
-VERS = .1
-OBJECTS = mapid.o
-SPECCPP =
diff --git a/usr/src/lib/libmapid/spec/mapid.spec b/usr/src/lib/libmapid/spec/mapid.spec
deleted file mode 100644
index b5176dc047..0000000000
--- a/usr/src/lib/libmapid/spec/mapid.spec
+++ /dev/null
@@ -1,51 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# $(SRC)/lib/libmapid/spec/mapid.spec
-
-function mapid_stdchk_domain
-include <nfs/mapid.h>
-declaration int mapid_stdchk_domain(const char *)
-version SUNWprivate_1.1
-end
-
-function mapid_get_domain
-include <nfs/mapid.h>
-declaration char *mapid_get_domain(void)
-version SUNWprivate_1.1
-end
-
-function mapid_reeval_domain
-include <nfs/mapid.h>
-declaration void mapid_reeval_domain(cb_t *)
-version SUNWprivate_1.1
-end
-
-function mapid_derive_domain
-include <nfs/mapid.h>
-declaration char *mapid_derive_domain(void)
-version SUNWprivate_1.1
-end
diff --git a/usr/src/lib/libmapid/spec/sparc/Makefile b/usr/src/lib/libmapid/spec/sparc/Makefile
deleted file mode 100644
index eea4352b2d..0000000000
--- a/usr/src/lib/libmapid/spec/sparc/Makefile
+++ /dev/null
@@ -1,39 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libmapmalloc/Makefile b/usr/src/lib/libmapmalloc/Makefile
index 393a0b81bc..9adf3c57ee 100644
--- a/usr/src/lib/libmapmalloc/Makefile
+++ b/usr/src/lib/libmapmalloc/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,18 +19,17 @@
# CDDL HEADER END
#
#
-#ident "%Z%%M% %I% %E% SMI"
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-# Copyright (c) 1989,1998-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libmapmalloc/Makefile
+# ident "%Z%%M% %I% %E% SMI"
#
include ../../Makefile.master
include ../Makefile.lib
-SUBDIRS= spec .WAIT $(MACH) $(BUILD64) $(MACH64)
+SUBDIRS = $(MACH)
+$(BUILD64)SUBDIRS += $(MACH64)
all := TARGET= all
clean := TARGET= clean
@@ -42,8 +40,6 @@ lint := TARGET= lint
_msg := TARGET= _msg
package := TARGET= package
-_msg := TARGET= _msg
-
LIBRARY= libmapmalloc.a
TEXT_DOMAIN= SUNW_OST_OSLIB
XGETFLAGS= -a
@@ -72,7 +68,7 @@ install_h: $(ROOTHDRS)
check: $(CHECKHDRS)
-$(MACH) $(MACH64) spec: FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
_msg: $(MSGDOMAIN) $(POFILE)
diff --git a/usr/src/lib/libmapmalloc/Makefile.com b/usr/src/lib/libmapmalloc/Makefile.com
index a7e8467914..a25eceaf54 100644
--- a/usr/src/lib/libmapmalloc/Makefile.com
+++ b/usr/src/lib/libmapmalloc/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,13 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libmapmalloc/Makefile.com
-#
LIBRARY= libmapmalloc.a
VERS= .1
@@ -41,8 +38,7 @@ OBJECTS= \
# include library definitions
include ../../Makefile.lib
-MAPFILE= $(MAPDIR)/mapfile
-SRCS= $(OBJECTS:%.o=../common/%.c)
+SRCDIR = ../common
LIBS = $(DYNLIB) $(LINTLIB)
@@ -50,18 +46,13 @@ LINTSRC= $(LINTLIB:%.ln=%)
CFLAGS += $(CCVERBOSE)
CPPFLAGS += -D_REENTRANT
-DYNFLAGS += -M$(MAPFILE) $(ZINTERPOSE)
+DYNFLAGS += $(ZINTERPOSE)
LDLIBS += -lc
.KEEP_STATE:
lint: lintcheck
-$(DYNLIB): $(MAPFILE)
-
-$(MAPFILE):
- @cd $(MAPDIR); $(MAKE) mapfile
-
# include library targets
include ../../Makefile.targ
diff --git a/usr/src/lib/libmapmalloc/amd64/Makefile b/usr/src/lib/libmapmalloc/amd64/Makefile
index 5f23f3b9a7..70e24a9a5d 100644
--- a/usr/src/lib/libmapmalloc/amd64/Makefile
+++ b/usr/src/lib/libmapmalloc/amd64/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-MAPDIR= ../spec/amd64
-
include ../Makefile.com
include ../../Makefile.lib.64
diff --git a/usr/src/lib/fm/libfmd_snmp/spec/sparcv9/Makefile b/usr/src/lib/libmapmalloc/common/mapfile-vers
index aced5376d3..96815ef28d 100644
--- a/usr/src/lib/fm/libfmd_snmp/spec/sparcv9/Makefile
+++ b/usr/src/lib/libmapmalloc/common/mapfile-vers
@@ -18,7 +18,6 @@
#
# CDDL HEADER END
#
-
#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
@@ -26,12 +25,31 @@
# ident "%Z%%M% %I% %E% SMI"
#
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
+# Due to mistakes made early in the history of this library, there are
+# no SUNW_1.1 symbols, but the version is now kept as a placeholder.
+# Don't add any symbols to this version.
+
+SUNW_1.1 {
+ global:
+ SUNW_1.1;
+} SUNW_0.7;
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-include $(SRC)/lib/Makefile.spec
+SUNW_0.7 {
+ global:
+ calloc = NODIRECT;
+ cfree = NODIRECT;
+ free = NODIRECT;
+ mallinfo = NODIRECT;
+ malloc = NODIRECT;
+ mallopt = NODIRECT;
+ memalign = NODIRECT;
+ realloc = NODIRECT;
+ valloc = NODIRECT;
+};
-$(DISABLE_APPTRACE)install: $(ROOTABILIB64)
+SUNWprivate_1.1 {
+ global:
+ __mallinfo = NODIRECT;
+ local:
+ *;
+};
diff --git a/usr/src/lib/libmapmalloc/i386/Makefile b/usr/src/lib/libmapmalloc/i386/Makefile
index d2ad6e3445..2a944b0b43 100644
--- a/usr/src/lib/libmapmalloc/i386/Makefile
+++ b/usr/src/lib/libmapmalloc/i386/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,15 +19,11 @@
# CDDL HEADER END
#
#
-#ident "%Z%%M% %I% %E% SMI"
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
+# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libmapmalloc/i386/Makefile
-#
-
-MAPDIR= ../spec/i386
include ../Makefile.com
diff --git a/usr/src/lib/libmapmalloc/sparc/Makefile b/usr/src/lib/libmapmalloc/sparc/Makefile
index 7f5240bb86..2a944b0b43 100644
--- a/usr/src/lib/libmapmalloc/sparc/Makefile
+++ b/usr/src/lib/libmapmalloc/sparc/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,15 +19,11 @@
# CDDL HEADER END
#
#
-#ident "%Z%%M% %I% %E% SMI"
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
+# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libmapmalloc/sparc/Makefile
-#
-
-MAPDIR= ../spec/sparc
include ../Makefile.com
diff --git a/usr/src/lib/libmapmalloc/sparcv9/Makefile b/usr/src/lib/libmapmalloc/sparcv9/Makefile
index eb031f8aa6..70e24a9a5d 100644
--- a/usr/src/lib/libmapmalloc/sparcv9/Makefile
+++ b/usr/src/lib/libmapmalloc/sparcv9/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,15 +19,11 @@
# CDDL HEADER END
#
#
-#ident "%Z%%M% %I% %E% SMI"
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
+# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libmapmalolloc/sparcv9/Makefile
-#
-
-MAPDIR= ../spec/sparcv9
include ../Makefile.com
include ../../Makefile.lib.64
diff --git a/usr/src/lib/libmapmalloc/spec/Makefile b/usr/src/lib/libmapmalloc/spec/Makefile
deleted file mode 100644
index 199af00347..0000000000
--- a/usr/src/lib/libmapmalloc/spec/Makefile
+++ /dev/null
@@ -1,29 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1998-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libmapmalloc/spec/Makefile
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/libmapmalloc/spec/Makefile.targ b/usr/src/lib/libmapmalloc/spec/Makefile.targ
deleted file mode 100644
index 856510644c..0000000000
--- a/usr/src/lib/libmapmalloc/spec/Makefile.targ
+++ /dev/null
@@ -1,33 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1998-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libmapmalloc/spec/Makefile.targ
-
-LIBRARY = libmapmalloc.a
-VERS = .1
-
-OBJECTS = mapmalloc.o
-
diff --git a/usr/src/lib/libmapmalloc/spec/amd64/Makefile b/usr/src/lib/libmapmalloc/spec/amd64/Makefile
deleted file mode 100644
index 47aa59af67..0000000000
--- a/usr/src/lib/libmapmalloc/spec/amd64/Makefile
+++ /dev/null
@@ -1,49 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#amd64_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-# We set ABILLIBC here because libmapmalloc is built before libc
-# and we most avoid ABILLIBC= -lc -z defs from Makefile.spec
-# (-z defs can cause build failures at this point)
-ABILLIBC= -lc
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libmapmalloc/spec/i386/Makefile b/usr/src/lib/libmapmalloc/spec/i386/Makefile
deleted file mode 100644
index e5cf096471..0000000000
--- a/usr/src/lib/libmapmalloc/spec/i386/Makefile
+++ /dev/null
@@ -1,49 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 1998-2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libmapmalloc/spec/i386/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#i386_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-# We set ABILLIBC here because libmapmalloc is built before libc
-# and we most avoid ABILLIBC= -lc -z defs from Makefile.spec
-# (-z defs can cause build failures at this point)
-ABILLIBC= -lc
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libmapmalloc/spec/mapmalloc.spec b/usr/src/lib/libmapmalloc/spec/mapmalloc.spec
deleted file mode 100644
index fe433cd09c..0000000000
--- a/usr/src/lib/libmapmalloc/spec/mapmalloc.spec
+++ /dev/null
@@ -1,85 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libmapmalloc/spec/mapmalloc.spec
-
-function mallopt
-include <stdlib.h>, <malloc.h>
-declaration int mallopt(int cmd, int value )
-version SUNW_0.7
-errno ENOMEM EAGAIN
-exception $return != 0
-binding nodirect
-end
-
-function mallinfo
-include <stdlib.h>, <malloc.h>
-declaration struct mallinfo mallinfo(void )
-version SUNW_0.7
-errno ENOMEM EAGAIN
-binding nodirect
-end
-
-function malloc extends libc/spec/gen.spec malloc
-version SUNW_0.7
-binding nodirect
-end
-
-function calloc extends libc/spec/gen.spec calloc
-version SUNW_0.7
-binding nodirect
-end
-
-function free extends libc/spec/gen.spec free
-version SUNW_0.7
-binding nodirect
-end
-
-function memalign extends libc/spec/gen.spec memalign
-version SUNW_0.7
-binding nodirect
-end
-
-function realloc extends libc/spec/gen.spec realloc
-version SUNW_0.7
-binding nodirect
-end
-
-function valloc extends libc/spec/gen.spec valloc
-version SUNW_0.7
-binding nodirect
-end
-
-function cfree extends libc/spec/gen.spec cfree
-version SUNW_0.7
-binding nodirect
-end
-
-# required by sbcp.
-function __mallinfo
-version SUNWprivate_1.1
-binding nodirect
-end
diff --git a/usr/src/lib/libmapmalloc/spec/sparc/Makefile b/usr/src/lib/libmapmalloc/spec/sparc/Makefile
deleted file mode 100644
index 3ed6f4b565..0000000000
--- a/usr/src/lib/libmapmalloc/spec/sparc/Makefile
+++ /dev/null
@@ -1,49 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 1998-2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libaio/spec/sparc/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#sparc_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-# We set ABILLIBC here because libmapmalloc is built before libc
-# and we most avoid ABILLIBC= -lc -z defs from Makefile.spec
-# (-z defs can cause build failures at this point)
-ABILLIBC= -lc
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libmapmalloc/spec/sparcv9/Makefile b/usr/src/lib/libmapmalloc/spec/sparcv9/Makefile
deleted file mode 100644
index ecf35cd331..0000000000
--- a/usr/src/lib/libmapmalloc/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,50 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 1998-2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libaio/spec/sparcv9/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#sparcv9_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-# We set ABILLIBC here because libmapmalloc is built before libc
-# and we most avoid ABILLIBC= -lc -z defs from Makefile.spec
-# (-z defs can cause build failures at this point)
-ABILLIBC= -lc
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libmapmalloc/spec/versions b/usr/src/lib/libmapmalloc/spec/versions
deleted file mode 100644
index 2fed5f1c60..0000000000
--- a/usr/src/lib/libmapmalloc/spec/versions
+++ /dev/null
@@ -1,52 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# Note: Even though the SUNW_1.1 version now contains no symbols
-# beyond what was present at Solaris 2.3, the SUNW_1.1 version MUST be
-# present. This is because applications built on 2.6 Beta
-# (when it did contain symbols explicitly) may depend on it.
-#
-
-sparc {
- SUNW_1.1: {SUNW_0.7};
- SUNW_0.7;
- SUNWprivate_1.1;
-}
-sparcv9 {
- SUNW_1.1: {SUNW_0.7};
- SUNW_0.7;
- SUNWprivate_1.1;
-}
-i386 {
- SUNW_1.1: {SUNW_0.7};
- SUNW_0.7;
- SUNWprivate_1.1;
-}
-amd64 {
- SUNW_1.1: {SUNW_0.7};
- SUNW_0.7;
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/libmd/Makefile b/usr/src/lib/libmd/Makefile
index 8d883853e6..16ca733489 100644
--- a/usr/src/lib/libmd/Makefile
+++ b/usr/src/lib/libmd/Makefile
@@ -19,12 +19,10 @@
# CDDL HEADER END
#
#
-# ident "%Z%%M% %I% %E% SMI"
-#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# lib/libmd/Makefile
+# ident "%Z%%M% %I% %E% SMI"
#
include ../Makefile.lib
@@ -45,19 +43,15 @@ lint := TARGET= lint
.KEEP_STATE:
-.PARALLEL: $(MACH) $(MACH64) $(PLATFORMS)
-
-all install: spec .WAIT $(SUBDIRS)
-
-clean clobber: $(SUBDIRS)
+.PARALLEL: $(SUBDIRS)
-lint: $(SUBDIRS)
+all clean clobber install lint: $(SUBDIRS)
install_h: $(ROOTHDRS)
check: $(CHECKHDRS)
-spec $(MACH) $(MACH64) $(PLATFORMS): FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
diff --git a/usr/src/lib/libmd/Makefile.com b/usr/src/lib/libmd/Makefile.com
index d872a0c83e..a32420fa42 100644
--- a/usr/src/lib/libmd/Makefile.com
+++ b/usr/src/lib/libmd/Makefile.com
@@ -24,8 +24,6 @@
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libmd/Makefile.com
-#
# $LIBRARY is set in lower makefiles so we can have platform and
# processor optimised versions of this library via libmd_psr and libmd_hwcapN
@@ -54,8 +52,6 @@ LDLIBS += -lc
SRCDIR = ../common
COMDIR = $(SRC)/common/crypto
-MAPDIR = ../spec/$(TRANSMACH)
-SPECMAPFILE = $(MAPDIR)/mapfile
CFLAGS += $(CCVERBOSE) $(C_BIGPICFLAGS)
CFLAGS64 += $(C_BIGPICFLAGS)
diff --git a/usr/src/lib/libmd/common/mapfile-vers b/usr/src/lib/libmd/common/mapfile-vers
new file mode 100644
index 0000000000..909d089c46
--- /dev/null
+++ b/usr/src/lib/libmd/common/mapfile-vers
@@ -0,0 +1,54 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNW_1.1 {
+ global:
+ MD4Final;
+ MD4Init;
+ MD4Update;
+ md5_calc;
+ MD5Final;
+ MD5Init;
+ MD5Update;
+ SHA1Final;
+ SHA1Init;
+ SHA1Update;
+ SHA256Final;
+ SHA256Init;
+ SHA256Update;
+ SHA2Final;
+ SHA2Init;
+ SHA2Update;
+ SHA384Final;
+ SHA384Init;
+ SHA384Update;
+ SHA512Final;
+ SHA512Init;
+ SHA512Update;
+ local:
+ *;
+};
diff --git a/usr/src/lib/libmd/spec/Makefile b/usr/src/lib/libmd/spec/Makefile
deleted file mode 100644
index 98e4eb2a33..0000000000
--- a/usr/src/lib/libmd/spec/Makefile
+++ /dev/null
@@ -1,29 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-
-include $(SRC)/lib/Makefile.spec.arch
-
-$(SPARC_BLD)SUBDIRS += sun4u sun4v
diff --git a/usr/src/lib/libmd/spec/Makefile.targ b/usr/src/lib/libmd/spec/Makefile.targ
deleted file mode 100644
index 6f966d7486..0000000000
--- a/usr/src/lib/libmd/spec/Makefile.targ
+++ /dev/null
@@ -1,32 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-
-LIBRARY= libmd.a
-VERS= .1
-
-OBJECTS= md.o
-
-SPECCPP += -I../../
diff --git a/usr/src/lib/libmd/spec/amd64/Makefile b/usr/src/lib/libmd/spec/amd64/Makefile
deleted file mode 100644
index a474b4b09b..0000000000
--- a/usr/src/lib/libmd/spec/amd64/Makefile
+++ /dev/null
@@ -1,35 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-include $(SRC)/lib/Makefile.spec
-
-.KEEP_STATE:
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libmd/spec/i386/Makefile b/usr/src/lib/libmd/spec/i386/Makefile
deleted file mode 100644
index 4dd0d6208e..0000000000
--- a/usr/src/lib/libmd/spec/i386/Makefile
+++ /dev/null
@@ -1,34 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# lib/libmd5/spec/i386/Makefile
-#
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libmd/spec/md.spec b/usr/src/lib/libmd/spec/md.spec
deleted file mode 100644
index 7fc227873e..0000000000
--- a/usr/src/lib/libmd/spec/md.spec
+++ /dev/null
@@ -1,192 +0,0 @@
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-
-#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-
-# ident "%Z%%M% %I% %E% SMI"
-
-function MD5Init
-include <md5.h>
-declaration void MD5Init(MD5_CTX *context)
-version SUNW_1.1
-end
-
-function MD5Update
-include <md5.h>
-declaration void MD5Update(MD5_CTX *context, \
- const void *input, \
- unsigned int inputLen)
-version SUNW_1.1
-end
-
-function MD5Final
-include <md5.h>
-declaration void MD5Final(void *digest, MD5_CTX *context)
-version SUNW_1.1
-end
-
-function md5_calc
-declaration void md5_calc(void *output, \
- const void *input, \
- unsigned int inlen)
-version SUNW_1.1
-end
-
-function SHA1Init
-include <sha1.h>
-declaration void SHA1Init(SHA1_CTX *context)
-version SUNW_1.1
-end
-
-function SHA1Update
-include <sha1.h>
-declaration void SHA1Update(SHA1_CTX *context, \
- const void *input, \
- unsigned int inputLen)
-version SUNW_1.1
-end
-
-function SHA1Final
-include <sha1.h>
-declaration void SHA1Final(void *, SHA1_CTX *context)
-version SUNW_1.1
-end
-
-function SHA1Init
-include <sha1.h>
-declaration void SHA1Init(SHA1_CTX *context)
-version SUNW_1.1
-end
-
-function SHA1Update
-include <sha1.h>
-declaration void SHA1Update(SHA1_CTX *context, \
- const void *input, \
- unsigned int inputLen)
-version SUNW_1.1
-end
-
-function SHA1Final
-include <sha1.h>
-declaration void SHA1Final(void *digest, SHA1_CTX *context)
-version SUNW_1.1
-end
-
-function SHA2Init
-include <sha2.h>
-declaration void SHA2Init(uint64_t mech, SHA2_CTX *context)
-version SUNW_1.1
-end
-
-function SHA2Update
-include <sha2.h>
-declaration void SHA2Update(SHA2_CTX *context, \
- const void *input, \
- size_t inputLen)
-version SUNW_1.1
-end
-
-function SHA2Final
-include <sha2.h>
-declaration void SHA2Final(void *digest, SHA2_CTX *context)
-version SUNW_1.1
-end
-
-function SHA256Init
-include <sha2.h>
-declaration void SHA2Init(uint64_t mech, SHA2_CTX *context)
-version SUNW_1.1
-end
-
-function SHA256Update
-include <sha2.h>
-declaration void SHA2Update(SHA2_CTX *context, \
- const void *input, \
- size_t inputLen)
-version SUNW_1.1
-end
-
-function SHA256Final
-include <sha2.h>
-declaration void SHA256Final(void *digest, SHA256_CTX *context)
-version SUNW_1.1
-end
-
-function SHA384Init
-include <sha2.h>
-declaration void SHA384Init(uint64_t mech, SHA384_CTX *context)
-version SUNW_1.1
-end
-
-function SHA384Update
-include <sha2.h>
-declaration void SHA384Update(SHA384_CTX *context, \
- const void *input, \
- size_t inputLen)
-version SUNW_1.1
-end
-
-function SHA384Final
-include <sha2.h>
-declaration void SHA384Final(void *digest, SHA384_CTX *context)
-version SUNW_1.1
-end
-
-function SHA512Init
-include <sha2.h>
-declaration void SHA512Init(uint64_t mech, SHA512_CTX *context)
-version SUNW_1.1
-end
-
-function SHA512Update
-include <sha2.h>
-declaration void SHA512Update(SHA512_CTX *context, \
- const void *input, \
- size_t inputLen)
-version SUNW_1.1
-end
-
-function SHA512Final
-include <sha2.h>
-declaration void SHA512Final(void *digest, SHA512_CTX *context)
-version SUNW_1.1
-end
-
-function MD4Init
-include <md4.h>
-declaration void MD4Init(MD4_CTX *context)
-version SUNW_1.1
-end
-
-function MD4Update
-include <md4.h>
-declaration void MD4Update(MD4_CTX *context, \
- const void *input, \
- unsigned int inputLen)
-version SUNW_1.1
-end
-
-function MD4Final
-include <md4.h>
-declaration void MD4Final(void *digest, MD4_CTX *context)
-version SUNW_1.1
-end
diff --git a/usr/src/lib/libmd/spec/sparc/Makefile b/usr/src/lib/libmd/spec/sparc/Makefile
deleted file mode 100644
index b03a759294..0000000000
--- a/usr/src/lib/libmd/spec/sparc/Makefile
+++ /dev/null
@@ -1,32 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libmd/spec/sparcv9/Makefile b/usr/src/lib/libmd/spec/sparcv9/Makefile
deleted file mode 100644
index b8c5ba76bb..0000000000
--- a/usr/src/lib/libmd/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,35 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# lib/libmd/spec/sparcv9/Makefile
-#
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libmd/sun4u/sparc/Makefile b/usr/src/lib/libmd/sun4u/sparc/Makefile
index cac5b1d58d..426b732d4e 100644
--- a/usr/src/lib/libmd/sun4u/sparc/Makefile
+++ b/usr/src/lib/libmd/sun4u/sparc/Makefile
@@ -23,6 +23,7 @@
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
+#
CLASS = 32
PLATFORM = sun4u
@@ -34,9 +35,7 @@ include ../Makefile.com
# set of algortithm optimisations and thus different source and object files.
OBJECTS = md5.o sha1.o sha1_asm.o
-SPECMAPFILE=
-MAPFILE= mapfile
-DYNFLAGS += -M$(MAPFILE)
+MAPFILES = mapfile
ASFLAGS += -xarch=v8plusa -warn
@@ -45,8 +44,6 @@ ASFLAGS += -xarch=v8plusa -warn
BUILD.SO= $(LD) -o $@ -G $(DYNFLAGS) $(PICS) $(LDLIBS)
-$(DYNLIB): $(MAPFILE)
-
.KEEP_STATE:
all: $(LIBS)
diff --git a/usr/src/lib/libmd/sun4u/sparcv9/Makefile b/usr/src/lib/libmd/sun4u/sparcv9/Makefile
index aca34d4c3c..d553a99f5b 100644
--- a/usr/src/lib/libmd/sun4u/sparcv9/Makefile
+++ b/usr/src/lib/libmd/sun4u/sparcv9/Makefile
@@ -23,6 +23,7 @@
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
+#
CLASS = 64
PLATFORM = sun4u
@@ -35,9 +36,7 @@ include $(SRC)/lib/Makefile.lib.64
# set of algortithm optimisations and thus different source and object files.
OBJECTS = md5.o sha1.o sha1_asm.o
-SPECMAPFILE=
-MAPFILE= mapfile
-DYNFLAGS += -M$(MAPFILE)
+MAPFILES = mapfile
ASDEFS += -D__sparcv9
ASFLAGS += -xarch=v9a $(AS_BIGPICFLAGS)
@@ -47,8 +46,6 @@ ASFLAGS += -xarch=v9a $(AS_BIGPICFLAGS)
BUILD.SO= $(LD) -o $@ -G $(DYNFLAGS) $(PICS) $(LDLIBS)
-$(DYNLIB): $(MAPFILE)
-
.KEEP_STATE:
all: $(LIBS)
diff --git a/usr/src/lib/libmd/sun4v/sparc/Makefile b/usr/src/lib/libmd/sun4v/sparc/Makefile
index 2633839ee3..2ae6feae21 100644
--- a/usr/src/lib/libmd/sun4v/sparc/Makefile
+++ b/usr/src/lib/libmd/sun4v/sparc/Makefile
@@ -23,6 +23,7 @@
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
+#
CLASS = 32
PLATFORM = sun4v
@@ -34,9 +35,7 @@ include ../Makefile.com
# set of algortithm optimisations and thus different source and object files.
OBJECTS = md5.o
-SPECMAPFILE=
-MAPFILE= mapfile
-DYNFLAGS += -M$(MAPFILE)
+MAPFILES = mapfile
ASFLAGS += -xarch=v8plusa -warn
@@ -45,8 +44,6 @@ ASFLAGS += -xarch=v8plusa -warn
BUILD.SO= $(LD) -o $@ -G $(DYNFLAGS) $(PICS) $(LDLIBS)
-$(DYNLIB): $(MAPFILE)
-
.KEEP_STATE:
all: $(LIBS)
diff --git a/usr/src/lib/libmd/sun4v/sparcv9/Makefile b/usr/src/lib/libmd/sun4v/sparcv9/Makefile
index ac4ff682d3..4596401691 100644
--- a/usr/src/lib/libmd/sun4v/sparcv9/Makefile
+++ b/usr/src/lib/libmd/sun4v/sparcv9/Makefile
@@ -23,6 +23,7 @@
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
+#
CLASS = 64
PLATFORM = sun4v
@@ -35,9 +36,7 @@ include $(SRC)/lib/Makefile.lib.64
# set of algortithm optimisations and thus different source and object files.
OBJECTS = md5.o
-SPECMAPFILE=
-MAPFILE= mapfile
-DYNFLAGS += -M$(MAPFILE)
+MAPFILES = mapfile
ASDEFS += -D__sparcv9
ASFLAGS += -xarch=v9a $(AS_PICFLAGS)
@@ -47,8 +46,6 @@ ASFLAGS += -xarch=v9a $(AS_PICFLAGS)
BUILD.SO= $(LD) -o $@ -G $(DYNFLAGS) $(PICS) $(LDLIBS)
-$(DYNLIB): $(MAPFILE)
-
.KEEP_STATE:
all: $(LIBS)
diff --git a/usr/src/lib/libmd5/Makefile b/usr/src/lib/libmd5/Makefile
index 973a0bc83b..71408594af 100644
--- a/usr/src/lib/libmd5/Makefile
+++ b/usr/src/lib/libmd5/Makefile
@@ -18,13 +18,12 @@
#
# CDDL HEADER END
#
+#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libmd5/Makefile
include $(SRC)/Makefile.master
@@ -35,12 +34,13 @@ all := TARGET= all
clean := TARGET= clean
clobber := TARGET= clobber
install := TARGET= install
+lint := TARGET= lint
.KEEP_STATE:
.PARALLEL: $(MACH) $(MACH64)
-all clean clobber install: $(SUBDIRS)
+all clean clobber install lint: $(SUBDIRS)
$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
diff --git a/usr/src/lib/libmd5/Makefile.com b/usr/src/lib/libmd5/Makefile.com
index 1ef3db8a31..c07efd95b6 100644
--- a/usr/src/lib/libmd5/Makefile.com
+++ b/usr/src/lib/libmd5/Makefile.com
@@ -24,8 +24,6 @@
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libmd5/Makefile.com
-#
LIBRARY= libmd5.a
VERS= .1
@@ -33,16 +31,14 @@ VERS= .1
include ../../Makefile.lib
include ../../Makefile.rootfs
-MAPFILES= $(SRCDIR)/mapfile-vers $(MAPFILE-FLTR)
-MAPOPTS= $(MAPFILES:%=-M %)
-
-DYNFLAGS += -F libmd.so.1 $(MAPOPTS)
+DYNFLAGS += -F libmd.so.1
LIBS = $(DYNLIB) $(LINTLIB)
SRCDIR = ../common
$(LINTLIB) := SRCS = $(SRCDIR)/llib-lmd5
+MAPFILES += $(MAPFILE-FLTR)
# Redefine shared object build rule to use $(LD) directly (this avoids .init
# and .fini sections being added). Also, since there are no OBJECTS, turn
@@ -55,6 +51,6 @@ CTFMERGE_LIB= :
all: $(LIBS)
-include ../../Makefile.targ
+lint:
-$(DYNLIB): $(MAPFILES)
+include ../../Makefile.targ
diff --git a/usr/src/lib/libmd5/i386/Makefile b/usr/src/lib/libmd5/i386/Makefile
index 2bb20f4cd2..a333224278 100644
--- a/usr/src/lib/libmd5/i386/Makefile
+++ b/usr/src/lib/libmd5/i386/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,15 +19,12 @@
# CDDL HEADER END
#
#
-# ident "%Z%%M% %I% %E% SMI"
-#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# lib/libmd5/i386/Makefile
+# ident "%Z%%M% %I% %E% SMI"
#
-MAPDIR= ../spec/i386
include ../Makefile.com
install: all $(ROOTLIBS) $(ROOTLINKS) $(ROOTLINT)
diff --git a/usr/src/lib/libmp/Makefile b/usr/src/lib/libmp/Makefile
index 69a5be60f7..f4e1d98996 100644
--- a/usr/src/lib/libmp/Makefile
+++ b/usr/src/lib/libmp/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,15 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libmp/Makefile
-#
-# The builds occur in isa subdirectories.
-#
include ../../Makefile.master
include ../Makefile.lib
@@ -38,19 +33,17 @@ $(BUILD64)SUBDIRS += $(MACH64)
# conditional assignments
all := TARGET= all
-install := TARGET= install
clean := TARGET= clean
clobber := TARGET= clobber
+install := TARGET= install
lint := TARGET= lint
test := TARGET= test
.KEEP_STATE:
-all install clean clobber test: spec .WAIT $(SUBDIRS)
-
-lint: $(SUBDIRS)
+all clean clobber install lint test: $(SUBDIRS)
-spec $(SUBDIRS): FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
diff --git a/usr/src/lib/libmp/Makefile.com b/usr/src/lib/libmp/Makefile.com
index c695f1a910..e2123569a9 100644
--- a/usr/src/lib/libmp/Makefile.com
+++ b/usr/src/lib/libmp/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,15 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libmp/Makefile.com
-#
-# (libmp.so.1 is built from selected platform-specific makefiles)
-#
LIBRARY= libmp.a
VERS= .2
@@ -41,28 +36,19 @@ include ../../Makefile.lib
# install this library in the root filesystem
include ../../Makefile.rootfs
-MAPFILE= $(MAPDIR)/mapfile
-OMAPFILE= $(MAPDIR)/mapfile_1
-SRCS= $(OBJECTS:%.o=../common/%.c)
+SRCDIR = ../common
+
+OMAPFILE = ../common/mapfile_1-vers
LIBS = $(DYNLIB)
CFLAGS += $(CCVERBOSE)
-DYNFLAGS += -M $(MAPFILE)
LDLIBS += -lc
.KEEP_STATE:
lint: lintcheck
-$(DYNLIB): $(MAPFILE)
-
-$(MAPFILE):
- @cd $(MAPDIR); $(MAKE) mapfile
-
-$(OMAPFILE):
- @cd $(MAPDIR); $(MAKE) mapfile_1
-
#
# Include library targets
#
diff --git a/usr/src/lib/libmp/amd64/Makefile b/usr/src/lib/libmp/amd64/Makefile
index 8dc2052bf5..fc9ec9e40a 100644
--- a/usr/src/lib/libmp/amd64/Makefile
+++ b/usr/src/lib/libmp/amd64/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-MAPDIR= ../spec/amd64
-
include ../Makefile.com
include ../../Makefile.lib.64
diff --git a/usr/src/lib/libmp/common/mapfile-vers b/usr/src/lib/libmp/common/mapfile-vers
new file mode 100644
index 0000000000..8b075b3f54
--- /dev/null
+++ b/usr/src/lib/libmp/common/mapfile-vers
@@ -0,0 +1,55 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNW_1.1 {
+ global:
+ mp_gcd;
+ mp_itom;
+ mp_madd;
+ mp_mcmp;
+ mp_mdiv;
+ mp_mfree;
+ mp_min;
+ mp_mout;
+ mp_msqrt;
+ mp_msub;
+ mp_mtox;
+ mp_mult;
+ mp_pow;
+ mp_rpow;
+ mp_sdiv;
+ mp_xtom;
+};
+
+SUNWprivate_1.1 {
+ global:
+ _mp_move;
+ _mp_xalloc;
+ _mp_xfree;
+ local:
+ *;
+};
diff --git a/usr/src/lib/fm/libfmd_snmp/spec/sparc/Makefile b/usr/src/lib/libmp/common/mapfile_1-vers
index 0783a6dc00..399df9f10b 100644
--- a/usr/src/lib/fm/libfmd_snmp/spec/sparc/Makefile
+++ b/usr/src/lib/libmp/common/mapfile_1-vers
@@ -18,7 +18,6 @@
#
# CDDL HEADER END
#
-
#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
@@ -26,11 +25,31 @@
# ident "%Z%%M% %I% %E% SMI"
#
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
+SUNW_1.1 {
+ global:
+ gcd;
+ itom;
+ madd;
+ mcmp;
+ mdiv;
+ mfree;
+ min;
+ mout;
+ msqrt;
+ msub;
+ mtox;
+ mult;
+ pow;
+ rpow;
+ sdiv;
+ xtom;
+};
-$(DISABLE_APPTRACE)install: $(ROOTABILIB)
+SUNWprivate_1.1 {
+ global:
+ _lib_version;
+ xalloc;
+ xfree;
+ local:
+ *;
+};
diff --git a/usr/src/lib/libmp/i386/Makefile b/usr/src/lib/libmp/i386/Makefile
index 1571b1c7a4..5e129bfd7f 100644
--- a/usr/src/lib/libmp/i386/Makefile
+++ b/usr/src/lib/libmp/i386/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,7 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
@@ -28,8 +27,6 @@
OLIBRARY = libmp.so.1
-MAPDIR= ../spec/i386
-
include ../Makefile.com
# For libmp.so.1
diff --git a/usr/src/lib/libmp/sparc/Makefile b/usr/src/lib/libmp/sparc/Makefile
index 19d8034e84..c69ce25350 100644
--- a/usr/src/lib/libmp/sparc/Makefile
+++ b/usr/src/lib/libmp/sparc/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,7 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
@@ -28,8 +27,6 @@
OLIBRARY = libmp.so.1
-MAPDIR= ../spec/sparc
-
include ../Makefile.com
# For libmp.so.1
diff --git a/usr/src/lib/libmp/sparcv9/Makefile b/usr/src/lib/libmp/sparcv9/Makefile
index 06de8a5c8b..fc9ec9e40a 100644
--- a/usr/src/lib/libmp/sparcv9/Makefile
+++ b/usr/src/lib/libmp/sparcv9/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libmp/sparcv9/Makefile
-
-MAPDIR= ../spec/sparcv9
include ../Makefile.com
include ../../Makefile.lib.64
diff --git a/usr/src/lib/libmp/spec/Makefile b/usr/src/lib/libmp/spec/Makefile
deleted file mode 100644
index a2bc21cb32..0000000000
--- a/usr/src/lib/libmp/spec/Makefile
+++ /dev/null
@@ -1,30 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1998-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libmp/spec/Makefile
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/libmp/spec/Makefile.targ b/usr/src/lib/libmp/spec/Makefile.targ
deleted file mode 100644
index 25efb1cb19..0000000000
--- a/usr/src/lib/libmp/spec/Makefile.targ
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libmp/spec/Makefile.targ
-
-LIBRARY = libmp.a
-VERS = .2
-
-OBJECTS = mp.o
-
-SPECCPP =
-
-# for libmp.so.1 mapfile
-OSPECS= ../mp_1.spec
-OVERSFILE= ../versions
-CLOBBERFILES += mapfile_1
-
-mapfile_1: $(OVERSFILE) $(OSPECS)
- $(SPEC2MAP) $(TRANSFLAGS) -v $(OVERSFILE) -o $@ $(OSPECS)
-
diff --git a/usr/src/lib/libmp/spec/amd64/Makefile b/usr/src/lib/libmp/spec/amd64/Makefile
deleted file mode 100644
index 453c0ea671..0000000000
--- a/usr/src/lib/libmp/spec/amd64/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#amd64_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libmp/spec/i386/Makefile b/usr/src/lib/libmp/spec/i386/Makefile
deleted file mode 100644
index 4114777cf0..0000000000
--- a/usr/src/lib/libmp/spec/i386/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libmp/spec/i386/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#i386_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libmp/spec/mp.spec b/usr/src/lib/libmp/spec/mp.spec
deleted file mode 100644
index a2d790b22f..0000000000
--- a/usr/src/lib/libmp/spec/mp.spec
+++ /dev/null
@@ -1,140 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libmp/spec/mp.spec
-
-function mp_gcd
-include <mp.h>
-declaration void mp_gcd(MINT *, MINT *, MINT *)
-version SUNW_1.1
-end
-
-function mp_itom
-include <mp.h>
-declaration MINT *mp_itom(short)
-version SUNW_1.1
-end
-
-function mp_madd
-include <mp.h>
-declaration void mp_madd(MINT *, MINT *, MINT *)
-version SUNW_1.1
-end
-
-function mp_mcmp
-include <mp.h>
-declaration int mp_mcmp(MINT *, MINT *)
-version SUNW_1.1
-end
-
-function mp_mdiv
-include <mp.h>
-declaration void mp_mdiv(MINT *a, MINT *b, MINT *q, MINT *r)
-version SUNW_1.1
-end
-
-function mp_mfree
-include <mp.h>
-declaration void mp_mfree(MINT *a)
-version SUNW_1.1
-end
-
-function mp_min
-include <mp.h>
-declaration int mp_min(MINT *a)
-version SUNW_1.1
-end
-
-function mp_mout
-include <mp.h>
-declaration void mp_mout(MINT *a)
-version SUNW_1.1
-end
-
-function mp_msqrt
-include <mp.h>
-declaration int mp_msqrt(MINT *a, MINT *b, MINT *r)
-version SUNW_1.1
-end
-
-function mp_msub
-include <mp.h>
-declaration void mp_msub(MINT *a, MINT *b, MINT *c)
-version SUNW_1.1
-end
-
-function mp_mtox
-include <mp.h>
-declaration char * mp_mtox(MINT *a)
-version SUNW_1.1
-end
-
-function mp_mult
-include <mp.h>
-declaration void mp_mult(MINT *a, MINT *b, MINT *c)
-version SUNW_1.1
-end
-
-function mp_pow
-include <mp.h>
-declaration void mp_pow(MINT *a, MINT *b, MINT *c, MINT *d)
-version SUNW_1.1
-end
-
-function mp_rpow
-include <mp.h>
-declaration void mp_rpow(MINT *a, short n, MINT *b)
-version SUNW_1.1
-end
-
-function mp_sdiv
-include <mp.h>
-declaration void mp_sdiv(MINT *a, short n, MINT *q, short *r)
-version SUNW_1.1
-end
-
-function mp_xtom
-include <mp.h>
-declaration MINT * mp_xtom(char *a)
-version SUNW_1.1
-end
-
-function _mp_move
-include <mp.h>
-declaration void _mp_move(MINT *, MINT *)
-version SUNWprivate_1.1
-end
-
-function _mp_xalloc
-include <mp.h>
-version SUNWprivate_1.1
-end
-
-function _mp_xfree
-include <mp.h>
-version SUNWprivate_1.1
-end
-
diff --git a/usr/src/lib/libmp/spec/mp_1.spec b/usr/src/lib/libmp/spec/mp_1.spec
deleted file mode 100644
index 14dd60b257..0000000000
--- a/usr/src/lib/libmp/spec/mp_1.spec
+++ /dev/null
@@ -1,122 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libmp/spec/mp_1.spec
-
-Data _lib_version
-Version SUNWprivate_1.1
-Arch i386, sparc
-End
-
-Function gcd
-Version SUNW_1.1
-Arch i386, sparc
-End
-
-Function itom
-Version SUNW_1.1
-Arch i386, sparc
-End
-
-Function madd
-Version SUNW_1.1
-Arch i386, sparc
-End
-
-Function mcmp
-Version SUNW_1.1
-Arch i386, sparc
-End
-
-Function mdiv
-Version SUNW_1.1
-Arch i386, sparc
-End
-
-Function mfree
-Version SUNW_1.1
-Arch i386, sparc
-End
-
-Function min
-Version SUNW_1.1
-Arch i386, sparc
-End
-
-Function mout
-Version SUNW_1.1
-Arch i386, sparc
-End
-
-Function msqrt
-Version SUNW_1.1
-Arch i386, sparc
-End
-
-Function msub
-Version SUNW_1.1
-Arch i386, sparc
-End
-
-Function mtox
-Version SUNW_1.1
-Arch i386, sparc
-End
-
-Function mult
-Version SUNW_1.1
-Arch i386, sparc
-End
-
-Function pow
-Version SUNW_1.1
-Arch i386, sparc
-End
-
-Function rpow
-Version SUNW_1.1
-Arch i386, sparc
-End
-
-Function sdiv
-Version SUNW_1.1
-Arch i386, sparc
-End
-
-Function xtom
-Version SUNW_1.1
-Arch i386, sparc
-End
-
-Function xalloc
-Version SUNWprivate_1.1
-Arch i386, sparc
-End
-
-Function xfree
-Version SUNWprivate_1.1
-Arch i386, sparc
-End
diff --git a/usr/src/lib/libmp/spec/sparc/Makefile b/usr/src/lib/libmp/spec/sparc/Makefile
deleted file mode 100644
index 605df92b13..0000000000
--- a/usr/src/lib/libmp/spec/sparc/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1998-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libmp/spec/sparc/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#sparc_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libmp/spec/sparcv9/Makefile b/usr/src/lib/libmp/spec/sparcv9/Makefile
deleted file mode 100644
index e06d4e2b81..0000000000
--- a/usr/src/lib/libmp/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,45 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1998-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libmp/spec/sparcv9/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-sparcv9_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libmp/spec/versions b/usr/src/lib/libmp/spec/versions
deleted file mode 100644
index 38a2cfc77a..0000000000
--- a/usr/src/lib/libmp/spec/versions
+++ /dev/null
@@ -1,43 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-sparc {
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-sparcv9 {
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-i386 {
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-amd64 {
- SUNW_1.1;
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/libmtmalloc/Makefile b/usr/src/lib/libmtmalloc/Makefile
index ea5a0f4fc4..aa5cccd34b 100644
--- a/usr/src/lib/libmtmalloc/Makefile
+++ b/usr/src/lib/libmtmalloc/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,12 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright (c) 1998-1999 by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libmtmalloc/Makefile
include ../Makefile.lib
@@ -41,7 +39,7 @@ $(ROOTHDRS) := FILEMODE= 644
$(ROOTHDRDIR)/%: common/%
$(INS.file)
-SUBDIRS= spec .WAIT $(MACH)
+SUBDIRS= $(MACH)
$(BUILD64)SUBDIRS += $(MACH64)
all := TARGET= all
diff --git a/usr/src/lib/libmtmalloc/Makefile.com b/usr/src/lib/libmtmalloc/Makefile.com
index b7ee0a7d61..ee55f6c0cb 100644
--- a/usr/src/lib/libmtmalloc/Makefile.com
+++ b/usr/src/lib/libmtmalloc/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,7 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
@@ -34,16 +33,15 @@ OBJECTS = mtmalloc.o
# include library definitions
include ../../Makefile.lib
-MAPFILE= $(MAPDIR)/mapfile
-SRCS = ../common/mtmalloc.c
-
-LINTSRC= $(LINTLIB:%.ln=%)
+SRCDIR = ../common
+SRCS = ../common/mtmalloc.c
+LINTSRC = $(LINTLIB:%.ln=%)
LIBS = $(DYNLIB) $(LINTLIB)
LDLIBS += -lc
CFLAGS += $(CCVERBOSE) $(C_PICFLAGS)
CPPFLAGS += -I../common -D_REENTRANT
-DYNFLAGS += $(ZNODLOPEN) -M$(MAPFILE) $(ZINTERPOSE)
+DYNFLAGS += $(ZNODLOPEN) $(ZINTERPOSE)
.KEEP_STATE:
@@ -51,11 +49,6 @@ all: $(LIBS)
lint: lintcheck
-$(DYNLIB): $(MAPFILE)
-
-$(MAPFILE):
- @cd $(MAPDIR); $(MAKE) mapfile
-
# include library targets
include ../../Makefile.targ
diff --git a/usr/src/lib/libmtmalloc/amd64/Makefile b/usr/src/lib/libmtmalloc/amd64/Makefile
index 125e863932..2e8cdecf75 100644
--- a/usr/src/lib/libmtmalloc/amd64/Makefile
+++ b/usr/src/lib/libmtmalloc/amd64/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,13 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-MAPDIR= ../spec/amd64
include ../Makefile.com
include ../../Makefile.lib.64
diff --git a/usr/src/lib/libfstyp/spec/versions b/usr/src/lib/libmtmalloc/common/mapfile-vers
index 8dc3b55e0b..08e242cfd7 100644
--- a/usr/src/lib/libfstyp/spec/versions
+++ b/usr/src/lib/libmtmalloc/common/mapfile-vers
@@ -1,7 +1,4 @@
#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
@@ -21,26 +18,31 @@
#
# CDDL HEADER END
#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
# ident "%Z%%M% %I% %E% SMI"
#
-sparc {
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-
-sparcv9 {
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-
+SUNW_1.1.1 {
+ global:
+ calloc = NODIRECT;
+} SUNW_1.1;
-i386 {
- SUNW_1.1;
- SUNWprivate_1.1;
-}
+SUNW_1.1 {
+ global:
+ free = NODIRECT;
+ malloc = NODIRECT;
+ mallocctl = NODIRECT;
+ memalign = NODIRECT;
+ realloc = NODIRECT;
+ valloc = NODIRECT;
+};
-amd64 {
- SUNW_1.1;
+SUNWprivate_1.1 {
+ global:
SUNWprivate_1.1;
-}
+ local:
+ *;
+};
diff --git a/usr/src/lib/libmtmalloc/i386/Makefile b/usr/src/lib/libmtmalloc/i386/Makefile
index 879604a649..35ac6d4219 100644
--- a/usr/src/lib/libmtmalloc/i386/Makefile
+++ b/usr/src/lib/libmtmalloc/i386/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,15 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libmtmalloc/i386/Makefile
-#
-MAPDIR= ../spec/i386
include ../Makefile.com
install: all $(ROOTLIBS) $(ROOTLINKS)
diff --git a/usr/src/lib/libmtmalloc/sparc/Makefile b/usr/src/lib/libmtmalloc/sparc/Makefile
index 926dd12ba2..35ac6d4219 100644
--- a/usr/src/lib/libmtmalloc/sparc/Makefile
+++ b/usr/src/lib/libmtmalloc/sparc/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,15 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libmtmalloc/sparc/Makefile
-#
-MAPDIR= ../spec/sparc
include ../Makefile.com
install: all $(ROOTLIBS) $(ROOTLINKS)
diff --git a/usr/src/lib/libmtmalloc/sparcv9/Makefile b/usr/src/lib/libmtmalloc/sparcv9/Makefile
index 063c1f455b..2e8cdecf75 100644
--- a/usr/src/lib/libmtmalloc/sparcv9/Makefile
+++ b/usr/src/lib/libmtmalloc/sparcv9/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,15 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libmtmalloc/sparcv9/Makefile
-#
-MAPDIR= ../spec/sparcv9
include ../Makefile.com
include ../../Makefile.lib.64
diff --git a/usr/src/lib/libmtmalloc/spec/Makefile b/usr/src/lib/libmtmalloc/spec/Makefile
deleted file mode 100644
index 736aa6fbe5..0000000000
--- a/usr/src/lib/libmtmalloc/spec/Makefile
+++ /dev/null
@@ -1,29 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1998-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libmtmalloc/spec/Makefile
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/libmtmalloc/spec/Makefile.targ b/usr/src/lib/libmtmalloc/spec/Makefile.targ
deleted file mode 100644
index bb17aa1aff..0000000000
--- a/usr/src/lib/libmtmalloc/spec/Makefile.targ
+++ /dev/null
@@ -1,33 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1998-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libmtmalloc/spec/Makefile.targ
-
-LIBRARY = libmtmalloc.a
-VERS = .1
-
-OBJECTS = mtmalloc.o
-
diff --git a/usr/src/lib/libmtmalloc/spec/amd64/Makefile b/usr/src/lib/libmtmalloc/spec/amd64/Makefile
deleted file mode 100644
index 453c0ea671..0000000000
--- a/usr/src/lib/libmtmalloc/spec/amd64/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#amd64_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libmtmalloc/spec/i386/Makefile b/usr/src/lib/libmtmalloc/spec/i386/Makefile
deleted file mode 100644
index c55d7fd334..0000000000
--- a/usr/src/lib/libmtmalloc/spec/i386/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1998-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libmtmalloc/spec/i386/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#i386_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libmtmalloc/spec/mtmalloc.spec b/usr/src/lib/libmtmalloc/spec/mtmalloc.spec
deleted file mode 100644
index f0e68678a1..0000000000
--- a/usr/src/lib/libmtmalloc/spec/mtmalloc.spec
+++ /dev/null
@@ -1,63 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libmtmalloc/spec/mtmalloc.spec
-
-function memalign extends libc/spec/gen.spec memalign
-version SUNW_1.1
-binding nodirect
-end
-
-function valloc extends libc/spec/gen.spec valloc
-version SUNW_1.1
-binding nodirect
-end
-
-function free extends libc/spec/gen.spec free
-version SUNW_1.1
-binding nodirect
-end
-
-function malloc extends libc/spec/gen.spec malloc
-version SUNW_1.1
-binding nodirect
-end
-
-function realloc extends libc/spec/gen.spec realloc
-version SUNW_1.1
-binding nodirect
-end
-
-function calloc extends libc/spec/gen.spec calloc
-version SUNW_1.1.1
-binding nodirect
-end
-
-function mallocctl
-declaration void mallocctl(int cmd, long value)
-version SUNW_1.1
-binding nodirect
-end
diff --git a/usr/src/lib/libmtmalloc/spec/sparc/Makefile b/usr/src/lib/libmtmalloc/spec/sparc/Makefile
deleted file mode 100644
index 63851270f7..0000000000
--- a/usr/src/lib/libmtmalloc/spec/sparc/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1998-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libmtmalloc/spec/sparc/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#sparc_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libmtmalloc/spec/sparcv9/Makefile b/usr/src/lib/libmtmalloc/spec/sparcv9/Makefile
deleted file mode 100644
index f66826636c..0000000000
--- a/usr/src/lib/libmtmalloc/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,45 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1998-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libmtmalloc/spec/sparcv9/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#sparcv9_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libmtmalloc/spec/versions b/usr/src/lib/libmtmalloc/spec/versions
deleted file mode 100644
index 2c005c8fcc..0000000000
--- a/usr/src/lib/libmtmalloc/spec/versions
+++ /dev/null
@@ -1,47 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-i386 {
- SUNW_1.1.1: {SUNW_1.1};
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-sparc {
- SUNW_1.1.1: {SUNW_1.1};
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-sparcv9 {
- SUNW_1.1.1: {SUNW_1.1};
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-amd64 {
- SUNW_1.1.1: {SUNW_1.1};
- SUNW_1.1;
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/libnisdb/Makefile b/usr/src/lib/libnisdb/Makefile
index 79c159b2fa..74e0ebbcef 100644
--- a/usr/src/lib/libnisdb/Makefile
+++ b/usr/src/lib/libnisdb/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,13 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libnisdb/Makefile
-#
LIBRARY= libnisdb.a
VERS= .2
@@ -93,9 +90,7 @@ CLEANFILES += $(DERIVED_FILES)
# include library definitions
include ../Makefile.lib
-MAPDIR= ./spec/$(MACH)
-MAPFILE= $(MAPDIR)/mapfile
-CLOBBERFILES += $(MAPFILE)
+MAPFILES = mapfile-vers
SRCS= db_dictionary_c_xdr.c db_dictlog_c_xdr.c db_dictxdr.c \
db_entry_c_xdr.c db_index_c_xdr.c db_index_entry_c_xdr.c db_item_c_xdr.c \
@@ -145,8 +140,6 @@ CPPFLAGS += -D_REENTRANT
# Extra includes, from yp, for yptol files.
CPPFLAGS += -I$(SRC)/cmd/ypcmd
-DYNFLAGS += -M$(MAPFILE)
-
LIBS = $(DYNLIB)
ZDEFS=
LDLIBS += -lnsl -lldap -lcmd -lc
@@ -159,17 +152,12 @@ lint := TARGET= lint
.KEEP_STATE:
-all: spec .WAIT $(DERIVED_FILES) $(LIBS)
+all: $(DERIVED_FILES) $(LIBS)
install: all $(ROOTLIBS) $(ROOTLINKS)
lint: $(DERIVED_FILES) .WAIT lintcheck
-$(DYNLIB): $(MAPFILE)
-
-$(MAPFILE):
- @cd $(MAPDIR); $(MAKE) mapfile
-
pics/%.o: %.c
$(COMPILE.c) -o $@ $<
$(POST_PROCESS_O)
@@ -206,13 +194,5 @@ $(DB_TABLE)_xdr.c: $(DB_TABLE).x
$(RPCGEN) -DUSINGC -c $(DB_TABLE).x |\
$(SED) -e 's/^xdr_db_free_entry(/__OBSOLETED_xdr_db_free_entry(/' > $@
-clean clobber: spec
-
-spec: FRC
- @cd $@;pwd; $(MAKE) $(TARGET)
-
-
# include library targets
include ../Makefile.targ
-
-FRC:
diff --git a/usr/src/lib/libnisdb/mapfile-vers b/usr/src/lib/libnisdb/mapfile-vers
new file mode 100644
index 0000000000..9b7151a4e3
--- /dev/null
+++ b/usr/src/lib/libnisdb/mapfile-vers
@@ -0,0 +1,184 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+# Due to mistakes made early in the history of this library, there are
+# no SUNW_2.1 symbols, but the version is now kept as a placeholder.
+# Don't add any symbols to this version.
+
+SUNW_2.1 {
+ global:
+ SUNW_2.1;
+};
+
+SUNWprivate_2.1 {
+ global:
+ abort_transaction;
+ addUpdate;
+ assertExclusive;
+ beginTransaction;
+ bp2buf;
+ cons;
+ createQuery;
+ db_abort_merge_dict;
+ db_add_entry;
+ __db_add_entry_nolog;
+ __db_add_entry_nosync;
+ __db_allowLDAP;
+ db_begin_merge_dict;
+ db_checkpoint;
+ __db_commit;
+ __db_configure;
+ db_copy_file;
+ dbCreateFromLDAP;
+ db_create_table;
+ __db_defer;
+ db_destroy_table;
+ __db_disallowLDAP;
+ db_end_merge_dict;
+ db_extract_dict_entries;
+ db_first_entry;
+ db_in_dict_file;
+ db_initialize;
+ db_list_entries;
+ __db_list_entries;
+ db_massage_dict;
+ db_next_entry;
+ db_perror;
+ db_remove_entry;
+ __db_remove_entry_nosync;
+ db_reset_next_entry;
+ __db_rollback;
+ db_standby;
+ db_sync_log;
+ db_table_exists;
+ db_unload_table;
+ deleteLDAPobj;
+ delete_map;
+ dump_dit_to_maps;
+ dump_maps_to_dit;
+ endTransaction;
+ free_entry;
+ freeEntryObjArray;
+ freeObjAttr;
+ freeQuery;
+ freeRuleValue;
+ fullObjName;
+ get_list_max;
+ get_map_name;
+ getObjMapping;
+ get_root_object;
+ hash;
+ init_lock_map;
+ init_lock_system;
+ init_yptol_flag;
+ internalTableName;
+ internal_table_name;
+ justTesting;
+ ldapConfig;
+ ldapDBTableMapping;
+ ldapMappingList;
+ loadAllLDAP;
+ lock_core;
+ lock_map;
+ lockTransLog;
+ logmsg;
+ __make_legal;
+ mapFromLDAP;
+ mapToLDAP;
+ mflag;
+ __nisdb_get_tsd;
+ __nisdb_lock_report;
+ __nisdb_rlock;
+ __nisdb_rulock;
+ __nisdb_wlock;
+ __nisdb_wlock_trylock;
+ __nisdb_wulock;
+ __nis_find_item_mt;
+ __nis_init_hash_table;
+ __nis_insert_item_mt;
+ __nis_insert_name_mt;
+ nis_isserving;
+ __nis_item_access;
+ __nis_lock_db_table;
+ __nis_lock_hash_table;
+ __nis_pop_item_mt;
+ __nis_release_item;
+ __nis_remove_item_mt;
+ __nis_retry_sleep;
+ __nis_scan_table_mt;
+ nis_server_control;
+ __nis_ulock_db_table;
+ __nis_ulock_hash_table;
+ nogecos;
+ nopw;
+ noshell;
+ numMisaligned;
+ objFromLDAP;
+ objToLDAP;
+ p2buf;
+ parseConfig;
+ printbuf;
+ printObjAttr;
+ printQuery;
+ printTableMapping;
+ relative_name;
+ remove_root_object;
+ rename_map;
+ sc2buf;
+ setColumnsDuringConfig;
+ sfree;
+ shim_changepasswd;
+ shim_dbm_close;
+ shim_dbm_delete;
+ shim_dbm_do_nextkey;
+ shim_dbm_fetch;
+ shim_dbm_fetch_noupdate;
+ shim_dbm_firstkey;
+ shim_dbm_nextkey;
+ shim_dbm_open;
+ shim_dbm_store;
+ shim_exit;
+ single;
+ socket;
+ tbl_prototype;
+ unlock_core;
+ unlock_map;
+ unlockTransLog;
+ update_root_object;
+ validloginshell;
+ validstr;
+ verbose;
+ xdr_nis_fetus_object;
+ xdr_nis_name_abbrev;
+ ypcheck_domain_yptol;
+ ypcheck_map_existence_yptol;
+ ypmkfilename;
+ yptol_mode;
+ yptol_newlock;
+ local:
+ *;
+};
diff --git a/usr/src/lib/libnisdb/spec/Makefile b/usr/src/lib/libnisdb/spec/Makefile
deleted file mode 100644
index 525358c817..0000000000
--- a/usr/src/lib/libnisdb/spec/Makefile
+++ /dev/null
@@ -1,55 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libnisdb/spec/Makefile
-
-# no sparcv9 build of libnisdb
-# if it is desirable to build one then uncomment the line below and delete
-# the rest of the lines.
-#
-#include $(SRC)/lib/Makefile.spec.arch
-
-i386_ARCHITECTURES = i386
-sparc_ARCHITECTURES = sparc
-
-all := TARGET= all
-install := TARGET= install
-clean := TARGET= clean
-clobber := TARGET= clobber
-lint := TARGET= lint
-
-.KEEP_STATE:
-
-all install clean clobber lint: $($(MACH)_ARCHITECTURES)
-
-# spec files do not have msgs or catalogs
-_msg catalog:
-
-$($(MACH)_ARCHITECTURES): FRC
- @cd $@; pwd; $(MAKE) $(TARGET)
-
-FRC:
diff --git a/usr/src/lib/libnisdb/spec/Makefile.targ b/usr/src/lib/libnisdb/spec/Makefile.targ
deleted file mode 100644
index 23691797f4..0000000000
--- a/usr/src/lib/libnisdb/spec/Makefile.targ
+++ /dev/null
@@ -1,35 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libnisdb/spec/Makefile.targ
-
-LIBRARY = libnisdb.a
-VERS = .2
-
-OBJECTS = nisdb.o
-
-SPECCPP =
diff --git a/usr/src/lib/libnisdb/spec/amd64/Makefile b/usr/src/lib/libnisdb/spec/amd64/Makefile
deleted file mode 100644
index 5dd1b7240f..0000000000
--- a/usr/src/lib/libnisdb/spec/amd64/Makefile
+++ /dev/null
@@ -1,42 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#amd64_C_PICFLAGS = $(amd64_C_BIGPICFLAGS)
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libnisdb/spec/i386/Makefile b/usr/src/lib/libnisdb/spec/i386/Makefile
deleted file mode 100644
index 661a0df715..0000000000
--- a/usr/src/lib/libnisdb/spec/i386/Makefile
+++ /dev/null
@@ -1,42 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libnisdb/spec/i386/Makefile
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#i386_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libnisdb/spec/nisdb.spec b/usr/src/lib/libnisdb/spec/nisdb.spec
deleted file mode 100644
index 68d630f71d..0000000000
--- a/usr/src/lib/libnisdb/spec/nisdb.spec
+++ /dev/null
@@ -1,609 +0,0 @@
-#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libnisdb/spec/nisdb.spec
-
-function free_entry
-version SUNWprivate_2.1
-end
-
-function db_add_entry
-version SUNWprivate_2.1
-end
-
-function __db_add_entry_nolog
-version SUNWprivate_2.1
-end
-
-function __db_add_entry_nosync
-version SUNWprivate_2.1
-end
-
-function db_checkpoint
-version SUNWprivate_2.1
-end
-
-function db_create_table
-version SUNWprivate_2.1
-end
-
-function db_destroy_table
-version SUNWprivate_2.1
-end
-
-function db_first_entry
-version SUNWprivate_2.1
-end
-
-function db_initialize
-version SUNWprivate_2.1
-end
-
-function db_list_entries
-version SUNWprivate_2.1
-end
-
-function db_massage_dict
-version SUNWprivate_2.1
-end
-
-function db_next_entry
-version SUNWprivate_2.1
-end
-
-function db_remove_entry
-version SUNWprivate_2.1
-end
-
-function __db_remove_entry_nosync
-version SUNWprivate_2.1
-end
-
-function db_reset_next_entry
-version SUNWprivate_2.1
-end
-
-function db_standby
-version SUNWprivate_2.1
-end
-
-function db_table_exists
-version SUNWprivate_2.1
-end
-
-function db_unload_table
-version SUNWprivate_2.1
-end
-
-function db_perror
-version SUNWprivate_2.1
-end
-
-function db_abort_merge_dict
-version SUNWprivate_2.1
-end
-
-function db_end_merge_dict
-version SUNWprivate_2.1
-end
-
-function db_begin_merge_dict
-version SUNWprivate_2.1
-end
-
-function db_copy_file
-version SUNWprivate_2.1
-end
-
-function db_in_dict_file
-version SUNWprivate_2.1
-end
-
-function db_extract_dict_entries
-version SUNWprivate_2.1
-end
-
-function db_sync_log
-version SUNWprivate_2.1
-end
-
-function __db_defer
-version SUNWprivate_2.1
-end
-
-function __db_commit
-version SUNWprivate_2.1
-end
-
-function __db_rollback
-version SUNWprivate_2.1
-end
-
-function __db_configure
-version SUNWprivate_2.1
-end
-
-function __db_list_entries
-version SUNWprivate_2.1
-end
-
-function __nis_lock_hash_table
-version SUNWprivate_2.1
-end
-
-function __nisdb_wulock
-version SUNWprivate_2.1
-end
-
-function __nis_pop_item_mt
-version SUNWprivate_2.1
-end
-
-function __nis_item_access
-version SUNWprivate_2.1
-end
-
-function __nis_scan_table_mt
-version SUNWprivate_2.1
-end
-
-function __nis_release_item
-version SUNWprivate_2.1
-end
-
-function __nisdb_rulock
-version SUNWprivate_2.1
-end
-
-function __nis_init_hash_table
-version SUNWprivate_2.1
-end
-
-function __nisdb_rlock
-version SUNWprivate_2.1
-end
-
-function __nis_ulock_hash_table
-version SUNWprivate_2.1
-end
-
-function __nis_insert_name_mt
-version SUNWprivate_2.1
-end
-
-function __nisdb_wlock
-version SUNWprivate_2.1
-end
-
-function __nisdb_wlock_trylock
-version SUNWprivate_2.1
-end
-
-function __nis_remove_item_mt
-version SUNWprivate_2.1
-end
-
-function __nis_find_item_mt
-version SUNWprivate_2.1
-end
-
-function __nis_insert_item_mt
-version SUNWprivate_2.1
-end
-
-function freeRuleValue
-version SUNWprivate_2.1
-end
-
-function freeQuery
-version SUNWprivate_2.1
-end
-
-function printObjAttr
-version SUNWprivate_2.1
-end
-
-function printbuf
-version SUNWprivate_2.1
-end
-
-function createQuery
-version SUNWprivate_2.1
-end
-
-function printQuery
-version SUNWprivate_2.1
-end
-
-function mapFromLDAP
-version SUNWprivate_2.1
-end
-
-function parseConfig
-version SUNWprivate_2.1
-end
-
-function p2buf
-version SUNWprivate_2.1
-end
-
-function printTableMapping
-version SUNWprivate_2.1
-end
-
-function mapToLDAP
-version SUNWprivate_2.1
-end
-
-function ldapMappingList
-version SUNWprivate_2.1
-end
-
-function fullObjName
-version SUNWprivate_2.1
-end
-
-function objFromLDAP
-version SUNWprivate_2.1
-end
-
-function objToLDAP
-version SUNWprivate_2.1
-end
-
-function deleteLDAPobj
-version SUNWprivate_2.1
-end
-
-function freeObjAttr
-version SUNWprivate_2.1
-end
-
-function numMisaligned
-version SUNWprivate_2.1
-end
-
-function verbose
-version SUNWprivate_2.1
-end
-
-function justTesting
-version SUNWprivate_2.1
-end
-
-function cons
-version SUNWprivate_2.1
-end
-
-function internal_table_name
-version SUNWprivate_2.1
-end
-
-function __make_legal
-version SUNWprivate_2.1
-end
-
-function relative_name
-version SUNWprivate_2.1
-end
-
-function logmsg
-version SUNWprivate_2.1
-end
-
-function ldapConfig
-version SUNWprivate_2.1
-end
-
-function __nis_retry_sleep
-version SUNWprivate_2.1
-end
-
-function setColumnsDuringConfig
-version SUNWprivate_2.1
-end
-
-function socket
-version SUNWprivate_2.1
-end
-
-function xdr_nis_name_abbrev
-version SUNWprivate_2.1
-end
-
-function xdr_nis_fetus_object
-version SUNWprivate_2.1
-end
-
-function __nisdb_get_tsd
-version SUNWprivate_2.1
-end
-
-function ldapDBTableMapping
-version SUNWprivate_2.1
-end
-
-function sfree
-version SUNWprivate_2.1
-end
-
-function nis_server_control
-version SUNWprivate_2.1
-end
-
-function nis_isserving
-version SUNWprivate_2.1
-end
-
-function bp2buf
-version SUNWprivate_2.1
-end
-
-function update_root_object
-version SUNWprivate_2.1
-end
-
-function get_root_object
-version SUNWprivate_2.1
-end
-
-function remove_root_object
-version SUNWprivate_2.1
-end
-
-function beginTransaction
-version SUNWprivate_2.1
-end
-
-function abort_transaction
-version SUNWprivate_2.1
-end
-
-function endTransaction
-version SUNWprivate_2.1
-end
-
-function addUpdate
-version SUNWprivate_2.1
-end
-
-function __db_disallowLDAP
-version SUNWprivate_2.1
-end
-
-function __db_allowLDAP
-version SUNWprivate_2.1
-end
-
-function sc2buf
-version SUNWprivate_2.1
-end
-
-function freeEntryObjArray
-version SUNWprivate_2.1
-end
-
-function internalTableName
-version SUNWprivate_2.1
-end
-
-function dbCreateFromLDAP
-version SUNWprivate_2.1
-end
-
-function tbl_prototype
-version SUNWprivate_2.1
-end
-
-function getObjMapping
-version SUNWprivate_2.1
-end
-
-function loadAllLDAP
-version SUNWprivate_2.1
-end
-
-function assertExclusive
-version SUNWprivate_2.1
-end
-
-function lockTransLog
-version SUNWprivate_2.1
-end
-
-function unlockTransLog
-version SUNWprivate_2.1
-end
-
-function __nis_lock_db_table
-version SUNWprivate_2.1
-end
-
-function __nis_ulock_db_table
-version SUNWprivate_2.1
-end
-
-function __nisdb_lock_report
-version SUNWprivate_2.1
-end
-
-# YPTOL stuff
-
-function init_lock_system
-version SUNWprivate_2.1
-end
-
-function shim_dbm_close
-version SUNWprivate_2.1
-end
-
-function shim_dbm_delete
-version SUNWprivate_2.1
-end
-
-function shim_dbm_fetch
-version SUNWprivate_2.1
-end
-
-function shim_dbm_fetch_noupdate
-version SUNWprivate_2.1
-end
-
-function shim_dbm_firstkey
-version SUNWprivate_2.1
-end
-
-function shim_dbm_nextkey
-version SUNWprivate_2.1
-end
-
-function shim_dbm_do_nextkey
-version SUNWprivate_2.1
-end
-
-function shim_dbm_open
-version SUNWprivate_2.1
-end
-
-function shim_dbm_store
-version SUNWprivate_2.1
-end
-
-function ypmkfilename
-version SUNWprivate_2.1
-end
-
-function shim_exit
-version SUNWprivate_2.1
-end
-
-function dump_dit_to_maps
-version SUNWprivate_2.1
-end
-
-function get_map_name
-version SUNWprivate_2.1
-end
-
-function dump_maps_to_dit
-version SUNWprivate_2.1
-end
-
-function yptol_mode
-version SUNWprivate_2.1
-end
-
-function yptol_newlock
-version SUNWprivate_2.1
-end
-
-# If these weak functions are not made external then then they get resolved at
-# library link time. Result when the library calls them it always sees it's
-# own version rather that the version provided by an external program.
-
-function init_lock_map
-version SUNWprivate_2.1
-end
-
-function lock_core
-version SUNWprivate_2.1
-end
-
-function unlock_core
-version SUNWprivate_2.1
-end
-
-function lock_map
-version SUNWprivate_2.1
-end
-
-function unlock_map
-version SUNWprivate_2.1
-end
-
-function init_lock_map
-version SUNWprivate_2.1
-end
-
-function hash
-version SUNWprivate_2.1
-end
-
-function rename_map
-version SUNWprivate_2.1
-end
-
-function delete_map
-version SUNWprivate_2.1
-end
-
-function single
-version SUNWprivate_2.1
-end
-
-function nogecos
-version SUNWprivate_2.1
-end
-
-function noshell
-version SUNWprivate_2.1
-end
-
-function nopw
-version SUNWprivate_2.1
-end
-
-function mflag
-version SUNWprivate_2.1
-end
-
-function validloginshell
-version SUNWprivate_2.1
-end
-
-function validstr
-version SUNWprivate_2.1
-end
-
-function init_yptol_flag
-version SUNWprivate_2.1
-end
-
-function get_list_max
-version SUNWprivate_2.1
-end
-
-function ypcheck_domain_yptol
-version SUNWprivate_2.1
-end
-
-function ypcheck_map_existence_yptol
-version SUNWprivate_2.1
-end
-
-# N2L yppasswdd stuff
-function shim_changepasswd
-version SUNWprivate_2.1
-end
diff --git a/usr/src/lib/libnisdb/spec/sparc/Makefile b/usr/src/lib/libnisdb/spec/sparc/Makefile
deleted file mode 100644
index a161b46ee7..0000000000
--- a/usr/src/lib/libnisdb/spec/sparc/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libnisdb/spec/sparc/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#sparc_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libnisdb/spec/sparcv9/Makefile b/usr/src/lib/libnisdb/spec/sparcv9/Makefile
deleted file mode 100644
index a93fefe2e9..0000000000
--- a/usr/src/lib/libnisdb/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,43 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libnisdb/spec/sparcv9/Makefile
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#sparcv9_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libnisdb/spec/versions b/usr/src/lib/libnisdb/spec/versions
deleted file mode 100644
index 3438f267a7..0000000000
--- a/usr/src/lib/libnisdb/spec/versions
+++ /dev/null
@@ -1,43 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-sparc {
- SUNWprivate_2.1;
- SUNW_2.1;
-}
-sparcv9 {
- SUNWprivate_2.1;
- SUNW_2.1;
-}
-i386 {
- SUNWprivate_2.1;
- SUNW_2.1;
-}
-amd64 {
- SUNWprivate_2.1;
- SUNW_2.1;
-}
diff --git a/usr/src/lib/libnls/Makefile b/usr/src/lib/libnls/Makefile
index 90b52272da..612a27d6d5 100644
--- a/usr/src/lib/libnls/Makefile
+++ b/usr/src/lib/libnls/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,16 +19,16 @@
# CDDL HEADER END
#
#
-# Copyright (c) 1997, by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libnls/Makefile
include ../../Makefile.master
-SUBDIRS= spec .WAIT $(MACH) $(BUILD64) $(MACH64)
+SUBDIRS = $(MACH)
+$(BUILD64)SUBDIRS += $(MACH64)
all := TARGET= all
clean := TARGET= clean
@@ -62,7 +61,7 @@ install_h: $(ROOTHDRS)
check: $(CHECKHDRS)
-$(MACH) $(MACH64) spec: FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
_msg: $(MSGDOMAIN) $(POFILE)
diff --git a/usr/src/lib/libnls/Makefile.com b/usr/src/lib/libnls/Makefile.com
index 2ca52e72c2..e19d456bb1 100644
--- a/usr/src/lib/libnls/Makefile.com
+++ b/usr/src/lib/libnls/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,13 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libnls/Makefile.com
-#
LIBRARY= libnls.a
VERS= .1
@@ -36,26 +33,19 @@ OBJECTS= nlsdata.o nlsenv.o nlsrequest.o
# include library definitions
include ../../Makefile.lib
-MAPFILE= $(MAPDIR)/mapfile
-SRCS= $(OBJECTS:%.o=../common/%.c)
+SRCDIR = ../common
LIBS = $(DYNLIB) $(LINTLIB)
LINTSRC= $(LINTLIB:%.ln=%)
CFLAGS += $(CCVERBOSE)
-DYNFLAGS += -M $(MAPFILE)
LDLIBS += -lnsl -lc
.KEEP_STATE:
lint: lintcheck
-$(MAPFILE):
- @cd $(MAPDIR); $(MAKE) mapfile
-
-$(DYNLIB): $(MAPFILE)
-
# include library targets
include ../../Makefile.targ
diff --git a/usr/src/lib/libnls/amd64/Makefile b/usr/src/lib/libnls/amd64/Makefile
index 29ebb8f58b..e24ef38245 100644
--- a/usr/src/lib/libnls/amd64/Makefile
+++ b/usr/src/lib/libnls/amd64/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-MAPDIR= ../spec/amd64
-
include ../Makefile.com
include ../../Makefile.lib.64
diff --git a/usr/src/lib/libnls/common/mapfile-vers b/usr/src/lib/libnls/common/mapfile-vers
new file mode 100644
index 0000000000..32ff350c5e
--- /dev/null
+++ b/usr/src/lib/libnls/common/mapfile-vers
@@ -0,0 +1,45 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNW_1.1 {
+ global:
+ nlsgetcall;
+ nlsprovider;
+ nlsrequest;
+};
+
+SUNWprivate_1.1 {
+ global:
+ _lib_version;
+ nlsc2addr;
+ _nlscall;
+ nlsenv;
+ _nlslog;
+ _nlsrmsg;
+ local:
+ *;
+};
diff --git a/usr/src/lib/libnls/i386/Makefile b/usr/src/lib/libnls/i386/Makefile
index 6e3d767267..2a944b0b43 100644
--- a/usr/src/lib/libnls/i386/Makefile
+++ b/usr/src/lib/libnls/i386/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright (c) 1997-2000 by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-#pragma ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libnls/i386/Makefile
-
-MAPDIR= ../spec/i386
include ../Makefile.com
diff --git a/usr/src/lib/libnls/sparc/Makefile b/usr/src/lib/libnls/sparc/Makefile
index 2064733355..2a944b0b43 100644
--- a/usr/src/lib/libnls/sparc/Makefile
+++ b/usr/src/lib/libnls/sparc/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright (c) 1997-2000 by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-#pragma ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libnls/sparc/Makefile
-
-MAPDIR= ../spec/sparc
include ../Makefile.com
diff --git a/usr/src/lib/libnls/sparcv9/Makefile b/usr/src/lib/libnls/sparcv9/Makefile
index 191668cd5c..e24ef38245 100644
--- a/usr/src/lib/libnls/sparcv9/Makefile
+++ b/usr/src/lib/libnls/sparcv9/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright (c) 1998-2000 by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-#pragma ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libnls/sparcv9/Makefile
-
-MAPDIR= ../spec/sparcv9
include ../Makefile.com
include ../../Makefile.lib.64
diff --git a/usr/src/lib/libnls/spec/Makefile b/usr/src/lib/libnls/spec/Makefile
deleted file mode 100644
index 440aa5d46d..0000000000
--- a/usr/src/lib/libnls/spec/Makefile
+++ /dev/null
@@ -1,29 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#ident "%W% %E% SMI"
-#
-# Copyright (c) 1998-2000 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libnls/spec/Makefile
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/libnls/spec/Makefile.targ b/usr/src/lib/libnls/spec/Makefile.targ
deleted file mode 100644
index a425f94e50..0000000000
--- a/usr/src/lib/libnls/spec/Makefile.targ
+++ /dev/null
@@ -1,34 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#ident "%W% %E% SMI"
-#
-# Copyright (c) 1998-2000 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libnls/spec/Makefile.targ
-
-LIBRARY = libnls.a
-VERS = .1
-
-OBJECTS = nls.o
-
-SPECCPP =
diff --git a/usr/src/lib/libnls/spec/amd64/Makefile b/usr/src/lib/libnls/spec/amd64/Makefile
deleted file mode 100644
index a1ab35dfb4..0000000000
--- a/usr/src/lib/libnls/spec/amd64/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#amd64_C_PICFLAGS = $(amd64_C_BIGPICFLAGS)
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libnls/spec/i386/Makefile b/usr/src/lib/libnls/spec/i386/Makefile
deleted file mode 100644
index c7c14867b3..0000000000
--- a/usr/src/lib/libnls/spec/i386/Makefile
+++ /dev/null
@@ -1,43 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#ident "%W% %E% SMI"
-#
-# Copyright (c) 1998-2000 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libadm/spec/sparc/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#sparc_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libnls/spec/nls.spec b/usr/src/lib/libnls/spec/nls.spec
deleted file mode 100644
index a494450df9..0000000000
--- a/usr/src/lib/libnls/spec/nls.spec
+++ /dev/null
@@ -1,78 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#ident "%W% %E% SMI"
-#
-# lib/libnls/spec/nls.spec
-
-Data _lib_version
-Version SUNWprivate_1.1
-Arch all
-End
-
-Data _nlscall
-Version SUNWprivate_1.1
-Arch all
-End
-
-Data _nlslog
-Version SUNWprivate_1.1
-Arch all
-End
-
-Data _nlsrmsg
-Version SUNWprivate_1.1
-Arch all
-End
-
-Function nlsc2addr
-Version SUNWprivate_1.1
-Arch all
-End
-
-Function nlsenv
-Version SUNWprivate_1.1
-Arch all
-End
-
-Function nlsgetcall
-Include <sys/tiuser.h>
-Declaration struct t_call *nlsgetcall(int fildes)
-Version SUNW_1.1
-Arch all
-End
-
-Function nlsprovider
-Declaration char *nlsprovider(void)
-Version SUNW_1.1
-Arch all
-End
-
-Function nlsrequest
-Include <listen.h>
-Declaration int nlsrequest(int fildes, char *service_code)
-Version SUNW_1.1
-Arch all
-End
-
diff --git a/usr/src/lib/libnls/spec/sparc/Makefile b/usr/src/lib/libnls/spec/sparc/Makefile
deleted file mode 100644
index c7c14867b3..0000000000
--- a/usr/src/lib/libnls/spec/sparc/Makefile
+++ /dev/null
@@ -1,43 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#ident "%W% %E% SMI"
-#
-# Copyright (c) 1998-2000 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libadm/spec/sparc/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#sparc_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libnls/spec/sparcv9/Makefile b/usr/src/lib/libnls/spec/sparcv9/Makefile
deleted file mode 100644
index 81d78b5cb2..0000000000
--- a/usr/src/lib/libnls/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#ident "%W% %E% SMI"
-#
-# Copyright (c) 1998-2000 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libadm/spec/sparc/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#sparcv9_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libnls/spec/versions b/usr/src/lib/libnls/spec/versions
deleted file mode 100644
index 7b49152118..0000000000
--- a/usr/src/lib/libnls/spec/versions
+++ /dev/null
@@ -1,46 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-sparc {
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-
-sparcv9 {
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-
-i386 {
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-
-amd64 {
- SUNW_1.1;
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/libnsl/Makefile b/usr/src/lib/libnsl/Makefile
index 04728bf54a..1d45ffb18a 100644
--- a/usr/src/lib/libnsl/Makefile
+++ b/usr/src/lib/libnsl/Makefile
@@ -17,8 +17,6 @@
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
-
-
#
#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
@@ -26,13 +24,13 @@
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libnsl/Makefile
-#
+
PROTOCOL_DIR= $(ROOTHDRDIR)/rpcsvc
PROTOCOL_SRCDIR= $(SRC)/head/rpcsvc
PROTOCOL_UTS_SRCDIR= $(SRC)/uts/common/rpc
-SUBDIRS = spec .WAIT $(MACH) $(BUILD64) .WAIT $(MACH64)
+SUBDIRS = $(MACH)
+$(BUILD64)SUBDIRS += $(MACH64)
# objects are listed by source directory
@@ -98,7 +96,7 @@ all: $(PROTOCOL_DIR) $(DERIVED_FILES) .WAIT $(SUBDIRS)
headers: $(PROTOCOL_DIR) .WAIT $(PROTOCOL_FILES) $(PROTOCOL_FILES_UTS) \
$(DERIVED_FILES)
-install: all $(SUBDIRS)
+install: all .WAIT $(SUBDIRS)
install_h: $(ROOTHDRS)
@@ -241,7 +239,7 @@ generic.po:
$(MSGDOMAIN):
$(INS.dir)
-spec $(MACH) $(MACH64) $(SPEC) $(SPEC64): FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
diff --git a/usr/src/lib/libnsl/Makefile.com b/usr/src/lib/libnsl/Makefile.com
index e2c38be80a..ecea2a5007 100644
--- a/usr/src/lib/libnsl/Makefile.com
+++ b/usr/src/lib/libnsl/Makefile.com
@@ -17,8 +17,6 @@
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
-
-
#
#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
@@ -26,6 +24,7 @@
#
# ident "%Z%%M% %I% %E% SMI"
#
+
LIBRARY= libnsl.a
VERS= .1
@@ -177,9 +176,8 @@ include ../../Makefile.rootfs
LIBS = $(DYNLIB) $(LINTLIB)
-MAPDIR= ../spec/$(TRANSMACH)
-SPECMAPFILE= $(MAPDIR)/mapfile
-MAPOPTS= $(MAPFILES:%=-M%)
+SRCDIR= ../common
+MAPFILES += mapfile-vers
# Override the position-independent code generation flags.
#
@@ -205,22 +203,18 @@ CCFLAGS64 += $(NOEXCEPTIONS)
CPPFLAGS += -I$(SRC)/lib/common/inc -I$(SRC)/lib/libnsl/include -D_REENTRANT
CPPFLAGS += -I$(SRC)/lib/libnsl/dial
-CFLAGS += -v
+CFLAGS += $(CCVERBOSE)
LAZYLIBS = $(ZLAZYLOAD) -lmp -lmd -lscf $(ZNOLAZYLOAD)
lint := LAZYLIBS = -lmd
LDLIBS += $(LAZYLIBS) -lc
-DYNFLAGS += $(MAPOPTS)
-SRCDIR= ../common
$(LINTLIB):= SRCS=$(SRCDIR)/$(LINTSRC)
LINTFLAGS += -m -DPORTMAP
LINTFLAGS64 += -m -DPORTMAP
.KEEP_STATE:
-$(DYNLIB): $(MAPFILES)
-
all: $(LIBS) fnamecheck
# Don't lint WRAPPERS as they are explicitly unclean
diff --git a/usr/src/lib/libnsl/amd64/mapfile-vers b/usr/src/lib/libnsl/amd64/mapfile-vers
new file mode 100644
index 0000000000..be34bab33f
--- /dev/null
+++ b/usr/src/lib/libnsl/amd64/mapfile-vers
@@ -0,0 +1,175 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNW_0.7 {
+ global:
+ authdes_getucred;
+ authdes_seccreate;
+ authnone_create;
+ authsys_create;
+ authsys_create_default;
+ clnt_create;
+ clnt_dg_create;
+ clnt_pcreateerror;
+ clnt_perrno;
+ clnt_perror;
+ clnt_raw_create;
+ clnt_spcreateerror;
+ clnt_sperrno;
+ clnt_sperror;
+ clnt_tli_create;
+ clnt_tp_create;
+ clnt_vc_create;
+ endnetconfig;
+ endnetpath;
+ freenetconfigent;
+ gethostbyaddr;
+ gethostbyname;
+ getnetconfig;
+ getnetconfigent;
+ getnetname;
+ getnetpath;
+ getpublickey;
+ getsecretkey;
+ host2netname;
+ inet_addr;
+ inet_netof;
+ inet_ntoa;
+ key_decryptsession;
+ key_encryptsession;
+ key_gendes;
+ key_setsecret;
+ nc_perror;
+ _nderror;
+ netdir_free;
+ netdir_getbyaddr;
+ netdir_getbyname;
+ netdir_options;
+ netname2host;
+ netname2user;
+ _null_auth;
+ rpcb_getaddr;
+ rpcb_getmaps;
+ rpcb_gettime;
+ rpcb_rmtcall;
+ rpc_broadcast;
+ rpc_broadcast_exp;
+ rpcb_set;
+ rpcb_unset;
+ rpc_call;
+ rpc_createerr;
+ __rpc_createerr;
+ rpc_reg;
+ setnetconfig;
+ setnetpath;
+ svc_create;
+ svc_dg_create;
+ svcerr_auth;
+ svcerr_decode;
+ svcerr_noproc;
+ svcerr_noprog;
+ svcerr_progvers;
+ svcerr_systemerr;
+ svcerr_weakauth;
+ svc_exit;
+ svc_fd_create;
+ svc_fdset;
+ svc_getreqset;
+ svc_raw_create;
+ svc_reg;
+ svc_run;
+ svc_sendreply;
+ svc_tli_create;
+ svc_tp_create;
+ svc_unreg;
+ svc_vc_create;
+ t_accept;
+ taddr2uaddr;
+ t_alloc;
+ t_bind;
+ t_close;
+ t_connect;
+ t_errno;
+ t_error;
+ t_free;
+ t_getinfo;
+ t_getstate;
+ t_listen;
+ t_look;
+ t_open;
+ t_optmgmt;
+ t_rcv;
+ t_rcvconnect;
+ t_rcvdis;
+ t_rcvrel;
+ t_rcvudata;
+ t_rcvuderr;
+ t_snd;
+ t_snddis;
+ t_sndrel;
+ t_sndudata;
+ t_sync;
+ t_unbind;
+ uaddr2taddr;
+ user2netname;
+ xdr_accepted_reply;
+ xdr_array;
+ xdr_authsys_parms;
+ xdr_bool;
+ xdr_bytes;
+ xdr_callhdr;
+ xdr_callmsg;
+ xdr_char;
+ xdr_double;
+ xdr_enum;
+ xdr_float;
+ xdr_free;
+ xdr_int;
+ xdr_long;
+ xdrmem_create;
+ xdr_opaque;
+ xdr_opaque_auth;
+ xdr_pointer;
+ xdrrec_create;
+ xdrrec_eof;
+ xdrrec_skiprecord;
+ xdr_reference;
+ xdr_rejected_reply;
+ xdr_replymsg;
+ xdr_short;
+ xdrstdio_create;
+ xdr_string;
+ xdr_u_char;
+ xdr_u_long;
+ xdr_union;
+ xdr_u_short;
+ xdr_vector;
+ xdr_void;
+ xdr_wrapstring;
+ xprt_register;
+ xprt_unregister;
+};
diff --git a/usr/src/lib/libnsl/common/mapfile-vers b/usr/src/lib/libnsl/common/mapfile-vers
new file mode 100644
index 0000000000..15160078c7
--- /dev/null
+++ b/usr/src/lib/libnsl/common/mapfile-vers
@@ -0,0 +1,750 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNW_1.10 { # SunOS 5.11 (Solaris 11)
+ global:
+ inet_aton;
+ _inet_aton;
+} SUNW_1.9;
+
+SUNW_1.9 { # SunOS 5.10 (Solaris 10)
+ global:
+ freeipsecalgent;
+ getipsecalgbyname;
+ getipsecalgbynum;
+ getipsecprotobyname;
+ getipsecprotobynum;
+ svc_fd_negotiate_ucred;
+ svc_getcallerucred;
+} SUNW_1.8;
+
+SUNW_1.8 { # SunOS 5.9 (Solaris 9)
+ global:
+ clnt_send;
+ svc_add_input;
+ svc_remove_input;
+} SUNW_1.7;
+
+SUNW_1.7 { # SunOS 5.8 (Solaris 8)
+ global:
+ freehostent;
+ getipnodebyaddr;
+ getipnodebyname;
+ inet_ntop;
+ inet_pton;
+} SUNW_1.6;
+
+SUNW_1.6 { # SunOS 5.7 (Solaris 7)
+ global:
+ _xti_rcvreldata;
+ _xti_rcvv;
+ _xti_rcvvudata;
+ _xti_sndreldata;
+ _xti_sndv;
+ _xti_sndvudata;
+ _xti_sysconf;
+ _xti_xns5_accept;
+ _xti_xns5_snd;
+} SUNW_1.5;
+
+# The empty versions SUNW_1.2 through SUNW_1.5 must be preserved because
+# applications built on Solaris 2.6 Beta (when they did contain symbols)
+# may depend on them. All symbol content for SunOS 5.6 is now in SUNW_1.1
+
+SUNW_1.5 {
+ global:
+ SUNW_1.5;
+} SUNW_1.4;
+
+SUNW_1.4 {
+ global:
+ SUNW_1.4;
+} SUNW_1.3;
+
+SUNW_1.3 {
+ global:
+ SUNW_1.3;
+} SUNW_1.2;
+
+SUNW_1.2 {
+ global:
+ SUNW_1.2;
+} SUNW_1.1;
+
+SUNW_1.1 { # SunOS 5.6 (Solaris 2.6)
+ global:
+ clnt_create_vers_timed;
+ clnt_door_create;
+ rpc_gss_getcred;
+ rpc_gss_get_error;
+ rpc_gss_get_mechanisms;
+ rpc_gss_get_mech_info;
+ rpc_gss_get_principal_name;
+ rpc_gss_get_versions;
+ rpc_gss_is_installed;
+ rpc_gss_max_data_length;
+ rpc_gss_mech_to_oid;
+ rpc_gss_qop_to_num;
+ rpc_gss_seccreate;
+ rpc_gss_set_callback;
+ rpc_gss_set_defaults;
+ rpc_gss_set_svc_name;
+ rpc_gss_svc_max_data_length;
+ svc_door_create;
+ svc_max_pollfd;
+ svc_pollfd;
+ _xti_accept;
+ _xti_alloc;
+ _xti_bind;
+ _xti_close;
+ _xti_connect;
+ _xti_error;
+ _xti_free;
+ _xti_getinfo;
+ _xti_getprotaddr;
+ _xti_getstate;
+ _xti_listen;
+ _xti_look;
+ _xti_open;
+ _xti_optmgmt;
+ _xti_rcv;
+ _xti_rcvconnect;
+ _xti_rcvdis;
+ _xti_rcvrel;
+ _xti_rcvudata;
+ _xti_rcvuderr;
+ _xti_snd;
+ _xti_snddis;
+ _xti_sndrel;
+ _xti_sndudata;
+ _xti_strerror;
+ _xti_sync;
+ _xti_unbind;
+} SUNW_0.9;
+
+SUNW_0.9 { # SunOS 5.5 (Solaris 2.5)
+ global:
+ clnt_create_timed;
+ clnt_tp_create_timed;
+ getrpcport;
+} SUNW_0.8;
+
+SUNW_0.8 { # SunOS 5.4 (Solaris 2.4)
+ global:
+ rpc_control;
+ svc_done;
+} SUNW_0.7;
+
+SUNW_0.7 { # SunOS 5.3 (Solaris 2.3)
+ global:
+ authdes_create;
+ authdes_lock;
+ auth_destroy;
+ callrpc;
+ clnt_broadcast;
+ clnt_call;
+ clnt_control;
+ clnt_create_vers;
+ clnt_destroy;
+ clnt_freeres;
+ clnt_geterr;
+ clntraw_create;
+ clnttcp_create;
+ clntudp_bufcreate;
+ clntudp_create;
+ dbmclose;
+ dbminit;
+ delete;
+ des_setparity;
+ dial;
+ doconfig;
+ endhostent;
+ endrpcent;
+ fetch;
+ firstkey;
+ gethostbyaddr_r;
+ gethostbyname_r;
+ gethostent;
+ gethostent_r;
+ get_myaddress;
+ getrpcbyname;
+ getrpcbyname_r;
+ getrpcbynumber;
+ getrpcbynumber_r;
+ getrpcent;
+ getrpcent_r;
+ h_errno;
+ inet_ntoa_r;
+ key_secretkey_is_set;
+ maxbno;
+ nc_sperror;
+ netdir_perror;
+ netdir_sperror;
+ nextkey;
+ nis_add;
+ nis_add_entry;
+ nis_addmember;
+ nis_checkpoint;
+ nis_clone_object;
+ nis_creategroup;
+ nis_destroygroup;
+ nis_destroy_object;
+ nis_dir_cmp;
+ nis_domain_of;
+ nis_first_entry;
+ nis_freenames;
+ nis_freeresult;
+ nis_freeservlist;
+ nis_freetags;
+ nis_getnames;
+ nis_getservlist;
+ nis_ismember;
+ nis_leaf_of;
+ nis_leaf_of_r;
+ nis_lerror;
+ nis_list;
+ nis_local_directory;
+ nis_local_group;
+ nis_local_host;
+ nis_local_principal;
+ nis_lookup;
+ nis_mkdir;
+ nis_modify;
+ nis_modify_entry;
+ nis_name_of;
+ nis_next_entry;
+ nis_perror;
+ nis_ping;
+ nis_print_group_entry;
+ nis_print_object;
+ nis_remove;
+ nis_remove_entry;
+ nis_removemember;
+ nis_rmdir;
+ nis_servstate;
+ nis_sperrno;
+ nis_sperror;
+ nis_sperror_r;
+ nis_stats;
+ nis_verifygroup;
+ pmap_getmaps;
+ pmap_getport;
+ pmap_rmtcall;
+ pmap_set;
+ pmap_unset;
+ registerrpc;
+ sethostent;
+ setrpcent;
+ store;
+ svc_auth_reg;
+ svc_control;
+ svc_destroy;
+ svc_dg_enablecache;
+ svcfd_create;
+ svc_freeargs;
+ svc_getargs;
+ svc_getreq;
+ svc_getreq_common;
+ svc_getreq_poll;
+ svc_getrpccaller;
+ svcraw_create;
+ svc_register;
+ svctcp_create;
+ svcudp_bufcreate;
+ svcudp_create;
+ svc_unregister;
+ __t_errno;
+ t_getname;
+ t_nerr;
+ t_strerror;
+ undial;
+ xdr_destroy;
+ xdr_getpos;
+ xdr_hyper;
+ xdr_inline;
+ xdr_longlong_t;
+ xdr_quadruple;
+ xdrrec_endofrecord;
+ xdrrec_readbytes;
+ xdr_setpos;
+ xdr_sizeof;
+ xdr_u_hyper;
+ xdr_u_int;
+ xdr_u_longlong_t;
+ yp_all;
+ yp_bind;
+ yperr_string;
+ yp_first;
+ yp_get_default_domain;
+ yp_master;
+ yp_match;
+ yp_next;
+ yp_order;
+ ypprot_err;
+ yp_unbind;
+ yp_update;
+};
+
+# There really should be only one SUNWprivate version.
+# Don't add any more. Add new private symbols to SUNWprivate_1.5
+
+SUNWprivate_1.5 {
+ global:
+ clnt_create_service_timed;
+} SUNWprivate_1.4;
+
+SUNWprivate_1.4 {
+ global:
+ _build_internal_algs;
+ _check_daemon_lock;
+ _check_services;
+ _clean_trash;
+ _create_daemon_lock;
+ _duplicate_alg;
+ _enter_daemon_lock;
+ nis_make_rpchandle_gss_svc_ruid;
+ _real_getipsecalgs;
+ _real_getipsecprotos;
+ str2hostent6;
+ _str_to_ipsec_exec_mode;
+ __yp_all_cflookup;
+} SUNWprivate_1.3;
+
+SUNWprivate_1.3 {
+ global:
+ key_call_ruid;
+ key_removesecret_g_ruid;
+ key_secretkey_is_set_g_ruid;
+ key_setnet_g_ruid;
+ key_setnet_ruid;
+} SUNWprivate_1.2;
+
+SUNWprivate_1.2 {
+ global:
+ _doexeclist;
+ _dup_execstr;
+ _endauthattr;
+ _endauuser;
+ _endexecattr;
+ __endhostent6;
+ _endprofattr;
+ _enduserattr;
+ _escape;
+ _exec_cleanup;
+ _exec_wild_id;
+ _fgetuserattr;
+ _free_execstr;
+ _getauthattr;
+ _getauthnam;
+ _getauuserent;
+ _getauusernam;
+ _getexecattr;
+ _getexecprof;
+ __gethostent6;
+ _getprofattr;
+ _getprofnam;
+ _getuserattr;
+ _getusernam;
+ __nis_netconfig2ep;
+ __nis_netconfig_matches_ep;
+ _readbufline;
+ __rpc_bindresvport_ipv6;
+ _setauthattr;
+ _setauuser;
+ _setexecattr;
+ __sethostent6;
+ _setprofattr;
+ _setuserattr;
+ _strdup_null;
+ _strpbrk_escape;
+ _strtok_escape;
+ _switch_getipnodebyaddr_r;
+ _switch_getipnodebyname_r;
+ _uncached_getipnodebyaddr;
+ _uncached_getipnodebyname;
+ _unescape;
+ __yp_first_cflookup;
+ __yp_match_cflookup;
+ __yp_match_rsvdport_cflookup;
+ __yp_next_cflookup;
+} SUNWprivate_1.1;
+
+SUNWprivate_1.1 {
+ global:
+ __authenticate;
+ bitno;
+ blkno;
+ __break_name;
+ calchash;
+ cbc_crypt;
+ __cbc_triple_crypt;
+ check_version;
+ __clear_directory_ptr;
+ __clnt_create_loopback;
+ __cvt2attr;
+ dbrdonly;
+ __des_crypt;
+ des_setparity_g;
+ dirbuf;
+ dirf;
+ __do_ismember;
+ ecb_crypt;
+ __empty_yp_cache;
+ firsthash;
+ __free_nis_server;
+ __gen_common_dhkeys_g;
+ __gen_dhkeys;
+ __gen_dhkeys_g;
+ getdomainname;
+ gethostname = FUNCTION FILTER libc.so.1;
+ _get_hostserv_inetnetdir_byaddr;
+ _get_hostserv_inetnetdir_byname;
+ __getnetnamebyuid;
+ __getpublickey_cached;
+ __getpublickey_cached_g;
+ __getpublickey_flush;
+ __getpublickey_flush_g;
+ getpublickey_g;
+ getsecretkey_g;
+ hashinc;
+ _herrno2nss;
+ hmask;
+ __inet_address_count;
+ __inet_free_local_interfaces;
+ __inet_get_addr;
+ __inet_get_local_interfaces;
+ __inet_get_networka;
+ __inet_get_uaddr;
+ __inet_uaddr_is_local;
+ key_call;
+ key_decryptsession_g;
+ key_decryptsession_pk;
+ key_decryptsession_pk_g;
+ __key_decryptsession_pk_LOCAL;
+ key_encryptsession_g;
+ key_encryptsession_pk;
+ key_encryptsession_pk_g;
+ __key_encryptsession_pk_LOCAL;
+ key_gendes_g;
+ __key_gendes_LOCAL;
+ key_get_conv;
+ key_get_conv_g;
+ key_removesecret_g;
+ key_secretkey_is_set_g;
+ key_setnet;
+ key_setnet_g;
+ key_setsecret_g;
+ makdatum;
+ __name_distance;
+ __nderror;
+ __netdir_getbyaddr_nosrv;
+ __nis_auth2princ;
+ __nis_auth2princ_rpcgss;
+ __nis_authtype2mechalias;
+ __nis_bad_auth_server;
+ nis_bind_dir;
+ __nis_CacheAddEntry;
+ __nis_CacheBind;
+ __nis_CacheInit;
+ __nis_CacheLocalInit;
+ __nis_CacheLocalLoadPref;
+ __nis_CacheMgrBindMaster;
+ __nis_CacheMgrBindReplica;
+ __nis_CacheMgrBindServer;
+ __nis_CacheMgrCleanup;
+ __nis_CacheMgrInit;
+ __nis_CacheMgrInit_discard;
+ __nis_CacheMgrMarkUp;
+ __nis_CacheMgrRefreshAddress;
+ __nis_CacheMgrRefreshBinding;
+ __nis_CacheMgrRefreshCache;
+ __nis_CacheMgrRefreshCallback;
+ __nis_CacheMgrTimers;
+ __nis_CacheMgrUpdateUaddr;
+ __nis_CachePrint;
+ __nis_CacheRemoveEntry;
+ __nis_CacheRestart;
+ __nis_CacheSearch;
+ __nis_cast_proc;
+ __nis_ck_perms;
+ __nis_clnt_create;
+ __nis_core_lookup;
+ __nis_creategroup_obj;
+ nis_data;
+ __nis_debuglevel;
+ __nis_destroy_callback;
+ __nis_dhext_extract_pkey;
+ nis_dump;
+ nis_dumplog;
+ nis_finddirectory;
+ __nis_finddirectory;
+ __nis_finddirectory_remote;
+ nis_find_item;
+ __nis_flush_group_exp_name;
+ nis_flushgroups;
+ __nis_force_hard_lookups;
+ nis_free_binding;
+ __nis_freelogresult;
+ nis_free_request;
+ __nis_get_mechanism_library;
+ __nis_get_mechanisms;
+ __nis_get_mechanism_symbol;
+ __nis_get_netconfig;
+ nis_get_request;
+ __nis_get_server;
+ nis_get_static_storage;
+ __nis_group_cache_stats;
+ __nis_gssprin2netname;
+ __nis_host2nis_server;
+ __nis_host2nis_server_g;
+ __nis_host_is_server;
+ __nis_init_callback;
+ nis_insert_item;
+ nis_insert_name;
+ nis_in_table;
+ __nis_isadmin;
+ __nis_ismaster;
+ __nis_keyalg2authtype;
+ __nis_keyalg2mechalias;
+ __nis_list_localcb;
+ __nis_local_root;
+ nis_make_error;
+ nis_make_rpchandle;
+ nis_make_rpchandle_gss_svc;
+ __nis_map_group_r;
+ __nis_mechalias2authtype;
+ __nis_mechname2alias;
+ nis_old_data;
+ __nis_parse_path;
+ __nis_path;
+ __nis_path_free;
+ __nis_pingproc;
+ nis_pop_item;
+ __nis_principal;
+ nis_print_directory;
+ nis_print_entry;
+ nis_print_group;
+ nis_print_link;
+ __nis_print_result;
+ nis_print_rights;
+ nis_print_table;
+ nis_read_obj;
+ __nis_release_mechanisms;
+ __nis_release_server;
+ __nis_remote_lookup;
+ nis_remove_item;
+ nis_remove_name;
+ __nis_reset_state;
+ __nis_rpc_domain;
+ __nis_run_callback;
+ __nis_send_msg;
+ __nis_serverRefreshCache;
+ __nis_ss_used;
+ __nis_translate_mechanism;
+ nis_write_obj;
+ __npd_cbc_crypt;
+ __npd_ecb_crypt;
+ __nsl_dom;
+ __nss2herrno;
+ nss_ioctl;
+ order_haddrlist_af;
+ pagbuf;
+ pagf;
+ passwd2des;
+ passwd2des_g;
+ _rawcombuf;
+ __readColdStartFile;
+ __rpcbind_is_up;
+ __rpc_bindresvport;
+ rpcb_taddr2uaddr;
+ rpcb_uaddr2taddr;
+ __rpc_control;
+ __rpc_dtbsize;
+ __rpc_endconf;
+ __rpcfd_to_nconf;
+ __rpc_get_a_size;
+ __rpc_getconf;
+ __rpc_getconfip;
+ __rpc_get_default_domain;
+ __rpc_get_local_uid;
+ __rpc_get_t_size;
+ __rpc_matchserv;
+ __rpc_negotiate_uid;
+ __rpc_select_to_poll;
+ __rpc_setconf;
+ __rpc_timeval_to_msec;
+ __rpc_tli_set_options;
+ rtime_tli;
+ setdomainname;
+ __seterr_reply;
+ __start_clock;
+ __stop_clock;
+ str2hostent;
+ str2servent;
+ __svcauth_des;
+ svc_get_local_cred;
+ _svc_getreqset_proc;
+ __svc_get_svcauth;
+ __svc_nisplus_enable_timestamps;
+ __svc_nisplus_fdcleanup_hack;
+ __svc_nisplus_purge_since;
+ __svc_set_proc_cleanup_cb;
+ __svc_vc_dup;
+ __svc_vc_dupcache_init;
+ __svc_vc_dupdone;
+ svc_xprt_alloc;
+ svc_xprt_free;
+ _switch_gethostbyaddr_r;
+ _switch_gethostbyname_r;
+ t_errlist;
+ tiusr_statetbl;
+ _t_strerror;
+ _uncached_gethostbyaddr_r;
+ _uncached_gethostbyname_r;
+ usingypmap;
+ writeColdStartFile;
+ xdecrypt;
+ xdecrypt_g;
+ xdr_authdes_cred;
+ xdr_authdes_verf;
+ xdr_cback_data;
+ xdr_cp_result;
+ xdr_cryptkeyarg;
+ xdr_cryptkeyarg2;
+ xdr_cryptkeyarg3;
+ xdr_cryptkeyres;
+ xdr_cryptkeyres3;
+ xdr_datum;
+ xdr_des_block;
+ xdr_deskeyarg3;
+ xdr_deskeyarray;
+ xdr_directory_obj;
+ xdr_dump_args;
+ xdr_endpoint;
+ xdr_entry_obj;
+ xdr_fd_args;
+ xdr_fd_result;
+ xdr_getcredres;
+ xdr_getcredres3;
+ xdr_gid_t;
+ xdr_ib_request;
+ xdr_int16_t;
+ xdr_int32_t;
+ xdr_int64_t;
+ xdr_int8_t;
+ xdr_keybuf;
+ xdr_keybuf3;
+ xdr_key_netstarg;
+ xdr_key_netstarg3;
+ xdr_key_netstres;
+ xdr_key_netstres3;
+ xdr_keynum_t;
+ xdr_keystatus;
+ xdr_log_entry;
+ xdr_log_result;
+ xdr_mechtype;
+ xdr_netbuf;
+ xdr_netnamestr;
+ xdr_netobj;
+ xdr_nis_attr;
+ xdr_nis_bound_directory;
+ xdr_nis_bound_endpoint;
+ xdr_nis_error;
+ xdr_nis_name;
+ xdr_nis_object;
+ xdr_nis_oid;
+ xdr_nis_result;
+ xdr_nis_server;
+ xdr_nis_taglist;
+ xdr_ns_request;
+ xdr_objdata;
+ xdr_obj_p;
+ xdr_ping_args;
+ xdr_pmap;
+ xdr_pmaplist;
+ xdr_pmaplist_ptr;
+ xdr_rmtcallargs;
+ xdr_rmtcallres;
+ xdr_rpcb;
+ xdr_rpcb_entry;
+ xdr_rpcb_entry_list_ptr;
+ xdr_rpcblist;
+ xdr_rpcblist_ptr;
+ xdr_rpcb_rmtcallargs;
+ xdr_rpcb_rmtcallres;
+ xdr_rpcbs_addrlist;
+ xdr_rpcbs_addrlist_ptr;
+ xdr_rpcbs_proc;
+ xdr_rpcbs_rmtcalllist;
+ xdr_rpcbs_rmtcalllist_ptr;
+ xdr_rpcb_stat;
+ xdr_rpcb_stat_byvers;
+ xdr_setkeyarg3;
+ xdr_table_obj;
+ xdr_uid_t;
+ xdr_uint16_t;
+ xdr_uint32_t;
+ xdr_uint64_t;
+ xdr_uint8_t;
+ xdr_ulonglong_t;
+ xdr_unixcred;
+ xdr_ypall;
+ xdr_ypbind_domain;
+ xdr_ypbind_resp;
+ xdr_ypbind_resptype;
+ xdr_ypbind_setdom;
+ xdr_yp_buf;
+ xdr_ypdelete_args;
+ xdr_ypdomain_wrap_string;
+ xdr_ypmap_parms;
+ xdr_ypmap_wrap_string;
+ xdr_ypowner_wrap_string;
+ xdr_yppasswd;
+ xdr_yppushresp_xfr;
+ xdr_ypreq_key;
+ xdr_ypreq_newxfr;
+ xdr_ypreq_nokey;
+ xdr_ypreq_xfr;
+ xdr_ypresp_key_val;
+ xdr_ypresp_maplist;
+ xdr_ypresp_master;
+ xdr_ypresp_order;
+ xdr_ypresp_val;
+ xdr_ypupdate_args;
+ xencrypt;
+ xencrypt_g;
+ __yp_add_binding;
+ __yp_all_rsvdport;
+ ypbindproc_domain_3;
+ __yp_clnt_create_rsvdport;
+ __yp_dobind;
+ __yp_master_rsvdport;
+ yp_match_rsvdport;
+ __yp_rel_binding;
+ local:
+ *;
+};
diff --git a/usr/src/lib/libnsl/i386/mapfile-vers b/usr/src/lib/libnsl/i386/mapfile-vers
new file mode 100644
index 0000000000..e364620aec
--- /dev/null
+++ b/usr/src/lib/libnsl/i386/mapfile-vers
@@ -0,0 +1,184 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNW_1.1 {
+ global:
+ _new_svc_fdset;
+} SUNW_0.7;
+
+SUNW_0.7 {
+ global:
+ gethostbyaddr;
+ gethostbyname;
+ inet_addr;
+ inet_netof;
+ inet_ntoa;
+ _null_auth;
+ rpc_broadcast_exp;
+ __rpc_createerr;
+ svc_exit;
+ svc_fdset;
+} SYSVABI_1.3;
+
+SYSVABI_1.3 {
+ global:
+ authdes_getucred;
+ authdes_seccreate;
+ authnone_create;
+ authsys_create;
+ authsys_create_default;
+ clnt_create;
+ clnt_dg_create;
+ clnt_pcreateerror;
+ clnt_perrno;
+ clnt_perror;
+ clnt_raw_create;
+ clnt_spcreateerror;
+ clnt_sperrno;
+ clnt_sperror;
+ clnt_tli_create;
+ clnt_tp_create;
+ clnt_vc_create;
+ endnetconfig;
+ endnetpath;
+ freenetconfigent;
+ getnetconfig;
+ getnetconfigent;
+ getnetname;
+ getnetpath;
+ getpublickey;
+ getsecretkey;
+ host2netname;
+ key_decryptsession;
+ key_encryptsession;
+ key_gendes;
+ key_setsecret;
+ nc_perror;
+ _nderror;
+ netdir_free;
+ netdir_getbyaddr;
+ netdir_getbyname;
+ netdir_options;
+ netname2host;
+ netname2user;
+ rpcb_getaddr;
+ rpcb_getmaps;
+ rpcb_gettime;
+ rpcb_rmtcall;
+ rpc_broadcast;
+ rpcb_set;
+ rpcb_unset;
+ rpc_call;
+ rpc_createerr;
+ rpc_reg;
+ setnetconfig;
+ setnetpath;
+ svc_create;
+ svc_dg_create;
+ svcerr_auth;
+ svcerr_decode;
+ svcerr_noproc;
+ svcerr_noprog;
+ svcerr_progvers;
+ svcerr_systemerr;
+ svcerr_weakauth;
+ svc_fd_create;
+ svc_getreqset;
+ svc_raw_create;
+ svc_reg;
+ svc_run;
+ svc_sendreply;
+ svc_tli_create;
+ svc_tp_create;
+ svc_unreg;
+ svc_vc_create;
+ t_accept;
+ taddr2uaddr;
+ t_alloc;
+ t_bind;
+ t_close;
+ t_connect;
+ t_errno;
+ t_error;
+ t_free;
+ t_getinfo;
+ t_getstate;
+ t_listen;
+ t_look;
+ t_open;
+ t_optmgmt;
+ t_rcv;
+ t_rcvconnect;
+ t_rcvdis;
+ t_rcvrel;
+ t_rcvudata;
+ t_rcvuderr;
+ t_snd;
+ t_snddis;
+ t_sndrel;
+ t_sndudata;
+ t_sync;
+ t_unbind;
+ uaddr2taddr;
+ user2netname;
+ xdr_accepted_reply;
+ xdr_array;
+ xdr_authsys_parms;
+ xdr_bool;
+ xdr_bytes;
+ xdr_callhdr;
+ xdr_callmsg;
+ xdr_char;
+ xdr_double;
+ xdr_enum;
+ xdr_float;
+ xdr_free;
+ xdr_int;
+ xdr_long;
+ xdrmem_create;
+ xdr_opaque;
+ xdr_opaque_auth;
+ xdr_pointer;
+ xdrrec_create;
+ xdrrec_eof;
+ xdrrec_skiprecord;
+ xdr_reference;
+ xdr_rejected_reply;
+ xdr_replymsg;
+ xdr_short;
+ xdrstdio_create;
+ xdr_string;
+ xdr_u_char;
+ xdr_u_long;
+ xdr_union;
+ xdr_u_short;
+ xdr_vector;
+ xdr_void;
+ xdr_wrapstring;
+ xprt_register;
+ xprt_unregister;
+};
diff --git a/usr/src/lib/libnsl/sparc/mapfile-vers b/usr/src/lib/libnsl/sparc/mapfile-vers
new file mode 100644
index 0000000000..0ec46fbb66
--- /dev/null
+++ b/usr/src/lib/libnsl/sparc/mapfile-vers
@@ -0,0 +1,188 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNW_1.1 {
+ global:
+ _new_svc_fdset;
+} SUNW_0.7;
+
+SUNW_0.7 {
+ global:
+ __rpc_createerr;
+ svc_exit;
+} SISCD_2.3;
+
+SISCD_2.3 {
+ global:
+ gethostbyaddr;
+ gethostbyname;
+ inet_addr;
+ inet_netof;
+ inet_ntoa;
+ _null_auth;
+ rpc_broadcast_exp;
+ svc_fdset;
+} SYSVABI_1.3;
+
+SYSVABI_1.3 {
+ global:
+ authdes_getucred;
+ authdes_seccreate;
+ authnone_create;
+ authsys_create;
+ authsys_create_default;
+ clnt_create;
+ clnt_dg_create;
+ clnt_pcreateerror;
+ clnt_perrno;
+ clnt_perror;
+ clnt_raw_create;
+ clnt_spcreateerror;
+ clnt_sperrno;
+ clnt_sperror;
+ clnt_tli_create;
+ clnt_tp_create;
+ clnt_vc_create;
+ endnetconfig;
+ endnetpath;
+ freenetconfigent;
+ getnetconfig;
+ getnetconfigent;
+ getnetname;
+ getnetpath;
+ getpublickey;
+ getsecretkey;
+ host2netname;
+ key_decryptsession;
+ key_encryptsession;
+ key_gendes;
+ key_setsecret;
+ nc_perror;
+ _nderror;
+ netdir_free;
+ netdir_getbyaddr;
+ netdir_getbyname;
+ netdir_options;
+ netname2host;
+ netname2user;
+ rpcb_getaddr;
+ rpcb_getmaps;
+ rpcb_gettime;
+ rpcb_rmtcall;
+ rpc_broadcast;
+ rpcb_set;
+ rpcb_unset;
+ rpc_call;
+ rpc_createerr;
+ rpc_reg;
+ setnetconfig;
+ setnetpath;
+ svc_create;
+ svc_dg_create;
+ svcerr_auth;
+ svcerr_decode;
+ svcerr_noproc;
+ svcerr_noprog;
+ svcerr_progvers;
+ svcerr_systemerr;
+ svcerr_weakauth;
+ svc_fd_create;
+ svc_getreqset;
+ svc_raw_create;
+ svc_reg;
+ svc_run;
+ svc_sendreply;
+ svc_tli_create;
+ svc_tp_create;
+ svc_unreg;
+ svc_vc_create;
+ t_accept;
+ taddr2uaddr;
+ t_alloc;
+ t_bind;
+ t_close;
+ t_connect;
+ t_errno;
+ t_error;
+ t_free;
+ t_getinfo;
+ t_getstate;
+ t_listen;
+ t_look;
+ t_open;
+ t_optmgmt;
+ t_rcv;
+ t_rcvconnect;
+ t_rcvdis;
+ t_rcvrel;
+ t_rcvudata;
+ t_rcvuderr;
+ t_snd;
+ t_snddis;
+ t_sndrel;
+ t_sndudata;
+ t_sync;
+ t_unbind;
+ uaddr2taddr;
+ user2netname;
+ xdr_accepted_reply;
+ xdr_array;
+ xdr_authsys_parms;
+ xdr_bool;
+ xdr_bytes;
+ xdr_callhdr;
+ xdr_callmsg;
+ xdr_char;
+ xdr_double;
+ xdr_enum;
+ xdr_float;
+ xdr_free;
+ xdr_int;
+ xdr_long;
+ xdrmem_create;
+ xdr_opaque;
+ xdr_opaque_auth;
+ xdr_pointer;
+ xdrrec_create;
+ xdrrec_eof;
+ xdrrec_skiprecord;
+ xdr_reference;
+ xdr_rejected_reply;
+ xdr_replymsg;
+ xdr_short;
+ xdrstdio_create;
+ xdr_string;
+ xdr_u_char;
+ xdr_u_long;
+ xdr_union;
+ xdr_u_short;
+ xdr_vector;
+ xdr_void;
+ xdr_wrapstring;
+ xprt_register;
+ xprt_unregister;
+};
diff --git a/usr/src/lib/libnsl/sparcv9/mapfile-vers b/usr/src/lib/libnsl/sparcv9/mapfile-vers
new file mode 100644
index 0000000000..be34bab33f
--- /dev/null
+++ b/usr/src/lib/libnsl/sparcv9/mapfile-vers
@@ -0,0 +1,175 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNW_0.7 {
+ global:
+ authdes_getucred;
+ authdes_seccreate;
+ authnone_create;
+ authsys_create;
+ authsys_create_default;
+ clnt_create;
+ clnt_dg_create;
+ clnt_pcreateerror;
+ clnt_perrno;
+ clnt_perror;
+ clnt_raw_create;
+ clnt_spcreateerror;
+ clnt_sperrno;
+ clnt_sperror;
+ clnt_tli_create;
+ clnt_tp_create;
+ clnt_vc_create;
+ endnetconfig;
+ endnetpath;
+ freenetconfigent;
+ gethostbyaddr;
+ gethostbyname;
+ getnetconfig;
+ getnetconfigent;
+ getnetname;
+ getnetpath;
+ getpublickey;
+ getsecretkey;
+ host2netname;
+ inet_addr;
+ inet_netof;
+ inet_ntoa;
+ key_decryptsession;
+ key_encryptsession;
+ key_gendes;
+ key_setsecret;
+ nc_perror;
+ _nderror;
+ netdir_free;
+ netdir_getbyaddr;
+ netdir_getbyname;
+ netdir_options;
+ netname2host;
+ netname2user;
+ _null_auth;
+ rpcb_getaddr;
+ rpcb_getmaps;
+ rpcb_gettime;
+ rpcb_rmtcall;
+ rpc_broadcast;
+ rpc_broadcast_exp;
+ rpcb_set;
+ rpcb_unset;
+ rpc_call;
+ rpc_createerr;
+ __rpc_createerr;
+ rpc_reg;
+ setnetconfig;
+ setnetpath;
+ svc_create;
+ svc_dg_create;
+ svcerr_auth;
+ svcerr_decode;
+ svcerr_noproc;
+ svcerr_noprog;
+ svcerr_progvers;
+ svcerr_systemerr;
+ svcerr_weakauth;
+ svc_exit;
+ svc_fd_create;
+ svc_fdset;
+ svc_getreqset;
+ svc_raw_create;
+ svc_reg;
+ svc_run;
+ svc_sendreply;
+ svc_tli_create;
+ svc_tp_create;
+ svc_unreg;
+ svc_vc_create;
+ t_accept;
+ taddr2uaddr;
+ t_alloc;
+ t_bind;
+ t_close;
+ t_connect;
+ t_errno;
+ t_error;
+ t_free;
+ t_getinfo;
+ t_getstate;
+ t_listen;
+ t_look;
+ t_open;
+ t_optmgmt;
+ t_rcv;
+ t_rcvconnect;
+ t_rcvdis;
+ t_rcvrel;
+ t_rcvudata;
+ t_rcvuderr;
+ t_snd;
+ t_snddis;
+ t_sndrel;
+ t_sndudata;
+ t_sync;
+ t_unbind;
+ uaddr2taddr;
+ user2netname;
+ xdr_accepted_reply;
+ xdr_array;
+ xdr_authsys_parms;
+ xdr_bool;
+ xdr_bytes;
+ xdr_callhdr;
+ xdr_callmsg;
+ xdr_char;
+ xdr_double;
+ xdr_enum;
+ xdr_float;
+ xdr_free;
+ xdr_int;
+ xdr_long;
+ xdrmem_create;
+ xdr_opaque;
+ xdr_opaque_auth;
+ xdr_pointer;
+ xdrrec_create;
+ xdrrec_eof;
+ xdrrec_skiprecord;
+ xdr_reference;
+ xdr_rejected_reply;
+ xdr_replymsg;
+ xdr_short;
+ xdrstdio_create;
+ xdr_string;
+ xdr_u_char;
+ xdr_u_long;
+ xdr_union;
+ xdr_u_short;
+ xdr_vector;
+ xdr_void;
+ xdr_wrapstring;
+ xprt_register;
+ xprt_unregister;
+};
diff --git a/usr/src/lib/libnsl/spec/Makefile b/usr/src/lib/libnsl/spec/Makefile
deleted file mode 100644
index 2efaab68bf..0000000000
--- a/usr/src/lib/libnsl/spec/Makefile
+++ /dev/null
@@ -1,29 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1998-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libnsl/spec/Makefile
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/libnsl/spec/Makefile.targ b/usr/src/lib/libnsl/spec/Makefile.targ
deleted file mode 100644
index 3aaba06a6b..0000000000
--- a/usr/src/lib/libnsl/spec/Makefile.targ
+++ /dev/null
@@ -1,47 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 1998-1999, 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libnsl/spec/Makefile.targ
-
-LIBRARY = libnsl.a
-VERS = .1
-
-OBJECTS = des.o \
- dial.o \
- inet.o \
- ipsec.o \
- netdir.o \
- nis.o \
- nsl.o \
- rpc.o \
- tli.o \
- xdr.o \
- xti.o \
- yp.o \
- private.o
-
-SPECCPP = -I..
diff --git a/usr/src/lib/libnsl/spec/amd64/Makefile b/usr/src/lib/libnsl/spec/amd64/Makefile
deleted file mode 100644
index 453c0ea671..0000000000
--- a/usr/src/lib/libnsl/spec/amd64/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#amd64_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libnsl/spec/des.spec b/usr/src/lib/libnsl/spec/des.spec
deleted file mode 100644
index 413b397324..0000000000
--- a/usr/src/lib/libnsl/spec/des.spec
+++ /dev/null
@@ -1,33 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libnsl/spec/des.spec
-
-function des_setparity
-declaration void des_setparity(char *p)
-version SUNW_0.7
-end
-
diff --git a/usr/src/lib/libnsl/spec/dial.spec b/usr/src/lib/libnsl/spec/dial.spec
deleted file mode 100644
index ab010e9a9d..0000000000
--- a/usr/src/lib/libnsl/spec/dial.spec
+++ /dev/null
@@ -1,40 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libnsl/spec/dial.spec
-
-function dial
-include <dial.h>
-declaration int dial(CALL call)
-version SUNW_0.7
-end
-
-function undial
-include <dial.h>
-declaration void undial(int fd)
-version SUNW_0.7
-end
-
diff --git a/usr/src/lib/libnsl/spec/i386/Makefile b/usr/src/lib/libnsl/spec/i386/Makefile
deleted file mode 100644
index 406cb811a9..0000000000
--- a/usr/src/lib/libnsl/spec/i386/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1998-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libnsl/spec/i386/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#i386_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libnsl/spec/inet.spec b/usr/src/lib/libnsl/spec/inet.spec
deleted file mode 100644
index 0010ed0368..0000000000
--- a/usr/src/lib/libnsl/spec/inet.spec
+++ /dev/null
@@ -1,82 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# NOTE: Look at "versions" file for more details on why there may
-# appear to be "gaps" in version number space.
-#
-
-function inet_addr
-include <sys/types.h>, <sys/socket.h>, <netinet/in.h>, <arpa/inet.h>
-declaration in_addr_t inet_addr(const char *cp)
-version i386=SUNW_0.7 sparc=SISCD_2.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-end
-
-function inet_netof
-include <sys/types.h>, <sys/socket.h>, <netinet/in.h>, <arpa/inet.h>
-declaration in_addr_t inet_netof(struct in_addr in)
-version i386=SUNW_0.7 sparc=SISCD_2.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-end
-
-function inet_ntoa
-include <sys/types.h>, <sys/socket.h>, <netinet/in.h>, <arpa/inet.h>
-declaration char *inet_ntoa(const struct in_addr in)
-version i386=SUNW_0.7 sparc=SISCD_2.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-exception $return == 0
-end
-
-function inet_ntoa_r
-declaration char *inet_ntoa_r(struct in_addr in, char *b)
-version SUNW_0.7
-end
-
-function inet_ntop
-include <sys/socket.h>, <arpa/inet.h>
-declaration const char *inet_ntop(int af, const void *src, char *dst, socklen_t size)
-version SUNW_1.7
-exception $return == 0
-end
-
-function inet_pton
-include <sys/socket.h>, <arpa/inet.h>
-declaration int inet_pton(int af, const char *src, void *dst)
-version SUNW_1.7
-exception $return == -1
-end
-
-function inet_aton
-include <sys/types.h>, <sys/socket.h>, <netinet/in.h>, <arpa/inet.h>
-declaration char *inet_ntoa(const struct in_addr in)
-version SUNW_1.10
-exception $return == 0
-end
-
-function _inet_aton
-weak inet_aton
-include <sys/types.h>, <sys/socket.h>, <netinet/in.h>, <arpa/inet.h>
-declaration char *inet_ntoa(const struct in_addr in)
-version SUNW_1.10
-exception $return == 0
-end
diff --git a/usr/src/lib/libnsl/spec/ipsec.spec b/usr/src/lib/libnsl/spec/ipsec.spec
deleted file mode 100644
index 50fa227ec1..0000000000
--- a/usr/src/lib/libnsl/spec/ipsec.spec
+++ /dev/null
@@ -1,101 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libnsl/spec/ipsec.spec
-
-function getipsecalgbyname
-include <netdb.h>
-declaration struct ipsecalgent *getipsecalgbyname(const char *name, \
- int proto_num, int *errnop)
-version SUNW_1.9
-exception $return == 0
-end
-
-function getipsecalgbynum
-include <netdb.h>
-declaration struct ipsecalgent *getipsecalgbynum(int alg_num, \
- int proto_num, int *errnop)
-version SUNW_1.9
-exception $return == 0
-end
-
-function getipsecprotobyname
-include <netdb.h>
-declaration int getipsecprotobyname(const char *proto_name)
-version SUNW_1.9
-exception $return == -1
-end
-
-function getipsecprotobynum
-include <netdb.h>
-declaration char *getipsecprotobynum(int proto_num)
-version SUNW_1.9
-exception $return == 0
-end
-
-function freeipsecalgent
-include <netdb.h>
-declaration void freeipsecalgent(struct ipsecalgent *ptr)
-version SUNW_1.9
-end
-
-function _build_internal_algs
-include <ipsec_util.h>
-declaration void _build_internal_algs(ipsec_proto_t **alg_context, \
- int *alg_nums)
-version SUNWprivate_1.4
-end
-
-function _real_getipsecprotos
-include <ipsec_util.h>
-declaration int *_real_getipsecprotos(int *nentries)
-version SUNWprivate_1.4
-end
-
-function _real_getipsecalgs
-include <ipsec_util.h>
-declaration int *_real_getipsecalgs(int *nentries, int proto_num)
-version SUNWprivate_1.4
-end
-
-function _clean_trash
-include <ipsec_util.h>
-declaration void _clean_trash(ipsec_proto_t *proto, int num)
-version SUNWprivate_1.4
-end
-
-function _duplicate_alg
-include <ipsec_util.h>
-declaration struct ipsecalgent *_duplicate_alg(struct ipsecalgent *orig)
-version SUNWprivate_1.4
-end
-
-function _str_to_ipsec_exec_mode
-include <ipsec_util.h>
-declaration int _str_to_ipsec_exec_mode(char *str, \
- ipsecalgs_exec_mode_t *exec_mode)
-version SUNWprivate_1.4
-end
diff --git a/usr/src/lib/libnsl/spec/netdir.spec b/usr/src/lib/libnsl/spec/netdir.spec
deleted file mode 100644
index 22402600a4..0000000000
--- a/usr/src/lib/libnsl/spec/netdir.spec
+++ /dev/null
@@ -1,85 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-function netdir_getbyname
-include <netdir.h>
-declaration int netdir_getbyname(struct netconfig *config, \
- struct nd_hostserv *service, \
- struct nd_addrlist **addrs)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-end
-
-function netdir_getbyaddr
-include <netdir.h>
-declaration int netdir_getbyaddr(struct netconfig *config, \
- struct nd_hostservlist **service, \
- struct netbuf *netaddr)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-end
-
-function netdir_free
-include <netdir.h>
-declaration void netdir_free(void *ptr, const int struct_type)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-end
-
-function netdir_options
-include <netdir.h>
-declaration int netdir_options(struct netconfig *config, \
- int option, int fildes, char *point_to_args)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-exception $return == -1
-end
-
-function taddr2uaddr
-include <netdir.h>
-declaration char *taddr2uaddr(struct netconfig *config, struct netbuf *addr)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-exception $return == 0
-end
-
-function uaddr2taddr
-include <netdir.h>
-declaration struct netbuf *uaddr2taddr(struct netconfig *config, \
- char *uaddr)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-exception $return == 0
-end
-
-function netdir_perror
-include <netdir.h>
-declaration void netdir_perror(char *s)
-version SUNW_0.7
-end
-
-function netdir_sperror
-include <netdir.h>
-declaration char *netdir_sperror(void)
-version SUNW_0.7
-exception $return == 0
-end
-
diff --git a/usr/src/lib/libnsl/spec/nis.spec b/usr/src/lib/libnsl/spec/nis.spec
deleted file mode 100644
index f43b5428e4..0000000000
--- a/usr/src/lib/libnsl/spec/nis.spec
+++ /dev/null
@@ -1,452 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libnsl/spec/nis.spec
-
-function dbmclose
-version SUNW_0.7
-end
-
-function dbminit
-version SUNW_0.7
-end
-
-function nis_sperrno
-include <rpcsvc/nis.h>
-declaration char *nis_sperrno(const nis_error status)
-version SUNW_0.7
-exception $return == 0
-end
-
-function nis_perror
-include <rpcsvc/nis.h>
-declaration void nis_perror(nis_error status, char *label)
-version SUNW_0.7
-end
-
-function nis_lerror
-include <rpcsvc/nis.h>
-declaration void nis_lerror(nis_error status, char *label)
-version SUNW_0.7
-end
-
-function nis_sperror_r
-include <rpcsvc/nis.h>
-declaration char *nis_sperror_r(nis_error status, char *label, \
- char * buf, int length)
-version SUNW_0.7
-exception $return == 0
-end
-
-function nis_sperror
-include <rpcsvc/nis.h>
-declaration char *nis_sperror(nis_error status, char *label)
-version SUNW_0.7
-exception $return == 0
-end
-
-function nis_ismember
-include <rpcsvc/nis.h>
-declaration bool_t nis_ismember(const nis_name principal, \
- const nis_name group)
-version SUNW_0.7
-exception $return == FALSE
-end
-
-function nis_addmember
-include <rpcsvc/nis.h>
-declaration nis_error nis_addmember(const nis_name member, \
- const nis_name group)
-version SUNW_0.7
-exception $return != NIS_SUCCESS
-end
-
-function nis_removemember
-include <rpcsvc/nis.h>
-declaration nis_error nis_removemember(const nis_name member, \
- const nis_name group)
-version SUNW_0.7
-exception $return != NIS_SUCCESS
-end
-
-function nis_creategroup
-include <rpcsvc/nis.h>
-declaration nis_error nis_creategroup(nis_name group, uint_t flags)
-version SUNW_0.7
-exception $return != NIS_SUCCESS
-end
-
-function nis_destroygroup
-include <rpcsvc/nis.h>
-declaration nis_error nis_destroygroup(const nis_name group)
-version SUNW_0.7
-exception $return != NIS_SUCCESS
-end
-
-function nis_print_group_entry
-include <rpcsvc/nis.h>
-declaration void nis_print_group_entry(const nis_name group)
-version SUNW_0.7
-end
-
-function nis_verifygroup
-include <rpcsvc/nis.h>
-declaration nis_error nis_verifygroup(const nis_name group)
-version SUNW_0.7
-exception $return != NIS_SUCCESS
-end
-
-function nis_local_directory
-include <rpcsvc/nis.h>
-declaration nis_name nis_local_directory(void)
-version SUNW_0.7
-exception $return == 0
-end
-
-function nis_local_host
-include <rpcsvc/nis.h>
-declaration nis_name nis_local_host(void)
-version SUNW_0.7
-exception $return == 0
-end
-
-function nis_local_group
-include <rpcsvc/nis.h>
-declaration nis_name nis_local_group(void)
-version SUNW_0.7
-exception $return == 0
-end
-
-function nis_local_principal
-include <rpcsvc/nis.h>
-declaration nis_name nis_local_principal(void)
-version SUNW_0.7
-exception $return == 0
-end
-
-function nis_lookup
-include <rpcsvc/nis.h>
-declaration nis_result *nis_lookup(nis_name name, uint_t flags)
-version SUNW_0.7
-exception $return->status != NIS_SUCCESS
-end
-
-function nis_add
-include <rpcsvc/nis.h>
-declaration nis_result *nis_add(nis_name name, nis_object *obj)
-version SUNW_0.7
-exception $return->status != NIS_SUCCESS
-end
-
-function nis_remove
-include <rpcsvc/nis.h>
-declaration nis_result *nis_remove(nis_name name, nis_object *obj)
-version SUNW_0.7
-exception $return->status != NIS_SUCCESS
-end
-
-function nis_modify
-include <rpcsvc/nis.h>
-declaration nis_result *nis_modify(nis_name name, nis_object *obj)
-version SUNW_0.7
-exception $return->status != NIS_SUCCESS
-end
-
-function nis_ping
-include <rpcsvc/nis.h>
-declaration void nis_ping(nis_name dirname, uint32_t utime, nis_object *dirobj)
-version SUNW_0.7
-end
-
-function nis_checkpoint
-include <rpcsvc/nis.h>
-declaration nis_result *nis_checkpoint(const nis_name dirname)
-version SUNW_0.7
-exception $return == 0
-end
-
-function nis_mkdir
-include <rpcsvc/nis.h>
-declaration nis_error nis_mkdir(nis_name dirname, nis_server *machine)
-version SUNW_0.7
-exception $return != NIS_SUCCESS
-end
-
-function nis_rmdir
-include <rpcsvc/nis.h>
-declaration nis_error nis_rmdir(nis_name dirname, nis_server *machine)
-version SUNW_0.7
-exception $return != NIS_SUCCESS
-end
-
-function nis_servstate
-include <rpcsvc/nis.h>
-declaration nis_error nis_servstate(nis_server *machine, \
- nis_tag *tags, int numtags, nis_tag **result)
-version SUNW_0.7
-exception $return != NIS_SUCCESS
-end
-
-function nis_stats
-include <rpcsvc/nis.h>
-declaration nis_error nis_stats(nis_server *machine, \
- nis_tag *tags, int numtags, nis_tag **result)
-version SUNW_0.7
-exception $return != NIS_SUCCESS
-end
-
-function nis_freetags
-include <rpcsvc/nis.h>
-declaration void nis_freetags(nis_tag *tags, const int numtags)
-version SUNW_0.7
-end
-
-function nis_getservlist
-include <rpcsvc/nis.h>
-declaration nis_server **nis_getservlist(const nis_name dirname)
-version SUNW_0.7
-exception $return == 0
-end
-
-function nis_freeservlist
-include <rpcsvc/nis.h>
-declaration void nis_freeservlist(nis_server **machines)
-version SUNW_0.7
-end
-
-function nis_leaf_of
-include <rpcsvc/nis.h>
-declaration nis_name nis_leaf_of(const nis_name name)
-version SUNW_0.7
-end
-
-function nis_name_of
-include <rpcsvc/nis.h>
-declaration nis_name nis_name_of(const nis_name name)
-version SUNW_0.7
-end
-
-function nis_domain_of
-include <rpcsvc/nis.h>
-declaration nis_name nis_domain_of(const nis_name name)
-version SUNW_0.7
-end
-
-function nis_getnames
-include <rpcsvc/nis.h>
-declaration nis_name *nis_getnames(const nis_name name)
-version SUNW_0.7
-exception $return == 0
-end
-
-function nis_freenames
-include <rpcsvc/nis.h>
-declaration void nis_freenames(nis_name *namelist)
-### APPENDED
-version SUNW_0.7
-version SUNW_0.7
-end
-
-function nis_dir_cmp
-include <rpcsvc/nis.h>
-declaration name_pos nis_dir_cmp(const nis_name n1, const nis_name n2)
-version SUNW_0.7
-end
-
-function nis_clone_object
-include <rpcsvc/nis.h>
-declaration nis_object *nis_clone_object(nis_object *src, \
- nis_object *dest)
-version SUNW_0.7
-exception $return == 0
-end
-
-function nis_destroy_object
-include <rpcsvc/nis.h>
-declaration void nis_destroy_object(nis_object *obj)
-version SUNW_0.7
-end
-
-function nis_print_object
-include <rpcsvc/nis.h>
-declaration void nis_print_object(nis_object *obj)
-version SUNW_0.7
-end
-
-function nis_list
-include <rpcsvc/nis.h>
-declaration nis_result *nis_list(nis_name name, \
- uint_t flags, int (*callback)(nis_name table_name, \
- nis_object *object, void *userdata), \
- void *userdata)
-version SUNW_0.7
-exception $return == 0
-end
-
-function nis_add_entry
-include <rpcsvc/nis.h>
-declaration nis_result *nis_add_entry(nis_name table_name, \
- nis_object *object, uint_t flags)
-version SUNW_0.7
-exception $return == 0
-end
-
-function nis_remove_entry
-include <rpcsvc/nis.h>
-declaration nis_result *nis_remove_entry(nis_name name, \
- nis_object *object, uint_t flags)
-version SUNW_0.7
-exception $return == 0
-end
-
-function nis_modify_entry
-include <rpcsvc/nis.h>
-declaration nis_result *nis_modify_entry(nis_name name, \
- nis_object *object, uint_t flags)
-version SUNW_0.7
-exception $return == 0
-end
-
-function nis_first_entry
-include <rpcsvc/nis.h>
-declaration nis_result *nis_first_entry(const nis_name table_name)
-version SUNW_0.7
-exception $return == 0
-end
-
-function nis_next_entry
-include <rpcsvc/nis.h>
-declaration nis_result *nis_next_entry(nis_name table_name, netobj *cookie)
-version SUNW_0.7
-exception $return == 0
-end
-
-function nis_freeresult
-include <rpcsvc/nis.h>
-declaration void nis_freeresult(nis_result *result)
-version SUNW_0.7
-end
-
-function delete
-version SUNW_0.7
-end
-
-function nis_data
-version SUNWprivate_1.1
-end
-
-function nis_dump
-version SUNWprivate_1.1
-end
-
-function nis_dumplog
-version SUNWprivate_1.1
-end
-
-function nis_find_item
-version SUNWprivate_1.1
-end
-
-function nis_finddirectory
-version SUNWprivate_1.1
-end
-
-function nis_free_request
-version SUNWprivate_1.1
-end
-
-function nis_get_request
-version SUNWprivate_1.1
-end
-
-function nis_get_static_storage
-version SUNWprivate_1.1
-end
-
-function nis_in_table
-version SUNWprivate_1.1
-end
-
-function nis_insert_item
-version SUNWprivate_1.1
-end
-
-function nis_insert_name
-version SUNWprivate_1.1
-end
-
-function nis_leaf_of_r
-version SUNW_0.7
-end
-
-function nis_make_error
-version SUNWprivate_1.1
-end
-
-function nis_make_rpchandle
-version SUNWprivate_1.1
-end
-
-function nis_print_directory
-version SUNWprivate_1.1
-end
-
-function nis_print_entry
-version SUNWprivate_1.1
-end
-
-function nis_print_group
-version SUNWprivate_1.1
-end
-
-function nis_print_link
-version SUNWprivate_1.1
-end
-
-function nis_print_rights
-version SUNWprivate_1.1
-end
-
-function nis_print_table
-version SUNWprivate_1.1
-end
-
-function nis_read_obj
-version SUNWprivate_1.1
-end
-
-function nis_remove_item
-version SUNWprivate_1.1
-end
-
-function nis_remove_name
-version SUNWprivate_1.1
-end
-
-function nis_write_obj
-version SUNWprivate_1.1
-end
-
diff --git a/usr/src/lib/libnsl/spec/nsl.spec b/usr/src/lib/libnsl/spec/nsl.spec
deleted file mode 100644
index 5b3cda708e..0000000000
--- a/usr/src/lib/libnsl/spec/nsl.spec
+++ /dev/null
@@ -1,288 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# NOTE: Look at "versions" file for more details on why there may
-# appear to be "gaps" in version number space.
-#
-
-function endhostent
-include <netdb.h>
-declaration int endhostent(void)
-version SUNW_0.7
-end
-
-function doconfig
-include <sac.h>
-declaration int doconfig(int fildes, char *script, long rflag)
-version SUNW_0.7
-end
-
-function freehostent
-include <sys/socket.h>, <netdb.h>
-declaration void freehostent(struct hostent *hent)
-version SUNW_1.7
-end
-
-function gethostbyname
-include <netdb.h>
-declaration struct hostent *gethostbyname(const char *name)
-version i386=SUNW_0.7 sparc=SISCD_2.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-exception $return == 0
-end
-
-function gethostbyname_r
-include <netdb.h>
-declaration struct hostent *gethostbyname_r(const char *name, \
- struct hostent *result, char *buffer, \
- int buflen, int *h_errnop)
-version SUNW_0.7
-exception $return == 0
-end
-
-function gethostbyaddr
-include <netdb.h>
-declaration struct hostent *gethostbyaddr(const void *addr, \
- socklen_t len, int type)
-version i386=SUNW_0.7 sparc=SISCD_2.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-exception $return == 0
-end
-
-function gethostbyaddr_r
-include <netdb.h>
-declaration struct hostent *gethostbyaddr_r(const char *addr, \
- int length, int type, struct hostent *result, \
- char *buffer, int buflen, int *h_errnop)
-version SUNW_0.7
-exception $return == 0
-end
-
-function gethostent
-include <netdb.h>
-declaration struct hostent *gethostent(void)
-version SUNW_0.7
-exception $return == 0
-end
-
-function gethostent_r
-include <netdb.h>
-declaration struct hostent *gethostent_r(struct hostent *result, \
- char *buffer, int buflen, int *h_errnop)
-version SUNW_0.7
-exception $return == 0
-end
-
-function getipnodebyaddr
-include <sys/socket.h>, <netdb.h>
-declaration struct hostent *getipnodebyaddr(const void *src, size_t len, \
- int type, int *error_num)
-version SUNW_1.7
-exception $return == 0
-end
-
-
-function getipnodebyname
-include <sys/socket.h>, <netdb.h>
-declaration struct hostent *getipnodebyname(const char *name, int af, \
- int flags, int *error_num)
-version SUNW_1.7
-exception $return == 0
-end
-
-function sethostent
-include <netdb.h>
-declaration int sethostent(int stayopen)
-version SUNW_0.7
-exception $return == -1
-end
-
-function gethostname
-version SUNWprivate_1.1
-filter libc.so.1
-end
-
-function getnetconfig
-include <netconfig.h>
-declaration struct netconfig *getnetconfig(void *handlep)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-exception $return == 0
-end
-
-function setnetconfig
-include <netconfig.h>
-declaration void *setnetconfig(void)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-exception $return == 0
-end
-
-function endnetconfig
-include <netconfig.h>
-declaration int endnetconfig(void *handlep)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-exception $return == -1
-end
-
-function getnetconfigent
-include <netconfig.h>
-declaration struct netconfig *getnetconfigent(const char *netid)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-exception $return == 0
-end
-
-function freenetconfigent
-include <netconfig.h>
-declaration void freenetconfigent(struct netconfig *netconfigp)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-end
-
-function nc_perror
-include <netconfig.h>
-declaration void nc_perror(const char *msg)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-end
-
-function nc_sperror
-include <netconfig.h>
-declaration char *nc_sperror(void)
-version SUNW_0.7
-exception $return == 0
-end
-
-function getnetpath
-include <netconfig.h>
-declaration struct netconfig *getnetpath(void *handlep)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-exception $return == 0
-end
-
-function setnetpath
-include <netconfig.h>
-declaration void *setnetpath(void)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-exception $return == 0
-end
-
-function endnetpath
-include <netconfig.h>
-declaration int endnetpath(void *handlep)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-exception $return == -1
-end
-
-function getpublickey
-include <rpc/rpc.h>, <rpc/key_prot.h>
-declaration int getpublickey(const char *netname, char *publickey)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-exception $return == 0
-end
-
-function getsecretkey
-include <rpc/rpc.h>, <rpc/key_prot.h>
-declaration int getsecretkey(const char *netname, char *secretkey, \
- const char *passwd)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-exception $return == 0
-end
-
-function getrpcbyname
-include <rpc/rpcent.h>
-declaration struct rpcent *getrpcbyname(const char * name)
-version SUNW_0.7
-exception $return == 0
-end
-
-function getrpcbyname_r
-include <rpc/rpcent.h>
-declaration struct rpcent *getrpcbyname_r(const char *name, \
- struct rpcent *result, char *buffer, int buflen)
-version SUNW_0.7
-exception $return == 0
-end
-
-function getrpcbynumber
-include <rpc/rpcent.h>
-declaration struct rpcent *getrpcbynumber(const int number)
-version SUNW_0.7
-exception $return == 0
-end
-
-function getrpcbynumber_r
-include <rpc/rpcent.h>
-declaration struct rpcent *getrpcbynumber_r(const int number, \
- struct rpcent *result, char *buffer, int buflen)
-version SUNW_0.7
-exception $return == 0
-end
-
-function getrpcent
-include <rpc/rpcent.h>
-declaration struct rpcent *getrpcent(void)
-version SUNW_0.7
-exception $return == 0
-end
-
-function getrpcent_r
-include <rpc/rpcent.h>
-declaration struct rpcent *getrpcent_r(struct rpcent *result, \
- char *buffer, int buflen)
-version SUNW_0.7
-exception $return == 0
-end
-
-function setrpcent
-include <rpc/rpcent.h>
-declaration void setrpcent(const int stayopen)
-version SUNW_0.7
-end
-
-data t_nerr
-version SUNW_0.7
-end
-
-data t_errno
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-end
-
-function __t_errno
-declaration int *__t_errno(void)
-version SUNW_0.7
-end
-
-function t_getname
-declaration int t_getname(int fd, struct netbuf *name, int type)
-version SUNW_0.7
-end
-
-function _nderror
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-end
-
-data h_errno
-version SUNW_0.7
-end
-
-function _null_auth
-version i386=SUNW_0.7 sparc=SISCD_2.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-end
diff --git a/usr/src/lib/libnsl/spec/private.spec b/usr/src/lib/libnsl/spec/private.spec
deleted file mode 100644
index 85c5ce9ef9..0000000000
--- a/usr/src/lib/libnsl/spec/private.spec
+++ /dev/null
@@ -1,1541 +0,0 @@
-#pragma ident "%Z%%M% %I% %E% SMI"
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# lib/libnsl/spec/private.spec
-
-function cbc_crypt
-version SUNWprivate_1.1
-end
-
-function ecb_crypt
-version SUNWprivate_1.1
-end
-
-function __npd_cbc_crypt
-version SUNWprivate_1.1
-end
-
-function __npd_ecb_crypt
-version SUNWprivate_1.1
-end
-
-function xencrypt
-version SUNWprivate_1.1
-end
-
-function xdecrypt
-version SUNWprivate_1.1
-end
-
-function _check_daemon_lock
-version SUNWprivate_1.4
-end
-
-function _check_services
-version SUNWprivate_1.4
-end
-
-function _enter_daemon_lock
-version SUNWprivate_1.4
-end
-
-function _herrno2nss
-version SUNWprivate_1.1
-end
-
-function _create_daemon_lock
-version SUNWprivate_1.4
-end
-
-function _switch_getipnodebyaddr_r
-version SUNWprivate_1.2
-end
-
-function _switch_getipnodebyname_r
-version SUNWprivate_1.2
-end
-
-function _uncached_getipnodebyaddr
-version SUNWprivate_1.2
-end
-
-function _uncached_getipnodebyname
-version SUNWprivate_1.2
-end
-
-function __authenticate
-version SUNWprivate_1.1
-end
-
-function __break_name
-version SUNWprivate_1.1
-end
-
-function __clear_directory_ptr
-version SUNWprivate_1.1
-end
-
-function __clnt_create_loopback
-version SUNWprivate_1.1
-end
-
-function __cvt2attr
-version SUNWprivate_1.1
-end
-
-function __do_ismember
-version SUNWprivate_1.1
-end
-
-function __endhostent6
-version SUNWprivate_1.2
-end
-
-function __gen_dhkeys
-version SUNWprivate_1.1
-end
-
-function __gethostent6
-version SUNWprivate_1.2
-end
-
-function __getnetnamebyuid
-version SUNWprivate_1.1
-end
-
-function __key_decryptsession_pk_LOCAL
-version SUNWprivate_1.1
-end
-
-function __key_encryptsession_pk_LOCAL
-version SUNWprivate_1.1
-end
-
-function __key_gendes_LOCAL
-version SUNWprivate_1.1
-end
-
-function __name_distance
-version SUNWprivate_1.1
-end
-
-function __nderror
-version SUNWprivate_1.1
-end
-
-function __nis_CacheBind
-version SUNWprivate_1.1
-end
-
-function __nis_CacheInit
-version SUNWprivate_1.1
-end
-
-function __nis_CachePrint
-version SUNWprivate_1.1
-end
-
-function __nis_CacheAddEntry
-version SUNWprivate_1.1
-end
-
-function __nis_CacheRemoveEntry
-version SUNWprivate_1.1
-end
-
-function __nis_CacheRestart
-version SUNWprivate_1.1
-end
-
-function __nis_CacheSearch
-version SUNWprivate_1.1
-end
-
-function __nis_auth2princ
-version SUNWprivate_1.1
-end
-
-function __nis_bad_auth_server
-version SUNWprivate_1.1
-end
-
-function __nis_cast_proc
-version SUNWprivate_1.1
-end
-
-function __nis_ck_perms
-version SUNWprivate_1.1
-end
-
-function __nis_clnt_create
-version SUNWprivate_1.1
-end
-
-function __nis_creategroup_obj
-version SUNWprivate_1.1
-end
-
-function __nis_core_lookup
-version SUNWprivate_1.1
-end
-
-function __nis_debuglevel
-version SUNWprivate_1.1
-end
-
-function __nis_destroy_callback
-version SUNWprivate_1.1
-end
-
-function __nis_flush_group_exp_name
-version SUNWprivate_1.1
-end
-
-function __nis_get_netconfig
-version SUNWprivate_1.1
-end
-
-function __nis_get_server
-version SUNWprivate_1.1
-end
-
-function __nis_group_cache_stats
-version SUNWprivate_1.1
-end
-
-function __nis_host2nis_server
-version SUNWprivate_1.1
-end
-
-function __nis_init_callback
-version SUNWprivate_1.1
-end
-
-function __nis_isadmin
-version SUNWprivate_1.1
-end
-
-function __nis_ismaster
-version SUNWprivate_1.1
-end
-
-function __nis_list_localcb
-version SUNWprivate_1.1
-end
-
-function __nis_local_root
-version SUNWprivate_1.1
-end
-
-function __nis_map_group_r
-version SUNWprivate_1.1
-end
-
-function __nis_netconfig2ep
-version SUNWprivate_1.2
-end
-
-function __nis_netconfig_matches_ep
-version SUNWprivate_1.2
-end
-
-function __nis_parse_path
-version SUNWprivate_1.1
-end
-
-function __nis_pingproc
-version SUNWprivate_1.1
-end
-
-function __nis_principal
-version SUNWprivate_1.1
-end
-
-function __nis_release_server
-version SUNWprivate_1.1
-end
-
-function __nis_reset_state
-version SUNWprivate_1.1
-end
-
-function __nis_rpc_domain
-version SUNWprivate_1.1
-end
-
-function __nis_run_callback
-version SUNWprivate_1.1
-end
-
-function __nis_ss_used
-version SUNWprivate_1.1
-end
-
-function __nsl_dom
-version SUNWprivate_1.1
-end
-
-function __free_nis_server
-version SUNWprivate_1.1
-end
-
-function __nss2herrno
-version SUNWprivate_1.1
-end
-
-function __rpc_bindresvport
-version SUNWprivate_1.1
-end
-
-function __rpc_bindresvport_ipv6
-version SUNWprivate_1.2
-end
-
-function __rpc_control
-version SUNWprivate_1.1
-end
-
-function __rpc_dtbsize
-version SUNWprivate_1.1
-end
-
-function __rpc_endconf
-version SUNWprivate_1.1
-end
-
-function __rpc_get_a_size
-version SUNWprivate_1.1
-end
-
-function __rpc_get_default_domain
-version SUNWprivate_1.1
-end
-
-function __rpc_get_local_uid
-version SUNWprivate_1.1
-end
-
-function __rpc_get_t_size
-version SUNWprivate_1.1
-end
-
-function __rpc_getconf
-version SUNWprivate_1.1
-end
-
-function __rpc_getconfip
-version SUNWprivate_1.1
-end
-
-function __rpc_matchserv
-version SUNWprivate_1.1
-end
-
-function __rpc_negotiate_uid
-version SUNWprivate_1.1
-end
-
-function __rpc_select_to_poll
-version SUNWprivate_1.1
-end
-
-function __rpc_setconf
-version SUNWprivate_1.1
-end
-
-function __rpc_timeval_to_msec
-version SUNWprivate_1.1
-end
-
-function __rpc_tli_set_options
-declaration int __rpc_tli_set_options(int fd, int optlevel, int optname,\
- int optval)
-version SUNWprivate_1.1
-end
-
-function __rpcbind_is_up
-version SUNWprivate_1.1
-end
-
-function __rpcfd_to_nconf
-version SUNWprivate_1.1
-end
-
-function __seterr_reply
-version SUNWprivate_1.1
-end
-
-function __sethostent6
-version SUNWprivate_1.2
-end
-
-function __svc_get_svcauth
-version SUNWprivate_1.1
-end
-
-function __svc_nisplus_fdcleanup_hack
-version SUNWprivate_1.1
-end
-
-function __svc_set_proc_cleanup_cb
-version SUNWprivate_1.1
-end
-
-function __svc_vc_dup
-version SUNWprivate_1.1
-end
-
-function __svc_vc_dupcache_init
-version SUNWprivate_1.1
-end
-
-function __svc_vc_dupdone
-version SUNWprivate_1.1
-end
-
-function __svcauth_des
-version SUNWprivate_1.1
-end
-
-function __start_clock
-version SUNWprivate_1.1
-end
-
-function __stop_clock
-version SUNWprivate_1.1
-end
-
-function __yp_dobind
-version SUNWprivate_1.1
-end
-
-function __yp_master_rsvdport
-version SUNWprivate_1.1
-end
-
-function __yp_all_rsvdport
-version SUNWprivate_1.1
-end
-
-function __yp_clnt_create_rsvdport
-version SUNWprivate_1.1
-end
-
-function __yp_rel_binding
-version SUNWprivate_1.1
-end
-
-function __yp_add_binding
-version SUNWprivate_1.1
-end
-
-function __empty_yp_cache
-version SUNWprivate_1.1
-end
-
-function _get_hostserv_inetnetdir_byaddr
-version SUNWprivate_1.1
-end
-
-function _get_hostserv_inetnetdir_byname
-version SUNWprivate_1.1
-end
-
-function _rawcombuf
-version SUNWprivate_1.1
-end
-
-function _switch_gethostbyaddr_r
-version SUNWprivate_1.1
-end
-
-function _switch_gethostbyname_r
-version SUNWprivate_1.1
-end
-
-function _svc_getreqset_proc
-version SUNWprivate_1.1
-end
-
-function _uncached_gethostbyaddr_r
-version SUNWprivate_1.1
-end
-
-function _uncached_gethostbyname_r
-version SUNWprivate_1.1
-end
-
-function bitno
-version SUNWprivate_1.1
-end
-
-function blkno
-version SUNWprivate_1.1
-end
-
-function calchash
-version SUNWprivate_1.1
-end
-
-function check_version
-version SUNWprivate_1.1
-end
-
-function dbrdonly
-version SUNWprivate_1.1
-end
-
-function dirbuf
-version SUNWprivate_1.1
-end
-
-function dirf
-version SUNWprivate_1.1
-end
-
-function firsthash
-version SUNWprivate_1.1
-end
-
-function getdomainname
-version SUNWprivate_1.1
-end
-
-function hashinc
-version SUNWprivate_1.1
-end
-
-function hmask
-version SUNWprivate_1.1
-end
-
-function key_call
-version SUNWprivate_1.1
-end
-
-function key_call_ruid
-version SUNWprivate_1.3
-end
-
-function key_decryptsession_pk
-version SUNWprivate_1.1
-end
-
-function key_encryptsession_pk
-version SUNWprivate_1.1
-end
-
-function key_get_conv
-version SUNWprivate_1.1
-end
-
-function key_setnet
-version SUNWprivate_1.1
-end
-
-function key_setnet_ruid
-version SUNWprivate_1.3
-end
-
-function makdatum
-version SUNWprivate_1.1
-end
-
-function nis_flushgroups
-version SUNWprivate_1.1
-end
-
-function nis_old_data
-version SUNWprivate_1.1
-end
-
-function nis_pop_item
-version SUNWprivate_1.1
-end
-
-function pagbuf
-version SUNWprivate_1.1
-end
-
-function pagf
-version SUNWprivate_1.1
-end
-
-function passwd2des
-version SUNWprivate_1.1
-end
-
-function rpcb_taddr2uaddr
-version SUNWprivate_1.1
-end
-
-function rpcb_uaddr2taddr
-version SUNWprivate_1.1
-end
-
-function rtime_tli
-version SUNWprivate_1.1
-end
-
-function setdomainname
-version SUNWprivate_1.1
-end
-
-function str2servent
-version SUNWprivate_1.1
-end
-
-function str2hostent
-version SUNWprivate_1.1
-end
-
-function str2hostent6
-version SUNWprivate_1.4
-end
-
-function svc_xprt_alloc
-version SUNWprivate_1.1
-end
-
-function svc_xprt_free
-version SUNWprivate_1.1
-end
-
-function t_errlist
-version SUNWprivate_1.1
-end
-
-function tiusr_statetbl
-version SUNWprivate_1.1
-end
-
-function usingypmap
-version SUNWprivate_1.1
-end
-
-function writeColdStartFile
-version SUNWprivate_1.1
-end
-
-function xdr_authdes_cred
-version SUNWprivate_1.1
-end
-
-function xdr_authdes_verf
-version SUNWprivate_1.1
-end
-
-function xdr_cback_data
-version SUNWprivate_1.1
-end
-
-function xdr_cp_result
-version SUNWprivate_1.1
-end
-
-function xdr_cryptkeyarg2
-version SUNWprivate_1.1
-end
-
-function xdr_cryptkeyarg
-version SUNWprivate_1.1
-end
-
-function xdr_cryptkeyres
-version SUNWprivate_1.1
-end
-
-function xdr_datum
-version SUNWprivate_1.1
-end
-
-function xdr_des_block
-version SUNWprivate_1.1
-end
-
-function xdr_directory_obj
-version SUNWprivate_1.1
-end
-
-function xdr_dump_args
-version SUNWprivate_1.1
-end
-
-function xdr_entry_obj
-version SUNWprivate_1.1
-end
-
-function xdr_fd_args
-version SUNWprivate_1.1
-end
-
-function xdr_fd_result
-version SUNWprivate_1.1
-end
-
-function xdr_getcredres
-version SUNWprivate_1.1
-end
-
-function xdr_gid_t
-version SUNWprivate_1.1
-end
-
-function xdr_uid_t
-version SUNWprivate_1.1
-end
-
-function xdr_ib_request
-version SUNWprivate_1.1
-end
-
-function xdr_log_entry
-version SUNWprivate_1.1
-end
-
-function xdr_log_result
-version SUNWprivate_1.1
-end
-
-function xdr_key_netstarg
-version SUNWprivate_1.1
-end
-
-function xdr_key_netstres
-version SUNWprivate_1.1
-end
-
-function xdr_keybuf
-version SUNWprivate_1.1
-end
-
-function xdr_keystatus
-version SUNWprivate_1.1
-end
-
-function xdr_netbuf
-version SUNWprivate_1.1
-end
-
-function xdr_netnamestr
-version SUNWprivate_1.1
-end
-
-function xdr_netobj
-version SUNWprivate_1.1
-end
-
-function xdr_nis_attr
-version SUNWprivate_1.1
-end
-
-function xdr_nis_error
-version SUNWprivate_1.1
-end
-
-function xdr_nis_name
-version SUNWprivate_1.1
-end
-
-function xdr_nis_object
-version SUNWprivate_1.1
-end
-
-function xdr_nis_oid
-version SUNWprivate_1.1
-end
-
-function xdr_nis_result
-version SUNWprivate_1.1
-end
-
-function xdr_nis_server
-version SUNWprivate_1.1
-end
-
-function xdr_nis_taglist
-version SUNWprivate_1.1
-end
-
-function xdr_ns_request
-version SUNWprivate_1.1
-end
-
-function xdr_obj_p
-version SUNWprivate_1.1
-end
-
-function xdr_objdata
-version SUNWprivate_1.1
-end
-
-function xdr_ping_args
-version SUNWprivate_1.1
-end
-
-function xdr_pmap
-version SUNWprivate_1.1
-end
-
-function xdr_pmaplist
-version SUNWprivate_1.1
-end
-
-function xdr_pmaplist_ptr
-version SUNWprivate_1.1
-end
-
-function xdr_rmtcallargs
-version SUNWprivate_1.1
-end
-
-function xdr_rmtcallres
-version SUNWprivate_1.1
-end
-
-function xdr_rpcb
-version SUNWprivate_1.1
-end
-
-function xdr_rpcb_entry
-version SUNWprivate_1.1
-end
-
-function xdr_rpcb_entry_list_ptr
-version SUNWprivate_1.1
-end
-
-function xdr_rpcb_rmtcallargs
-version SUNWprivate_1.1
-end
-
-function xdr_rpcb_rmtcallres
-version SUNWprivate_1.1
-end
-
-function xdr_rpcb_stat
-version SUNWprivate_1.1
-end
-
-function xdr_rpcb_stat_byvers
-version SUNWprivate_1.1
-end
-
-function xdr_rpcblist
-version SUNWprivate_1.1
-end
-
-function xdr_rpcblist_ptr
-version SUNWprivate_1.1
-end
-
-function xdr_rpcbs_addrlist
-version SUNWprivate_1.1
-end
-
-function xdr_rpcbs_addrlist_ptr
-version SUNWprivate_1.1
-end
-
-function xdr_rpcbs_proc
-version SUNWprivate_1.1
-end
-
-function xdr_rpcbs_rmtcalllist
-version SUNWprivate_1.1
-end
-
-function xdr_rpcbs_rmtcalllist_ptr
-version SUNWprivate_1.1
-end
-
-function xdr_table_obj
-version SUNWprivate_1.1
-end
-
-function xdr_ulonglong_t
-version SUNWprivate_1.1
-end
-
-function xdr_unixcred
-version SUNWprivate_1.1
-end
-
-function xdr_yp_buf
-version SUNWprivate_1.1
-end
-
-function xdr_ypall
-version SUNWprivate_1.1
-end
-
-function xdr_ypbind_domain
-version SUNWprivate_1.1
-end
-
-function xdr_ypbind_resp
-version SUNWprivate_1.1
-end
-
-function xdr_ypbind_resptype
-version SUNWprivate_1.1
-end
-
-function xdr_ypbind_setdom
-version SUNWprivate_1.1
-end
-
-function xdr_ypdelete_args
-version SUNWprivate_1.1
-end
-
-function xdr_ypdomain_wrap_string
-version SUNWprivate_1.1
-end
-
-function xdr_ypmap_parms
-version SUNWprivate_1.1
-end
-
-function xdr_ypmap_wrap_string
-version SUNWprivate_1.1
-end
-
-function xdr_ypowner_wrap_string
-version SUNWprivate_1.1
-end
-
-function xdr_yppasswd
-version SUNWprivate_1.1
-end
-
-function xdr_yppushresp_xfr
-version SUNWprivate_1.1
-end
-
-function xdr_ypreq_key
-version SUNWprivate_1.1
-end
-
-function xdr_ypreq_newxfr
-version SUNWprivate_1.1
-end
-
-function xdr_ypreq_nokey
-version SUNWprivate_1.1
-end
-
-function xdr_ypreq_xfr
-version SUNWprivate_1.1
-end
-
-function xdr_ypresp_key_val
-version SUNWprivate_1.1
-end
-
-function xdr_ypresp_maplist
-version SUNWprivate_1.1
-end
-
-function xdr_ypresp_master
-version SUNWprivate_1.1
-end
-
-function xdr_ypresp_order
-version SUNWprivate_1.1
-end
-
-function xdr_ypresp_val
-version SUNWprivate_1.1
-end
-
-function xdr_ypupdate_args
-version SUNWprivate_1.1
-end
-
-function yp_match_rsvdport
-version SUNWprivate_1.1
-end
-
-function ypbindproc_domain_3
-version SUNWprivate_1.1
-end
-
-function __nis_host_is_server
-version SUNWprivate_1.1
-end
-
-function __nis_remote_lookup
-version SUNWprivate_1.1
-end
-
-function __nis_finddirectory_remote
-version SUNWprivate_1.1
-end
-
-function __nis_finddirectory
-version SUNWprivate_1.1
-end
-
-function nis_bind_dir
-version SUNWprivate_1.1
-end
-
-function nis_free_binding
-version SUNWprivate_1.1
-end
-
-function __nis_CacheLocalInit
-version SUNWprivate_1.1
-end
-
-function __nis_CacheLocalLoadPref
-version SUNWprivate_1.1
-end
-
-function __nis_serverRefreshCache
-version SUNWprivate_1.1
-end
-
-function __nis_CacheMgrBindMaster
-version SUNWprivate_1.1
-end
-
-function __inet_address_count
-version SUNWprivate_1.1
-end
-
-function xdr_nis_bound_directory
-version SUNWprivate_1.1
-end
-
-function __nis_CacheMgrRefreshAddress
-version SUNWprivate_1.1
-end
-
-function __nis_CacheMgrRefreshCallback
-version SUNWprivate_1.1
-end
-
-function __nis_CacheMgrRefreshBinding
-version SUNWprivate_1.1
-end
-
-function __nis_CacheMgrTimers
-version SUNWprivate_1.1
-end
-
-function __nis_CacheMgrRefreshCache
-version SUNWprivate_1.1
-end
-
-function __nis_CacheMgrInit
-version SUNWprivate_1.1
-end
-
-function __nis_CacheMgrInit_discard
-version SUNWprivate_1.1
-end
-
-function __nis_CacheMgrBindReplica
-version SUNWprivate_1.1
-end
-
-function __inet_get_uaddr
-version SUNWprivate_1.1
-end
-
-function __nis_CacheMgrCleanup
-version SUNWprivate_1.1
-end
-
-function __inet_get_networka
-version SUNWprivate_1.1
-end
-
-function xdr_endpoint
-version SUNWprivate_1.1
-end
-
-function __nis_CacheMgrBindServer
-version SUNWprivate_1.1
-end
-
-function __nis_CacheMgrUpdateUaddr
-version SUNWprivate_1.1
-end
-
-function __inet_uaddr_is_local
-version SUNWprivate_1.1
-end
-
-function __nis_CacheMgrMarkUp
-version SUNWprivate_1.1
-end
-
-function xdr_nis_bound_endpoint
-version SUNWprivate_1.1
-end
-
-function __nis_path
-version SUNWprivate_1.1
-end
-
-function __nis_path_free
-version SUNWprivate_1.1
-end
-
-function __nis_print_result
-version SUNWprivate_1.1
-end
-
-function __nis_send_msg
-version SUNWprivate_1.1
-end
-
-function __inet_get_local_interfaces
-version SUNWprivate_1.1
-end
-
-function __inet_get_addr
-version SUNWprivate_1.1
-end
-
-function __inet_free_local_interfaces
-version SUNWprivate_1.1
-end
-
-function __getpublickey_cached
-version SUNWprivate_1.1
-end
-
-function __getpublickey_flush
-version SUNWprivate_1.1
-end
-
-function __nis_freelogresult
-version SUNWprivate_1.1
-end
-
-function __svc_nisplus_purge_since
-version SUNWprivate_1.1
-end
-
-function __svc_nisplus_enable_timestamps
-version SUNWprivate_1.1
-end
-
-function __nis_force_hard_lookups
-version SUNWprivate_1.1
-end
-
-function __readColdStartFile
-version SUNWprivate_1.1
-end
-
-function xdr_setkeyarg3
-version SUNWprivate_1.1
-end
-
-function xdr_key_netstarg3
-version SUNWprivate_1.1
-end
-
-function xdr_key_netstres3
-version SUNWprivate_1.1
-end
-
-function xdr_keybuf3
-version SUNWprivate_1.1
-end
-
-function xdr_keynum_t
-version SUNWprivate_1.1
-end
-
-function xdr_mechtype
-version SUNWprivate_1.1
-end
-
-function xdr_getcredres3
-version SUNWprivate_1.1
-end
-
-function xdr_cryptkeyarg3
-version SUNWprivate_1.1
-end
-
-function xdr_cryptkeyres3
-version SUNWprivate_1.1
-end
-
-function xdr_deskeyarg3
-version SUNWprivate_1.1
-end
-
-function xdr_deskeyarray
-version SUNWprivate_1.1
-end
-
-function __nis_host2nis_server_g
-version SUNWprivate_1.1
-end
-
-function nis_make_rpchandle_gss_svc
-version SUNWprivate_1.1
-end
-
-function nis_make_rpchandle_gss_svc_ruid
-version SUNWprivate_1.4
-end
-
-function __nis_gssprin2netname
-version SUNWprivate_1.1
-end
-
-function __nis_auth2princ_rpcgss
-version SUNWprivate_1.1
-end
-
-function __nis_dhext_extract_pkey
-version SUNWprivate_1.1
-end
-
-function __cbc_triple_crypt
-version SUNWprivate_1.1
-end
-
-function xencrypt_g
-version SUNWprivate_1.1
-end
-
-function xdecrypt_g
-version SUNWprivate_1.1
-end
-
-function __nis_authtype2mechalias
-version SUNWprivate_1.1
-end
-
-function __nis_get_mechanisms
-version SUNWprivate_1.1
-end
-
-function __nis_get_mechanism_library
-version SUNWprivate_1.1
-end
-
-function __nis_get_mechanism_symbol
-version SUNWprivate_1.1
-end
-
-function __nis_mechalias2authtype
-version SUNWprivate_1.1
-end
-
-function __nis_mechname2alias
-version SUNWprivate_1.1
-end
-
-function __nis_translate_mechanism
-version SUNWprivate_1.1
-end
-
-function __nis_release_mechanisms
-version SUNWprivate_1.1
-end
-
-function __nis_keyalg2authtype
-version SUNWprivate_1.1
-end
-
-function __nis_keyalg2mechalias
-version SUNWprivate_1.1
-end
-
-function __gen_dhkeys_g
-version SUNWprivate_1.1
-end
-
-function __gen_common_dhkeys_g
-version SUNWprivate_1.1
-end
-
-function passwd2des_g
-version SUNWprivate_1.1
-end
-
-function des_setparity_g
-version SUNWprivate_1.1
-end
-
-function getpublickey_g
-version SUNWprivate_1.1
-end
-
-function __getpublickey_cached_g
-version SUNWprivate_1.1
-end
-
-function __getpublickey_flush_g
-version SUNWprivate_1.1
-end
-
-function getsecretkey_g
-version SUNWprivate_1.1
-end
-
-function key_secretkey_is_set_g
-version SUNWprivate_1.1
-end
-
-function key_secretkey_is_set_g_ruid
-version SUNWprivate_1.3
-end
-
-function key_removesecret_g
-version SUNWprivate_1.1
-end
-
-function key_removesecret_g_ruid
-version SUNWprivate_1.3
-end
-
-function key_gendes_g
-version SUNWprivate_1.1
-end
-
-function key_encryptsession_g
-version SUNWprivate_1.1
-end
-
-function key_decryptsession_g
-version SUNWprivate_1.1
-end
-
-function key_setsecret_g
-version SUNWprivate_1.1
-end
-
-function key_decryptsession_pk_g
-version SUNWprivate_1.1
-end
-
-function key_encryptsession_pk_g
-version SUNWprivate_1.1
-end
-
-function key_get_conv_g
-version SUNWprivate_1.1
-end
-
-function key_setnet_g
-version SUNWprivate_1.1
-end
-
-function key_setnet_g_ruid
-version SUNWprivate_1.3
-end
-
-function __netdir_getbyaddr_nosrv
-version SUNWprivate_1.1
-end
-
-function nss_ioctl
-version SUNWprivate_1.1
-end
-
-function order_haddrlist_af
-version SUNWprivate_1.1
-end
-
-function __des_crypt
-version SUNWprivate_1.1
-end
-
-# PSARC 1997/332; User Attr databases START
-
-function _getusernam
-version SUNWprivate_1.2
-end
-
-function _getuserattr
-version SUNWprivate_1.2
-end
-
-function _fgetuserattr
-version SUNWprivate_1.2
-end
-
-function _setuserattr
-version SUNWprivate_1.2
-end
-
-function _enduserattr
-version SUNWprivate_1.2
-end
-
-function _getauthnam
-version SUNWprivate_1.2
-end
-
-function _getauthattr
-version SUNWprivate_1.2
-end
-
-function _setauthattr
-version SUNWprivate_1.2
-end
-
-function _endauthattr
-version SUNWprivate_1.2
-end
-
-function _getprofnam
-version SUNWprivate_1.2
-end
-
-function _getprofattr
-version SUNWprivate_1.2
-end
-
-function _setprofattr
-version SUNWprivate_1.2
-end
-
-function _endprofattr
-version SUNWprivate_1.2
-end
-
-function _getexecattr
-version SUNWprivate_1.2
-end
-
-function _getexecprof
-version SUNWprivate_1.2
-end
-
-function _setexecattr
-version SUNWprivate_1.2
-end
-
-function _endexecattr
-version SUNWprivate_1.2
-end
-
-function _exec_wild_id
-version SUNWprivate_1.2
-end
-
-function _doexeclist
-version SUNWprivate_1.2
-end
-
-function _dup_execstr
-version SUNWprivate_1.2
-end
-
-function _free_execstr
-version SUNWprivate_1.2
-end
-
-function _exec_cleanup
-version SUNWprivate_1.2
-end
-
-function _getauusernam
-version SUNWprivate_1.2
-end
-
-function _getauuserent
-version SUNWprivate_1.2
-end
-
-function _setauuser
-version SUNWprivate_1.2
-end
-
-function _endauuser
-version SUNWprivate_1.2
-end
-
-function _readbufline
-version SUNWprivate_1.2
-end
-
-function _escape
-version SUNWprivate_1.2
-end
-
-function _unescape
-version SUNWprivate_1.2
-end
-
-function _strtok_escape
-version SUNWprivate_1.2
-end
-
-function _strpbrk_escape
-version SUNWprivate_1.2
-end
-
-function _strdup_null
-version SUNWprivate_1.2
-end
-
-# PSARC 1997/332; RFE 4182580; User Attr databases END
-
-# PSARC/1998/452; Bug 4181371; NSS Lookup Control START
-
-function __yp_match_cflookup
-declaration int __yp_match_cflookup(char *, char *, char *, int, char **,\
- int *, int *);
-version SUNWprivate_1.2
-end
-
-function __yp_match_rsvdport_cflookup
-declaration int __yp_match_rsvdport_cflookup(char *, char *, char *,\
- int, char **, int *, int *);
-version SUNWprivate_1.2
-end
-
-function __yp_first_cflookup
-declaration int __yp_first_cflookup(char *, char *, char **, int *,\
- char **, int *, int);
-version SUNWprivate_1.2
-end
-
-function __yp_next_cflookup
-declaration int __yp_next_cflookup(char *, char *, char *, int, char **,\
- int *, char **, int *, int);
-version SUNWprivate_1.2
-end
-
-# PSARC/1998/452; Bug 4181371; NSS Lookup Control END
-
-function __yp_all_cflookup
-#declaration int __yp_all_cflookup(char *, char *, \
-# struct ypall_callback *, int);
-version SUNWprivate_1.4
-end
diff --git a/usr/src/lib/libnsl/spec/rpc.spec b/usr/src/lib/libnsl/spec/rpc.spec
deleted file mode 100644
index 2bb4f6067c..0000000000
--- a/usr/src/lib/libnsl/spec/rpc.spec
+++ /dev/null
@@ -1,1039 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libnsl/spec/rpc.spec
-
-function auth_destroy
-include <rpc/rpc.h>
-declaration void auth_destroy(AUTH *auth)
-version SUNW_0.7
-end
-
-function authnone_create
-include <rpc/rpc.h>
-declaration AUTH *authnone_create(void)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-exception $return == 0
-end
-
-function authsys_create
-include <rpc/rpc.h>
-declaration AUTH *authsys_create(const char *host, const uid_t uid, \
- const gid_t gid, const int len, const gid_t *aup_gids)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-exception $return == 0
-end
-
-function authsys_create_default
-include <rpc/rpc.h>
-declaration AUTH *authsys_create_default(void)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-exception $return == 0
-end
-
-function clnt_call
-include <rpc/rpc.h>
-declaration enum clnt_stat clnt_call(CLIENT *clnt, const rpcproc_t procnum,\
- const xdrproc_t inproc, const caddr_t in, \
- const xdrproc_t outproc, caddr_t out, \
- const struct timeval tout)
-version SUNW_0.7
-exception $return != RPC_SUCCESS
-end
-
-function rpc_broadcast_exp
-include <rpc/rpc.h>
-declaration enum clnt_stat rpc_broadcast_exp(const rpcprog_t prognum, \
- const rpcvers_t versnum, const rpcproc_t procnum, \
- const xdrproc_t xargs, caddr_t argsp, \
- const xdrproc_t xresults, caddr_t resultsp, \
- const resultproc_t eachresult, const int inittime,\
- const int waittime, const char *nettype)
-version i386=SUNW_0.7 sparc=SISCD_2.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-exception $return != RPC_SUCCESS
-end
-
-function rpc_call
-include <rpc/rpc.h>
-declaration enum clnt_stat rpc_call(const char *host, \
- const rpcprog_t prognum, const rpcvers_t versnum,\
- const rpcproc_t procnum, const xdrproc_t inproc, \
- const char *in, const xdrproc_t outproc, \
- char *out, const char *nettype)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-exception $return != RPC_SUCCESS
-end
-
-function clnt_freeres
-include <rpc/rpc.h>
-declaration bool_t clnt_freeres(CLIENT *clnt, \
- const xdrproc_t outproc, caddr_t out)
-version SUNW_0.7
-exception $return == 0
-end
-
-function clnt_geterr
-include <rpc/rpc.h>
-declaration void clnt_geterr(const CLIENT *clnt, struct rpc_err *errp)
-version SUNW_0.7
-end
-
-function clnt_perrno
-include <rpc/rpc.h>
-declaration void clnt_perrno(const enum clnt_stat stat)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-end
-
-function clnt_perror
-include <rpc/rpc.h>
-declaration void clnt_perror(const CLIENT *clnt, const char *s)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-end
-
-function clnt_sperrno
-include <rpc/rpc.h>
-declaration const char *clnt_sperrno(const enum clnt_stat stat)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-exception $return == 0
-end
-
-function clnt_sperror
-include <rpc/rpc.h>
-declaration char *clnt_sperror(const CLIENT *clnt, const char *s)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-exception $return == 0
-end
-
-function rpc_broadcast
-include <rpc/rpc.h>
-declaration enum clnt_stat rpc_broadcast(const rpcprog_t prognum, \
- const rpcvers_t versnum, const rpcproc_t procnum, \
- const xdrproc_t inproc, const caddr_t in,\
- const xdrproc_t outproc, caddr_t out, \
- const resultproc_t eachresult, const char *nettype)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-exception $return != RPC_SUCCESS
-end
-
-function clnt_control
-include <rpc/rpc.h>
-declaration bool_t clnt_control(CLIENT *clnt, const u_int req, char *info)
-version SUNW_0.7
-exception $return == FALSE
-end
-
-function clnt_create
-include <rpc/rpc.h>
-declaration CLIENT *clnt_create(const char *host, \
- const rpcprog_t prognum, const rpcvers_t versnum, \
- const char *nettype)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-exception $return == 0
-end
-
-
-function clnt_create_service_timed
-include <rpc/rpc.h>
-declaration CLIENT *clnt_create_service_timed(const char *host, \
- const char *service, const rpcprog_t prognum, \
- const rpcvers_t versnum, const ushort_t port, \
- const char *nettype, const struct timeval *timeout)
-version SUNWprivate_1.5
-exception $return == 0
-end
-
-function clnt_create_timed
-include <rpc/rpc.h>
-declaration CLIENT *clnt_create_timed(const char *host, \
- const rpcprog_t prognum, const rpcvers_t versnum, \
- const char *nettype, const struct timeval *timeout)
-version SUNW_0.9
-exception $return == 0
-end
-
-function clnt_create_vers
-include <rpc/rpc.h>
-declaration CLIENT *clnt_create_vers(const char *host, \
- const rpcprog_t prognum, rpcvers_t *vers_outp, \
- const rpcvers_t vers_low, const rpcvers_t vers_high, \
- const char *nettype)
-version SUNW_0.7
-exception $return == 0
-end
-
-function clnt_create_vers_timed
-include <rpc/rpc.h>
-declaration CLIENT *clnt_create_vers_timed(const char *host, \
- const rpcprog_t prognum, rpcvers_t *vers_outp, \
- const rpcvers_t vers_low, const rpcvers_t vers_high, \
- const char *nettype, const struct timeval *timeout)
-version SUNW_1.1
-exception $return == 0
-end
-
-function clnt_destroy
-include <rpc/rpc.h>
-declaration void clnt_destroy(CLIENT *clnt)
-version SUNW_0.7
-end
-
-function clnt_dg_create
-include <rpc/rpc.h>
-declaration CLIENT *clnt_dg_create(const int fildes, \
- struct netbuf *svcaddr, \
- const rpcprog_t prognum, const rpcvers_t versnum, \
- const uint_t sendsz, const uint_t recvsz)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-exception $return == 0
-end
-
-function clnt_pcreateerror
-include <rpc/rpc.h>
-declaration void clnt_pcreateerror(const char *s)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-end
-
-function clnt_raw_create
-include <rpc/rpc.h>
-declaration CLIENT *clnt_raw_create(const rpcprog_t prognum, \
- const rpcvers_t versnum)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-exception $return == 0
-end
-
-function clnt_spcreateerror
-include <rpc/rpc.h>
-declaration char *clnt_spcreateerror(const char *s)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-exception $return == 0
-end
-
-function clnt_tli_create
-include <rpc/rpc.h>
-declaration CLIENT *clnt_tli_create(const int fildes, \
- const struct netconfig *netconf, \
- struct netbuf *svcaddr, \
- const rpcprog_t prognum, const rpcvers_t versnum, \
- const uint_t sendsz, const uint_t recvsz)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-exception $return == 0
-end
-
-function clnt_tp_create
-include <rpc/rpc.h>
-declaration CLIENT *clnt_tp_create(const char *host, \
- const rpcprog_t prognum, const rpcvers_t versnum, \
- const struct netconfig *netconf)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-exception $return == 0
-end
-
-function clnt_tp_create_timed
-include <rpc/rpc.h>
-declaration CLIENT *clnt_tp_create_timed(const char *host, \
- const rpcprog_t prognum, const rpcvers_t versnum, \
- const struct netconfig *netconf, \
- const struct timeval *timeout)
-version SUNW_0.9
-exception $return == 0
-end
-
-function clnt_vc_create
-include <rpc/rpc.h>
-declaration CLIENT *clnt_vc_create(const int fildes, \
- struct netbuf *svcaddr, \
- const rpcprog_t prognum, const rpcvers_t versnum, \
- const uint_t sendsz, const uint_t recvsz)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-exception $return == 0
-end
-
-function rpc_control
-include <rpc/types.h>, <rpc/rpc_com.h>
-declaration bool_t rpc_control(int op,void *info)
-version SUNW_0.8
-exception $return == FALSE
-end
-
-function authdes_create
-include <rpc/rpc.h>
-declaration AUTH * authdes_create(char *name, unsigned window, \
- struct sockaddr *syncaddr, des_block *ckey)
-version SUNW_0.7
-exception $return == 0
-end
-
-function authdes_lock
-version SUNW_0.7
-end
-
-function get_myaddress
-include <rpc/rpc.h>
-declaration void get_myaddress(struct sockaddr_in *addr)
-version SUNW_0.7
-end
-
-function getrpcport
-include <rpc/rpc.h>
-declaration void getrpcport(char *host, int prognum, int versnum, \
- int proto)
-version SUNW_0.9
-end
-
-function pmap_getmaps
-include <rpc/rpc.h>, <rpc/pmap_prot.h>
-declaration struct pmaplist *pmap_getmaps(struct sockaddr_in *addr)
-version SUNW_0.7
-exception $return == 0
-end
-
-function pmap_getport
-include <rpc/rpc.h>
-declaration u_short pmap_getport(struct sockaddr_in *addr, \
- rpcprog_t prognum, rpcvers_t versnum, rpcprot_t protocol)
-version SUNW_0.7
-exception $return == 0
-end
-
-function pmap_rmtcall
-include <rpc/rpc.h>
-declaration enum clnt_stat pmap_rmtcall(struct sockaddr_in *addr, \
- rpcprog_t prognum, rpcvers_t versnum, rpcproc_t procnum, \
- char *in, xdrproc_t inproc, char *out, \
- xdrproc_t outproc, struct timeval tout, rpcport_t *portp)
-version SUNW_0.7
-exception $return != RPC_SUCCESS
-end
-
-function pmap_set
-include <rpc/rpc.h>
-declaration bool_t pmap_set(rpcprog_t prognum, rpcvers_t versnum, \
- rpcprot_t protocol, u_short port)
-version SUNW_0.7
-exception $return == FALSE
-end
-
-function pmap_unset
-include <rpc/rpc.h>
-declaration bool_t pmap_unset(rpcprog_t prognum, rpcvers_t versnum)
-version SUNW_0.7
-exception $return == FALSE
-end
-
-function svc_getreq
-include <rpc/rpc.h>
-declaration void svc_getreq(int rdfds)
-version SUNW_0.7
-end
-
-function svcfd_create
-include <rpc/rpc.h>
-declaration SVCXPRT *svcfd_create(int fd, u_int sendsz, u_int recvsz)
-version SUNW_0.7
-exception $return == 0
-end
-
-function svc_fdset
-version i386=SUNW_0.7 sparc=SISCD_2.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-end
-
-function _new_svc_fdset
-arch i386 sparc
-version SUNW_1.1
-end
-
-function svcraw_create
-include <rpc/rpc.h>
-declaration SVCXPRT * svcraw_create(void)
-version SUNW_0.7
-exception $return == 0
-end
-
-function svctcp_create
-include <rpc/rpc.h>
-declaration SVCXPRT *svctcp_create(int fd, u_int sendsz, u_int recvsz)
-version SUNW_0.7
-exception $return == 0
-end
-
-function svcudp_bufcreate
-include <rpc/rpc.h>
-declaration SVCXPRT *svcudp_bufcreate(int fd, u_int sendsz, u_int recvsz)
-version SUNW_0.7
-exception $return == 0
-end
-
-function svcudp_create
-include <rpc/rpc.h>
-declaration SVCXPRT * svcudp_create(int fd)
-version SUNW_0.7
-exception $return == 0
-end
-
-function registerrpc
-include <rpc/rpc.h>
-declaration int registerrpc(rpcprog_t prognum, rpcvers_t versnum, \
- rpcproc_t procnum, char *(*procname)(), xdrproc_t inproc, \
- xdrproc_t outproc)
-version SUNW_0.7
-exception $return == -1
-end
-
-function svc_register
-include <rpc/rpc.h>
-declaration int svc_register(SVCXPRT *xprt, rpcprog_t prognum, \
- rpcvers_t versnum, void *dispatch)
-version SUNW_0.7
-exception $return == 0
-end
-
-function svc_unregister
-include <rpc/rpc.h>
-declaration void svc_unregister(rpcprog_t prognum, rpcvers_t versnum)
-version SUNW_0.7
-end
-
-function callrpc
-include <rpc/rpc.h>
-declaration int callrpc(char *host, rpcprog_t prognum, rpcvers_t versnum, \
- rpcproc_t procnum, xdrproc_t inproc, char *in, \
- xdrproc_t outproc, char *out)
-version SUNW_0.7
-exception $return == 0
-end
-
-function clnt_broadcast
-include <rpc/rpc.h>
-declaration enum clnt_stat clnt_broadcast(rpcprog_t prognum, \
- rpcvers_t versnum, rpcproc_t procnum, \
- xdrproc_t inproc, char *in, xdrproc_t outproc, \
- char *out, resultproc_t eachresult)
-version SUNW_0.7
-exception $return != RPC_SUCCESS
-end
-
-function clnt_door_create
-version SUNW_1.1
-end
-
-function clntraw_create
-include <rpc/rpc.h>
-declaration CLIENT *clntraw_create(rpcprog_t prognum, rpcvers_t versnum)
-version SUNW_0.7
-exception $return == 0
-end
-
-function clnttcp_create
-include <rpc/rpc.h>
-declaration CLIENT *clnttcp_create(struct sockaddr_in *addr, \
- rpcprog_t prognum, rpcvers_t versnum, int *fdp, \
- u_int sendsz, u_int recvsz)
-version SUNW_0.7
-exception $return == 0
-end
-
-function clntudp_bufcreate
-include <rpc/rpc.h>
-declaration CLIENT *clntudp_bufcreate(struct sockaddr_in *addr, \
- rpcprog_t prognum, rpcvers_t versnum, \
- struct timeval wait, int *fdp, \
- u_int sendsz, u_int recvsz)
-version SUNW_0.7
-exception $return == 0
-end
-
-function clntudp_create
-include <rpc/rpc.h>
-declaration CLIENT *clntudp_create(struct sockaddr_in *addr, \
- rpcprog_t prognum, rpcvers_t versnum, \
- struct timeval wait, int *fdp)
-version SUNW_0.7
-exception $return == 0
-end
-
-function svc_dg_enablecache
-include <rpc/rpc.h>
-declaration int svc_dg_enablecache(SVCXPRT *xprt, \
- const uint_t cache_size)
-version SUNW_0.7
-exception $return == 0
-end
-
-function svc_run
-include <rpc/rpc.h>
-declaration void svc_run(void)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-end
-
-function svc_sendreply
-include <rpc/rpc.h>
-declaration bool_t svc_sendreply(const SVCXPRT *xprt, \
- const xdrproc_t outproc, const caddr_t out)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-exception $return == FALSE
-end
-
-function svc_done
-include <rpc/rpc.h>
-declaration void svc_done(SVCXPRT *xprt)
-version SUNW_0.8
-end
-
-function svc_exit
-include <rpc/rpc.h>
-declaration void svc_exit(void)
-version SUNW_0.7
-end
-
-function svc_freeargs
-include <rpc/rpc.h>
-declaration bool_t svc_freeargs(const SVCXPRT *xprt, \
- const xdrproc_t inproc, caddr_t in)
-version SUNW_0.7
-exception $return == FALSE
-end
-
-function svc_getargs
-include <rpc/rpc.h>
-declaration bool_t svc_getargs(const SVCXPRT *xprt, \
- const xdrproc_t inproc, caddr_t in)
-version SUNW_0.7
-exception $return == FALSE
-end
-
-function svc_getreq_common
-include <rpc/rpc.h>
-declaration void svc_getreq_common(const int fd)
-version SUNW_0.7
-end
-
-function svc_getreq_poll
-include <rpc/rpc.h>
-declaration void svc_getreq_poll(struct pollfd *pfdp, \
- const int pollretval)
-version SUNW_0.7
-end
-
-function svc_getreqset
-include <rpc/rpc.h>
-declaration void svc_getreqset(fd_set *rdfds)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-end
-
-function svc_getrpccaller
-include <rpc/rpc.h>
-declaration struct netbuf *svc_getrpccaller(const SVCXPRT *xprt)
-version SUNW_0.7
-exception $return == 0
-end
-
-function svc_control
-include <rpc/rpc.h>
-declaration bool_t svc_control(SVCXPRT *svc, const u_int req, void *info)
-version SUNW_0.7
-exception $return == FALSE
-end
-
-function svc_create
-include <rpc/rpc.h>
-declaration int svc_create(void (*dispatch)(struct svc_req *, \
- SVCXPRT *), const rpcprog_t prognum, \
- const rpcvers_t versnum, const char *nettype);
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-exception $return == 0
-end
-
-function svc_destroy
-include <rpc/rpc.h>
-declaration void svc_destroy(SVCXPRT *xprt)
-version SUNW_0.7
-end
-
-function svc_dg_create
-include <rpc/rpc.h>
-declaration SVCXPRT *svc_dg_create(const int fildes, \
- const u_int sendsz, const u_int recvsz)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-exception $return == 0
-end
-
-function svc_fd_create
-include <rpc/rpc.h>
-declaration SVCXPRT *svc_fd_create(const int fildes, \
- const u_int sendsz, const u_int recvsz)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-exception $return == 0
-end
-
-function svc_raw_create
-include <rpc/rpc.h>
-declaration SVCXPRT *svc_raw_create(void)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-exception $return == 0
-end
-
-function svc_tli_create
-include <rpc/rpc.h>
-declaration SVCXPRT *svc_tli_create(const int fildes, \
- const struct netconfig *netconf, \
- const struct t_bind *bindaddr, \
- const u_int sendsz, const u_int recvsz)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-exception $return == 0
-end
-
-function svc_tp_create
-include <rpc/rpc.h>
-declaration SVCXPRT *svc_tp_create(void (*dispatch)(struct svc_req *, \
- SVCXPRT *), const rpcprog_t prognum, \
- const rpcvers_t versnum, const struct netconfig *netconf);
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-exception $return == 0
-end
-
-function svc_vc_create
-include <rpc/rpc.h>
-declaration SVCXPRT *svc_vc_create(const int fildes, \
- const u_int sendsz, const u_int recvsz)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-exception $return == 0
-end
-
-function svcerr_auth
-include <rpc/rpc.h>
-declaration void svcerr_auth(const SVCXPRT *xprt, const enum auth_stat why)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-end
-
-function svcerr_decode
-include <rpc/rpc.h>
-declaration void svcerr_decode(const SVCXPRT *xprt)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-end
-
-function svcerr_noproc
-include <rpc/rpc.h>
-declaration void svcerr_noproc(const SVCXPRT *xprt)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-end
-
-function svcerr_noprog
-include <rpc/rpc.h>
-declaration void svcerr_noprog(const SVCXPRT *xprt)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-end
-
-function svcerr_progvers
-include <rpc/rpc.h>
-declaration void svcerr_progvers(const SVCXPRT *xprt, \
- rpcvers_t low_vers, rpcvers_t high_vers)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-end
-
-function svcerr_systemerr
-include <rpc/rpc.h>
-declaration void svcerr_systemerr(const SVCXPRT *xprt)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-end
-
-function svcerr_weakauth
-include <rpc/rpc.h>
-declaration void svcerr_weakauth(const SVCXPRT *xprt)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-end
-
-function rpc_reg
-include <rpc/rpc.h>
-declaration bool_t rpc_reg(const rpcprog_t prognum, \
- const rpcvers_t versnum, const rpcproc_t procnum, \
- char * (*procname)(char *), const xdrproc_t inproc, \
- const xdrproc_t outproc, const char *nettype)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-exception $return == -1
-end
-
-function svc_reg
-include <rpc/rpc.h>
-declaration int svc_reg(const SVCXPRT *xprt, const rpcprog_t prognum, \
- const rpcvers_t versnum, void (*dispatch)(), \
- const struct netconfig *netconf)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-exception $return == 0
-end
-
-function svc_unreg
-include <rpc/rpc.h>
-declaration void svc_unreg(const rpcprog_t prognum, const rpcvers_t versnum)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-end
-
-function svc_auth_reg
-include <rpc/rpc.h>
-declaration int svc_auth_reg(int cred_flavor, enum auth_stat (*handler)())
-version SUNW_0.7
-exception $return != 0
-end
-
-function svc_door_create
-version SUNW_1.1
-end
-
-function svc_get_local_cred
-version SUNWprivate_1.1
-end
-
-function svc_max_pollfd
-version SUNW_1.1
-end
-
-function svc_pollfd
-version SUNW_1.1
-end
-
-function xprt_register
-include <rpc/rpc.h>
-declaration void xprt_register(const SVCXPRT *xprt)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-end
-
-function xprt_unregister
-include <rpc/rpc.h>
-declaration void xprt_unregister(const SVCXPRT *xprt)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-end
-
-function xdr_accepted_reply
-include <rpc/rpc.h>
-declaration bool_t xdr_accepted_reply(XDR *xdrs, \
- struct accepted_reply *ar)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-exception $return == FALSE
-end
-
-function xdr_authsys_parms
-include <rpc/rpc.h>
-declaration bool_t xdr_authsys_parms(XDR *xdrs, struct authsys_parms *aupp)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-exception $return == FALSE
-end
-
-function xdr_callhdr
-include <rpc/rpc.h>
-declaration bool_t xdr_callhdr(XDR *xdrs, struct rpc_msg *chdr)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-end
-
-function xdr_callmsg
-include <rpc/rpc.h>
-declaration bool_t xdr_callmsg(XDR *xdrs, struct rpc_msg *cmsg)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-exception $return == FALSE
-end
-
-function xdr_opaque_auth
-include <rpc/rpc.h>
-declaration bool_t xdr_opaque_auth(XDR *xdrs, struct opaque_auth *ap)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-exception $return == FALSE
-end
-
-function xdr_rejected_reply
-include <rpc/rpc.h>
-declaration bool_t xdr_rejected_reply(XDR *xdrs, \
- struct rejected_reply *rr)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-exception $return == FALSE
-end
-
-function xdr_replymsg
-include <rpc/rpc.h>
-declaration bool_t xdr_replymsg(XDR *xdrs, struct rpc_msg *rmsg)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-exception $return == FALSE
-end
-
-data rpc_createerr
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-end
-
-function __rpc_createerr
-version SUNW_0.7
-end
-
-function rpc_gss_get_error
-version SUNW_1.1
-end
-
-function rpc_gss_get_mech_info
-version SUNW_1.1
-end
-
-function rpc_gss_get_mechanisms
-version SUNW_1.1
-end
-
-function rpc_gss_get_principal_name
-version SUNW_1.1
-end
-
-function rpc_gss_get_versions
-version SUNW_1.1
-end
-
-function rpc_gss_getcred
-version SUNW_1.1
-end
-
-function rpc_gss_is_installed
-version SUNW_1.1
-end
-
-function rpc_gss_max_data_length
-version SUNW_1.1
-end
-
-function rpc_gss_mech_to_oid
-version SUNW_1.1
-end
-
-function rpc_gss_qop_to_num
-version SUNW_1.1
-end
-
-function rpc_gss_seccreate
-version SUNW_1.1
-end
-
-function rpc_gss_set_callback
-version SUNW_1.1
-end
-
-function rpc_gss_set_defaults
-version SUNW_1.1
-end
-
-function rpc_gss_set_svc_name
-version SUNW_1.1
-end
-
-function rpc_gss_svc_max_data_length
-version SUNW_1.1
-end
-
-function rpcb_getmaps
-include <rpc/rpc.h>
-declaration rpcblist *rpcb_getmaps \
- (const struct netconfig *netconf, const char *host)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-exception $return == 0
-end
-
-function rpcb_getaddr
-include <rpc/rpc.h>
-declaration bool_t rpcb_getaddr(const rpcprog_t prognum, \
- const rpcvers_t versnum, \
- const struct netconfig *netconf, \
- struct netbuf *svcaddr, const char *host)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-exception $return == FALSE
-end
-
-function rpcb_gettime
-include <rpc/rpc.h>
-declaration bool_t rpcb_gettime(const char *host, time_t *timep)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-exception $return == FALSE
-end
-
-function rpcb_rmtcall
-include <rpc/rpc.h>
-declaration enum clnt_stat rpcb_rmtcall(const struct netconfig *netconf, \
- const char *host, const rpcprog_t prognum, \
- const rpcvers_t versnum, const rpcproc_t procnum, \
- const xdrproc_t inproc, const caddr_t in, \
- const xdrproc_t outproc, caddr_t out, \
- const struct timeval tout, struct netbuf *svcaddr)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-exception $return != RPC_SUCCESS
-end
-
-function rpcb_set
-include <rpc/rpc.h>
-declaration bool_t rpcb_set(const rpcprog_t prognum, \
- const rpcvers_t versnum, \
- const struct netconfig *netconf, \
- const struct netbuf *svcaddr)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-exception $return == FALSE
-end
-
-function rpcb_unset
-include <rpc/rpc.h>
-declaration bool_t rpcb_unset(const rpcprog_t prognum, \
- const rpcvers_t versnum, \
- const struct netconfig *netconf)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-exception $return == FALSE
-end
-
-function authdes_getucred
-include <rpc/rpc.h>, <sys/types.h>
-declaration int authdes_getucred(const struct authdes_cred *adc, \
- uid_t *uidp, gid_t *gidp, short *gidlenp, \
- gid_t *gidlist)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-exception $return == 0
-end
-
-function netname2host
-include <rpc/rpc.h>, <sys/types.h>
-declaration int netname2host(const char *name, char *host, \
- const int hostlen)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-exception $return == 0
-end
-
-function netname2user
-include <rpc/rpc.h>, <sys/types.h>
-declaration int netname2user(const char *name, uid_t *uidp, \
- gid_t *gidp, int *gidlenp, gid_t *gidlist)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-exception $return == 0
-end
-
-function user2netname
-include <rpc/rpc.h>, <sys/types.h>
-declaration int user2netname(char *name, const uid_t uid, \
- const char *domain)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-exception $return == 0
-end
-
-function authdes_seccreate
-include <rpc/rpc.h>, <sys/types.h>
-declaration AUTH *authdes_seccreate(const char *name, \
- const unsigned int window, const char *timehost, \
- const des_block *ckey)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-exception $return == 0
-end
-
-function getnetname
-include <rpc/rpc.h>, <sys/types.h>
-declaration int getnetname(char *name)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-exception $return == 0
-end
-
-function host2netname
-include <rpc/rpc.h>, <sys/types.h>
-declaration int host2netname(char *name, const char *host, \
- const char *domain)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-exception $return == 0
-end
-
-function key_decryptsession
-include <rpc/rpc.h>, <sys/types.h>
-declaration int key_decryptsession(const char *remotename, \
- des_block *deskey)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-exception $return == -1
-end
-
-function key_encryptsession
-include <rpc/rpc.h>, <sys/types.h>
-declaration int key_encryptsession(const char *remotename, \
- des_block *deskey)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-exception $return == -1
-end
-
-function key_gendes
-include <rpc/rpc.h>, <sys/types.h>
-declaration int key_gendes(des_block *deskey)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-exception $return == -1
-end
-
-function key_setsecret
-include <rpc/rpc.h>, <sys/types.h>
-declaration int key_setsecret(const char *key)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-exception $return == -1
-end
-
-function key_secretkey_is_set
-include <rpc/rpc.h>, <sys/types.h>
-declaration int key_secretkey_is_set(void)
-version SUNW_0.7
-exception $return == 0
-end
-
-function endrpcent
-version SUNW_0.7
-end
-
-function maxbno
-version SUNW_0.7
-end
-
-function clnt_send
-include <rpc/rpc.h>, <sys/types.h>
-declaration enum clnt_stat clnt_send(CLIENT *clnt, rpcproc_t procnum, \
- xdrproc_t proc, const caddr_t in)
-version SUNW_1.8
-exception $return != RPC_SUCCESS
-end
-
-function svc_add_input
-include <rpc/rpc.h>
-declaration int svc_add_input(int user_fd, unsigned int user_events, \
- void (*user_callback)(int id, int fd, \
- unsigned int events, void* cookie), void* user_cookie)
-version SUNW_1.8
-exception $return != -1
-end
-
-function svc_remove_input
-include <rpc/rpc.h>
-declaration int svc_remove_input(int id)
-version SUNW_1.8
-exception $return != -1
-end
-
-function svc_fd_negotiate_ucred
-include <rpc/rpc.h>
-declaration void svc_fd_negotiate_ucred(int fd)
-version SUNW_1.9
-end
-
-function svc_getcallerucred
-include <rpc/rpc.h>
-declaration int svc_getcallerucred(const SVCXPRT *xprt, \
- struct ucred_s **ucred)
-version SUNW_1.9
-end
diff --git a/usr/src/lib/libnsl/spec/sparc/Makefile b/usr/src/lib/libnsl/spec/sparc/Makefile
deleted file mode 100644
index 113928a7d0..0000000000
--- a/usr/src/lib/libnsl/spec/sparc/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1998-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libnsl/spec/sparc/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-sparc_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libnsl/spec/sparcv9/Makefile b/usr/src/lib/libnsl/spec/sparcv9/Makefile
deleted file mode 100644
index d21c0426f5..0000000000
--- a/usr/src/lib/libnsl/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,45 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1998-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libnsl/spec/sparcv9/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-sparcv9_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libnsl/spec/tli.spec b/usr/src/lib/libnsl/spec/tli.spec
deleted file mode 100644
index 07caa8c2df..0000000000
--- a/usr/src/lib/libnsl/spec/tli.spec
+++ /dev/null
@@ -1,213 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-function t_accept
-include <tiuser.h>
-declaration int t_accept(int fildes, int resfd, struct t_call *call)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-exception $return == -1
-end
-
-function t_alloc
-include <tiuser.h>
-declaration char *t_alloc(int fildes, int struct_type, int fields)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-exception $return == 0
-end
-
-function t_bind
-include <tiuser.h>
-declaration int t_bind(int fildes, struct t_bind *req, \
- struct t_bind *ret)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-exception $return == -1
-end
-
-function t_close
-include <tiuser.h>
-declaration int t_close(int fildes)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-exception $return == -1
-end
-
-function t_connect
-include <tiuser.h>
-declaration int t_connect(int fildes, struct t_call *sndcall, \
- struct t_call *rcvcall)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-exception $return == -1
-end
-
-function t_error
-include <tiuser.h>
-declaration void t_error(const char *errmsg)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-end
-
-function t_free
-include <tiuser.h>
-declaration int t_free(char *ptr, int struct_type)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-exception $return == -1
-end
-
-function t_getinfo
-include <tiuser.h>
-declaration int t_getinfo(int fildes, struct t_info *info)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-exception $return == -1
-end
-
-function t_getstate
-include <tiuser.h>
-declaration int t_getstate(int fildes)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-exception $return == -1
-end
-
-function t_listen
-include <tiuser.h>
-declaration int t_listen(int fildes, struct t_call *call)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-exception $return == -1
-end
-
-function t_look
-include <tiuser.h>
-declaration int t_look(int fildes)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-exception $return == -1
-end
-
-function t_open
-include <tiuser.h>, <fcntl.h>
-declaration int t_open(const char *path, int oflag, struct t_info *info)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-exception $return == -1
-end
-
-function t_optmgmt
-include <tiuser.h>
-declaration int t_optmgmt(int fildes, struct t_optmgmt *req, \
- struct t_optmgmt *ret)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-exception $return == -1
-end
-
-function t_rcv
-declaration int t_rcv(int fildes, char *buf, unsigned nbytes, int *flags)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-exception $return == -1
-end
-
-function t_rcvconnect
-include <tiuser.h>
-declaration int t_rcvconnect(int fildes, struct t_call *call)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-exception $return == -1
-end
-
-function t_rcvdis
-include <tiuser.h>
-declaration int t_rcvdis(int fildes, struct t_discon *discon)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-exception $return == -1
-end
-
-function t_rcvrel
-include <tiuser.h>
-declaration int t_rcvrel(int fildes)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-exception $return == -1
-end
-
-function t_rcvudata
-include <tiuser.h>
-declaration int t_rcvudata(int fildes, struct t_unitdata *unitdata, \
- int *flags)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-exception $return == -1
-end
-
-function t_rcvuderr
-declaration int t_rcvuderr(int fildes, struct t_uderr *uderr)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-exception $return == -1
-end
-
-function t_snd
-include <tiuser.h>
-declaration int t_snd(int fildes, char *buf, unsigned nbytes, int flags)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-exception $return == -1
-end
-
-function t_snddis
-include <tiuser.h>
-declaration int t_snddis(int fildes, struct t_call *call)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-exception $return == -1
-end
-
-function t_sndrel
-include <tiuser.h>
-declaration int t_sndrel(int fildes)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-exception $return == -1
-end
-
-function t_sndudata
-include <tiuser.h>
-declaration int t_sndudata(int fildes, struct t_unitdata *unitdata)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-exception $return == -1
-end
-
-function t_strerror
-include <tiuser.h>
-declaration char *t_strerror(int errnum)
-version SUNW_0.7
-end
-
-function _t_strerror
-weak t_strerror
-version SUNWprivate_1.1
-end
-
-function t_sync
-include <tiuser.h>
-declaration int t_sync(int fildes)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-exception $return == -1
-end
-
-function t_unbind
-include <tiuser.h>
-declaration int t_unbind(int fildes)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-exception $return == -1
-end
diff --git a/usr/src/lib/libnsl/spec/versions b/usr/src/lib/libnsl/spec/versions
deleted file mode 100644
index adf4dd7fe7..0000000000
--- a/usr/src/lib/libnsl/spec/versions
+++ /dev/null
@@ -1,119 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# Note (re: SUNW_1.2 .. SUNW_1.5):
-# Even though the SUNW_1.2 through SUNW_1.5 versions now contain no
-# symbols these versions MUST be present. This is because applications
-# built on 2.6 Beta (when they did contain symbols explicitly) may
-# depend on them.
-#
-# All symbol content for Solaris2.6 is now contained in SUNW_1.1,
-# and the (now empty) versions SUNW_1.2 through SUNW_1.5 must be kept.
-#
-
-i386 {
- SUNW_1.10: {SUNW_1.9};
- SUNW_1.9: {SUNW_1.8};
- SUNW_1.8: {SUNW_1.7};
- SUNW_1.7: {SUNW_1.6};
- SUNW_1.6: {SUNW_1.5};
- SUNW_1.5: {SUNW_1.4};
- SUNW_1.4: {SUNW_1.3};
- SUNW_1.3: {SUNW_1.2};
- SUNW_1.2: {SUNW_1.1};
- SUNW_1.1: {SUNW_0.9, SUNW_0.7};
- SUNW_0.9: {SUNW_0.8};
- SUNW_0.8: {SUNW_0.7};
- SUNW_0.7: {SYSVABI_1.3};
- SYSVABI_1.3;
- SUNWprivate_1.5: {SUNWprivate_1.4};
- SUNWprivate_1.4: {SUNWprivate_1.3};
- SUNWprivate_1.3: {SUNWprivate_1.2};
- SUNWprivate_1.2: {SUNWprivate_1.1};
- SUNWprivate_1.1;
-}
-sparc {
- SUNW_1.10: {SUNW_1.9};
- SUNW_1.9: {SUNW_1.8};
- SUNW_1.8: {SUNW_1.7};
- SUNW_1.7: {SUNW_1.6};
- SUNW_1.6: {SUNW_1.5};
- SUNW_1.5: {SUNW_1.4};
- SUNW_1.4: {SUNW_1.3};
- SUNW_1.3: {SUNW_1.2};
- SUNW_1.2: {SUNW_1.1};
- SUNW_1.1: {SUNW_0.9, SUNW_0.7};
- SUNW_0.9: {SUNW_0.8};
- SUNW_0.8: {SUNW_0.7};
- SUNW_0.7: {SISCD_2.3};
- SISCD_2.3: {SYSVABI_1.3};
- SYSVABI_1.3;
- SUNWprivate_1.5: {SUNWprivate_1.4};
- SUNWprivate_1.4: {SUNWprivate_1.3};
- SUNWprivate_1.3: {SUNWprivate_1.2};
- SUNWprivate_1.2: {SUNWprivate_1.1};
- SUNWprivate_1.1;
-}
-sparcv9 {
- SUNW_1.10: {SUNW_1.9};
- SUNW_1.9: {SUNW_1.8};
- SUNW_1.8: {SUNW_1.7};
- SUNW_1.7: {SUNW_1.6};
- SUNW_1.6: {SUNW_1.5};
- SUNW_1.5: {SUNW_1.4};
- SUNW_1.4: {SUNW_1.3};
- SUNW_1.3: {SUNW_1.2};
- SUNW_1.2: {SUNW_1.1};
- SUNW_1.1: {SUNW_0.9};
- SUNW_0.9: {SUNW_0.8};
- SUNW_0.8: {SUNW_0.7};
- SUNW_0.7;
- SUNWprivate_1.5: {SUNWprivate_1.4};
- SUNWprivate_1.4: {SUNWprivate_1.3};
- SUNWprivate_1.3: {SUNWprivate_1.2};
- SUNWprivate_1.2: {SUNWprivate_1.1};
- SUNWprivate_1.1;
-}
-amd64 {
- SUNW_1.10: {SUNW_1.9};
- SUNW_1.9: {SUNW_1.8};
- SUNW_1.8: {SUNW_1.7};
- SUNW_1.7: {SUNW_1.6};
- SUNW_1.6: {SUNW_1.5};
- SUNW_1.5: {SUNW_1.4};
- SUNW_1.4: {SUNW_1.3};
- SUNW_1.3: {SUNW_1.2};
- SUNW_1.2: {SUNW_1.1};
- SUNW_1.1: {SUNW_0.9};
- SUNW_0.9: {SUNW_0.8};
- SUNW_0.8: {SUNW_0.7};
- SUNW_0.7;
- SUNWprivate_1.5: {SUNWprivate_1.4};
- SUNWprivate_1.4: {SUNWprivate_1.3};
- SUNWprivate_1.3: {SUNWprivate_1.2};
- SUNWprivate_1.2: {SUNWprivate_1.1};
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/libnsl/spec/xdr.spec b/usr/src/lib/libnsl/spec/xdr.spec
deleted file mode 100644
index 62d3f47986..0000000000
--- a/usr/src/lib/libnsl/spec/xdr.spec
+++ /dev/null
@@ -1,385 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-function xdr_getpos
-include <rpc/types.h>
-include <rpc/xdr.h>
-declaration u_int xdr_getpos(const XDR *xdrs)
-version SUNW_0.7
-end
-
-function xdr_inline
-include <rpc/types.h>
-include <rpc/xdr.h>
-declaration long *xdr_inline(XDR *xdrs, const int len)
-version SUNW_0.7
-exception $return == 0
-end
-
-function xdrrec_endofrecord
-include <rpc/types.h>
-include <rpc/xdr.h>
-declaration bool_t xdrrec_endofrecord(XDR *xdrs, int sendnow)
-version SUNW_0.7
-exception $return == FALSE
-end
-
-function xdrrec_eof
-include <rpc/types.h>
-include <rpc/xdr.h>
-declaration bool_t xdrrec_eof(XDR *xdrs)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-exception $return == FALSE
-end
-
-function xdrrec_readbytes
-include <rpc/types.h>
-include <rpc/xdr.h>
-declaration uint_t xdrrec_readbytes(XDR *xdrs, caddr_t addr, uint_t nbytes)
-version SUNW_0.7
-exception $return == -1
-end
-
-function xdrrec_skiprecord
-include <rpc/types.h>
-include <rpc/xdr.h>
-declaration bool_t xdrrec_skiprecord(XDR *xdrs)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-exception $return == FALSE
-end
-
-function xdr_setpos
-include <rpc/types.h>
-include <rpc/xdr.h>
-declaration bool_t xdr_setpos(XDR *xdrs, const u_int pos)
-version SUNW_0.7
-exception $return == FALSE
-end
-
-function xdr_sizeof
-include <rpc/types.h>
-include <rpc/xdr.h>
-declaration unsigned int xdr_sizeof(xdrproc_t func, void *data)
-version SUNW_0.7
-exception $return == 0
-end
-
-function xdr_array
-include <rpc/types.h>
-include <rpc/xdr.h>
-declaration bool_t xdr_array(XDR *xdrs, caddr_t *arrp, u_int *sizep, \
- const u_int maxsize, const u_int elsize, \
- const xdrproc_t elproc)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-exception $return == FALSE
-end
-
-function xdr_bytes
-include <rpc/types.h>
-include <rpc/xdr.h>
-declaration bool_t xdr_bytes(XDR *xdrs, char **sp, u_int *sizep, \
- const u_int maxsize)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-exception $return == FALSE
-end
-
-function xdr_opaque
-include <rpc/types.h>
-include <rpc/xdr.h>
-declaration bool_t xdr_opaque(XDR *xdrs, caddr_t cp, const u_int cnt)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-exception $return == FALSE
-end
-
-function xdr_pointer
-include <rpc/types.h>
-include <rpc/xdr.h>
-declaration bool_t xdr_pointer(XDR *xdrs, char **objpp, u_int objsize, \
- const xdrproc_t xdrobj)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-exception $return == FALSE
-end
-
-function xdr_reference
-include <rpc/types.h>
-include <rpc/xdr.h>
-declaration bool_t xdr_reference(XDR *xdrs, caddr_t *pp, u_int size, \
- const xdrproc_t proc)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-exception $return == FALSE
-end
-
-function xdr_string
-include <rpc/types.h>
-include <rpc/xdr.h>
-declaration bool_t xdr_string(XDR *xdrs, char **sp, const u_int maxsize)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-exception $return == FALSE
-end
-
-function xdr_union
-include <rpc/types.h>
-include <rpc/xdr.h>
-declaration bool_t xdr_union(XDR *xdrs, enum_t *dscmp, char *unp, \
- const struct xdr_discrim *choices, \
- const xdrproc_t defaultarm)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-exception $return == FALSE
-end
-
-function xdr_vector
-include <rpc/types.h>
-include <rpc/xdr.h>
-declaration bool_t xdr_vector(XDR *xdrs, char *arrp, const u_int size, \
- const u_int elsize, const xdrproc_t elproc)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-exception $return == FALSE
-end
-
-function xdr_wrapstring
-include <rpc/types.h>
-include <rpc/xdr.h>
-declaration bool_t xdr_wrapstring(XDR *xdrs, char **sp)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-exception $return == FALSE
-end
-
-function xdr_destroy
-include <rpc/types.h>
-include <rpc/xdr.h>
-declaration void xdr_destroy(XDR *xdrs)
-version SUNW_0.7
-end
-
-function xdrmem_create
-include <rpc/types.h>
-include <rpc/xdr.h>
-declaration void xdrmem_create(XDR *xdrs, const caddr_t addr, \
- const u_int size, const enum xdr_op op)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-end
-
-function xdrrec_create
-include <rpc/types.h>
-include <rpc/xdr.h>
-declaration void xdrrec_create(XDR *xdrs, const uint_t sendsz, \
- const uint_t recvsz, const caddr_t handle, \
- int (*readit)(void *read_handle, caddr_t buf, int len), \
- int (*writeit)(void *write_handle, caddr_t buf, int len))
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-end
-
-function xdrstdio_create
-include <rpc/types.h>
-include <rpc/xdr.h>
-declaration void xdrstdio_create(XDR *xdrs, FILE *file, \
- const enum xdr_op op)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-end
-
-function xdr_bool
-include <rpc/types.h>
-include <rpc/xdr.h>
-declaration bool_t xdr_bool(XDR *xdrs, bool_t *bp)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-exception $return == FALSE
-end
-
-function xdr_char
-include <rpc/types.h>
-include <rpc/xdr.h>
-declaration bool_t xdr_char(XDR *xdrs, char *cp)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-exception $return == FALSE
-end
-
-function xdr_double
-include <rpc/types.h>
-include <rpc/xdr.h>
-declaration bool_t xdr_double(XDR *xdrs, double *dp)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-exception $return == FALSE
-end
-
-function xdr_enum
-include <rpc/types.h>
-include <rpc/xdr.h>
-declaration bool_t xdr_enum(XDR *xdrs, enum_t *ep)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-exception $return == FALSE
-end
-
-function xdr_float
-include <rpc/types.h>
-include <rpc/xdr.h>
-declaration bool_t xdr_float(XDR *xdrs, float *fp)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-exception $return == FALSE
-end
-
-function xdr_free
-include <rpc/types.h>
-include <rpc/xdr.h>
-declaration void xdr_free(xdrproc_t proc, char *objp)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-end
-
-function xdr_hyper
-include <rpc/types.h>
-include <rpc/xdr.h>
-declaration bool_t xdr_hyper(XDR *xdrs, longlong_t *llp)
-version SUNW_0.7
-exception $return == FALSE
-end
-
-function xdr_int
-include <rpc/types.h>
-include <rpc/xdr.h>
-declaration bool_t xdr_int(XDR *xdrs, int *ip)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-exception $return == FALSE
-end
-
-function xdr_long
-include <rpc/types.h>
-include <rpc/xdr.h>
-declaration bool_t xdr_long(XDR *xdrs, long *lp)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-exception $return == FALSE
-end
-
-function xdr_longlong_t
-include <rpc/types.h>
-include <rpc/xdr.h>
-declaration bool_t xdr_longlong_t(XDR *xdrs, longlong_t *llp)
-version SUNW_0.7
-exception $return == FALSE
-end
-
-function xdr_quadruple
-include <rpc/types.h>
-include <rpc/xdr.h>
-declaration bool_t xdr_quadruple(XDR *xdrs, long double *pq)
-version SUNW_0.7
-exception $return == FALSE
-end
-
-function xdr_short
-include <rpc/types.h>
-include <rpc/xdr.h>
-declaration bool_t xdr_short(XDR *xdrs, short *sp)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-exception $return == FALSE
-end
-
-function xdr_u_char
-include <rpc/types.h>
-include <rpc/xdr.h>
-declaration bool_t xdr_u_char(XDR *xdrs, unsigned char *ucp)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-exception $return == FALSE
-end
-
-function xdr_u_hyper
-include <rpc/types.h>
-include <rpc/xdr.h>
-declaration bool_t xdr_u_hyper(XDR *xdrs, u_longlong_t *ullp)
-version SUNW_0.7
-exception $return == FALSE
-end
-
-function xdr_u_int
-include <rpc/types.h>
-include <rpc/xdr.h>
-declaration bool_t xdr_u_int(XDR *xdrs, unsigned *up)
-version SUNW_0.7
-exception $return == FALSE
-end
-
-function xdr_u_long
-include <rpc/types.h>
-include <rpc/xdr.h>
-declaration bool_t xdr_u_long(XDR *xdrs, unsigned long *ulp)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-exception $return == FALSE
-end
-
-function xdr_u_longlong_t
-include <rpc/types.h>
-include <rpc/xdr.h>
-declaration bool_t xdr_u_longlong_t(XDR *xdrs, u_longlong_t *ullp)
-version SUNW_0.7
-exception $return == FALSE
-end
-
-function xdr_u_short
-include <rpc/types.h>
-include <rpc/xdr.h>
-declaration bool_t xdr_u_short(XDR *xdrs, unsigned short *usp)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-exception $return == FALSE
-end
-
-function xdr_void
-include <rpc/types.h>
-include <rpc/xdr.h>
-declaration bool_t xdr_void(void)
-version sparc=SYSVABI_1.3 i386=SYSVABI_1.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-exception $return == FALSE
-end
-
-function xdr_int16_t
-version SUNWprivate_1.1
-end
-
-function xdr_int32_t
-version SUNWprivate_1.1
-end
-
-function xdr_int64_t
-version SUNWprivate_1.1
-end
-
-function xdr_int8_t
-version SUNWprivate_1.1
-end
-
-function xdr_uint16_t
-version SUNWprivate_1.1
-end
-
-function xdr_uint32_t
-version SUNWprivate_1.1
-end
-
-function xdr_uint64_t
-version SUNWprivate_1.1
-end
-
-function xdr_uint8_t
-version SUNWprivate_1.1
-end
diff --git a/usr/src/lib/libnsl/spec/xti.spec b/usr/src/lib/libnsl/spec/xti.spec
deleted file mode 100644
index 7245c98948..0000000000
--- a/usr/src/lib/libnsl/spec/xti.spec
+++ /dev/null
@@ -1,255 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-function _xti_accept
-include <xti.h>, <stropts.h>
-declaration int _xti_accept(int fd, int resfd, const struct t_call *call)
-version SUNW_1.1
-end
-
-function _xti_alloc
-include <xti.h>, <stropts.h>
-declaration void * _xti_alloc(int fd, int struct_type, int fields)
-version SUNW_1.1
-end
-
-function _xti_bind
-include <xti.h>, <stropts.h>
-declaration int _xti_bind(int fd, const struct t_bind *req, \
- struct t_bind *ret)
-version SUNW_1.1
-end
-
-function _xti_close
-include <xti.h>, <stropts.h>
-declaration int _xti_close(int fd)
-version SUNW_1.1
-end
-
-function _xti_connect
-include <xti.h>, <stropts.h>
-declaration int _xti_connect(int fd, const struct t_call *sndcall, \
- struct t_call *rcvcall)
-version SUNW_1.1
-end
-
-function _xti_error
-include <xti.h>, <stropts.h>
-declaration int _xti_error(const char *errmsg)
-version SUNW_1.1
-end
-
-function _xti_free
-include <xti.h>, <stropts.h>
-declaration int _xti_free(void *ptr, int struct_type)
-version SUNW_1.1
-end
-
-function _xti_getinfo
-include <xti.h>, <stropts.h>
-declaration int _xti_getinfo(int fd, struct t_info *info)
-version SUNW_1.1
-end
-
-function _xti_getprotaddr
-include <xti.h>, <stropts.h>
-declaration int _xti_getprotaddr(int fd, struct t_bind *boundaddr, \
- struct t_bind *peeraddr)
-version SUNW_1.1
-end
-
-function _xti_getstate
-include <xti.h>, <stropts.h>
-declaration int _xti_getstate(int fd)
-version SUNW_1.1
-end
-
-function _xti_listen
-include <xti.h>, <stropts.h>
-declaration int _xti_listen(int fd, struct t_call *call)
-version SUNW_1.1
-end
-
-function _xti_look
-include <xti.h>, <stropts.h>
-declaration int _xti_look(int fd)
-version SUNW_1.1
-end
-
-function _xti_open
-include <xti.h>, <stropts.h>
-declaration int _xti_open(const char *path, int flags, struct t_info *info)
-version SUNW_1.1
-end
-
-function _xti_optmgmt
-include <xti.h>, <stropts.h>
-declaration int _xti_optmgmt(int fd, const struct t_optmgmt *req, \
- struct t_optmgmt *ret)
-version SUNW_1.1
-end
-
-function _xti_rcv
-include <xti.h>, <stropts.h>
-declaration int _xti_rcv(int fd, void *buf, unsigned int nbytes, int *flags)
-version SUNW_1.1
-end
-
-function _xti_rcvconnect
-include <xti.h>, <stropts.h>
-declaration int _xti_rcvconnect(int fd, struct t_call *call)
-version SUNW_1.1
-end
-
-function _xti_rcvdis
-include <xti.h>, <stropts.h>
-declaration int _xti_rcvdis(int fd, struct t_discon *discon)
-version SUNW_1.1
-end
-
-function _xti_rcvrel
-include <xti.h>, <stropts.h>
-declaration int _xti_rcvrel(int fd)
-version SUNW_1.1
-end
-
-function _xti_rcvudata
-include <xti.h>, <stropts.h>
-declaration int _xti_rcvudata(int fd, struct t_unitdata *unitdata, \
- int *flags)
-version SUNW_1.1
-end
-
-function _xti_rcvuderr
-include <xti.h>, <stropts.h>
-declaration int _xti_rcvuderr(int fd, struct t_uderr *uderr)
-version SUNW_1.1
-end
-
-function _xti_snd
-include <xti.h>, <stropts.h>
-declaration int _xti_snd(int fd, void *buf, unsigned int nbytes, int flags)
-version SUNW_1.1
-end
-
-function _xti_snddis
-include <xti.h>, <stropts.h>
-declaration int _xti_snddis(int fd, const struct t_call *call)
-version SUNW_1.1
-end
-
-function _xti_sndrel
-include <xti.h>, <stropts.h>
-declaration int _xti_sndrel(int fd)
-version SUNW_1.1
-end
-
-function _xti_sndudata
-include <xti.h>, <stropts.h>
-declaration int _xti_sndudata(int fd, const struct t_unitdata *unitdata)
-version SUNW_1.1
-end
-
-function _xti_strerror
-include <xti.h>, <stropts.h>
-declaration const char * _xti_strerror(int errnum)
-version SUNW_1.1
-end
-
-function _xti_sync
-include <xti.h>, <stropts.h>
-declaration int _xti_sync(int fd)
-version SUNW_1.1
-end
-
-function _xti_unbind
-include <xti.h>, <stropts.h>
-declaration int _xti_unbind(int fd)
-version SUNW_1.1
-end
-
-function _xti_rcvreldata
-include <xti.h>, <stropts.h>
-declaration int _xti_rcvreldata(int fd, struct t_discon *discon)
-version SUNW_1.6
-end
-
-function _xti_rcvv
-include <xti.h>, <stropts.h>
-declaration int _xti_rcvv(int fd, struct t_iovec *tiov, \
- unsigned int tiovcount, int *flags)
-version SUNW_1.6
-end
-
-function _xti_rcvvudata
-include <xti.h>, <stropts.h>
-declaration int _xti_rcvvudata(int fd, struct t_unitdata *unitdata, \
- struct t_iovec *tiov, unsigned int tiovcount, \
- int *flags)
-version SUNW_1.6
-end
-
-function _xti_sndreldata
-include <xti.h>, <stropts.h>
-declaration int _xti_sndreldata(int fd, struct t_discon *discon)
-version SUNW_1.6
-end
-
-function _xti_sndv
-include <xti.h>, <stropts.h>
-declaration int _xti_sndv(int fd, const struct t_iovec *tiov, \
- unsigned int tiovcount, int flags)
-version SUNW_1.6
-end
-
-function _xti_sndvudata
-include <xti.h>, <stropts.h>
-declaration int _xti_sndvudata(int fd, struct t_unitdata *unitdata, \
- struct t_iovec *tiov, unsigned int tiovcount)
-version SUNW_1.6
-end
-
-function _xti_sysconf
-include <xti.h>, <stropts.h>
-declaration int _xti_sysconf(int name)
-version SUNW_1.6
-end
-
-function _xti_xns5_accept
-include <xti.h>, <stropts.h>
-declaration int _xti_xns5_accept(int fd, int resfd, \
- const struct t_call *call)
-version SUNW_1.6
-end
-
-function _xti_xns5_snd
-include <xti.h>, <stropts.h>
-declaration int _xti_xns5_snd(int fd, void *buf, \
- unsigned int nbytes, int flags)
-version SUNW_1.6
-end
-
diff --git a/usr/src/lib/libnsl/spec/yp.spec b/usr/src/lib/libnsl/spec/yp.spec
deleted file mode 100644
index 8c3a39af3d..0000000000
--- a/usr/src/lib/libnsl/spec/yp.spec
+++ /dev/null
@@ -1,135 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libnsl/spec/yp.spec
-
-function yp_update
-include <rpcsvc/ypclnt.h>
-declaration int yp_update(char *domain, char *map, unsigned ypop,\
- char *key, int keylen, char *data, int datalen)
-version SUNW_0.7
-exception $return == YPERR_KEY
-end
-
-function yp_bind
-include <rpcsvc/ypclnt.h>, <rpcsvc/yp_prot.h>
-declaration int yp_bind (char *indomain)
-version SUNW_0.7
-exception $return != 0
-end
-
-function yp_master
-include <rpcsvc/ypclnt.h>, <rpcsvc/yp_prot.h>
-declaration int yp_master(char *indomain, char *inmap, char **outname)
-version SUNW_0.7
-exception $return != 0
-end
-
-function yperr_string
-include <rpcsvc/ypclnt.h>, <rpcsvc/yp_prot.h>
-declaration char *yperr_string(int incode)
-version SUNW_0.7
-exception $return == 0
-end
-
-function ypprot_err
-include <rpcsvc/ypclnt.h>, <rpcsvc/yp_prot.h>
-declaration int ypprot_err (int incode)
-version SUNW_0.7
-exception $return != 0
-end
-
-function yp_unbind
-include <rpcsvc/ypclnt.h>, <rpcsvc/yp_prot.h>
-declaration void yp_unbind(char *indomain)
-version SUNW_0.7
-end
-
-function yp_get_default_domain
-include <rpcsvc/ypclnt.h>, <rpcsvc/yp_prot.h>
-declaration int yp_get_default_domain (char **outdomain)
-version SUNW_0.7
-exception $return != 0
-end
-
-function yp_match
-include <rpcsvc/ypclnt.h>, <rpcsvc/yp_prot.h>
-declaration int yp_match(char *indomain, char *inmap, char *inkey,\
- int inkeylen, char **outval, int *outvallen)
-version SUNW_0.7
-exception $return != 0
-end
-
-function yp_first
-include <rpcsvc/ypclnt.h>, <rpcsvc/yp_prot.h>
-declaration int yp_first(char *indomain, char *inmap, char **outkey, \
- int *outkeylen, char **outval, int *outvallen)
-version SUNW_0.7
-exception $return != 0
-end
-
-function yp_next
-include <rpcsvc/ypclnt.h>, <rpcsvc/yp_prot.h>
-declaration int yp_next(char *indomain, char *inmap, char *inkey, \
- int inkeylen, char **outkey, int *outkeylen, \
- char **outval, int *outvallen)
-version SUNW_0.7
-exception $return != 0
-end
-
-function yp_all
-include <rpcsvc/ypclnt.h>, <rpcsvc/yp_prot.h>
-declaration int yp_all(char *indomain, char *inmap, \
- struct ypall_callback *incallback)
-version SUNW_0.7
-exception $return != 0
-end
-
-function yp_order
-include <rpcsvc/ypclnt.h>, <rpcsvc/yp_prot.h>
-declaration int yp_order(char *indomain, char *inmap, \
- unsigned long *outorder)
-version SUNW_0.7
-exception $return != 0
-end
-
-function fetch
-version SUNW_0.7
-end
-
-function firstkey
-version SUNW_0.7
-end
-
-function nextkey
-declaration datum nextkey(datum key)
-version SUNW_0.7
-end
-
-function store
-declaration datum store(datum key, datum dat)
-version SUNW_0.7
-end
diff --git a/usr/src/lib/libnvpair/Makefile b/usr/src/lib/libnvpair/Makefile
index 74a94fedbe..1dc8b802b0 100644
--- a/usr/src/lib/libnvpair/Makefile
+++ b/usr/src/lib/libnvpair/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,19 +19,16 @@
# CDDL HEADER END
#
#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 2000 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libnvpair/Makefile
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
+# ident "%Z%%M% %I% %E% SMI"
#
-# include library definitions
include ../Makefile.lib
-SUBDIRS = spec .WAIT $(MACH) $(BUILD64) $(MACH64)
+SUBDIRS = $(MACH)
+$(BUILD64)SUBDIRS += $(MACH64)
# conditional assignments
all := TARGET= all
@@ -61,7 +57,7 @@ install_h: $(ROOTHDRS)
check: $(CHECKHDRS)
-$(MACH) $(MACH64) spec: FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
diff --git a/usr/src/lib/libnvpair/Makefile.com b/usr/src/lib/libnvpair/Makefile.com
index c2de4ef11d..532a1032cc 100644
--- a/usr/src/lib/libnvpair/Makefile.com
+++ b/usr/src/lib/libnvpair/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,13 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libnvpair/Makefile.com
-#
LIBRARY= libnvpair.a
VERS= .1
@@ -44,10 +41,6 @@ SRCS= ../libnvpair.c \
$(SRC)/common/nvpair/nvpair_alloc_fixed.c \
$(SRC)/common/nvpair/nvpair.c
-SRCDIR= ..
-MAPDIR= ../spec/$(TRANSMACH)
-SPECMAPFILE= $(MAPDIR)/mapfile
-
#
# Libraries added to the next line must be present in miniroot
#
diff --git a/usr/src/lib/libnvpair/mapfile-vers b/usr/src/lib/libnvpair/mapfile-vers
new file mode 100644
index 0000000000..b99b23fc01
--- /dev/null
+++ b/usr/src/lib/libnvpair/mapfile-vers
@@ -0,0 +1,146 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNW_1.2 {
+ global:
+ nv_alloc_fini;
+ nv_alloc_init;
+ nv_alloc_nosleep;
+ nv_alloc_reset;
+ nv_fixed_ops;
+ nvlist_add_boolean_array;
+ nvlist_add_boolean_value;
+ nvlist_add_int8;
+ nvlist_add_int8_array;
+ nvlist_add_nvpair;
+ nvlist_add_uint8;
+ nvlist_add_uint8_array;
+ nvlist_lookup_boolean_array;
+ nvlist_lookup_boolean_value;
+ nvlist_lookup_int8;
+ nvlist_lookup_int8_array;
+ nvlist_lookup_nv_alloc;
+ nvlist_lookup_pairs;
+ nvlist_lookup_uint8;
+ nvlist_lookup_uint8_array;
+ nvlist_merge;
+ nvlist_remove;
+ nvlist_remove_all;
+ nvlist_xalloc;
+ nvlist_xdup;
+ nvlist_xpack;
+ nvlist_xunpack;
+ nvpair_value_boolean_array;
+ nvpair_value_boolean_value;
+ nvpair_value_int8;
+ nvpair_value_int8_array;
+ nvpair_value_uint8;
+ nvpair_value_uint8_array;
+} SUNW_1.1.1;
+
+SUNW_1.1.1 {
+ global:
+ nvlist_add_nvlist;
+ nvlist_add_nvlist_array;
+ nvlist_lookup_nvlist;
+ nvlist_lookup_nvlist_array;
+ nvpair_value_nvlist;
+ nvpair_value_nvlist_array;
+} SUNW_1.1;
+
+SUNW_1.1 {
+ global:
+ nvlist_add_boolean;
+ nvlist_add_byte;
+ nvlist_add_byte_array;
+ nvlist_add_int16;
+ nvlist_add_int16_array;
+ nvlist_add_int32;
+ nvlist_add_int32_array;
+ nvlist_add_int64;
+ nvlist_add_int64_array;
+ nvlist_add_string;
+ nvlist_add_string_array;
+ nvlist_add_uint16;
+ nvlist_add_uint16_array;
+ nvlist_add_uint32;
+ nvlist_add_uint32_array;
+ nvlist_add_uint64;
+ nvlist_add_uint64_array;
+ nvlist_alloc;
+ nvlist_dup;
+ nvlist_free;
+ nvlist_lookup_boolean;
+ nvlist_lookup_byte;
+ nvlist_lookup_byte_array;
+ nvlist_lookup_int16;
+ nvlist_lookup_int16_array;
+ nvlist_lookup_int32;
+ nvlist_lookup_int32_array;
+ nvlist_lookup_int64;
+ nvlist_lookup_int64_array;
+ nvlist_lookup_string;
+ nvlist_lookup_string_array;
+ nvlist_lookup_uint16;
+ nvlist_lookup_uint16_array;
+ nvlist_lookup_uint32;
+ nvlist_lookup_uint32_array;
+ nvlist_lookup_uint64;
+ nvlist_lookup_uint64_array;
+ nvlist_next_nvpair;
+ nvlist_pack;
+ nvlist_size;
+ nvlist_unpack;
+ nvpair_name;
+ nvpair_type;
+ nvpair_value_byte;
+ nvpair_value_byte_array;
+ nvpair_value_int16;
+ nvpair_value_int16_array;
+ nvpair_value_int32;
+ nvpair_value_int32_array;
+ nvpair_value_int64;
+ nvpair_value_int64_array;
+ nvpair_value_string;
+ nvpair_value_string_array;
+ nvpair_value_uint16;
+ nvpair_value_uint16_array;
+ nvpair_value_uint32;
+ nvpair_value_uint32_array;
+ nvpair_value_uint64;
+ nvpair_value_uint64_array;
+};
+
+SUNWprivate_1.1 {
+ global:
+ nvlist_add_hrtime;
+ nvlist_lookup_hrtime;
+ nvlist_print;
+ nvpair_value_hrtime;
+ local:
+ *;
+};
diff --git a/usr/src/lib/libnvpair/spec/Makefile b/usr/src/lib/libnvpair/spec/Makefile
deleted file mode 100644
index 5c6b2f57b7..0000000000
--- a/usr/src/lib/libnvpair/spec/Makefile
+++ /dev/null
@@ -1,30 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 2000 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libnvpair/spec/Makefile
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/libnvpair/spec/Makefile.targ b/usr/src/lib/libnvpair/spec/Makefile.targ
deleted file mode 100644
index e10236057a..0000000000
--- a/usr/src/lib/libnvpair/spec/Makefile.targ
+++ /dev/null
@@ -1,35 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 2000 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libnvpair/spec/Makefile.targ
-
-LIBRARY = libnvpair.a
-VERS = .1
-
-OBJECTS = nvpair.o
-
-SPECCPP = -I../..
diff --git a/usr/src/lib/libnvpair/spec/amd64/Makefile b/usr/src/lib/libnvpair/spec/amd64/Makefile
deleted file mode 100644
index 2a38c1cba9..0000000000
--- a/usr/src/lib/libnvpair/spec/amd64/Makefile
+++ /dev/null
@@ -1,42 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#amd64_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libnvpair/spec/i386/Makefile b/usr/src/lib/libnvpair/spec/i386/Makefile
deleted file mode 100644
index b841b87a38..0000000000
--- a/usr/src/lib/libnvpair/spec/i386/Makefile
+++ /dev/null
@@ -1,42 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 2000 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libnvpair/spec/i386/Makefile
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#i386_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libnvpair/spec/nvpair.spec b/usr/src/lib/libnvpair/spec/nvpair.spec
deleted file mode 100644
index 91a63b7283..0000000000
--- a/usr/src/lib/libnvpair/spec/nvpair.spec
+++ /dev/null
@@ -1,703 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libnvpair/spec/nvpair.spec
-
-function nvlist_alloc
-include <libnvpair.h>
-declaration int nvlist_alloc(nvlist_t **nvlp, uint_t nvflag, int kmflag)
-version SUNW_1.1
-end
-
-function nvlist_free
-include <libnvpair.h>
-declaration void nvlist_free(nvlist_t *nvl)
-version SUNW_1.1
-end
-
-function nvlist_size
-include <libnvpair.h>
-declaration int nvlist_size(nvlist_t *nvl, size_t *size, int encoding)
-version SUNW_1.1
-end
-
-function nvlist_pack
-include <libnvpair.h>
-declaration int nvlist_pack(nvlist_t *nvl, char **bufp, size_t *buflen, \
- int encoding, int kmflag)
-version SUNW_1.1
-end
-
-function nvlist_unpack
-include <libnvpair.h>
-declaration int nvlist_unpack(char *buf, size_t buflen, nvlist_t **nvlp, \
- int kmflag)
-version SUNW_1.1
-end
-
-function nvlist_dup
-include <libnvpair.h>
-declaration int nvlist_dup(nvlist_t *nvl, nvlist_t **nvlp, int kmflag)
-version SUNW_1.1
-end
-
-function nvlist_remove
-include <libnvpair.h>
-declaration int nvlist_remove(nvlist_t *nvl, const char *name, \
- data_type_t type)
-version SUNW_1.2
-end
-
-function nvlist_remove_all
-include <libnvpair.h>
-declaration int nvlist_remove_all(nvlist_t *nvl, const char *name)
-version SUNW_1.2
-end
-
-function nv_alloc_init
-include <libnvpair.h>
-declaration int nv_alloc_init(nv_alloc_t *nva, const nv_alloc_ops_t *nvo, \
- /* args */ ...)
-version SUNW_1.2
-end
-
-function nv_alloc_reset
-include <libnvpair.h>
-declaration void nv_alloc_reset(nv_alloc_t *nva)
-version SUNW_1.2
-end
-
-function nv_alloc_fini
-include <libnvpair.h>
-declaration void nv_alloc_fini(nv_alloc_t *nva)
-version SUNW_1.2
-end
-
-function nvlist_xalloc
-include <libnvpair.h>
-declaration int nvlist_xalloc(nvlist_t **nvlp, uint_t nvflag, \
- nv_alloc_t *nva)
-version SUNW_1.2
-end
-
-function nvlist_xpack
-include <libnvpair.h>
-declaration int nvlist_xpack(nvlist_t *nvl, char **bufp, size_t *buflen, \
- int encoding, nv_alloc_t *nva)
-version SUNW_1.2
-end
-
-function nvlist_xunpack
-include <libnvpair.h>
-declaration int nvlist_xunpack(char *buf, size_t buflen, \
- nvlist_t **nvlp, nv_alloc_t *nva)
-version SUNW_1.2
-end
-
-function nvlist_xdup
-include <libnvpair.h>
-declaration int nvlist_xdup(nvlist_t *nvl, nvlist_t **nvlp, \
- nv_alloc_t *nva)
-version SUNW_1.2
-end
-
-function nvlist_lookup_nv_alloc
-include <libnvpair.h>
-declaration nv_alloc_t *nvlist_lookup_nv_alloc(nvlist_t *nvl)
-version SUNW_1.2
-end
-
-function nvlist_add_boolean
-include <libnvpair.h>
-declaration int nvlist_add_boolean(nvlist_t *nvl, const char *name)
-version SUNW_1.1
-end
-
-function nvlist_add_boolean_value
-include <libnvpair.h>
-declaration int nvlist_add_boolean_value(nvlist_t *nvl, const char *name, \
- boolean_t val)
-version SUNW_1.2
-end
-
-function nvlist_add_byte
-include <libnvpair.h>
-declaration int nvlist_add_byte(nvlist_t *nvl, const char *name, \
- uchar_t val)
-version SUNW_1.1
-end
-
-function nvlist_add_int8
-include <libnvpair.h>
-declaration int nvlist_add_int8(nvlist_t *nvl, const char *name, int8_t val)
-version SUNW_1.2
-end
-
-function nvlist_add_uint8
-include <libnvpair.h>
-declaration int nvlist_add_uint8(nvlist_t *nvl, const char *name, \
- uint8_t val)
-version SUNW_1.2
-end
-
-function nvlist_add_int16
-include <libnvpair.h>
-declaration int nvlist_add_int16(nvlist_t *nvl, const char *name, \
- int16_t val)
-version SUNW_1.1
-end
-
-function nvlist_add_uint16
-include <libnvpair.h>
-declaration int nvlist_add_uint16(nvlist_t *nvl, const char *name, \
- uint16_t val)
-version SUNW_1.1
-end
-
-function nvlist_add_int32
-include <libnvpair.h>
-declaration int nvlist_add_int32(nvlist_t *nvl, const char *name, \
- int32_t val)
-version SUNW_1.1
-end
-
-function nvlist_add_uint32
-include <libnvpair.h>
-declaration int nvlist_add_uint32(nvlist_t *nvl, const char *name, \
- uint32_t val)
-version SUNW_1.1
-end
-
-function nvlist_add_int64
-include <libnvpair.h>
-declaration int nvlist_add_int64(nvlist_t *nvl, const char *name, \
- int64_t val)
-version SUNW_1.1
-end
-
-function nvlist_add_uint64
-include <libnvpair.h>
-declaration int nvlist_add_uint64(nvlist_t *nvl, const char *name, \
- uint64_t val)
-version SUNW_1.1
-end
-
-function nvlist_add_string
-include <libnvpair.h>
-declaration int nvlist_add_string(nvlist_t *nvl, const char *name, \
- const char *val)
-version SUNW_1.1
-end
-
-function nvlist_add_nvlist
-include <libnvpair.h>
-declaration int nvlist_add_nvlist(nvlist_t *nvl, const char *name, \
- nvlist_t *val)
-version SUNW_1.1.1
-end
-
-function nvlist_add_boolean_array
-include <libnvpair.h>
-declaration int nvlist_add_boolean_array(nvlist_t *nvl, const char *name, \
- boolean_t *val, uint_t nelem)
-version SUNW_1.2
-end
-function nvlist_add_byte_array
-include <libnvpair.h>
-declaration int nvlist_add_byte_array(nvlist_t *nvl, const char *name, \
- uchar_t *val, uint_t nelem)
-version SUNW_1.1
-end
-
-function nvlist_add_int8_array
-include <libnvpair.h>
-declaration int nvlist_add_int8_array(nvlist_t *nvl, const char *name, \
- int8_t *val, uint_t nelem)
-version SUNW_1.2
-end
-
-function nvlist_add_uint8_array
-include <libnvpair.h>
-declaration int nvlist_add_uint8_array(nvlist_t *nvl, const char *name, \
- uint8_t *val, uint_t nelem)
-version SUNW_1.2
-end
-
-function nvlist_add_int16_array
-include <libnvpair.h>
-declaration int nvlist_add_int16_array(nvlist_t *nvl, const char *name, \
- int16_t *val, uint_t nelem)
-version SUNW_1.1
-end
-
-function nvlist_add_uint16_array
-include <libnvpair.h>
-declaration int nvlist_add_uint16_array(nvlist_t *nvl, const char *name, \
- uint16_t *val, uint_t nelem)
-version SUNW_1.1
-end
-
-function nvlist_add_int32_array
-include <libnvpair.h>
-declaration int nvlist_add_int32_array(nvlist_t *nvl, const char *name, \
- int32_t *val, uint_t nelem)
-version SUNW_1.1
-end
-
-function nvlist_add_uint32_array
-include <libnvpair.h>
-declaration int nvlist_add_uint32_array(nvlist_t *nvl, const char *name, \
- uint32_t *val, uint_t nelem)
-version SUNW_1.1
-end
-
-function nvlist_add_int64_array
-include <libnvpair.h>
-declaration int nvlist_add_int64_array(nvlist_t *nvl, const char *name, \
- int64_t *val, uint_t nelem)
-version SUNW_1.1
-end
-
-function nvlist_add_uint64_array
-include <libnvpair.h>
-declaration int nvlist_add_uint64_array(nvlist_t *nvl, const char *name, \
- uint64_t *val, uint_t nelem)
-version SUNW_1.1
-end
-
-function nvlist_add_string_array
-include <libnvpair.h>
-declaration int nvlist_add_string_array(nvlist_t *nvl, const char *name, \
- char *const *val, uint_t nelem)
-version SUNW_1.1
-end
-
-function nvlist_add_nvlist_array
-include <libnvpair.h>
-declaration int nvlist_add_nvlist_array(nvlist_t *nvl, const char *name, \
- nvlist_t **val, uint_t nelem)
-version SUNW_1.1.1
-end
-
-function nvlist_add_hrtime
-include <libnvpair.h>
-declaration int nvlist_add_hrtime(nvlist_t *nvl, const char *name, \
- hrtime_t val)
-version SUNWprivate_1.1
-end
-
-function nvlist_lookup_boolean
-include <libnvpair.h>
-declaration int nvlist_lookup_boolean(nvlist_t *nvl, const char *name)
-version SUNW_1.1
-end
-
-function nvlist_lookup_boolean_value
-include <libnvpair.h>
-declaration int nvlist_lookup_boolean_value(nvlist_t *nvl, \
- const char *name, boolean_t *val)
-version SUNW_1.2
-end
-
-function nvlist_lookup_byte
-include <libnvpair.h>
-declaration int nvlist_lookup_byte(nvlist_t *nvl, const char *name, \
- uchar_t *val)
-version SUNW_1.1
-end
-
-function nvlist_lookup_int8
-include <libnvpair.h>
-declaration int nvlist_lookup_int8(nvlist_t *nvl, const char *name, \
- int8_t *val)
-version SUNW_1.2
-end
-
-function nvlist_lookup_uint8
-include <libnvpair.h>
-declaration int nvlist_lookup_uint8(nvlist_t *nvl, const char *name, \
- uint8_t *val)
-version SUNW_1.2
-end
-
-function nvlist_lookup_int16
-include <libnvpair.h>
-declaration int nvlist_lookup_int16(nvlist_t *nvl, const char *name, \
- int16_t *val)
-version SUNW_1.1
-end
-
-function nvlist_lookup_uint16
-include <libnvpair.h>
-declaration int nvlist_lookup_uint16(nvlist_t *nvl, const char *name, \
- uint16_t *val)
-version SUNW_1.1
-end
-
-function nvlist_lookup_int32
-include <libnvpair.h>
-declaration int nvlist_lookup_int32(nvlist_t *nvl, const char *name, \
- int32_t *val)
-version SUNW_1.1
-end
-
-function nvlist_lookup_uint32
-include <libnvpair.h>
-declaration int nvlist_lookup_uint32(nvlist_t *nvl, const char *name, \
- uint32_t *val)
-version SUNW_1.1
-end
-
-function nvlist_lookup_int64
-include <libnvpair.h>
-declaration int nvlist_lookup_int64(nvlist_t *nvl, const char *name, \
- int64_t *val)
-version SUNW_1.1
-end
-
-function nvlist_lookup_uint64
-include <libnvpair.h>
-declaration int nvlist_lookup_uint64(nvlist_t *nvl, const char *name, \
- uint64_t *val)
-version SUNW_1.1
-end
-
-function nvlist_lookup_string
-include <libnvpair.h>
-declaration int nvlist_lookup_string(nvlist_t *nvl, const char *name, \
- char **val)
-version SUNW_1.1
-end
-
-function nvlist_lookup_nvlist
-include <libnvpair.h>
-declaration int nvlist_lookup_nvlist(nvlist_t *nvl, const char *name, \
- nvlist_t **val)
-version SUNW_1.1.1
-end
-
-function nvlist_lookup_boolean_array
-include <libnvpair.h>
-declaration int nvlist_lookup_boolean_array(nvlist_t *nvl, \
- const char *name, boolean_t **val, uint_t *nelem)
-version SUNW_1.2
-end
-
-function nvlist_lookup_byte_array
-include <libnvpair.h>
-declaration int nvlist_lookup_byte_array(nvlist_t *nvl, const char *name, \
- uchar_t **val, uint_t *nelem)
-version SUNW_1.1
-end
-
-function nvlist_lookup_int8_array
-include <libnvpair.h>
-declaration int nvlist_lookup_int8_array(nvlist_t *nvl, const char *name, \
- int8_t **val, uint_t *nelem)
-version SUNW_1.2
-end
-
-function nvlist_lookup_uint8_array
-include <libnvpair.h>
-declaration int nvlist_lookup_uint8_array(nvlist_t *nvl, const char *name, \
- uint8_t **val, uint_t *nelem)
-version SUNW_1.2
-end
-
-function nvlist_lookup_int16_array
-include <libnvpair.h>
-declaration int nvlist_lookup_int16_array(nvlist_t *nvl, const char *name, \
- int16_t **val, uint_t *nelem)
-version SUNW_1.1
-end
-
-function nvlist_lookup_uint16_array
-include <libnvpair.h>
-declaration int nvlist_lookup_uint16_array(nvlist_t *nvl, \
- const char *name, uint16_t **val, uint_t *nelem)
-version SUNW_1.1
-end
-
-function nvlist_lookup_int32_array
-include <libnvpair.h>
-declaration int nvlist_lookup_int32_array(nvlist_t *nvl, const char *name, \
- int32_t **val, uint_t *nelem)
-version SUNW_1.1
-end
-
-function nvlist_lookup_uint32_array
-include <libnvpair.h>
-declaration int nvlist_lookup_uint32_array(nvlist_t *nvl, \
- const char *name, uint32_t **val, uint_t *nelem)
-version SUNW_1.1
-end
-
-function nvlist_lookup_int64_array
-include <libnvpair.h>
-declaration int nvlist_lookup_int64_array(nvlist_t *nvl, const char *name, \
- int64_t **val, uint_t *nelem)
-version SUNW_1.1
-end
-
-function nvlist_lookup_uint64_array
-include <libnvpair.h>
-declaration int nvlist_lookup_uint64_array(nvlist_t *nvl, \
- const char *name, uint64_t **val, uint_t *nelem)
-version SUNW_1.1
-end
-
-function nvlist_lookup_string_array
-include <libnvpair.h>
-declaration int nvlist_lookup_string_array(nvlist_t *nvl, \
- const char *name, char ***val, uint_t *nelem)
-version SUNW_1.1
-end
-
-function nvlist_lookup_nvlist_array
-include <libnvpair.h>
-declaration int nvlist_lookup_nvlist_array(nvlist_t *nvl, \
- const char *name, nvlist_t ***val, uint_t *nelem)
-version SUNW_1.1.1
-end
-
-function nvlist_lookup_hrtime
-include <libnvpair.h>
-declaration int nvlist_lookup_hrtime(nvlist_t *nvl, const char *name, \
- hrtime_t *val)
-version SUNWprivate_1.1
-end
-
-function nvlist_lookup_pairs
-include <libnvpair.h>
-declaration int nvlist_lookup_pairs(nvlist_t *nvl, int flag, ...)
-version SUNW_1.2
-end
-
-function nvlist_next_nvpair
-include <libnvpair.h>
-declaration nvpair_t *nvlist_next_nvpair(nvlist_t *nvl, nvpair_t *nvpair)
-version SUNW_1.1
-end
-
-function nvpair_name
-include <libnvpair.h>
-declaration char *nvpair_name(nvpair_t *nvp)
-version SUNW_1.1
-end
-
-function nvpair_type
-include <libnvpair.h>
-declaration data_type_t nvpair_type(nvpair_t *nvpair)
-version SUNW_1.1
-end
-
-function nvpair_value_boolean_value
-include <libnvpair.h>
-declaration int nvpair_value_boolean_value(nvpair_t *nvpair, boolean_t *val)
-version SUNW_1.2
-end
-
-function nvpair_value_byte
-include <libnvpair.h>
-declaration int nvpair_value_byte(nvpair_t *nvpair, uchar_t *val)
-version SUNW_1.1
-end
-
-function nvpair_value_int8
-include <libnvpair.h>
-declaration int nvpair_value_int8(nvpair_t *nvpair, int8_t *val)
-version SUNW_1.2
-end
-
-function nvpair_value_uint8
-include <libnvpair.h>
-declaration int nvpair_value_uint8(nvpair_t *nvpair, uint8_t *val)
-version SUNW_1.2
-end
-
-function nvpair_value_int16
-include <libnvpair.h>
-declaration int nvpair_value_int16(nvpair_t *nvpair, int16_t *val)
-version SUNW_1.1
-end
-
-function nvpair_value_uint16
-include <libnvpair.h>
-declaration int nvpair_value_uint16(nvpair_t *nvpair, uint16_t *val)
-version SUNW_1.1
-end
-
-function nvpair_value_int32
-include <libnvpair.h>
-declaration int nvpair_value_int32(nvpair_t *nvpair, int32_t *val)
-version SUNW_1.1
-end
-
-function nvpair_value_uint32
-include <libnvpair.h>
-declaration int nvpair_value_uint32(nvpair_t *nvpair, uint32_t *val)
-version SUNW_1.1
-end
-
-function nvpair_value_int64
-include <libnvpair.h>
-declaration int nvpair_value_int64(nvpair_t *nvpair, int64_t *val)
-version SUNW_1.1
-end
-
-function nvpair_value_uint64
-include <libnvpair.h>
-declaration int nvpair_value_uint64(nvpair_t *nvpair, uint64_t *val)
-version SUNW_1.1
-end
-
-function nvpair_value_string
-include <libnvpair.h>
-declaration int nvpair_value_string(nvpair_t *nvpair, char **val)
-version SUNW_1.1
-end
-
-function nvpair_value_nvlist
-include <libnvpair.h>
-declaration int nvpair_value_nvlist(nvpair_t *nvpair, nvlist_t **val)
-version SUNW_1.1.1
-end
-
-function nvpair_value_boolean_array
-include <libnvpair.h>
-declaration int nvpair_value_boolean_array(nvpair_t *nvpair, \
- boolean_t **val, uint_t *nelem)
-version SUNW_1.2
-end
-
-function nvpair_value_byte_array
-include <libnvpair.h>
-declaration int nvpair_value_byte_array(nvpair_t *nvpair, \
- uchar_t **val, uint_t *nelem)
-version SUNW_1.1
-end
-
-function nvpair_value_int8_array
-include <libnvpair.h>
-declaration int nvpair_value_int8_array(nvpair_t *nvpair, \
- int8_t **val, uint_t *nelem)
-version SUNW_1.2
-end
-
-function nvpair_value_uint8_array
-include <libnvpair.h>
-declaration int nvpair_value_uint8_array(nvpair_t *nvpair, \
- uint8_t **val, uint_t *nelem)
-version SUNW_1.2
-end
-
-function nvpair_value_int16_array
-include <libnvpair.h>
-declaration int nvpair_value_int16_array(nvpair_t *nvpair, \
- int16_t **val, uint_t *nelem)
-version SUNW_1.1
-end
-
-function nvpair_value_uint16_array
-include <libnvpair.h>
-declaration int nvpair_value_uint16_array(nvpair_t *nvpair, \
- uint16_t **val, uint_t *nelem)
-version SUNW_1.1
-end
-
-function nvpair_value_int32_array
-include <libnvpair.h>
-declaration int nvpair_value_int32_array(nvpair_t *nvpair, \
- int32_t **val, uint_t *nelem)
-version SUNW_1.1
-end
-
-function nvpair_value_uint32_array
-include <libnvpair.h>
-declaration int nvpair_value_uint32_array(nvpair_t *nvpair, \
- uint32_t **val, uint_t *nelem)
-version SUNW_1.1
-end
-
-function nvpair_value_int64_array
-include <libnvpair.h>
-declaration int nvpair_value_int64_array(nvpair_t *nvpair, \
- int64_t **val, uint_t *nelem)
-version SUNW_1.1
-end
-
-function nvpair_value_uint64_array
-include <libnvpair.h>
-declaration int nvpair_value_uint64_array(nvpair_t *nvpair, \
- uint64_t **val, uint_t *nelem)
-version SUNW_1.1
-end
-
-function nvpair_value_string_array
-include <libnvpair.h>
-declaration int nvpair_value_string_array(nvpair_t *nvpair, \
- char ***val, uint_t *nelem)
-version SUNW_1.1
-end
-
-function nvpair_value_nvlist_array
-include <libnvpair.h>
-declaration int nvpair_value_nvlist_array(nvpair_t *nvpair, \
- nvlist_t ***val, uint_t *nelem)
-version SUNW_1.1.1
-end
-
-function nvlist_merge
-include <libnvpair.h>
-declaration int nvlist_merge(nvlist_t *dst, nvlist_t *nvl, int flag)
-version SUNW_1.2
-end
-
-function nvlist_add_nvpair
-include <libnvpair.h>
-declaration int nvlist_add_nvpair(nvlist_t *nvlist, nvpair_t *nvpair)
-version SUNW_1.2
-end
-
-function nvpair_value_hrtime
-include <libnvpair.h>
-declaration int nvpair_value_hrtime(nvpair_t *nvpair, hrtime_t *val)
-version SUNWprivate_1.1
-end
-
-function nvlist_print
-include <libnvpair.h>
-declaration void nvlist_print(FILE *fp, nvlist_t *nvl)
-version SUNWprivate_1.1
-end
-
-data nv_alloc_nosleep
-version SUNW_1.2
-end
-
-data nv_fixed_ops
-version SUNW_1.2
-end
diff --git a/usr/src/lib/libnvpair/spec/sparc/Makefile b/usr/src/lib/libnvpair/spec/sparc/Makefile
deleted file mode 100644
index 449e83e1ee..0000000000
--- a/usr/src/lib/libnvpair/spec/sparc/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 2000 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libnvpair/spec/sparc/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#sparc_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libnvpair/spec/sparcv9/Makefile b/usr/src/lib/libnvpair/spec/sparcv9/Makefile
deleted file mode 100644
index c2d56769e8..0000000000
--- a/usr/src/lib/libnvpair/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,43 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 2000 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libnvpair/spec/sparcv9/Makefile
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#sparcv9_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libnvpair/spec/versions b/usr/src/lib/libnvpair/spec/versions
deleted file mode 100644
index 956b4e7a99..0000000000
--- a/usr/src/lib/libnvpair/spec/versions
+++ /dev/null
@@ -1,54 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-sparc {
- SUNW_1.2: {SUNW_1.1.1};
- SUNW_1.1.1: {SUNW_1.1};
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-
-sparcv9 {
- SUNW_1.2: {SUNW_1.1.1};
- SUNW_1.1.1: {SUNW_1.1};
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-
-i386 {
- SUNW_1.2: {SUNW_1.1.1};
- SUNW_1.1.1: {SUNW_1.1};
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-
-amd64 {
- SUNW_1.2: {SUNW_1.1.1};
- SUNW_1.1.1: {SUNW_1.1};
- SUNW_1.1;
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/libpam/Makefile b/usr/src/lib/libpam/Makefile
index 0800e80a88..d91d435700 100644
--- a/usr/src/lib/libpam/Makefile
+++ b/usr/src/lib/libpam/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,12 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# usr/src/lib/libpam/Makefile
-#
# ident "%Z%%M% %I% %E% SMI"
+#
include ../Makefile.lib
@@ -54,7 +52,7 @@ lint := TARGET= lint
.KEEP_STATE:
-all clean clobber install: spec .WAIT $(SUBDIRS)
+all clean clobber install lint: $(SUBDIRS)
install_h: $(ROOTHDRS)
@@ -62,8 +60,6 @@ install: $(IETCFILES)
check: $(CHECKHDRS)
-lint: $(SUBDIRS)
-
$(POFILE): $(MSGFILES)
$(BUILDPO.msgfiles)
@@ -71,7 +67,7 @@ _msg: $(MSGDOMAINPOFILE)
include $(SRC)/Makefile.msg.targ
-$(SUBDIRS) spec: FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
$(ROOTETC)/%: %
diff --git a/usr/src/lib/libpam/Makefile.com b/usr/src/lib/libpam/Makefile.com
index 1bedffb88c..21f842c941 100644
--- a/usr/src/lib/libpam/Makefile.com
+++ b/usr/src/lib/libpam/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,13 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# usr/src/lib/libpam/Makefile.com
-#
LIBRARY= libpam.a
VERS= .1
@@ -36,13 +33,9 @@ include ../../Makefile.lib
include ../../Makefile.rootfs
LIBS= $(DYNLIB) $(LINTLIB)
-SRCDIR= ..
$(LINTLIB) := SRCS= $(SRCDIR)/$(LINTSRC)
LDLIBS += -lcmd -lc
-MAPDIR= ../spec/$(TRANSMACH)
-SPECMAPFILE= $(MAPDIR)/mapfile
-
CFLAGS += $(CCVERBOSE)
CPPFLAGS += -I $(SRCDIR)
diff --git a/usr/src/lib/libpam/mapfile-vers b/usr/src/lib/libpam/mapfile-vers
new file mode 100644
index 0000000000..6972c29ed1
--- /dev/null
+++ b/usr/src/lib/libpam/mapfile-vers
@@ -0,0 +1,65 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+# Due to mistakes made early in the history of this library, there are
+# no SUNW_1.2 symbols, but the version is now kept as a placeholder.
+# Don't add any symbols to this version.
+
+SUNW_1.2 {
+ global:
+ SUNW_1.2;
+} SUNW_1.1;
+
+SUNW_1.1 {
+ global:
+ pam_acct_mgmt;
+ pam_authenticate;
+ pam_chauthtok;
+ pam_close_session;
+ pam_end;
+ pam_get_data;
+ pam_getenv;
+ pam_getenvlist;
+ pam_get_item;
+ pam_get_user;
+ pam_open_session;
+ pam_putenv;
+ pam_setcred;
+ pam_set_data;
+ pam_set_item;
+ pam_start;
+ pam_strerror;
+};
+
+SUNWprivate_1.1 {
+ global:
+ __pam_display_msg;
+ __pam_get_authtok;
+ __pam_log;
+ local:
+ *;
+};
diff --git a/usr/src/lib/libpam/spec/Makefile b/usr/src/lib/libpam/spec/Makefile
deleted file mode 100644
index 4b45cfd46f..0000000000
--- a/usr/src/lib/libpam/spec/Makefile
+++ /dev/null
@@ -1,29 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1998-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libpam/spec/Makefile
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/libpam/spec/Makefile.targ b/usr/src/lib/libpam/spec/Makefile.targ
deleted file mode 100644
index b73c33f4f5..0000000000
--- a/usr/src/lib/libpam/spec/Makefile.targ
+++ /dev/null
@@ -1,33 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1998-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libpam/spec/Makefile.targ
-
-LIBRARY = libpam.a
-VERS = .1
-
-OBJECTS = pam.o
-
diff --git a/usr/src/lib/libpam/spec/amd64/Makefile b/usr/src/lib/libpam/spec/amd64/Makefile
deleted file mode 100644
index a7f7707a18..0000000000
--- a/usr/src/lib/libpam/spec/amd64/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#ams64_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libpam/spec/i386/Makefile b/usr/src/lib/libpam/spec/i386/Makefile
deleted file mode 100644
index e62c057a5b..0000000000
--- a/usr/src/lib/libpam/spec/i386/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1998-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libpam/spec/i386/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#i386_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libpam/spec/pam.spec b/usr/src/lib/libpam/spec/pam.spec
deleted file mode 100644
index 52c8e8fec1..0000000000
--- a/usr/src/lib/libpam/spec/pam.spec
+++ /dev/null
@@ -1,266 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libpam/spec/pam.spec
-
-function pam_acct_mgmt
-include <security/pam_appl.h>
-declaration int pam_acct_mgmt(pam_handle_t *pamh, int flags)
-version SUNW_1.1
-exception ($return == PAM_USER_UNKNOWN || \
- $return == PAM_AUTH_ERR || \
- $return == PAM_NEW_AUTHTOK_REQD || \
- $return == PAM_ACCT_EXPIRED || \
- $return == PAM_OPEN_ERR || \
- $return == PAM_SYMBOL_ERR || \
- $return == PAM_SERVICE_ERR || \
- $return == PAM_SYSTEM_ERR || \
- $return == PAM_BUF_ERR || \
- $return == PAM_CONV_ERR || \
- $return == PAM_PERM_DENIED)
-end
-
-function pam_authenticate
-include <security/pam_appl.h>
-declaration int pam_authenticate(pam_handle_t *pamh, int flags)
-version SUNW_1.1
-exception ($return == PAM_OPEN_ERR || \
- $return == PAM_SYMBOL_ERR || \
- $return == PAM_SERVICE_ERR || \
- $return == PAM_SYSTEM_ERR || \
- $return == PAM_BUF_ERR || \
- $return == PAM_CONV_ERR || \
- $return == PAM_PERM_DENIED || \
- $return == PAM_AUTH_ERR || \
- $return == PAM_CRED_INSUFFICIENT || \
- $return == PAM_AUTHINFO_UNAVAIL || \
- $return == PAM_USER_UNKNOWN || \
- $return == PAM_MAXTRIES)
-end
-
-function pam_chauthtok
-include <security/pam_appl.h>
-declaration int pam_chauthtok(pam_handle_t *pamh, const int flags)
-version SUNW_1.1
-exception ($return == PAM_PERM_DENIED || \
- $return == PAM_AUTHTOK_ERR || \
- $return == PAM_AUTHTOK_RECOVERY_ERR || \
- $return == PAM_AUTHTOK_LOCK_BUSY || \
- $return == PAM_AUTHTOK_DISABLE_AGING || \
- $return == PAM_USER_UNKNOWN || \
- $return == PAM_TRY_AGAIN || \
- $return == PAM_OPEN_ERR || \
- $return == PAM_SYMBOL_ERR || \
- $return == PAM_SERVICE_ERR || \
- $return == PAM_SYSTEM_ERR || \
- $return == PAM_BUF_ERR || \
- $return == PAM_CONV_ERR || \
- $return == PAM_PERM_DENIED)
-end
-
-function pam_get_user
-include <security/pam_appl.h>
-declaration int pam_get_user(pam_handle_t *pamh, char **user, \
- const char *prompt)
-version SUNW_1.1
-exception ($return == PAM_SUCCESS || \
- $return == PAM_OPEN_ERR || \
- $return == PAM_SYMBOL_ERR || \
- $return == PAM_SERVICE_ERR || \
- $return == PAM_SYSTEM_ERR || \
- $return == PAM_BUF_ERR || \
- $return == PAM_CONV_ERR || \
- $return == PAM_PERM_DENIED)
-end
-
-function pam_open_session
-include <security/pam_appl.h>
-declaration int pam_open_session(pam_handle_t *pamh, int flags)
-version SUNW_1.1
-exception ($return == PAM_SESSION_ERR || \
- $return == PAM_SUCCESS || \
- $return == PAM_OPEN_ERR || \
- $return == PAM_SYMBOL_ERR || \
- $return == PAM_SERVICE_ERR || \
- $return == PAM_SYSTEM_ERR || \
- $return == PAM_BUF_ERR || \
- $return == PAM_CONV_ERR || \
- $return == PAM_PERM_DENIED)
-end
-
-function pam_close_session
-include <security/pam_appl.h>
-declaration int pam_close_session(pam_handle_t *pamh, int flags)
-version SUNW_1.1
-exception ($return == PAM_SESSION_ERR || \
- $return == PAM_SUCCESS || \
- $return == PAM_OPEN_ERR || \
- $return == PAM_SYMBOL_ERR || \
- $return == PAM_SERVICE_ERR || \
- $return == PAM_SYSTEM_ERR || \
- $return == PAM_BUF_ERR || \
- $return == PAM_CONV_ERR || \
- $return == PAM_PERM_DENIED)
-end
-
-function pam_set_data
-include <security/pam_appl.h>
-declaration int pam_set_data(pam_handle_t *pamh, \
- const char *module_data_name, const void *data, \
- void *cleanup)
-version SUNW_1.1
-exception ($return == PAM_NO_MODULE_DATA || \
- $return == PAM_SUCCESS || \
- $return == PAM_OPEN_ERR || \
- $return == PAM_SYMBOL_ERR || \
- $return == PAM_SERVICE_ERR || \
- $return == PAM_SYSTEM_ERR || \
- $return == PAM_BUF_ERR || \
- $return == PAM_CONV_ERR || \
- $return == PAM_PERM_DENIED)
-end
-
-function pam_get_data
-include <security/pam_appl.h>
-declaration int pam_get_data(const pam_handle_t *pamh, \
- const char *module_data_name, void **data)
-version SUNW_1.1
-exception ($return == PAM_NO_MODULE_DATA || \
- $return == PAM_SUCCESS || \
- $return == PAM_OPEN_ERR || \
- $return == PAM_SYMBOL_ERR || \
- $return == PAM_SERVICE_ERR || \
- $return == PAM_SYSTEM_ERR || \
- $return == PAM_BUF_ERR || \
- $return == PAM_CONV_ERR || \
- $return == PAM_PERM_DENIED)
-end
-
-function pam_set_item
-include <security/pam_appl.h>
-declaration int pam_set_item(pam_handle_t *pamh, int item_type, \
- const void *item)
-version SUNW_1.1
-exception ($return == PAM_SUCCESS || \
- $return == PAM_OPEN_ERR || \
- $return == PAM_SYMBOL_ERR || \
- $return == PAM_SERVICE_ERR || \
- $return == PAM_SYSTEM_ERR || \
- $return == PAM_BUF_ERR || \
- $return == PAM_CONV_ERR || \
- $return == PAM_PERM_DENIED)
-end
-
-function pam_get_item
-include <security/pam_appl.h>
-declaration int pam_get_item(const pam_handle_t *pamh, \
- int item_type, void **item)
-version SUNW_1.1
-exception ($return == PAM_SUCCESS || \
- $return == PAM_OPEN_ERR || \
- $return == PAM_SYMBOL_ERR || \
- $return == PAM_SERVICE_ERR || \
- $return == PAM_SYSTEM_ERR || \
- $return == PAM_BUF_ERR || \
- $return == PAM_CONV_ERR || \
- $return == PAM_PERM_DENIED)
-end
-
-function pam_setcred
-include <security/pam_appl.h>
-declaration int pam_setcred(pam_handle_t * pamh, int flags)
-version SUNW_1.1
-exception ($return == PAM_SUCCESS || \
- $return == PAM_OPEN_ERR || \
- $return == PAM_SYMBOL_ERR || \
- $return == PAM_SERVICE_ERR || \
- $return == PAM_SYSTEM_ERR || \
- $return == PAM_BUF_ERR || \
- $return == PAM_CONV_ERR || \
- $return == PAM_PERM_DENIED || \
- $return == PAM_CRED_UNAVAIL || \
- $return == PAM_CRED_EXPIRED || \
- $return == PAM_USER_UNKNOWN || \
- $return == PAM_CRED_ERR)
-end
-
-function pam_start
-include <security/pam_appl.h>
-declaration int pam_start(const char *service, const char *user, \
- const struct pam_conv *pam_conv, pam_handle_t **pamh)
-version SUNW_1.1
-exception ($return == PAM_OPEN_ERR || \
- $return == PAM_SYMBOL_ERR || \
- $return == PAM_SERVICE_ERR || \
- $return == PAM_SYSTEM_ERR || \
- $return == PAM_BUF_ERR || \
- $return == PAM_CONV_ERR || \
- $return == PAM_PERM_DENIED)
-end
-
-function pam_end
-include <security/pam_appl.h>
-declaration int pam_end(pam_handle_t *pamh, int status)
-version SUNW_1.1
-exception ($return == PAM_OPEN_ERR || \
- $return == PAM_SYMBOL_ERR || \
- $return == PAM_SERVICE_ERR || \
- $return == PAM_SYSTEM_ERR || \
- $return == PAM_BUF_ERR || \
- $return == PAM_CONV_ERR || \
- $return == PAM_PERM_DENIED)
-end
-
-function pam_strerror
-include <security/pam_appl.h>
-declaration const char *pam_strerror(pam_handle_t*pamh, int errnum)
-version SUNW_1.1
-exception ($return == 0)
-end
-
-function pam_getenv
-version SUNW_1.1
-end
-
-function pam_getenvlist
-version SUNW_1.1
-end
-
-function pam_putenv
-version SUNW_1.1
-end
-
-function __pam_display_msg
-version SUNWprivate_1.1
-end
-
-function __pam_get_authtok
-version SUNWprivate_1.1
-end
-
-function __pam_log
-version SUNWprivate_1.1
-end
diff --git a/usr/src/lib/libpam/spec/sparc/Makefile b/usr/src/lib/libpam/spec/sparc/Makefile
deleted file mode 100644
index 06d7dbe2eb..0000000000
--- a/usr/src/lib/libpam/spec/sparc/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1998-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libpam/spec/sparc/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#sparc_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libpam/spec/sparcv9/Makefile b/usr/src/lib/libpam/spec/sparcv9/Makefile
deleted file mode 100644
index abcd19e54e..0000000000
--- a/usr/src/lib/libpam/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,45 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1998-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libpam/spec/sparcv9/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#sparcv9_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libpam/spec/versions b/usr/src/lib/libpam/spec/versions
deleted file mode 100644
index e52e3b6279..0000000000
--- a/usr/src/lib/libpam/spec/versions
+++ /dev/null
@@ -1,52 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# Note: Even though the SUNW_1.2 version now contains no symbols
-# beyond what was present at Solaris 2.6, the SUNW_1.2 version MUST be
-# present. This is because applications built on 2.6 Beta
-# (when it did contain symbols explicitly) may depend on it.
-#
-
-sparc {
- SUNW_1.2: {SUNW_1.1};
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-sparcv9 {
- SUNW_1.2: {SUNW_1.1};
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-i386 {
- SUNW_1.2: {SUNW_1.1};
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-amd64 {
- SUNW_1.2: {SUNW_1.1};
- SUNW_1.1;
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/libpcp/Makefile.com b/usr/src/lib/libpcp/Makefile.com
index 15e9e70525..654f77cb8a 100644
--- a/usr/src/lib/libpcp/Makefile.com
+++ b/usr/src/lib/libpcp/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,13 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libpcp/Makefile.com
-#
LIBRARY= libpcp.a
VERS= .1
@@ -37,9 +34,7 @@ OBJECTS= $(PLATFORM_OBJECTS)
include $(SRC)/lib/Makefile.lib
include $(SRC)/Makefile.psm
-MAPFILE = ../common/mapfile-vers
-
-DYNFLAGS += -M $(MAPFILE)
+SRCDIR = ../common
CPPFLAGS += $(PLATINCS) -DPCP_CKSUM_ENABLE
@@ -52,7 +47,6 @@ LINKED_LIBPCP1_DIR = \
LINKED_LLIBLPCP_DIR = \
$(LINKED_PLATFORMS:%=$(USR_PLAT_DIR)/%/lib/llib-lpcp.ln)
-SRCDIR = ../common
LIBS = $(DYNLIB) $(LINTLIB)
CFLAGS += $(CCVERBOSE)
LDLIBS += -lc -lumem
@@ -70,6 +64,4 @@ all: $(LIBS)
lint: lintcheck
-$(DYNLIB): $(MAPFILE)
-
include $(SRC)/lib/Makefile.targ
diff --git a/usr/src/lib/libpctx/Makefile b/usr/src/lib/libpctx/Makefile
index f5286ba622..9c0caadfb2 100644
--- a/usr/src/lib/libpctx/Makefile
+++ b/usr/src/lib/libpctx/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,12 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libpctx/Makefile
include $(SRC)/lib/Makefile.lib
@@ -46,9 +44,7 @@ lint := TARGET= lint
.KEEP_STATE:
-all clean clobber install: spec .WAIT $(SUBDIRS)
-
-lint: $(SUBDIRS)
+all clean clobber install lint: $(SUBDIRS)
install_h: $(ROOTHDRS)
@@ -58,7 +54,7 @@ $(POFILE): pofile_MSGFILES
_msg: $(MSGDOMAINPOFILE)
-spec $(SUBDIRS): FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
diff --git a/usr/src/lib/libpctx/Makefile.com b/usr/src/lib/libpctx/Makefile.com
index cf2ff69274..c9d50e434c 100644
--- a/usr/src/lib/libpctx/Makefile.com
+++ b/usr/src/lib/libpctx/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,13 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libpctx/Makefile.com
-#
LIBRARY = libpctx.a
VERS = .1
@@ -41,8 +38,6 @@ $(LINTLIB) := SRCS = ../common/llib-lpctx
LDLIBS += -lproc -lc
SRCDIR = ../common
-MAPDIR = ../spec/$(TRANSMACH)
-SPECMAPFILE = $(MAPDIR)/mapfile
CFLAGS += $(CCVERBOSE)
CPPFLAGS += -D_REENTRANT -I$(SRCDIR)
diff --git a/usr/src/lib/libpctx/common/mapfile-vers b/usr/src/lib/libpctx/common/mapfile-vers
new file mode 100644
index 0000000000..0ccdb1802b
--- /dev/null
+++ b/usr/src/lib/libpctx/common/mapfile-vers
@@ -0,0 +1,43 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNW_1.1 {
+ global:
+ pctx_capture;
+ pctx_create;
+ pctx_release;
+ pctx_run;
+ pctx_set_events;
+};
+
+SUNWprivate_1.1 {
+ global:
+ __pctx_cpc;
+ __pctx_cpc_register_callback;
+ local:
+ *;
+};
diff --git a/usr/src/lib/libpctx/spec/Makefile b/usr/src/lib/libpctx/spec/Makefile
deleted file mode 100644
index dcb189f23a..0000000000
--- a/usr/src/lib/libpctx/spec/Makefile
+++ /dev/null
@@ -1,30 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libpctx/spec/Makefile
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/libpctx/spec/Makefile.targ b/usr/src/lib/libpctx/spec/Makefile.targ
deleted file mode 100644
index b8b0adf71c..0000000000
--- a/usr/src/lib/libpctx/spec/Makefile.targ
+++ /dev/null
@@ -1,33 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libpctx/spec/Makefile.targ
-
-LIBRARY = libpctx.a
-VERS = .1
-
-OBJECTS = pctx.o
diff --git a/usr/src/lib/libpctx/spec/amd64/Makefile b/usr/src/lib/libpctx/spec/amd64/Makefile
deleted file mode 100644
index 453c0ea671..0000000000
--- a/usr/src/lib/libpctx/spec/amd64/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#amd64_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libpctx/spec/i386/Makefile b/usr/src/lib/libpctx/spec/i386/Makefile
deleted file mode 100644
index d61fe4f625..0000000000
--- a/usr/src/lib/libpctx/spec/i386/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libpctx/spec/i386/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#i386_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libpctx/spec/pctx.spec b/usr/src/lib/libpctx/spec/pctx.spec
deleted file mode 100644
index e2c6054fc8..0000000000
--- a/usr/src/lib/libpctx/spec/pctx.spec
+++ /dev/null
@@ -1,80 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libpctx/spec/pctx.spec
-
-function pctx_create
-include <libpctx.h>
-declaration pctx_t *pctx_create(const char *filename, char *const *argv, \
- void *arg, int verbose, pctx_errfn_t *errfn)
-version SUNW_1.1
-exception ( $return == 0 )
-end
-
-function pctx_capture
-include <libpctx.h>
-declaration pctx_t *pctx_capture(pid_t pid, \
- void *arg, int verbose, pctx_errfn_t *errfn)
-version SUNW_1.1
-exception ( $return == 0 )
-end
-
-function pctx_set_events
-include <libpctx.h>
-declaration int pctx_set_events(pctx_t *, ...)
-version SUNW_1.1
-exception ( $return == -1 )
-end
-
-function pctx_run
-include <libpctx.h>
-declaration int pctx_run(pctx_t *pctx, uint_t msec, uint_t nsamples, \
- int (*tick)(pctx_t *, pid_t, id_t, void *))
-version SUNW_1.1
-exception ( $return != 0 )
-end
-
-function pctx_release
-include <libpctx.h>
-declaration void pctx_release(pctx_t *pctx)
-version SUNW_1.1
-end
-
-function __pctx_cpc
-include <libpctx.h>
-declaration int __pctx_cpc(pctx_t *pctx, struct __cpc *cpc,\
- int cmd, id_t lwpid, void *data1, void *data2, \
- void *data3, int bufsize);
-version SUNWprivate_1.1
-exception ( $return == -1 )
-end
-
-function __pctx_cpc_register_callback
-include <libpctx.h>
-declaration void __pctx_cpc_register_callback(void (*arg)(struct __cpc *, \
- struct __pctx *))
-version SUNWprivate_1.1
-end
diff --git a/usr/src/lib/libpctx/spec/sparc/Makefile b/usr/src/lib/libpctx/spec/sparc/Makefile
deleted file mode 100644
index 94839b26c8..0000000000
--- a/usr/src/lib/libpctx/spec/sparc/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libpctx/spec/sparc/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#sparc_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libpctx/spec/sparcv9/Makefile b/usr/src/lib/libpctx/spec/sparcv9/Makefile
deleted file mode 100644
index 655b03f97d..0000000000
--- a/usr/src/lib/libpctx/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,45 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libpctx/spec/sparcv9/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#sparcv9_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libpctx/spec/versions b/usr/src/lib/libpctx/spec/versions
deleted file mode 100644
index 38a2cfc77a..0000000000
--- a/usr/src/lib/libpctx/spec/versions
+++ /dev/null
@@ -1,43 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-sparc {
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-sparcv9 {
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-i386 {
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-amd64 {
- SUNW_1.1;
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/libpicl/Makefile b/usr/src/lib/libpicl/Makefile
index 5fa8016577..c35ebf5ea0 100644
--- a/usr/src/lib/libpicl/Makefile
+++ b/usr/src/lib/libpicl/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,12 +19,10 @@
# CDDL HEADER END
#
#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# lib/libpicl/Makefile
+# ident "%Z%%M% %I% %E% SMI"
#
include $(SRC)/lib/Makefile.lib
@@ -49,9 +46,7 @@ CHECKHDRS= $(HDRS:%.h=%.check)
.KEEP_STATE:
-all install clean clobber: spec .WAIT $(SUBDIRS)
-
-lint _msg: $(SUBDIRS)
+all install clean clobber lint _msg: $(SUBDIRS)
# install rule for install_h target
@@ -65,7 +60,7 @@ $(ROOTHDRDIR):
check: $(CHECKHDRS)
-$(SUBDIRS) spec: FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
diff --git a/usr/src/lib/libpicl/Makefile.com b/usr/src/lib/libpicl/Makefile.com
index 1db40c86fa..3246d227e8 100644
--- a/usr/src/lib/libpicl/Makefile.com
+++ b/usr/src/lib/libpicl/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,7 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
@@ -36,10 +35,6 @@ LIBS = $(DYNLIB) $(LINTLIB)
LDLIBS += -lc
$(LINTLIB) := SRCS = $(SRCDIR)/$(LINTSRC)
-SRCDIR = ..
-MAPDIR = ../spec/$(TRANSMACH)
-SPECMAPFILE = $(MAPDIR)/mapfile
-
CPPFLAGS += -I.. -D_REENTRANT
CFLAGS += $(CCVERBOSE)
diff --git a/usr/src/lib/libpicl/mapfile-vers b/usr/src/lib/libpicl/mapfile-vers
new file mode 100644
index 0000000000..206286d1b7
--- /dev/null
+++ b/usr/src/lib/libpicl/mapfile-vers
@@ -0,0 +1,60 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNW_1.3 {
+ global:
+ picl_find_node;
+ picl_get_frutree_parent;
+ picl_get_node_by_path;
+} SUNW_1.2;
+
+SUNW_1.2 {
+ global:
+ picl_get_propinfo_by_name;
+ picl_walk_tree_by_class;
+} SUNW_1.1;
+
+SUNW_1.1 {
+ global:
+ picl_get_first_prop;
+ picl_get_next_by_col;
+ picl_get_next_by_row;
+ picl_get_next_prop;
+ picl_get_prop_by_name;
+ picl_get_propinfo;
+ picl_get_propval;
+ picl_get_propval_by_name;
+ picl_get_root;
+ picl_initialize;
+ picl_set_propval;
+ picl_set_propval_by_name;
+ picl_shutdown;
+ picl_strerror;
+ picl_wait;
+ local:
+ *;
+};
diff --git a/usr/src/lib/libpicl/spec/Makefile b/usr/src/lib/libpicl/spec/Makefile
deleted file mode 100644
index b9a7ca757e..0000000000
--- a/usr/src/lib/libpicl/spec/Makefile
+++ /dev/null
@@ -1,30 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1999-2000 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libpicl/spec/Makefile
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/libpicl/spec/Makefile.targ b/usr/src/lib/libpicl/spec/Makefile.targ
deleted file mode 100644
index 66b462cfe2..0000000000
--- a/usr/src/lib/libpicl/spec/Makefile.targ
+++ /dev/null
@@ -1,34 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1999-2000 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libpicl/spec/Makefile.targ
-LIBRARY = libpicl.a
-VERS = .1
-
-OBJECTS = picl.o
-
-SPECCPP = -I../..
diff --git a/usr/src/lib/libpicl/spec/amd64/Makefile b/usr/src/lib/libpicl/spec/amd64/Makefile
deleted file mode 100644
index 63f2fed1b9..0000000000
--- a/usr/src/lib/libpicl/spec/amd64/Makefile
+++ /dev/null
@@ -1,47 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#amd64_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-CPPFLAGS += -I$(SRC)/lib/libpicl
-
-install: $(ROOTABIDIR64) $(ROOTABILIB64)
-
-$(ROOTABIDIR64):
- $(INS.dir)
diff --git a/usr/src/lib/libpicl/spec/i386/Makefile b/usr/src/lib/libpicl/spec/i386/Makefile
deleted file mode 100644
index 4476b125e5..0000000000
--- a/usr/src/lib/libpicl/spec/i386/Makefile
+++ /dev/null
@@ -1,51 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libpicl/spec/i386/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#i386_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-CPPFLAGS += -I$(SRC)/lib/libpicl
-
-CFLAGS += $(CCVERBOSE)
-
-install: $(ROOTABIDIR) $(ROOTABILIB)
-
-$(ROOTABIDIR):
- $(INS.dir)
diff --git a/usr/src/lib/libpicl/spec/picl.spec b/usr/src/lib/libpicl/spec/picl.spec
deleted file mode 100644
index 95b34d653c..0000000000
--- a/usr/src/lib/libpicl/spec/picl.spec
+++ /dev/null
@@ -1,147 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libpicl/spec/picl.spec
-
-function picl_initialize
-include <picl.h>
-declaration int picl_initialize(void)
-version SUNW_1.1
-end
-
-function picl_shutdown
-include <picl.h>
-declaration int picl_shutdown(void)
-version SUNW_1.1
-end
-
-function picl_get_root
-include <picl.h>
-declaration int picl_get_root(picl_nodehdl_t *nodeh)
-version SUNW_1.1
-end
-
-function picl_get_propval
-include <picl.h>
-declaration int picl_get_propval(picl_prophdl_t proph, void *valbuf, size_t sz)
-version SUNW_1.1
-end
-
-function picl_get_propval_by_name
-include <picl.h>
-declaration int picl_get_propval_by_name(picl_nodehdl_t nodeh, const char *propname, void *valbuf, size_t sz)
-version SUNW_1.1
-end
-
-function picl_set_propval
-include <picl.h>
-declaration int picl_set_propval(picl_prophdl_t proph, void *valbuf, size_t sz)
-version SUNW_1.1
-end
-
-function picl_set_propval_by_name
-include <picl.h>
-declaration int picl_set_propval_by_name(picl_nodehdl_t nodeh, const char *propname, void *valbuf, size_t sz)
-version SUNW_1.1
-end
-
-function picl_get_propinfo
-include <picl.h>
-declaration int picl_get_propinfo(picl_prophdl_t proph, picl_propinfo_t *pi)
-version SUNW_1.1
-end
-
-function picl_get_first_prop
-include <picl.h>
-declaration int picl_get_first_prop(picl_nodehdl_t nodeh, picl_prophdl_t *proph)
-version SUNW_1.1
-end
-
-function picl_get_next_prop
-include <picl.h>
-declaration int picl_get_next_prop(picl_prophdl_t proph, picl_prophdl_t *nexth)
-version SUNW_1.1
-end
-
-function picl_get_prop_by_name
-include <picl.h>
-declaration int picl_get_prop_by_name(picl_nodehdl_t nodeh, const char *nm, picl_prophdl_t *ph)
-version SUNW_1.1
-end
-
-function picl_get_next_by_row
-include <picl.h>
-declaration int picl_get_next_by_row(picl_prophdl_t thish, picl_prophdl_t *proph)
-version SUNW_1.1
-end
-
-function picl_get_next_by_col
-include <picl.h>
-declaration int picl_get_next_by_col(picl_prophdl_t thish, picl_prophdl_t *proph)
-version SUNW_1.1
-end
-
-function picl_wait
-include <picl.h>
-declaration int picl_wait(unsigned int secs)
-version SUNW_1.1
-end
-
-function picl_strerror
-include <picl.h>
-declaration char *picl_strerror(int err)
-version SUNW_1.1
-end
-
-function picl_walk_tree_by_class
-include <picl.h>
-declaration int picl_walk_tree_by_class(picl_nodehdl_t rooth, const char *classname, void *c_args, int (*callback_fn)(picl_nodehdl_t hdl, void *args))
-version SUNW_1.2
-end
-
-function picl_get_propinfo_by_name
-include <picl.h>
-declaration int picl_get_propinfo_by_name(picl_nodehdl_t nodeh, const char *pname, picl_propinfo_t *pinfo, picl_prophdl_t *proph)
-version SUNW_1.2
-end
-
-function picl_find_node
-include <picl.h>
-declaration int picl_find_node(picl_nodehdl_t rooth, char *pname, picl_prop_type_t ptype, void *pval, size_t valsize, picl_nodehdl_t *retnodeh)
-version SUNW_1.3
-end
-
-function picl_get_node_by_path
-include <picl.h>
-declaration int picl_get_node_by_path(const char *piclpath, picl_nodehdl_t *nodeh)
-version SUNW_1.3
-end
-
-function picl_get_frutree_parent
-include <picl.h>
-declaration int picl_get_frutree_parent(picl_nodehdl_t devh, picl_nodehdl_t *fruh)
-version SUNW_1.3
-end
diff --git a/usr/src/lib/libpicl/spec/sparc/Makefile b/usr/src/lib/libpicl/spec/sparc/Makefile
deleted file mode 100644
index 42ad7d2515..0000000000
--- a/usr/src/lib/libpicl/spec/sparc/Makefile
+++ /dev/null
@@ -1,51 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libpicl/spec/sparc/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#sparc_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-CPPFLAGS += -I$(SRC)/lib/libpicl
-
-CFLAGS += $(CCVERBOSE)
-
-install: $(ROOTABIDIR) $(ROOTABILIB)
-
-$(ROOTABIDIR):
- $(INS.dir)
diff --git a/usr/src/lib/libpicl/spec/sparcv9/Makefile b/usr/src/lib/libpicl/spec/sparcv9/Makefile
deleted file mode 100644
index 9a8bccd58c..0000000000
--- a/usr/src/lib/libpicl/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,50 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libpicl/spec/sparcv9/Makefile
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#sparcv9_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-CPPFLAGS += -I$(SRC)/lib/libpicl
-
-CFLAGS64 += $(CCVERBOSE)
-
-install: $(ROOTABIDIR64) $(ROOTABILIB64)
-
-$(ROOTABIDIR64):
- $(INS.dir)
diff --git a/usr/src/lib/libpicl/spec/versions b/usr/src/lib/libpicl/spec/versions
deleted file mode 100644
index a1bbf2b7f3..0000000000
--- a/usr/src/lib/libpicl/spec/versions
+++ /dev/null
@@ -1,49 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# SUNW_1.1: Public (evolving) PSARC 1999/444
-#
-
-sparc {
- SUNW_1.3: {SUNW_1.2};
- SUNW_1.2: {SUNW_1.1};
- SUNW_1.1;
-}
-sparcv9 {
- SUNW_1.3: {SUNW_1.2};
- SUNW_1.2: {SUNW_1.1};
- SUNW_1.1;
-}
-i386 {
- SUNW_1.3: {SUNW_1.2};
- SUNW_1.2: {SUNW_1.1};
- SUNW_1.1;
-}
-amd64 {
- SUNW_1.3: {SUNW_1.2};
- SUNW_1.2: {SUNW_1.1};
- SUNW_1.1;
-}
diff --git a/usr/src/lib/libpicltree/Makefile b/usr/src/lib/libpicltree/Makefile
index e97c1763ff..79d59401c1 100644
--- a/usr/src/lib/libpicltree/Makefile
+++ b/usr/src/lib/libpicltree/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,17 +19,15 @@
# CDDL HEADER END
#
#
-#pragma ident "%Z%%M% %I% %E% SMI"
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-# Copyright (c) 1999-2000 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libpicltree/Makefile
+# ident "%Z%%M% %I% %E% SMI"
#
include $(SRC)/lib/Makefile.lib
-SUBDIRS = spec .WAIT $(MACH)
+SUBDIRS = $(MACH)
# conditional assignments
all := TARGET= all
@@ -62,7 +59,7 @@ $(ROOTHDRDIR):
check: $(CHECKHDRS)
-$(MACH) spec: FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
diff --git a/usr/src/lib/libpicltree/Makefile.com b/usr/src/lib/libpicltree/Makefile.com
index cafb40a0d1..bb88e33d2e 100644
--- a/usr/src/lib/libpicltree/Makefile.com
+++ b/usr/src/lib/libpicltree/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,7 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
@@ -36,10 +35,6 @@ LIBS = $(DYNLIB) $(LINTLIB)
LDLIBS += -lc
$(LINTLIB) := SRCS = $(SRCDIR)/$(LINTSRC)
-SRCDIR = ..
-MAPDIR = ../spec/$(TRANSMACH)
-SPECMAPFILE = $(MAPDIR)/mapfile
-
CPPFLAGS += -D_REENTRANT -I.. -I../../libpicl -I$(SRC)/cmd/picl/plugins/inc
CFLAGS += $(CCVERBOSE)
diff --git a/usr/src/lib/libpicltree/mapfile-vers b/usr/src/lib/libpicltree/mapfile-vers
new file mode 100644
index 0000000000..1833b4f824
--- /dev/null
+++ b/usr/src/lib/libpicltree/mapfile-vers
@@ -0,0 +1,97 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNW_1.3 {
+ global:
+ ptree_get_frutree_parent;
+} SUNW_1.2;
+
+SUNW_1.2 {
+ global:
+ ptree_create_and_add_node;
+ ptree_create_and_add_prop;
+ ptree_find_node;
+ ptree_get_node_by_path;
+ ptree_init_propinfo;
+ ptree_post_event;
+ ptree_register_handler;
+ ptree_unregister_handler;
+ ptree_walk_tree_by_class;
+} SUNW_1.1;
+
+SUNW_1.1 {
+ global:
+ picld_plugin_register;
+ ptree_add_node;
+ ptree_add_prop;
+ ptree_add_row_to_table;
+ ptree_create_node;
+ ptree_create_prop;
+ ptree_create_table;
+ ptree_delete_node;
+ ptree_delete_prop;
+ ptree_destroy_node;
+ ptree_destroy_prop;
+ ptree_get_first_prop;
+ ptree_get_next_by_col;
+ ptree_get_next_by_row;
+ ptree_get_next_prop;
+ ptree_get_prop_by_name;
+ ptree_get_propinfo;
+ ptree_get_propval;
+ ptree_get_propval_by_name;
+ ptree_get_root;
+ ptree_update_propval;
+ ptree_update_propval_by_name;
+};
+
+# There really should be only one SUNWprivate version.
+# Don't add any more. Add new private symbols to SUNWprivate_1.2
+
+SUNWprivate_1.2 {
+ global:
+ dbg_exec;
+ dbg_print;
+ verbose_level;
+} SUNWprivate_1.1;
+
+SUNWprivate_1.1 {
+ global:
+ cvt_picl2ptree;
+ cvt_ptree2picl;
+ xptree_destroy;
+ xptree_get_propinfo_by_name;
+ xptree_get_propval_by_name_with_cred;
+ xptree_get_propval_with_cred;
+ xptree_initialize;
+ xptree_refresh_notify;
+ xptree_reinitialize;
+ xptree_update_propval_by_name_with_cred;
+ xptree_update_propval_with_cred;
+ local:
+ *;
+};
diff --git a/usr/src/lib/libpicltree/spec/Makefile b/usr/src/lib/libpicltree/spec/Makefile
deleted file mode 100644
index 452f7d2a99..0000000000
--- a/usr/src/lib/libpicltree/spec/Makefile
+++ /dev/null
@@ -1,64 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libpicltree/spec/Makefile
-#
-
-i386_ARCHITECTURES = i386
-sparc_ARCHITECTURES = sparc
-
-all := TARGET= all
-install := TARGET= install
-clean := TARGET= clean
-clobber := TARGET= clobber
-lint := TARGET= lint
-
-
-.KEEP_STATE:
-
-all install clean clobber: $($(MACH)_ARCHITECTURES)
-
-$($(MACH)_ARCHITECTURES): FRC
- @cd $@; pwd; $(MAKE) $(TARGET)
-
-#
-# This will make sure that any target not
-# explicitly defined will not break the build.
-#
-# XXX pmake on intel does not like the following rules
-# %: ignore_and_exit_quietly
-# ignore_and_exit_quietly:
-#
-# So here it is manually
-#
-IGNORE= _msg catalog install_h delete \
- package tcov debug private_h \
- check analyse test dynamic lint
-$(IGNORE):
-
-FRC:
-
diff --git a/usr/src/lib/libpicltree/spec/Makefile.targ b/usr/src/lib/libpicltree/spec/Makefile.targ
deleted file mode 100644
index 4c735985f1..0000000000
--- a/usr/src/lib/libpicltree/spec/Makefile.targ
+++ /dev/null
@@ -1,32 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1999-2000 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libpicltree/spec/Makefile.targ
-LIBRARY = libpicltree.a
-VERS = .1
-
-OBJECTS = picltree.o
diff --git a/usr/src/lib/libpicltree/spec/i386/Makefile b/usr/src/lib/libpicltree/spec/i386/Makefile
deleted file mode 100644
index 958dfa3b32..0000000000
--- a/usr/src/lib/libpicltree/spec/i386/Makefile
+++ /dev/null
@@ -1,51 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libpicltree/spec/i386/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#i386_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-CPPFLAGS += -I$(SRC)/lib/libpicl -I$(SRC)/lib/libpicltree
-
-CFLAGS += $(CCVERBOSE)
-
-$(ROOTABIDIR):
- $(INS.dir)
-
-install: $(ROOTABIDIR) $(ROOTABILIB)
diff --git a/usr/src/lib/libpicltree/spec/picltree.spec b/usr/src/lib/libpicltree/spec/picltree.spec
deleted file mode 100644
index 616fa7ba9e..0000000000
--- a/usr/src/lib/libpicltree/spec/picltree.spec
+++ /dev/null
@@ -1,303 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libpicltree/spec/picltree.spec
-
-function ptree_get_root
-include <picl.h> <picltree.h>
-declaration int ptree_get_root(picl_nodehdl_t *nodeh)
-version SUNW_1.1
-end
-
-function ptree_create_node
-include <picl.h> <picltree.h>
-declaration int ptree_create_node(const char *name, const char *clname, picl_nodehdl_t *nodeh)
-version SUNW_1.1
-end
-
-function ptree_destroy_node
-include <picl.h> <picltree.h>
-declaration int ptree_destroy_node(picl_nodehdl_t nodeh)
-version SUNW_1.1
-end
-
-function ptree_add_node
-include <picl.h> <picltree.h>
-declaration int ptree_add_node(picl_nodehdl_t parh, picl_nodehdl_t chdh)
-version SUNW_1.1
-end
-
-function ptree_delete_node
-include <picl.h> <picltree.h>
-declaration int ptree_delete_node(picl_nodehdl_t nodeh)
-version SUNW_1.1
-end
-
-function ptree_create_prop
-include <picl.h> <picltree.h>
-declaration int ptree_create_prop(const ptree_propinfo_t *pi, const void *vbuf, picl_prophdl_t *proph)
-version SUNW_1.1
-end
-
-function ptree_destroy_prop
-include <picl.h> <picltree.h>
-declaration int ptree_destroy_prop(picl_prophdl_t proph)
-version SUNW_1.1
-end
-
-function ptree_delete_prop
-include <picl.h> <picltree.h>
-declaration int ptree_delete_prop(picl_prophdl_t proph)
-version SUNW_1.1
-end
-
-function ptree_add_prop
-include <picl.h> <picltree.h>
-declaration int ptree_add_prop(picl_nodehdl_t nodeh, picl_prophdl_t proph)
-version SUNW_1.1
-end
-
-function ptree_create_table
-include <picl.h> <picltree.h>
-declaration int ptree_create_table(picl_prophdl_t *tbl_hdl)
-version SUNW_1.1
-end
-
-function ptree_add_row_to_table
-include <picl.h> <picltree.h>
-declaration int ptree_add_row_to_table(picl_prophdl_t tbl, int nprops, const picl_prophdl_t *props)
-version SUNW_1.1
-end
-
-function ptree_update_propval_by_name
-include <picl.h> <picltree.h>
-declaration int ptree_update_propval_by_name(picl_nodehdl_t nodeh, const char *name, const void *vbuf, size_t sz)
-version SUNW_1.1
-end
-
-function ptree_update_propval
-include <picl.h> <picltree.h>
-declaration int ptree_update_propval(picl_prophdl_t proph, const void *buf, size_t sz)
-version SUNW_1.1
-end
-
-function ptree_get_propval
-include <picl.h> <picltree.h>
-declaration int ptree_get_propval(picl_prophdl_t proph, void *buf, size_t sz)
-version SUNW_1.1
-end
-
-function ptree_get_propval_by_name
-include <picl.h> <picltree.h>
-declaration int ptree_get_propval_by_name(picl_nodehdl_t nodeh, const char *name, void *buf, size_t sz)
-version SUNW_1.1
-end
-
-function ptree_get_propinfo
-include <picl.h> <picltree.h>
-declaration int ptree_get_propinfo(picl_prophdl_t proph, ptree_propinfo_t *pi)
-version SUNW_1.1
-end
-
-function ptree_get_first_prop
-include <picl.h> <picltree.h>
-declaration int ptree_get_first_prop(picl_nodehdl_t nodeh, picl_prophdl_t *proph)
-version SUNW_1.1
-end
-
-function ptree_get_next_prop
-include <picl.h> <picltree.h>
-declaration int ptree_get_next_prop(picl_prophdl_t thish, picl_prophdl_t *proph)
-version SUNW_1.1
-end
-
-function ptree_get_prop_by_name
-include <picl.h> <picltree.h>
-declaration int ptree_get_prop_by_name(picl_nodehdl_t nodeh, const char *name, picl_prophdl_t *proph)
-version SUNW_1.1
-end
-
-function ptree_get_next_by_row
-include <picl.h> <picltree.h>
-declaration int ptree_get_next_by_row(picl_prophdl_t proph, picl_prophdl_t *rowh)
-version SUNW_1.1
-end
-
-function ptree_get_next_by_col
-include <picl.h> <picltree.h>
-declaration int ptree_get_next_by_col(picl_prophdl_t proph, picl_prophdl_t *colh)
-version SUNW_1.1
-end
-
-function picld_plugin_register
-include <picl.h> <picltree.h>
-declaration int picld_plugin_register(picld_plugin_reg_t *infop)
-version SUNW_1.1
-end
-
-function ptree_init_propinfo
-include <picl.h> <picltree.h>
-declaration int ptree_init_propinfo(ptree_propinfo_t *infop, int version, int ptype, int pmode, size_t psize, char *pname, int (*readfn)(ptree_rarg_t *, void *), int (*writefn)(ptree_warg_t *, const void *));
-version SUNW_1.2
-end
-
-function ptree_create_and_add_prop
-include <picl.h> <picltree.h>
-declaration int ptree_create_and_add_prop(picl_nodehdl_t nodeh, ptree_propinfo_t *infop, void *vbuf, picl_prophdl_t *proph);
-version SUNW_1.2
-end
-
-function ptree_create_and_add_node
-include <picl.h> <picltree.h>
-declaration int ptree_create_and_add_node(picl_nodehdl_t rooth, const char *name, const char *classname, picl_nodehdl_t *nodeh);
-version SUNW_1.2
-end
-
-function ptree_walk_tree_by_class
-include <picl.h> <picltree.h>
-declaration int ptree_walk_tree_by_class(picl_nodehdl_t rooth, const char *classname, void *c_args, int (*callback_fn)(picl_nodehdl_t hdl, void *args))
-version SUNW_1.2
-end
-
-function ptree_find_node
-include <picl.h> <picltree.h>
-declaration int ptree_find_node(picl_nodehdl_t rooth, char *pname, picl_prop_type_t ptype, void *pval, size_t valsize, picl_nodehdl_t *retnodeh)
-version SUNW_1.2
-end
-
-function ptree_post_event
-include <picl.h> <picltree.h>
-declaration int ptree_post_event(const char *ename, const void *earg, size_t size, void (*completion_handler)(char *ename, void *earg, size_t size))
-version SUNW_1.2
-end
-
-function ptree_register_handler
-include <picl.h> <picltree.h>
-declaration int ptree_register_handler(const char *ename, void (*evt_handler)(const char *ename, const void *earg, size_t size, void *cookie), void *cookie)
-version SUNW_1.2
-end
-
-function ptree_unregister_handler
-include <picl.h> <picltree.h>
-declaration void ptree_unregister_handler(const char *ename, void (*evt_handler)(const char *ename, const void *earg, size_t size, void *cookie), void *cookie);
-version SUNW_1.2
-end
-
-data verbose_level
-include "ptree_impl.h"
-declaration int verbose_level;
-version SUNWprivate_1.2
-end
-
-function dbg_print
-include "ptree_impl.h"
-declaration void dbg_print(int level, const char *fmt, ...)
-version SUNWprivate_1.2
-end
-
-function dbg_exec
-include "ptree_impl.h"
-declaration void dbg_exec(int level, void (*fn)(void *arg), void *arg)
-version SUNWprivate_1.2
-end
-
-function xptree_initialize
-include "ptree_impl.h"
-declaration int xptree_initialize(int)
-version SUNWprivate_1.1
-end
-
-function xptree_reinitialize
-include "ptree_impl.h"
-declaration int xptree_reinitialize(void)
-version SUNWprivate_1.1
-end
-
-function xptree_destroy
-include "ptree_impl.h"
-declaration void xptree_destroy(void)
-version SUNWprivate_1.1
-end
-
-function xptree_refresh_notify
-include "ptree_impl.h"
-declaration int xptree_refresh_notify(unsigned int)
-version SUNWprivate_1.1
-end
-
-function cvt_picl2ptree
-include "ptree_impl.h"
-declaration int cvt_picl2ptree(picl_hdl_t piclh, picl_hdl_t *ptreeh)
-version SUNWprivate_1.1
-end
-
-function cvt_ptree2picl
-include "ptree_impl.h"
-declaration void cvt_ptree2picl(picl_hdl_t *vbuf)
-version SUNWprivate_1.1
-end
-
-function xptree_get_propval_with_cred
-include "ptree_impl.h"
-declaration int xptree_get_propval_with_cred(picl_prophdl_t proph, void *valbuf, size_t size, door_cred_t cred)
-version SUNWprivate_1.1
-end
-
-function xptree_get_propval_by_name_with_cred
-include "ptree_impl.h"
-declaration int xptree_get_propval_by_name_with_cred(picl_nodehdl_t nodeh, const char *propname, void *valbuf, size_t sz, door_cred_t cred)
-version SUNWprivate_1.1
-end
-
-function xptree_update_propval_with_cred
-include "ptree_impl.h"
-declaration int xptree_update_propval_with_cred(picl_prophdl_t proph, const void *valbuf, size_t sz, door_cred_t cred)
-version SUNWprivate_1.1
-end
-
-function xptree_update_propval_by_name_with_cred
-include "ptree_impl.h"
-declaration int xptree_update_propval_by_name_with_cred(picl_nodehdl_t nodeh, const char *propname, const void *valbuf, size_t sz, door_cred_t cred)
-version SUNWprivate_1.1
-end
-
-function xptree_get_propinfo_by_name
-include "ptree_impl.h"
-declaration int xptree_get_propinfo_by_name(picl_nodehdl_t nodeh, const char *pname, ptree_propinfo_t *pinfo)
-version SUNWprivate_1.1
-end
-
-function ptree_get_node_by_path
-include <picl.h> <picltree.h>
-declaration int ptree_get_node_by_path(const char *piclurl, picl_nodehdl_t *handle)
-version SUNW_1.2
-end
-
-function ptree_get_frutree_parent
-include <picl.h> <picltree.h>
-declaration int ptree_get_frutree_parent(picl_nodehdl_t rooth, picl_nodehdl_t *retnodeh)
-version SUNW_1.3
-end
diff --git a/usr/src/lib/libpicltree/spec/sparc/Makefile b/usr/src/lib/libpicltree/spec/sparc/Makefile
deleted file mode 100644
index b9f5cac008..0000000000
--- a/usr/src/lib/libpicltree/spec/sparc/Makefile
+++ /dev/null
@@ -1,50 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libpicltree/spec/sparc/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#sparc_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-CPPFLAGS += -I$(SRC)/lib/libpicl -I$(SRC)/lib/libpicltree
-CFLAGS += $(CCVERBOSE)
-
-$(ROOTABIDIR):
- $(INS.dir)
-
-install: $(ROOTABIDIR) $(ROOTABILIB)
diff --git a/usr/src/lib/libpicltree/spec/versions b/usr/src/lib/libpicltree/spec/versions
deleted file mode 100644
index 7f0c0d243b..0000000000
--- a/usr/src/lib/libpicltree/spec/versions
+++ /dev/null
@@ -1,57 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# SUNW_1.1: Public (evolving) PSARC 1999/444
-#
-
-sparc {
- SUNW_1.3: {SUNW_1.2};
- SUNW_1.2: {SUNW_1.1};
- SUNW_1.1;
- SUNWprivate_1.2: {SUNWprivate_1.1};
- SUNWprivate_1.1;
-}
-sparcv9 {
- SUNW_1.3: {SUNW_1.2};
- SUNW_1.2: {SUNW_1.1};
- SUNW_1.1;
- SUNWprivate_1.2: {SUNWprivate_1.1};
- SUNWprivate_1.1;
-}
-i386 {
- SUNW_1.3: {SUNW_1.2};
- SUNW_1.2: {SUNW_1.1};
- SUNW_1.1;
- SUNWprivate_1.2: {SUNWprivate_1.1};
- SUNWprivate_1.1;
-}
-amd64 {
- SUNW_1.3: {SUNW_1.2};
- SUNW_1.2: {SUNW_1.1};
- SUNW_1.1;
- SUNWprivate_1.2: {SUNWprivate_1.1};
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/libplot/plot/Makefile b/usr/src/lib/libplot/plot/Makefile
index e94f5e4ccb..3e7d04deb5 100644
--- a/usr/src/lib/libplot/plot/Makefile
+++ b/usr/src/lib/libplot/plot/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,18 +19,16 @@
# CDDL HEADER END
#
#
-# Copyright (c) 1989-1999 by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1989-1998 by Sun Microsystems, Inc.
-#
-# lib/libplot/plot/Makefile
+# ident "%Z%%M% %I% %E% SMI"
#
+
include ../../Makefile.lib
-SUBDIRS= spec .WAIT $(MACH) $(BUILD64) $(MACH64)
+SUBDIRS = $(MACH)
+$(BUILD64)SUBDIRS += $(MACH64)
all := TARGET= all
clean := TARGET= clean
@@ -45,7 +42,7 @@ lint := TARGET= lint
all clean clobber delete install lint: $(SUBDIRS)
-$(MACH) $(MACH64) spec: FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
diff --git a/usr/src/lib/libplot/plot/Makefile.com b/usr/src/lib/libplot/plot/Makefile.com
index 89695bfb81..e3de94f3ee 100644
--- a/usr/src/lib/libplot/plot/Makefile.com
+++ b/usr/src/lib/libplot/plot/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,13 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libplot/plot/Makefile.com
-#
LIBRARY= libplot.a
VERS= .1
@@ -40,9 +37,7 @@ OBJECTS= \
# include library definitions
include ../../../Makefile.lib
-MAPFILE= $(MAPDIR)/mapfile
-MAPOPTS= $(MAPFILE:%=-M %)
-SRCS= $(OBJECTS:%.o=../common/%.c)
+SRCDIR = ../common
LIBS = $(DYNLIB) $(LINTLIB)
@@ -51,18 +46,12 @@ $(LINTLIB):= SRCS=../common/llib-lplot
LINTSRC= $(LINTLIB:%.ln=%)
CFLAGS += $(CCVERBOSE)
-DYNFLAGS += $(MAPOPTS)
LDLIBS += -lc
.KEEP_STATE:
lint: lintcheck
-$(DYNLIB): $(MAPFILE)
-
-$(MAPFILE):
- @cd $(MAPDIR); $(MAKE) mapfile
-
# include library targets
include ../../../Makefile.targ
diff --git a/usr/src/lib/libplot/plot/amd64/Makefile b/usr/src/lib/libplot/plot/amd64/Makefile
index 7ca1ce38bf..7a373bbdcd 100644
--- a/usr/src/lib/libplot/plot/amd64/Makefile
+++ b/usr/src/lib/libplot/plot/amd64/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-MAPDIR= ../spec/amd64
-
include ../Makefile.com
include ../../../Makefile.lib.64
diff --git a/usr/src/lib/libplot/plot/common/mapfile-vers b/usr/src/lib/libplot/plot/common/mapfile-vers
new file mode 100644
index 0000000000..ca180f5c41
--- /dev/null
+++ b/usr/src/lib/libplot/plot/common/mapfile-vers
@@ -0,0 +1,54 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNW_1.1 {
+ global:
+ arc;
+ box;
+ circle;
+ closepl;
+ closevt;
+ cont;
+ erase;
+ label;
+ line;
+ linemod;
+ move;
+ openpl;
+ openvt;
+ point;
+ space;
+};
+
+SUNWprivate_1.1 {
+ global:
+ dot;
+ _lib_version;
+ putsi;
+ local:
+ *;
+};
diff --git a/usr/src/lib/libplot/plot/i386/Makefile b/usr/src/lib/libplot/plot/i386/Makefile
index 7d46601f07..2a944b0b43 100644
--- a/usr/src/lib/libplot/plot/i386/Makefile
+++ b/usr/src/lib/libplot/plot/i386/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-#pragma ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libplot/plot/i386/Makefile
-
-MAPDIR= ../spec/i386
include ../Makefile.com
diff --git a/usr/src/lib/libplot/plot/sparc/Makefile b/usr/src/lib/libplot/plot/sparc/Makefile
index b18ebae1a5..2a944b0b43 100644
--- a/usr/src/lib/libplot/plot/sparc/Makefile
+++ b/usr/src/lib/libplot/plot/sparc/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-#pragma ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libplot/plot/sparc/Makefile
-
-MAPDIR= ../spec/sparc
include ../Makefile.com
diff --git a/usr/src/lib/libplot/plot/sparcv9/Makefile b/usr/src/lib/libplot/plot/sparcv9/Makefile
index 8c2cffc092..b10cb39a45 100644
--- a/usr/src/lib/libplot/plot/sparcv9/Makefile
+++ b/usr/src/lib/libplot/plot/sparcv9/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-#pragma ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libplot/plot/sparcv9/Makefile
-
-MAPDIR= ../spec/sparcv9
include ../Makefile.com
include ../../../Makefile.lib.64
diff --git a/usr/src/lib/libplot/plot/spec/Makefile b/usr/src/lib/libplot/plot/spec/Makefile
deleted file mode 100644
index fb4e1aa5cd..0000000000
--- a/usr/src/lib/libplot/plot/spec/Makefile
+++ /dev/null
@@ -1,30 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libplot/plot/spec/Makefile
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/libplot/plot/spec/Makefile.targ b/usr/src/lib/libplot/plot/spec/Makefile.targ
deleted file mode 100644
index 9d527efb4e..0000000000
--- a/usr/src/lib/libplot/plot/spec/Makefile.targ
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libplot/plot/spec/Makefile.targ
-
-LIBRARY = libplot.a
-VERS = .1
-
-OBJECTS = plot.o
-
-TRANSCPP =
-SPECCPP =
diff --git a/usr/src/lib/libplot/plot/spec/amd64/Makefile b/usr/src/lib/libplot/plot/spec/amd64/Makefile
deleted file mode 100644
index 5dd1b7240f..0000000000
--- a/usr/src/lib/libplot/plot/spec/amd64/Makefile
+++ /dev/null
@@ -1,42 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#amd64_C_PICFLAGS = $(amd64_C_BIGPICFLAGS)
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libplot/plot/spec/i386/Makefile b/usr/src/lib/libplot/plot/spec/i386/Makefile
deleted file mode 100644
index 7f79ddec84..0000000000
--- a/usr/src/lib/libplot/plot/spec/i386/Makefile
+++ /dev/null
@@ -1,42 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libplot/plot/spec/i386/Makefile
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#i386_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libplot/plot/spec/plot.spec b/usr/src/lib/libplot/plot/spec/plot.spec
deleted file mode 100644
index 9ccf6250e3..0000000000
--- a/usr/src/lib/libplot/plot/spec/plot.spec
+++ /dev/null
@@ -1,133 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libplot/plot/spec/plot.spec
-
-function arc
-include <plot.h>
-declaration void arc(short x0, short y0, short x1, short y1, \
- short x2, short y2)
-version SUNW_1.1
-end
-
-function box
-include <plot.h>
-declaration void box(short x0, short y0, short x1, short y1)
-version SUNW_1.1
-end
-
-function circle
-include <plot.h>
-declaration void circle(short x, short y, short r)
-version SUNW_1.1
-end
-
-function closepl
-include <plot.h>
-declaration void closepl(void)
-version SUNW_1.1
-end
-
-function closevt
-include <plot.h>
-declaration void closevt(void)
-version SUNW_1.1
-end
-
-function cont
-include <plot.h>
-declaration void cont(short x, short y)
-version SUNW_1.1
-end
-
-function dot
-include <plot.h>
-declaration void dot(short xi, short yi, short dx, short n, short pat[])
-version SUNWprivate_1.1
-end
-
-function erase
-include <plot.h>
-declaration void erase(void)
-version SUNW_1.1
-end
-
-function label
-include <plot.h>
-declaration void label(char *s)
-version SUNW_1.1
-end
-
-function line
-include <plot.h>
-declaration void line(short x0, short y0, short x1, short y1)
-version SUNW_1.1
-end
-
-function linemod
-include <plot.h>
-declaration void linemod(char *s)
-version SUNW_1.1
-end
-
-function move
-include <plot.h>
-declaration void move(short x, short y)
-version SUNW_1.1
-end
-
-function openpl
-include <plot.h>
-declaration void openpl(void)
-version SUNW_1.1
-end
-
-function openvt
-include <plot.h>
-declaration void openvt(void)
-version SUNW_1.1
-end
-
-function point
-include <plot.h>
-declaration void point(short x, short y)
-version SUNW_1.1
-end
-
-function space
-include <plot.h>
-declaration void space(short x0, short y0, short x1, short y1)
-version SUNW_1.1
-end
-
-function putsi
-version SUNWprivate_1.1
-end
-
-function _lib_version
-version SUNWprivate_1.1
-end
-
diff --git a/usr/src/lib/libplot/plot/spec/sparc/Makefile b/usr/src/lib/libplot/plot/spec/sparc/Makefile
deleted file mode 100644
index d2cc8ab285..0000000000
--- a/usr/src/lib/libplot/plot/spec/sparc/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libplot/plot/spec/sparc/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#sparc_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libplot/plot/spec/sparcv9/Makefile b/usr/src/lib/libplot/plot/spec/sparcv9/Makefile
deleted file mode 100644
index 9283948d89..0000000000
--- a/usr/src/lib/libplot/plot/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,43 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libplot/plot/spec/sparcv9/Makefile
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#sparcv9_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libplot/plot/spec/versions b/usr/src/lib/libplot/plot/spec/versions
deleted file mode 100644
index 38a2cfc77a..0000000000
--- a/usr/src/lib/libplot/plot/spec/versions
+++ /dev/null
@@ -1,43 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-sparc {
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-sparcv9 {
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-i386 {
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-amd64 {
- SUNW_1.1;
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/libplot/t300/Makefile b/usr/src/lib/libplot/t300/Makefile
index 52f7d504b3..4600e4afbf 100644
--- a/usr/src/lib/libplot/t300/Makefile
+++ b/usr/src/lib/libplot/t300/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,17 +19,16 @@
# CDDL HEADER END
#
#
-# Copyright (c) 1989,1998-1999 by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libplot/t300/Makefile
+# ident "%Z%%M% %I% %E% SMI"
#
include ../../Makefile.lib
-SUBDIRS= spec .WAIT $(MACH) $(BUILD64) $(MACH64)
+SUBDIRS = $(MACH)
+$(BUILD64)SUBDIRS += $(MACH64)
all := TARGET= all
clean := TARGET= clean
@@ -44,7 +42,7 @@ lint := TARGET= lint
all clean clobber delete install lint: $(SUBDIRS)
-$(MACH) $(MACH64) spec: FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
diff --git a/usr/src/lib/libplot/t300/Makefile.com b/usr/src/lib/libplot/t300/Makefile.com
index 2d28d341bf..83c88c3d8a 100644
--- a/usr/src/lib/libplot/t300/Makefile.com
+++ b/usr/src/lib/libplot/t300/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -19,14 +18,12 @@
#
# CDDL HEADER END
#
-
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libplot/t300/Makefile.com
-#
LIBRARY= lib300.a
VERS= .1
@@ -40,9 +37,7 @@ OBJECTS= \
# include library definitions
include ../../../Makefile.lib
-MAPFILE= $(MAPDIR)/mapfile
-MAPOPTS= $(MAPFILE:%=-M %)
-SRCS= $(OBJECTS:%.o=../common/%.c)
+SRCDIR = ../common
LIBS = $(DYNLIB) $(LINTLIB)
@@ -51,18 +46,12 @@ $(LINTLIB):= SRCS=../common/llib-l300
LINTSRC= $(LINTLIB:%.ln=%)
CFLAGS += $(CCVERBOSE)
-DYNFLAGS += $(MAPOPTS)
LDLIBS += -lc -lm
.KEEP_STATE:
lint: lintcheck
-$(DYNLIB): $(MAPFILE)
-
-$(MAPFILE):
- @cd $(MAPDIR); $(MAKE) mapfile
-
# include library targets
include ../../../Makefile.targ
diff --git a/usr/src/lib/libplot/t300/amd64/Makefile b/usr/src/lib/libplot/t300/amd64/Makefile
index 7ca1ce38bf..7a373bbdcd 100644
--- a/usr/src/lib/libplot/t300/amd64/Makefile
+++ b/usr/src/lib/libplot/t300/amd64/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-MAPDIR= ../spec/amd64
-
include ../Makefile.com
include ../../../Makefile.lib.64
diff --git a/usr/src/lib/libplot/t300/common/mapfile-vers b/usr/src/lib/libplot/t300/common/mapfile-vers
new file mode 100644
index 0000000000..d47fe2d83d
--- /dev/null
+++ b/usr/src/lib/libplot/t300/common/mapfile-vers
@@ -0,0 +1,79 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNW_1.1 {
+ global:
+ arc;
+ box;
+ circle;
+ closepl;
+ closevt;
+ cont;
+ erase;
+ label;
+ line;
+ linemod;
+ move;
+ openpl;
+ openvt;
+ point;
+ space;
+};
+
+SUNWprivate_1.1 {
+ global:
+ botx;
+ boty;
+ dist2;
+ dot;
+ inplot;
+ ITTY;
+ _lib_version;
+ movep;
+ obotx;
+ oboty;
+ OUTF;
+ outplot;
+ PTTY;
+ reset;
+ scalex;
+ scaley;
+ spew;
+ swap;
+ tobotleft;
+ xconv;
+ xnow;
+ xoffset;
+ xsc;
+ xscale;
+ yconv;
+ ynow;
+ ysc;
+ yscale;
+ local:
+ *;
+};
diff --git a/usr/src/lib/libplot/t300/i386/Makefile b/usr/src/lib/libplot/t300/i386/Makefile
index be78bab600..c99a543017 100644
--- a/usr/src/lib/libplot/t300/i386/Makefile
+++ b/usr/src/lib/libplot/t300/i386/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-#pragma ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libplot/t300/i386/Makefile
-
-MAPDIR= ../spec/i386
include ../Makefile.com
diff --git a/usr/src/lib/libplot/t300/sparc/Makefile b/usr/src/lib/libplot/t300/sparc/Makefile
index eb90472fed..3fa035b373 100644
--- a/usr/src/lib/libplot/t300/sparc/Makefile
+++ b/usr/src/lib/libplot/t300/sparc/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-#pragma ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libplot/t300/sparc/Makefile
-
-MAPDIR= ../spec/sparc
include ../Makefile.com
diff --git a/usr/src/lib/libplot/t300/sparcv9/Makefile b/usr/src/lib/libplot/t300/sparcv9/Makefile
index 87ca2d9111..b10cb39a45 100644
--- a/usr/src/lib/libplot/t300/sparcv9/Makefile
+++ b/usr/src/lib/libplot/t300/sparcv9/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-#pragma ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libplot/t300/sparcv9/Makefile
-
-MAPDIR= ../spec/sparcv9
include ../Makefile.com
include ../../../Makefile.lib.64
diff --git a/usr/src/lib/libplot/t300/spec/Makefile b/usr/src/lib/libplot/t300/spec/Makefile
deleted file mode 100644
index 93fe6012d7..0000000000
--- a/usr/src/lib/libplot/t300/spec/Makefile
+++ /dev/null
@@ -1,30 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libplot/t300/spec/Makefile
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/libplot/t300/spec/Makefile.targ b/usr/src/lib/libplot/t300/spec/Makefile.targ
deleted file mode 100644
index 0eefa4fcc5..0000000000
--- a/usr/src/lib/libplot/t300/spec/Makefile.targ
+++ /dev/null
@@ -1,34 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libplot/t300/spec/Makefile.targ
-
-LIBRARY = lib300.a
-VERS = .1
-
-OBJECTS = t300.o
-
-SPECCPP =
diff --git a/usr/src/lib/libplot/t300/spec/amd64/Makefile b/usr/src/lib/libplot/t300/spec/amd64/Makefile
deleted file mode 100644
index 2a38c1cba9..0000000000
--- a/usr/src/lib/libplot/t300/spec/amd64/Makefile
+++ /dev/null
@@ -1,42 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#amd64_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libplot/t300/spec/i386/Makefile b/usr/src/lib/libplot/t300/spec/i386/Makefile
deleted file mode 100644
index 34140d9a8f..0000000000
--- a/usr/src/lib/libplot/t300/spec/i386/Makefile
+++ /dev/null
@@ -1,42 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libplot/t300/spec/i386/Makefile
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#i386_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libplot/t300/spec/sparc/Makefile b/usr/src/lib/libplot/t300/spec/sparc/Makefile
deleted file mode 100644
index 98ea9b929d..0000000000
--- a/usr/src/lib/libplot/t300/spec/sparc/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libplot/t300/spec/sparc/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#sparc_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libplot/t300/spec/sparcv9/Makefile b/usr/src/lib/libplot/t300/spec/sparcv9/Makefile
deleted file mode 100644
index e703b48efe..0000000000
--- a/usr/src/lib/libplot/t300/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,43 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libplot/t300/spec/sparcv9/Makefile
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#sparcv9_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libplot/t300/spec/t300.spec b/usr/src/lib/libplot/t300/spec/t300.spec
deleted file mode 100644
index a76fb11a55..0000000000
--- a/usr/src/lib/libplot/t300/spec/t300.spec
+++ /dev/null
@@ -1,200 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libplot/t300/spec/t300.spec
-
-function arc extends libplot/plot/spec/plot.spec
-version SUNW_1.1
-end
-
-function box extends libplot/plot/spec/plot.spec
-version SUNW_1.1
-end
-
-function circle extends libplot/plot/spec/plot.spec
-version SUNW_1.1
-end
-
-function closepl extends libplot/plot/spec/plot.spec
-version SUNW_1.1
-end
-
-function closevt extends libplot/plot/spec/plot.spec
-version SUNW_1.1
-end
-
-function cont extends libplot/plot/spec/plot.spec
-version SUNW_1.1
-end
-
-function erase extends libplot/plot/spec/plot.spec
-version SUNW_1.1
-end
-
-function label extends libplot/plot/spec/plot.spec
-version SUNW_1.1
-end
-
-function line extends libplot/plot/spec/plot.spec
-version SUNW_1.1
-end
-
-function linemod extends libplot/plot/spec/plot.spec
-version SUNW_1.1
-end
-
-function move extends libplot/plot/spec/plot.spec
-version SUNW_1.1
-end
-
-function openpl extends libplot/plot/spec/plot.spec
-version SUNW_1.1
-end
-
-function openvt extends libplot/plot/spec/plot.spec
-version SUNW_1.1
-end
-
-function point extends libplot/plot/spec/plot.spec
-version SUNW_1.1
-end
-
-function space extends libplot/plot/spec/plot.spec
-version SUNW_1.1
-end
-
-function ITTY
-version SUNWprivate_1.1
-end
-
-function PTTY
-version SUNWprivate_1.1
-end
-
-function OUTF
-version SUNWprivate_1.1
-end
-
-function inplot
-version SUNWprivate_1.1
-end
-
-function yconv
-version SUNWprivate_1.1
-end
-
-function xconv
-version SUNWprivate_1.1
-end
-
-function tobotleft
-version SUNWprivate_1.1
-end
-
-function reset
-version SUNWprivate_1.1
-end
-
-function xsc
-version SUNWprivate_1.1
-end
-
-function dist2
-version SUNWprivate_1.1
-end
-
-function obotx
-version SUNWprivate_1.1
-end
-
-function oboty
-version SUNWprivate_1.1
-end
-
-function ysc
-version SUNWprivate_1.1
-end
-
-function swap
-version SUNWprivate_1.1
-end
-
-function scalex
-version SUNWprivate_1.1
-end
-
-function scaley
-version SUNWprivate_1.1
-end
-
-function outplot
-version SUNWprivate_1.1
-end
-
-function botx
-version SUNWprivate_1.1
-end
-
-function boty
-version SUNWprivate_1.1
-end
-
-function movep
-version SUNWprivate_1.1
-end
-
-function spew
-version SUNWprivate_1.1
-end
-
-function yscale
-version SUNWprivate_1.1
-end
-
-function ynow
-version SUNWprivate_1.1
-end
-
-function xnow
-version SUNWprivate_1.1
-end
-
-function xoffset
-version SUNWprivate_1.1
-end
-
-function xscale
-version SUNWprivate_1.1
-end
-
-function dot
-version SUNWprivate_1.1
-end
-
-function _lib_version
-version SUNWprivate_1.1
-end
-
diff --git a/usr/src/lib/libplot/t300/spec/versions b/usr/src/lib/libplot/t300/spec/versions
deleted file mode 100644
index 38a2cfc77a..0000000000
--- a/usr/src/lib/libplot/t300/spec/versions
+++ /dev/null
@@ -1,43 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-sparc {
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-sparcv9 {
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-i386 {
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-amd64 {
- SUNW_1.1;
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/libplot/t300s/Makefile b/usr/src/lib/libplot/t300s/Makefile
index 0e188dc0ef..3affe1a3b3 100644
--- a/usr/src/lib/libplot/t300s/Makefile
+++ b/usr/src/lib/libplot/t300s/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,17 +19,16 @@
# CDDL HEADER END
#
#
-# Copyright (c) 1989,1998-1999 by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libplot/t300s/Makefile
+# ident "%Z%%M% %I% %E% SMI"
#
include ../../Makefile.lib
-SUBDIRS= spec $(MACH) $(BUILD64) $(MACH64)
+SUBDIRS = $(MACH)
+$(BUILD64)SUBDIRS += $(MACH64)
all := TARGET= all
clean := TARGET= clean
@@ -44,7 +42,7 @@ lint := TARGET= lint
all clean clobber delete install lint: $(SUBDIRS)
-$(MACH) $(MACH64) spec: FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
diff --git a/usr/src/lib/libplot/t300s/Makefile.com b/usr/src/lib/libplot/t300s/Makefile.com
index 3918a0eeed..556853dd87 100644
--- a/usr/src/lib/libplot/t300s/Makefile.com
+++ b/usr/src/lib/libplot/t300s/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,13 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libplot/t300s/Makefile.com
-#
LIBRARY= lib300s.a
VERS= .1
@@ -40,9 +37,7 @@ OBJECTS= \
# include library definitions
include ../../../Makefile.lib
-MAPFILE= $(MAPDIR)/mapfile
-MAPOPTS= $(MAPFILE:%=-M %)
-SRCS= $(OBJECTS:%.o=../common/%.c)
+SRCDIR = ../common
LIBS = $(DYNLIB) $(LINTLIB)
@@ -51,18 +46,12 @@ $(LINTLIB):= SRCS=../common/llib-l300s
LINTSRC= $(LINTLIB:%.ln=%)
CFLAGS += $(CCVERBOSE)
-DYNFLAGS += $(MAPOPTS)
LDLIBS += -lc -lm
.KEEP_STATE:
lint: lintcheck
-$(DYNLIB): $(MAPFILE)
-
-$(MAPFILE):
- @cd $(MAPDIR); $(MAKE) mapfile
-
# include library targets
include ../../../Makefile.targ
diff --git a/usr/src/lib/libplot/t300s/amd64/Makefile b/usr/src/lib/libplot/t300s/amd64/Makefile
index 5a418230f5..f5fbe83e2c 100644
--- a/usr/src/lib/libplot/t300s/amd64/Makefile
+++ b/usr/src/lib/libplot/t300s/amd64/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-MAPDIR= ../spec/amd64
-
include ../Makefile.com
include ../../../Makefile.lib.64
diff --git a/usr/src/lib/libplot/t300s/common/mapfile-vers b/usr/src/lib/libplot/t300s/common/mapfile-vers
new file mode 100644
index 0000000000..104d8d7dda
--- /dev/null
+++ b/usr/src/lib/libplot/t300s/common/mapfile-vers
@@ -0,0 +1,81 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNW_1.1 {
+ global:
+ arc;
+ box;
+ circle;
+ closepl;
+ closevt;
+ cont;
+ dot;
+ erase;
+ label;
+ line;
+ linemod;
+ move;
+ openpl;
+ openvt;
+ point;
+ space;
+};
+
+SUNWprivate_1.1 {
+ global:
+ botx;
+ boty;
+ deltx;
+ delty;
+ dist2;
+ inplot;
+ ITTY;
+ _lib_version;
+ movep;
+ obotx;
+ oboty;
+ OUTF;
+ outplot;
+ PTTY;
+ reset;
+ scalex;
+ scaley;
+ spew;
+ swap;
+ tobotleft;
+ xconv;
+ xnow;
+ xoffset;
+ xsc;
+ xscale;
+ yconv;
+ ynow;
+ ysc;
+ yscale;
+ local:
+ *;
+};
diff --git a/usr/src/lib/libplot/t300s/i386/Makefile b/usr/src/lib/libplot/t300s/i386/Makefile
index 2302b3d6a0..c99a543017 100644
--- a/usr/src/lib/libplot/t300s/i386/Makefile
+++ b/usr/src/lib/libplot/t300s/i386/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-#pragma ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libplot/t300s/i386/Makefile
-
-MAPDIR= ../spec/i386
include ../Makefile.com
diff --git a/usr/src/lib/libplot/t300s/sparc/Makefile b/usr/src/lib/libplot/t300s/sparc/Makefile
index 83d618f4fd..3fa035b373 100644
--- a/usr/src/lib/libplot/t300s/sparc/Makefile
+++ b/usr/src/lib/libplot/t300s/sparc/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-#pragma ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libplot/t300s/sparc/Makefile
-
-MAPDIR= ../spec/sparc
include ../Makefile.com
diff --git a/usr/src/lib/libplot/t300s/sparcv9/Makefile b/usr/src/lib/libplot/t300s/sparcv9/Makefile
index 938872cab7..ce59ffd0dd 100644
--- a/usr/src/lib/libplot/t300s/sparcv9/Makefile
+++ b/usr/src/lib/libplot/t300s/sparcv9/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-#pragma ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libplot/t300s/sparcv9/Makefile
-
-MAPDIR= ../spec/sparcv9
include ../Makefile.com
include ../../../Makefile.lib.64
diff --git a/usr/src/lib/libplot/t300s/spec/Makefile b/usr/src/lib/libplot/t300s/spec/Makefile
deleted file mode 100644
index 58f12a97d6..0000000000
--- a/usr/src/lib/libplot/t300s/spec/Makefile
+++ /dev/null
@@ -1,30 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libplot/t300s/spec/Makefile
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/libplot/t300s/spec/Makefile.targ b/usr/src/lib/libplot/t300s/spec/Makefile.targ
deleted file mode 100644
index d0b7daf600..0000000000
--- a/usr/src/lib/libplot/t300s/spec/Makefile.targ
+++ /dev/null
@@ -1,35 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libplot/t300s/spec/Makefile.targ
-
-LIBRARY = lib300s.a
-VERS = .1
-
-OBJECTS = t300s.o
-
-SPECCPP =
diff --git a/usr/src/lib/libplot/t300s/spec/amd64/Makefile b/usr/src/lib/libplot/t300s/spec/amd64/Makefile
deleted file mode 100644
index 2a38c1cba9..0000000000
--- a/usr/src/lib/libplot/t300s/spec/amd64/Makefile
+++ /dev/null
@@ -1,42 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#amd64_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libplot/t300s/spec/i386/Makefile b/usr/src/lib/libplot/t300s/spec/i386/Makefile
deleted file mode 100644
index 147605852e..0000000000
--- a/usr/src/lib/libplot/t300s/spec/i386/Makefile
+++ /dev/null
@@ -1,42 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libplot/t300s/spec/i386/Makefile
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#i386_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libplot/t300s/spec/sparc/Makefile b/usr/src/lib/libplot/t300s/spec/sparc/Makefile
deleted file mode 100644
index ed24261bad..0000000000
--- a/usr/src/lib/libplot/t300s/spec/sparc/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libplot/t300s/spec/sparc/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#sparc_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libplot/t300s/spec/sparcv9/Makefile b/usr/src/lib/libplot/t300s/spec/sparcv9/Makefile
deleted file mode 100644
index d922d70b8f..0000000000
--- a/usr/src/lib/libplot/t300s/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,43 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libplot/t300s/spec/sparcv9/Makefile
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#sparcv9_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libplot/t300s/spec/t300s.spec b/usr/src/lib/libplot/t300s/spec/t300s.spec
deleted file mode 100644
index 92aa659d88..0000000000
--- a/usr/src/lib/libplot/t300s/spec/t300s.spec
+++ /dev/null
@@ -1,208 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libplot/t300s/spec/t300s.spec
-
-function arc extends libplot/plot/spec/plot.spec
-version SUNW_1.1
-end
-
-function box extends libplot/plot/spec/plot.spec
-version SUNW_1.1
-end
-
-function circle extends libplot/plot/spec/plot.spec
-version SUNW_1.1
-end
-
-function closepl extends libplot/plot/spec/plot.spec
-version SUNW_1.1
-end
-
-function closevt extends libplot/plot/spec/plot.spec
-version SUNW_1.1
-end
-
-function cont extends libplot/plot/spec/plot.spec
-version SUNW_1.1
-end
-
-function dot extends libplot/plot/spec/plot.spec
-version SUNW_1.1
-end
-
-function erase extends libplot/plot/spec/plot.spec
-version SUNW_1.1
-end
-
-function label extends libplot/plot/spec/plot.spec
-version SUNW_1.1
-end
-
-function line extends libplot/plot/spec/plot.spec
-version SUNW_1.1
-end
-
-function linemod extends libplot/plot/spec/plot.spec
-version SUNW_1.1
-end
-
-function move extends libplot/plot/spec/plot.spec
-version SUNW_1.1
-end
-
-function openpl extends libplot/plot/spec/plot.spec
-version SUNW_1.1
-end
-
-function openvt extends libplot/plot/spec/plot.spec
-version SUNW_1.1
-end
-
-function point extends libplot/plot/spec/plot.spec
-version SUNW_1.1
-end
-
-function space extends libplot/plot/spec/plot.spec
-version SUNW_1.1
-end
-
-function inplot
-version SUNWprivate_1.1
-end
-
-function yconv
-version SUNWprivate_1.1
-end
-
-function xconv
-version SUNWprivate_1.1
-end
-
-function tobotleft
-version SUNWprivate_1.1
-end
-
-function reset
-version SUNWprivate_1.1
-end
-
-function xsc
-version SUNWprivate_1.1
-end
-
-function dist2
-version SUNWprivate_1.1
-end
-
-function obotx
-version SUNWprivate_1.1
-end
-
-function oboty
-version SUNWprivate_1.1
-end
-
-function deltx
-version SUNWprivate_1.1
-end
-
-function delty
-version SUNWprivate_1.1
-end
-
-function ysc
-version SUNWprivate_1.1
-end
-
-function swap
-version SUNWprivate_1.1
-end
-
-function scalex
-version SUNWprivate_1.1
-end
-
-function scaley
-version SUNWprivate_1.1
-end
-
-function outplot
-version SUNWprivate_1.1
-end
-
-function botx
-version SUNWprivate_1.1
-end
-
-function boty
-version SUNWprivate_1.1
-end
-
-function movep
-version SUNWprivate_1.1
-end
-
-function xnow
-version SUNWprivate_1.1
-end
-
-function ynow
-version SUNWprivate_1.1
-end
-
-function spew
-version SUNWprivate_1.1
-end
-
-function ITTY
-version SUNWprivate_1.1
-end
-
-function PTTY
-version SUNWprivate_1.1
-end
-
-function OUTF
-version SUNWprivate_1.1
-end
-
-function xoffset
-version SUNWprivate_1.1
-end
-
-function xscale
-version SUNWprivate_1.1
-end
-
-function yscale
-version SUNWprivate_1.1
-end
-
-function _lib_version
-version SUNWprivate_1.1
-end
-
diff --git a/usr/src/lib/libplot/t300s/spec/versions b/usr/src/lib/libplot/t300s/spec/versions
deleted file mode 100644
index 38a2cfc77a..0000000000
--- a/usr/src/lib/libplot/t300s/spec/versions
+++ /dev/null
@@ -1,43 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-sparc {
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-sparcv9 {
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-i386 {
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-amd64 {
- SUNW_1.1;
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/libplot/t4014/Makefile b/usr/src/lib/libplot/t4014/Makefile
index b574371379..6150f281b5 100644
--- a/usr/src/lib/libplot/t4014/Makefile
+++ b/usr/src/lib/libplot/t4014/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,17 +19,16 @@
# CDDL HEADER END
#
#
-# Copyright (c) 1989,1992,1998-1999 by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libplot/t4014/Makefile
+# ident "%Z%%M% %I% %E% SMI"
#
include ../../Makefile.lib
-SUBDIRS= spec .WAIT $(MACH) $(BUILD64) $(MACH64)
+SUBDIRS = $(MACH)
+$(BUILD64)SUBDIRS += $(MACH64)
all := TARGET= all
clean := TARGET= clean
@@ -44,7 +42,7 @@ lint := TARGET= lint
all clean clobber delete install lint: $(SUBDIRS)
-$(MACH) $(MACH64) spec: FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
diff --git a/usr/src/lib/libplot/t4014/Makefile.com b/usr/src/lib/libplot/t4014/Makefile.com
index 8607861a28..ddba3f5b83 100644
--- a/usr/src/lib/libplot/t4014/Makefile.com
+++ b/usr/src/lib/libplot/t4014/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,13 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libplot/t4014/Makefile.com
-#
LIBRARY= lib4014.a
VERS= .1
@@ -40,29 +37,19 @@ OBJECTS= \
# include library definitions
include ../../../Makefile.lib
-MAPFILE= $(MAPDIR)/mapfile
-MAPOPTS= $(MAPFILE:%=-M %)
-SRCS= $(OBJECTS:%.o=../common/%.c)
-
-CLOBBERFILES += $(MAPFILE)
+SRCDIR = ../common
LIBS = $(DYNLIB) $(LINTLIB)
LINTSRC= $(LINTLIB:%.ln=%)
CFLAGS += $(CCVERBOSE)
-DYNFLAGS += $(MAPOPTS)
LDLIBS += -lc -lm
.KEEP_STATE:
lint: lintcheck
-$(DYNLIB): $(MAPFILE)
-
-$(MAPFILE):
- @cd $(MAPDIR); $(MAKE) mapfile
-
# include library targets
include ../../../Makefile.targ
diff --git a/usr/src/lib/libplot/t4014/amd64/Makefile b/usr/src/lib/libplot/t4014/amd64/Makefile
index 5a418230f5..f5fbe83e2c 100644
--- a/usr/src/lib/libplot/t4014/amd64/Makefile
+++ b/usr/src/lib/libplot/t4014/amd64/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-MAPDIR= ../spec/amd64
-
include ../Makefile.com
include ../../../Makefile.lib.64
diff --git a/usr/src/lib/libplot/t4014/common/mapfile-vers b/usr/src/lib/libplot/t4014/common/mapfile-vers
new file mode 100644
index 0000000000..38ac152e12
--- /dev/null
+++ b/usr/src/lib/libplot/t4014/common/mapfile-vers
@@ -0,0 +1,65 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNW_1.1 {
+ global:
+ arc;
+ box;
+ circle;
+ closepl;
+ closevt;
+ cont;
+ dot;
+ erase;
+ label;
+ line;
+ linemod;
+ move;
+ openpl;
+ openvt;
+ point;
+ space;
+};
+
+SUNWprivate_1.1 {
+ global:
+ botx;
+ boty;
+ _lib_version;
+ obotx;
+ oboty;
+ oextra;
+ ohix;
+ ohiy;
+ oloy;
+ putch;
+ scaleflag;
+ scalex;
+ scaley;
+ local:
+ *;
+};
diff --git a/usr/src/lib/libplot/t4014/i386/Makefile b/usr/src/lib/libplot/t4014/i386/Makefile
index 036dad49c9..3fa035b373 100644
--- a/usr/src/lib/libplot/t4014/i386/Makefile
+++ b/usr/src/lib/libplot/t4014/i386/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-#pragma ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libplot/plot/i386/Makefile
-
-MAPDIR= ../spec/i386
include ../Makefile.com
diff --git a/usr/src/lib/libplot/t4014/sparc/Makefile b/usr/src/lib/libplot/t4014/sparc/Makefile
index d0196b39cc..3fa035b373 100644
--- a/usr/src/lib/libplot/t4014/sparc/Makefile
+++ b/usr/src/lib/libplot/t4014/sparc/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-#pragma ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libplot/plot/sparc/Makefile
-
-MAPDIR= ../spec/sparc
include ../Makefile.com
diff --git a/usr/src/lib/libplot/t4014/sparcv9/Makefile b/usr/src/lib/libplot/t4014/sparcv9/Makefile
index 99c1745c9b..ce59ffd0dd 100644
--- a/usr/src/lib/libplot/t4014/sparcv9/Makefile
+++ b/usr/src/lib/libplot/t4014/sparcv9/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-#pragma ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libplot/plot/sparcv9/Makefile
-
-MAPDIR= ../spec/sparcv9
include ../Makefile.com
include ../../../Makefile.lib.64
diff --git a/usr/src/lib/libplot/t4014/spec/Makefile b/usr/src/lib/libplot/t4014/spec/Makefile
deleted file mode 100644
index 2d90e25b62..0000000000
--- a/usr/src/lib/libplot/t4014/spec/Makefile
+++ /dev/null
@@ -1,30 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libplot/t4014/spec/Makefile
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/libplot/t4014/spec/Makefile.targ b/usr/src/lib/libplot/t4014/spec/Makefile.targ
deleted file mode 100644
index 4113761ecb..0000000000
--- a/usr/src/lib/libplot/t4014/spec/Makefile.targ
+++ /dev/null
@@ -1,35 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libplot/t4014/spec/Makefile.targ
-
-LIBRARY = lib4014.a
-VERS = .1
-
-OBJECTS = t4014.o
-
-SPECCPP =
diff --git a/usr/src/lib/libplot/t4014/spec/amd64/Makefile b/usr/src/lib/libplot/t4014/spec/amd64/Makefile
deleted file mode 100644
index 2a38c1cba9..0000000000
--- a/usr/src/lib/libplot/t4014/spec/amd64/Makefile
+++ /dev/null
@@ -1,42 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#amd64_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libplot/t4014/spec/i386/Makefile b/usr/src/lib/libplot/t4014/spec/i386/Makefile
deleted file mode 100644
index 78d1350294..0000000000
--- a/usr/src/lib/libplot/t4014/spec/i386/Makefile
+++ /dev/null
@@ -1,42 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libplot/t4014/spec/i386/Makefile
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#i386_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libplot/t4014/spec/sparc/Makefile b/usr/src/lib/libplot/t4014/spec/sparc/Makefile
deleted file mode 100644
index f53a9b8021..0000000000
--- a/usr/src/lib/libplot/t4014/spec/sparc/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libplot/t4014/spec/sparc/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#sparc_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libplot/t4014/spec/sparcv9/Makefile b/usr/src/lib/libplot/t4014/spec/sparcv9/Makefile
deleted file mode 100644
index 6d7e683133..0000000000
--- a/usr/src/lib/libplot/t4014/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,43 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libplot/t4014/spec/sparcv9/Makefile
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#sparcv9_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libplot/t4014/spec/t4014.spec b/usr/src/lib/libplot/t4014/spec/t4014.spec
deleted file mode 100644
index ae4b72e555..0000000000
--- a/usr/src/lib/libplot/t4014/spec/t4014.spec
+++ /dev/null
@@ -1,144 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libplot/t4014/spec/t4014.spec
-
-function arc extends libplot/plot/spec/plot.spec
-version SUNW_1.1
-end
-
-function box extends libplot/plot/spec/plot.spec
-version SUNW_1.1
-end
-
-function circle extends libplot/plot/spec/plot.spec
-version SUNW_1.1
-end
-
-function closepl extends libplot/plot/spec/plot.spec
-version SUNW_1.1
-end
-
-function closevt extends libplot/plot/spec/plot.spec
-version SUNW_1.1
-end
-
-function cont extends libplot/plot/spec/plot.spec
-version SUNW_1.1
-end
-
-function dot extends libplot/plot/spec/plot.spec
-version SUNW_1.1
-end
-
-function erase extends libplot/plot/spec/plot.spec
-version SUNW_1.1
-end
-
-function label extends libplot/plot/spec/plot.spec
-version SUNW_1.1
-end
-
-function line extends libplot/plot/spec/plot.spec
-version SUNW_1.1
-end
-
-function linemod extends libplot/plot/spec/plot.spec
-version SUNW_1.1
-end
-
-function move extends libplot/plot/spec/plot.spec
-version SUNW_1.1
-end
-
-function openpl extends libplot/plot/spec/plot.spec
-version SUNW_1.1
-end
-
-function openvt extends libplot/plot/spec/plot.spec
-version SUNW_1.1
-end
-
-function point extends libplot/plot/spec/plot.spec
-version SUNW_1.1
-end
-
-function space extends libplot/plot/spec/plot.spec
-version SUNW_1.1
-end
-
-function obotx
-version SUNWprivate_1.1
-end
-
-function oboty
-version SUNWprivate_1.1
-end
-
-function scalex
-version SUNWprivate_1.1
-end
-
-function scaley
-version SUNWprivate_1.1
-end
-
-function ohix
-version SUNWprivate_1.1
-end
-
-function ohiy
-version SUNWprivate_1.1
-end
-
-function oloy
-version SUNWprivate_1.1
-end
-
-function botx
-version SUNWprivate_1.1
-end
-
-function boty
-version SUNWprivate_1.1
-end
-
-function oextra
-version SUNWprivate_1.1
-end
-
-function scaleflag
-version SUNWprivate_1.1
-end
-
-function putch
-version SUNWprivate_1.1
-end
-
-function _lib_version
-version SUNWprivate_1.1
-end
-
diff --git a/usr/src/lib/libplot/t4014/spec/versions b/usr/src/lib/libplot/t4014/spec/versions
deleted file mode 100644
index 38a2cfc77a..0000000000
--- a/usr/src/lib/libplot/t4014/spec/versions
+++ /dev/null
@@ -1,43 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-sparc {
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-sparcv9 {
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-i386 {
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-amd64 {
- SUNW_1.1;
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/libplot/t450/Makefile b/usr/src/lib/libplot/t450/Makefile
index 5c812d99d9..3affe1a3b3 100644
--- a/usr/src/lib/libplot/t450/Makefile
+++ b/usr/src/lib/libplot/t450/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,17 +19,16 @@
# CDDL HEADER END
#
#
-# Copyright (c) 1989,1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libplot/t450/Makefile
+# ident "%Z%%M% %I% %E% SMI"
#
include ../../Makefile.lib
-SUBDIRS= spec $(MACH) $(BUILD64) $(MACH64)
+SUBDIRS = $(MACH)
+$(BUILD64)SUBDIRS += $(MACH64)
all := TARGET= all
clean := TARGET= clean
@@ -44,7 +42,7 @@ lint := TARGET= lint
all clean clobber delete install lint: $(SUBDIRS)
-$(MACH) $(MACH64) spec: FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
diff --git a/usr/src/lib/libplot/t450/Makefile.com b/usr/src/lib/libplot/t450/Makefile.com
index 590471d6d2..b2c268ca89 100644
--- a/usr/src/lib/libplot/t450/Makefile.com
+++ b/usr/src/lib/libplot/t450/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,13 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libplot/t450/Makefile.com
-#
LIBRARY= lib450.a
VERS= .1
@@ -40,9 +37,7 @@ OBJECTS= \
# include library definitions
include ../../../Makefile.lib
-MAPFILE= $(MAPDIR)/mapfile
-MAPOPTS= $(MAPFILE:%=-M %)
-SRCS= $(OBJECTS:%.o=../common/%.c)
+SRCDIR = ../common
LIBS = $(DYNLIB) $(LINTLIB)
@@ -51,18 +46,12 @@ $(LINTLIB):= SRCS=../common/llib-l450
LINTSRC= $(LINTLIB:%.ln=%)
CFLAGS += $(CCVERBOSE)
-DYNFLAGS += $(MAPOPTS)
LDLIBS += -lc -lm
.KEEP_STATE:
lint: lintcheck
-$(DYNLIB): $(MAPFILE)
-
-$(MAPFILE):
- @cd $(MAPDIR); $(MAKE) mapfile
-
# include library targets
include ../../../Makefile.targ
diff --git a/usr/src/lib/libplot/t450/amd64/Makefile b/usr/src/lib/libplot/t450/amd64/Makefile
index 5a418230f5..f5fbe83e2c 100644
--- a/usr/src/lib/libplot/t450/amd64/Makefile
+++ b/usr/src/lib/libplot/t450/amd64/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-MAPDIR= ../spec/amd64
-
include ../Makefile.com
include ../../../Makefile.lib.64
diff --git a/usr/src/lib/libplot/t450/common/mapfile-vers b/usr/src/lib/libplot/t450/common/mapfile-vers
new file mode 100644
index 0000000000..d47fe2d83d
--- /dev/null
+++ b/usr/src/lib/libplot/t450/common/mapfile-vers
@@ -0,0 +1,79 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNW_1.1 {
+ global:
+ arc;
+ box;
+ circle;
+ closepl;
+ closevt;
+ cont;
+ erase;
+ label;
+ line;
+ linemod;
+ move;
+ openpl;
+ openvt;
+ point;
+ space;
+};
+
+SUNWprivate_1.1 {
+ global:
+ botx;
+ boty;
+ dist2;
+ dot;
+ inplot;
+ ITTY;
+ _lib_version;
+ movep;
+ obotx;
+ oboty;
+ OUTF;
+ outplot;
+ PTTY;
+ reset;
+ scalex;
+ scaley;
+ spew;
+ swap;
+ tobotleft;
+ xconv;
+ xnow;
+ xoffset;
+ xsc;
+ xscale;
+ yconv;
+ ynow;
+ ysc;
+ yscale;
+ local:
+ *;
+};
diff --git a/usr/src/lib/libplot/t450/i386/Makefile b/usr/src/lib/libplot/t450/i386/Makefile
index 1edc4d6ef6..3fa035b373 100644
--- a/usr/src/lib/libplot/t450/i386/Makefile
+++ b/usr/src/lib/libplot/t450/i386/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-#pragma ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libplot/t450/i386/Makefile
-
-MAPDIR= ../spec/i386
include ../Makefile.com
diff --git a/usr/src/lib/libplot/t450/sparc/Makefile b/usr/src/lib/libplot/t450/sparc/Makefile
index ead6b4b084..3fa035b373 100644
--- a/usr/src/lib/libplot/t450/sparc/Makefile
+++ b/usr/src/lib/libplot/t450/sparc/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-#pragma ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libplot/t450/sparc/Makefile
-
-MAPDIR= ../spec/sparc
include ../Makefile.com
diff --git a/usr/src/lib/libplot/t450/sparcv9/Makefile b/usr/src/lib/libplot/t450/sparcv9/Makefile
index 993a795538..ce59ffd0dd 100644
--- a/usr/src/lib/libplot/t450/sparcv9/Makefile
+++ b/usr/src/lib/libplot/t450/sparcv9/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-#pragma ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libplot/t450/sparcv9/Makefile
-
-MAPDIR= ../spec/sparcv9
include ../Makefile.com
include ../../../Makefile.lib.64
diff --git a/usr/src/lib/libplot/t450/spec/Makefile b/usr/src/lib/libplot/t450/spec/Makefile
deleted file mode 100644
index 5bddab677c..0000000000
--- a/usr/src/lib/libplot/t450/spec/Makefile
+++ /dev/null
@@ -1,30 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libplot/t450/spec/Makefile
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/libplot/t450/spec/Makefile.targ b/usr/src/lib/libplot/t450/spec/Makefile.targ
deleted file mode 100644
index f06f8fec28..0000000000
--- a/usr/src/lib/libplot/t450/spec/Makefile.targ
+++ /dev/null
@@ -1,35 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libplot/t450/spec/Makefile.targ
-
-LIBRARY = lib450.a
-VERS = .1
-
-OBJECTS = t450.o
-
-SPECCPP =
diff --git a/usr/src/lib/libplot/t450/spec/amd64/Makefile b/usr/src/lib/libplot/t450/spec/amd64/Makefile
deleted file mode 100644
index 2a38c1cba9..0000000000
--- a/usr/src/lib/libplot/t450/spec/amd64/Makefile
+++ /dev/null
@@ -1,42 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#amd64_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libplot/t450/spec/i386/Makefile b/usr/src/lib/libplot/t450/spec/i386/Makefile
deleted file mode 100644
index 7f79ddec84..0000000000
--- a/usr/src/lib/libplot/t450/spec/i386/Makefile
+++ /dev/null
@@ -1,42 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libplot/plot/spec/i386/Makefile
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#i386_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libplot/t450/spec/sparc/Makefile b/usr/src/lib/libplot/t450/spec/sparc/Makefile
deleted file mode 100644
index a8ff490ca5..0000000000
--- a/usr/src/lib/libplot/t450/spec/sparc/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libplot/t450/spec/sparc/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#sparc_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libplot/t450/spec/sparcv9/Makefile b/usr/src/lib/libplot/t450/spec/sparcv9/Makefile
deleted file mode 100644
index b2d1027e46..0000000000
--- a/usr/src/lib/libplot/t450/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,43 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libplot/t450/spec/sparcv9/Makefile
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#sparcv9_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libplot/t450/spec/t450.spec b/usr/src/lib/libplot/t450/spec/t450.spec
deleted file mode 100644
index 4037bbf5fa..0000000000
--- a/usr/src/lib/libplot/t450/spec/t450.spec
+++ /dev/null
@@ -1,200 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libplot/t450/spec/t450.spec
-
-function arc extends libplot/plot/spec/plot.spec
-version SUNW_1.1
-end
-
-function box extends libplot/plot/spec/plot.spec
-version SUNW_1.1
-end
-
-function circle extends libplot/plot/spec/plot.spec
-version SUNW_1.1
-end
-
-function closepl extends libplot/plot/spec/plot.spec
-version SUNW_1.1
-end
-
-function closevt extends libplot/plot/spec/plot.spec
-version SUNW_1.1
-end
-
-function cont extends libplot/plot/spec/plot.spec
-version SUNW_1.1
-end
-
-function erase extends libplot/plot/spec/plot.spec
-version SUNW_1.1
-end
-
-function label extends libplot/plot/spec/plot.spec
-version SUNW_1.1
-end
-
-function line extends libplot/plot/spec/plot.spec
-version SUNW_1.1
-end
-
-function linemod extends libplot/plot/spec/plot.spec
-version SUNW_1.1
-end
-
-function move extends libplot/plot/spec/plot.spec
-version SUNW_1.1
-end
-
-function openpl extends libplot/plot/spec/plot.spec
-version SUNW_1.1
-end
-
-function openvt extends libplot/plot/spec/plot.spec
-version SUNW_1.1
-end
-
-function point extends libplot/plot/spec/plot.spec
-version SUNW_1.1
-end
-
-function space extends libplot/plot/spec/plot.spec
-version SUNW_1.1
-end
-
-function inplot
-version SUNWprivate_1.1
-end
-
-function yconv
-version SUNWprivate_1.1
-end
-
-function xconv
-version SUNWprivate_1.1
-end
-
-function tobotleft
-version SUNWprivate_1.1
-end
-
-function reset
-version SUNWprivate_1.1
-end
-
-function xsc
-version SUNWprivate_1.1
-end
-
-function dist2
-version SUNWprivate_1.1
-end
-
-function obotx
-version SUNWprivate_1.1
-end
-
-function oboty
-version SUNWprivate_1.1
-end
-
-function ysc
-version SUNWprivate_1.1
-end
-
-function swap
-version SUNWprivate_1.1
-end
-
-function scalex
-version SUNWprivate_1.1
-end
-
-function scaley
-version SUNWprivate_1.1
-end
-
-function outplot
-version SUNWprivate_1.1
-end
-
-function botx
-version SUNWprivate_1.1
-end
-
-function boty
-version SUNWprivate_1.1
-end
-
-function movep
-version SUNWprivate_1.1
-end
-
-function spew
-version SUNWprivate_1.1
-end
-
-function ITTY
-version SUNWprivate_1.1
-end
-
-function xoffset
-version SUNWprivate_1.1
-end
-
-function PTTY
-version SUNWprivate_1.1
-end
-
-function xscale
-version SUNWprivate_1.1
-end
-
-function yscale
-version SUNWprivate_1.1
-end
-
-function dot
-version SUNWprivate_1.1
-end
-
-function OUTF
-version SUNWprivate_1.1
-end
-
-function xnow
-version SUNWprivate_1.1
-end
-
-function ynow
-version SUNWprivate_1.1
-end
-
-function _lib_version
-version SUNWprivate_1.1
-end
-
diff --git a/usr/src/lib/libplot/t450/spec/versions b/usr/src/lib/libplot/t450/spec/versions
deleted file mode 100644
index 38a2cfc77a..0000000000
--- a/usr/src/lib/libplot/t450/spec/versions
+++ /dev/null
@@ -1,43 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-sparc {
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-sparcv9 {
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-i386 {
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-amd64 {
- SUNW_1.1;
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/libplot/vt0/Makefile b/usr/src/lib/libplot/vt0/Makefile
index 55878b5bf6..f6a079520d 100644
--- a/usr/src/lib/libplot/vt0/Makefile
+++ b/usr/src/lib/libplot/vt0/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,18 +19,16 @@
# CDDL HEADER END
#
#
-# Copyright (c) 1989,1998-1999 by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-#pragma ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libplot/vt0/Makefile
-#
-#LIBRARY= libvt0.a
include ../../Makefile.lib
-SUBDIRS= spec .WAIT $(MACH) $(BUILD64) $(MACH64)
+SUBDIRS = $(MACH)
+$(BUILD64)SUBDIRS += $(MACH64)
all := TARGET= all
clean := TARGET= clean
@@ -47,7 +44,7 @@ package := TARGET= package
all clean clobber delete install lint catalog package: $(SUBDIRS)
-$(MACH) $(MACH64) spec: FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
diff --git a/usr/src/lib/libplot/vt0/Makefile.com b/usr/src/lib/libplot/vt0/Makefile.com
index f3cd3fd7f6..a8ef8c8590 100644
--- a/usr/src/lib/libplot/vt0/Makefile.com
+++ b/usr/src/lib/libplot/vt0/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,13 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libplot/vt0/Makefile.com
-#
LIBRARY= libvt0.a
VERS= .1
@@ -40,9 +37,7 @@ OBJECTS= \
# include library definitions
include ../../../Makefile.lib
-MAPFILE= $(MAPDIR)/mapfile
-MAPOPTS= $(MAPFILE:%=-M %)
-SRCS= $(OBJECTS:%.o=../common/%.c)
+SRCDIR = ../common
LIBS = $(DYNLIB) $(LINTLIB)
@@ -51,18 +46,12 @@ $(LINTLIB):= SRCS=../common/llib-lvt0
LINTSRC= $(LINTLIB:%.ln=%)
CFLAGS += $(CCVERBOSE)
-DYNFLAGS += $(MAPOPTS)
LDLIBS += -lc
.KEEP_STATE:
lint: lintcheck
-$(DYNLIB): $(MAPFILE)
-
-$(MAPFILE):
- @cd $(MAPDIR); $(MAKE) mapfile
-
# include library targets
include ../../../Makefile.targ
diff --git a/usr/src/lib/libplot/vt0/amd64/Makefile b/usr/src/lib/libplot/vt0/amd64/Makefile
index 0128e6d41e..f5fbe83e2c 100644
--- a/usr/src/lib/libplot/vt0/amd64/Makefile
+++ b/usr/src/lib/libplot/vt0/amd64/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,13 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-MAPDIR= ../spec/amd64
include ../Makefile.com
include ../../../Makefile.lib.64
diff --git a/usr/src/lib/libplot/vt0/common/mapfile-vers b/usr/src/lib/libplot/vt0/common/mapfile-vers
new file mode 100644
index 0000000000..47b749b8a0
--- /dev/null
+++ b/usr/src/lib/libplot/vt0/common/mapfile-vers
@@ -0,0 +1,67 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNW_1.1 {
+ global:
+ arc;
+ box;
+ circle;
+ closepl;
+ closevt;
+ cont;
+ dot;
+ erase;
+ frame;
+ label;
+ line;
+ linemod;
+ move;
+ openpl;
+ openvt;
+ point;
+ space;
+};
+
+SUNWprivate_1.1 {
+ global:
+ botx;
+ boty;
+ deltx;
+ delty;
+ _lib_version;
+ obotx;
+ oboty;
+ scalex;
+ scaley;
+ vti;
+ xnow;
+ xsc;
+ ynow;
+ ysc;
+ local:
+ *;
+};
diff --git a/usr/src/lib/libplot/vt0/i386/Makefile b/usr/src/lib/libplot/vt0/i386/Makefile
index 703181103d..3fa035b373 100644
--- a/usr/src/lib/libplot/vt0/i386/Makefile
+++ b/usr/src/lib/libplot/vt0/i386/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,13 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-#pragma ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libplot/vt0/i386/Makefile
-MAPDIR= ../spec/i386
+
include ../Makefile.com
all: $(LIBS)
diff --git a/usr/src/lib/libplot/vt0/sparc/Makefile b/usr/src/lib/libplot/vt0/sparc/Makefile
index 9eeb6f9703..3fa035b373 100644
--- a/usr/src/lib/libplot/vt0/sparc/Makefile
+++ b/usr/src/lib/libplot/vt0/sparc/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-#pragma ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libplot/vt0/sparc/Makefile
-MAPDIR= ../spec/sparc
include ../Makefile.com
all: $(LIBS)
diff --git a/usr/src/lib/libplot/vt0/sparcv9/Makefile b/usr/src/lib/libplot/vt0/sparcv9/Makefile
index de1f0aedc2..ce59ffd0dd 100644
--- a/usr/src/lib/libplot/vt0/sparcv9/Makefile
+++ b/usr/src/lib/libplot/vt0/sparcv9/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-#pragma ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libplot/vt0/sparcv9/Makefile
-MAPDIR= ../spec/sparcv9
include ../Makefile.com
include ../../../Makefile.lib.64
diff --git a/usr/src/lib/libplot/vt0/spec/Makefile b/usr/src/lib/libplot/vt0/spec/Makefile
deleted file mode 100644
index a45ac5db53..0000000000
--- a/usr/src/lib/libplot/vt0/spec/Makefile
+++ /dev/null
@@ -1,30 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libplot/vt0/spec/Makefile
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/libplot/vt0/spec/Makefile.targ b/usr/src/lib/libplot/vt0/spec/Makefile.targ
deleted file mode 100644
index d9694ec076..0000000000
--- a/usr/src/lib/libplot/vt0/spec/Makefile.targ
+++ /dev/null
@@ -1,35 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libplot/vt0/spec/Makefile.targ
-
-LIBRARY = libvt0.a
-VERS = .1
-
-OBJECTS = vt0.o
-
-SPECCPP =
diff --git a/usr/src/lib/libplot/vt0/spec/amd64/Makefile b/usr/src/lib/libplot/vt0/spec/amd64/Makefile
deleted file mode 100644
index 2a38c1cba9..0000000000
--- a/usr/src/lib/libplot/vt0/spec/amd64/Makefile
+++ /dev/null
@@ -1,42 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#amd64_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libplot/vt0/spec/i386/Makefile b/usr/src/lib/libplot/vt0/spec/i386/Makefile
deleted file mode 100644
index 79f9865fd2..0000000000
--- a/usr/src/lib/libplot/vt0/spec/i386/Makefile
+++ /dev/null
@@ -1,42 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libplot/vt0/spec/i386/Makefile
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#i386_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libplot/vt0/spec/sparc/Makefile b/usr/src/lib/libplot/vt0/spec/sparc/Makefile
deleted file mode 100644
index 6c39d2ba11..0000000000
--- a/usr/src/lib/libplot/vt0/spec/sparc/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libplot/vt0/spec/sparc/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#sparc_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libplot/vt0/spec/sparcv9/Makefile b/usr/src/lib/libplot/vt0/spec/sparcv9/Makefile
deleted file mode 100644
index 4eb6eca6bf..0000000000
--- a/usr/src/lib/libplot/vt0/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,43 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libplot/vt0/spec/sparcv9/Makefile
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#sparcv9_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libplot/vt0/spec/versions b/usr/src/lib/libplot/vt0/spec/versions
deleted file mode 100644
index 38a2cfc77a..0000000000
--- a/usr/src/lib/libplot/vt0/spec/versions
+++ /dev/null
@@ -1,43 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-sparc {
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-sparcv9 {
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-i386 {
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-amd64 {
- SUNW_1.1;
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/libplot/vt0/spec/vt0.spec b/usr/src/lib/libplot/vt0/spec/vt0.spec
deleted file mode 100644
index 7ad2e273cf..0000000000
--- a/usr/src/lib/libplot/vt0/spec/vt0.spec
+++ /dev/null
@@ -1,154 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libplot/vt0/spec/vt0.spec
-
-function arc extends libplot/plot/spec/plot.spec
-version SUNW_1.1
-end
-
-function box extends libplot/plot/spec/plot.spec
-version SUNW_1.1
-end
-
-function circle extends libplot/plot/spec/plot.spec
-version SUNW_1.1
-end
-
-function closepl extends libplot/plot/spec/plot.spec
-version SUNW_1.1
-end
-
-function closevt extends libplot/plot/spec/plot.spec
-version SUNW_1.1
-end
-
-function cont extends libplot/plot/spec/plot.spec
-version SUNW_1.1
-end
-
-function dot extends libplot/plot/spec/plot.spec
-version SUNW_1.1
-end
-
-function erase extends libplot/plot/spec/plot.spec
-version SUNW_1.1
-end
-
-function frame
-include <plot.h>
-declaration void frame(int n)
-version SUNW_1.1
-end
-
-function label extends libplot/plot/spec/plot.spec
-version SUNW_1.1
-end
-
-function line extends libplot/plot/spec/plot.spec
-version SUNW_1.1
-end
-
-function linemod extends libplot/plot/spec/plot.spec
-version SUNW_1.1
-end
-
-function move extends libplot/plot/spec/plot.spec
-version SUNW_1.1
-end
-
-function openpl extends libplot/plot/spec/plot.spec
-version SUNW_1.1
-end
-
-function openvt extends libplot/plot/spec/plot.spec
-version SUNW_1.1
-end
-
-function point extends libplot/plot/spec/plot.spec
-version SUNW_1.1
-end
-
-function space extends libplot/plot/spec/plot.spec
-version SUNW_1.1
-end
-
-function xsc
-version SUNWprivate_1.1
-end
-
-function ysc
-version SUNWprivate_1.1
-end
-
-function obotx
-version SUNWprivate_1.1
-end
-
-function oboty
-version SUNWprivate_1.1
-end
-
-function scalex
-version SUNWprivate_1.1
-end
-
-function scaley
-version SUNWprivate_1.1
-end
-
-function vti
-version SUNWprivate_1.1
-end
-
-function xnow
-version SUNWprivate_1.1
-end
-
-function ynow
-version SUNWprivate_1.1
-end
-
-function botx
-version SUNWprivate_1.1
-end
-
-function boty
-version SUNWprivate_1.1
-end
-
-function deltx
-version SUNWprivate_1.1
-end
-
-function delty
-version SUNWprivate_1.1
-end
-
-function _lib_version
-version SUNWprivate_1.1
-end
-
diff --git a/usr/src/lib/libpool/Makefile b/usr/src/lib/libpool/Makefile
index 06172886db..c9e929b86e 100644
--- a/usr/src/lib/libpool/Makefile
+++ b/usr/src/lib/libpool/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,12 +19,10 @@
# CDDL HEADER END
#
#
-# Copyright (c) 2001 by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libpool/Makefile
+# ident "%Z%%M% %I% %E% SMI"
#
include ../Makefile.lib
@@ -76,12 +73,10 @@ $(XMLDIR)/%: %
.KEEP_STATE:
-all clean clobber install: spec .WAIT $(SUBDIRS)
+all clean clobber install lint: $(SUBDIRS)
$(POFILE): pofile_MSGFILES
-lint: $(SUBDIRS)
-
install: $(ROOTDTDS)
install_h: $(ROOTHDRS)
@@ -90,7 +85,7 @@ check: $(CHECKHDRS)
_msg: $(MSGDOMAINPOFILE)
-spec $(SUBDIRS): FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
diff --git a/usr/src/lib/libpool/Makefile.com b/usr/src/lib/libpool/Makefile.com
index 76a1b880d3..0431dc906e 100644
--- a/usr/src/lib/libpool/Makefile.com
+++ b/usr/src/lib/libpool/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,13 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# libpool/Makefile.com
-#
LIBRARY = libpool.a
VERS = .1
@@ -48,11 +45,9 @@ DYNFLAGS += -lxml2
LIBS = $(DYNLIB) $(LINTLIB)
LDLIBS += -lnvpair -lexacct -lc
-$(LINTLIB) := SRCS = $(SRCDIR)/$(LINTSRC)
SRCDIR = ../common
-MAPDIR = ../spec/$(TRANSMACH)
-SPECMAPFILE = $(MAPDIR)/mapfile
+$(LINTLIB) := SRCS = $(SRCDIR)/$(LINTSRC)
CFLAGS += $(CCVERBOSE)
CPPFLAGS += -D_REENTRANT -D_FILE_OFFSET_BITS=64 -I/usr/include/libxml2
diff --git a/usr/src/lib/libpool/common/mapfile-vers b/usr/src/lib/libpool/common/mapfile-vers
new file mode 100644
index 0000000000..436d5d062e
--- /dev/null
+++ b/usr/src/lib/libpool/common/mapfile-vers
@@ -0,0 +1,108 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+# There really should be only one SUNWprivate version.
+# Don't add any more. Add new private symbols to SUNWprivate_1.2
+
+SUNWprivate_1.2 {
+ global:
+ pool_conf_update;
+ pool_get_status;
+ pool_resource_type_list;
+ pool_set_status;
+} SUNWprivate_1.1;
+
+SUNWprivate_1.1 {
+ global:
+ pool_associate;
+ pool_component_info;
+ pool_component_to_elem;
+ pool_conf_alloc;
+ pool_conf_close;
+ pool_conf_commit;
+ pool_conf_export;
+ pool_conf_free;
+ pool_conf_info;
+ pool_conf_location;
+ pool_conf_open;
+ pool_conf_remove;
+ pool_conf_rollback;
+ pool_conf_status;
+ pool_conf_to_elem;
+ pool_conf_validate;
+ pool_create;
+ pool_destroy;
+ pool_dissociate;
+ pool_dynamic_location;
+ pool_error;
+ pool_get_binding;
+ pool_get_owning_resource;
+ pool_get_pool;
+ pool_get_property;
+ pool_get_resource;
+ pool_get_resource_binding;
+ pool_info;
+ pool_put_property;
+ pool_query_components;
+ pool_query_pool_resources;
+ pool_query_pools;
+ pool_query_resource_components;
+ pool_query_resources;
+ pool_resource_create;
+ pool_resource_destroy;
+ pool_resource_info;
+ pool_resource_to_elem;
+ pool_resource_transfer;
+ pool_resource_xtransfer;
+ pool_rm_property;
+ pool_set_binding;
+ pool_static_location;
+ pool_strerror;
+ pool_to_elem;
+ pool_value_alloc;
+ pool_value_free;
+ pool_value_get_bool;
+ pool_value_get_double;
+ pool_value_get_int64;
+ pool_value_get_name;
+ pool_value_get_string;
+ pool_value_get_type;
+ pool_value_get_uint64;
+ pool_value_set_bool;
+ pool_value_set_double;
+ pool_value_set_int64;
+ pool_value_set_name;
+ pool_value_set_string;
+ pool_value_set_uint64;
+ pool_version;
+ pool_walk_components;
+ pool_walk_pools;
+ pool_walk_properties;
+ pool_walk_resources;
+ local:
+ *;
+};
diff --git a/usr/src/lib/libpool/spec/Makefile b/usr/src/lib/libpool/spec/Makefile
deleted file mode 100644
index cca5e6a58e..0000000000
--- a/usr/src/lib/libpool/spec/Makefile
+++ /dev/null
@@ -1,31 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 2001 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# libpool/spec/Makefile
-#
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/libpool/spec/Makefile.targ b/usr/src/lib/libpool/spec/Makefile.targ
deleted file mode 100644
index 5285eaaddd..0000000000
--- a/usr/src/lib/libpool/spec/Makefile.targ
+++ /dev/null
@@ -1,34 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 2001 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libpool/spec/Makefile.targ
-#
-
-LIBRARY= libpool.a
-VERS= .1
-
-OBJECTS= pool.o
diff --git a/usr/src/lib/libpool/spec/amd64/Makefile b/usr/src/lib/libpool/spec/amd64/Makefile
deleted file mode 100644
index 751257f818..0000000000
--- a/usr/src/lib/libpool/spec/amd64/Makefile
+++ /dev/null
@@ -1,37 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libpool/spec/i386/Makefile b/usr/src/lib/libpool/spec/i386/Makefile
deleted file mode 100644
index 45be8a966a..0000000000
--- a/usr/src/lib/libpool/spec/i386/Makefile
+++ /dev/null
@@ -1,37 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 2001 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libpool/spec/i386/Makefile
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libpool/spec/pool.spec b/usr/src/lib/libpool/spec/pool.spec
deleted file mode 100644
index 8d2fb44ba9..0000000000
--- a/usr/src/lib/libpool/spec/pool.spec
+++ /dev/null
@@ -1,510 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#ident "%Z%%M% %I% %E% SMI"#
-# lib/libpool/spec/pool.spec
-#
-
-function pool_version
-declaration uint_t pool_version(uint_t ver)
-include <pool.h>
-arch all
-version SUNWprivate_1.1
-end
-
-function pool_error
-declaration int pool_error(void)
-include <pool.h>
-arch all
-version SUNWprivate_1.1
-end
-
-function pool_strerror
-declaration const char *pool_strerror(int errno)
-include <pool.h>
-arch all
-version SUNWprivate_1.1
-end
-
-function pool_conf_close
-declaration int pool_conf_close(pool_conf_t *conf)
-include <pool.h>
-arch all
-version SUNWprivate_1.1
-end
-
-function pool_conf_remove
-declaration int pool_conf_remove(pool_conf_t *conf)
-include <pool.h>
-arch all
-version SUNWprivate_1.1
-end
-
-function pool_conf_alloc
-declaration pool_conf_t *pool_conf_alloc(void)
-include <pool.h>
-arch all
-version SUNWprivate_1.1
-end
-
-function pool_conf_free
-declaration void pool_conf_free(pool_conf_t *conf)
-include <pool.h>
-arch all
-version SUNWprivate_1.1
-end
-
-function pool_conf_status
-declaration pool_conf_state_t pool_conf_status(const pool_conf_t *conf)
-include <pool.h>
-arch all
-version SUNWprivate_1.1
-end
-
-function pool_conf_location
-declaration const char *pool_conf_location(const pool_conf_t *conf)
-include <pool.h>
-arch all
-version SUNWprivate_1.1
-end
-
-function pool_conf_open
-declaration int pool_conf_open(pool_conf_t *conf, const char *location, int discover)
-include <pool.h>
-arch all
-version SUNWprivate_1.1
-end
-
-function pool_conf_rollback
-declaration int pool_conf_rollback(pool_conf_t *conf)
-include <pool.h>
-arch all
-version SUNWprivate_1.1
-end
-
-function pool_conf_commit
-declaration int pool_conf_commit(pool_conf_t *conf, int active)
-include <pool.h>
-arch all
-version SUNWprivate_1.1
-end
-
-function pool_conf_export
-declaration int pool_conf_export(const pool_conf_t *conf, const char *location, pool_export_format_t fmt)
-include <pool.h>
-arch all
-version SUNWprivate_1.1
-end
-
-function pool_conf_validate
-declaration int pool_conf_validate(const pool_conf_t *conf, pool_valid_level_t level)
-include <pool.h>
-arch all
-version SUNWprivate_1.1
-end
-
-function pool_get_pool
-declaration pool_t *pool_get_pool(const pool_conf_t *conf, const char *name)
-include <pool.h>
-arch all
-version SUNWprivate_1.1
-end
-
-function pool_query_pools
-declaration pool_t **pool_query_pools(const pool_conf_t *conf, uint_t *size, pool_value_t **props)
-include <pool.h>
-arch all
-version SUNWprivate_1.1
-end
-
-function pool_resource_info
-declaration char *pool_resource_info(const pool_conf_t *conf, const pool_resource_t *res, int deep)
-include <pool.h>
-arch all
-version SUNWprivate_1.1
-end
-
-function pool_get_resource
-declaration pool_resource_t *pool_get_resource(const pool_conf_t *conf, const char *type, const char *name)
-include <pool.h>
-arch all
-version SUNWprivate_1.1
-end
-
-function pool_query_resources
-declaration pool_resource_t **pool_query_resources(const pool_conf_t *conf, uint_t *size, pool_value_t **props)
-include <pool.h>
-arch all
-version SUNWprivate_1.1
-end
-
-function pool_query_components
-declaration pool_component_t **pool_query_components(const pool_conf_t *conf, uint_t *size, pool_value_t **props)
-include <pool.h>
-arch all
-version SUNWprivate_1.1
-end
-
-function pool_resource_create
-declaration pool_resource_t *pool_resource_create(pool_conf_t *conf, const char *type, const char *name)
-include <pool.h>
-arch all
-version SUNWprivate_1.1
-end
-
-function pool_resource_destroy
-declaration int pool_resource_destroy(pool_conf_t *conf, pool_resource_t *res)
-include <pool.h>
-arch all
-version SUNWprivate_1.1
-end
-
-function pool_resource_transfer
-declaration int pool_resource_transfer(pool_conf_t *conf, pool_resource_t *src, pool_resource_t *tgt, uint64_t size)
-include <pool.h>
-arch all
-version SUNWprivate_1.1
-end
-
-function pool_resource_xtransfer
-declaration int pool_resource_xtransfer(pool_conf_t *conf, pool_resource_t *src, pool_resource_t *tgt, pool_component_t **rl)
-include <pool.h>
-arch all
-version SUNWprivate_1.1
-end
-
-function pool_query_resource_components
-declaration pool_component_t **pool_query_resource_components(const pool_conf_t *conf, const pool_resource_t *res, uint_t *size, pool_value_t **props)
-include <pool.h>
-arch all
-version SUNWprivate_1.1
-end
-
-function pool_create
-declaration pool_t *pool_create(pool_conf_t *conf, const char *name)
-include <pool.h>
-arch all
-version SUNWprivate_1.1
-end
-
-function pool_destroy
-declaration int pool_destroy(pool_conf_t *conf, pool_t *pool)
-include <pool.h>
-arch all
-version SUNWprivate_1.1
-end
-
-function pool_associate
-declaration int pool_associate(pool_conf_t *conf, pool_t *pool, const pool_resource_t *res)
-include <pool.h>
-arch all
-version SUNWprivate_1.1
-end
-
-function pool_dissociate
-declaration int pool_dissociate(pool_conf_t *conf, pool_t *pool, const pool_resource_t *res)
-include <pool.h>
-arch all
-version SUNWprivate_1.1
-end
-
-function pool_info
-declaration char *pool_info(const pool_conf_t *conf, const pool_t *pool, int deep)
-include <pool.h>
-arch all
-version SUNWprivate_1.1
-end
-
-function pool_set_binding
-declaration int pool_set_binding(const char *name, idtype_t idtype, id_t id)
-include <pool.h>
-arch all
-version SUNWprivate_1.1
-end
-
-function pool_get_binding
-declaration char *pool_get_binding(pid_t pid)
-include <pool.h>
-arch all
-version SUNWprivate_1.1
-end
-
-function pool_query_pool_resources
-declaration pool_resource_t **pool_query_pool_resources(const pool_conf_t *conf, const pool_t *pool, uint_t *size, pool_value_t **props)
-include <pool.h>
-arch all
-version SUNWprivate_1.1
-end
-
-function pool_get_owning_resource
-declaration pool_resource_t *pool_get_owning_resource(const pool_conf_t *conf, const pool_component_t *comp)
-include <pool.h>
-arch all
-version SUNWprivate_1.1
-end
-
-function pool_component_info
-declaration char *pool_component_info(const pool_conf_t *conf, const pool_component_t *comp, int deep)
-include <pool.h>
-arch all
-version SUNWprivate_1.1
-end
-
-function pool_get_property
-declaration pool_value_class_t pool_get_property(const pool_conf_t *conf, const pool_elem_t *pe, const char *name, pool_value_t *val)
-include <pool.h>
-arch all
-version SUNWprivate_1.1
-end
-
-function pool_put_property
-declaration int pool_put_property(pool_conf_t *conf, pool_elem_t *pe, const char *name, const pool_value_t *val)
-include <pool.h>
-arch all
-version SUNWprivate_1.1
-end
-
-function pool_rm_property
-declaration int pool_rm_property(pool_conf_t *conf, pool_elem_t *pe, const char *name)
-include <pool.h>
-arch all
-version SUNWprivate_1.1
-end
-
-function pool_walk_properties
-declaration int pool_walk_properties(pool_conf_t *conf, pool_elem_t *elem, void *arg, int (*prop_callback)(pool_conf_t *conf, pool_elem_t *elem, const char *name, pool_value_t *prop, void *arg))
-include <pool.h>
-arch all
-version SUNWprivate_1.1
-end
-
-function pool_value_get_uint64
-declaration int pool_value_get_uint64(const pool_value_t *pv, uint64_t *result)
-include <pool.h>
-arch all
-version SUNWprivate_1.1
-end
-
-function pool_value_get_int64
-declaration int pool_value_get_int64(const pool_value_t *pv, int64_t *result)
-include <pool.h>
-arch all
-version SUNWprivate_1.1
-end
-
-function pool_value_get_double
-declaration int pool_value_get_double(const pool_value_t *pv, double *result)
-include <pool.h>
-arch all
-version SUNWprivate_1.1
-end
-
-function pool_value_get_bool
-declaration int pool_value_get_bool(const pool_value_t *pv, uchar_t *result)
-include <pool.h>
-arch all
-version SUNWprivate_1.1
-end
-
-function pool_value_get_string
-declaration int pool_value_get_string(const pool_value_t *pv, const char **result)
-include <pool.h>
-arch all
-version SUNWprivate_1.1
-end
-
-function pool_value_get_type
-declaration pool_value_class_t pool_value_get_type(const pool_value_t *pv)
-include <pool.h>
-arch all
-version SUNWprivate_1.1
-end
-
-function pool_value_set_uint64
-declaration void pool_value_set_uint64(pool_value_t *pv, uint64_t val)
-include <pool.h>
-arch all
-version SUNWprivate_1.1
-end
-
-function pool_value_set_int64
-declaration void pool_value_set_int64(pool_value_t *pv, int64_t val)
-include <pool.h>
-arch all
-version SUNWprivate_1.1
-end
-
-function pool_value_set_double
-declaration void pool_value_set_double(pool_value_t *pv, double val)
-include <pool.h>
-arch all
-version SUNWprivate_1.1
-end
-
-function pool_value_set_bool
-declaration void pool_value_set_bool(pool_value_t *pv, uchar_t val)
-include <pool.h>
-arch all
-version SUNWprivate_1.1
-end
-
-function pool_value_set_string
-declaration int pool_value_set_string(pool_value_t *pv, const char *val)
-include <pool.h>
-arch all
-version SUNWprivate_1.1
-end
-
-function pool_value_get_name
-declaration const char *pool_value_get_name(const pool_value_t *pv)
-include <pool.h>
-arch all
-version SUNWprivate_1.1
-end
-
-function pool_value_set_name
-declaration int pool_value_set_name(pool_value_t *pv, const char *name)
-include <pool.h>
-arch all
-version SUNWprivate_1.1
-end
-
-function pool_value_alloc
-declaration pool_value_t *pool_value_alloc(void)
-include <pool.h>
-arch all
-version SUNWprivate_1.1
-end
-
-function pool_value_free
-declaration void pool_value_free(pool_value_t *val)
-include <pool.h>
-arch all
-version SUNWprivate_1.1
-end
-
-function pool_conf_info
-declaration char *pool_conf_info(const pool_conf_t *pp, int level)
-include <pool.h>
-arch all
-version SUNWprivate_1.1
-end
-
-function pool_conf_to_elem
-declaration pool_elem_t *pool_conf_to_elem(const pool_conf_t *pp)
-include <pool.h>
-arch all
-version SUNWprivate_1.1
-end
-
-function pool_to_elem
-declaration pool_elem_t *pool_to_elem(const pool_conf_t *conf, const pool_t *pp)
-include <pool.h>
-arch all
-version SUNWprivate_1.1
-end
-
-function pool_resource_to_elem
-declaration pool_elem_t *pool_resource_to_elem(const pool_conf_t *conf, const pool_resource_t *prs)
-include <pool.h>
-arch all
-version SUNWprivate_1.1
-end
-
-function pool_component_to_elem
-declaration pool_elem_t *pool_component_to_elem(const pool_conf_t *conf, const pool_component_t *pr)
-include <pool.h>
-arch all
-version SUNWprivate_1.1
-end
-
-function pool_static_location
-declaration const char *pool_static_location(void)
-include <pool.h>
-arch all
-version SUNWprivate_1.1
-end
-
-function pool_dynamic_location
-declaration const char *pool_dynamic_location(void)
-include <pool.h>
-arch all
-version SUNWprivate_1.1
-end
-
-function pool_walk_pools
-declaration int pool_walk_pools(pool_conf_t *conf, void *arg, int (*callback)(pool_conf_t *conf, pool_t *pool, void *arg))
-include <pool.h>
-arch all
-version SUNWprivate_1.1
-end
-
-function pool_walk_resources
-declaration int pool_walk_resources(pool_conf_t *conf, pool_t *pool, void *arg, int (*callback)(pool_conf_t *conf, pool_resource_t *res, void *arg))
-include <pool.h>
-arch all
-version SUNWprivate_1.1
-end
-
-function pool_walk_components
-declaration int pool_walk_components(pool_conf_t *conf, pool_resource_t *res, void *arg, int (*callback)(pool_conf_t *conf, pool_component_t *comp, void *arg))
-include <pool.h>
-arch all
-version SUNWprivate_1.1
-end
-
-function pool_get_resource_binding
-declaration char *pool_get_resource_binding(const char *resource_type, pid_t pid)
-include <pool.h>
-arch all
-version SUNWprivate_1.1
-end
-
-function pool_resource_type_list
-declaration int pool_resource_type_list(const char **typelist, uint_t *numtypes);
-include <pool.h>
-arch all
-version SUNWprivate_1.2
-end
-
-function pool_get_status
-declaration int pool_get_status(int *state);
-include <pool.h>
-arch all
-version SUNWprivate_1.2
-end
-
-function pool_set_status
-declaration int pool_set_status(int state);
-include <pool.h>
-arch all
-version SUNWprivate_1.2
-end
-
-function pool_conf_update
-declaration int pool_conf_update(const pool_conf_t *conf, int *changed);
-include <pool.h>
-arch all
-version SUNWprivate_1.2
-end
diff --git a/usr/src/lib/libpool/spec/sparc/Makefile b/usr/src/lib/libpool/spec/sparc/Makefile
deleted file mode 100644
index b958b95596..0000000000
--- a/usr/src/lib/libpool/spec/sparc/Makefile
+++ /dev/null
@@ -1,37 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 2001 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# libpool/spec/sparc/Makefile.com
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libpool/spec/sparcv9/Makefile b/usr/src/lib/libpool/spec/sparcv9/Makefile
deleted file mode 100644
index 8a99a89371..0000000000
--- a/usr/src/lib/libpool/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,39 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 2001 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# libpool/spec/sparcv9/Makefile
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libpool/spec/versions b/usr/src/lib/libpool/spec/versions
deleted file mode 100644
index 7cbf70c7e2..0000000000
--- a/usr/src/lib/libpool/spec/versions
+++ /dev/null
@@ -1,43 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-sparc {
- SUNWprivate_1.2:{SUNWprivate_1.1};
- SUNWprivate_1.1;
-}
-sparcv9 {
- SUNWprivate_1.2:{SUNWprivate_1.1};
- SUNWprivate_1.1;
-}
-i386 {
- SUNWprivate_1.2:{SUNWprivate_1.1};
- SUNWprivate_1.1;
-}
-amd64 {
- SUNWprivate_1.2:{SUNWprivate_1.1};
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/libproc/Makefile b/usr/src/lib/libproc/Makefile
index ae7946c90d..4d2553bc7b 100644
--- a/usr/src/lib/libproc/Makefile
+++ b/usr/src/lib/libproc/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,12 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libproc/Makefile
include ../Makefile.lib
@@ -65,22 +63,20 @@ $(ROOTHDRDIR)/%: common/%
.KEEP_STATE:
-all clean clobber delete install package: spec .WAIT $(SUBDIRS)
-
-lint: $(SUBDIRS)
+all clean clobber delete install lint package: $(SUBDIRS)
install_h: $(ROOTHDRS)
check: $(CHECKHDRS)
-spec $(SUBDIRS): FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
-_msg: $(MSGDOMAIN) $(POFILE)
+_msg: $(MSGDOMAIN) .WAIT $(POFILE)
$(RM) $(MSGDOMAIN)/$(POFILE)
$(CP) $(POFILE) $(MSGDOMAIN)
-$(POFILE): .WAIT $(POFILES)
+$(POFILE): $(POFILES)
$(RM) $@
$(CAT) $(POFILES) > $@
diff --git a/usr/src/lib/libproc/Makefile.com b/usr/src/lib/libproc/Makefile.com
index 7c8fce8355..b6dcff9bad 100644
--- a/usr/src/lib/libproc/Makefile.com
+++ b/usr/src/lib/libproc/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,12 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libproc/Makefile.com
LIBRARY = libproc.a
VERS = .1
@@ -84,11 +82,11 @@ SRCS = $(CMNOBJS:%.o=../common/%.c) $(ISAOBJS:%.o=%.c)
LIBS = $(DYNLIB) $(LINTLIB)
LDLIBS += -lrtld_db -lelf -lctf -lc
-$(LINTLIB) := SRCS = $(SRCDIR)/$(LINTSRC)
SRCDIR = ../common
-MAPDIR = ../spec/$(TRANSMACH)
-SPECMAPFILE = $(MAPDIR)/mapfile
+$(LINTLIB) := SRCS = $(SRCDIR)/$(LINTSRC)
+
+MAPFILES += mapfile-vers
CFLAGS += $(CCVERBOSE)
CPPFLAGS += -I$(SRCDIR)
diff --git a/usr/src/lib/libdisasm/spec/Makefile b/usr/src/lib/libproc/amd64/mapfile-vers
index aa4090be64..633026ef2f 100644
--- a/usr/src/lib/libdisasm/spec/Makefile
+++ b/usr/src/lib/libproc/amd64/mapfile-vers
@@ -23,5 +23,8 @@
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
+#
-include $(SRC)/lib/Makefile.spec.arch
+SUNWprivate_1.1 {
+ global:
+};
diff --git a/usr/src/lib/libproc/common/mapfile-vers b/usr/src/lib/libproc/common/mapfile-vers
new file mode 100644
index 0000000000..f3c517dcf5
--- /dev/null
+++ b/usr/src/lib/libproc/common/mapfile-vers
@@ -0,0 +1,281 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+# Due to mistakes made early in the history of this library, there are no
+# SUNW_1.1 through SUNW_1.4 symbols, but they are now kept as placeholders.
+# Don't add any symbols to these versions.
+
+SUNW_1.4 {
+ global:
+ SUNW_1.4;
+} SUNW_1.3;
+
+SUNW_1.3 {
+ global:
+ SUNW_1.3;
+} SUNW_1.2;
+
+SUNW_1.2 {
+ global:
+ SUNW_1.2;
+} SUNW_1.1;
+
+SUNW_1.1 {
+ global:
+ SUNW_1.1;
+};
+
+SUNWprivate_1.1 {
+ global:
+ Lalt_stack;
+ Lclearfault;
+ Lclearsig;
+ Lctlfd;
+ Ldstop;
+ Lfree;
+ Lgetareg;
+ Lgrab;
+ Lgrab_error;
+ _libproc_debug;
+ Lmain_stack;
+ Lprochandle;
+ Lpsinfo;
+ Lputareg;
+ Lsetrun;
+ Lstack;
+ Lstate;
+ Lstatus;
+ Lstop;
+ Lsync;
+ Lwait;
+ Lxecbkpt;
+ Lxecwapt;
+ Paddr_to_ctf;
+ Paddr_to_loadobj;
+ Paddr_to_map;
+ Paddr_to_text_map;
+ Pasfd;
+ Pclearfault;
+ Pclearsig;
+ Pcontent;
+ Pcreate;
+ Pcreate_agent;
+ Pcreate_callback;
+ Pcreate_error;
+ Pcred;
+ Pctlfd;
+ Pdelbkpt;
+ Pdelwapt;
+ Pdestroy_agent;
+ Pdstop;
+ Penv_iter;
+ Perror_printf;
+ Pexecname;
+ Pfault;
+ Pfgcore;
+ Pfgrab_core;
+ Pfree;
+ Pgcore;
+ Pgetareg;
+ Pgetauxval;
+ Pgetauxvec;
+ Pgetenv;
+ Pgrab;
+ Pgrab_core;
+ Pgrab_error;
+ Pgrab_file;
+ Pisprocdir;
+ Pissyscall_prev;
+ Plmid;
+ Plmid_to_loadobj;
+ Plmid_to_map;
+ Plookup_by_addr;
+ Plookup_by_name;
+ Plwp_alt_stack;
+ Plwp_getfpregs;
+ Plwp_getpsinfo;
+ Plwp_getregs;
+ Plwp_iter;
+ Plwp_iter_all;
+ Plwp_main_stack;
+ Plwp_setfpregs;
+ Plwp_setregs;
+ Plwp_stack;
+ Pmapping_iter;
+ Pname_to_ctf;
+ Pname_to_loadobj;
+ Pname_to_map;
+ Pobject_iter;
+ Pobjname;
+ Pplatform;
+ Ppltdest;
+ Ppriv;
+ Pprivinfo;
+ Ppsinfo;
+ Pputareg;
+ pr_access;
+ pr_close;
+ pr_creat;
+ Prd_agent;
+ pr_door_info;
+ Pread;
+ Pread_string;
+ Prelease;
+ Preopen;
+ Preset_maps;
+ pr_exit;
+ pr_fcntl;
+ pr_fstat;
+ pr_fstat64;
+ pr_fstatvfs;
+ pr_getitimer;
+ pr_getpeername;
+ pr_getprojid;
+ pr_getrctl;
+ pr_getrlimit;
+ pr_getrlimit64;
+ pr_getsockname;
+ pr_getsockopt;
+ pr_gettaskid;
+ pr_getzoneid;
+ pr_ioctl;
+ pr_link;
+ pr_llseek;
+ pr_lseek;
+ pr_lstat;
+ pr_lstat64;
+ pr_lwp_exit;
+ pr_memcntl;
+ pr_meminfo;
+ pr_mmap;
+ pr_munmap;
+ proc_arg_grab;
+ proc_arg_psinfo;
+ proc_arg_xgrab;
+ proc_arg_xpsinfo;
+ proc_content2str;
+ proc_finistdio;
+ proc_fltname;
+ proc_fltset2str;
+ proc_flushstdio;
+ proc_get_auxv;
+ proc_get_cred;
+ proc_get_priv;
+ proc_get_psinfo;
+ proc_get_status;
+ proc_initstdio;
+ proc_lwp_in_set;
+ proc_lwp_range_valid;
+ proc_signame;
+ proc_sigset2str;
+ proc_str2content;
+ proc_str2flt;
+ proc_str2fltset;
+ proc_str2sig;
+ proc_str2sigset;
+ proc_str2sys;
+ proc_str2sysset;
+ proc_sysname;
+ proc_sysset2str;
+ proc_unctrl_psinfo;
+ proc_walk;
+ pr_open;
+ pr_processor_bind;
+ pr_pset_bind;
+ pr_rename;
+ pr_setitimer;
+ pr_setrctl;
+ pr_setrlimit;
+ pr_setrlimit64;
+ pr_settaskid;
+ pr_sigaction;
+ pr_stat;
+ pr_stat64;
+ pr_statvfs;
+ pr_unlink;
+ pr_waitid;
+ pr_zmap;
+ Psetbkpt;
+ Psetcred;
+ Psetfault;
+ Psetflags;
+ Psetpriv;
+ Psetrun;
+ Psetsignal;
+ Psetsysentry;
+ Psetsysexit;
+ Psetwapt;
+ Psetzoneid;
+ Psignal;
+ ps_lcontinue;
+ ps_lgetfpregs;
+ ps_lgetregs;
+ ps_lsetfpregs;
+ ps_lsetregs;
+ ps_lstop;
+ ps_pauxv;
+ ps_pcontinue;
+ ps_pdmodel;
+ ps_pdread;
+ ps_pdwrite;
+ ps_pglobal_lookup;
+ ps_pglobal_sym;
+ ps_plog;
+ ps_pread;
+ ps_pstop;
+ ps_ptread;
+ ps_ptwrite;
+ ps_pwrite;
+ Pstack_iter;
+ Pstate;
+ Pstatus;
+ Pstop;
+ Pstopstatus;
+ Psymbol_iter;
+ Psymbol_iter_by_addr;
+ Psymbol_iter_by_lmid;
+ Psymbol_iter_by_name;
+ Psync;
+ Psyscall;
+ Psysentry;
+ Psysexit;
+ Puname;
+ Punsetflags;
+ Pupdate_maps;
+ Pupdate_syms;
+ Pwait;
+ Pwrite;
+ Pxcreate;
+ Pxecbkpt;
+ Pxecwapt;
+ Pxlookup_by_addr;
+ Pxlookup_by_name;
+ Pxsymbol_iter;
+ Pzonename;
+ local:
+ *;
+};
diff --git a/usr/src/lib/libproc/i386/mapfile-vers b/usr/src/lib/libproc/i386/mapfile-vers
new file mode 100644
index 0000000000..9e7e13f5fe
--- /dev/null
+++ b/usr/src/lib/libproc/i386/mapfile-vers
@@ -0,0 +1,33 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNWprivate_1.1 {
+ global:
+ Pldt;
+ proc_get_ldt;
+ ps_lgetLDT;
+};
diff --git a/usr/src/lib/libproc/sparc/mapfile-vers b/usr/src/lib/libproc/sparc/mapfile-vers
new file mode 100644
index 0000000000..d4aa10e54a
--- /dev/null
+++ b/usr/src/lib/libproc/sparc/mapfile-vers
@@ -0,0 +1,36 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNWprivate_1.1 {
+ global:
+ Plwp_getgwindows;
+ Plwp_getxregs;
+ Plwp_setxregs;
+ ps_lgetxregs;
+ ps_lgetxregsize;
+ ps_lsetxregs;
+};
diff --git a/usr/src/lib/libproc/sparcv9/mapfile-vers b/usr/src/lib/libproc/sparcv9/mapfile-vers
new file mode 100644
index 0000000000..5a2a3c4a77
--- /dev/null
+++ b/usr/src/lib/libproc/sparcv9/mapfile-vers
@@ -0,0 +1,38 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNWprivate_1.1 {
+ global:
+ Plwp_getasrs;
+ Plwp_getgwindows;
+ Plwp_getxregs;
+ Plwp_setasrs;
+ Plwp_setxregs;
+ ps_lgetxregs;
+ ps_lgetxregsize;
+ ps_lsetxregs;
+};
diff --git a/usr/src/lib/libproc/spec/Makefile b/usr/src/lib/libproc/spec/Makefile
deleted file mode 100644
index f33253b720..0000000000
--- a/usr/src/lib/libproc/spec/Makefile
+++ /dev/null
@@ -1,29 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1998-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libproc/spec/Makefile
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/libproc/spec/Makefile.targ b/usr/src/lib/libproc/spec/Makefile.targ
deleted file mode 100644
index 855d48af0b..0000000000
--- a/usr/src/lib/libproc/spec/Makefile.targ
+++ /dev/null
@@ -1,32 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1998-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libproc/spec/Makefile.targ
-
-LIBRARY = libproc.a
-VERS = .1
-
-OBJECTS = proc.o
diff --git a/usr/src/lib/libproc/spec/amd64/Makefile b/usr/src/lib/libproc/spec/amd64/Makefile
deleted file mode 100644
index 453c0ea671..0000000000
--- a/usr/src/lib/libproc/spec/amd64/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#amd64_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libproc/spec/i386/Makefile b/usr/src/lib/libproc/spec/i386/Makefile
deleted file mode 100644
index f033cf3593..0000000000
--- a/usr/src/lib/libproc/spec/i386/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1998-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libproc/spec/i386/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#i386_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libproc/spec/proc.spec b/usr/src/lib/libproc/spec/proc.spec
deleted file mode 100644
index 956fd9b850..0000000000
--- a/usr/src/lib/libproc/spec/proc.spec
+++ /dev/null
@@ -1,1056 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libproc/spec/proc.spec
-#
-# See the versions file for important information on which version set
-# names to use.
-#
-function ps_lcontinue
-include <proc_service.h>
-declaration ps_err_e ps_lcontinue(struct ps_prochandle *ph, lwpid_t lwpid)
-version SUNWprivate_1.1
-exception $return != PS_OK
-end
-
-function ps_lgetfpregs
-include <proc_service.h>
-declaration ps_err_e ps_lgetfpregs(struct ps_prochandle *ph, lwpid_t lwpid, prfpregset_t *fpregset)
-version SUNWprivate_1.1
-exception $return != PS_OK
-end
-
-function ps_lgetregs
-include <proc_service.h>
-declaration ps_err_e ps_lgetregs(struct ps_prochandle *ph, lwpid_t lwpid, prgregset_t gregset)
-version SUNWprivate_1.1
-exception $return != PS_OK
-end
-
-function ps_lsetfpregs
-include <proc_service.h>
-declaration ps_err_e ps_lsetfpregs(struct ps_prochandle *ph, lwpid_t lwpid, const prfpregset_t *fpregset)
-version SUNWprivate_1.1
-exception $return != PS_OK
-end
-
-function ps_lsetregs
-include <proc_service.h>
-declaration ps_err_e ps_lsetregs(struct ps_prochandle *ph, lwpid_t lwpid, const prgregset_t gregset)
-version SUNWprivate_1.1
-exception $return != PS_OK
-end
-
-function ps_lstop
-include <proc_service.h>
-declaration ps_err_e ps_lstop(struct ps_prochandle *ph, lwpid_t lwpid)
-version SUNWprivate_1.1
-exception $return != PS_OK
-end
-
-function ps_pauxv
-include <proc_service.h>
-declaration ps_err_e ps_pauxv(struct ps_prochandle *, const auxv_t **)
-version SUNWprivate_1.1
-exception $return != PS_OK
-end
-
-function ps_pcontinue
-include <proc_service.h>
-declaration ps_err_e ps_pcontinue(struct ps_prochandle *ph)
-version SUNWprivate_1.1
-exception $return != PS_OK
-end
-
-function ps_pdmodel
-include <proc_service.h>
-declaration ps_err_e ps_pdmodel(struct ps_prochandle *, int *data_model)
-version SUNWprivate_1.1
-exception $return != PS_OK
-end
-
-function ps_pdread
-include <proc_service.h>
-declaration ps_err_e ps_pdread(struct ps_prochandle *ph, psaddr_t addr, void *buf, size_t size)
-version SUNWprivate_1.1
-exception $return != PS_OK
-end
-
-function ps_pdwrite
-include <proc_service.h>
-declaration ps_err_e ps_pdwrite(struct ps_prochandle *ph, psaddr_t addr, const void *buf, size_t size)
-version SUNWprivate_1.1
-exception $return != PS_OK
-end
-
-function ps_pglobal_lookup
-include <proc_service.h>
-declaration ps_err_e ps_pglobal_lookup(struct ps_prochandle *ph, const char *ld_object_name, const char *ld_symbol_name, psaddr_t *ld_symbol_addr)
-version SUNWprivate_1.1
-exception $return != PS_OK
-end
-
-function ps_pglobal_sym
-include <proc_service.h>
-declaration ps_err_e ps_pglobal_sym(struct ps_prochandle *ph, const char *object_name, const char *sym_name, ps_sym_t *sym)
-version SUNWprivate_1.1
-exception $return != PS_OK
-end
-
-function ps_plog
-include <proc_service.h>
-declaration void ps_plog(const char *fmt, ...)
-version SUNWprivate_1.1
-end
-
-function ps_pread
-include <proc_service.h>
-declaration ps_err_e ps_pread(struct ps_prochandle *ph, psaddr_t addr, void *buf, size_t size)
-version SUNWprivate_1.1
-exception $return != PS_OK
-end
-
-function ps_pstop
-include <proc_service.h>
-declaration ps_err_e ps_pstop(struct ps_prochandle *ph)
-version SUNWprivate_1.1
-exception $return != PS_OK
-end
-
-function ps_ptread
-include <proc_service.h>
-declaration ps_err_e ps_ptread(struct ps_prochandle *ph, psaddr_t addr, void *buf, size_t size)
-version SUNWprivate_1.1
-exception $return != PS_OK
-end
-
-function ps_ptwrite
-include <proc_service.h>
-declaration ps_err_e ps_ptwrite(struct ps_prochandle *ph, psaddr_t addr, const void *buf, size_t size)
-version SUNWprivate_1.1
-exception $return != PS_OK
-end
-
-function ps_pwrite
-include <proc_service.h>
-declaration ps_err_e ps_pwrite(struct ps_prochandle *ph, psaddr_t addr, const void *buf, size_t size)
-version SUNWprivate_1.1
-exception $return != PS_OK
-end
-
-function ps_lgetLDT
-include <proc_service.h>
-declaration ps_err_e ps_lgetLDT(struct ps_prochandle *ph, lwpid_t lwpid, struct ssd *ldt)
-arch i386
-version SUNWprivate_1.1
-exception $return != PS_OK
-end
-
-function ps_lgetxregs
-include <proc_service.h>
-declaration ps_err_e ps_lgetxregs(struct ps_prochandle *ph, lwpid_t lid, caddr_t xregset)
-arch sparc sparcv9
-version SUNWprivate_1.1
-exception $return != PS_OK
-end
-
-function ps_lgetxregsize
-include <proc_service.h>
-declaration ps_err_e ps_lgetxregsize(struct ps_prochandle *ph, lwpid_t lwpid, int *xregsize)
-arch sparc sparcv9
-version SUNWprivate_1.1
-exception $return != PS_OK
-end
-
-function ps_lsetxregs
-include <proc_service.h>
-declaration ps_err_e ps_lsetxregs(struct ps_prochandle *ph, lwpid_t lwpid, caddr_t xregset)
-arch sparc sparcv9
-version SUNWprivate_1.1
-exception $return != PS_OK
-end
-
-data _libproc_debug
-version SUNWprivate_1.1
-end
-
-function Paddr_to_ctf
-version SUNWprivate_1.1
-end
-
-function Paddr_to_loadobj
-version SUNWprivate_1.1
-end
-
-function Paddr_to_map
-version SUNWprivate_1.1
-end
-
-function Paddr_to_text_map
-version SUNWprivate_1.1
-end
-
-function Pasfd
-version SUNWprivate_1.1
-end
-
-function Pclearfault
-version SUNWprivate_1.1
-end
-
-function Pclearsig
-version SUNWprivate_1.1
-end
-
-function Pcontent
-version SUNWprivate_1.1
-end
-
-function Pcreate
-version SUNWprivate_1.1
-end
-
-function Pcreate_agent
-version SUNWprivate_1.1
-end
-
-function Pcreate_callback
-version SUNWprivate_1.1
-end
-
-function Pcreate_error
-version SUNWprivate_1.1
-end
-
-function Ppriv
-version SUNWprivate_1.1
-end
-
-function Psetpriv
-version SUNWprivate_1.1
-end
-
-function Pprivinfo
-version SUNWprivate_1.1
-end
-
-function Pcred
-version SUNWprivate_1.1
-end
-
-function Pldt
-arch i386
-version SUNWprivate_1.1
-end
-
-function Pctlfd
-version SUNWprivate_1.1
-end
-
-function Pdelbkpt
-version SUNWprivate_1.1
-end
-
-function Pdelwapt
-version SUNWprivate_1.1
-end
-
-function Pdestroy_agent
-version SUNWprivate_1.1
-end
-
-function Penv_iter
-version SUNWprivate_1.1
-end
-
-function Perror_printf
-version SUNWprivate_1.1
-end
-
-function Pexecname
-version SUNWprivate_1.1
-end
-
-function Pfault
-version SUNWprivate_1.1
-end
-
-function Pfgcore
-version SUNWprivate_1.1
-end
-
-function Pfgrab_core
-version SUNWprivate_1.1
-end
-
-function Pfree
-version SUNWprivate_1.1
-end
-
-function Pgcore
-version SUNWprivate_1.1
-end
-
-function Pgetareg
-version SUNWprivate_1.1
-end
-
-function Pgetauxval
-version SUNWprivate_1.1
-end
-
-function Pgetauxvec
-version SUNWprivate_1.1
-end
-
-function Pgetenv
-version SUNWprivate_1.1
-end
-
-function Pgrab
-version SUNWprivate_1.1
-end
-
-function Pgrab_core
-version SUNWprivate_1.1
-end
-
-function Pgrab_error
-version SUNWprivate_1.1
-end
-
-function Pgrab_file
-version SUNWprivate_1.1
-end
-
-function Pisprocdir
-version SUNWprivate_1.1
-end
-
-function Pissyscall_prev
-version SUNWprivate_1.1
-end
-
-function Plmid
-version SUNWprivate_1.1
-end
-
-function Plmid_to_loadobj
-version SUNWprivate_1.1
-end
-
-function Plmid_to_map
-version SUNWprivate_1.1
-end
-
-function Plookup_by_addr
-version SUNWprivate_1.1
-end
-
-function Plookup_by_name
-version SUNWprivate_1.1
-end
-
-function Plwp_alt_stack
-version SUNWprivate_1.1
-end
-
-function Plwp_getasrs
-arch sparcv9
-version SUNWprivate_1.1
-end
-
-function Plwp_getregs
-version SUNWprivate_1.1
-end
-
-function Plwp_getgwindows
-arch sparc sparcv9
-version SUNWprivate_1.1
-end
-
-function Plwp_getxregs
-arch sparc sparcv9
-version SUNWprivate_1.1
-end
-
-function Plwp_getfpregs
-version SUNWprivate_1.1
-end
-
-function Plwp_getpsinfo
-version SUNWprivate_1.1
-end
-
-function Plwp_iter
-version SUNWprivate_1.1
-end
-
-function Plwp_iter_all
-version SUNWprivate_1.1
-end
-
-function Plwp_main_stack
-version SUNWprivate_1.1
-end
-
-function Plwp_setasrs
-arch sparcv9
-version SUNWprivate_1.1
-end
-
-function Plwp_setfpregs
-version SUNWprivate_1.1
-end
-
-function Plwp_setregs
-version SUNWprivate_1.1
-end
-
-function Plwp_setxregs
-arch sparc sparcv9
-version SUNWprivate_1.1
-end
-
-function Plwp_stack
-version SUNWprivate_1.1
-end
-
-function Pmapping_iter
-version SUNWprivate_1.1
-end
-
-function Pname_to_ctf
-version SUNWprivate_1.1
-end
-
-function Pname_to_loadobj
-version SUNWprivate_1.1
-end
-
-function Pname_to_map
-version SUNWprivate_1.1
-end
-
-function Pobject_iter
-version SUNWprivate_1.1
-end
-
-function Pobjname
-version SUNWprivate_1.1
-end
-
-function Pplatform
-version SUNWprivate_1.1
-end
-
-function Ppltdest
-version SUNWprivate_1.1
-end
-
-function Ppsinfo
-version SUNWprivate_1.1
-end
-
-function Pputareg
-version SUNWprivate_1.1
-end
-
-function Prd_agent
-version SUNWprivate_1.1
-end
-
-function Pread
-version SUNWprivate_1.1
-end
-
-function Pread_string
-version SUNWprivate_1.1
-end
-
-function Prelease
-version SUNWprivate_1.1
-end
-
-function Preopen
-version SUNWprivate_1.1
-end
-
-function Preset_maps
-version SUNWprivate_1.1
-end
-
-function Psetbkpt
-version SUNWprivate_1.1
-end
-
-function Psetcred
-version SUNWprivate_1.1
-end
-
-function Psetfault
-version SUNWprivate_1.1
-end
-
-function Psetflags
-version SUNWprivate_1.1
-end
-
-function Psetrun
-version SUNWprivate_1.1
-end
-
-function Psetsignal
-version SUNWprivate_1.1
-end
-
-function Psetsysentry
-version SUNWprivate_1.1
-end
-
-function Psetzoneid
-version SUNWprivate_1.1
-end
-
-function Psetsysexit
-version SUNWprivate_1.1
-end
-
-function Psetwapt
-version SUNWprivate_1.1
-end
-
-function Psignal
-version SUNWprivate_1.1
-end
-
-function Pstack_iter
-version SUNWprivate_1.1
-end
-
-function Pstate
-version SUNWprivate_1.1
-end
-
-function Pstatus
-version SUNWprivate_1.1
-end
-
-function Pstop
-version SUNWprivate_1.1
-end
-
-function Pstopstatus
-version SUNWprivate_1.1
-end
-
-function Pdstop
-version SUNWprivate_1.1
-end
-
-function Psymbol_iter
-version SUNWprivate_1.1
-end
-
-function Psymbol_iter_by_addr
-version SUNWprivate_1.1
-end
-
-function Psymbol_iter_by_lmid
-version SUNWprivate_1.1
-end
-
-function Psymbol_iter_by_name
-version SUNWprivate_1.1
-end
-
-function Psync
-version SUNWprivate_1.1
-end
-
-function Psyscall
-version SUNWprivate_1.1
-end
-
-function Psysentry
-version SUNWprivate_1.1
-end
-
-function Psysexit
-version SUNWprivate_1.1
-end
-
-function Puname
-version SUNWprivate_1.1
-end
-
-function Punsetflags
-version SUNWprivate_1.1
-end
-
-function Pupdate_maps
-version SUNWprivate_1.1
-end
-
-function Pupdate_syms
-version SUNWprivate_1.1
-end
-
-function Pwait
-version SUNWprivate_1.1
-end
-
-function Pwrite
-version SUNWprivate_1.1
-end
-
-function Pxcreate
-version SUNWprivate_1.1
-end
-
-function Pxecbkpt
-version SUNWprivate_1.1
-end
-
-function Pxecwapt
-version SUNWprivate_1.1
-end
-
-function Pxlookup_by_addr
-version SUNWprivate_1.1
-end
-
-function Pxlookup_by_name
-version SUNWprivate_1.1
-end
-
-function Pxsymbol_iter
-version SUNWprivate_1.1
-end
-
-function Pzonename
-version SUNWprivate_1.1
-end
-
-function pr_access
-version SUNWprivate_1.1
-end
-
-function pr_close
-version SUNWprivate_1.1
-end
-
-function pr_creat
-version SUNWprivate_1.1
-end
-
-function pr_door_info
-version SUNWprivate_1.1
-end
-
-function pr_exit
-version SUNWprivate_1.1
-end
-
-function pr_fcntl
-version SUNWprivate_1.1
-end
-
-function pr_fstat
-version SUNWprivate_1.1
-end
-
-function pr_fstat64
-version SUNWprivate_1.1
-end
-
-function pr_fstatvfs
-version SUNWprivate_1.1
-end
-
-function pr_getitimer
-version SUNWprivate_1.1
-end
-
-function pr_getpeername
-version SUNWprivate_1.1
-end
-
-function pr_getprojid
-version SUNWprivate_1.1
-end
-
-function pr_getrctl
-version SUNWprivate_1.1
-end
-
-function pr_getrlimit
-version SUNWprivate_1.1
-end
-
-function pr_getrlimit64
-version SUNWprivate_1.1
-end
-
-function pr_getsockname
-version SUNWprivate_1.1
-end
-
-function pr_getsockopt
-declaration int pr_getsockopt(struct ps_prochandle *Pr, \
- int sock, int level, int optname, void *optval, int *optlen)
-version SUNWprivate_1.1
-end
-
-function pr_getzoneid
-version SUNWprivate_1.1
-end
-
-function pr_gettaskid
-version SUNWprivate_1.1
-end
-
-function pr_ioctl
-version SUNWprivate_1.1
-end
-
-function pr_link
-version SUNWprivate_1.1
-end
-
-function pr_lseek
-version SUNWprivate_1.1
-end
-
-function pr_llseek
-version SUNWprivate_1.1
-end
-
-function pr_lstat
-version SUNWprivate_1.1
-end
-
-function pr_lstat64
-version SUNWprivate_1.1
-end
-
-function pr_lwp_exit
-version SUNWprivate_1.1
-end
-
-function pr_memcntl
-version SUNWprivate_1.1
-end
-
-function pr_meminfo
-version SUNWprivate_1.1
-end
-
-function pr_mmap
-version SUNWprivate_1.1
-end
-
-function pr_munmap
-version SUNWprivate_1.1
-end
-
-function pr_open
-version SUNWprivate_1.1
-end
-
-function pr_processor_bind
-version SUNWprivate_1.1
-end
-
-function pr_pset_bind
-version SUNWprivate_1.1
-end
-
-function pr_rename
-version SUNWprivate_1.1
-end
-
-function pr_setrctl
-version SUNWprivate_1.1
-end
-
-function pr_setitimer
-version SUNWprivate_1.1
-end
-
-function pr_setrlimit
-version SUNWprivate_1.1
-end
-
-function pr_setrlimit64
-version SUNWprivate_1.1
-end
-
-function pr_settaskid
-version SUNWprivate_1.1
-end
-
-function pr_sigaction
-version SUNWprivate_1.1
-end
-
-function pr_stat
-version SUNWprivate_1.1
-end
-
-function pr_stat64
-version SUNWprivate_1.1
-end
-
-function pr_statvfs
-version SUNWprivate_1.1
-end
-
-function pr_unlink
-version SUNWprivate_1.1
-end
-
-function pr_waitid
-version SUNWprivate_1.1
-end
-
-function pr_zmap
-version SUNWprivate_1.1
-end
-
-function proc_arg_grab
-version SUNWprivate_1.1
-end
-
-function proc_arg_xgrab
-version SUNWprivate_1.1
-end
-
-function proc_arg_psinfo
-version SUNWprivate_1.1
-end
-
-function proc_arg_xpsinfo
-version SUNWprivate_1.1
-end
-
-function proc_content2str
-version SUNWprivate_1.1
-end
-
-function proc_finistdio
-version SUNWprivate_1.1
-end
-
-function proc_fltname
-version SUNWprivate_1.1
-end
-
-function proc_fltset2str
-version SUNWprivate_1.1
-end
-
-function proc_flushstdio
-version SUNWprivate_1.1
-end
-
-function proc_get_auxv
-version SUNWprivate_1.1
-end
-
-function proc_get_priv
-version SUNWprivate_1.1
-end
-
-function proc_get_cred
-version SUNWprivate_1.1
-end
-
-function proc_get_ldt
-arch i386
-version SUNWprivate_1.1
-end
-
-function proc_get_psinfo
-version SUNWprivate_1.1
-end
-
-function proc_get_status
-version SUNWprivate_1.1
-end
-
-function proc_initstdio
-version SUNWprivate_1.1
-end
-
-function proc_lwp_in_set
-version SUNWprivate_1.1
-end
-
-function proc_lwp_range_valid
-version SUNWprivate_1.1
-end
-
-function proc_signame
-version SUNWprivate_1.1
-end
-
-function proc_sigset2str
-version SUNWprivate_1.1
-end
-
-function proc_str2content
-version SUNWprivate_1.1
-end
-
-function proc_str2flt
-version SUNWprivate_1.1
-end
-
-function proc_str2fltset
-version SUNWprivate_1.1
-end
-
-function proc_str2sig
-version SUNWprivate_1.1
-end
-
-function proc_str2sigset
-version SUNWprivate_1.1
-end
-
-function proc_str2sys
-version SUNWprivate_1.1
-end
-
-function proc_str2sysset
-version SUNWprivate_1.1
-end
-
-function proc_sysname
-version SUNWprivate_1.1
-end
-
-function proc_sysset2str
-version SUNWprivate_1.1
-end
-
-function proc_unctrl_psinfo
-version SUNWprivate_1.1
-end
-
-function proc_walk
-version SUNWprivate_1.1
-end
-
-function Lalt_stack
-version SUNWprivate_1.1
-end
-
-function Lclearfault
-version SUNWprivate_1.1
-end
-
-function Lclearsig
-version SUNWprivate_1.1
-end
-
-function Lctlfd
-version SUNWprivate_1.1
-end
-
-function Ldstop
-version SUNWprivate_1.1
-end
-
-function Lfree
-version SUNWprivate_1.1
-end
-
-function Lgetareg
-version SUNWprivate_1.1
-end
-
-function Lgrab
-version SUNWprivate_1.1
-end
-
-function Lgrab_error
-version SUNWprivate_1.1
-end
-
-function Lmain_stack
-version SUNWprivate_1.1
-end
-
-function Lprochandle
-version SUNWprivate_1.1
-end
-
-function Lpsinfo
-version SUNWprivate_1.1
-end
-
-function Lputareg
-version SUNWprivate_1.1
-end
-
-function Lsetrun
-version SUNWprivate_1.1
-end
-
-function Lstack
-version SUNWprivate_1.1
-end
-
-function Lstate
-version SUNWprivate_1.1
-end
-
-function Lstatus
-version SUNWprivate_1.1
-end
-
-function Lstop
-version SUNWprivate_1.1
-end
-
-function Lsync
-version SUNWprivate_1.1
-end
-
-function Lwait
-version SUNWprivate_1.1
-end
-
-function Lxecbkpt
-version SUNWprivate_1.1
-end
-
-function Lxecwapt
-version SUNWprivate_1.1
-end
-
diff --git a/usr/src/lib/libproc/spec/sparc/Makefile b/usr/src/lib/libproc/spec/sparc/Makefile
deleted file mode 100644
index 37c9a46e81..0000000000
--- a/usr/src/lib/libproc/spec/sparc/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1998-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libproc/spec/sparc/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#sparc_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libproc/spec/sparcv9/Makefile b/usr/src/lib/libproc/spec/sparcv9/Makefile
deleted file mode 100644
index 6c522ec231..0000000000
--- a/usr/src/lib/libproc/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,45 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1998-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libproc/spec/sparcv9/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#sparcv9_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libproc/spec/versions b/usr/src/lib/libproc/spec/versions
deleted file mode 100644
index 77f7410d00..0000000000
--- a/usr/src/lib/libproc/spec/versions
+++ /dev/null
@@ -1,64 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# For information on how to do public versioning for updates, see
-# /shared/ON/general_docs/README.spec
-#
-# DO NOT put symbols in the following version sets:
-# - SUNW_1.1
-# - SUNW_1.2
-# - SUNW_1.3
-# - SUNW_1.4
-# or remove them; they are here--empty--solely for backwards compatibility.
-#
-i386 {
- SUNW_1.4: {SUNW_1.3};
- SUNW_1.3: {SUNW_1.2};
- SUNW_1.2: {SUNW_1.1};
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-sparc {
- SUNW_1.4: {SUNW_1.3};
- SUNW_1.3: {SUNW_1.2};
- SUNW_1.2: {SUNW_1.1};
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-sparcv9 {
- SUNW_1.4: {SUNW_1.3};
- SUNW_1.3: {SUNW_1.2};
- SUNW_1.2: {SUNW_1.1};
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-amd64 {
- SUNW_1.4: {SUNW_1.3};
- SUNW_1.3: {SUNW_1.2};
- SUNW_1.2: {SUNW_1.1};
- SUNW_1.1;
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/libproject/Makefile b/usr/src/lib/libproject/Makefile
index 6d498ed533..2776f9bc2a 100644
--- a/usr/src/lib/libproject/Makefile
+++ b/usr/src/lib/libproject/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,17 +19,16 @@
# CDDL HEADER END
#
#
-# Copyright (c) 1999-2001 by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-# lib/libproject/Makefile
-#
-#ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
include ../Makefile.lib
-SUBDIRS= spec .WAIT $(MACH) $(BUILD64) $(MACH64)
+SUBDIRS = $(MACH)
+$(BUILD64)SUBDIRS += $(MACH64)
all:= TARGET= all
clean:= TARGET= clean
@@ -44,7 +42,7 @@ all clean clobber delete install lint package: $(SUBDIRS)
_msg:
-spec help $(MACH) $(MACH64) : FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
diff --git a/usr/src/lib/libproject/Makefile.com b/usr/src/lib/libproject/Makefile.com
index e4144d071d..454a72f3e5 100644
--- a/usr/src/lib/libproject/Makefile.com
+++ b/usr/src/lib/libproject/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,7 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
@@ -37,8 +36,7 @@ OBJECTS = \
# include library definitsion
include ../../Makefile.lib
-MAPFILE = $(MAPDIR)/mapfile
-SRCS = $(OBJECTS:%.o=../common/%.c)
+SRCDIR = ../common
LIBS = $(DYNLIB) $(LINTLIB)
@@ -49,11 +47,9 @@ ROOTLINTDIR = $(ROOTLIBDIR)
ROOTLINT = $(LINTSRC:%=$(ROOTLINTDIR)/%)
CLEANFILES += $(LINTOUT) $(LINTLIB)
-CLOBBERFILES += $(MAPFILE)
CPPFLAGS += -D_REENTRANT
CFLAGS += $(CCVERBOSE)
-DYNFLAGS += -M$(MAPFILE)
LDLIBS += -lc -lsecdb -lproc
lint := LDLIBS += -lpool
@@ -67,11 +63,6 @@ all: $(LIBS)
lint: lintcheck
-$(DYNLIB): $(MAPFILE)
-
-$(MAPFILE):
- @cd $(MAPDIR); $(MAKE) mapfile
-
# include library targets
include ../../Makefile.targ
diff --git a/usr/src/lib/libproject/amd64/Makefile b/usr/src/lib/libproject/amd64/Makefile
index 99e18f1980..72daafe13a 100644
--- a/usr/src/lib/libproject/amd64/Makefile
+++ b/usr/src/lib/libproject/amd64/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,13 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-MAPDIR=../spec/amd64
include ../Makefile.com
include ../../Makefile.lib.64
diff --git a/usr/src/lib/libproject/common/mapfile-vers b/usr/src/lib/libproject/common/mapfile-vers
new file mode 100644
index 0000000000..9d0fb35446
--- /dev/null
+++ b/usr/src/lib/libproject/common/mapfile-vers
@@ -0,0 +1,53 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNW_1.2 {
+ global:
+ project_walk;
+ setproject;
+} SUNW_1.1;
+
+SUNW_1.1 {
+ global:
+ endprojent;
+ fgetprojent;
+ getdefaultproj;
+ getprojbyid;
+ getprojbyname;
+ getprojent;
+ getprojidbyname;
+ inproj;
+ setprojent;
+};
+
+SUNWprivate_1.1 {
+ global:
+ setproject_initpriv;
+ setproject_proc;
+ local:
+ *;
+};
diff --git a/usr/src/lib/libproject/i386/Makefile b/usr/src/lib/libproject/i386/Makefile
index 42e5514c35..50cbcb01b9 100644
--- a/usr/src/lib/libproject/i386/Makefile
+++ b/usr/src/lib/libproject/i386/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,15 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright (c) 1999-2000 by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libproject/i386/Makefile
+# ident "%Z%%M% %I% %E% SMI"
#
-MAPDIR= ../spec/i386
include ../Makefile.com
.KEEP_STATE:
diff --git a/usr/src/lib/libproject/sparc/Makefile b/usr/src/lib/libproject/sparc/Makefile
index 4d64ef3c5f..50cbcb01b9 100644
--- a/usr/src/lib/libproject/sparc/Makefile
+++ b/usr/src/lib/libproject/sparc/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,15 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright (c) 1999-2000 by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libproject/sparc/Makefile
+# ident "%Z%%M% %I% %E% SMI"
#
-MAPDIR=../spec/sparc
include ../Makefile.com
.KEEP_STATE:
diff --git a/usr/src/lib/libproject/sparcv9/Makefile b/usr/src/lib/libproject/sparcv9/Makefile
index eb1fc824ca..72daafe13a 100644
--- a/usr/src/lib/libproject/sparcv9/Makefile
+++ b/usr/src/lib/libproject/sparcv9/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,15 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright (c) 1999-2000 by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libproject/sparcv9/Makefile
+# ident "%Z%%M% %I% %E% SMI"
#
-MAPDIR=../spec/sparcv9
include ../Makefile.com
include ../../Makefile.lib.64
diff --git a/usr/src/lib/libproject/spec/Makefile b/usr/src/lib/libproject/spec/Makefile
deleted file mode 100644
index 9af284f007..0000000000
--- a/usr/src/lib/libproject/spec/Makefile
+++ /dev/null
@@ -1,31 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1999-2000 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libproject/spec/Makefile
-#
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/libproject/spec/Makefile.targ b/usr/src/lib/libproject/spec/Makefile.targ
deleted file mode 100644
index d9f61e3f8b..0000000000
--- a/usr/src/lib/libproject/spec/Makefile.targ
+++ /dev/null
@@ -1,34 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1999-2000 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libproject/spec/Makefile.targ
-#
-
-LIBRARY= libproject.a
-VERS= .1
-
-OBJECTS= project.o
diff --git a/usr/src/lib/libproject/spec/amd64/Makefile b/usr/src/lib/libproject/spec/amd64/Makefile
deleted file mode 100644
index fb532ef308..0000000000
--- a/usr/src/lib/libproject/spec/amd64/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#amd64_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libproject/spec/i386/Makefile b/usr/src/lib/libproject/spec/i386/Makefile
deleted file mode 100644
index a41d547a8f..0000000000
--- a/usr/src/lib/libproject/spec/i386/Makefile
+++ /dev/null
@@ -1,37 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1999-2000 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libproject/spec/i386/Makefile
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libproject/spec/project.spec b/usr/src/lib/libproject/spec/project.spec
deleted file mode 100644
index 283a204f85..0000000000
--- a/usr/src/lib/libproject/spec/project.spec
+++ /dev/null
@@ -1,102 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libproject/spec/project.spec
-#
-
-function project_walk
-include <project.h>
-declaraction int project_walk(int (*)(projid_t, void *), void *)
-version SUNW_1.2
-end
-
-function setproject
-include <project.h>
-declaration projid_t setproject(const char *, const char *, int)
-version SUNW_1.2
-end
-
-function setprojent
-include <project.h>
-declaration void setprojent(void)
-version SUNW_1.1
-end
-
-function endprojent
-include <project.h>
-declaration void endprojent(void);
-version SUNW_1.1
-end
-
-function getprojent
-include <project.h>
-declaration struct project *getprojent(struct project *, void *, size_t)
-version SUNW_1.1
-end
-
-function getprojbyname
-include <project.h>
-declaration struct project *getprojbyname(const char *, struct project *, void *, size_t)
-version SUNW_1.1
-end
-
-function getprojbyid
-include <project.h>
-declaration struct project *getprojbyid(projid_t, struct project *, void *, size_t)
-version SUNW_1.1
-end
-
-function getdefaultproj
-include <project.h>
-declaration struct project *getdefaultproj(const char *, struct project *, void *, size_t)
-version SUNW_1.1
-end
-
-function fgetprojent
-include <project.h>
-declaration struct project *fgetprojent(FILE *, struct project *, void *, size_t)
-version SUNW_1.1
-end
-
-function inproj
-include <project.h>
-declaration int inproj(const char *, const char *, void *, size_t)
-version SUNW_1.1
-end
-
-function getprojidbyname
-include <project.h>
-declaration projid_t getprojidbyname(const char *)
-version SUNW_1.1
-end
-
-function setproject_proc
-version SUNWprivate_1.1
-end
-
-function setproject_initpriv
-version SUNWprivate_1.1
-end
diff --git a/usr/src/lib/libproject/spec/sparc/Makefile b/usr/src/lib/libproject/spec/sparc/Makefile
deleted file mode 100644
index c67261f12c..0000000000
--- a/usr/src/lib/libproject/spec/sparc/Makefile
+++ /dev/null
@@ -1,45 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1999-2000 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libproject/spec/sparc/Makefile
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#sparc_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libproject/spec/sparcv9/Makefile b/usr/src/lib/libproject/spec/sparcv9/Makefile
deleted file mode 100644
index d3899a0ff2..0000000000
--- a/usr/src/lib/libproject/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,46 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1999-2000 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libproject/spec/sparcv9/Makefile
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJEcTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#sparcv9_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libproject/spec/versions b/usr/src/lib/libproject/spec/versions
deleted file mode 100644
index b7d90defcb..0000000000
--- a/usr/src/lib/libproject/spec/versions
+++ /dev/null
@@ -1,47 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-i386 {
- SUNW_1.2: {SUNW_1.1};
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-sparc {
- SUNW_1.2: {SUNW_1.1};
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-sparcv9 {
- SUNW_1.2: {SUNW_1.1};
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-amd64 {
- SUNW_1.2: {SUNW_1.1};
- SUNW_1.1;
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/libprtdiag/Makefile.com b/usr/src/lib/libprtdiag/Makefile.com
index 0997c2f910..3f6762338e 100644
--- a/usr/src/lib/libprtdiag/Makefile.com
+++ b/usr/src/lib/libprtdiag/Makefile.com
@@ -48,6 +48,9 @@ CFLAGS += $(CCVERBOSE)
LDLIBS += -lc -lkstat
DYNFLAGS += -Wl,-f/usr/platform/\$$PLATFORM/lib/$(DYNLIBPSR)
+# There should be a mapfile here
+MAPFILES =
+
SRCDIR = ../../common
$(LINTLIB) := SRCS = $(SRCDIR)/$(LINTSRC)
USR_PSMLINT= $(LINTSRC:%=$(USR_PSM_LIB_DIR)/%)
diff --git a/usr/src/lib/libprtdiag_psr/sparc/Makefile.com b/usr/src/lib/libprtdiag_psr/sparc/Makefile.com
index 18df32a634..e954427363 100644
--- a/usr/src/lib/libprtdiag_psr/sparc/Makefile.com
+++ b/usr/src/lib/libprtdiag_psr/sparc/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,7 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
@@ -48,6 +47,9 @@ SRCS= $(OBJECTS:%.o=./common/%.c)
LIBS = $(DYNLIB)
+# There should be a mapfile here
+MAPFILES =
+
CFLAGS += $(CCVERBOSE)
IFLAGS += -I $(UTSBASE)/sun4u
IFLAGS += -I $(UTSCLOSED)/sun4u
diff --git a/usr/src/lib/libpthread/Makefile.com b/usr/src/lib/libpthread/Makefile.com
index 156b36ae33..f313249ed2 100644
--- a/usr/src/lib/libpthread/Makefile.com
+++ b/usr/src/lib/libpthread/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,7 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
@@ -32,16 +31,15 @@ VERS = .1
include ../../Makefile.lib
include ../../Makefile.rootfs
-MAPFILES= mapfile-vers $(MAPFILE-FLTR)
-MAPOPTS= $(MAPFILES:%=-M %)
-
-DYNFLAGS += -F libc.so.1 $(MAPOPTS)
+DYNFLAGS += -F libc.so.1
LIBS = $(DYNLIB) $(LINTLIB)
SRCDIR = ../common
$(LINTLIB) := SRCS = $(SRCDIR)/llib-lpthread
+MAPFILES = mapfile-vers $(MAPFILE-FLTR)
+
# Redefine shared object build rule to use $(LD) directly (this avoids .init
# and .fini sections being added). Also, since there are no OBJECTS, turn
# off CTF.
@@ -56,5 +54,3 @@ include ../../Makefile.targ
all: $(LIBS)
lint:
-
-$(DYNLIB): $(MAPFILES)
diff --git a/usr/src/lib/librcm/Makefile b/usr/src/lib/librcm/Makefile
index 88edc674d8..1640557189 100644
--- a/usr/src/lib/librcm/Makefile
+++ b/usr/src/lib/librcm/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,20 +19,16 @@
# CDDL HEADER END
#
#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1999-2000 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/librcm/Makefile
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
+# ident "%Z%%M% %I% %E% SMI"
#
+
include ../Makefile.lib
-#
-# 64 bit build is turned off pending libsysevent conversion to 64 bit
-#
-SUBDIRS = spec .WAIT $(MACH) $(BUILD64) $(MACH64)
+SUBDIRS = $(MACH)
+$(BUILD64)SUBDIRS += $(MACH64)
# conditional assignments
all := TARGET= all
@@ -62,7 +57,7 @@ install_h: $(ROOTHDRS)
check: $(CHECKHDRS)
-$(MACH) $(MACH64) spec: FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
diff --git a/usr/src/lib/librcm/Makefile.com b/usr/src/lib/librcm/Makefile.com
index 81c6440ede..0678946b95 100644
--- a/usr/src/lib/librcm/Makefile.com
+++ b/usr/src/lib/librcm/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,7 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
@@ -36,10 +35,6 @@ LIBS = $(DYNLIB) $(LINTLIB)
LDLIBS += -lc -lnvpair
$(LINTLIB) := SRCS = ../llib-lrcm
-SRCDIR = ..
-MAPDIR = ../spec/$(TRANSMACH)
-SPECMAPFILE = $(MAPDIR)/mapfile
-
CFLAGS += $(CCVERBOSE)
.KEEP_STATE:
diff --git a/usr/src/lib/librcm/mapfile-vers b/usr/src/lib/librcm/mapfile-vers
new file mode 100644
index 0000000000..7becdd80d7
--- /dev/null
+++ b/usr/src/lib/librcm/mapfile-vers
@@ -0,0 +1,80 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNWprivate_1.1 {
+ global:
+ create_event_service;
+ get_event_service;
+ rcm_alloc_handle;
+ rcm_append_info;
+ rcm_dir;
+ rcm_exec_cmd;
+ rcm_free_handle;
+ rcm_free_info;
+ rcm_get_client_name;
+ rcm_get_info;
+ rcm_get_info_list;
+ rcm_get_rsrcstate;
+ rcm_get_script_dir;
+ rcm_info_error;
+ rcm_info_info;
+ rcm_info_modname;
+ rcm_info_next;
+ rcm_info_pid;
+ rcm_info_properties;
+ rcm_info_rsrc;
+ rcm_info_seqnum;
+ rcm_info_state;
+ rcm_is_script;
+ rcm_log_message;
+ rcm_module_close;
+ rcm_module_dir;
+ rcm_module_open;
+ rcm_notify_capacity_change;
+ rcm_notify_event;
+ rcm_notify_online;
+ rcm_notify_online_list;
+ rcm_notify_remove;
+ rcm_notify_remove_list;
+ rcm_notify_resume;
+ rcm_notify_resume_list;
+ rcm_register_capacity;
+ rcm_register_event;
+ rcm_register_interest;
+ rcm_request_capacity_change;
+ rcm_request_offline;
+ rcm_request_offline_list;
+ rcm_request_suspend;
+ rcm_request_suspend_list;
+ rcm_script_dir;
+ rcm_unregister_capacity;
+ rcm_unregister_event;
+ rcm_unregister_interest;
+ revoke_event_service;
+ local:
+ *;
+};
diff --git a/usr/src/lib/librcm/spec/Makefile b/usr/src/lib/librcm/spec/Makefile
deleted file mode 100644
index f181040d29..0000000000
--- a/usr/src/lib/librcm/spec/Makefile
+++ /dev/null
@@ -1,30 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/librcm/spec/Makefile
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/librcm/spec/Makefile.targ b/usr/src/lib/librcm/spec/Makefile.targ
deleted file mode 100644
index 575ddf3fd6..0000000000
--- a/usr/src/lib/librcm/spec/Makefile.targ
+++ /dev/null
@@ -1,35 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/librcm/spec/Makefile.targ
-
-LIBRARY = librcm.a
-VERS = .1
-
-OBJECTS = rcm.o rcm_event.o
-
-SPECCPP = -I../..
diff --git a/usr/src/lib/librcm/spec/amd64/Makefile b/usr/src/lib/librcm/spec/amd64/Makefile
deleted file mode 100644
index 2a38c1cba9..0000000000
--- a/usr/src/lib/librcm/spec/amd64/Makefile
+++ /dev/null
@@ -1,42 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#amd64_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/librcm/spec/i386/Makefile b/usr/src/lib/librcm/spec/i386/Makefile
deleted file mode 100644
index e14fe4ea4d..0000000000
--- a/usr/src/lib/librcm/spec/i386/Makefile
+++ /dev/null
@@ -1,42 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/librcm/spec/i386/Makefile
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#i386_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/librcm/spec/rcm.spec b/usr/src/lib/librcm/spec/rcm.spec
deleted file mode 100644
index 775e23db96..0000000000
--- a/usr/src/lib/librcm/spec/rcm.spec
+++ /dev/null
@@ -1,324 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/librcm/spec/rcm.spec
-
-#
-# Consolidation private PSARC 1998/460
-#
-
-function rcm_alloc_handle
-include <librcm.h>
-declaration int rcm_alloc_handle(char *, uint_t, void *, rcm_handle_t **)
-version SUNWprivate_1.1
-end
-
-function rcm_free_handle
-include <librcm.h>
-declaration int rcm_free_handle(rcm_handle_t *)
-version SUNWprivate_1.1
-end
-
-function rcm_get_info
-include <librcm.h>
-include <librcm_impl.h>
-declaration int rcm_get_info(rcm_handle_t *, char *, uint_t, rcm_info_t **)
-version SUNWprivate_1.1
-end
-
-function rcm_get_info_list
-include <librcm.h>
-include <librcm_impl.h>
-declaration int rcm_get_info_list(rcm_handle_t *, char **, uint_t, \
- rcm_info_t **)
-version SUNWprivate_1.1
-end
-
-function rcm_free_info
-include <librcm.h>
-declaration void rcm_free_info(rcm_info_t *)
-version SUNWprivate_1.1
-end
-
-function rcm_append_info
-include <librcm.h>
-declaration int rcm_append_info(rcm_info_t **, rcm_info_t *)
-version SUNWprivate_1.1
-end
-
-function rcm_info_next
-include <librcm.h>
-declaration rcm_info_tuple_t *rcm_info_next(rcm_info_t *, \
- rcm_info_tuple_t *)
-version SUNWprivate_1.1
-end
-
-function rcm_info_rsrc
-include <librcm.h>
-declaration const char *rcm_info_rsrc(rcm_info_tuple_t *)
-version SUNWprivate_1.1
-end
-
-function rcm_info_info
-include <librcm.h>
-declaration const char *rcm_info_info(rcm_info_tuple_t *)
-version SUNWprivate_1.1
-end
-
-function rcm_info_error
-include <librcm.h>
-declaration const char *rcm_info_error(rcm_info_tuple_t *)
-version SUNWprivate_1.1
-end
-
-function rcm_info_modname
-include <librcm.h>
-declaration const char *rcm_info_modname(rcm_info_tuple_t *)
-version SUNWprivate_1.1
-end
-
-function rcm_info_pid
-include <librcm.h>
-declaration pid_t rcm_info_pid(rcm_info_tuple_t *)
-version SUNWprivate_1.1
-end
-
-function rcm_info_state
-include <librcm.h>
-declaration int rcm_info_state(rcm_info_tuple_t *)
-version SUNWprivate_1.1
-end
-
-function rcm_info_seqnum
-include <librcm.h>
-declaration int rcm_info_seqnum(rcm_info_tuple_t *)
-version SUNWprivate_1.1
-end
-
-function rcm_info_properties
-include <librcm.h>
-declaration nvlist_t *rcm_info_properties(rcm_info_tuple_t *)
-version SUNWprivate_1.1
-end
-
-function rcm_request_offline
-include <librcm.h>
-declaration int rcm_request_offline(rcm_handle_t *, char *, uint_t, \
- rcm_info_t **)
-version SUNWprivate_1.1
-end
-
-function rcm_request_offline_list
-include <librcm.h>
-declaration int rcm_request_offline_list(rcm_handle_t *, char **, uint_t, \
- rcm_info_t **)
-version SUNWprivate_1.1
-end
-
-function rcm_notify_online
-include <librcm.h>
-declaration int rcm_notify_online(rcm_handle_t *, char *, uint_t, \
- rcm_info_t **)
-version SUNWprivate_1.1
-end
-
-function rcm_notify_online_list
-include <librcm.h>
-declaration int rcm_notify_online_list(rcm_handle_t *, char **, uint_t, \
- rcm_info_t **)
-version SUNWprivate_1.1
-end
-
-function rcm_notify_remove
-include <librcm.h>
-declaration int rcm_notify_remove(rcm_handle_t *, char *, uint_t, \
- rcm_info_t **)
-version SUNWprivate_1.1
-end
-
-function rcm_notify_remove_list
-include <librcm.h>
-declaration int rcm_notify_remove_list(rcm_handle_t *, char **, uint_t, \
- rcm_info_t **)
-version SUNWprivate_1.1
-end
-
-function rcm_request_suspend
-include <librcm.h>
-declaration int rcm_request_suspend(rcm_handle_t *, char *, uint_t, \
- timespec_t *, rcm_info_t **)
-version SUNWprivate_1.1
-end
-
-function rcm_request_suspend_list
-include <librcm.h>
-declaration int rcm_request_suspend_list(rcm_handle_t *, char **, uint_t, \
- timespec_t *, rcm_info_t **)
-version SUNWprivate_1.1
-end
-
-function rcm_notify_resume
-include <librcm.h>
-declaration int rcm_notify_resume(rcm_handle_t *, char *, uint_t, \
- rcm_info_t **)
-version SUNWprivate_1.1
-end
-
-function rcm_notify_resume_list
-include <librcm.h>
-declaration int rcm_notify_resume_list(rcm_handle_t *, char **, uint_t, \
- rcm_info_t **)
-version SUNWprivate_1.1
-end
-
-function rcm_notify_capacity_change
-include <librcm.h>
-declaration int rcm_notify_capacity_change(rcm_handle_t *, char *, uint_t, \
- nvlist_t *, rcm_info_t **)
-version SUNWprivate_1.1
-end
-
-function rcm_request_capacity_change
-include <librcm.h>
-declaration int rcm_request_capacity_change(rcm_handle_t *, char *, \
- uint_t, nvlist_t *, rcm_info_t **)
-version SUNWprivate_1.1
-end
-
-function rcm_notify_event
-include <librcm.h>
-declaration int rcm_notify_event(rcm_handle_t *, char *, uint_t, \
- nvlist_t *, rcm_info_t **)
-version SUNWprivate_1.1
-end
-
-function rcm_register_interest
-include <librcm.h>
-declaration int rcm_register_interest(rcm_handle_t *, char *, uint_t, \
- rcm_info_t **)
-version SUNWprivate_1.1
-end
-
-function rcm_unregister_interest
-include <librcm.h>
-declaration int rcm_unregister_interest(rcm_handle_t *, char *, uint_t)
-version SUNWprivate_1.1
-end
-
-function rcm_register_event
-include <librcm.h>
-declaration int rcm_register_event(rcm_handle_t *, char *, uint_t, \
- rcm_info_t **)
-version SUNWprivate_1.1
-end
-
-function rcm_unregister_event
-include <librcm.h>
-declaration int rcm_unregister_event(rcm_handle_t *, char *, uint_t)
-version SUNWprivate_1.1
-end
-
-function rcm_register_capacity
-include <librcm.h>
-declaration int rcm_register_capacity(rcm_handle_t *, char *, uint_t, \
- rcm_info_t **)
-version SUNWprivate_1.1
-end
-
-function rcm_unregister_capacity
-include <librcm.h>
-declaration int rcm_unregister_capacity(rcm_handle_t *, char *, uint_t)
-version SUNWprivate_1.1
-end
-
-#
-# Project private interfaces
-#
-function rcm_exec_cmd
-include <librcm.h>
-declaration int rcm_exec_cmd(char *)
-version SUNWprivate_1.1
-end
-
-function rcm_module_dir
-include <librcm_impl.h>
-declaration char *rcm_module_dir(uint_t)
-version SUNWprivate_1.1
-end
-
-function rcm_script_dir
-include <librcm_impl.h>
-declaration char *rcm_script_dir(uint_t)
-version SUNWprivate_1.1
-end
-
-function rcm_dir
-include <librcm_impl.h>
-declaration char *rcm_dir(uint_t, int *)
-version SUNWprivate_1.1
-end
-
-function rcm_get_script_dir
-include <librcm_impl.h>
-declaration char *rcm_get_script_dir(char *)
-version SUNWprivate_1.1
-end
-
-function rcm_is_script
-include <librcm_impl.h>
-declaration int rcm_is_script(char *)
-version SUNWprivate_1.1
-end
-
-function rcm_module_open
-include <librcm_impl.h>
-declaration void *rcm_module_open(char *)
-version SUNWprivate_1.1
-end
-
-function rcm_module_close
-include <librcm_impl.h>
-declaration void rcm_module_close(void *)
-version SUNWprivate_1.1
-end
-
-function rcm_log_message
-include <librcm_impl.h>
-declaration void rcm_log_message(int, char *, ...)
-version SUNWprivate_1.1
-end
-
-function rcm_get_rsrcstate
-include <librcm_impl.h>
-declaration int rcm_get_rsrcstate(rcm_handle_t *, char *, int *)
-version SUNWprivate_1.1
-end
-
-function rcm_get_client_name
-include <librcm.h>
-declaration const char *rcm_get_client_name(rcm_handle_t *)
-version SUNWprivate_1.1
-end
diff --git a/usr/src/lib/librcm/spec/rcm_event.spec b/usr/src/lib/librcm/spec/rcm_event.spec
deleted file mode 100644
index f6c238d7eb..0000000000
--- a/usr/src/lib/librcm/spec/rcm_event.spec
+++ /dev/null
@@ -1,45 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/librcm/spec/rcm_event.spec
-
-function get_event_service
-include <librcm_event.h>
-declaration int get_event_service(char *door_name, void *data, size_t datalen, void **result, size_t *rlen)
-version SUNWprivate_1.1
-end
-
-function create_event_service
-include <librcm_event.h>
-declaration int create_event_service(char *door_name, void (*func)(void **data, size_t *datalen))
-version SUNWprivate_1.1
-end
-
-function revoke_event_service
-include <librcm_event.h>
-declaration int revoke_event_service(int fd)
-version SUNWprivate_1.1
-end
diff --git a/usr/src/lib/librcm/spec/sparc/Makefile b/usr/src/lib/librcm/spec/sparc/Makefile
deleted file mode 100644
index 486cdc5f7d..0000000000
--- a/usr/src/lib/librcm/spec/sparc/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/librcm/spec/sparc/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#sparc_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/librcm/spec/sparcv9/Makefile b/usr/src/lib/librcm/spec/sparcv9/Makefile
deleted file mode 100644
index 2d5a76c3aa..0000000000
--- a/usr/src/lib/librcm/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,43 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/librcm/spec/sparcv9/Makefile
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#sparcv9_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/librcm/spec/versions b/usr/src/lib/librcm/spec/versions
deleted file mode 100644
index a986dca11b..0000000000
--- a/usr/src/lib/librcm/spec/versions
+++ /dev/null
@@ -1,41 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# SUNW_1.1: Private (consolidation) PSARC 1998/???
-#
-
-sparc {
- SUNWprivate_1.1;
-}
-sparcv9 {
- SUNWprivate_1.1;
-}
-i386 {
- SUNWprivate_1.1;
-}
-amd64 {
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/libresolv/Makefile b/usr/src/lib/libresolv/Makefile
index 9e9fbedc68..b2637e6f89 100644
--- a/usr/src/lib/libresolv/Makefile
+++ b/usr/src/lib/libresolv/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -25,8 +24,6 @@
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libresolv/Makefile
-#
LIBRARY= libresolv.a
VERS= .1
@@ -49,14 +46,7 @@ include ../Makefile.lib
# install this library in the root filesystem
include ../Makefile.rootfs
-SUBDIRS= spec
-
-MAPDIR= ./spec/$(MACH)
-MAPFILE= $(MAPDIR)/mapfile
-MAPFILES= $(MAPFILE) mapfile-vers
-MAPOPTS= $(MAPFILES:%=-M%)
-
-CLOBBERFILES += $(MAPFILE)
+SRCDIR = .
C99MODE= $(C99_DISABLE)
@@ -66,40 +56,18 @@ C99MODE= $(C99_DISABLE)
# so we must put -I. ahead of the default include directories:
CPPFLAGS = -I. -I../common/inc $(CPPFLAGS.master) -DDEBUG -DSYSV -D_REENTRANT
LDLIBS += -lsocket -lnsl -lc
-DYNFLAGS += $(MAPOPTS)
ROOTDYNLIBS= $(DYNLIB:%=$(ROOTLIBDIR)/%)
-all := TARGET= all
-clean := TARGET= clean
-clobber := TARGET= clobber
-delete := TARGET= delete
-install := TARGET= install
-lint := TARGET= lint
-catalog := TARGET= catalog
-package := TARGET= package
-
.KEEP_STATE:
LIBS = $(DYNLIB)
-all: $(SUBDIRS) $(LIBS)
+all: $(LIBS)
-install: all $(ROOTDYNLIBS) $(SUBDIRS)
+install: all $(ROOTDYNLIBS)
lint: lintcheck
-clean clobber: $(SUBDIRS)
-
-spec: FRC
- @cd $@; pwd; $(MAKE) $(TARGET)
-
-$(DYNLIB): $(MAPFILES)
-
-$(MAPFILE):
- @cd $(MAPDIR); $(MAKE) mapfile
-
# include library targets
include ../Makefile.targ
-
-FRC:
diff --git a/usr/src/lib/libresolv/mapfile-vers b/usr/src/lib/libresolv/mapfile-vers
index 8107ddfb6e..6e7d8ac332 100644
--- a/usr/src/lib/libresolv/mapfile-vers
+++ b/usr/src/lib/libresolv/mapfile-vers
@@ -1,13 +1,9 @@
#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -22,14 +18,59 @@
#
# CDDL HEADER END
#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
# ident "%Z%%M% %I% %E% SMI"
#
-# Special mapfile to establish h_errno as a filter on libnsl. As a filtered
-# symbol, this isn't visible to apptrace, and thus doesn't have to be defined
-# from the specfiles. To ensure the symbol remains in .bss, with the correct
-# size, its filtering capabilities are assigned here rather than via a specfile.
+
+# Due to mistakes made early in the history of this library, there are
+# no SUNW_1.1 symbols, but the version is now kept as a placeholder.
+# Don't add any symbols to this version.
+
+SUNW_1.1 {
+ global:
+ SUNW_1.1;
+} SUNW_0.7;
SUNW_0.7 {
- global:
- h_errno = FILTER libnsl.so.1;
+ global:
+ dn_comp;
+ dn_expand;
+ dn_skipname;
+ fp_query;
+ _getlong;
+ _getshort;
+ h_errno = FILTER libnsl.so.1;
+ hostalias;
+ p_cdname;
+ p_class;
+ p_query;
+ p_rr;
+ p_time;
+ p_type;
+ putlong;
+ _res;
+ res_init;
+ res_mkquery;
+ res_query;
+ res_querydomain;
+ res_search;
+ res_send;
+ strcasecmp = FUNCTION FILTER libc.so.1;
+ strncasecmp = FUNCTION FILTER libc.so.1;
+};
+
+SUNWprivate_1.1 {
+ global:
+ res_endhostent;
+ res_gethostbyaddr;
+ res_gethostbyname;
+ _res_opcodes;
+ _res_resultcodes;
+ res_sethostent;
+ __res_set_no_hosts_fallback;
+ local:
+ *;
};
diff --git a/usr/src/lib/libresolv/spec/Makefile b/usr/src/lib/libresolv/spec/Makefile
deleted file mode 100644
index cb7140006e..0000000000
--- a/usr/src/lib/libresolv/spec/Makefile
+++ /dev/null
@@ -1,55 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1998-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libresolv/spec/Makefile
-
-#
-# no sparcv9 build of libresolv
-# if it is desirable to build one then uncomment the line below and delete
-# the rest of the lines.
-#
-#include $(SRC)/lib/Makefile.spec.arch
-
-i386_ARCHITECTURES = i386
-sparc_ARCHITECTURES = sparc
-
-all := TARGET= all
-install := TARGET= install
-clean := TARGET= clean
-clobber := TARGET= clobber
-lint := TARGET= lint
-
-.KEEP_STATE:
-
-all install clean clobber lint: $($(MACH)_ARCHITECTURES)
-
-# spec files do not have msgs or catalogs
-_msg catalog:
-
-$($(MACH)_ARCHITECTURES): FRC
- @cd $@; pwd; $(MAKE) $(TARGET)
-
-FRC:
diff --git a/usr/src/lib/libresolv/spec/Makefile.targ b/usr/src/lib/libresolv/spec/Makefile.targ
deleted file mode 100644
index b9f97daf6e..0000000000
--- a/usr/src/lib/libresolv/spec/Makefile.targ
+++ /dev/null
@@ -1,35 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1998-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libresolv/spec/Makefile.targ
-
-LIBRARY = libresolv.a
-VERS = .1
-
-OBJECTS = resolv.o \
- res_mkquery.o
-
-SPECCPP = -I..
diff --git a/usr/src/lib/libresolv/spec/amd64/Makefile b/usr/src/lib/libresolv/spec/amd64/Makefile
deleted file mode 100644
index d334868181..0000000000
--- a/usr/src/lib/libresolv/spec/amd64/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#amd64_C_PICFLAGS = $(amd64_C_BIGPICFLAGS)
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libresolv/spec/i386/Makefile b/usr/src/lib/libresolv/spec/i386/Makefile
deleted file mode 100644
index a3f2757746..0000000000
--- a/usr/src/lib/libresolv/spec/i386/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1998-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libresolv/spec/i386/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#i386_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libresolv/spec/res_mkquery.spec b/usr/src/lib/libresolv/spec/res_mkquery.spec
deleted file mode 100644
index bed047b457..0000000000
--- a/usr/src/lib/libresolv/spec/res_mkquery.spec
+++ /dev/null
@@ -1,75 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libresolv/spec/res_mkquery.spec
-
-function res_mkquery
-include <sys/types.h>, <struct_rrec_compat.h>
-declaration int res_mkquery(int op, const char *dname, int class, \
- int type, const char *data, int datalen, \
- struct rrec *newrr, uchar_t *buf, int buflen )
-version SUNW_0.7
-exception $return == -1
-end
-
-function _res
-version SUNW_0.7
-end
-
-# nss_dns.so.1
-function __res_set_no_hosts_fallback
-version SUNWprivate_1.1
-end
-
-# in.named
-function _res_opcodes
-version SUNWprivate_1.1
-end
-
-# in.named
-function _res_resultcodes
-version SUNWprivate_1.1
-end
-
-# nss_dns.so.1
-function res_endhostent
-version SUNWprivate_1.1
-end
-
-# nss_dns.so.1
-function res_gethostbyaddr
-version SUNWprivate_1.1
-end
-
-# nss_dns.so.1m hotjava
-function res_gethostbyname
-version SUNWprivate_1.1
-end
-
-# nss_dns.so.1
-function res_sethostent
-version SUNWprivate_1.1
-end
diff --git a/usr/src/lib/libresolv/spec/resolv.spec b/usr/src/lib/libresolv/spec/resolv.spec
deleted file mode 100644
index 83db4e4b6d..0000000000
--- a/usr/src/lib/libresolv/spec/resolv.spec
+++ /dev/null
@@ -1,135 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libresolv/spec/resolv.spec
-
-function _getlong
-version SUNW_0.7
-end
-
-function _getshort
-version SUNW_0.7
-end
-
-function res_querydomain
-version SUNW_0.7
-end
-
-function res_init
-include <sys/types.h>, <netinet/in.h>, <arpa/nameser.h>, <resolv.h>
-declaration int res_init(void)
-version SUNW_0.7
-end
-
-function res_query
-include <sys/types.h>, <netinet/in.h>, <arpa/nameser.h>, <resolv.h>
-declaration int res_query(const char *dname, int class, int type, \
- u_char *answer, int anslen)
-version SUNW_0.7
-end
-
-function res_search
-include <sys/types.h>, <netinet/in.h>, <arpa/nameser.h>, <resolv.h>
-declaration int res_search(const char *dname, int class, int type, \
- u_char *answer, int anslen)
-version SUNW_0.7
-end
-
-function res_send
-include <sys/types.h>, <netinet/in.h>, <arpa/nameser.h>, <resolv.h>
-declaration int res_send(const uchar_t *msg, int msglen, uchar_t *answer, \
- int anslen)
-version SUNW_0.7
-exception $return == -1
-end
-
-function dn_comp
-include <sys/types.h>, <netinet/in.h>, <arpa/nameser.h>, <resolv.h>
-declaration int dn_comp(const char *exp_dn, u_char *comp_dn, \
- int length, u_char **dnptrs, u_char **lastdnptr)
-version SUNW_0.7
-exception $return == -1
-end
-
-function dn_expand
-include <sys/types.h>, <netinet/in.h>, <arpa/nameser.h>, <resolv.h>
-declaration int dn_expand(const uchar_t *msg, const uchar_t *eomorig, \
- const uchar_t *comp_dn, char *exp_dn, int length)
-version SUNW_0.7
-exception $return == -1
-end
-
-function strcasecmp
-version SUNW_0.7
-filter libc.so.1
-end
-
-function strncasecmp
-version SUNW_0.7
-filter libc.so.1
-end
-
-function dn_skipname
-version SUNW_0.7
-end
-
-function fp_query
-version SUNW_0.7
-end
-
-# h_errno moved to explicit mapfile definition to provide correct type and size.
-
-function hostalias
-version SUNW_0.7
-end
-
-function p_cdname
-version SUNW_0.7
-end
-
-function p_class
-version SUNW_0.7
-end
-
-function p_query
-version SUNW_0.7
-end
-
-function p_rr
-version SUNW_0.7
-end
-
-function p_time
-version SUNW_0.7
-end
-
-function p_type
-version SUNW_0.7
-end
-
-function putlong
-version SUNW_0.7
-end
diff --git a/usr/src/lib/libresolv/spec/sparc/Makefile b/usr/src/lib/libresolv/spec/sparc/Makefile
deleted file mode 100644
index 3d23bad698..0000000000
--- a/usr/src/lib/libresolv/spec/sparc/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1998-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libresolv/spec/sparc/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#sparc_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libresolv/spec/sparcv9/Makefile b/usr/src/lib/libresolv/spec/sparcv9/Makefile
deleted file mode 100644
index e772bf503c..0000000000
--- a/usr/src/lib/libresolv/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,45 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1998-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libresolv/spec/sparcv9/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#sparcv9_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libresolv/spec/versions b/usr/src/lib/libresolv/spec/versions
deleted file mode 100644
index 23ec67427b..0000000000
--- a/usr/src/lib/libresolv/spec/versions
+++ /dev/null
@@ -1,51 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# Note: Even though the SUNW_1.1 version now contains no symbols
-# beyond what was present at Solaris 2.3, the SUNW_1.1 version MUST be
-# present. This is because applications built on 2.6 Beta
-# (when it did contain symbols explicitly) may depend on it.
-#
-sparcv9 {
- SUNW_1.1: {SUNW_0.7};
- SUNW_0.7;
- SUNWprivate_1.1;
-}
-sparc {
- SUNW_1.1: {SUNW_0.7};
- SUNW_0.7;
- SUNWprivate_1.1;
-}
-i386 {
- SUNW_1.1: {SUNW_0.7};
- SUNW_0.7;
- SUNWprivate_1.1;
-}
-amd64 {
- SUNW_1.1: {SUNW_0.7};
- SUNW_0.7;
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/libresolv2/Makefile b/usr/src/lib/libresolv2/Makefile
index cfb4e5d6d9..b70fae546f 100644
--- a/usr/src/lib/libresolv2/Makefile
+++ b/usr/src/lib/libresolv2/Makefile
@@ -1,11 +1,29 @@
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libresolv2/Makefile
-#
include ../../Makefile.master
include ../Makefile.lib
@@ -20,7 +38,7 @@ $(ROOTMANIFEST) := GROUP = bin
CHKMANIFEST= $(MANIFEST:%.xml=%.xmlchk)
-SUBDIRS= include spec $(MACH)
+SUBDIRS= include $(MACH)
$(BUILD64)SUBDIRS += $(MACH64)
SUBDIRS += .WAIT irs
diff --git a/usr/src/lib/libresolv2/Makefile.com b/usr/src/lib/libresolv2/Makefile.com
index fe02612bd6..b37e4ba50d 100644
--- a/usr/src/lib/libresolv2/Makefile.com
+++ b/usr/src/lib/libresolv2/Makefile.com
@@ -1,11 +1,29 @@
#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libresolv2/Makefile.com
-#
LIBRARY= libresolv.a
VERS= .2
@@ -87,10 +105,7 @@ include ../../Makefile.lib
# install this library in the root filesystem
include ../../Makefile.rootfs
-MAPFILE= $(MAPDIR)/mapfile
-MAPFILES= $(MAPFILE) ../common/mapfile-vers
-MAPOPTS= $(MAPFILES:%=-M%)
-
+SRCDIR = ../common
SRCS= $(BSDOBJS:%.o=../common/bsd/%.c) \
$(DSTOBJS:%.o=../common/dst/%.c) \
$(INETOBJS:%.o=../common/inet/%.c) \
@@ -125,7 +140,7 @@ LOCFLAGS += -D_SYS_STREAM_H -D_REENTRANT -DSVR4 -DSUNW_OPTIONS \
$(SOLCOMPAT) -I../include -I../../common/inc
CPPFLAGS += $(LOCFLAGS)
-DYNFLAGS += $(MAPOPTS) $(ZNODELETE)
+DYNFLAGS += $(ZNODELETE)
LDLIBS += -lsocket -lnsl -lc
.KEEP_STATE:
@@ -134,11 +149,6 @@ all: $(LIBS)
lint: lintcheck
-$(DYNLIB): $(MAPFILES)
-
-$(MAPFILE):
- @cd $(MAPDIR); $(MAKE) mapfile
-
# include library targets
include ../../Makefile.targ
diff --git a/usr/src/lib/libresolv2/amd64/Makefile b/usr/src/lib/libresolv2/amd64/Makefile
index 4d512a2004..2e8cdecf75 100644
--- a/usr/src/lib/libresolv2/amd64/Makefile
+++ b/usr/src/lib/libresolv2/amd64/Makefile
@@ -1,12 +1,30 @@
#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-MAPDIR= ../spec/amd64
-
include ../Makefile.com
include ../../Makefile.lib.64
diff --git a/usr/src/lib/libresolv2/common/mapfile-vers b/usr/src/lib/libresolv2/common/mapfile-vers
index e700b09635..bfc8d05dbe 100644
--- a/usr/src/lib/libresolv2/common/mapfile-vers
+++ b/usr/src/lib/libresolv2/common/mapfile-vers
@@ -1,15 +1,311 @@
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# Special mapfile to establish h_errno as a filter on libnsl. As a filtered
-# symbol, this isn't visible to apptrace, and thus doesn't have to be defined
-# from the specfiles. To ensure the symbol remains in .bss, with the correct
-# size, its filtering capabilities are assigned here rather than via a specfile.
-SUNW_2.1 {
- global:
- h_errno = FILTER libnsl.so.1;
+SUNW_2.3 { # SunOS 5.11 (Solaris 11)
+ global:
+ inet_aton = FUNCTION FILTER libnsl.so.1;
+} SUNW_2.2;
+
+SUNW_2.2 { # SunOS 5.9 (Solaris 9)
+ global:
+ fp_resstat;
+ herror;
+ res_hostalias;
+ res_nclose;
+ res_ninit;
+ res_nmkquery;
+ res_nquery;
+ res_nquerydomain;
+ res_nsearch;
+ res_nsend;
+ res_nsendsigned;
+} SUNW_2.1;
+
+SUNW_2.1 { # SunOS 5.6 (Solaris 2.6)
+ global:
+ dn_comp;
+ dn_expand;
+ __dn_skipname;
+ __fp_query;
+ _getlong;
+ _getshort;
+ h_errno = FILTER libnsl.so.1;
+ __hostalias;
+ hstrerror;
+ __p_cdname;
+ __p_class;
+ __p_query;
+ __p_time;
+ __p_type;
+ __putlong;
+ _res;
+ res_init;
+ res_mkquery;
+ res_query;
+ res_querydomain;
+ res_search;
+ res_send;
+ res_update;
+};
+
+# There really should be only one SUNWprivate version.
+# Don't add any more. Add new private symbols to SUNWprivate_2.2
+
+SUNWprivate_2.2 {
+ global:
+ isc_gethexstring;
+ isc_puthexstring;
+ __log_close_debug_channels;
+ __memactive;
+ p_sockun;
+ res_gethostbyname2;
+ res_getservers;
+ res_nametoclass;
+ res_nametotype;
+ res_nopt;
+ res_setservers;
+} SUNWprivate_2.1;
+
+SUNWprivate_2.1 {
+ global:
+ __areweinnamed;
+ __assertion_failed;
+ assertion_type_to_text;
+ b64_ntop;
+ __b64_ntop;
+ b64_pton;
+ __b64_pton;
+ __ctl_client;
+ __ctl_command;
+ __ctl_endclient;
+ __ctl_endserver;
+ __ctl_getcsctx;
+ __ctl_response;
+ __ctl_sendhelp;
+ __ctl_server;
+ __ctl_setcsctx;
+ daemon;
+ dn_count_labels;
+ __dn_count_labels;
+ dn_skipname;
+ dst_buffer_to_key;
+ dst_check_algorithm;
+ dst_dnskey_to_key;
+ dst_free_key;
+ dst_generate_key;
+ dst_init;
+ dst_key_to_buffer;
+ dst_random;
+ dst_read_key;
+ dst_s_calculate_bits;
+ dst_s_conv_bignum_b64_to_u8;
+ dst_s_conv_bignum_u8_to_b64;
+ dst_s_dns_key_id;
+ dst_s_get_int16;
+ dst_s_id_calc;
+ dst_sign_data;
+ dst_s_put_int16;
+ dst_s_verify_str;
+ dst_t_func;
+ dst_verify_data;
+ dst_write_key;
+ __evAddTime;
+ __evCancelConn;
+ __evCancelRW;
+ __evClearTimer;
+ __evConnect;
+ __evConsIovec;
+ __evConsTime;
+ __evCreate;
+ __evDeselectFD;
+ __evDestroy;
+ __evDispatch;
+ __evDo;
+ __evGetNext;
+ __evHighestFD;
+ __evListen;
+ __evNowTime;
+ __evRead;
+ __evResetTimer;
+ __evSelectFD;
+ __evSetDebug;
+ __evSetTimer;
+ __evTimeVal;
+ __evUnwait;
+ __evWaitFor;
+ fp_nquery;
+ __fp_nquery;
+ fp_query;
+ __fp_resstat;
+ h_errlist;
+ __h_errno;
+ __h_errno_set;
+ hostalias;
+ inet_net_ntop;
+ inet_net_pton;
+ inet_nsap_addr;
+ inet_nsap_ntoa;
+ irs_destroy;
+ __ISC_res_freeupdrec;
+ __ISC_res_mkupdate;
+ __ISC_res_mkupdrec;
+ __ISC_res_nmkupdate;
+ __ISC_res_nupdate;
+ __ISC_res_update;
+ key_file_fmt_str;
+ loc_aton;
+ __loc_aton;
+ loc_ntoa;
+ __loc_ntoa;
+ __log_add_channel;
+ __log_category_is_active;
+ __log_check;
+ __log_close_stream;
+ __log_free_channel;
+ __log_free_context;
+ __log_get_channel_type;
+ __log_get_stream;
+ __log_inc_references;
+ __log_new_context;
+ __log_new_file_channel;
+ __log_new_null_channel;
+ __log_new_syslog_channel;
+ __log_open_stream;
+ __log_option;
+ __log_set_file_owner;
+ __log_vwrite;
+ __log_write;
+ __memget;
+ __memget_record;
+ __memput;
+ __memput_record;
+ __memstats;
+ __net_data_init;
+ net_data_minimize;
+ __ns_datetosecs;
+ __ns_find_tsig;
+ _ns_flagdata;
+ __ns_format_ttl;
+ __ns_get16;
+ __ns_get32;
+ __ns_initparse;
+ __ns_makecanon;
+ __ns_msg_getflag;
+ __ns_name_ntol;
+ __ns_name_ntop;
+ __ns_name_pton;
+ __ns_name_rollback;
+ __ns_name_unpack;
+ __ns_parserr;
+ __ns_parse_ttl;
+ __ns_put16;
+ __ns_samedomain;
+ __ns_samename;
+ __ns_sign;
+ __ns_sign2;
+ __ns_sign_tcp;
+ __ns_sign_tcp2;
+ __ns_sign_tcp_init;
+ __ns_skiprr;
+ __ns_sprintrr;
+ __ns_sprintrrf;
+ __ns_verify;
+ __ns_verify_tcp;
+ __ns_verify_tcp_init;
+ p_cdname;
+ __p_cert_syms;
+ p_class;
+ __p_class_syms;
+ p_fqnname;
+ __p_key_syms;
+ p_query;
+ p_rcode;
+ p_secstodate;
+ __p_secstodate;
+ p_section;
+ __p_section;
+ p_time;
+ p_type;
+ __p_type_syms;
+ putlong;
+ putshort;
+ __putshort;
+ res_close;
+ __res_disable_mt;
+ res_dnok;
+ __res_dnok;
+ __res_enable_mt;
+ res_endhostent;
+ res_findzonecut;
+ res_freehostent;
+ res_freeupdrec;
+ __res_get_h_errno;
+ res_gethostbyaddr;
+ res_gethostbyname;
+ res_gethostent;
+ res_getipnodebyaddr;
+ res_getipnodebyname;
+ __res_get_res;
+ res_hnok;
+ __res_hnok;
+ res_isourserver;
+ res_mailok;
+ __res_mailok;
+ res_mkupdate;
+ res_mkupdrec;
+ res_nameinquery;
+ __res_nameinquery;
+ res_nisourserver;
+ _res_opcodes;
+ __res_override_retry;
+ res_ownok;
+ __res_ownok;
+ res_pquery;
+ res_queriesmatch;
+ __res_queriesmatch;
+ res_randomid;
+ __res_randomid;
+ res_sendsigned;
+ res_sethostent;
+ __res_set_no_hosts_fallback;
+ __res_state;
+ __res_unset_no_hosts_fallback;
+ set_assertion_failure_callback;
+ sym_ntop;
+ __sym_ntop;
+ sym_ntos;
+ __sym_ntos;
+ sym_ston;
+ __sym_ston;
+ tree_add;
+ tree_init;
+ tree_mung;
+ tree_srch;
+ tree_trav;
+ local:
+ *;
};
diff --git a/usr/src/lib/libresolv2/cylink/Makefile b/usr/src/lib/libresolv2/cylink/Makefile
index cb38b82b0a..0ece5bae46 100644
--- a/usr/src/lib/libresolv2/cylink/Makefile
+++ b/usr/src/lib/libresolv2/cylink/Makefile
@@ -1,15 +1,35 @@
#
-# Copyright (c) 1999 by Sun Microsystems, Inc.
-# All rights reserved.
+# CDDL HEADER START
#
-#pragma ident "%Z%%M% %I% %E% SMI"
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libresolv2/cylink/Makefile
include ../../../Makefile.master
include ../../Makefile.lib
-SUBDIRS= spec $(MACH) $(BUILD64) $(MACH64)
+SUBDIRS = $(MACH)
+$(BUILD64)SUBDIRS += $(MACH64)
all := TARGET= all
clean := TARGET= clean
@@ -42,7 +62,7 @@ install_h: $(ROOTHDRS)
check: $(CHECKHDRS)
-$(MACH) $(MACH64) spec: FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
_msg: $(MSGDOMAIN) $(POFILE)
diff --git a/usr/src/lib/libresolv2/cylink/Makefile.com b/usr/src/lib/libresolv2/cylink/Makefile.com
index 0edb108d14..e8eedebc14 100644
--- a/usr/src/lib/libresolv2/cylink/Makefile.com
+++ b/usr/src/lib/libresolv2/cylink/Makefile.com
@@ -1,11 +1,29 @@
#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libresolv2/cylink/Makefile.com
-#
LIBRARY= cylink.a
VERS= .1
@@ -25,8 +43,8 @@ LIBNAME= $(LIBRARY:%.a=%)
LIBS= $(DYNLIB)
LDLIBS += -lresolv -lc
-MAPDIR = ../spec/$(TRANSMACH)
-SPECMAPFILE = $(MAPDIR)/mapfile
+MAPFILES = ../mapfile-vers
+
SRCDIR= ../../common/cylink
SRCS= $(DSTOBJS:%.o=../../common/dst/%.c) \
$(CYLINKOBJS:%.o=$(SRCDIR)/%.c)
diff --git a/usr/src/lib/libresolv2/cylink/amd64/Makefile b/usr/src/lib/libresolv2/cylink/amd64/Makefile
index 2b37434e6b..8df6381cfa 100644
--- a/usr/src/lib/libresolv2/cylink/amd64/Makefile
+++ b/usr/src/lib/libresolv2/cylink/amd64/Makefile
@@ -1,12 +1,30 @@
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-MAPDIR= ../spec/amd64
-
include ../Makefile.com
include ../../../Makefile.lib.64
diff --git a/usr/src/lib/libresolv2/cylink/mapfile-vers b/usr/src/lib/libresolv2/cylink/mapfile-vers
new file mode 100644
index 0000000000..d27bbde0ca
--- /dev/null
+++ b/usr/src/lib/libresolv2/cylink/mapfile-vers
@@ -0,0 +1,33 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNWprivate_1.1 {
+ global:
+ dst_cylink_init;
+ local:
+ *;
+};
diff --git a/usr/src/lib/libresolv2/cylink/spec/Makefile b/usr/src/lib/libresolv2/cylink/spec/Makefile
deleted file mode 100644
index 335473f4cc..0000000000
--- a/usr/src/lib/libresolv2/cylink/spec/Makefile
+++ /dev/null
@@ -1,8 +0,0 @@
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libresolv2/cylink/spec/Makefile
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/libresolv2/cylink/spec/Makefile.targ b/usr/src/lib/libresolv2/cylink/spec/Makefile.targ
deleted file mode 100644
index 25ade9b830..0000000000
--- a/usr/src/lib/libresolv2/cylink/spec/Makefile.targ
+++ /dev/null
@@ -1,12 +0,0 @@
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libresolv2/cylink/spec/Makefile.targ
-
-LIBRARY = cylink.a
-VERS = .1
-
-OBJECTS = cylink.o
-
diff --git a/usr/src/lib/libresolv2/cylink/spec/amd64/Makefile b/usr/src/lib/libresolv2/cylink/spec/amd64/Makefile
deleted file mode 100644
index 84ccf3ca89..0000000000
--- a/usr/src/lib/libresolv2/cylink/spec/amd64/Makefile
+++ /dev/null
@@ -1,26 +0,0 @@
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#amd64_C_PICFLAGS = $(amd64_C_BIGPICFLAGS)
-
-include $(SRC)/lib/Makefile.spec
-
-# No public interface, so don't install spec libraries in the proto area
-INS.abilib=
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libresolv2/cylink/spec/cylink.spec b/usr/src/lib/libresolv2/cylink/spec/cylink.spec
deleted file mode 100644
index aaa45150f4..0000000000
--- a/usr/src/lib/libresolv2/cylink/spec/cylink.spec
+++ /dev/null
@@ -1,11 +0,0 @@
-#
-# Copyright (c) 1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libresolv2/cylink/spec/cylink.spec
-
-function dst_cylink_init
-version SUNWprivate_1.1
-end
diff --git a/usr/src/lib/libresolv2/cylink/spec/i386/Makefile b/usr/src/lib/libresolv2/cylink/spec/i386/Makefile
deleted file mode 100644
index 1c7d394c11..0000000000
--- a/usr/src/lib/libresolv2/cylink/spec/i386/Makefile
+++ /dev/null
@@ -1,26 +0,0 @@
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libresolv2/cylink/spec/i386/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#sparc_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-# No public interface, so don't install spec libraries in the proto area
-INS.abilib=
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libresolv2/cylink/spec/sparc/Makefile b/usr/src/lib/libresolv2/cylink/spec/sparc/Makefile
deleted file mode 100644
index 59d2b5cd6c..0000000000
--- a/usr/src/lib/libresolv2/cylink/spec/sparc/Makefile
+++ /dev/null
@@ -1,26 +0,0 @@
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 2000 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libresolv2/cylink/spec/sparc/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#sparc_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-# No public interface, so don't install spec libraries in the proto area
-INS.abilib=
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libresolv2/cylink/spec/sparcv9/Makefile b/usr/src/lib/libresolv2/cylink/spec/sparcv9/Makefile
deleted file mode 100644
index 311dcf33e4..0000000000
--- a/usr/src/lib/libresolv2/cylink/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,27 +0,0 @@
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libresolv2/cylink/spec/sparcv9/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#sparcv9_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-# No public interface, so don't install spec libraries in the proto area
-INS.abilib=
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libresolv2/cylink/spec/versions b/usr/src/lib/libresolv2/cylink/spec/versions
deleted file mode 100644
index 6a318d48a3..0000000000
--- a/usr/src/lib/libresolv2/cylink/spec/versions
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-sparc {
- SUNWprivate_1.1;
-}
-sparcv9 {
- SUNWprivate_1.1;
-}
-i386 {
- SUNWprivate_1.1;
-}
-amd64 {
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/libresolv2/dnssafe/Makefile b/usr/src/lib/libresolv2/dnssafe/Makefile
index 03fb3d5f5b..7363b2c344 100644
--- a/usr/src/lib/libresolv2/dnssafe/Makefile
+++ b/usr/src/lib/libresolv2/dnssafe/Makefile
@@ -1,15 +1,35 @@
#
-# Copyright (c) 1999 by Sun Microsystems, Inc.
-# All rights reserved.
+# CDDL HEADER START
#
-#pragma ident "%Z%%M% %I% %E% SMI"
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libresolv2/dnssafe/Makefile
include ../../../Makefile.master
include ../../Makefile.lib
-SUBDIRS= spec $(MACH) $(BUILD64) $(MACH64)
+SUBDIRS = $(MACH)
+$(BUILD64)SUBDIRS += $(MACH64)
all := TARGET= all
clean := TARGET= clean
@@ -42,7 +62,7 @@ install_h: $(ROOTHDRS)
check: $(CHECKHDRS)
-$(MACH) $(MACH64) spec: FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
_msg: $(MSGDOMAIN) $(POFILE)
diff --git a/usr/src/lib/libresolv2/dnssafe/Makefile.com b/usr/src/lib/libresolv2/dnssafe/Makefile.com
index c3c12e49bd..ec11476c81 100644
--- a/usr/src/lib/libresolv2/dnssafe/Makefile.com
+++ b/usr/src/lib/libresolv2/dnssafe/Makefile.com
@@ -1,11 +1,29 @@
#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libresolv2/dnssafe/Makefile.com
-#
LIBRARY= dnssafe.a
VERS= .1
@@ -43,11 +61,11 @@ LIBNAME= $(LIBRARY:%.a=%)
LIBS= $(DYNLIB)
LDLIBS += -lmd -lresolv -lc
-MAPDIR = ../spec/$(TRANSMACH)
-SPECMAPFILE = $(MAPDIR)/mapfile
+MAPFILES = ../mapfile-vers
+
SRCDIR= ../../common/dnssafe
SRCS= $(DSTOBJS:%.o=../../common/dst/%.c) \
- $(DNSSAFEOBJS:%o=$(SRCDIR)/%.c)
+ $(DNSSAFEOBJS:%.o=$(SRCDIR)/%.c)
ROOTLIBDIR= $(ROOT)/usr/lib/dns
ROOTLIBDIR64= $(ROOT)/usr/lib/dns/$(MACH64)
diff --git a/usr/src/lib/libresolv2/dnssafe/amd64/Makefile b/usr/src/lib/libresolv2/dnssafe/amd64/Makefile
index 2b37434e6b..8df6381cfa 100644
--- a/usr/src/lib/libresolv2/dnssafe/amd64/Makefile
+++ b/usr/src/lib/libresolv2/dnssafe/amd64/Makefile
@@ -1,12 +1,30 @@
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-MAPDIR= ../spec/amd64
-
include ../Makefile.com
include ../../../Makefile.lib.64
diff --git a/usr/src/lib/libresolv2/dnssafe/mapfile-vers b/usr/src/lib/libresolv2/dnssafe/mapfile-vers
new file mode 100644
index 0000000000..8da7def4ba
--- /dev/null
+++ b/usr/src/lib/libresolv2/dnssafe/mapfile-vers
@@ -0,0 +1,36 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNWprivate_1.1 {
+ global:
+ dst_bsafe_init;
+ dst_eay_dss_init;
+ dst_md5_hmac_init;
+ dst_rsaref_init;
+ local:
+ *;
+};
diff --git a/usr/src/lib/libresolv2/dnssafe/spec/Makefile b/usr/src/lib/libresolv2/dnssafe/spec/Makefile
deleted file mode 100644
index 8ad8521042..0000000000
--- a/usr/src/lib/libresolv2/dnssafe/spec/Makefile
+++ /dev/null
@@ -1,8 +0,0 @@
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libresolv2/dnssafe/spec/Makefile
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/libresolv2/dnssafe/spec/Makefile.targ b/usr/src/lib/libresolv2/dnssafe/spec/Makefile.targ
deleted file mode 100644
index 84dd50716e..0000000000
--- a/usr/src/lib/libresolv2/dnssafe/spec/Makefile.targ
+++ /dev/null
@@ -1,12 +0,0 @@
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libresolv2/dnssafe/spec/Makefile.targ
-
-LIBRARY = dnssafe.a
-VERS = .1
-
-OBJECTS = dnssafe.o
-
diff --git a/usr/src/lib/libresolv2/dnssafe/spec/amd64/Makefile b/usr/src/lib/libresolv2/dnssafe/spec/amd64/Makefile
deleted file mode 100644
index 84ccf3ca89..0000000000
--- a/usr/src/lib/libresolv2/dnssafe/spec/amd64/Makefile
+++ /dev/null
@@ -1,26 +0,0 @@
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#amd64_C_PICFLAGS = $(amd64_C_BIGPICFLAGS)
-
-include $(SRC)/lib/Makefile.spec
-
-# No public interface, so don't install spec libraries in the proto area
-INS.abilib=
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libresolv2/dnssafe/spec/dnssafe.spec b/usr/src/lib/libresolv2/dnssafe/spec/dnssafe.spec
deleted file mode 100644
index 55b7a26fe0..0000000000
--- a/usr/src/lib/libresolv2/dnssafe/spec/dnssafe.spec
+++ /dev/null
@@ -1,23 +0,0 @@
-#
-# Copyright (c) 1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libresolv2/dnssafe/spec/dnssafe.spec
-
-function dst_bsafe_init
-version SUNWprivate_1.1
-end
-
-function dst_eay_dss_init
-version SUNWprivate_1.1
-end
-
-function dst_md5_hmac_init
-version SUNWprivate_1.1
-end
-
-function dst_rsaref_init
-version SUNWprivate_1.1
-end
diff --git a/usr/src/lib/libresolv2/dnssafe/spec/i386/Makefile b/usr/src/lib/libresolv2/dnssafe/spec/i386/Makefile
deleted file mode 100644
index d60f7c85f9..0000000000
--- a/usr/src/lib/libresolv2/dnssafe/spec/i386/Makefile
+++ /dev/null
@@ -1,26 +0,0 @@
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libresolv2/dnssafe/spec/i386/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#sparc_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-# No public interface, so don't install spec libraries in the proto area
-INS.abilib=
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libresolv2/dnssafe/spec/sparc/Makefile b/usr/src/lib/libresolv2/dnssafe/spec/sparc/Makefile
deleted file mode 100644
index 6046f459ec..0000000000
--- a/usr/src/lib/libresolv2/dnssafe/spec/sparc/Makefile
+++ /dev/null
@@ -1,26 +0,0 @@
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libresolv2/dnssafe/spec/sparc/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#sparc_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-# No public interface, so don't install spec libraries in the proto area
-INS.abilib=
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libresolv2/dnssafe/spec/sparcv9/Makefile b/usr/src/lib/libresolv2/dnssafe/spec/sparcv9/Makefile
deleted file mode 100644
index e405d11dc7..0000000000
--- a/usr/src/lib/libresolv2/dnssafe/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,27 +0,0 @@
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libresolv2/dnssafe/spec/sparcv9/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#sparcv9_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-# No public interface, so don't install spec libraries in the proto area
-INS.abilib=
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libresolv2/dnssafe/spec/versions b/usr/src/lib/libresolv2/dnssafe/spec/versions
deleted file mode 100644
index 6a318d48a3..0000000000
--- a/usr/src/lib/libresolv2/dnssafe/spec/versions
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-sparc {
- SUNWprivate_1.1;
-}
-sparcv9 {
- SUNWprivate_1.1;
-}
-i386 {
- SUNWprivate_1.1;
-}
-amd64 {
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/libresolv2/i386/Makefile b/usr/src/lib/libresolv2/i386/Makefile
index 3c5e466c4d..a333224278 100644
--- a/usr/src/lib/libresolv2/i386/Makefile
+++ b/usr/src/lib/libresolv2/i386/Makefile
@@ -1,12 +1,29 @@
#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libresolv2/sparc/Makefile
-
-MAPDIR= ../spec/i386
include ../Makefile.com
diff --git a/usr/src/lib/libresolv2/irs/Makefile b/usr/src/lib/libresolv2/irs/Makefile
index 42a540092b..476477d9fb 100644
--- a/usr/src/lib/libresolv2/irs/Makefile
+++ b/usr/src/lib/libresolv2/irs/Makefile
@@ -1,15 +1,35 @@
#
-# Copyright (c) 1999 by Sun Microsystems, Inc.
-# All rights reserved.
+# CDDL HEADER START
#
-#pragma ident "%Z%%M% %I% %E% SMI"
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libresolv2/irs/Makefile
include ../../../Makefile.master
include ../../Makefile.lib
-SUBDIRS= spec $(MACH) $(BUILD64) $(MACH64)
+SUBDIRS = $(MACH)
+$(BUILD64)SUBDIRS += $(MACH64)
all := TARGET= all
clean := TARGET= clean
@@ -42,7 +62,7 @@ install_h: $(ROOTHDRS)
check: $(CHECKHDRS)
-$(MACH) $(MACH64) spec: FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
_msg: $(MSGDOMAIN) $(POFILE)
diff --git a/usr/src/lib/libresolv2/irs/Makefile.com b/usr/src/lib/libresolv2/irs/Makefile.com
index 860edbc7cf..a8e27db89e 100644
--- a/usr/src/lib/libresolv2/irs/Makefile.com
+++ b/usr/src/lib/libresolv2/irs/Makefile.com
@@ -1,11 +1,29 @@
#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libresolv2/irs/Makefile.com
-#
LIBRARY= irs.a
VERS= .1
@@ -29,10 +47,10 @@ LIBNAME= $(LIBRARY:%.a=%)
LIBS= $(DYNLIB)
LDLIBS += -lresolv -lnsl -lsocket -lc
-MAPDIR = ../spec/$(TRANSMACH)
-SPECMAPFILE = $(MAPDIR)/mapfile
+MAPFILES = ../mapfile-vers
+
SRCDIR= ../../common/irs
-SRCS= $(IRSDYNOBJS:%.$(SRCDIR)/%.c) \
+SRCS= $(IRSDYNOBJS:%.o=$(SRCDIR)/%.c) \
$(SUNWOBJS:%.o=../../common/sunw/%.c)
ROOTLIBDIR= $(ROOT)/usr/lib/dns
diff --git a/usr/src/lib/libresolv2/irs/amd64/Makefile b/usr/src/lib/libresolv2/irs/amd64/Makefile
index 2b37434e6b..8df6381cfa 100644
--- a/usr/src/lib/libresolv2/irs/amd64/Makefile
+++ b/usr/src/lib/libresolv2/irs/amd64/Makefile
@@ -1,12 +1,30 @@
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-MAPDIR= ../spec/amd64
-
include ../Makefile.com
include ../../../Makefile.lib.64
diff --git a/usr/src/lib/fm/libfmd_snmp/spec/Makefile.targ b/usr/src/lib/libresolv2/irs/mapfile-vers
index ab462b0bc2..3170dfe489 100644
--- a/usr/src/lib/fm/libfmd_snmp/spec/Makefile.targ
+++ b/usr/src/lib/libresolv2/irs/mapfile-vers
@@ -18,7 +18,6 @@
#
# CDDL HEADER END
#
-
#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
@@ -26,8 +25,10 @@
# ident "%Z%%M% %I% %E% SMI"
#
-.KEEP_STATE:
-
-LIBRARY = libfmd_snmp.a
-VERS = .1
-OBJECTS = fmd_snmp.o
+SUNWprivate_1.1 {
+ global:
+ __irs_irp_acc;
+ __irs_nis_acc;
+ local:
+ *;
+};
diff --git a/usr/src/lib/libresolv2/irs/spec/Makefile b/usr/src/lib/libresolv2/irs/spec/Makefile
deleted file mode 100644
index 1928a002a5..0000000000
--- a/usr/src/lib/libresolv2/irs/spec/Makefile
+++ /dev/null
@@ -1,8 +0,0 @@
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libresolv2/irs/spec/Makefile
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/libresolv2/irs/spec/Makefile.targ b/usr/src/lib/libresolv2/irs/spec/Makefile.targ
deleted file mode 100644
index fe57106695..0000000000
--- a/usr/src/lib/libresolv2/irs/spec/Makefile.targ
+++ /dev/null
@@ -1,12 +0,0 @@
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libresolv2/irs/spec/Makefile.targ
-
-LIBRARY = irs.a
-VERS = .1
-
-OBJECTS = irs.o
-
diff --git a/usr/src/lib/libresolv2/irs/spec/amd64/Makefile b/usr/src/lib/libresolv2/irs/spec/amd64/Makefile
deleted file mode 100644
index 84ccf3ca89..0000000000
--- a/usr/src/lib/libresolv2/irs/spec/amd64/Makefile
+++ /dev/null
@@ -1,26 +0,0 @@
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#amd64_C_PICFLAGS = $(amd64_C_BIGPICFLAGS)
-
-include $(SRC)/lib/Makefile.spec
-
-# No public interface, so don't install spec libraries in the proto area
-INS.abilib=
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libresolv2/irs/spec/i386/Makefile b/usr/src/lib/libresolv2/irs/spec/i386/Makefile
deleted file mode 100644
index b399d8191c..0000000000
--- a/usr/src/lib/libresolv2/irs/spec/i386/Makefile
+++ /dev/null
@@ -1,26 +0,0 @@
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libresolv2/irs/spec/i386/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#sparc_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-# No public interface, so don't install spec libraries in the proto area
-INS.abilib=
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libresolv2/irs/spec/irs.spec b/usr/src/lib/libresolv2/irs/spec/irs.spec
deleted file mode 100644
index 9b08d54093..0000000000
--- a/usr/src/lib/libresolv2/irs/spec/irs.spec
+++ /dev/null
@@ -1,15 +0,0 @@
-#
-# Copyright (c) 1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libresolv2/irs/spec/irs.spec
-
-function __irs_nis_acc
-version SUNWprivate_1.1
-end
-
-function __irs_irp_acc
-version SUNWprivate_1.1
-end
diff --git a/usr/src/lib/libresolv2/irs/spec/sparc/Makefile b/usr/src/lib/libresolv2/irs/spec/sparc/Makefile
deleted file mode 100644
index 0440fdd8c6..0000000000
--- a/usr/src/lib/libresolv2/irs/spec/sparc/Makefile
+++ /dev/null
@@ -1,26 +0,0 @@
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libresolv2/irs/spec/sparc/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#sparc_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-# No public interface, so don't install spec libraries in the proto area
-INS.abilib=
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libresolv2/irs/spec/sparcv9/Makefile b/usr/src/lib/libresolv2/irs/spec/sparcv9/Makefile
deleted file mode 100644
index 63a2917247..0000000000
--- a/usr/src/lib/libresolv2/irs/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,27 +0,0 @@
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libresolv2/irs/spec/sparcv9/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#sparcv9_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-# No public interface, so don't install spec libraries in the proto area
-INS.abilib=
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libresolv2/irs/spec/versions b/usr/src/lib/libresolv2/irs/spec/versions
deleted file mode 100644
index 6a318d48a3..0000000000
--- a/usr/src/lib/libresolv2/irs/spec/versions
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-sparc {
- SUNWprivate_1.1;
-}
-sparcv9 {
- SUNWprivate_1.1;
-}
-i386 {
- SUNWprivate_1.1;
-}
-amd64 {
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/libresolv2/sparc/Makefile b/usr/src/lib/libresolv2/sparc/Makefile
index 1dca7a6c60..a333224278 100644
--- a/usr/src/lib/libresolv2/sparc/Makefile
+++ b/usr/src/lib/libresolv2/sparc/Makefile
@@ -1,12 +1,29 @@
#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libresolv2/sparc/Makefile
-
-MAPDIR= ../spec/sparc
include ../Makefile.com
diff --git a/usr/src/lib/libresolv2/sparcv9/Makefile b/usr/src/lib/libresolv2/sparcv9/Makefile
index dcec10d2ca..ceed393e0d 100644
--- a/usr/src/lib/libresolv2/sparcv9/Makefile
+++ b/usr/src/lib/libresolv2/sparcv9/Makefile
@@ -1,12 +1,29 @@
#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libresolv2/sparcv9/Makefile
-
-MAPDIR= ../spec/sparcv9
include ../Makefile.com
include ../../Makefile.lib.64
diff --git a/usr/src/lib/libresolv2/spec/Makefile b/usr/src/lib/libresolv2/spec/Makefile
deleted file mode 100644
index bc844c2654..0000000000
--- a/usr/src/lib/libresolv2/spec/Makefile
+++ /dev/null
@@ -1,8 +0,0 @@
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1998-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libresolv2/spec/Makefile
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/libresolv2/spec/Makefile.targ b/usr/src/lib/libresolv2/spec/Makefile.targ
deleted file mode 100644
index 16385fb51f..0000000000
--- a/usr/src/lib/libresolv2/spec/Makefile.targ
+++ /dev/null
@@ -1,12 +0,0 @@
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1998-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libresolv2/spec/Makefile.targ
-
-LIBRARY = libresolv.a
-VERS = .2
-
-OBJECTS = resolv2.o
-
diff --git a/usr/src/lib/libresolv2/spec/amd64/Makefile b/usr/src/lib/libresolv2/spec/amd64/Makefile
deleted file mode 100644
index 96bda57a49..0000000000
--- a/usr/src/lib/libresolv2/spec/amd64/Makefile
+++ /dev/null
@@ -1,23 +0,0 @@
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#amd64_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libresolv2/spec/i386/Makefile b/usr/src/lib/libresolv2/spec/i386/Makefile
deleted file mode 100644
index 9d0faf35d0..0000000000
--- a/usr/src/lib/libresolv2/spec/i386/Makefile
+++ /dev/null
@@ -1,23 +0,0 @@
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1998-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libresolv2/spec/i386/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#i386_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libresolv2/spec/resolv2.spec b/usr/src/lib/libresolv2/spec/resolv2.spec
deleted file mode 100644
index ef489c41ff..0000000000
--- a/usr/src/lib/libresolv2/spec/resolv2.spec
+++ /dev/null
@@ -1,1096 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libresolv2/spec/resolv2.spec
-
-function b64_ntop
-version SUNWprivate_2.1
-end
-
-function __b64_ntop
-version SUNWprivate_2.1
-end
-
-function b64_pton
-version SUNWprivate_2.1
-end
-
-function __b64_pton
-version SUNWprivate_2.1
-end
-
-function dn_count_labels
-version SUNWprivate_2.1
-end
-
-function __dn_count_labels
-version SUNWprivate_2.1
-end
-
-function dn_skipname
-version SUNWprivate_2.1
-end
-
-function __dn_skipname
-version SUNW_2.1
-end
-
-function __evAddTime
-version SUNWprivate_2.1
-end
-
-function __evCancelConn
-version SUNWprivate_2.1
-end
-
-function __evCancelRW
-version SUNWprivate_2.1
-end
-
-function __evClearTimer
-version SUNWprivate_2.1
-end
-
-function __evConnect
-version SUNWprivate_2.1
-end
-
-function __evConsIovec
-version SUNWprivate_2.1
-end
-
-function __evConsTime
-version SUNWprivate_2.1
-end
-
-function __evCreate
-version SUNWprivate_2.1
-end
-
-function __evDeselectFD
-version SUNWprivate_2.1
-end
-
-function __evDispatch
-version SUNWprivate_2.1
-end
-
-function __evDo
-version SUNWprivate_2.1
-end
-
-function __evGetNext
-version SUNWprivate_2.1
-end
-
-function __evListen
-version SUNWprivate_2.1
-end
-
-function __evNowTime
-version SUNWprivate_2.1
-end
-
-function __evRead
-version SUNWprivate_2.1
-end
-
-function __evResetTimer
-version SUNWprivate_2.1
-end
-
-function __evSelectFD
-version SUNWprivate_2.1
-end
-
-function __evSetDebug
-version SUNWprivate_2.1
-end
-
-function __evSetTimer
-version SUNWprivate_2.1
-end
-
-function __evWaitFor
-version SUNWprivate_2.1
-end
-
-function fp_nquery
-version SUNWprivate_2.1
-end
-
-function __fp_nquery
-version SUNWprivate_2.1
-end
-
-function fp_query
-version SUNWprivate_2.1
-end
-
-function __fp_query
-version SUNW_2.1
-end
-
-function fp_resstat
-version SUNW_2.2
-end
-
-function __fp_resstat
-version SUNWprivate_2.1
-end
-
-function __hostalias
-version SUNW_2.1
-end
-
-function res_hostalias
-version SUNW_2.2
-end
-
-function hostalias
-version SUNWprivate_2.1
-end
-
-function loc_aton
-version SUNWprivate_2.1
-end
-
-function __loc_aton
-version SUNWprivate_2.1
-end
-
-function loc_ntoa
-version SUNWprivate_2.1
-end
-
-function __loc_ntoa
-version SUNWprivate_2.1
-end
-
-function __log_add_channel
-version SUNWprivate_2.1
-end
-
-function __log_category_is_active
-version SUNWprivate_2.1
-end
-
-function __log_close_stream
-version SUNWprivate_2.1
-end
-
-function __log_free_context
-version SUNWprivate_2.1
-end
-
-function __log_get_stream
-version SUNWprivate_2.1
-end
-
-function __log_inc_references
-version SUNWprivate_2.1
-end
-
-function __log_new_context
-version SUNWprivate_2.1
-end
-
-function __log_new_file_channel
-version SUNWprivate_2.1
-end
-
-function __log_new_null_channel
-version SUNWprivate_2.1
-end
-
-function __log_set_file_owner
-version SUNWprivate_2.1
-end
-
-function __log_new_syslog_channel
-version SUNWprivate_2.1
-end
-
-function __log_open_stream
-version SUNWprivate_2.1
-end
-
-function __log_option
-version SUNWprivate_2.1
-end
-
-function __log_vwrite
-version SUNWprivate_2.1
-end
-
-function __log_write
-version SUNWprivate_2.1
-end
-
-function __ns_get16
-version SUNWprivate_2.1
-end
-
-function __ns_get32
-version SUNWprivate_2.1
-end
-
-function __ns_initparse
-version SUNWprivate_2.1
-end
-
-function __ns_name_ntop
-version SUNWprivate_2.1
-end
-
-function __ns_name_pton
-version SUNWprivate_2.1
-end
-
-function __ns_name_rollback
-version SUNWprivate_2.1
-end
-
-function __ns_name_unpack
-version SUNWprivate_2.1
-end
-
-function __ns_parse_ttl
-version SUNWprivate_2.1
-end
-
-function __ns_parserr
-version SUNWprivate_2.1
-end
-
-function __ns_put16
-version SUNWprivate_2.1
-end
-
-function __ns_sprintrr
-version SUNWprivate_2.1
-end
-
-function __ns_sprintrrf
-version SUNWprivate_2.1
-end
-
-function p_cdname
-version SUNWprivate_2.1
-end
-
-function __p_cdname
-version SUNW_2.1
-end
-
-function p_class
-version SUNWprivate_2.1
-end
-
-function __p_class
-version SUNW_2.1
-end
-
-function __p_class_syms
-version SUNWprivate_2.1
-end
-
-function __p_query
-version SUNW_2.1
-end
-
-function p_secstodate
-version SUNWprivate_2.1
-end
-
-function __p_secstodate
-version SUNWprivate_2.1
-end
-
-function p_section
-version SUNWprivate_2.1
-end
-
-function __p_section
-version SUNWprivate_2.1
-end
-
-function p_time
-version SUNWprivate_2.1
-end
-
-function __p_time
-version SUNW_2.1
-end
-
-function p_type
-version SUNWprivate_2.1
-end
-
-function __p_type
-version SUNW_2.1
-end
-
-function __p_type_syms
-version SUNWprivate_2.1
-end
-
-function p_fqnname
-version SUNWprivate_2.1
-end
-
-function putlong
-version SUNWprivate_2.1
-end
-
-function __putlong
-version SUNW_2.1
-end
-
-function putshort
-version SUNWprivate_2.1
-end
-
-function __putshort
-version SUNWprivate_2.1
-end
-
-function res_dnok
-version SUNWprivate_2.1
-end
-
-function __res_dnok
-version SUNWprivate_2.1
-end
-
-function res_hnok
-version SUNWprivate_2.1
-end
-
-function __res_hnok
-version SUNWprivate_2.1
-end
-
-function res_mailok
-version SUNWprivate_2.1
-end
-
-function __res_mailok
-version SUNWprivate_2.1
-end
-
-function res_nameinquery
-version SUNWprivate_2.1
-end
-
-function __res_nameinquery
-version SUNWprivate_2.1
-end
-
-function res_ownok
-version SUNWprivate_2.1
-end
-
-function __res_ownok
-version SUNWprivate_2.1
-end
-
-function res_randomid
-version SUNWprivate_2.1
-end
-
-function __res_randomid
-version SUNWprivate_2.1
-end
-
-function sym_ntop
-version SUNWprivate_2.1
-end
-
-function __sym_ntop
-version SUNWprivate_2.1
-end
-
-function sym_ntos
-version SUNWprivate_2.1
-end
-
-function __sym_ntos
-version SUNWprivate_2.1
-end
-
-function sym_ston
-version SUNWprivate_2.1
-end
-
-function __sym_ston
-version SUNWprivate_2.1
-end
-
-function _getlong
-version SUNW_2.1
-end
-
-function _getshort
-version SUNW_2.1
-end
-
-function _ns_flagdata
-version SUNWprivate_2.1
-end
-
-function _res
-version SUNW_2.1
-end
-
-function _res_opcodes
-version SUNWprivate_2.1
-end
-
-function daemon
-version SUNWprivate_2.1
-end
-
-function dn_comp
-include <sys/types.h>, <netinet/in.h>, <arpa/nameser.h>, <resolv.h>
-declaration int dn_comp(const char *exp_dn, uchar_t *comp_dn, int length, \
- uchar_t **dnptrs, uchar_t **lastdnptr)
-version SUNW_2.1
-exception $return == -1
-end
-
-function dn_expand
-include <sys/types.h>, <netinet/in.h>, <arpa/nameser.h>, <resolv.h>
-declaration int dn_expand(const uchar_t *msg, const uchar_t *eomorig, \
- const uchar_t *comp_dn, char *exp_dn, int length)
-version SUNW_2.1
-exception $return == -1
-end
-
-function h_errlist
-version SUNWprivate_2.1
-end
-
-# h_errno moved to explicit mapfile definition to provide correct type and size.
-
-function herror
-version SUNW_2.2
-end
-
-function hstrerror
-version SUNW_2.1
-end
-
-function inet_aton
-version SUNW_2.3
-filter libnsl.so.1
-end
-
-function inet_nsap_addr
-version SUNWprivate_2.1
-end
-
-function inet_nsap_ntoa
-version SUNWprivate_2.1
-end
-
-function res_endhostent
-version SUNWprivate_2.1
-end
-
-function res_gethostbyaddr
-version SUNWprivate_2.1
-end
-
-function res_gethostbyname
-version SUNWprivate_2.1
-end
-
-function res_gethostbyname2
-version SUNWprivate_2.2
-end
-
-function res_gethostent
-version SUNWprivate_2.1
-end
-
-function res_getipnodebyname
-version SUNWprivate_2.1
-end
-
-function res_getipnodebyaddr
-version SUNWprivate_2.1
-end
-
-function res_freehostent
-version SUNWprivate_2.1
-end
-
-function res_init
-include <sys/types.h>, <netinet/in.h>, <arpa/nameser.h>, <resolv.h>
-declaration int res_init(void)
-version SUNW_2.1
-end
-
-function res_mkquery
-include <sys/types.h>, <netinet/in.h>, <arpa/nameser.h>, <resolv.h>
-declaration int res_mkquery(int op, const char *dname, int class, \
- int type, const uchar_t *data, int datalen, \
- const uchar_t *newrr, uchar_t *buf, int buflen)
-version SUNW_2.1
-exception $return == -1
-end
-
-function res_mkupdrec
-version SUNWprivate_2.1
-end
-
-function res_queriesmatch
-version SUNWprivate_2.1
-end
-
-function __res_queriesmatch
-version SUNWprivate_2.1
-end
-
-function res_query
-include <sys/types.h>, <netinet/in.h>, <arpa/nameser.h>, <resolv.h>
-declaration int res_query(const char *dname, int class, int type, \
- uchar_t *answer, int anslen)
-version SUNW_2.1
-end
-
-function res_querydomain
-version SUNW_2.1
-end
-
-function res_search
-include <sys/types.h>, <netinet/in.h>, <arpa/nameser.h>, <resolv.h>
-declaration int res_search(const char *dname, int class, int type, \
- uchar_t *answer, int anslen)
-version SUNW_2.1
-end
-
-function res_send
-include <sys/types.h>, <netinet/in.h>, <arpa/nameser.h>, <resolv.h>
-declaration int res_send(const uchar_t *msg, int msglen, uchar_t *answer, \
- int anslen)
-version SUNW_2.1
-exception $return == -1
-end
-
-function res_sethostent
-version SUNWprivate_2.1
-end
-
-function res_update
-version SUNW_2.1
-end
-
-function res_close
-version SUNWprivate_2.1
-end
-
-function tree_add
-version SUNWprivate_2.1
-end
-
-function tree_init
-version SUNWprivate_2.1
-end
-
-function tree_srch
-version SUNWprivate_2.1
-end
-
-function tree_trav
-version SUNWprivate_2.1
-end
-
-function __assertion_failed
-version SUNWprivate_2.1
-end
-
-function __evDestroy
-version SUNWprivate_2.1
-end
-
-function __evUnwait
-version SUNWprivate_2.1
-end
-
-function __log_free_channel
-version SUNWprivate_2.1
-end
-
-function __log_get_channel_type
-version SUNWprivate_2.1
-end
-
-function __memget
-version SUNWprivate_2.1
-end
-
-function __memput
-version SUNWprivate_2.1
-end
-
-function __memstats
-version SUNWprivate_2.1
-end
-
-function __res_disable_mt
-version SUNWprivate_2.1
-end
-
-function __res_enable_mt
-version SUNWprivate_2.1
-end
-
-function __res_get_res
-version SUNWprivate_2.1
-end
-
-function __res_get_h_errno
-version SUNWprivate_2.1
-end
-
-function __res_set_no_hosts_fallback
-version SUNWprivate_2.1
-end
-
-function __res_unset_no_hosts_fallback
-version SUNWprivate_2.1
-end
-
-function __res_override_retry
-version SUNWprivate_2.1
-end
-
-function assertion_type_to_text
-version SUNWprivate_2.1
-end
-
-function set_assertion_failure_callback
-version SUNWprivate_2.1
-end
-
-function tree_mung
-version SUNWprivate_2.1
-end
-
-function res_ninit
-version SUNW_2.2
-end
-
-function res_nquery
-version SUNW_2.2
-end
-
-function p_query
-version SUNWprivate_2.1
-end
-
-function res_nsearch
-version SUNW_2.2
-end
-
-function res_nquerydomain
-version SUNW_2.2
-end
-
-function res_nmkquery
-version SUNW_2.2
-end
-
-function res_nsend
-version SUNW_2.2
-end
-
-function res_nsendsigned
-version SUNW_2.2
-end
-
-function res_findzonecut
-version SUNWprivate_2.1
-end
-
-function __ISC_res_nupdate
-version SUNWprivate_2.1
-end
-
-function __ISC_res_nmkupdate
-version SUNWprivate_2.1
-end
-
-function res_nclose
-version SUNW_2.2
-end
-
-function res_nsendsigned
-version SUNW_2.2
-end
-
-function res_nisourserver
-version SUNWprivate_2.1
-end
-
-function res_isourserver
-version SUNWprivate_2.1
-end
-
-function res_mkupdate
-version SUNWprivate_2.1
-end
-
-function res_sendsigned
-version SUNWprivate_2.1
-end
-
-function p_rcode
-version SUNWprivate_2.1
-end
-
-function __res_state
-version SUNWprivate_2.1
-end
-
-function res_freeupdrec
-version SUNWprivate_2.1
-end
-
-function dst_init
-version SUNWprivate_2.1
-end
-
-function dst_check_algorithm
-version SUNWprivate_2.1
-end
-
-function dst_generate_key
-version SUNWprivate_2.1
-end
-
-function dst_write_key
-version SUNWprivate_2.1
-end
-
-function res_pquery
-version SUNWprivate_2.1
-end
-
-function __h_errno
-version SUNWprivate_2.1
-end
-
-function __ctl_command
-version SUNWprivate_2.1
-end
-
-function __ctl_endclient
-version SUNWprivate_2.1
-end
-
-function __ctl_client
-version SUNWprivate_2.1
-end
-
-function __ctl_getcsctx
-version SUNWprivate_2.1
-end
-
-function __log_check
-version SUNWprivate_2.1
-end
-
-function __ctl_response
-version SUNWprivate_2.1
-end
-
-function __p_cert_syms
-version SUNWprivate_2.1
-end
-
-function __ns_name_ntol
-version SUNWprivate_2.1
-end
-
-function dst_buffer_to_key
-version SUNWprivate_2.1
-end
-
-function __ctl_setcsctx
-version SUNWprivate_2.1
-end
-
-function __ctl_server
-version SUNWprivate_2.1
-end
-
-function __evHighestFD
-version SUNWprivate_2.1
-end
-
-function dst_verify_data
-version SUNWprivate_2.1
-end
-
-function __ctl_sendhelp
-version SUNWprivate_2.1
-end
-
-function __ns_skiprr
-version SUNWprivate_2.1
-end
-
-function __ns_verify
-version SUNWprivate_2.1
-end
-
-function __p_key_syms
-version SUNWprivate_2.1
-end
-
-function __evTimeVal
-version SUNWprivate_2.1
-end
-
-function __ns_datetosecs
-version SUNWprivate_2.1
-end
-
-function dst_key_to_buffer
-version SUNWprivate_2.1
-end
-
-function dst_free_key
-version SUNWprivate_2.1
-end
-
-function __ctl_endserver
-version SUNWprivate_2.1
-end
-
-function dst_dnskey_to_key
-version SUNWprivate_2.1
-end
-
-function __ns_find_tsig
-version SUNWprivate_2.1
-end
-
-function __ns_verify_tcp
-version SUNWprivate_2.1
-end
-
-function __ns_verify_tcp_init
-version SUNWprivate_2.1
-end
-
-function key_file_fmt_str
-version SUNWprivate_2.1
-end
-
-function dst_s_id_calc
-version SUNWprivate_2.1
-end
-
-function dst_s_conv_bignum_u8_to_b64
-version SUNWprivate_2.1
-end
-
-function dst_random
-version SUNWprivate_2.1
-end
-
-
-function dst_s_verify_str
-version SUNWprivate_2.1
-end
-
-function dst_t_func
-version SUNWprivate_2.1
-end
-
-function dst_s_conv_bignum_b64_to_u8
-version SUNWprivate_2.1
-end
-
-function dst_s_get_int16
-version SUNWprivate_2.1
-end
-
-function dst_s_calculate_bits
-version SUNWprivate_2.1
-end
-
-function dst_s_put_int16
-version SUNWprivate_2.1
-end
-
-function inet_net_pton
-version SUNWprivate_2.1
-end
-
-function inet_net_ntop
-version SUNWprivate_2.1
-end
-
-function net_data_minimize
-version SUNWprivate_2.1
-end
-
-function __h_errno_set
-version SUNWprivate_2.1
-end
-
-function __net_data_init
-version SUNWprivate_2.1
-end
-
-# BIND 8.2 adds the various ns_sign*() functions for TSIG. Until the
-# interface has seen some actual use and has stabilized, we'll leave
-# those functions undocumented and in the private interface.
-
-function __ns_sign
-version SUNWprivate_2.1
-end
-
-function __ns_sign2
-version SUNWprivate_2.1
-end
-
-function __ns_sign_tcp
-version SUNWprivate_2.1
-end
-
-function __ns_sign_tcp2
-version SUNWprivate_2.1
-end
-
-function __ns_sign_tcp_init
-version SUNWprivate_2.1
-end
-
-function __ns_verify
-version SUNWprivate_2.1
-end
-
-function __ns_verify_tcp
-version SUNWprivate_2.1
-end
-
-function __ns_verify_tcp_init
-version SUNWprivate_2.1
-end
-
-function __ns_find_tsig
-version SUNWprivate_2.1
-end
-
-function __ISC_res_freeupdrec
-version SUNWprivate_2.1
-end
-
-function __ISC_res_mkupdrec
-version SUNWprivate_2.1
-end
-
-function __ISC_res_update
-version SUNWprivate_2.1
-end
-
-function __ISC_res_mkupdate
-version SUNWprivate_2.1
-end
-
-function irs_destroy
-version SUNWprivate_2.1
-end
-
-function __ns_samedomain
-version SUNWprivate_2.1
-end
-
-function __ns_samename
-version SUNWprivate_2.1
-end
-
-function __ns_makecanon
-version SUNWprivate_2.1
-end
-
-function __ns_msg_getflag
-version SUNWprivate_2.1
-end
-
-function __memget_record
-version SUNWprivate_2.1
-end
-
-function __memput_record
-version SUNWprivate_2.1
-end
-
-function dst_read_key
-version SUNWprivate_2.1
-end
-
-function dst_sign_data
-version SUNWprivate_2.1
-end
-
-function dst_s_dns_key_id
-version SUNWprivate_2.1
-end
-
-function __ns_format_ttl
-version SUNWprivate_2.1
-end
-
-function __areweinnamed
-version SUNWprivate_2.1
-end
-
-function __log_close_debug_channels
-version SUNWprivate_2.2
-end
-
-function res_getservers
-version SUNWprivate_2.2
-end
-
-function res_setservers
-version SUNWprivate_2.2
-end
-
-function res_nametotype
-version SUNWprivate_2.2
-end
-
-function res_nametoclass
-version SUNWprivate_2.2
-end
-
-function res_nopt
-version SUNWprivate_2.2
-end
-
-function isc_puthexstring
-version SUNWprivate_2.2
-end
-
-function isc_gethexstring
-version SUNWprivate_2.2
-end
-
-function __memactive
-version SUNWprivate_2.2
-end
-
-function p_sockun
-version SUNWprivate_2.2
-end
diff --git a/usr/src/lib/libresolv2/spec/sparc/Makefile b/usr/src/lib/libresolv2/spec/sparc/Makefile
deleted file mode 100644
index ee76178462..0000000000
--- a/usr/src/lib/libresolv2/spec/sparc/Makefile
+++ /dev/null
@@ -1,23 +0,0 @@
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1998-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libresolv2/spec/sparc/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#sparc_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libresolv2/spec/sparcv9/Makefile b/usr/src/lib/libresolv2/spec/sparcv9/Makefile
deleted file mode 100644
index a6ebe9c847..0000000000
--- a/usr/src/lib/libresolv2/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,24 +0,0 @@
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1998-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libresolv2/spec/sparcv9/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#sparcv9_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libresolv2/spec/versions b/usr/src/lib/libresolv2/spec/versions
deleted file mode 100644
index 90e69aa7fb..0000000000
--- a/usr/src/lib/libresolv2/spec/versions
+++ /dev/null
@@ -1,35 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-sparc {
- SUNW_2.3: {SUNW_2.2};
- SUNW_2.2: {SUNW_2.1};
- SUNW_2.1;
- SUNWprivate_2.2: {SUNWprivate_2.1};
- SUNWprivate_2.1;
-}
-sparcv9 {
- SUNW_2.3: {SUNW_2.2};
- SUNW_2.2: {SUNW_2.1};
- SUNW_2.1;
- SUNWprivate_2.2: {SUNWprivate_2.1};
- SUNWprivate_2.1;
-}
-i386 {
- SUNW_2.3: {SUNW_2.2};
- SUNW_2.2: {SUNW_2.1};
- SUNW_2.1;
- SUNWprivate_2.2: {SUNWprivate_2.1};
- SUNWprivate_2.1;
-}
-amd64 {
- SUNW_2.3: {SUNW_2.2};
- SUNW_2.2: {SUNW_2.1};
- SUNW_2.1;
- SUNWprivate_2.2: {SUNWprivate_2.1};
- SUNWprivate_2.1;
-}
diff --git a/usr/src/lib/librestart/Makefile b/usr/src/lib/librestart/Makefile
index c3334a95af..b88c1c5b27 100644
--- a/usr/src/lib/librestart/Makefile
+++ b/usr/src/lib/librestart/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,10 +19,10 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
include ../Makefile.lib
@@ -42,15 +41,13 @@ HDRS = librestart.h librestart_priv.h
.KEEP_STATE:
-all clean clobber install: spec .WAIT $(SUBDIRS)
+all clean clobber install lint: $(SUBDIRS)
install_h: $(ROOTHDRS)
check: $(CHECKHDRS)
-lint: $(SUBDIRS)
-
-$(SUBDIRS) spec: FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
diff --git a/usr/src/lib/librestart/Makefile.com b/usr/src/lib/librestart/Makefile.com
index 364c3b1c8b..4871d4bac5 100644
--- a/usr/src/lib/librestart/Makefile.com
+++ b/usr/src/lib/librestart/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,10 +19,10 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
LIBRARY = librestart.a
@@ -35,7 +34,6 @@ include ../../Makefile.lib
include ../../Makefile.rootfs
LIBS = $(DYNLIB) $(LINTLIB)
-$(LINTLIB) := SRCS = $(SRCDIR)/$(LINTSRC)
START_LAZY = -z lazyload
END_LAZY = -z nolazyload
@@ -47,10 +45,9 @@ LDLIBS += $(START_LAZY) -lpool -lproject $(END_LAZY) \
-lsecdb -lnvpair -lsysevent -lscf -luutil -lc
SRCDIR = ../common
-MAPDIR = ../spec/$(TRANSMACH)
-SPECMAPFILE = $(MAPDIR)/mapfile
+$(LINTLIB) := SRCS = $(SRCDIR)/$(LINTSRC)
-CFLAGS += -v -Wp,-xc99=%all
+CFLAGS += $(CCVERBOSE) -Wp,-xc99=%all
CPPFLAGS +=
diff --git a/usr/src/lib/fm/libfmd_snmp/spec/fmd_snmp.spec b/usr/src/lib/librestart/common/mapfile-vers
index f51540d62b..66b61b76fc 100644
--- a/usr/src/lib/fm/libfmd_snmp/spec/fmd_snmp.spec
+++ b/usr/src/lib/librestart/common/mapfile-vers
@@ -18,7 +18,6 @@
#
# CDDL HEADER END
#
-
#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
@@ -26,55 +25,30 @@
# ident "%Z%%M% %I% %E% SMI"
#
-function init_sunFM
-version SUNWprivate
-end
-
-function fmd_fmri_alloc
-version SUNWprivate
-end
-
-function fmd_fmri_zalloc
-version SUNWprivate
-end
-
-function fmd_fmri_free
-version SUNWprivate
-end
-
-function fmd_fmri_error
-version SUNWprivate
-end
-
-function fmd_fmri_strescape
-version SUNWprivate
-end
-
-function fmd_fmri_strdup
-version SUNWprivate
-end
-
-function fmd_fmri_strfree
-version SUNWprivate
-end
-
-function fmd_fmri_get_rootdir
-version SUNWprivate
-end
-
-function fmd_fmri_get_platform
-version SUNWprivate
-end
-
-function fmd_fmri_get_drgen
-version SUNWprivate
-end
-
-function fmd_fmri_set_errno
-version SUNWprivate
-end
-
-function fmd_fmri_warn
-version SUNWprivate
-end
-
+SUNWprivate_1.1 {
+ global:
+ restarter_bind_handle;
+ _restarter_commit_states;
+ restarter_event_get_current_states;
+ restarter_event_get_enabled;
+ restarter_event_get_handle;
+ restarter_event_get_instance;
+ restarter_event_get_seq;
+ restarter_event_get_time;
+ restarter_event_get_type;
+ restarter_free_method_context;
+ _restarter_get_channel_name;
+ restarter_get_method_context;
+ restarter_is_kill_method;
+ restarter_is_kill_proc_method;
+ restarter_is_null_method;
+ restarter_remove_contract;
+ restarter_rm_libs_loadable;
+ restarter_set_method_context;
+ restarter_set_states;
+ restarter_state_to_string;
+ restarter_store_contract;
+ restarter_string_to_state;
+ local:
+ *;
+};
diff --git a/usr/src/lib/librestart/spec/Makefile b/usr/src/lib/librestart/spec/Makefile
deleted file mode 100644
index a72bbb53f5..0000000000
--- a/usr/src/lib/librestart/spec/Makefile
+++ /dev/null
@@ -1,28 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/librestart/spec/Makefile.targ b/usr/src/lib/librestart/spec/Makefile.targ
deleted file mode 100644
index de29d3c2ac..0000000000
--- a/usr/src/lib/librestart/spec/Makefile.targ
+++ /dev/null
@@ -1,34 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-
-LIBRARY = librestart.a
-VERS = .1
-
-OBJECTS = librestart.o
-
-SPECCPP =
diff --git a/usr/src/lib/librestart/spec/amd64/Makefile b/usr/src/lib/librestart/spec/amd64/Makefile
deleted file mode 100644
index 45383cbd1f..0000000000
--- a/usr/src/lib/librestart/spec/amd64/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#i386_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/librestart/spec/i386/Makefile b/usr/src/lib/librestart/spec/i386/Makefile
deleted file mode 100644
index 1fa4955779..0000000000
--- a/usr/src/lib/librestart/spec/i386/Makefile
+++ /dev/null
@@ -1,43 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#i386_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/librestart/spec/librestart.spec b/usr/src/lib/librestart/spec/librestart.spec
deleted file mode 100644
index 535258fde1..0000000000
--- a/usr/src/lib/librestart/spec/librestart.spec
+++ /dev/null
@@ -1,160 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# pragma ident "%Z%%M% %I% %E% SMI"
-#
-# The delegated restarter interface
-#
-
-function _restarter_get_channel_name
-include <librestart_priv.h>
-declaration char *_restarter_get_channel_name(const char *, int)
-version SUNWprivate_1.1
-end
-
-function _restarter_commit_states
-include <librestart_priv.h>
-declaration int _restarter_commit_states(scf_handle_t *, instance_data_t *, restarter_instance_state_t, restarter_instance_state_t, const char *)
-version SUNWprivate_1.1
-end
-
-function restarter_bind_handle
-include <librestart.h>
-declaration int restarter_bind_handle(uint32_t, const char *, int (*event_handler)(restarter_event_t *), int, restarter_event_handle_t **)
-version SUNWprivate_1.1
-end
-
-function restarter_event_get_type
-include <librestart.h>
-declaration restarter_event_type_t restarter_event_get_type(restarter_event_t *)
-version SUNWprivate_1.1
-end
-
-function restarter_event_get_seq
-include <librestart.h>
-declaration uint64_t restarter_event_get_seq(restarter_event_t *)
-version SUNWprivate_1.1
-end
-
-function restarter_event_get_time
-include <librestart.h>
-declaration void restarter_event_get_time(restarter_event_t *, hrtime_t *)
-version SUNWprivate_1.1
-end
-
-function restarter_event_get_instance
-include <librestart.h>
-declaration ssize_t restarter_event_get_instance(restarter_event_t *, char *, size_t)
-version SUNWprivate_1.1
-end
-
-function restarter_event_get_handle
-include <librestart.h>
-declaration restarter_event_handle_t *restarter_event_get_handle(restarter_event_t *)
-version SUNWprivate_1.1
-end
-
-function restarter_event_get_enabled
-include <librestart.h>
-declaration int restarter_event_get_enabled(restarter_event_t *)
-version SUNWprivate_1.1
-end
-
-function restarter_event_get_current_states
-include <librestart.h>
-declaration int restarter_event_get_current_states(restarter_event_t *, restarter_instance_state_t *, restarter_instance_state_t *)
-version SUNWprivate_1.1
-end
-
-function restarter_set_states
-include <librestart.h>
-declaration int restarter_set_states(restarter_event_handle_t *, const char *, restarter_instance_state_t, restarter_instance_state_t, restarter_instance_state_t, restarter_instance_state_t, restarter_error_t, const char *)
-version SUNWprivate_1.1
-end
-
-function restarter_store_contract
-include <librestart.h>
-declaration int restarter_store_contract(scf_instance_t *, ctid_t, restarter_contract_type_t)
-version SUNWprivate_1.1
-end
-
-function restarter_remove_contract
-include <librestart.h>
-declaration int restarter_remove_contract(scf_instance_t *, ctid_t, restarter_contract_type_t)
-version SUNWprivate_1.1
-end
-
-function restarter_state_to_string
-include <librestart.h>
-declaration ssize_t restarter_state_to_string(restarter_instance_state_t, char *, size_t)
-version SUNWprivate_1.1
-end
-
-function restarter_string_to_state
-include <librestart.h>
-declaration restarter_instance_state_t restarter_string_to_state(char *)
-version SUNWprivate_1.1
-end
-
-function restarter_rm_libs_loadable
-include <librestart.h>
-declaration int restarter_rm_libs_loadable(void)
-version SUNWprivate_1.1
-end
-
-function restarter_get_method_context
-include <librestart.h>
-declaration const char *restarter_get_method_context(uint_t, scf_instance_t *, scf_snapshot_t *, const char *, const char *, struct method_context **)
-version SUNWprivate_1.1
-end
-
-function restarter_set_method_context
-include <librestart.h>
-declaration int restarter_set_method_context(struct method_context *, const char **)
-version SUNWprivate_1.1
-end
-
-function restarter_free_method_context
-include <librestart.h>
-declaration void restarter_free_method_context(struct method_context *)
-version SUNWprivate_1.1
-end
-
-function restarter_is_null_method
-include <librestart.h>
-declaration int restarter_is_null_method(const char *)
-version SUNWprivate_1.1
-end
-
-function restarter_is_kill_method
-include <librestart.h>
-declaration int restarter_is_kill_method(const char *)
-version SUNWprivate_1.1
-end
-
-function restarter_is_kill_proc_method
-include <librestart.h>
-declaration int restarter_is_kill_proc_method(const char *)
-version SUNWprivate_1.1
-end
diff --git a/usr/src/lib/librestart/spec/sparc/Makefile b/usr/src/lib/librestart/spec/sparc/Makefile
deleted file mode 100644
index 8f3b7be350..0000000000
--- a/usr/src/lib/librestart/spec/sparc/Makefile
+++ /dev/null
@@ -1,43 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#sparc_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/librestart/spec/sparcv9/Makefile b/usr/src/lib/librestart/spec/sparcv9/Makefile
deleted file mode 100644
index c1c82cf308..0000000000
--- a/usr/src/lib/librestart/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#sparcv9_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/librestart/spec/versions b/usr/src/lib/librestart/spec/versions
deleted file mode 100644
index 148df6782d..0000000000
--- a/usr/src/lib/librestart/spec/versions
+++ /dev/null
@@ -1,40 +0,0 @@
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# vers file for librestart
-#
-sparc {
- SUNWprivate_1.1;
-}
-sparcv9 {
- SUNWprivate_1.1;
-}
-i386 {
- SUNWprivate_1.1;
-}
-amd64 {
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/librpcsvc/Makefile b/usr/src/lib/librpcsvc/Makefile
index 558858bce5..4e61f7a7e2 100644
--- a/usr/src/lib/librpcsvc/Makefile
+++ b/usr/src/lib/librpcsvc/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,13 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/librpcsvc/Makefile
-#
include ../../Makefile.master
@@ -69,19 +66,15 @@ lint := TARGET= lint
.KEEP_STATE:
-all: $(DERIVED_FILES) $(TXTS) .WAIT spec .WAIT $(SUBDIRS)
+all: $(DERIVED_FILES) $(TXTS) .WAIT $(SUBDIRS)
-install: all .WAIT spec .WAIT $(SUBDIRS)
+install: all .WAIT $(SUBDIRS)
install_h: $(DERIVED_FILES) $(ROOTHDRS)
-lint: $(SUBDIRS)
-
check: $(CHECKHDRS)
-clean clobber : spec .WAIT $(SUBDIRS)
-
-MAPFILE= mapfile-vers
+clean clobber lint: $(SUBDIRS)
#
# Rules for building the derived files
@@ -118,7 +111,7 @@ common/rpc_sztypes.c: $(PROTOCOL_DIR)/rpc_sztypes.x
# include library targets
include ../Makefile.targ
-spec $(SUBDIRS): FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
diff --git a/usr/src/lib/librpcsvc/Makefile.com b/usr/src/lib/librpcsvc/Makefile.com
index 8f8f2d9851..3c4dc1bedd 100644
--- a/usr/src/lib/librpcsvc/Makefile.com
+++ b/usr/src/lib/librpcsvc/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,13 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/librpcsvc/Makefile
-#
LIBRARY= librpcsvc.a
VERS = .1
@@ -42,13 +39,7 @@ include ../../Makefile.lib
# install this library in the root filesystem
include ../../Makefile.rootfs
-# Don't mess with this. DAAMAPFILE gets correctly overridden
-# for 64bit.
-MAPFILE= $(MAPDIR)/mapfile
-
-CLOBBERFILES += $(MAPFILE)
-
-SRCS= $(OBJECTS:%.o=../common/%.c)
+SRCDIR = ../common
pics/%.o: ../common/%.c
$(COMPILE.c) -o $@ $<
@@ -56,18 +47,11 @@ pics/%.o: ../common/%.c
LIBS = $(DYNLIB)
-
CPPFLAGS += -DYP
LDLIBS += -lnsl -lc
-DYNFLAGS += -M $(MAPFILE)
.KEEP_STATE:
-
-$(DYNLIB): $(MAPFILE)
-$(MAPFILE):
- @cd $(MAPDIR); $(MAKE) mapfile
-
lint: lintcheck
# include library targets
diff --git a/usr/src/lib/librpcsvc/amd64/Makefile b/usr/src/lib/librpcsvc/amd64/Makefile
index 605222a8ac..9ab764a959 100644
--- a/usr/src/lib/librpcsvc/amd64/Makefile
+++ b/usr/src/lib/librpcsvc/amd64/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,21 +19,15 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-MAPDIR= ../spec/amd64
-
include ../Makefile.com
include ../../Makefile.lib.64
all: $(LIBS)
install: all $(ROOTLIBS64) $(ROOTLINKS64)
-
-# This needs to be restated, otherwise we'll be dependent
-# on the 32bit mapfile...
-$(DYNLIB): $(MAPFILE)
diff --git a/usr/src/lib/librpcsvc/common/mapfile-vers b/usr/src/lib/librpcsvc/common/mapfile-vers
new file mode 100644
index 0000000000..cc9b2e6660
--- /dev/null
+++ b/usr/src/lib/librpcsvc/common/mapfile-vers
@@ -0,0 +1,136 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+# Due to mistakes made early in the history of this library, there are
+# no SUNW_1.1 symbols, but the version is now kept as a placeholder.
+# Don't add any symbols to this version.
+
+SUNW_1.1 {
+ global:
+ SUNW_1.1;
+} SUNW_0.7;
+
+SUNW_0.7 {
+ global:
+ havedisk;
+ rnusers;
+ rstat;
+ rusers;
+ rwall;
+ xdr_statstime;
+ xdr_statsvar;
+ xdr_utmpidlearr;
+};
+
+SUNWprivate_1.1 {
+ global:
+ __clnt_bindresvport;
+ xdr_bp_address;
+ xdr_bp_fileid_t;
+ xdr_bp_getfile_arg;
+ xdr_bp_getfile_res;
+ xdr_bp_machine_name_t;
+ xdr_bp_path_t;
+ xdr_bp_whoami_arg;
+ xdr_bp_whoami_res;
+ xdr_dirpath;
+ xdr_exportnode;
+ xdr_exports;
+ xdr_fhandle;
+ xdr_fhandle3;
+ xdr_fhstatus;
+ xdr_fsh4_access;
+ xdr_fsh4_mode;
+ xdr_fsh_access;
+ xdr_fsh_mode;
+ xdr_groupnode;
+ xdr_groups;
+ xdr_int32;
+ xdr_int64;
+ xdr_ip_addr_t;
+ xdr_mon;
+ xdr_mon_id;
+ xdr_mountbody;
+ xdr_mountlist;
+ xdr_mountres3;
+ xdr_mountres3_ok;
+ xdr_mountstat3;
+ xdr_my_id;
+ xdr_name;
+ xdr_nlm4_cancargs;
+ xdr_nlm4_holder;
+ xdr_nlm4_lock;
+ xdr_nlm4_lockargs;
+ xdr_nlm4_notify;
+ xdr_nlm4_res;
+ xdr_nlm4_share;
+ xdr_nlm4_shareargs;
+ xdr_nlm4_shareres;
+ xdr_nlm4_stat;
+ xdr_nlm4_stats;
+ xdr_nlm4_testargs;
+ xdr_nlm4_testres;
+ xdr_nlm4_testrply;
+ xdr_nlm4_unlockargs;
+ xdr_nlm_cancargs;
+ xdr_nlm_holder;
+ xdr_nlm_lock;
+ xdr_nlm_lockargs;
+ xdr_nlm_notify;
+ xdr_nlm_res;
+ xdr_nlm_share;
+ xdr_nlm_shareargs;
+ xdr_nlm_shareres;
+ xdr_nlm_stat;
+ xdr_nlm_stats;
+ xdr_nlm_testargs;
+ xdr_nlm_testres;
+ xdr_nlm_testrply;
+ xdr_nlm_unlockargs;
+ xdr_ppathcnf;
+ xdr_reg1args;
+ xdr_reg1res;
+ xdr_res;
+ xdr_rstat_timeval;
+ xdr_rusers_utmp;
+ xdr_sm_name;
+ xdr_sm_stat;
+ xdr_sm_stat_res;
+ xdr_sprayarr;
+ xdr_spraycumul;
+ xdr_spraytimeval;
+ xdr_stat_chge;
+ xdr_status;
+ xdr_timeval;
+ xdr_uint32;
+ xdr_uint64;
+ xdr_unreg1args;
+ xdr_unreg1res;
+ xdr_utmp_array;
+ local:
+ *;
+};
diff --git a/usr/src/lib/librpcsvc/i386/Makefile b/usr/src/lib/librpcsvc/i386/Makefile
index d51e3be102..340541fb1b 100644
--- a/usr/src/lib/librpcsvc/i386/Makefile
+++ b/usr/src/lib/librpcsvc/i386/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright 1997-2003 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/librpcsvc/i386/Makefile
-
-MAPDIR= ../spec/i386
include ../Makefile.com
diff --git a/usr/src/lib/librpcsvc/sparc/Makefile b/usr/src/lib/librpcsvc/sparc/Makefile
index 673b48987c..340541fb1b 100644
--- a/usr/src/lib/librpcsvc/sparc/Makefile
+++ b/usr/src/lib/librpcsvc/sparc/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright 1997-2003 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/librpcsvc/sparc/Makefile
-
-MAPDIR= ../spec/sparc
include ../Makefile.com
diff --git a/usr/src/lib/librpcsvc/sparcv9/Makefile b/usr/src/lib/librpcsvc/sparcv9/Makefile
index e20daa29e0..9ab764a959 100644
--- a/usr/src/lib/librpcsvc/sparcv9/Makefile
+++ b/usr/src/lib/librpcsvc/sparcv9/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright 1997-2003 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/librpcsvc/sparcv9/Makefile
-
-MAPDIR= ../spec/sparcv9
include ../Makefile.com
include ../../Makefile.lib.64
@@ -35,7 +31,3 @@ include ../../Makefile.lib.64
all: $(LIBS)
install: all $(ROOTLIBS64) $(ROOTLINKS64)
-
-# This needs to be restated, otherwise we'll be dependent
-# on the 32bit mapfile...
-$(DYNLIB): $(MAPFILE)
diff --git a/usr/src/lib/librpcsvc/spec/Makefile b/usr/src/lib/librpcsvc/spec/Makefile
deleted file mode 100644
index b8db3ec14e..0000000000
--- a/usr/src/lib/librpcsvc/spec/Makefile
+++ /dev/null
@@ -1,29 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1998-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/librpcsvc/spec/Makefile
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/librpcsvc/spec/Makefile.targ b/usr/src/lib/librpcsvc/spec/Makefile.targ
deleted file mode 100644
index 16f656ded0..0000000000
--- a/usr/src/lib/librpcsvc/spec/Makefile.targ
+++ /dev/null
@@ -1,33 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1998-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/librpcsvc/spec/Makefile.targ
-
-LIBRARY = librpcsvc.a
-VERS = .1
-
-OBJECTS = rpcsvc.o
-
diff --git a/usr/src/lib/librpcsvc/spec/amd64/Makefile b/usr/src/lib/librpcsvc/spec/amd64/Makefile
deleted file mode 100644
index 453c0ea671..0000000000
--- a/usr/src/lib/librpcsvc/spec/amd64/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#amd64_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/librpcsvc/spec/i386/Makefile b/usr/src/lib/librpcsvc/spec/i386/Makefile
deleted file mode 100644
index 65942c1722..0000000000
--- a/usr/src/lib/librpcsvc/spec/i386/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1998-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/librpcsvc/spec/i386/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#i386_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/librpcsvc/spec/rpcsvc.spec b/usr/src/lib/librpcsvc/spec/rpcsvc.spec
deleted file mode 100644
index 3567a7ad0b..0000000000
--- a/usr/src/lib/librpcsvc/spec/rpcsvc.spec
+++ /dev/null
@@ -1,407 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/librpcsvc/spec/rpcsvc.spec
-
-function rstat
-include <rpc/rpc.h>, <rpcsvc/rstat.h>
-declaration enum clnt_stat rstat(char *host, struct statstime *statp )
-version SUNW_0.7
-exception $return != RPC_SUCCESS
-end
-
-function havedisk
-include <rpc/rpc.h>, <rpcsvc/rstat.h>
-declaration int havedisk(char *host )
-version SUNW_0.7
-exception $return == 0
-end
-
-function rusers
-include <rpc/rpc.h>, <rpcsvc/rusers.h>
-declaration enum clnt_stat rusers(char *host, struct utmpidlearr *up )
-version SUNW_0.7
-exception $return != 0
-end
-
-function rnusers
-include <rpc/rpc.h>, <rpcsvc/rusers.h>
-declaration int rnusers(char *host )
-version SUNW_0.7
-exception $return != 0
-end
-
-function rwall
-include <rpc/rpc.h>, <rpcsvc/rwall.h>
-declaration enum clnt_stat rwall(char *host, char *msg )
-version SUNW_0.7
-exception $return != RPC_SUCCESS
-end
-
-function xdr_statstime
-version SUNW_0.7
-end
-
-function xdr_statsvar
-version SUNW_0.7
-end
-
-function xdr_utmpidlearr
-version SUNW_0.7
-end
-
-function __clnt_bindresvport
-version SUNWprivate_1.1
-end
-
-function xdr_bp_address
-version SUNWprivate_1.1
-end
-
-function xdr_bp_fileid_t
-version SUNWprivate_1.1
-end
-
-function xdr_bp_getfile_arg
-version SUNWprivate_1.1
-end
-
-function xdr_bp_getfile_res
-version SUNWprivate_1.1
-end
-
-function xdr_bp_machine_name_t
-version SUNWprivate_1.1
-end
-
-function xdr_bp_path_t
-version SUNWprivate_1.1
-end
-
-function xdr_bp_whoami_arg
-version SUNWprivate_1.1
-end
-
-function xdr_bp_whoami_res
-version SUNWprivate_1.1
-end
-
-function xdr_dirpath
-version SUNWprivate_1.1
-end
-
-function xdr_exportnode
-version SUNWprivate_1.1
-end
-
-function xdr_exports
-version SUNWprivate_1.1
-end
-
-function xdr_fhandle
-version SUNWprivate_1.1
-end
-
-function xdr_fhandle3
-version SUNWprivate_1.1
-end
-
-function xdr_fhstatus
-version SUNWprivate_1.1
-end
-
-function xdr_fsh4_access
-version SUNWprivate_1.1
-end
-
-function xdr_fsh4_mode
-version SUNWprivate_1.1
-end
-
-function xdr_fsh_access
-version SUNWprivate_1.1
-end
-
-function xdr_fsh_mode
-version SUNWprivate_1.1
-end
-
-function xdr_groupnode
-version SUNWprivate_1.1
-end
-
-function xdr_groups
-version SUNWprivate_1.1
-end
-
-function xdr_int32
-version SUNWprivate_1.1
-end
-
-function xdr_int64
-version SUNWprivate_1.1
-end
-
-function xdr_ip_addr_t
-version SUNWprivate_1.1
-end
-
-function xdr_mon
-version SUNWprivate_1.1
-end
-
-function xdr_mon_id
-version SUNWprivate_1.1
-end
-
-function xdr_mountbody
-version SUNWprivate_1.1
-end
-
-function xdr_mountlist
-version SUNWprivate_1.1
-end
-
-function xdr_mountres3
-version SUNWprivate_1.1
-end
-
-function xdr_mountres3_ok
-version SUNWprivate_1.1
-end
-
-function xdr_mountstat3
-version SUNWprivate_1.1
-end
-
-function xdr_my_id
-version SUNWprivate_1.1
-end
-
-function xdr_name
-version SUNWprivate_1.1
-end
-
-function xdr_nlm4_cancargs
-version SUNWprivate_1.1
-end
-
-function xdr_nlm4_holder
-version SUNWprivate_1.1
-end
-
-function xdr_nlm4_lock
-version SUNWprivate_1.1
-end
-
-function xdr_nlm4_lockargs
-version SUNWprivate_1.1
-end
-
-function xdr_nlm4_notify
-version SUNWprivate_1.1
-end
-
-function xdr_nlm4_res
-version SUNWprivate_1.1
-end
-
-function xdr_nlm4_share
-version SUNWprivate_1.1
-end
-
-function xdr_nlm4_shareargs
-version SUNWprivate_1.1
-end
-
-function xdr_nlm4_shareres
-version SUNWprivate_1.1
-end
-
-function xdr_nlm4_stat
-version SUNWprivate_1.1
-end
-
-function xdr_nlm4_stats
-version SUNWprivate_1.1
-end
-
-function xdr_nlm4_testargs
-version SUNWprivate_1.1
-end
-
-function xdr_nlm4_testres
-version SUNWprivate_1.1
-end
-
-function xdr_nlm4_testrply
-version SUNWprivate_1.1
-end
-
-function xdr_nlm4_unlockargs
-version SUNWprivate_1.1
-end
-
-function xdr_nlm_cancargs
-version SUNWprivate_1.1
-end
-
-function xdr_nlm_holder
-version SUNWprivate_1.1
-end
-
-function xdr_nlm_lock
-version SUNWprivate_1.1
-end
-
-function xdr_nlm_lockargs
-version SUNWprivate_1.1
-end
-
-function xdr_nlm_notify
-version SUNWprivate_1.1
-end
-
-function xdr_nlm_res
-version SUNWprivate_1.1
-end
-
-function xdr_nlm_share
-version SUNWprivate_1.1
-end
-
-function xdr_nlm_shareargs
-version SUNWprivate_1.1
-end
-
-function xdr_nlm_shareres
-version SUNWprivate_1.1
-end
-
-function xdr_nlm_stat
-version SUNWprivate_1.1
-end
-
-function xdr_nlm_stats
-version SUNWprivate_1.1
-end
-
-function xdr_nlm_testargs
-version SUNWprivate_1.1
-end
-
-function xdr_nlm_testres
-version SUNWprivate_1.1
-end
-
-function xdr_nlm_testrply
-version SUNWprivate_1.1
-end
-
-function xdr_nlm_unlockargs
-version SUNWprivate_1.1
-end
-
-function xdr_ppathcnf
-version SUNWprivate_1.1
-end
-
-function xdr_res
-version SUNWprivate_1.1
-end
-
-function xdr_rstat_timeval
-version SUNWprivate_1.1
-end
-
-function xdr_rusers_utmp
-version SUNWprivate_1.1
-end
-
-function xdr_sm_name
-version SUNWprivate_1.1
-end
-
-function xdr_sm_stat
-version SUNWprivate_1.1
-end
-
-function xdr_sm_stat_res
-version SUNWprivate_1.1
-end
-
-function xdr_sprayarr
-version SUNWprivate_1.1
-end
-
-function xdr_spraycumul
-version SUNWprivate_1.1
-end
-
-function xdr_spraytimeval
-version SUNWprivate_1.1
-end
-
-function xdr_stat_chge
-version SUNWprivate_1.1
-end
-
-function xdr_status
-version SUNWprivate_1.1
-end
-
-function xdr_timeval
-version SUNWprivate_1.1
-end
-
-function xdr_uint32
-version SUNWprivate_1.1
-end
-
-function xdr_uint64
-version SUNWprivate_1.1
-end
-
-function xdr_utmp_array
-version SUNWprivate_1.1
-end
-
-function xdr_reg1args
-version SUNWprivate_1.1
-end
-
-function xdr_reg1res
-version SUNWprivate_1.1
-end
-
-function xdr_unreg1args
-version SUNWprivate_1.1
-end
-
-function xdr_unreg1res
-version SUNWprivate_1.1
-end
-
diff --git a/usr/src/lib/librpcsvc/spec/sparc/Makefile b/usr/src/lib/librpcsvc/spec/sparc/Makefile
deleted file mode 100644
index b7fbb05116..0000000000
--- a/usr/src/lib/librpcsvc/spec/sparc/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1998-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/librpcsvc/spec/sparc/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#sparc_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/librpcsvc/spec/sparcv9/Makefile b/usr/src/lib/librpcsvc/spec/sparcv9/Makefile
deleted file mode 100644
index 012d10c3eb..0000000000
--- a/usr/src/lib/librpcsvc/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,45 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1998-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/librpcsvc/spec/sparcv9/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#sparcv9_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/librpcsvc/spec/versions b/usr/src/lib/librpcsvc/spec/versions
deleted file mode 100644
index 2fed5f1c60..0000000000
--- a/usr/src/lib/librpcsvc/spec/versions
+++ /dev/null
@@ -1,52 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# Note: Even though the SUNW_1.1 version now contains no symbols
-# beyond what was present at Solaris 2.3, the SUNW_1.1 version MUST be
-# present. This is because applications built on 2.6 Beta
-# (when it did contain symbols explicitly) may depend on it.
-#
-
-sparc {
- SUNW_1.1: {SUNW_0.7};
- SUNW_0.7;
- SUNWprivate_1.1;
-}
-sparcv9 {
- SUNW_1.1: {SUNW_0.7};
- SUNW_0.7;
- SUNWprivate_1.1;
-}
-i386 {
- SUNW_1.1: {SUNW_0.7};
- SUNW_0.7;
- SUNWprivate_1.1;
-}
-amd64 {
- SUNW_1.1: {SUNW_0.7};
- SUNW_0.7;
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/librsc/Makefile.com b/usr/src/lib/librsc/Makefile.com
index f5f08298fd..55f2a98176 100644
--- a/usr/src/lib/librsc/Makefile.com
+++ b/usr/src/lib/librsc/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,13 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/librsc/Makefile.com
-#
LIBRARY= librsc.a
VERS= .1
@@ -48,6 +45,9 @@ LINKED_LIBRSC1_DIR = \
LINKED_LLIBLRSC_DIR = \
$(LINKED_PLATFORMS:%=$(USR_PLAT_DIR)/%/lib/llib-lrsc.ln)
+# There should be a mapfile here
+MAPFILES =
+
SRCDIR = common
LIBS = $(DYNLIB) $(LINTLIB)
CFLAGS += $(CCVERBOSE)
diff --git a/usr/src/lib/librsm/Makefile b/usr/src/lib/librsm/Makefile
index e4098d8964..dddd826312 100644
--- a/usr/src/lib/librsm/Makefile
+++ b/usr/src/lib/librsm/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,17 +19,16 @@
# CDDL HEADER END
#
#
-#pragma ident "%Z%%M% %I% %E% SMI"
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-# Copyright (c) 1998-2001 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/librsm/Makefile
+# ident "%Z%%M% %I% %E% SMI"
#
include ../Makefile.lib
-SUBDIRS = spec .WAIT $(MACH) $(BUILD64) $(MACH64)
+SUBDIRS = $(MACH)
+$(BUILD64)SUBDIRS += $(MACH64)
all:= TARGET= all
clean:= TARGET= clean
@@ -64,7 +62,7 @@ install_h: $(ROOTHDRS) $(ROOTSYSHDRS)
check: $(CHECKHDRS) $(CHECKSYSHDRS)
-spec $(MACH) $(MACH64): FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
diff --git a/usr/src/lib/librsm/Makefile.com b/usr/src/lib/librsm/Makefile.com
index 86e2b1ae5d..ce497b6ceb 100644
--- a/usr/src/lib/librsm/Makefile.com
+++ b/usr/src/lib/librsm/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -25,8 +24,6 @@
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/librsm/Makefile.com
-#
LIBRARY= librsm.a
VERS= .2
@@ -38,8 +35,7 @@ OBJECTS = rsmlib.o rsmgen.o rsmloopback.o
# include library definitions, do not change order of include and DYNLIB
include ../../Makefile.lib
-MAPFILE = $(MAPDIR)/mapfile
-SRCS = $(OBJECTS:%.o=../common/%.c)
+SRCDIR = ../common
LIBS = $(DYNLIB)
@@ -54,8 +50,6 @@ $(NOT_RELEASE_BUILD)COPTFLAG64 =
CPPFLAGS = -I../inc -I../../common/inc $(CPPFLAGS.master) -D_REENTRANT $(DEBUG)
-DYNFLAGS += -M$(MAPFILE)
-
LDLIBS += -lc
.KEEP_STATE:
@@ -64,11 +58,6 @@ all: $(LIBS) fnamecheck
lint: lintcheck
-$(DYNLIB): $(MAPFILE)
-
-$(MAPFILE):
- @cd $(MAPDIR); $(MAKE) mapfile
-
# include library targets
include ../../Makefile.targ
diff --git a/usr/src/lib/librsm/amd64/Makefile b/usr/src/lib/librsm/amd64/Makefile
index f42f8846a4..108875b6f6 100644
--- a/usr/src/lib/librsm/amd64/Makefile
+++ b/usr/src/lib/librsm/amd64/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-MAPDIR = ../spec/amd64
-
include ../Makefile.com
include ../../Makefile.lib.64
diff --git a/usr/src/lib/librsm/common/mapfile-vers b/usr/src/lib/librsm/common/mapfile-vers
new file mode 100644
index 0000000000..490ac96527
--- /dev/null
+++ b/usr/src/lib/librsm/common/mapfile-vers
@@ -0,0 +1,116 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNWprivate_1.1 {
+ global:
+ rsm_create_localmemory_handle;
+ _rsm_create_localmemory_handle;
+ rsm_free_interconnect_topology;
+ _rsm_free_interconnect_topology;
+ rsm_free_localmemory_handle;
+ _rsm_free_localmemory_handle;
+ rsm_get_controller;
+ _rsm_get_controller;
+ rsm_get_controller_attr;
+ _rsm_get_controller_attr;
+ rsm_get_interconnect_topology;
+ _rsm_get_interconnect_topology;
+ rsm_get_segmentid_range;
+ _rsm_get_segmentid_range;
+ rsm_intr_signal_post;
+ _rsm_intr_signal_post;
+ rsm_intr_signal_wait;
+ _rsm_intr_signal_wait;
+ rsm_intr_signal_wait_pollfd;
+ _rsm_intr_signal_wait_pollfd;
+ rsm_memseg_export_create;
+ _rsm_memseg_export_create;
+ rsm_memseg_export_destroy;
+ _rsm_memseg_export_destroy;
+ rsm_memseg_export_publish;
+ _rsm_memseg_export_publish;
+ rsm_memseg_export_rebind;
+ _rsm_memseg_export_rebind;
+ rsm_memseg_export_republish;
+ _rsm_memseg_export_republish;
+ rsm_memseg_export_unpublish;
+ _rsm_memseg_export_unpublish;
+ rsm_memseg_get_pollfd;
+ _rsm_memseg_get_pollfd;
+ rsm_memseg_import_close_barrier;
+ _rsm_memseg_import_close_barrier;
+ rsm_memseg_import_connect;
+ _rsm_memseg_import_connect;
+ rsm_memseg_import_destroy_barrier;
+ _rsm_memseg_import_destroy_barrier;
+ rsm_memseg_import_disconnect;
+ _rsm_memseg_import_disconnect;
+ rsm_memseg_import_get;
+ _rsm_memseg_import_get;
+ rsm_memseg_import_get16;
+ _rsm_memseg_import_get16;
+ rsm_memseg_import_get32;
+ _rsm_memseg_import_get32;
+ rsm_memseg_import_get64;
+ _rsm_memseg_import_get64;
+ rsm_memseg_import_get8;
+ _rsm_memseg_import_get8;
+ rsm_memseg_import_get_mode;
+ _rsm_memseg_import_get_mode;
+ rsm_memseg_import_getv;
+ _rsm_memseg_import_getv;
+ rsm_memseg_import_init_barrier;
+ _rsm_memseg_import_init_barrier;
+ rsm_memseg_import_map;
+ _rsm_memseg_import_map;
+ rsm_memseg_import_open_barrier;
+ _rsm_memseg_import_open_barrier;
+ rsm_memseg_import_order_barrier;
+ _rsm_memseg_import_order_barrier;
+ rsm_memseg_import_put;
+ _rsm_memseg_import_put;
+ rsm_memseg_import_put16;
+ _rsm_memseg_import_put16;
+ rsm_memseg_import_put32;
+ _rsm_memseg_import_put32;
+ rsm_memseg_import_put64;
+ _rsm_memseg_import_put64;
+ rsm_memseg_import_put8;
+ _rsm_memseg_import_put8;
+ rsm_memseg_import_putv;
+ _rsm_memseg_import_putv;
+ rsm_memseg_import_set_mode;
+ _rsm_memseg_import_set_mode;
+ rsm_memseg_import_unmap;
+ _rsm_memseg_import_unmap;
+ rsm_memseg_release_pollfd;
+ _rsm_memseg_release_pollfd;
+ rsm_release_controller;
+ _rsm_release_controller;
+ local:
+ *;
+};
diff --git a/usr/src/lib/librsm/i386/Makefile b/usr/src/lib/librsm/i386/Makefile
index 4a1e19c980..ff6859db70 100644
--- a/usr/src/lib/librsm/i386/Makefile
+++ b/usr/src/lib/librsm/i386/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,15 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/librsm/i386/Makefile
-#
-
-MAPDIR = ../spec/i386
include ../Makefile.com
diff --git a/usr/src/lib/librsm/sparc/Makefile b/usr/src/lib/librsm/sparc/Makefile
index 80d8716b05..ff6859db70 100644
--- a/usr/src/lib/librsm/sparc/Makefile
+++ b/usr/src/lib/librsm/sparc/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,15 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/librsm/sparc/Makefile
-#
-
-MAPDIR = ../spec/sparc
include ../Makefile.com
diff --git a/usr/src/lib/librsm/sparcv9/Makefile b/usr/src/lib/librsm/sparcv9/Makefile
index d33234814f..d579ebda99 100644
--- a/usr/src/lib/librsm/sparcv9/Makefile
+++ b/usr/src/lib/librsm/sparcv9/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,15 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/librsm/sparcv9/Makefile
-#
-
-MAPDIR = ../spec/sparcv9
include ../Makefile.com
include ../../Makefile.lib.64
diff --git a/usr/src/lib/librsm/spec/Makefile b/usr/src/lib/librsm/spec/Makefile
deleted file mode 100644
index c262e85954..0000000000
--- a/usr/src/lib/librsm/spec/Makefile
+++ /dev/null
@@ -1,30 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 2000-2001 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/librsm/spec/Makefile
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/librsm/spec/Makefile.targ b/usr/src/lib/librsm/spec/Makefile.targ
deleted file mode 100644
index 136f71d2c7..0000000000
--- a/usr/src/lib/librsm/spec/Makefile.targ
+++ /dev/null
@@ -1,34 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2000-2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# lib/librsm/spec/Makefile.targ
-
-LIBRARY = librsm.a
-VERS = .2
-
-OBJECTS = rsm.o
-
diff --git a/usr/src/lib/librsm/spec/amd64/Makefile b/usr/src/lib/librsm/spec/amd64/Makefile
deleted file mode 100644
index d334868181..0000000000
--- a/usr/src/lib/librsm/spec/amd64/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#amd64_C_PICFLAGS = $(amd64_C_BIGPICFLAGS)
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/librsm/spec/i386/Makefile b/usr/src/lib/librsm/spec/i386/Makefile
deleted file mode 100644
index c824989917..0000000000
--- a/usr/src/lib/librsm/spec/i386/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 2001 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/librsm/spec/i386/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#i386_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/librsm/spec/rsm.spec b/usr/src/lib/librsm/spec/rsm.spec
deleted file mode 100644
index 6d6ac9597d..0000000000
--- a/usr/src/lib/librsm/spec/rsm.spec
+++ /dev/null
@@ -1,532 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/librsm/spec/rsm.spec
-
-function rsm_get_controller
-declaration int rsm_get_controller(char *name, rsmapi_controller_handle_t *controller)
-include <rsmapi.h>
-arch all
-version SUNWprivate_1.1
-end
-
-function rsm_get_controller_attr
-declaration int rsm_get_controller_attr(rsmapi_controller_handle_t chdl, rsmapi_controller_attr_t *attr)
-include <rsmapi.h>
-arch all
-version SUNWprivate_1.1
-end
-
-function rsm_release_controller
-declaration int rsm_release_controller(rsmapi_controller_handle_t controller)
-include <rsmapi.h>
-arch all
-version SUNWprivate_1.1
-end
-
-function rsm_memseg_export_create
-declaration int rsm_memseg_export_create(rsmapi_controller_handle_t controller, rsm_memseg_export_handle_t *memseg, void *vaddr, size_t length, uint_t flags);
-include <rsmapi.h>
-arch all
-version SUNWprivate_1.1
-end
-
-function rsm_memseg_export_destroy
-declaration int rsm_memseg_export_destroy(rsm_memseg_export_handle_t memseg)
-include <rsmapi.h>
-arch all
-version SUNWprivate_1.1
-end
-
-function rsm_memseg_export_rebind
-declaration int rsm_memseg_export_rebind(rsm_memseg_export_handle_t memseg, void *vaddr, offset_t off, size_t length)
-include <rsmapi.h>
-arch all
-version SUNWprivate_1.1
-end
-
-function rsm_memseg_export_publish
-declaration int rsm_memseg_export_publish(rsm_memseg_export_handle_t memseg, rsm_memseg_id_t *segment_id, rsmapi_access_entry_t access_list[], uint_t access_list_length)
-include <rsmapi.h>
-arch all
-version SUNWprivate_1.1
-end
-
-function rsm_memseg_export_unpublish
-declaration int rsm_memseg_export_unpublish(rsm_memseg_export_handle_t memseg)
-include <rsmapi.h>
-arch all
-version SUNWprivate_1.1
-end
-
-function rsm_memseg_export_republish
-declaration int rsm_memseg_export_republish(rsm_memseg_export_handle_t memseg, rsmapi_access_entry_t access_list[], uint_t access_list_length)
-include <rsmapi.h>
-arch all
-version SUNWprivate_1.1
-end
-
-function rsm_memseg_import_connect
-declaration int rsm_memseg_import_connect(rsmapi_controller_handle_t controller, rsm_node_id_t node_id, rsm_memseg_id_t segment_id, rsm_permission_t perm, rsm_memseg_import_handle_t *im_memseg)
-include <rsmapi.h>
-arch all
-version SUNWprivate_1.1
-end
-
-function rsm_memseg_import_disconnect
-declaration int rsm_memseg_import_disconnect(rsm_memseg_import_handle_t im_memseg)
-include <rsmapi.h>
-arch all
-version SUNWprivate_1.1
-end
-
-function rsm_memseg_import_get8
-declaration int rsm_memseg_import_get8(rsm_memseg_import_handle_t im_memseg, off_t offset, uint8_t *datap, ulong_t rep_cnt)
-include <rsmapi.h>
-arch all
-version SUNWprivate_1.1
-end
-
-function rsm_memseg_import_get16
-declaration int rsm_memseg_import_get16(rsm_memseg_import_handle_t im_memseg, off_t offset, uint16_t *datap, ulong_t rep_cnt)
-include <rsmapi.h>
-arch all
-version SUNWprivate_1.1
-end
-
-function rsm_memseg_import_get32
-declaration int rsm_memseg_import_get32(rsm_memseg_import_handle_t im_memseg, off_t offset, uint32_t *datap, ulong_t rep_cnt)
-include <rsmapi.h>
-arch all
-version SUNWprivate_1.1
-end
-
-function rsm_memseg_import_get64
-declaration int rsm_memseg_import_get64(rsm_memseg_import_handle_t im_memseg, off_t offset, uint64_t *datap, ulong_t rep_cnt)
-include <rsmapi.h>
-arch all
-version SUNWprivate_1.1
-end
-
-function rsm_memseg_import_get
-declaration int rsm_memseg_import_get(rsm_memseg_import_handle_t im_memseg, off_t offset, void *dst_addr, size_t length)
-include <rsmapi.h>
-arch all
-version SUNWprivate_1.1
-end
-
-function rsm_memseg_import_getv
-declaration int rsm_memseg_import_getv(rsm_scat_gath_t *)
-include <rsmapi.h>
-arch all
-version SUNWprivate_1.1
-end
-
-function rsm_memseg_import_put8
-declaration int rsm_memseg_import_put8(rsm_memseg_import_handle_t im_memseg, off_t offset, uint8_t *datap, ulong_t rep_cnt)
-include <rsmapi.h>
-arch all
-version SUNWprivate_1.1
-end
-
-function rsm_memseg_import_put16
-declaration int rsm_memseg_import_put16(rsm_memseg_import_handle_t im_memseg, off_t offset, uint16_t *datap, ulong_t rep_cnt)
-include <rsmapi.h>
-arch all
-version SUNWprivate_1.1
-end
-
-function rsm_memseg_import_put32
-declaration int rsm_memseg_import_put32(rsm_memseg_import_handle_t im_memseg, off_t offset, uint32_t *datap, ulong_t rep_cnt)
-include <rsmapi.h>
-arch all
-version SUNWprivate_1.1
-end
-
-function rsm_memseg_import_put64
-declaration int rsm_memseg_import_put64(rsm_memseg_import_handle_t im_memseg, off_t offset, uint64_t *datap, ulong_t rep_cnt)
-include <rsmapi.h>
-arch all
-version SUNWprivate_1.1
-end
-
-function rsm_memseg_import_put
-declaration int rsm_memseg_import_put(rsm_memseg_import_handle_t im_memseg, off_t offset, void *src_addr, size_t length)
-include <rsmapi.h>
-arch all
-version SUNWprivate_1.1
-end
-
-function rsm_memseg_import_putv
-declaration int rsm_memseg_import_putv(rsm_scat_gath_t *)
-include <rsmapi.h>
-arch all
-version SUNWprivate_1.1
-end
-
-function rsm_memseg_import_map
-declaration int rsm_memseg_import_map(rsm_memseg_import_handle_t im_memseg, void **address, rsm_attribute_t attr, rsm_permission_t perm, off_t offset, size_t length)
-include <rsmapi.h>
-arch all
-version SUNWprivate_1.1
-end
-
-function rsm_memseg_import_unmap
-declaration int rsm_memseg_import_unmap(rsm_memseg_import_handle_t im_memseg)
-include <rsmapi.h>
-arch all
-version SUNWprivate_1.1
-end
-
-function rsm_memseg_import_init_barrier
-declaration int rsm_memseg_import_init_barrier(rsm_memseg_import_handle_t im_memseg, rsm_barrier_type_t type, rsmapi_barrier_t *barrier)
-include <rsmapi.h>
-arch all
-version SUNWprivate_1.1
-end
-
-function rsm_memseg_import_open_barrier
-declaration int rsm_memseg_import_open_barrier(rsmapi_barrier_t *barrier);
-include <rsmapi.h>
-arch all
-version SUNWprivate_1.1
-end
-
-function rsm_memseg_import_close_barrier
-declaration int rsm_memseg_import_close_barrier(rsmapi_barrier_t *barrier);
-include <rsmapi.h>
-arch all
-version SUNWprivate_1.1
-end
-
-function rsm_memseg_import_order_barrier
-declaration int rsm_memseg_import_order_barrier(rsmapi_barrier_t *barrier)
-include <rsmapi.h>
-arch all
-version SUNWprivate_1.1
-end
-
-function rsm_memseg_import_destroy_barrier
-declaration int rsm_memseg_import_destroy_barrier(rsmapi_barrier_t *barrier)
-include <rsmapi.h>
-arch all
-version SUNWprivate_1.1
-end
-
-function rsm_memseg_import_get_mode
-declaration int rsm_memseg_import_get_mode(rsm_memseg_import_handle_t im_memseg, rsm_barrier_mode_t *mode)
-include <rsmapi.h>
-arch all
-version SUNWprivate_1.1
-end
-
-function rsm_memseg_import_set_mode
-declaration int rsm_memseg_import_set_mode(rsm_memseg_import_handle_t im_memseg, rsm_barrier_mode_t mode)
-include <rsmapi.h>
-arch all
-version SUNWprivate_1.1
-end
-
-function rsm_intr_signal_post
-declaration int rsm_intr_signal_post(void * im_memseg, uint_t flags)
-include <rsmapi.h>
-arch all
-version SUNWprivate_1.1
-end
-
-function rsm_intr_signal_wait
-declaration int rsm_intr_signal_wait(void * im_memseg, int timeout)
-include <rsmapi.h>
-arch all
-version SUNWprivate_1.1
-end
-
-function rsm_memseg_get_pollfd
-declaration int rsm_memseg_get_pollfd(void *, struct pollfd *)
-include <rsmapi.h>
-arch all
-version SUNWprivate_1.1
-end
-
-function rsm_memseg_release_pollfd
-declaration int rsm_memseg_release_pollfd(void *)
-include <rsmapi.h>
-arch all
-version SUNWprivate_1.1
-end
-
-function rsm_get_interconnect_topology
-declaration int rsm_get_interconnect_topology(rsm_topology_t **)
-include <rsmapi.h>
-arch all
-version SUNWprivate_1.1
-end
-
-function rsm_free_interconnect_topology
-declaration void rsm_free_interconnect_topology(rsm_topology_t *)
-include <rsmapi.h>
-arch all
-version SUNWprivate_1.1
-end
-
-function rsm_create_localmemory_handle
-declaration int rsm_create_localmemory_handle(rsmapi_controller_handle_t, rsm_localmemory_handle_t *, caddr_t, size_t)
-include <rsmapi.h>
-arch all
-version SUNWprivate_1.1
-end
-
-function rsm_free_localmemory_handle
-declaration int rsm_free_localmemory_handle(rsmapi_controller_handle_t, rsm_localmemory_handle_t)
-include <rsmapi.h>
-arch all
-version SUNWprivate_1.1
-end
-
-function rsm_get_segmentid_range
-declaration int rsm_get_segmentid_range(const char *, rsm_memseg_id_t *, uint32_t *)
-include <rsmapi.h>
-arch all
-version SUNWprivate_1.1
-end
-
-function rsm_intr_signal_wait_pollfd
-declaration int rsm_intr_signal_wait_pollfd(struct pollfd [], nfds_t, int, int *)
-include <rsmapi.h>
-arch all
-version SUNWprivate_1.1
-end
-
-function _rsm_get_controller
-weak rsm_get_controller
-version SUNWprivate_1.1
-end
-
-function _rsm_get_controller_attr
-weak rsm_get_controller_attr
-version SUNWprivate_1.1
-end
-
-function _rsm_release_controller
-weak rsm_release_controller
-version SUNWprivate_1.1
-end
-
-function _rsm_memseg_export_create
-weak rsm_memseg_export_create
-version SUNWprivate_1.1
-end
-
-function _rsm_memseg_export_destroy
-weak rsm_memseg_export_destroy
-version SUNWprivate_1.1
-end
-
-function _rsm_memseg_export_rebind
-weak rsm_memseg_export_rebind
-version SUNWprivate_1.1
-end
-
-function _rsm_memseg_export_publish
-weak rsm_memseg_export_publish
-version SUNWprivate_1.1
-end
-
-function _rsm_memseg_export_unpublish
-weak rsm_memseg_export_unpublish
-version SUNWprivate_1.1
-end
-
-function _rsm_memseg_export_republish
-weak rsm_memseg_export_republish
-version SUNWprivate_1.1
-end
-
-function _rsm_memseg_import_connect
-weak rsm_memseg_import_connect
-version SUNWprivate_1.1
-end
-
-function _rsm_memseg_import_disconnect
-weak rsm_memseg_import_disconnect
-version SUNWprivate_1.1
-end
-
-function _rsm_memseg_import_get8
-weak rsm_memseg_import_get8
-version SUNWprivate_1.1
-end
-
-function _rsm_memseg_import_get16
-weak rsm_memseg_import_get16
-version SUNWprivate_1.1
-end
-
-function _rsm_memseg_import_get32
-weak rsm_memseg_import_get32
-version SUNWprivate_1.1
-end
-
-function _rsm_memseg_import_get64
-weak rsm_memseg_import_get64
-version SUNWprivate_1.1
-end
-
-function _rsm_memseg_import_get
-weak rsm_memseg_import_get
-version SUNWprivate_1.1
-end
-
-function _rsm_memseg_import_getv
-weak rsm_memseg_import_getv
-version SUNWprivate_1.1
-end
-
-function _rsm_memseg_import_put8
-weak rsm_memseg_import_put8
-version SUNWprivate_1.1
-end
-
-function _rsm_memseg_import_put16
-weak rsm_memseg_import_put16
-version SUNWprivate_1.1
-end
-
-function _rsm_memseg_import_put32
-weak rsm_memseg_import_put32
-version SUNWprivate_1.1
-end
-
-function _rsm_memseg_import_put64
-weak rsm_memseg_import_put64
-version SUNWprivate_1.1
-end
-
-function _rsm_memseg_import_put
-weak rsm_memseg_import_put
-version SUNWprivate_1.1
-end
-
-function _rsm_memseg_import_putv
-weak rsm_memseg_import_putv
-version SUNWprivate_1.1
-end
-
-function _rsm_memseg_import_map
-weak rsm_memseg_import_map
-version SUNWprivate_1.1
-end
-
-function _rsm_memseg_import_unmap
-weak rsm_memseg_import_unmap
-version SUNWprivate_1.1
-end
-
-function _rsm_memseg_import_init_barrier
-weak rsm_memseg_import_init_barrier
-version SUNWprivate_1.1
-end
-
-function _rsm_memseg_import_open_barrier
-weak rsm_memseg_import_open_barrier
-version SUNWprivate_1.1
-end
-
-function _rsm_memseg_import_close_barrier
-weak rsm_memseg_import_close_barrier
-version SUNWprivate_1.1
-end
-
-function _rsm_memseg_import_order_barrier
-weak rsm_memseg_import_order_barrier
-version SUNWprivate_1.1
-end
-
-function _rsm_memseg_import_destroy_barrier
-weak rsm_memseg_import_destroy_barrier
-version SUNWprivate_1.1
-end
-
-function _rsm_memseg_import_get_mode
-weak rsm_memseg_import_get_mode
-version SUNWprivate_1.1
-end
-
-function _rsm_memseg_import_set_mode
-weak rsm_memseg_import_set_mode
-version SUNWprivate_1.1
-end
-
-function _rsm_intr_signal_post
-weak rsm_intr_signal_post
-version SUNWprivate_1.1
-end
-
-function _rsm_intr_signal_wait
-weak rsm_intr_signal_wait
-version SUNWprivate_1.1
-end
-
-function _rsm_memseg_get_pollfd
-weak rsm_memseg_get_pollfd
-version SUNWprivate_1.1
-end
-
-function _rsm_memseg_release_pollfd
-weak rsm_memseg_release_pollfd
-version SUNWprivate_1.1
-end
-
-function _rsm_get_interconnect_topology
-weak rsm_get_interconnect_topology
-version SUNWprivate_1.1
-end
-
-function _rsm_free_interconnect_topology
-weak rsm_free_interconnect_topology
-version SUNWprivate_1.1
-end
-
-function _rsm_create_localmemory_handle
-weak rsm_create_localmemory_handle
-version SUNWprivate_1.1
-end
-
-function _rsm_free_localmemory_handle
-weak rsm_free_localmemory_handle
-version SUNWprivate_1.1
-end
-
-function _rsm_get_segmentid_range
-weak rsm_get_segmentid_range
-version SUNWprivate_1.1
-end
-
-function _rsm_intr_signal_wait_pollfd
-weak rsm_intr_signal_wait_pollfd
-version SUNWprivate_1.1
-end
-
diff --git a/usr/src/lib/librsm/spec/sparc/Makefile b/usr/src/lib/librsm/spec/sparc/Makefile
deleted file mode 100644
index 519ecd477c..0000000000
--- a/usr/src/lib/librsm/spec/sparc/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 2001 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/librsm/spec/sparc/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#sparc_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/librsm/spec/sparcv9/Makefile b/usr/src/lib/librsm/spec/sparcv9/Makefile
deleted file mode 100644
index 4a0276313c..0000000000
--- a/usr/src/lib/librsm/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,45 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 2001 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/librsm/spec/sparcv9/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#sparcv9_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/librsm/spec/versions b/usr/src/lib/librsm/spec/versions
deleted file mode 100644
index a542a0f7fc..0000000000
--- a/usr/src/lib/librsm/spec/versions
+++ /dev/null
@@ -1,39 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-sparc {
- SUNWprivate_1.1;
-}
-sparcv9 {
- SUNWprivate_1.1;
-}
-i386 {
- SUNWprivate_1.1;
-}
-amd64 {
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/librt/Makefile.com b/usr/src/lib/librt/Makefile.com
index 66458cd5b4..9e9c0075fa 100644
--- a/usr/src/lib/librt/Makefile.com
+++ b/usr/src/lib/librt/Makefile.com
@@ -31,16 +31,14 @@ VERS = .1
include ../../Makefile.lib
include ../../Makefile.rootfs
-MAPFILES= mapfile-vers $(MAPFILE-FLTR)
-MAPOPTS= $(MAPFILES:%=-M %)
-
-DYNFLAGS += -F libc.so.1 $(MAPOPTS)
+DYNFLAGS += -F libc.so.1
LIBS = $(DYNLIB) $(LINTLIB)
SRCDIR = ../common
$(LINTLIB) := SRCS = $(SRCDIR)/llib-lrt
+MAPFILES = mapfile-vers $(MAPFILE-FLTR)
# Redefine shared object build rule to use $(LD) directly (this avoids .init
# and .fini sections being added). Also, since there are no OBJECTS, turn
@@ -56,5 +54,3 @@ include ../../Makefile.targ
all: $(LIBS)
lint:
-
-$(DYNLIB): $(MAPFILES)
diff --git a/usr/src/lib/libsasl/Makefile b/usr/src/lib/libsasl/Makefile
index 10981ca87a..dab3a911ba 100644
--- a/usr/src/lib/libsasl/Makefile
+++ b/usr/src/lib/libsasl/Makefile
@@ -1,11 +1,29 @@
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libsasl/Makefile
-#
include ../Makefile.lib
@@ -14,7 +32,6 @@ HDRDIR= include
ROOTHDRDIR= $(ROOT)/usr/include/sasl
SUBDIRS = $(MACH)
-
$(BUILD64)SUBDIRS += $(MACH64)
all := TARGET= all
@@ -35,9 +52,7 @@ MSGFILES= lib/canonusr.c lib/checkpw.c lib/client.c lib/common.c \
.KEEP_STATE:
-all clean clobber install: spec .WAIT $(SUBDIRS)
-
-lint: $(SUBDIRS)
+all clean clobber install lint: $(SUBDIRS)
install_h: $(ROOTHDRS)
@@ -50,7 +65,7 @@ _msg: $(MSGDOMAINPOFILE)
include $(SRC)/Makefile.msg.targ
-$(SUBDIRS) spec: FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
diff --git a/usr/src/lib/libsasl/Makefile.com b/usr/src/lib/libsasl/Makefile.com
index a28a4f4c84..0403f1fa15 100644
--- a/usr/src/lib/libsasl/Makefile.com
+++ b/usr/src/lib/libsasl/Makefile.com
@@ -1,11 +1,29 @@
#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libsasl/Makefile.com
-#
LIBRARY= libsasl.a
VERS= .1
@@ -29,8 +47,6 @@ LINTFLAGS64 += -DPIC
SRCDIR= ../lib
PLUGDIR= ../plugin
-MAPDIR= ../spec/$(TRANSMACH)
-SPECMAPFILE= $(MAPDIR)/mapfile
CFLAGS += $(CCVERBOSE) $(XSTRCONST)
CFLAGS64 += $(XSTRCONST)
diff --git a/usr/src/lib/libsasl/lib/mapfile-vers b/usr/src/lib/libsasl/lib/mapfile-vers
new file mode 100644
index 0000000000..b11be0fd7c
--- /dev/null
+++ b/usr/src/lib/libsasl/lib/mapfile-vers
@@ -0,0 +1,95 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNW_1.1 {
+ global:
+ prop_clear;
+ prop_dispose;
+ prop_dup;
+ prop_erase;
+ prop_format;
+ prop_get;
+ prop_getnames;
+ prop_new;
+ prop_request;
+ prop_set;
+ prop_setvals;
+ sasl_auxprop_add_plugin;
+ sasl_auxprop_getctx;
+ sasl_auxprop_request;
+ sasl_canonuser_add_plugin;
+ sasl_checkapop;
+ sasl_checkpass;
+ sasl_client_add_plugin;
+ sasl_client_init;
+ sasl_client_new;
+ sasl_client_start;
+ sasl_client_step;
+ sasl_decode;
+ sasl_decode64;
+ sasl_dispose;
+ sasl_done;
+ sasl_encode;
+ sasl_encode64;
+ sasl_encodev;
+ sasl_erasebuffer;
+ sasl_errdetail;
+ sasl_errstring;
+ sasl_getprop;
+ sasl_global_listmech;
+ sasl_idle;
+ sasl_listmech;
+ sasl_server_add_plugin;
+ sasl_server_init;
+ sasl_server_new;
+ sasl_server_start;
+ sasl_server_step;
+ sasl_set_alloc;
+ sasl_seterror;
+ sasl_set_mutex;
+ sasl_setpass;
+ sasl_setprop;
+ sasl_user_exists;
+ sasl_utf8verify;
+ sasl_version;
+};
+
+SUNWprivate_1.1 {
+ global:
+ _sasl_auxprop_add_plugin;
+ _sasl_canonuser_add_plugin;
+ _sasl_client_add_plugin;
+ _sasl_client_init;
+ _sasl_client_new;
+ sasl_create_context;
+ sasl_free_context;
+ _sasl_server_add_plugin;
+ _sasl_server_init;
+ _sasl_server_new;
+ local:
+ *;
+};
diff --git a/usr/src/lib/libsasl/spec/Makefile b/usr/src/lib/libsasl/spec/Makefile
deleted file mode 100644
index 8b3aa273d8..0000000000
--- a/usr/src/lib/libsasl/spec/Makefile
+++ /dev/null
@@ -1,10 +0,0 @@
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libsasl/spec/Makefile
-#
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/libsasl/spec/Makefile.targ b/usr/src/lib/libsasl/spec/Makefile.targ
deleted file mode 100644
index a269674a94..0000000000
--- a/usr/src/lib/libsasl/spec/Makefile.targ
+++ /dev/null
@@ -1,15 +0,0 @@
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libsasl/spec/Makefile.targ
-#
-
-LIBRARY = libsasl.a
-VERS = .1
-
-OBJECTS = sasl.o
-
-SPECCPP = -I..
diff --git a/usr/src/lib/libsasl/spec/amd64/Makefile b/usr/src/lib/libsasl/spec/amd64/Makefile
deleted file mode 100644
index 46271f9ef2..0000000000
--- a/usr/src/lib/libsasl/spec/amd64/Makefile
+++ /dev/null
@@ -1,15 +0,0 @@
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libsasl/spec/i386/Makefile b/usr/src/lib/libsasl/spec/i386/Makefile
deleted file mode 100644
index 11c6f965a0..0000000000
--- a/usr/src/lib/libsasl/spec/i386/Makefile
+++ /dev/null
@@ -1,16 +0,0 @@
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libsasl/spec/i386/Makefile
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libsasl/spec/sasl.spec b/usr/src/lib/libsasl/spec/sasl.spec
deleted file mode 100644
index 93550b89e1..0000000000
--- a/usr/src/lib/libsasl/spec/sasl.spec
+++ /dev/null
@@ -1,478 +0,0 @@
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libsasl/spec/sasl.spec
-#
-
-function sasl_set_alloc
-include <sasl/sasl.h>
-declaration void sasl_set_alloc(sasl_malloc_t *malloc, \
- sasl_calloc_t *calloc, sasl_realloc_t *realloc, \
- sasl_free_t *free)
-version SUNW_1.1
-end
-
-function sasl_set_mutex
-include <sasl/sasl.h>
-declaration void sasl_set_mutex(sasl_mutex_alloc_t *alloc, \
- sasl_mutex_lock_t *lock, sasl_mutex_unlock_t *unlock, \
- sasl_mutex_free_t *free)
-version SUNW_1.1
-end
-
-function sasl_version
-include <sasl/sasl.h>
-declaration void sasl_version(const char **implementation, int *version)
-version SUNW_1.1
-end
-
-function sasl_done
-include <sasl/sasl.h>
-declaration void sasl_done(void)
-version SUNW_1.1
-end
-
-function sasl_dispose
-include <sasl/sasl.h>
-declaration void sasl_dispose(sasl_conn_t **pconn)
-version SUNW_1.1
-end
-
-function sasl_errstring
-include <sasl/sasl.h>
-declaration const char *sasl_errstring(int saslerr, const char *langlist, \
- const char **outlang)
-version SUNW_1.1
-exception $return == NULL
-end
-
-function sasl_errdetail
-include <sasl/sasl.h>
-declaration const char *sasl_errdetail(sasl_conn_t *conn)
-version SUNW_1.1
-exception $return == NULL
-end
-
-function sasl_seterror
-include <sasl/sasl.h>
-declaration void sasl_seterror(sasl_conn_t *conn, unsigned flags, \
- const char *fmt, ...)
-version SUNW_1.1
-end
-
-function sasl_getprop
-include <sasl/sasl.h>
-declaration int sasl_getprop(sasl_conn_t *conn, int propnum, \
- const void **pvalue)
-version SUNW_1.1
-exception $return == SASL_FAIL
-end
-
-function sasl_setprop
-include <sasl/sasl.h>
-declaration int sasl_setprop(sasl_conn_t *conn, int propnum, \
- const void *value)
-version SUNW_1.1
-exception $return == SASL_FAIL
-end
-
-function sasl_idle
-include <sasl/sasl.h>
-declaration int sasl_idle(sasl_conn_t *conn)
-version SUNW_1.1
-exception $return == SASL_FAIL
-end
-
-function sasl_client_init
-include <sasl/sasl.h>
-declaration int sasl_client_init(const sasl_callback_t *callbacks)
-version SUNW_1.1
-exception $return == SASL_FAIL
-end
-
-function sasl_client_new
-include <sasl/sasl.h>
-declaration int sasl_client_new(const char *service, \
- const char *serverFQDN, const char *iplocalport, \
- const char *ipremoteport, \
- const sasl_callback_t *prompt_supp, \
- unsigned flags, sasl_conn_t **pconn)
-version SUNW_1.1
-exception $return == SASL_FAIL
-end
-
-function sasl_client_start
-include <sasl/sasl.h>
-declaration int sasl_client_start(sasl_conn_t *conn, const char *mechlist, \
- sasl_interact_t **prompt_need, const char **clientout, \
- unsigned *clientoutlen, const char **mech)
-version SUNW_1.1
-exception $return == SASL_FAIL
-end
-
-function sasl_client_step
-include <sasl/sasl.h>
-declaration int sasl_client_step(sasl_conn_t *conn, const char *serverin, \
- unsigned serverinlen, sasl_interact_t **prompt_need, \
- const char **clientout, unsigned *clientoutlen)
-version SUNW_1.1
-exception $return == SASL_FAIL
-end
-
-function sasl_server_init
-include <sasl/sasl.h>
-declaration int sasl_server_init(const sasl_callback_t *callbacks, \
- const char *appname)
-version SUNW_1.1
-exception $return == SASL_FAIL
-end
-
-function sasl_server_new
-include <sasl/sasl.h>
-declaration int sasl_server_new(const char *service, \
- const char *serverFQDN, const char *user_realm, \
- const char *iplocalport, const char *ipremoteport, \
- const sasl_callback_t *callbacks, \
- unsigned flags, sasl_conn_t **pconn)
-version SUNW_1.1
-exception $return == SASL_FAIL
-end
-
-function sasl_listmech
-include <sasl/sasl.h>
-declaration int sasl_listmech(sasl_conn_t *conn, const char *user, \
- const char *prefix, const char *sep, \
- const char *suffix, const char **result, \
- unsigned *plen, int *pcount)
-version SUNW_1.1
-exception $return == SASL_FAIL
-end
-
-function sasl_server_start
-include <sasl/sasl.h>
-declaration int sasl_server_start(sasl_conn_t *conn, const char *mech, \
- const char *clientin, unsigned clientinlen, \
- const char **serverout, unsigned *serveroutlen)
-version SUNW_1.1
-exception $return == SASL_FAIL
-end
-
-function sasl_server_step
-include <sasl/sasl.h>
-declaration int sasl_server_step(sasl_conn_t *conn, const char *clientin, \
- unsigned clientinlen, const char **serverout, \
- unsigned *serveroutlen)
-version SUNW_1.1
-exception $return == SASL_FAIL
-end
-
-function sasl_checkpass
-include <sasl/sasl.h>
-declaration int sasl_checkpass(sasl_conn_t *conn, \
- const char *user, unsigned userlen, \
- const char *pass, unsigned passlen)
-version SUNW_1.1
-exception $return == SASL_FAIL
-end
-
-function sasl_user_exists
-include <sasl/sasl.h>
-declaration int sasl_user_exists(sasl_conn_t *conn, const char *service, \
- const char *user_realm, const char *user)
-version SUNW_1.1
-exception $return == SASL_FAIL
-end
-
-function sasl_setpass
-include <sasl/sasl.h>
-declaration int sasl_setpass(sasl_conn_t *conn, const char *user, \
- const char *pass, unsigned passlen, \
- const char *oldpass, unsigned oldpasslen, \
- unsigned flags)
-version SUNW_1.1
-exception $return == SASL_FAIL
-end
-
-function sasl_auxprop_request
-include <sasl/sasl.h>
-declaration int sasl_auxprop_request(sasl_conn_t *conn, \
- const char **propnames)
-version SUNW_1.1
-exception $return == SASL_FAIL
-end
-
-function sasl_auxprop_getctx
-include <sasl/sasl.h>
-declaration struct propctx *sasl_auxprop_getctx(sasl_conn_t *conn)
-version SUNW_1.1
-exception $return == NULL
-end
-
-function sasl_encode
-include <sasl/sasl.h>
-declaration int sasl_encode(sasl_conn_t *conn, \
- const char *input, unsigned inputlen, \
- const char **output, unsigned *outputlen)
-version SUNW_1.1
-exception $return == SASL_FAIL
-end
-
-function sasl_encodev
-include <sasl/sasl.h>
-declaration int sasl_encodev(sasl_conn_t *conn, \
- const struct iovec *invec, unsigned numiov, \
- const char **output, unsigned *outputlen)
-version SUNW_1.1
-exception $return == SASL_FAIL
-end
-
-function sasl_decode
-include <sasl/sasl.h>
-declaration int sasl_decode(sasl_conn_t *conn, \
- const char *input, unsigned inputlen, \
- const char **output, unsigned *outputlen)
-version SUNW_1.1
-exception $return == SASL_FAIL
-end
-
-function sasl_global_listmech
-include <sasl/sasl.h>
-declaration const char ** sasl_global_listmech(void)
-version SUNW_1.1
-exception $return == NULL
-end
-
-function sasl_checkapop
-include <sasl/sasl.h>
-declaration int sasl_checkapop(sasl_conn_t *conn, \
- const char *challenge, unsigned challen, \
- const char *response, unsigned resplen)
-version SUNW_1.1
-exception $return == SASL_FAIL
-end
-
-function sasl_client_add_plugin
-include <sasl/saslplug.h>
-declaration int sasl_client_add_plugin(const char *plugname, \
- sasl_client_plug_init_t *cplugfunc)
-version SUNW_1.1
-exception $return == SASL_FAIL
-end
-
-function sasl_server_add_plugin
-include <sasl/saslplug.h>
-declaration int sasl_server_add_plugin(const char *plugname, \
- sasl_server_plug_init_t *splugfunc)
-version SUNW_1.1
-exception $return == SASL_FAIL
-end
-
-function sasl_canonuser_add_plugin
-include <sasl/saslplug.h>
-declaration int sasl_canonuser_add_plugin(const char *plugname, \
- sasl_canonuser_init_t *canonuserfunc)
-version SUNW_1.1
-exception $return == SASL_FAIL
-end
-
-function sasl_auxprop_add_plugin
-include <sasl/saslplug.h>
-declaration int sasl_auxprop_add_plugin(const char *plugname, \
- sasl_auxprop_init_t *auxpropfunc)
-version SUNW_1.1
-exception $return == SASL_FAIL
-end
-
-function sasl_decode64
-include <sasl/saslutil.h>
-declaration int sasl_decode64(const char *in, unsigned inlen, \
- char *out, unsigned outmax, unsigned *outlen)
-version SUNW_1.1
-exception $return == SASL_FAIL
-end
-
-function sasl_encode64
-include <sasl/saslutil.h>
-declaration int sasl_encode64(const char *in, unsigned inlen, \
- char *out, unsigned outmax, unsigned *outlen)
-version SUNW_1.1
-exception $return == SASL_FAIL
-end
-
-function sasl_utf8verify
-include <sasl/saslutil.h>
-declaration int sasl_utf8verify(const char *str, unsigned len)
-version SUNW_1.1
-exception $return == SASL_FAIL
-end
-
-function sasl_erasebuffer
-include <sasl/saslutil.h>
-declaration void sasl_erasebuffer(char *pass, unsigned len)
-version SUNW_1.1
-end
-
-function prop_new
-include <sasl/prop.h>
-declaration struct propctx *prop_new(unsigned estimate)
-version SUNW_1.1
-exception $return == NULL
-end
-
-function prop_dup
-include <sasl/prop.h>
-declaration int prop_dup(struct propctx *src_ctx, \
- struct propctx **dst_ctx)
-version SUNW_1.1
-exception $return == SASL_FAIL
-end
-
-function prop_request
-include <sasl/prop.h>
-declaration int prop_request(struct propctx *ctx, const char **names)
-version SUNW_1.1
-exception $return == SASL_FAIL
-end
-
-function prop_get
-include <sasl/prop.h>
-declaration const struct propval *prop_get(struct propctx *ctx)
-version SUNW_1.1
-exception $return == NULL
-end
-
-function prop_getnames
-include <sasl/prop.h>
-declaration int prop_getnames(struct propctx *ctx, const char **names, \
- struct propval *vals)
-version SUNW_1.1
-exception $return == SASL_FAIL
-end
-
-function prop_clear
-include <sasl/prop.h>
-declaration void prop_clear(struct propctx *ctx, int requests)
-version SUNW_1.1
-end
-
-function prop_erase
-include <sasl/prop.h>
-declaration void prop_erase(struct propctx *ctx, const char *name)
-version SUNW_1.1
-end
-
-function prop_dispose
-include <sasl/prop.h>
-declaration void prop_dispose(struct propctx **ctx)
-version SUNW_1.1
-end
-
-function prop_format
-include <sasl/prop.h>
-declaration int prop_format(struct propctx *ctx, const char *sep, \
- int seplen, char *outbuf, unsigned outmax, \
- unsigned *outlen)
-version SUNW_1.1
-exception $return == SASL_FAIL
-end
-
-function prop_set
-include <sasl/prop.h>
-declaration int prop_set(struct propctx *ctx, const char *name, \
- const char *value, int vallen)
-version SUNW_1.1
-exception $return == NULL
-end
-
-function prop_setvals
-include <sasl/prop.h>
-declaration int prop_setvals(struct propctx *ctx, const char *name, \
- const char **values)
-version SUNW_1.1
-exception $return == NULL
-end
-
-function sasl_create_context
-declaration void *sasl_create_context(void)
-version SUNWprivate_1.1
-exception $return == NULL
-end
-
-function sasl_free_context
-declaration void sasl_free_context(void *ctx)
-version SUNWprivate_1.1
-end
-
-function _sasl_client_init
-include <sasl/sasl.h>
-declaration int _sasl_client_init(void *ctx, \
- const sasl_callback_t *callbacks)
-version SUNWprivate_1.1
-exception $return == SASL_FAIL
-end
-
-function _sasl_client_new
-include <sasl/sasl.h>
-declaration int _sasl_client_new(void *ctx, const char *service, \
- const char *serverFQDN, const char *iplocalport, \
- const char *ipremoteport, \
- const sasl_callback_t *prompt_supp, \
- unsigned flags, sasl_conn_t **pconn)
-version SUNWprivate_1.1
-exception $return == SASL_FAIL
-end
-
-function _sasl_server_init
-include <sasl/sasl.h>
-declaration int _sasl_server_init(void *ctx, \
- const sasl_callback_t *callbacks, const char *appname)
-version SUNWprivate_1.1
-exception $return == SASL_FAIL
-end
-
-function _sasl_server_new
-include <sasl/sasl.h>
-declaration int _sasl_server_new(void *ctx, const char *service, \
- const char *serverFQDN, const char *user_realm, \
- const char *iplocalport, const char *ipremoteport, \
- const sasl_callback_t *callbacks, \
- unsigned flags, sasl_conn_t **pconn)
-version SUNWprivate_1.1
-exception $return == SASL_FAIL
-end
-
-function _sasl_client_add_plugin
-include <sasl/saslplug.h>
-declaration int _sasl_client_add_plugin(void *ctx, const char *plugname, \
- sasl_client_plug_init_t *cplugfunc)
-version SUNWprivate_1.1
-exception $return == SASL_FAIL
-end
-
-function _sasl_server_add_plugin
-include <sasl/saslplug.h>
-declaration int _sasl_server_add_plugin(void *ctx, const char *plugname, \
- sasl_server_plug_init_t *splugfunc)
-version SUNWprivate_1.1
-exception $return == SASL_FAIL
-end
-
-function _sasl_canonuser_add_plugin
-include <sasl/saslplug.h>
-declaration int _sasl_canonuser_add_plugin(void *ctx, \
- const char *plugname, \
- sasl_canonuser_init_t *canonuserfunc)
-version SUNWprivate_1.1
-exception $return == SASL_FAIL
-end
-
-function _sasl_auxprop_add_plugin
-include <sasl/saslplug.h>
-declaration int _sasl_auxprop_add_plugin(void *ctx, const char *plugname, \
- sasl_auxprop_init_t *auxpropfunc)
-version SUNWprivate_1.1
-exception $return == SASL_FAIL
-end
diff --git a/usr/src/lib/libsasl/spec/sparc/Makefile b/usr/src/lib/libsasl/spec/sparc/Makefile
deleted file mode 100644
index 9bf2a2c21f..0000000000
--- a/usr/src/lib/libsasl/spec/sparc/Makefile
+++ /dev/null
@@ -1,16 +0,0 @@
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libsasl/spec/sparc/Makefile
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libsasl/spec/sparcv9/Makefile b/usr/src/lib/libsasl/spec/sparcv9/Makefile
deleted file mode 100644
index 69f239f28a..0000000000
--- a/usr/src/lib/libsasl/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,17 +0,0 @@
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libsasl/spec/sparcv9/Makefile
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libsasl/spec/versions b/usr/src/lib/libsasl/spec/versions
deleted file mode 100644
index 7690404cd5..0000000000
--- a/usr/src/lib/libsasl/spec/versions
+++ /dev/null
@@ -1,23 +0,0 @@
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-sparc {
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-sparcv9 {
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-i386 {
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-amd64 {
- SUNW_1.1;
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/libscf/Makefile b/usr/src/lib/libscf/Makefile
index e1b724a1b1..9925a9ed2e 100644
--- a/usr/src/lib/libscf/Makefile
+++ b/usr/src/lib/libscf/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,10 +19,10 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
#
@@ -55,7 +54,9 @@ XGETFLAGS += -a
.KEEP_STATE:
-all clean clobber install: spec .WAIT native $(SUBDIRS)
+all clean clobber install: native $(SUBDIRS)
+
+lint: $(SUBDIRS)
$(POFILE): pofile_MSGFILES
@@ -63,11 +64,9 @@ install_h: $(ROOTHDRS)
check: $(CHECKHDRS)
-lint: $(SUBDIRS)
-
_msg: $(MSGDOMAINPOFILE)
-$(SUBDIRS) native spec: FRC
+$(SUBDIRS) native: FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
diff --git a/usr/src/lib/libscf/Makefile.com b/usr/src/lib/libscf/Makefile.com
index f3822557c7..4bfbd1a811 100644
--- a/usr/src/lib/libscf/Makefile.com
+++ b/usr/src/lib/libscf/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,7 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
@@ -44,16 +43,14 @@ $(NOT_NATIVE)NATIVE_BUILD = $(POUND_SIGN)
$(NATIVE_BUILD)VERS =
$(NATIVE_BUILD)LIBS = $(DYNLIB)
-$(LINTLIB) := SRCS = $(SRCDIR)/$(LINTSRC)
LDLIBS += -luutil -lc
SRCDIR = ../common
-MAPDIR = ../spec/$(TRANSMACH)
-SPECMAPFILE = $(MAPDIR)/mapfile
+$(LINTLIB) := SRCS = $(SRCDIR)/$(LINTSRC)
COMDIR = ../../../common/svc
-CFLAGS += -v -Wp,-xc99=%all
+CFLAGS += $(CCVERBOSE) -Wp,-xc99=%all
CPPFLAGS += -I../inc -I../../common/inc -I$(COMDIR)
#
diff --git a/usr/src/lib/libscf/common/mapfile-vers b/usr/src/lib/libscf/common/mapfile-vers
new file mode 100644
index 0000000000..9efd0293b7
--- /dev/null
+++ b/usr/src/lib/libscf/common/mapfile-vers
@@ -0,0 +1,230 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNW_1.1 {
+ global:
+ scf_entry_add_value;
+ scf_entry_create;
+ scf_entry_destroy;
+ scf_entry_destroy_children;
+ scf_entry_handle;
+ scf_entry_reset;
+ scf_error;
+ scf_handle_bind;
+ scf_handle_create;
+ scf_handle_decode_fmri;
+ scf_handle_decorate;
+ scf_handle_destroy;
+ scf_handle_get_scope;
+ scf_handle_unbind;
+ scf_instance_add_pg;
+ scf_instance_create;
+ scf_instance_delete;
+ scf_instance_destroy;
+ scf_instance_get_name;
+ scf_instance_get_parent;
+ scf_instance_get_pg;
+ scf_instance_get_pg_composed;
+ scf_instance_get_snapshot;
+ scf_instance_handle;
+ scf_instance_to_fmri;
+ scf_iter_create;
+ scf_iter_destroy;
+ scf_iter_handle;
+ scf_iter_handle_scopes;
+ scf_iter_instance_pgs;
+ scf_iter_instance_pgs_composed;
+ scf_iter_instance_pgs_typed;
+ scf_iter_instance_pgs_typed_composed;
+ scf_iter_instance_snapshots;
+ scf_iter_next_instance;
+ scf_iter_next_pg;
+ scf_iter_next_property;
+ scf_iter_next_scope;
+ scf_iter_next_service;
+ scf_iter_next_snapshot;
+ scf_iter_next_value;
+ scf_iter_pg_properties;
+ scf_iter_property_values;
+ scf_iter_reset;
+ scf_iter_scope_services;
+ scf_iter_service_instances;
+ scf_iter_service_pgs;
+ scf_iter_service_pgs_typed;
+ scf_iter_snaplevel_pgs;
+ scf_iter_snaplevel_pgs_typed;
+ scf_limit;
+ scf_myname;
+ scf_pg_create;
+ scf_pg_delete;
+ scf_pg_destroy;
+ scf_pg_get_flags;
+ scf_pg_get_name;
+ scf_pg_get_parent_instance;
+ scf_pg_get_parent_service;
+ scf_pg_get_parent_snaplevel;
+ scf_pg_get_property;
+ scf_pg_get_type;
+ scf_pg_get_underlying_pg;
+ scf_pg_handle;
+ scf_pg_to_fmri;
+ scf_pg_update;
+ scf_property_create;
+ scf_property_destroy;
+ scf_property_get_name;
+ scf_property_get_value;
+ scf_property_handle;
+ scf_property_is_type;
+ scf_property_to_fmri;
+ scf_property_type;
+ scf_scope_add_service;
+ scf_scope_create;
+ scf_scope_destroy;
+ scf_scope_get_name;
+ scf_scope_get_parent;
+ scf_scope_get_service;
+ scf_scope_handle;
+ scf_scope_to_fmri;
+ scf_service_add_instance;
+ scf_service_add_pg;
+ scf_service_create;
+ scf_service_delete;
+ scf_service_destroy;
+ scf_service_get_instance;
+ scf_service_get_name;
+ scf_service_get_parent;
+ scf_service_get_pg;
+ scf_service_handle;
+ scf_service_to_fmri;
+ scf_simple_app_props_free;
+ scf_simple_app_props_get;
+ scf_simple_app_props_next;
+ scf_simple_app_props_search;
+ scf_simple_prop_free;
+ scf_simple_prop_get;
+ scf_simple_prop_name;
+ scf_simple_prop_next_astring;
+ scf_simple_prop_next_boolean;
+ scf_simple_prop_next_count;
+ scf_simple_prop_next_integer;
+ scf_simple_prop_next_opaque;
+ scf_simple_prop_next_reset;
+ scf_simple_prop_next_time;
+ scf_simple_prop_next_ustring;
+ scf_simple_prop_numvalues;
+ scf_simple_prop_pgname;
+ scf_simple_prop_type;
+ scf_simple_walk_instances;
+ scf_snaplevel_create;
+ scf_snaplevel_destroy;
+ scf_snaplevel_get_instance_name;
+ scf_snaplevel_get_next_snaplevel;
+ scf_snaplevel_get_parent;
+ scf_snaplevel_get_pg;
+ scf_snaplevel_get_scope_name;
+ scf_snaplevel_get_service_name;
+ scf_snaplevel_handle;
+ scf_snapshot_create;
+ scf_snapshot_destroy;
+ scf_snapshot_get_base_snaplevel;
+ scf_snapshot_get_name;
+ scf_snapshot_get_parent;
+ scf_snapshot_handle;
+ scf_snapshot_update;
+ scf_strerror;
+ scf_transaction_commit;
+ scf_transaction_create;
+ scf_transaction_destroy;
+ scf_transaction_destroy_children;
+ scf_transaction_handle;
+ scf_transaction_property_change;
+ scf_transaction_property_change_type;
+ scf_transaction_property_delete;
+ scf_transaction_property_new;
+ scf_transaction_reset;
+ scf_transaction_reset_all;
+ scf_transaction_start;
+ scf_type_base_type;
+ scf_value_base_type;
+ scf_value_create;
+ scf_value_destroy;
+ scf_value_get_as_string;
+ scf_value_get_as_string_typed;
+ scf_value_get_astring;
+ scf_value_get_boolean;
+ scf_value_get_count;
+ scf_value_get_integer;
+ scf_value_get_opaque;
+ scf_value_get_time;
+ scf_value_get_ustring;
+ scf_value_handle;
+ scf_value_is_type;
+ scf_value_reset;
+ scf_value_set_astring;
+ scf_value_set_boolean;
+ scf_value_set_count;
+ scf_value_set_from_string;
+ scf_value_set_integer;
+ scf_value_set_opaque;
+ scf_value_set_time;
+ scf_value_set_ustring;
+ scf_value_type;
+ smf_degrade_instance;
+ smf_disable_instance;
+ smf_enable_instance;
+ smf_get_state;
+ smf_maintain_instance;
+ smf_refresh_instance;
+ smf_restart_instance;
+ smf_restore_instance;
+};
+
+SUNWprivate_1.1 {
+ global:
+ scf_canonify_fmri;
+ scf_cmp_pattern;
+ _scf_handle_decorations;
+ _scf_notify_add_pgname;
+ _scf_notify_add_pgtype;
+ _scf_notify_wait;
+ scf_parse_file_fmri;
+ scf_parse_fmri;
+ scf_parse_svc_fmri;
+ _scf_pg_wait;
+ _scf_request_backup;
+ _scf_snapshot_attach;
+ _scf_snapshot_delete;
+ _scf_snapshot_take_attach;
+ _scf_snapshot_take_new;
+ _scf_snapshot_take_new_named;
+ scf_string_to_type;
+ scf_type_to_string;
+ scf_walk_fmri;
+ _smf_refresh_instance_i;
+ local:
+ *;
+};
diff --git a/usr/src/lib/libscf/spec/Makefile b/usr/src/lib/libscf/spec/Makefile
deleted file mode 100644
index a72bbb53f5..0000000000
--- a/usr/src/lib/libscf/spec/Makefile
+++ /dev/null
@@ -1,28 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/libscf/spec/Makefile.targ b/usr/src/lib/libscf/spec/Makefile.targ
deleted file mode 100644
index 1619a3d9d1..0000000000
--- a/usr/src/lib/libscf/spec/Makefile.targ
+++ /dev/null
@@ -1,35 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-
-LIBRARY = libscf.a
-VERS = .1
-
-OBJECTS = lowlevel.o \
- midlevel.o
-
-SPECCPP =
diff --git a/usr/src/lib/libscf/spec/amd64/Makefile b/usr/src/lib/libscf/spec/amd64/Makefile
deleted file mode 100644
index 08a55cd49b..0000000000
--- a/usr/src/lib/libscf/spec/amd64/Makefile
+++ /dev/null
@@ -1,41 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libscf/spec/i386/Makefile b/usr/src/lib/libscf/spec/i386/Makefile
deleted file mode 100644
index 1fa4955779..0000000000
--- a/usr/src/lib/libscf/spec/i386/Makefile
+++ /dev/null
@@ -1,43 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#i386_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libscf/spec/lowlevel.spec b/usr/src/lib/libscf/spec/lowlevel.spec
deleted file mode 100644
index c45db23bbb..0000000000
--- a/usr/src/lib/libscf/spec/lowlevel.spec
+++ /dev/null
@@ -1,1023 +0,0 @@
-#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# The low-level repository interfaces
-#
-
-function _scf_handle_decorations
-header <libscf_priv.h>
-declaration int _scf_handle_decorations(scf_handle_t *, scf_decoration_func *, scf_value_t *, void *)
-version SUNWprivate_1.1
-end
-
-function _scf_pg_wait
-include <libscf.h>
-declaration int _scf_pg_wait(scf_propertygroup_t *, int)
-version SUNWprivate_1.1
-end
-
-function _scf_notify_add_pgname
-include <libscf.h>
-declaration int _scf_notify_add_pgname(scf_handle_t *, const char *)
-version SUNWprivate_1.1
-end
-
-function _scf_notify_add_pgtype
-include <libscf.h>
-declaration int _scf_notify_add_pgtype(scf_handle_t *, const char *)
-version SUNWprivate_1.1
-end
-
-function _scf_notify_wait
-include <libscf.h>
-declaration int _scf_notify_wait(scf_propertygroup_t *, char *, size_t)
-version SUNWprivate_1.1
-end
-
-function _scf_request_backup
-include <libscf.h>
-declaration int _scf_request_backup(scf_handle_t *, const char *)
-version SUNWprivate_1.1
-end
-
-function _scf_snapshot_take_new
-include <libscf.h>
-declaration int _scf_snapshot_take_new(scf_instance_t *, const char *, scf_snapshot_t *)
-version SUNWprivate_1.1
-end
-
-function _scf_snapshot_take_new_named
-include <libscf.h>
-declaration int _scf_snapshot_take_new(scf_instance_t *, const char *, const char *, const char *, scf_snapshot_t *)
-version SUNWprivate_1.1
-end
-
-function _scf_snapshot_take_attach
-include <libscf.h>
-declaration int _scf_snapshot_take_attach(scf_instance_t *, scf_snapshot_t *)
-version SUNWprivate_1.1
-end
-
-function _scf_snapshot_attach
-include <libscf.h>
-declaration int _scf_snapshot_attach(scf_snapshot_t *, scf_snapshot_t *)
-version SUNWprivate_1.1
-end
-
-function _scf_snapshot_delete
-include <libscf.h>
-declaration int _scf_snapshot_delete(scf_snapshot_t *)
-version SUNWprivate_1.1
-end
-
-function scf_cmp_pattern
-include <libscf.h>
-declaration int scf_cmp_pattern(char *, scf_pattern_t *)
-version SUNWprivate_1.1
-end
-
-function scf_parse_fmri
-include <libscf.h>
-declaration int scf_parse_fmri(char *, int *, const char **, const char **, const char **, const char **, const char **)
-version SUNWprivate_1.1
-end
-
-function scf_parse_svc_fmri
-include <libscf.h>
-declaration int scf_parse_svc_fmri(char *, const char **, const char **, const char **, const char **, const char **)
-version SUNWprivate_1.1
-end
-
-function scf_parse_file_fmri
-include <libscf.h>
-declaration int scf_parse_file_fmri(char *, const char **, const char **);
-version SUNWprivate_1.1
-end
-
-function scf_walk_fmri
-include <libscf.h>
-declaration int scf_walk_fmri(scf_handle_t *, int, const char **, scf_walk_callback, void *, int *, void (*)(const char *, ...));
-version SUNWprivate_1.1
-end
-
-function scf_canonify_fmri
-include <libscf.h>
-declaration ssize_t scf_canonify_fmri(const char *, char *, size_t)
-version SUNWprivate_1.1
-end
-
-function scf_type_to_string
-include <libscf.h>
-declaration const char *scf_type_to_string(scf_type_t)
-version SUNWprivate_1.1
-end
-
-function scf_string_to_type
-include <libscf.h>
-declaration scf_type_t scf_string_to_type(const char *)
-version SUNWprivate_1.1
-end
-
-function scf_entry_add_value
-include <libscf.h>
-declaration int scf_entry_add_value(scf_transaction_entry_t *, scf_value_t *)
-version SUNW_1.1
-end
-
-function scf_entry_create
-include <libscf.h>
-declaration scf_transaction_entry_t *scf_entry_create(scf_handle_t *)
-version SUNW_1.1
-end
-
-function scf_entry_destroy
-include <libscf.h>
-declaration void scf_entry_destroy(scf_transaction_entry_t *)
-version SUNW_1.1
-end
-
-function scf_entry_destroy_children
-include <libscf.h>
-declaration void scf_entry_destroy_children(scf_transaction_entry_t *)
-version SUNW_1.1
-end
-
-function scf_entry_handle
-include <libscf.h>
-declaration scf_handle_t *scf_entry_handle(const scf_transaction_entry_t *)
-version SUNW_1.1
-end
-
-function scf_entry_reset
-include <libscf.h>
-declaration void scf_entry_reset(scf_transaction_entry_t *)
-version SUNW_1.1
-end
-
-function scf_error
-include <libscf.h>
-declaration scf_error_t scf_error(void)
-version SUNW_1.1
-end
-
-function scf_handle_bind
-include <libscf.h>
-declaration int scf_handle_bind(scf_handle_t *)
-version SUNW_1.1
-end
-
-function scf_handle_create
-include <libscf.h>
-declaration scf_handle_t *scf_handle_create(scf_version_t)
-version SUNW_1.1
-end
-
-function scf_handle_decode_fmri
-include <libscf.h>
-declaration int scf_handle_decode_fmri(scf_handle_t *, const char *, scf_scope_t *, scf_service_t *, scf_instance_t *, scf_propertygroup_t *, scf_property_t *, int)
-version SUNW_1.1
-end
-
-function scf_handle_decorate
-include <libscf.h>
-declaration int scf_handle_decorate(scf_handle_t *, const char *, scf_value_t *)
-version SUNW_1.1
-end
-
-function scf_handle_destroy
-include <libscf.h>
-declaration void scf_handle_destroy(scf_handle_t *)
-version SUNW_1.1
-end
-
-function scf_handle_get_scope
-include <libscf.h>
-declaration int scf_handle_get_scope(scf_handle_t *, const char *, scf_scope_t *)
-version SUNW_1.1
-end
-
-function scf_handle_unbind
-include <libscf.h>
-declaration int scf_handle_unbind(scf_handle_t *)
-version SUNW_1.1
-end
-
-function scf_instance_add_pg
-include <libscf.h>
-declaration int scf_instance_add_pg(const scf_instance_t *, const char *, const char *, uint32_t, scf_propertygroup_t *)
-version SUNW_1.1
-end
-
-function scf_instance_create
-include <libscf.h>
-declaration scf_instance_t *scf_instance_create(scf_handle_t *)
-version SUNW_1.1
-end
-
-function scf_instance_delete
-include <libscf.h>
-declaration int scf_instance_delete(scf_instance_t *)
-version SUNW_1.1
-end
-
-function scf_instance_destroy
-include <libscf.h>
-declaration void scf_instance_destroy(scf_instance_t *)
-version SUNW_1.1
-end
-
-function scf_instance_get_name
-include <libscf.h>
-declaration ssize_t scf_instance_get_name(const scf_instance_t *, char *, size_t)
-version SUNW_1.1
-end
-
-function scf_instance_get_parent
-include <libscf.h>
-declaration int scf_instance_get_parent(const scf_instance_t *, scf_service_t *)
-version SUNW_1.1
-end
-
-function scf_instance_get_pg
-include <libscf.h>
-declaration int scf_instance_get_pg(const scf_instance_t *, const char *, scf_propertygroup_t *)
-version SUNW_1.1
-end
-
-function scf_instance_get_pg_composed
-include <libscf.h>
-declaration int scf_instance_get_pg_composed(const scf_instance_t *, const scf_snapshot_t *, const char *, scf_propertygroup_t *)
-version SUNW_1.1
-end
-
-function scf_instance_get_snapshot
-include <libscf.h>
-declaration int scf_instance_get_snapshot(const scf_instance_t *, const char *, scf_snapshot_t *)
-version SUNW_1.1
-end
-
-function scf_instance_handle
-include <libscf.h>
-declaration scf_handle_t *scf_instance_handle(const scf_instance_t *)
-version SUNW_1.1
-end
-
-function scf_instance_to_fmri
-include <libscf.h>
-declaration ssize_t scf_instance_to_fmri(const scf_instance_t *, char *, size_t)
-version SUNW_1.1
-end
-
-function scf_iter_create
-include <libscf.h>
-declaration scf_iter_t *scf_iter_create(scf_handle_t *)
-version SUNW_1.1
-end
-
-function scf_iter_destroy
-include <libscf.h>
-declaration void scf_iter_destroy(scf_iter_t *)
-version SUNW_1.1
-end
-
-function scf_iter_handle
-include <libscf.h>
-declaration scf_handle_t *scf_iter_handle(const scf_iter_t *)
-version SUNW_1.1
-end
-
-function scf_iter_handle_scopes
-include <libscf.h>
-declaration int scf_iter_handle_scopes(scf_iter_t *, const scf_handle_t *)
-version SUNW_1.1
-end
-
-function scf_iter_instance_pgs
-include <libscf.h>
-declaration int scf_iter_instance_pgs(scf_iter_t *, const scf_instance_t *)
-version SUNW_1.1
-end
-
-function scf_iter_instance_pgs_composed
-include <libscf.h>
-declaration int scf_iter_instance_pgs_composed(scf_iter_t *, const scf_instance_t *, const scf_snapshot_t *)
-version SUNW_1.1
-end
-
-function scf_iter_instance_pgs_typed
-include <libscf.h>
-declaration int scf_iter_instance_pgs_typed(scf_iter_t *, const scf_instance_t *, const char *)
-version SUNW_1.1
-end
-
-function scf_iter_instance_pgs_typed_composed
-include <libscf.h>
-declaration int scf_iter_instance_pgs_typed_composed(scf_iter_t *, const scf_instance_t *, const scf_snapshot_t *, const char *)
-version SUNW_1.1
-end
-
-function scf_iter_instance_snapshots
-include <libscf.h>
-declaration int scf_iter_instance_snapshots(scf_iter_t *, const scf_instance_t *)
-version SUNW_1.1
-end
-
-function scf_iter_next_instance
-include <libscf.h>
-declaration int scf_iter_next_instance(scf_iter_t *, scf_instance_t *)
-version SUNW_1.1
-end
-
-function scf_iter_next_pg
-include <libscf.h>
-declaration int scf_iter_next_pg(scf_iter_t *, scf_propertygroup_t *)
-version SUNW_1.1
-end
-
-function scf_iter_next_property
-include <libscf.h>
-declaration int scf_iter_next_property(scf_iter_t *, scf_property_t *)
-version SUNW_1.1
-end
-
-function scf_iter_next_scope
-include <libscf.h>
-declaration int scf_iter_next_scope(scf_iter_t *, scf_scope_t *)
-version SUNW_1.1
-end
-
-function scf_iter_next_service
-include <libscf.h>
-declaration int scf_iter_next_service(scf_iter_t *, scf_service_t *)
-version SUNW_1.1
-end
-
-function scf_iter_next_snapshot
-include <libscf.h>
-declaration int scf_iter_next_snapshot(scf_iter_t *, scf_snapshot_t *)
-version SUNW_1.1
-end
-
-function scf_iter_next_value
-include <libscf.h>
-declaration int scf_iter_next_value(scf_iter_t *, scf_value_t *)
-version SUNW_1.1
-end
-
-function scf_iter_pg_properties
-include <libscf.h>
-declaration int scf_iter_pg_properties(scf_iter_t *, const scf_propertygroup_t *)
-version SUNW_1.1
-end
-
-function scf_iter_property_values
-include <libscf.h>
-declaration int scf_iter_property_values(scf_iter_t *, const scf_property_t *)
-version SUNW_1.1
-end
-
-function scf_iter_reset
-include <libscf.h>
-declaration void scf_iter_reset(scf_iter_t *)
-version SUNW_1.1
-end
-
-function scf_iter_scope_services
-include <libscf.h>
-declaration int scf_iter_scope_services(scf_iter_t *, const scf_scope_t *)
-version SUNW_1.1
-end
-
-function scf_iter_service_instances
-include <libscf.h>
-declaration int scf_iter_service_instances(scf_iter_t *, const scf_service_t *)
-version SUNW_1.1
-end
-
-function scf_iter_service_pgs
-include <libscf.h>
-declaration int scf_iter_service_pgs(scf_iter_t *, const scf_service_t *)
-version SUNW_1.1
-end
-
-function scf_iter_service_pgs_typed
-include <libscf.h>
-declaration int scf_iter_service_pgs_typed(scf_iter_t *, const scf_service_t *, const char *)
-version SUNW_1.1
-end
-
-function scf_iter_snaplevel_pgs
-include <libscf.h>
-declaration int scf_iter_snaplevel_pgs(scf_iter_t *, const scf_snaplevel_t *)
-version SUNW_1.1
-end
-
-function scf_iter_snaplevel_pgs_typed
-include <libscf.h>
-declaration int scf_iter_snaplevel_pgs_typed(scf_iter_t *, const scf_snaplevel_t *, const char *)
-version SUNW_1.1
-end
-
-function scf_limit
-include <libscf.h>
-declaration ssize_t scf_limit(uint32_t code)
-version SUNW_1.1
-end
-
-function scf_myname
-include <libscf.h>
-declaration ssize_t scf_myname(scf_handle_t *, char *, size_t)
-version SUNW_1.1
-end
-
-function scf_pg_create
-include <libscf.h>
-declaration scf_propertygroup_t *scf_pg_create(scf_handle_t *)
-version SUNW_1.1
-end
-
-function scf_pg_delete
-include <libscf.h>
-declaration int scf_pg_delete(scf_propertygroup_t *)
-version SUNW_1.1
-end
-
-function scf_pg_destroy
-include <libscf.h>
-declaration void scf_pg_destroy(scf_propertygroup_t *)
-version SUNW_1.1
-end
-
-function scf_pg_get_flags
-include <libscf.h>
-declaration int scf_pg_get_flags(const scf_propertygroup_t *, uint32_t *)
-version SUNW_1.1
-end
-
-function scf_pg_get_name
-include <libscf.h>
-declaration ssize_t scf_pg_get_name(const scf_propertygroup_t *, char *, size_t)
-version SUNW_1.1
-end
-
-function scf_pg_get_parent_instance
-include <libscf.h>
-declaration int scf_pg_get_parent_instance(const scf_propertygroup_t *, scf_instance_t *)
-version SUNW_1.1
-end
-
-function scf_pg_get_parent_service
-include <libscf.h>
-declaration int scf_pg_get_parent_service(const scf_propertygroup_t *, scf_service_t *)
-version SUNW_1.1
-end
-
-function scf_pg_get_parent_snaplevel
-include <libscf.h>
-declaration int scf_pg_get_parent_snaplevel(const scf_propertygroup_t *, scf_snaplevel_t *)
-version SUNW_1.1
-end
-
-function scf_pg_get_property
-include <libscf.h>
-declaration int scf_pg_get_property(const scf_propertygroup_t *, const char *, scf_property_t *)
-version SUNW_1.1
-end
-
-function scf_pg_get_type
-include <libscf.h>
-declaration ssize_t scf_pg_get_type(const scf_propertygroup_t *, char *, size_t)
-version SUNW_1.1
-end
-
-function scf_pg_get_underlying_pg
-include <libscf.h>
-declaration int scf_pg_get_underlying_pg(const scf_propertygroup_t *, scf_propertygroup_t *)
-version SUNW_1.1
-end
-
-function scf_pg_handle
-include <libscf.h>
-declaration scf_handle_t *scf_pg_handle(const scf_propertygroup_t *)
-version SUNW_1.1
-end
-
-function scf_pg_to_fmri
-include <libscf.h>
-declaration ssize_t scf_pg_to_fmri(const scf_propertygroup_t *, char *, size_t)
-version SUNW_1.1
-end
-
-function scf_pg_update
-include <libscf.h>
-declaration int scf_pg_update(scf_propertygroup_t *)
-version SUNW_1.1
-end
-
-function scf_property_create
-include <libscf.h>
-declaration scf_property_t *scf_property_create(scf_handle_t *)
-version SUNW_1.1
-end
-
-function scf_property_destroy
-include <libscf.h>
-declaration void scf_property_destroy(scf_property_t *)
-version SUNW_1.1
-end
-
-function scf_property_get_name
-include <libscf.h>
-declaration ssize_t scf_property_get_name(const scf_property_t *, char *, size_t)
-version SUNW_1.1
-end
-
-function scf_property_get_value
-include <libscf.h>
-declaration int scf_property_get_value(const scf_property_t *, scf_value_t *)
-version SUNW_1.1
-end
-
-function scf_property_handle
-include <libscf.h>
-declaration scf_handle_t *scf_property_handle(const scf_property_t *)
-version SUNW_1.1
-end
-
-function scf_property_is_type
-include <libscf.h>
-declaration int scf_property_is_type(const scf_property_t *, scf_type_t)
-version SUNW_1.1
-end
-
-function scf_property_to_fmri
-include <libscf.h>
-declaration ssize_t scf_property_to_fmri(const scf_property_t *, char *, size_t)
-version SUNW_1.1
-end
-
-function scf_property_type
-include <libscf.h>
-declaration int scf_property_type(const scf_property_t *, scf_type_t *)
-version SUNW_1.1
-end
-
-function scf_scope_add_service
-include <libscf.h>
-declaration int scf_scope_add_service(const scf_scope_t *, const char *, scf_service_t *)
-version SUNW_1.1
-end
-
-function scf_scope_create
-include <libscf.h>
-declaration scf_scope_t *scf_scope_create(scf_handle_t *)
-version SUNW_1.1
-end
-
-function scf_scope_destroy
-include <libscf.h>
-declaration void scf_scope_destroy(scf_scope_t *)
-version SUNW_1.1
-end
-
-function scf_scope_get_name
-include <libscf.h>
-declaration ssize_t scf_scope_get_name(const scf_scope_t *, char *, size_t)
-version SUNW_1.1
-end
-
-function scf_scope_get_parent
-include <libscf.h>
-declaration int scf_scope_get_parent(const scf_scope_t *, scf_scope_t *)
-version SUNW_1.1
-end
-
-function scf_scope_get_service
-include <libscf.h>
-declaration int scf_scope_get_service(const scf_scope_t *, const char *, scf_service_t *)
-version SUNW_1.1
-end
-
-function scf_scope_handle
-include <libscf.h>
-declaration scf_handle_t *scf_scope_handle(const scf_scope_t *)
-version SUNW_1.1
-end
-
-function scf_scope_to_fmri
-include <libscf.h>
-declaration ssize_t scf_scope_to_fmri(const scf_scope_t *, char *, size_t)
-version SUNW_1.1
-end
-
-function scf_service_add_instance
-include <libscf.h>
-declaration int scf_service_add_instance(const scf_service_t *, const char *, scf_instance_t *)
-version SUNW_1.1
-end
-
-function scf_service_add_pg
-include <libscf.h>
-declaration int scf_service_add_pg(const scf_service_t *, const char *, const char *, uint32_t, scf_propertygroup_t *)
-version SUNW_1.1
-end
-
-function scf_service_create
-include <libscf.h>
-declaration scf_service_t *scf_service_create(scf_handle_t *)
-version SUNW_1.1
-end
-
-function scf_service_delete
-include <libscf.h>
-declaration int scf_service_delete(scf_service_t *)
-version SUNW_1.1
-end
-
-function scf_service_destroy
-include <libscf.h>
-declaration void scf_service_destroy(scf_service_t *)
-version SUNW_1.1
-end
-
-function scf_service_get_instance
-include <libscf.h>
-declaration int scf_service_get_instance(const scf_service_t *, const char *, scf_instance_t *)
-version SUNW_1.1
-end
-
-function scf_service_get_name
-include <libscf.h>
-declaration ssize_t scf_service_get_name(const scf_service_t *, char *, size_t)
-version SUNW_1.1
-end
-
-function scf_service_get_parent
-include <libscf.h>
-declaration int scf_service_get_parent(const scf_service_t *, scf_scope_t *)
-version SUNW_1.1
-end
-
-function scf_service_get_pg
-include <libscf.h>
-declaration int scf_service_get_pg(const scf_service_t *, const char *, scf_propertygroup_t *)
-version SUNW_1.1
-end
-
-function scf_service_handle
-include <libscf.h>
-declaration scf_handle_t *scf_service_handle(const scf_service_t *)
-version SUNW_1.1
-end
-
-function scf_service_to_fmri
-include <libscf.h>
-declaration ssize_t scf_service_to_fmri(const scf_service_t *, char *, size_t)
-version SUNW_1.1
-end
-
-function scf_snaplevel_create
-include <libscf.h>
-declaration scf_snaplevel_t *scf_snaplevel_create(scf_handle_t *)
-version SUNW_1.1
-end
-
-function scf_snaplevel_destroy
-include <libscf.h>
-declaration void scf_snaplevel_destroy(scf_snaplevel_t *)
-version SUNW_1.1
-end
-
-function scf_snaplevel_get_instance_name
-include <libscf.h>
-declaration ssize_t scf_snaplevel_get_instance_name(const scf_snaplevel_t *, char *, size_t)
-version SUNW_1.1
-end
-
-function scf_snaplevel_get_next_snaplevel
-include <libscf.h>
-declaration int scf_snaplevel_get_next_snaplevel(const scf_snaplevel_t *, scf_snaplevel_t *)
-version SUNW_1.1
-end
-
-function scf_snaplevel_get_parent
-include <libscf.h>
-declaration int scf_snaplevel_get_parent(const scf_snaplevel_t *, scf_snapshot_t *)
-version SUNW_1.1
-end
-
-function scf_snaplevel_get_pg
-include <libscf.h>
-declaration int scf_snaplevel_get_pg(const scf_snaplevel_t *, scf_propertygroup_t *)
-version SUNW_1.1
-end
-
-function scf_snaplevel_get_scope_name
-include <libscf.h>
-declaration ssize_t scf_snaplevel_get_scope_name(const scf_snaplevel_t *, char *, size_t)
-version SUNW_1.1
-end
-
-function scf_snaplevel_get_service_name
-include <libscf.h>
-declaration ssize_t scf_snaplevel_get_service_name(const scf_snaplevel_t *, char *, size_t)
-version SUNW_1.1
-end
-
-function scf_snaplevel_handle
-include <libscf.h>
-declaration scf_handle_t *scf_snaplevel_handle(const scf_snaplevel_t *)
-version SUNW_1.1
-end
-
-function scf_snapshot_create
-include <libscf.h>
-declaration scf_snapshot_t *scf_snapshot_create(scf_handle_t *)
-version SUNW_1.1
-end
-
-function scf_snapshot_destroy
-include <libscf.h>
-declaration void scf_snapshot_destroy(scf_snapshot_t *)
-version SUNW_1.1
-end
-
-function scf_snapshot_get_base_snaplevel
-include <libscf.h>
-declaration int scf_snapshot_get_base_snaplevel(const scf_snapshot_t *, scf_snaplevel_t *)
-version SUNW_1.1
-end
-
-function scf_snapshot_get_name
-include <libscf.h>
-declaration ssize_t scf_snapshot_get_name(const scf_snapshot_t *, char *, size_t)
-version SUNW_1.1
-end
-
-function scf_snapshot_get_parent
-include <libscf.h>
-declaration int scf_snapshot_get_parent(const scf_snapshot_t *, scf_instance_t *)
-version SUNW_1.1
-end
-
-function scf_snapshot_handle
-include <libscf.h>
-declaration scf_handle_t *scf_snapshot_handle(const scf_snapshot_t *)
-version SUNW_1.1
-end
-
-function scf_snapshot_update
-include <libscf.h>
-declaration int scf_snapshot_update(scf_snapshot_t *)
-version SUNW_1.1
-end
-
-function scf_strerror
-include <libscf.h>
-declaration const char *scf_strerror(scf_error_t)
-version SUNW_1.1
-end
-
-function scf_transaction_property_change
-include <libscf.h>
-declaration int scf_transaction_property_change(scf_transaction_t *, scf_transaction_entry_t *, const char *, scf_type_t)
-version SUNW_1.1
-end
-
-function scf_transaction_property_change_type
-include <libscf.h>
-declaration int scf_transaction_property_change_type(scf_transaction_t *, scf_transaction_entry_t *, const char *, scf_type_t)
-version SUNW_1.1
-end
-
-function scf_transaction_property_delete
-include <libscf.h>
-declaration int scf_transaction_property_delete(scf_transaction_t *, scf_transaction_entry_t *, const char *)
-version SUNW_1.1
-end
-
-function scf_transaction_property_new
-include <libscf.h>
-declaration int scf_transaction_property_new(scf_transaction_t *, scf_transaction_entry_t *, const char *, scf_type_t)
-version SUNW_1.1
-end
-
-function scf_transaction_commit
-include <libscf.h>
-declaration int scf_transaction_commit(scf_transaction_t *)
-version SUNW_1.1
-end
-
-function scf_transaction_create
-include <libscf.h>
-declaration scf_transaction_t *scf_transaction_create(scf_handle_t *)
-version SUNW_1.1
-end
-
-function scf_transaction_destroy
-include <libscf.h>
-declaration void scf_transaction_destroy(scf_transaction_t *)
-version SUNW_1.1
-end
-
-function scf_transaction_destroy_children
-include <libscf.h>
-declaration void scf_transaction_destroy_children(scf_transaction_t *)
-version SUNW_1.1
-end
-
-function scf_transaction_handle
-include <libscf.h>
-declaration scf_handle_t *scf_transaction_handle(const scf_transaction_t *)
-version SUNW_1.1
-end
-
-function scf_transaction_reset
-include <libscf.h>
-declaration void scf_transaction_reset(scf_transaction_t *)
-version SUNW_1.1
-end
-
-function scf_transaction_reset_all
-include <libscf.h>
-declaration void scf_transaction_reset(scf_transaction_t *)
-version SUNW_1.1
-end
-
-function scf_transaction_start
-include <libscf.h>
-declaration int scf_transaction_start(scf_transaction_t *, scf_propertygroup_t *)
-version SUNW_1.1
-end
-
-function scf_type_base_type
-include <libscf.h>
-declaration int scf_type_base_type(scf_type_t type, scf_type_t *out)
-version SUNW_1.1
-end
-
-function scf_value_base_type
-include <libscf.h>
-declaration scf_type_t scf_value_base_type(const scf_value_t *)
-version SUNW_1.1
-end
-
-function scf_value_create
-include <libscf.h>
-declaration scf_value_t *scf_value_create(scf_handle_t *)
-version SUNW_1.1
-end
-
-function scf_value_destroy
-include <libscf.h>
-declaration void scf_value_destroy(scf_value_t *)
-version SUNW_1.1
-end
-
-function scf_value_get_as_string
-include <libscf.h>
-declaration ssize_t scf_value_get_as_string(const scf_value_t *, char *, size_t)
-version SUNW_1.1
-end
-
-function scf_value_get_as_string_typed
-include <libscf.h>
-declaration ssize_t scf_value_get_as_string_typed(const scf_value_t *, scf_type_t, char *, size_t)
-version SUNW_1.1
-end
-
-function scf_value_get_astring
-include <libscf.h>
-declaration ssize_t scf_value_get_astring(const scf_value_t *, char *, size_t)
-version SUNW_1.1
-end
-
-function scf_value_get_boolean
-include <libscf.h>
-declaration int scf_value_get_boolean(const scf_value_t *, uint8_t *)
-version SUNW_1.1
-end
-
-function scf_value_get_count
-include <libscf.h>
-declaration int scf_value_get_count(const scf_value_t *, uint64_t *)
-version SUNW_1.1
-end
-
-function scf_value_get_integer
-include <libscf.h>
-declaration int scf_value_get_integer(const scf_value_t *, int64_t *)
-version SUNW_1.1
-end
-
-function scf_value_get_opaque
-include <libscf.h>
-declaration ssize_t scf_value_get_opaque(const scf_value_t *, void *, size_t)
-version SUNW_1.1
-end
-
-function scf_value_get_time
-include <libscf.h>
-declaration int scf_value_get_time(const scf_value_t *, int64_t *, int32_t *)
-version SUNW_1.1
-end
-
-function scf_value_get_ustring
-include <libscf.h>
-declaration ssize_t scf_value_get_ustring(const scf_value_t *, char *, size_t)
-version SUNW_1.1
-end
-
-function scf_value_handle
-include <libscf.h>
-declaration scf_handle_t *scf_value_handle(const scf_value_t *)
-version SUNW_1.1
-end
-
-function scf_value_is_type
-include <libscf.h>
-declaration int scf_value_is_type(const scf_value_t *, scf_type_t)
-version SUNW_1.1
-end
-
-function scf_value_reset
-include <libscf.h>
-declaration void scf_value_reset(scf_value_t *)
-version SUNW_1.1
-end
-
-function scf_value_set_astring
-include <libscf.h>
-declaration int scf_value_set_astring(scf_value_t *, const char *)
-version SUNW_1.1
-end
-
-function scf_value_set_boolean
-include <libscf.h>
-declaration void scf_value_set_boolean(scf_value_t *, uint8_t)
-version SUNW_1.1
-end
-
-function scf_value_set_count
-include <libscf.h>
-declaration void scf_value_set_count(scf_value_t *, uint64_t)
-version SUNW_1.1
-end
-
-function scf_value_set_from_string
-include <libscf.h>
-declaration int scf_value_set_from_string(scf_value_t *, scf_type_t, const char *)
-version SUNW_1.1
-end
-
-function scf_value_set_integer
-include <libscf.h>
-declaration void scf_value_set_integer(scf_value_t *, int64_t)
-version SUNW_1.1
-end
-
-function scf_value_set_opaque
-include <libscf.h>
-declaration int scf_value_set_opaque(scf_value_t *, const void *, size_t)
-version SUNW_1.1
-end
-
-function scf_value_set_time
-include <libscf.h>
-declaration int scf_value_set_time(scf_value_t *, int64_t, int32_t)
-version SUNW_1.1
-end
-
-function scf_value_set_ustring
-include <libscf.h>
-declaration int scf_value_set_ustring(scf_value_t *, const char *)
-version SUNW_1.1
-end
-
-function scf_value_type
-include <libscf.h>
-declaration scf_type_t scf_value_type(const scf_value_t *)
-version SUNW_1.1
-end
diff --git a/usr/src/lib/libscf/spec/midlevel.spec b/usr/src/lib/libscf/spec/midlevel.spec
deleted file mode 100644
index 51137a82f6..0000000000
--- a/usr/src/lib/libscf/spec/midlevel.spec
+++ /dev/null
@@ -1,196 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# The mid-level repository interfaces
-#
-
-function _smf_refresh_instance_i
-include <libscf.h>
-declaration int _smf_refresh_instance_h(scf_instance_t *);
-version SUNWprivate_1.1
-end
-
-function scf_simple_app_props_free
-include <libscf.h>
-declaration void scf_simple_app_props_free(scf_simple_app_props_t *);
-version SUNW_1.1
-end
-
-function scf_simple_app_props_get
-include <libscf.h>
-declaration scf_simple_app_props_t *scf_simple_app_props_get(scf_handle_t *, const char *);
-version SUNW_1.1
-end
-
-function scf_simple_app_props_next
-include <libscf.h>
-declaration const scf_simple_prop_t *scf_simple_app_props_next(const scf_simple_app_props_t *, scf_simple_prop_t *);
-version SUNW_1.1
-end
-
-function scf_simple_app_props_search
-include <libscf.h>
-declaration const scf_simple_prop_t *scf_simple_app_props_search(const scf_simple_app_props_t *, const char *, const char *);
-version SUNW_1.1
-end
-
-function scf_simple_prop_free
-include <libscf.h>
-declaration void scf_simple_prop_free(scf_simple_prop_t *);
-version SUNW_1.1
-end
-
-function scf_simple_prop_get
-include <libscf.h>
-declaration scf_simple_prop_t *scf_simple_prop_get(scf_handle_t *, const char *, const char *, const char *);
-version SUNW_1.1
-end
-
-function scf_simple_prop_name
-include <libscf.h>
-declaration char *scf_simple_prop_name(const scf_simple_prop_t *);
-version SUNW_1.1
-end
-
-function scf_simple_prop_next_astring
-include <libscf.h>
-declaration char *scf_simple_prop_next_astring(scf_simple_prop_t *);
-version SUNW_1.1
-end
-
-function scf_simple_prop_next_boolean
-include <libscf.h>
-declaration uint8_t *scf_simple_prop_next_boolean(scf_simple_prop_t *);
-version SUNW_1.1
-end
-
-function scf_simple_prop_next_count
-include <libscf.h>
-declaration uint64_t *scf_simple_prop_next_count(scf_simple_prop_t *);
-version SUNW_1.1
-end
-
-function scf_simple_prop_next_integer
-include <libscf.h>
-declaration int64_t *scf_simple_prop_next_integer(scf_simple_prop_t *);
-version SUNW_1.1
-end
-
-function scf_simple_prop_next_opaque
-include <libscf.h>
-declaration void *scf_simple_prop_next_opaque(scf_simple_prop_t *, size_t *);
-version SUNW_1.1
-end
-
-function scf_simple_prop_next_reset
-include <libscf.h>
-declaration void scf_simple_prop_next_reset(scf_simple_prop_t *);
-version SUNW_1.1
-end
-
-function scf_simple_prop_next_time
-include <libscf.h>
-declaration int64_t *scf_simple_prop_next_time(scf_simple_prop_t *, int32_t *);
-version SUNW_1.1
-end
-
-function scf_simple_prop_next_ustring
-include <libscf.h>
-declaration char *scf_simple_prop_next_ustring(scf_simple_prop_t *);
-version SUNW_1.1
-end
-
-function scf_simple_prop_numvalues
-include <libscf.h>
-declaration ssize_t scf_simple_prop_numvalues(const scf_simple_prop_t *);
-version SUNW_1.1
-end
-
-function scf_simple_prop_pgname
-include <libscf.h>
-declaration char *scf_simple_prop_pgname(const scf_simple_prop_t *);
-version SUNW_1.1
-end
-
-function scf_simple_prop_type
-include <libscf.h>
-declaration scf_type_t scf_simple_prop_type(const scf_simple_prop_t *);
-version SUNW_1.1
-end
-
-function scf_simple_walk_instances
-include <libscf.h>
-declaration int scf_simple_walk_instances(uint_t, void *, int (*inst_callback)(scf_handle_t *, scf_instance_t *, void *));
-version SUNW_1.1
-end
-
-function smf_degrade_instance
-include <libscf.h>
-declaration int smf_degrade_instance(const char *, int);
-version SUNW_1.1
-end
-
-function smf_disable_instance
-include <libscf.h>
-declaration int smf_disable_instance(const char *, int);
-version SUNW_1.1
-end
-
-function smf_enable_instance
-include <libscf.h>
-declaration int smf_enable_instance(const char *, int);
-version SUNW_1.1
-end
-
-function smf_get_state
-include <libscf.h>
-declaration char *smf_get_state(const char *);
-version SUNW_1.1
-end
-
-function smf_maintain_instance
-include <libscf.h>
-declaration int smf_maintain_instance(const char *, int);
-version SUNW_1.1
-end
-
-function smf_refresh_instance
-include <libscf.h>
-declaration int smf_refresh_instance(const char *);
-version SUNW_1.1
-end
-
-function smf_restart_instance
-include <libscf.h>
-declaration int smf_restart_instance(const char *);
-version SUNW_1.1
-end
-
-function smf_restore_instance
-include <libscf.h>
-declaration int smf_restore_instance(const char *);
-version SUNW_1.1
-end
diff --git a/usr/src/lib/libscf/spec/sparc/Makefile b/usr/src/lib/libscf/spec/sparc/Makefile
deleted file mode 100644
index 8f3b7be350..0000000000
--- a/usr/src/lib/libscf/spec/sparc/Makefile
+++ /dev/null
@@ -1,43 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#sparc_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libscf/spec/sparcv9/Makefile b/usr/src/lib/libscf/spec/sparcv9/Makefile
deleted file mode 100644
index c1c82cf308..0000000000
--- a/usr/src/lib/libscf/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#sparcv9_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libscf/spec/versions b/usr/src/lib/libscf/spec/versions
deleted file mode 100644
index e46cbfc3f0..0000000000
--- a/usr/src/lib/libscf/spec/versions
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# vers file for libscf
-#
-sparc {
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-sparcv9 {
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-i386 {
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-amd64 {
- SUNW_1.1;
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/libsched/Makefile.com b/usr/src/lib/libsched/Makefile.com
index 8fd0e48916..c2d68d7f75 100644
--- a/usr/src/lib/libsched/Makefile.com
+++ b/usr/src/lib/libsched/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,7 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
@@ -35,11 +34,10 @@ LIBS = $(DYNLIB) $(LINTLIB)
$(LINTLIB) := SRCS = ../common/llib-lsched
SRCDIR= ../common
-MAPFILES= ../common/mapfile-vers $(MAPFILE-FLTR)
-MAPOPTS= $(MAPFILES:%=-M %)
-DYNFLAGS += -F libc.so.1 $(MAPOPTS)
+MAPFILES += $(MAPFILE-FLTR)
+DYNFLAGS += -F libc.so.1
# Redefine shared object build rule to use $(LD) directly (this avoids .init
# and .fini sections being added). Also, since there are no OBJECTS, turn
diff --git a/usr/src/lib/libsctp/Makefile b/usr/src/lib/libsctp/Makefile
index 13666c41a1..3bfcbd1888 100644
--- a/usr/src/lib/libsctp/Makefile
+++ b/usr/src/lib/libsctp/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,7 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
@@ -39,13 +38,9 @@ lint := TARGET= lint
.KEEP_STATE:
-all install: spec .WAIT $(SUBDIRS)
+all clean clobber install lint: $(SUBDIRS)
-clean clobber: spec $(SUBDIRS)
-
-lint: $(SUBDIRS)
-
-spec $(SUBDIRS): FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
diff --git a/usr/src/lib/libsctp/Makefile.com b/usr/src/lib/libsctp/Makefile.com
index fdefdaac88..689f18d5b3 100644
--- a/usr/src/lib/libsctp/Makefile.com
+++ b/usr/src/lib/libsctp/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,7 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
@@ -37,10 +36,7 @@ LIBS = $(DYNLIB) $(LINTLIB)
$(LINTLIB) := SRCS = $(SRCDIR)/$(LINTSRC)
LDLIBS += -lsocket -lc
-MAPDIR = ../spec/$(TRANSMACH)
-SPECMAPFILE = $(MAPDIR)/mapfile
-
-CFLAGS += -v
+CFLAGS += $(CCVERBOSE)
.KEEP_STATE:
diff --git a/usr/src/lib/libsctp/common/mapfile-vers b/usr/src/lib/libsctp/common/mapfile-vers
new file mode 100644
index 0000000000..c27042b00b
--- /dev/null
+++ b/usr/src/lib/libsctp/common/mapfile-vers
@@ -0,0 +1,42 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNW_1.1 {
+ global:
+ sctp_bindx;
+ sctp_freeladdrs;
+ sctp_freepaddrs;
+ sctp_getladdrs;
+ sctp_getpaddrs;
+ sctp_opt_info;
+ sctp_peeloff;
+ sctp_recvmsg;
+ sctp_send;
+ sctp_sendmsg;
+ local:
+ *;
+};
diff --git a/usr/src/lib/libsctp/spec/Makefile b/usr/src/lib/libsctp/spec/Makefile
deleted file mode 100644
index 9ac4af6ec4..0000000000
--- a/usr/src/lib/libsctp/spec/Makefile
+++ /dev/null
@@ -1,29 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/libsctp/spec/Makefile.targ b/usr/src/lib/libsctp/spec/Makefile.targ
deleted file mode 100644
index aea0a8834f..0000000000
--- a/usr/src/lib/libsctp/spec/Makefile.targ
+++ /dev/null
@@ -1,35 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-LIBRARY = libsctp.a
-VERS = .1
-
-OBJECTS = sctp.o
-
-SPECCPP =
-
diff --git a/usr/src/lib/libsctp/spec/amd64/Makefile b/usr/src/lib/libsctp/spec/amd64/Makefile
deleted file mode 100644
index fb532ef308..0000000000
--- a/usr/src/lib/libsctp/spec/amd64/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#amd64_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libsctp/spec/i386/Makefile b/usr/src/lib/libsctp/spec/i386/Makefile
deleted file mode 100644
index 20752a2475..0000000000
--- a/usr/src/lib/libsctp/spec/i386/Makefile
+++ /dev/null
@@ -1,43 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#i386_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libsctp/spec/sctp.spec b/usr/src/lib/libsctp/spec/sctp.spec
deleted file mode 100644
index 760c64a8a5..0000000000
--- a/usr/src/lib/libsctp/spec/sctp.spec
+++ /dev/null
@@ -1,110 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-function sctp_bindx
-include <sys/types.h>, <sys/socket.h>, <netinet/sctp.h>
-declaration int sctp_bindx(int s, void *addrs, int addrcnt, int flags)
-version SUNW_1.1
-errno EBADF EINVAL ENOMEM EOPNOTSUPP EAFNOSUPPORT ENOTSOCK EFAULT \
- EPERM EADDRNOTAVAIL
-exception $return == -1
-end
-
-function sctp_getladdrs
-include <sys/types.h>, <sys/socket.h>, <netinet/sctp.h>
-declaration int sctp_getladdrs(int s, sctp_assoc_t id, void **addrs)
-version SUNW_1.1
-errno EBADF EINVAL ENOMEM ENOTSOCK EFAULT EPERM
-exception $return == -1
-end
-
-function sctp_getpaddrs
-include <sys/types.h>, <sys/socket.h>, <netinet/sctp.h>
-declaration int sctp_getpaddrs(int s, sctp_assoc_t id, void **addrs)
-version SUNW_1.1
-errno EBADF EINVAL ENOTCONN ENOMEM EOPNOTSUPP EFAULT
-exception $return == -1
-end
-
-function sctp_freeladdrs
-include <sys/types.h>
-declaration void sctp_freeladdrs(void *addrs)
-version SUNW_1.1
-end
-
-function sctp_freepaddrs
-include <sys/types.h>
-declaration void sctp_freepaddrs(void *addrs)
-version SUNW_1.1
-end
-
-function sctp_opt_info
-include <sys/types.h>, <sys/socket.h>, <netinet/sctp.h>
-declaration int sctp_opt_info(int s, sctp_assoc_t id, int opt, void *arg, \
- socklen_t *size)
-version SUNW_1.1
-errno EBADF EINVAL ENOMEM EOPNOTSUPP
-exception $return == -1
-end
-
-function sctp_peeloff
-include <sys/types.h>, <sys/socket.h>, <netinet/sctp.h>
-declaration int sctp_peeloff(int s, sctp_assoc_t id)
-version SUNW_1.1
-errno EBADF EFAULT EINVAL EMFILE ENOMEM EOPNOTSUPP
-exception $return == -1
-end
-
-function sctp_recvmsg
-include <sys/types.h>, <sys/socket.h>, <netinet/sctp.h>
-declaration ssize_t sctp_recvmsg(int s, void *msg, size_t len, \
- struct sockaddr *from, socklen_t *fromlen, \
- struct sctp_sndrcvinfo *sinfo, int *msg_flags)
-version SUNW_1.1
-errno EBADF EINTR EIO ENOMEM ENOSR ENOTSOCK ESTALE EWOULDBLOCK
-exception $return == -1
-end
-
-function sctp_send
-include <sys/types.h>, <sys/socket.h>, <netinet/sctp.h>
-declaration ssize_t sctp_send(int s, const void *msg, size_t len, \
- const struct sctp_sndrcvinfo *sinfo, int flags)
-version SUNW_1.1
-errno EBADF EINTR EINVAL EMSGSIZE ENOMEM ENOSR ENOTSOCK EWOULDBLOCK
-exception $return == -1
-end
-
-function sctp_sendmsg
-include <sys/types.h>, <sys/socket.h>, <netinet/sctp.h>
-declaration ssize_t sctp_sendmsg(int s, const void *msg, size_t len, \
- const struct sockaddr *to, socklen_t tolen, \
- uint32_t ppid, uint32_t flags, uint16_t stream_no, \
- uint32_t timetolive, uint32_t context)
-version SUNW_1.1
-errno EBADF EINTR EINVAL EMSGSIZE ENOMEM ENOSR ENOTSOCK EWOULDBLOCK
-exception $return == -1
-end
diff --git a/usr/src/lib/libsctp/spec/sparc/Makefile b/usr/src/lib/libsctp/spec/sparc/Makefile
deleted file mode 100644
index 4122cf3b08..0000000000
--- a/usr/src/lib/libsctp/spec/sparc/Makefile
+++ /dev/null
@@ -1,43 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#sparc_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libsctp/spec/sparcv9/Makefile b/usr/src/lib/libsctp/spec/sparcv9/Makefile
deleted file mode 100644
index a85df6c93b..0000000000
--- a/usr/src/lib/libsctp/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#sparcv9_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libsctp/spec/versions b/usr/src/lib/libsctp/spec/versions
deleted file mode 100644
index f7955484e7..0000000000
--- a/usr/src/lib/libsctp/spec/versions
+++ /dev/null
@@ -1,39 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-sparc {
- SUNW_1.1;
-}
-sparcv9 {
- SUNW_1.1;
-}
-i386 {
- SUNW_1.1;
-}
-amd64 {
- SUNW_1.1;
-}
diff --git a/usr/src/lib/libsec/Makefile b/usr/src/lib/libsec/Makefile
index 8859248afd..c83d290f9d 100644
--- a/usr/src/lib/libsec/Makefile
+++ b/usr/src/lib/libsec/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -23,14 +22,14 @@
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libsec/Makefile
include ../Makefile.lib
HDRDIR= common
HDRS= aclutils.h
+
SUBDIRS= $(MACH)
$(BUILD64)SUBDIRS += $(MACH64)
@@ -48,19 +47,17 @@ POFILE= libsec.po
.KEEP_STATE:
-all clean clobber install: spec .WAIT $(SUBDIRS)
+all clean clobber install lint: $(SUBDIRS)
$(POFILE): pofile_MSGFILES
-lint: $(SUBDIRS)
-
install_h: $(ROOTHDRS)
check: $(CHECKHDRS)
_msg: $(MSGDOMAINPOFILE)
-$(SUBDIRS) spec: FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
diff --git a/usr/src/lib/libsec/Makefile.com b/usr/src/lib/libsec/Makefile.com
index 2145f769a2..45e074e745 100644
--- a/usr/src/lib/libsec/Makefile.com
+++ b/usr/src/lib/libsec/Makefile.com
@@ -24,8 +24,6 @@
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libsec/Makefile.com
-#
LIBRARY= libsec.a
VERS= .1
@@ -42,6 +40,8 @@ LINTSRCS = $(OBJS_COMMON)
# include library definitions
include ../../Makefile.lib
+SRCDIR= ../common
+
LIBS = $(DYNLIB) $(LINTLIB)
CFLAGS += $(CCVERBOSE)
@@ -56,10 +56,6 @@ SRCS= $(OBJS_COMMON:%.o=$(SRCDIR)/%.c) \
$(LINTLIB):= SRCS= $(SRCDIR)/$(LINTSRC)
-SRCDIR= ../common
-MAPDIR= ../spec/$(TRANSMACH)
-SPECMAPFILE= $(MAPDIR)/mapfile
-
.KEEP_STATE:
all: $(LIBS)
diff --git a/usr/src/lib/libsec/amd64/Makefile b/usr/src/lib/libsec/amd64/Makefile
index 29ebb8f58b..e24ef38245 100644
--- a/usr/src/lib/libsec/amd64/Makefile
+++ b/usr/src/lib/libsec/amd64/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-MAPDIR= ../spec/amd64
-
include ../Makefile.com
include ../../Makefile.lib.64
diff --git a/usr/src/lib/libsec/common/mapfile-vers b/usr/src/lib/libsec/common/mapfile-vers
new file mode 100644
index 0000000000..e4216cf692
--- /dev/null
+++ b/usr/src/lib/libsec/common/mapfile-vers
@@ -0,0 +1,79 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNW_1.2 {
+ global:
+ acl_check;
+ acl_free;
+ acl_fromtext;
+ acl_get;
+ acl_set;
+ acl_strip;
+ acl_totext;
+ acl_trivial;
+ facl_get;
+ facl_set;
+} SUNW_1.1;
+
+# Due to mistakes made early in the history of this library, there are
+# no SUNW_1.1 symbols, but the version is now kept as a placeholder.
+# Don't add any symbols to this version.
+
+SUNW_1.1 {
+ global:
+ SUNW_1.1;
+} SUNW_0.9;
+
+SUNW_0.9 {
+ global:
+ aclcheck;
+ aclfrommode;
+ aclfromtext;
+ aclsort;
+ acltomode;
+ acltotext;
+};
+
+SUNWprivate_1.1 {
+ global:
+ acl_addentries;
+ acl_alloc;
+ acl_cnt;
+ acl_data;
+ acl_dup;
+ acl_error;
+ acl_flags;
+ acl_modifyentries;
+ acl_parse;
+ acl_printacl;
+ acl_removeentries;
+ acl_strerror;
+ acl_to_aclp;
+ acl_type;
+ local:
+ *;
+};
diff --git a/usr/src/lib/libsec/i386/Makefile b/usr/src/lib/libsec/i386/Makefile
index 765e97be50..2a944b0b43 100644
--- a/usr/src/lib/libsec/i386/Makefile
+++ b/usr/src/lib/libsec/i386/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libsec/i386/Makefile
-
-MAPDIR= ../spec/i386
include ../Makefile.com
diff --git a/usr/src/lib/libsec/sparc/Makefile b/usr/src/lib/libsec/sparc/Makefile
index 2a9a1e2be2..2a944b0b43 100644
--- a/usr/src/lib/libsec/sparc/Makefile
+++ b/usr/src/lib/libsec/sparc/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libsec/sparc/Makefile
-
-MAPDIR= ../spec/sparc
include ../Makefile.com
diff --git a/usr/src/lib/libsec/sparcv9/Makefile b/usr/src/lib/libsec/sparcv9/Makefile
index 9234baa89e..e24ef38245 100644
--- a/usr/src/lib/libsec/sparcv9/Makefile
+++ b/usr/src/lib/libsec/sparcv9/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libsec/sparcv9/Makefile
-
-MAPDIR= ../spec/sparcv9
include ../Makefile.com
include ../../Makefile.lib.64
diff --git a/usr/src/lib/libsec/spec/Makefile b/usr/src/lib/libsec/spec/Makefile
deleted file mode 100644
index 04d1851ff8..0000000000
--- a/usr/src/lib/libsec/spec/Makefile
+++ /dev/null
@@ -1,29 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1998-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libsec/spec/Makefile
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/libsec/spec/Makefile.targ b/usr/src/lib/libsec/spec/Makefile.targ
deleted file mode 100644
index dca847f7c0..0000000000
--- a/usr/src/lib/libsec/spec/Makefile.targ
+++ /dev/null
@@ -1,33 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1998-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libsec/spec/Makefile.targ
-
-LIBRARY = libsec.a
-VERS = .1
-
-OBJECTS = acl.o
-
diff --git a/usr/src/lib/libsec/spec/acl.spec b/usr/src/lib/libsec/spec/acl.spec
deleted file mode 100644
index 6bdcec37cc..0000000000
--- a/usr/src/lib/libsec/spec/acl.spec
+++ /dev/null
@@ -1,238 +0,0 @@
-#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libsec/spec/acl.spec
-
-function aclcheck
-include <sys/acl.h>
-declaration int aclcheck(aclent_t *aclbufp, int nentries, int *which)
-version SUNW_0.9
-errno EINVAL
-exception ($return == GRP_ERROR || \
- $return == USER_ERROR || \
- $return == CLASS_ERROR || \
- $return == OTHER_ERROR || \
- $return == DUPLICATE_ERROR || \
- $return == ENTRY_ERROR || \
- $return == MISS_ERROR || \
- $return == MEM_ERROR)
-end
-
-function acl_check
-include <sys/acl.h>
-declaration int acl_check(acl_t *aclp, int flag);
-version SUNW_1.2
-errno EINVAL
-exception ($return == EACL_GRP_ERROR || \
- $return == EACL_USER_ERROR || \
- $return == EACL_OTHER_ERROR || \
- $return == EACL_CLASS_ERROR || \
- $return == EACL_DUPLICATE_ERROR || \
- $return == EACL_MISS_ERROR || \
- $return == EACL_MEM_ERROR || \
- $return == EACL_ENTRY_ERROR) || \
- $return == EACL_INHERIT_ERROR || \
- $return == EACL_FLAGS_ERROR || \
- $return == EACL_PERM_MASK_ERROR || \
- $return == EACL_COUNT_ERROR
-end
-
-
-function aclsort
-include <sys/acl.h>
-declaration int aclsort(int nentries, int calclass, aclent_t *aclbufp)
-version SUNW_0.9
-exception $return == -1
-end
-
-function acltomode
-include <sys/types.h>, <sys/acl.h>
-declaration int acltomode(aclent_t *aclbufp, int nentries, mode_t *modep)
-version SUNW_0.9
-errno EINVAL
-exception $return == -1
-end
-
-function aclfrommode
-include <sys/types.h>, <sys/acl.h>
-declaration int aclfrommode(aclent_t *aclbufp, int nentries, mode_t *modep)
-version SUNW_0.9
-errno EINVAL
-exception $return == -1
-end
-
-function acltotext
-include <sys/acl.h>
-declaration char *acltotext(aclent_t *aclbufp, int aclcnt)
-version SUNW_0.9
-exception $return == 0
-end
-
-function aclfromtext
-include <sys/acl.h>
-declaration aclent_t *aclfromtext(char *acltextp, int *aclcnt)
-version SUNW_0.9
-exception $return == 0
-end
-
-function acl_get
-include <sys/acl.h>
-declaration int acl_get(char *, int, acl_t **);
-version SUNW_1.2
-end
-
-function facl_get
-include <aclutils.h>
-declaration int facl_get(int, int, acl_t **);
-version SUNW_1.2
-end
-
-function acl_set
-include <sys/acl.h>
-declaration int acl_set(char *, acl_t *);
-version SUNW_1.2
-end
-
-function facl_set
-include <sys/acl.h>
-declaration int facl_set(int, acl_t *);
-version SUNW_1.2
-end
-
-function acl_strip
-include <sys/acl.h>
-declaration int acl_strip(char *, uid_t, gid_t, mode_t);
-version SUNW_1.2
-end
-
-function acl_trivial
-include <sys/acl.h>
-declaration int acl_trivial(char *file)
-version SUNW_1.2
-end
-
-function acl_totext
-include <sys/acl.h>
-declaration char *acl_totext(acl_t *acl, int flags);
-version SUNW_1.2
-exception $return == 0
-end
-
-function acl_fromtext
-include <sys/acl.h>
-declaration int acl_fromtext(char *textp, acl_t **);
-version SUNW_1.2
-end
-
-function acl_free
-include <sys/acl.h>
-declaration void acl_free(acl_t *aclp);
-version SUNW_1.2
-end
-
-function acl_addentries
-include <sys/acl.h>
-declaration int acl_addentries(acl_t *acl1, aclt_t *acl2, int slot);
-version SUNWprivate_1.1
-end
-
-function acl_removeentries
-include <sys/acl.h>
-declaration int acl_removeentries(acl_t *acl1, aclt_t *acl2, int, int);
-version SUNWprivate_1.1
-end
-
-function acl_printacl
-include <sys/acl.h>
-declaration void acl_printacl(acl_t *aclp, int cols, int compact);
-version SUNWprivate_1.1
-end
-
-function acl_strerror
-include <sys/acl.h>
-declaration char *acl_strerror(int errnum);
-version SUNWprivate_1.1
-end
-
-function acl_modifyentries
-include <sys/acl.h>
-declaration int acl_modifyentries(acl_t *acl1, acl_t *newentries,
- int where);
-version SUNWprivate_1.1
-end
-
-function acl_alloc
-include <sys/acl.h>
-declaration int acl_alloc(enum acl_type);
-version SUNWprivate_1.1
-end
-
-function acl_dup
-include <aclutils.h>
-declaration acl_t acl_dup(acl_t *);
-version SUNWprivate_1.1
-end
-
-function acl_cnt
-include <aclutils.h>
-declaration int acl_cnt(acl_t *);
-version SUNWprivate_1.1
-end
-
-function acl_type
-include <aclutils.h>
-declaration int acl_type(acl_t *);
-version SUNWprivate_1.1
-end
-
-function acl_flags
-include <aclutils.h>
-declaration int acl_flags(acl_t *);
-version SUNWprivate_1.1
-end
-
-function acl_data
-include <aclutils.h>
-declaration void *acl_data(acl_t *);
-version SUNWprivate_1.1
-end
-
-function acl_error
-include <aclutils.h>
-declaration void acl_error(const char *, ...)
-version SUNWprivate_1.1
-end
-
-function acl_parse
-include <aclutils.h>
-declaration void acl_parse(char *textp, acl_t **);
-version SUNWprivate_1.1
-end
-
-function acl_to_aclp
-include <aclutils.h>
-declaration acl_t *acl_to_aclp(enum acl_type, void *, int);
-version SUNWprivate_1.1
-end
diff --git a/usr/src/lib/libsec/spec/amd64/Makefile b/usr/src/lib/libsec/spec/amd64/Makefile
deleted file mode 100644
index 453c0ea671..0000000000
--- a/usr/src/lib/libsec/spec/amd64/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#amd64_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libsec/spec/i386/Makefile b/usr/src/lib/libsec/spec/i386/Makefile
deleted file mode 100644
index c5b9831e2f..0000000000
--- a/usr/src/lib/libsec/spec/i386/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1998-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libsec/spec/i386/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#i386_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libsec/spec/sparc/Makefile b/usr/src/lib/libsec/spec/sparc/Makefile
deleted file mode 100644
index 696a94a08a..0000000000
--- a/usr/src/lib/libsec/spec/sparc/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1998-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libsec/spec/sparc/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#sparc_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libsec/spec/sparcv9/Makefile b/usr/src/lib/libsec/spec/sparcv9/Makefile
deleted file mode 100644
index 44a835c629..0000000000
--- a/usr/src/lib/libsec/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,45 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1998-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libsec/spec/sparcv9/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#sparcv9_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libsec/spec/versions b/usr/src/lib/libsec/spec/versions
deleted file mode 100644
index c8e4665f4d..0000000000
--- a/usr/src/lib/libsec/spec/versions
+++ /dev/null
@@ -1,55 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# Note: Even though the SUNW_1.1 version now contains no symbols
-# beyond what was present at Solaris 2.5, the SUNW_1.1 version MUST be
-# present. This is because applications built on 2.6 Beta
-# (when it did contain symbols explicitly) may depend on it.
-#
-i386 {
- SUNW_1.2: {SUNW_1.1};
- SUNW_1.1: {SUNW_0.9};
- SUNW_0.9;
- SUNWprivate_1.1;
-}
-sparcv9 {
- SUNW_1.2: {SUNW_1.1};
- SUNW_1.1: {SUNW_0.9};
- SUNW_0.9;
- SUNWprivate_1.1;
-}
-sparc {
- SUNW_1.2: {SUNW_1.1};
- SUNW_1.1: {SUNW_0.9};
- SUNW_0.9;
- SUNWprivate_1.1;
-}
-amd64 {
- SUNW_1.2: {SUNW_1.1};
- SUNW_1.1: {SUNW_0.9};
- SUNW_0.9;
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/libsecdb/Makefile b/usr/src/lib/libsecdb/Makefile
index 2fbf9fc112..6dbeb3267d 100644
--- a/usr/src/lib/libsecdb/Makefile
+++ b/usr/src/lib/libsecdb/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,17 +19,17 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# lib/libsecdb/Makefile
-#
-#ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
include ../Makefile.lib
-SUBDIRS= spec .WAIT help $(MACH) $(BUILD64) $(MACH64)
+SUBDIRS = help $(MACH)
+$(BUILD64)SUBDIRS += $(MACH64)
+
MSGSUBDIRS= help
all:= TARGET= all
@@ -112,7 +111,7 @@ $(CLASS_SCR_DIR)/%: $(CLASS_SCR_SRC_DIR)/%
clobber clean:
$(RM) $(ATTR_FILES)
-spec help $(MACH) $(MACH64) : FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
diff --git a/usr/src/lib/libsecdb/Makefile.com b/usr/src/lib/libsecdb/Makefile.com
index e12380bb6e..565045492f 100644
--- a/usr/src/lib/libsecdb/Makefile.com
+++ b/usr/src/lib/libsecdb/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,7 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
@@ -37,12 +36,10 @@ include ../../Makefile.lib
include ../../Makefile.rootfs
LIBS = $(DYNLIB) $(LINTLIB)
-$(LINTLIB) := SRCS = $(SRCDIR)/$(LINTSRC)
LDLIBS += -lc -lnsl -lcmd
SRCDIR = ../common
-MAPDIR = ../spec/$(TRANSMACH)
-SPECMAPFILE = $(MAPDIR)/mapfile
+$(LINTLIB) := SRCS = $(SRCDIR)/$(LINTSRC)
CFLAGS += $(CCVERBOSE)
CPPFLAGS += -D_REENTRANT
diff --git a/usr/src/lib/libsecdb/common/mapfile-vers b/usr/src/lib/libsecdb/common/mapfile-vers
new file mode 100644
index 0000000000..63e8c70206
--- /dev/null
+++ b/usr/src/lib/libsecdb/common/mapfile-vers
@@ -0,0 +1,76 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNW_1.1 {
+ global:
+ chkauthattr;
+ endauthattr;
+ endexecattr;
+ endprofattr;
+ enduserattr;
+ fgetuserattr;
+ free_authattr;
+ free_execattr;
+ free_profattr;
+ free_proflist;
+ free_userattr;
+ getauthattr;
+ getauthnam;
+ getexecattr;
+ getexecprof;
+ getexecuser;
+ getprofattr;
+ getproflist;
+ getprofnam;
+ getuserattr;
+ getusernam;
+ getuseruid;
+ kva_match;
+ match_execattr;
+ setauthattr;
+ setexecattr;
+ setprofattr;
+ setuserattr;
+};
+
+SUNWprivate_1.1 {
+ global:
+ _argv_to_csl;
+ _auth_match;
+ _csl_to_argv;
+ _do_unescape;
+ _free_argv;
+ _get_auth_policy;
+ _insert2kva;
+ _kva2str;
+ _kva_dup;
+ _kva_free;
+ _new_kva;
+ _str2kva;
+ local:
+ *;
+};
diff --git a/usr/src/lib/libsecdb/spec/Makefile b/usr/src/lib/libsecdb/spec/Makefile
deleted file mode 100644
index 1c8b206cb9..0000000000
--- a/usr/src/lib/libsecdb/spec/Makefile
+++ /dev/null
@@ -1,30 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libsecdb/spec/Makefile
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/libsecdb/spec/Makefile.targ b/usr/src/lib/libsecdb/spec/Makefile.targ
deleted file mode 100644
index f8a9f5e88b..0000000000
--- a/usr/src/lib/libsecdb/spec/Makefile.targ
+++ /dev/null
@@ -1,40 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libsecdb/spec/Makefile.targ
-#
-
-LIBRARY = libsecdb.a
-VERS = .1
-
-OBJECTS = chkauthattr.o \
- getauthattr.o \
- getexecattr.o \
- getprofattr.o \
- getuserattr.o \
- secdb.o \
- private.o
diff --git a/usr/src/lib/libsecdb/spec/amd64/Makefile b/usr/src/lib/libsecdb/spec/amd64/Makefile
deleted file mode 100644
index d334868181..0000000000
--- a/usr/src/lib/libsecdb/spec/amd64/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#amd64_C_PICFLAGS = $(amd64_C_BIGPICFLAGS)
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libsecdb/spec/chkauthattr.spec b/usr/src/lib/libsecdb/spec/chkauthattr.spec
deleted file mode 100644
index f0dbc24373..0000000000
--- a/usr/src/lib/libsecdb/spec/chkauthattr.spec
+++ /dev/null
@@ -1,34 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libsecdb/spec/chkauthattr.spec
-
-function chkauthattr
-include <auth_attr.h>, <prof_attr.h>, <user_attr.h>
-declaration int chkauthattr(const char *authname, const char *username)
-version SUNW_1.1
-exception $return == 0
-end
diff --git a/usr/src/lib/libsecdb/spec/getauthattr.spec b/usr/src/lib/libsecdb/spec/getauthattr.spec
deleted file mode 100644
index 5d6b728a89..0000000000
--- a/usr/src/lib/libsecdb/spec/getauthattr.spec
+++ /dev/null
@@ -1,59 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libsecdb/spec/getauthattr.spec
-
-function getauthattr
-include <auth_attr.h>
-declaration authattr_t *getauthattr()
-version SUNW_1.1
-exception $return == NULL
-end
-
-function getauthnam
-include <auth_attr.h>
-declaration authattr_t *getauthnam(const char *name)
-version SUNW_1.1
-exception $return == NULL
-end
-
-function setauthattr
-include <auth_attr.h>
-declaration void setauthattr()
-version SUNW_1.1
-end
-
-function endauthattr
-include <auth_attr.h>
-declaration void endauthattr()
-version SUNW_1.1
-end
-
-function free_authattr
-include <auth_attr.h>
-declaration void free_authattr(authattr_t *auth)
-version SUNW_1.1
-end
diff --git a/usr/src/lib/libsecdb/spec/getexecattr.spec b/usr/src/lib/libsecdb/spec/getexecattr.spec
deleted file mode 100644
index 6a7f82c042..0000000000
--- a/usr/src/lib/libsecdb/spec/getexecattr.spec
+++ /dev/null
@@ -1,76 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libsecdb/spec/getexecattr.spec
-
-function getexecattr
-include <exec_attr.h>
-declaration execattr_t *getexecattr()
-version SUNW_1.1
-exception $return == NULL
-end
-
-function getexecprof
-include <exec_attr.h>
-declaration execattr_t *getexecprof(const char *name, const char *type, \
- const char *id, int search_flag)
-version SUNW_1.1
-exception $return == NULL
-end
-
-function getexecuser
-include <exec_attr.h>
-declaration execattr_t *getexecuser(const char *username, const char *type,\
- const char *id, int search_flag)
-version SUNW_1.1
-exception $return == NULL
-end
-
-function match_execattr
-include <exec_attr.h>
-declaration execattr_t *match_execattr(execattr_t *exec, \
- const char *profname, const char *type, const char *id)
-version SUNW_1.1
-exception $return == NULL
-end
-
-function setexecattr
-include <exec_attr.h>
-declaration void setexecattr()
-version SUNW_1.1
-end
-
-function endexecattr
-include <exec_attr.h>
-declaration void endexecattr()
-version SUNW_1.1
-end
-
-function free_execattr
-include <exec_attr.h>
-declaration void free_execattr(execattr_t *exec)
-version SUNW_1.1
-end
diff --git a/usr/src/lib/libsecdb/spec/getprofattr.spec b/usr/src/lib/libsecdb/spec/getprofattr.spec
deleted file mode 100644
index 83e5a62de4..0000000000
--- a/usr/src/lib/libsecdb/spec/getprofattr.spec
+++ /dev/null
@@ -1,71 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libsecdb/spec/getprofattr.spec
-
-function getprofattr
-include <prof_attr.h>
-declaration profattr_t *getprofattr()
-version SUNW_1.1
-exception $return == NULL
-end
-
-function getprofnam
-include <prof_attr.h>
-declaration profattr_t *getprofnam(const char *name)
-version SUNW_1.1
-exception $return == NULL
-end
-
-function setprofattr
-include <prof_attr.h>
-declaration void setprofattr()
-version SUNW_1.1
-end
-
-function endprofattr
-include <prof_attr.h>
-declaration void endprofattr()
-version SUNW_1.1
-end
-
-function free_profattr
-include <prof_attr.h>
-declaration void free_profattr(profattr_t *prof)
-version SUNW_1.1
-end
-
-function getproflist
-include <auth_attr.h>, <exec_attr.h>, <prof_attr.h>
-declaration void getproflist(const char *, char **, int *)
-version SUNW_1.1
-end
-
-function free_proflist
-include <auth_attr.h>, <exec_attr.h>, <prof_attr.h>
-declaration void free_proflist(char **, int)
-version SUNW_1.1
-end
diff --git a/usr/src/lib/libsecdb/spec/getuserattr.spec b/usr/src/lib/libsecdb/spec/getuserattr.spec
deleted file mode 100644
index 4bd3d24afb..0000000000
--- a/usr/src/lib/libsecdb/spec/getuserattr.spec
+++ /dev/null
@@ -1,73 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libsecdb/spec/getuserattr.spec
-
-function getuserattr
-include <user_attr.h>
-declaration userattr_t *getuserattr()
-version SUNW_1.1
-exception $return == NULL
-end
-
-function fgetuserattr
-include <user_attr.h>
-declaration userattr_t *fgetuserattr(FILE *f)
-version SUNW_1.1
-exception $return == NULL
-end
-
-function getusernam
-include <user_attr.h>
-declaration userattr_t *getusernam(const char *name)
-version SUNW_1.1
-exception $return == NULL
-end
-
-function getuseruid
-include <user_attr.h>
-declaration userattr_t *getuseruid(uid_t u)
-version SUNW_1.1
-exception $return == NULL
-end
-
-function setuserattr
-include <user_attr.h>
-declaration void setuserattr()
-version SUNW_1.1
-end
-
-function enduserattr
-include <user_attr.h>
-declaration void enduserattr()
-version SUNW_1.1
-end
-
-function free_userattr
-include <user_attr.h>
-declaration void free_userattr(userattr_t *user)
-version SUNW_1.1
-end
diff --git a/usr/src/lib/libsecdb/spec/i386/Makefile b/usr/src/lib/libsecdb/spec/i386/Makefile
deleted file mode 100644
index aa74795e4b..0000000000
--- a/usr/src/lib/libsecdb/spec/i386/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libsecdb/spec/i386/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#i386_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libsecdb/spec/private.spec b/usr/src/lib/libsecdb/spec/private.spec
deleted file mode 100644
index d66b4b7b95..0000000000
--- a/usr/src/lib/libsecdb/spec/private.spec
+++ /dev/null
@@ -1,107 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libsecdb/spec/private.spec
-
-function _argv_to_csl
-include <secdb.h>
-declaration char *_argv_to_csl(char **src)
-execption $return == NULL
-version SUNWprivate_1.1
-end
-
-function _auth_match
-include <secdb.h>
-declaration int _auth_match(const char *pattern, const char *auth)
-version SUNWprivate_1.1
-end
-
-function _csl_to_argv
-include <secdb.h>
-declaration char **_csl_to_argv(char *csl)
-execption $return == NULL
-version SUNWprivate_1.1
-end
-
-function _do_unescape
-include <secdb.h>
-declaration char *_do_unescape(char *src)
-execption $return == NULL
-version SUNWprivate_1.1
-end
-
-function _free_argv
-include <secdb.h>
-declaration void _free_argv()
-version SUNWprivate_1.1
-end
-
-function _get_auth_policy
-include <secdb.h>
-declaration int _get_auth_policy(char **def_auth, char **def_prof)
-version SUNWprivate_1.1
-end
-
-function _insert2kva
-include <secdb.h>
-declaration int _insert2kva(kva_t *kva, char *key, char *value)
-execption $return == 0
-version SUNWprivate_1.1
-end
-
-function _kva2str
-include <secdb.h>
-declaration int _kva2str(kva_t *kva, char *buf, int buflen, char *ass, \
- char *del)
-execption $return == 0
-version SUNWprivate_1.1
-end
-
-function _kva_dup
-include <secdb.h>
-declaration kva_t *_kva_dup(kva_t *old_kva)
-version SUNWprivate_1.1
-end
-
-function _kva_free
-include <secdb.h>
-declaration void _kva_free(kva_t *kva)
-version SUNWprivate_1.1
-end
-
-function _new_kva
-include <secdb.h>
-declaration kva_t *_new_kva(int size)
-execption $return == NULL
-version SUNWprivate_1.1
-end
-
-function _str2kva
-include <secdb.h>
-declaration kva_t *_str2kva(char *s, char *ass, char *del)
-execption $return == NULL
-version SUNWprivate_1.1
-end
diff --git a/usr/src/lib/libsecdb/spec/secdb.spec b/usr/src/lib/libsecdb/spec/secdb.spec
deleted file mode 100644
index ce547a2cb3..0000000000
--- a/usr/src/lib/libsecdb/spec/secdb.spec
+++ /dev/null
@@ -1,34 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libsecdb/spec/secdb.spec
-
-function kva_match
-include <secdb.h>
-declaration char *kva_match(kva_t *kva, char *key)
-version SUNW_1.1
-exception $return == NULL
-end
diff --git a/usr/src/lib/libsecdb/spec/sparc/Makefile b/usr/src/lib/libsecdb/spec/sparc/Makefile
deleted file mode 100644
index 79f8ed9782..0000000000
--- a/usr/src/lib/libsecdb/spec/sparc/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libsecdb/spec/sparc/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-sparc_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libsecdb/spec/sparcv9/Makefile b/usr/src/lib/libsecdb/spec/sparcv9/Makefile
deleted file mode 100644
index 0be7dfcc95..0000000000
--- a/usr/src/lib/libsecdb/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,45 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libsecdb/spec/sparcv9/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-sparcv9_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libsecdb/spec/versions b/usr/src/lib/libsecdb/spec/versions
deleted file mode 100644
index 38a2cfc77a..0000000000
--- a/usr/src/lib/libsecdb/spec/versions
+++ /dev/null
@@ -1,43 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-sparc {
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-sparcv9 {
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-i386 {
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-amd64 {
- SUNW_1.1;
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/libsendfile/Makefile b/usr/src/lib/libsendfile/Makefile
index bda4771ea7..80b0e8c55f 100644
--- a/usr/src/lib/libsendfile/Makefile
+++ b/usr/src/lib/libsendfile/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,8 +19,8 @@
# CDDL HEADER END
#
#
-# Copyright (c) 2001 by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
@@ -39,11 +38,9 @@ lint := TARGET= lint
.KEEP_STATE:
-all clean clobber install: spec .WAIT $(SUBDIRS)
+all clean clobber install lint: $(SUBDIRS)
-lint: $(SUBDIRS)
-
-spec $(SUBDIRS): FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
diff --git a/usr/src/lib/libsendfile/Makefile.com b/usr/src/lib/libsendfile/Makefile.com
index c1810c305b..b0bb417688 100644
--- a/usr/src/lib/libsendfile/Makefile.com
+++ b/usr/src/lib/libsendfile/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -36,8 +35,9 @@ include ../../Makefile.lib
include ../../Makefile.rootfs
SRCDIR = ../common
-MAPDIR = ../spec/$(TRANSMACH)
-SPECMAPFILE = $(MAPDIR)/mapfile
+
+MAPFILES += $(MAPFILE32)
+
$(LINTLIB) := SRCS = $(SRCDIR)/$(LINTSRC)
LIBS = $(DYNLIB) $(LINTLIB)
diff --git a/usr/src/lib/libsendfile/amd64/Makefile b/usr/src/lib/libsendfile/amd64/Makefile
index cb39a2beff..f69d11f706 100644
--- a/usr/src/lib/libsendfile/amd64/Makefile
+++ b/usr/src/lib/libsendfile/amd64/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,12 +19,14 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
+MAPFILE32 =
+
include ../Makefile.com
include ../../Makefile.lib.64
diff --git a/usr/src/lib/libsendfile/common/mapfile-vers b/usr/src/lib/libsendfile/common/mapfile-vers
new file mode 100644
index 0000000000..d310fba714
--- /dev/null
+++ b/usr/src/lib/libsendfile/common/mapfile-vers
@@ -0,0 +1,34 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNW_1.1 {
+ global:
+ sendfile;
+ sendfilev;
+ local:
+ *;
+};
diff --git a/usr/src/lib/libsendfile/common/mapfile32-vers b/usr/src/lib/libsendfile/common/mapfile32-vers
new file mode 100644
index 0000000000..82488f393c
--- /dev/null
+++ b/usr/src/lib/libsendfile/common/mapfile32-vers
@@ -0,0 +1,32 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNW_1.1 { # largefile interfaces for 32-bit applications
+ global:
+ sendfile64;
+ sendfilev64;
+};
diff --git a/usr/src/lib/libsendfile/i386/Makefile b/usr/src/lib/libsendfile/i386/Makefile
index 19a9e65a11..a579a6b1b6 100644
--- a/usr/src/lib/libsendfile/i386/Makefile
+++ b/usr/src/lib/libsendfile/i386/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,12 +19,14 @@
# CDDL HEADER END
#
#
-# Copyright (c) 2001 by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
+MAPFILE32 = ../common/mapfile32-vers
+
include ../Makefile.com
install: all $(ROOTLIBS) $(ROOTLINKS) $(ROOTLINT)
diff --git a/usr/src/lib/libsendfile/sparc/Makefile b/usr/src/lib/libsendfile/sparc/Makefile
index 19a9e65a11..a579a6b1b6 100644
--- a/usr/src/lib/libsendfile/sparc/Makefile
+++ b/usr/src/lib/libsendfile/sparc/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,12 +19,14 @@
# CDDL HEADER END
#
#
-# Copyright (c) 2001 by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
+MAPFILE32 = ../common/mapfile32-vers
+
include ../Makefile.com
install: all $(ROOTLIBS) $(ROOTLINKS) $(ROOTLINT)
diff --git a/usr/src/lib/libsendfile/sparcv9/Makefile b/usr/src/lib/libsendfile/sparcv9/Makefile
index 87e9702141..f69d11f706 100644
--- a/usr/src/lib/libsendfile/sparcv9/Makefile
+++ b/usr/src/lib/libsendfile/sparcv9/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,12 +19,14 @@
# CDDL HEADER END
#
#
-# Copyright (c) 2001 by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
+MAPFILE32 =
+
include ../Makefile.com
include ../../Makefile.lib.64
diff --git a/usr/src/lib/libsendfile/spec/Makefile b/usr/src/lib/libsendfile/spec/Makefile
deleted file mode 100644
index 8cc2eb46b2..0000000000
--- a/usr/src/lib/libsendfile/spec/Makefile
+++ /dev/null
@@ -1,29 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1998-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libsendfile/spec/Makefile
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/libsendfile/spec/Makefile.targ b/usr/src/lib/libsendfile/spec/Makefile.targ
deleted file mode 100644
index f16637847f..0000000000
--- a/usr/src/lib/libsendfile/spec/Makefile.targ
+++ /dev/null
@@ -1,34 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1998-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libsendfile/spec/Makefile.targ
-
-LIBRARY = libsendfile.a
-VERS = .1
-
-OBJECTS = sendfile.o
-
-SPECCPP = -I..
diff --git a/usr/src/lib/libsendfile/spec/amd64/Makefile b/usr/src/lib/libsendfile/spec/amd64/Makefile
deleted file mode 100644
index ae8ad43947..0000000000
--- a/usr/src/lib/libsendfile/spec/amd64/Makefile
+++ /dev/null
@@ -1,42 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#and64_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libsendfile/spec/i386/Makefile b/usr/src/lib/libsendfile/spec/i386/Makefile
deleted file mode 100644
index a1f8da7fef..0000000000
--- a/usr/src/lib/libsendfile/spec/i386/Makefile
+++ /dev/null
@@ -1,42 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libsendfile/spec/i386/Makefile
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#i386_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libsendfile/spec/sendfile.spec b/usr/src/lib/libsendfile/spec/sendfile.spec
deleted file mode 100644
index 0cf33bdc45..0000000000
--- a/usr/src/lib/libsendfile/spec/sendfile.spec
+++ /dev/null
@@ -1,67 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-
-function sendfilev
-include <sys/sendfile.h>
-declaration ssize_t sendfilev(int sock, const struct sendfilevec *vec, \
- int sfvcnt, size_t *xferred)
-version SUNW_1.1
-errno EAFNOSUPPORT EPROTONOSUPPORT EPROTOTYPE EBADF EACCES \
- ENOBUFS ENOMEM EPIPE EIO EFAULT EINVAL
-exception $return == -1
-end
-
-function sendfile
-include <sys/sendfile.h>
-declaration ssize_t sendfile(int sock, int fd, off_t *off, size_t len)
-version SUNW_1.1
-errno EAFNOSUPPORT EOPNOTSUPP EBADF EAGAIN EPIPE \
- EIO EFAULT EINVAL
-exception $return == -1
-end
-
-function sendfilev64
-include <sys/sendfile.h>
-declaration ssize_t sendfilev64(int sock, const struct sendfilevec64 *vec, \
- int sfvcnt, size_t *xferred)
-arch sparc i386
-version SUNW_1.1
-errno EAFNOSUPPORT EPROTONOSUPPORT EPROTOTYPE EBADF EACCES \
- ENOBUFS ENOMEM EPIPE EIO EFAULT EINVAL
-exception $return == -1
-end
-
-function sendfile64
-include <sys/sendfile.h>
-declaration ssize_t sendfile64(int sock, int fd, off64_t *off, size_t len)
-arch sparc i386
-version SUNW_1.1
-errno EAFNOSUPPORT EOPNOTSUPP EBADF EAGAIN EPIPE \
- EIO EFAULT EINVAL
-exception $return == -1
-end
-
diff --git a/usr/src/lib/libsendfile/spec/sparc/Makefile b/usr/src/lib/libsendfile/spec/sparc/Makefile
deleted file mode 100644
index 15511f2ecf..0000000000
--- a/usr/src/lib/libsendfile/spec/sparc/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libsendfile/spec/sparc/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#sparc_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libsendfile/spec/sparcv9/Makefile b/usr/src/lib/libsendfile/spec/sparcv9/Makefile
deleted file mode 100644
index be6b94e091..0000000000
--- a/usr/src/lib/libsendfile/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,43 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libsendfile/spec/sparcv9/Makefile
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#sparcv9_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libsendfile/spec/versions b/usr/src/lib/libsendfile/spec/versions
deleted file mode 100644
index f9134de951..0000000000
--- a/usr/src/lib/libsendfile/spec/versions
+++ /dev/null
@@ -1,39 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-i386 {
- SUNW_1.1;
-}
-sparc {
- SUNW_1.1;
-}
-sparcv9 {
- SUNW_1.1;
-}
-amd64 {
- SUNW_1.1;
-}
diff --git a/usr/src/lib/libsldap/Makefile b/usr/src/lib/libsldap/Makefile
index b81cdd4072..e535561e35 100644
--- a/usr/src/lib/libsldap/Makefile
+++ b/usr/src/lib/libsldap/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,17 +19,16 @@
# CDDL HEADER END
#
#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1999 by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-# lib/libsldap/Makefile
+# ident "%Z%%M% %I% %E% SMI"
#
include ../Makefile.lib
-SUBDIRS= spec .WAIT $(MACH) $(BUILD64) $(MACH64)
+SUBDIRS = $(MACH)
+$(BUILD64)SUBDIRS += $(MACH64)
all := TARGET= all
clean := TARGET= clean
@@ -56,7 +54,7 @@ all clean clobber delete install lint catalog package: $(SUBDIRS)
$(ROOTHDRDIR)/%: %
$(INS.file)
-$(MACH) $(MACH64) spec: FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
_msg: $(MSGDOMAIN) $(POFILE)
diff --git a/usr/src/lib/libsldap/Makefile.com b/usr/src/lib/libsldap/Makefile.com
index 8a5c871ed8..ce3a899fec 100644
--- a/usr/src/lib/libsldap/Makefile.com
+++ b/usr/src/lib/libsldap/Makefile.com
@@ -44,8 +44,6 @@ $(LINTLIB):= SRCS=../common/llib-lsldap
LDLIBS += -lnsl -lldap -lc
SRCDIR = ../common
-MAPDIR = ../spec/$(TRANSMACH)
-SPECMAPFILE = $(MAPDIR)/mapfile
CFLAGS += $(CCVERBOSE)
LOCFLAGS += -D_REENTRANT -DSUNW_OPTIONS -DTHREAD_SUNOS5_LWP
diff --git a/usr/src/lib/libsldap/common/mapfile-vers b/usr/src/lib/libsldap/common/mapfile-vers
new file mode 100644
index 0000000000..37fd9dd2be
--- /dev/null
+++ b/usr/src/lib/libsldap/common/mapfile-vers
@@ -0,0 +1,94 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+# There really should be only one SUNWprivate version.
+# Don't add any more. Add new private symbols to SUNWprivate_1.1
+
+SUNWprivate_1.1 {
+ global:
+ __ns_ldap_getAcctMgmt;
+ __s_api_get_canonical_name;
+} SUNWprivate_1.0;
+
+SUNWprivate_1.0 {
+ global:
+ __getldapaliasbyname;
+ __ns_ldap_addAttr;
+ __ns_ldap_addEntry;
+ __ns_ldap_addTypedEntry;
+ __ns_ldap_auth;
+ __ns_ldap_cache_ping;
+ __ns_ldap_default_config;
+ __ns_ldap_delAttr;
+ __ns_ldap_delEntry;
+ __ns_ldap_dn2domain;
+ __ns_ldap_download;
+ __ns_ldap_DumpConfiguration;
+ __ns_ldap_DumpLdif;
+ __ns_ldap_endEntry;
+ __ns_ldap_err2str;
+ __ns_ldap_firstEntry;
+ __ns_ldap_freeAttributeMaps;
+ __ns_ldap_freeCred;
+ __ns_ldap_freeError;
+ __ns_ldap_freeObjectClassMaps;
+ __ns_ldap_freeParam;
+ __ns_ldap_freeResult;
+ __ns_ldap_freeSearchDescriptors;
+ __ns_ldap_getAttr;
+ __ns_ldap_getAttributeMaps;
+ __ns_ldap_getMappedAttributes;
+ __ns_ldap_getMappedObjectClass;
+ __ns_ldap_getObjectClassMaps;
+ __ns_ldap_getOrigAttribute;
+ __ns_ldap_getOrigObjectClass;
+ __ns_ldap_getParam;
+ __ns_ldap_getParamType;
+ __ns_ldap_getSearchDescriptors;
+ __ns_ldap_getServiceAuthMethods;
+ __ns_ldap_host2dn;
+ __ns_ldap_list;
+ __ns_ldap_LoadConfiguration;
+ __ns_ldap_LoadDoorInfo;
+ __ns_ldap_make_config;
+ __ns_ldap_nextEntry;
+ __ns_ldap_print_config;
+ __ns_ldap_repAttr;
+ __ns_ldap_setParam;
+ __ns_ldap_setParamValue;
+ __ns_ldap_setServer;
+ __ns_ldap_trydoorcall;
+ __ns_ldap_uid2dn;
+ __s_api_crosscheck;
+ __s_api_destroy_config;
+ __s_api_free2dArray;
+ __s_api_getServers;
+ __s_api_init_config;
+ __s_api_prepend_automountmapname_to_dn;
+ local:
+ *;
+};
diff --git a/usr/src/lib/libsldap/spec/Makefile b/usr/src/lib/libsldap/spec/Makefile
deleted file mode 100644
index 07631562f5..0000000000
--- a/usr/src/lib/libsldap/spec/Makefile
+++ /dev/null
@@ -1,31 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libsldap/spec/Makefile
-#
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/libsldap/spec/Makefile.targ b/usr/src/lib/libsldap/spec/Makefile.targ
deleted file mode 100644
index 9460a6c792..0000000000
--- a/usr/src/lib/libsldap/spec/Makefile.targ
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libsldap/spec/Makefile.targ
-#
-
-LIBRARY = libsldap.a
-VERS = .1
-
-OBJECTS = sldap.o
-
-SPECCPP = -I..
diff --git a/usr/src/lib/libsldap/spec/amd64/Makefile b/usr/src/lib/libsldap/spec/amd64/Makefile
deleted file mode 100644
index d334868181..0000000000
--- a/usr/src/lib/libsldap/spec/amd64/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#amd64_C_PICFLAGS = $(amd64_C_BIGPICFLAGS)
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libsldap/spec/i386/Makefile b/usr/src/lib/libsldap/spec/i386/Makefile
deleted file mode 100644
index c42ce9f948..0000000000
--- a/usr/src/lib/libsldap/spec/i386/Makefile
+++ /dev/null
@@ -1,45 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libsldap/spec/i386/Makefile
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#i386_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libsldap/spec/sldap.spec b/usr/src/lib/libsldap/spec/sldap.spec
deleted file mode 100644
index 5edac82600..0000000000
--- a/usr/src/lib/libsldap/spec/sldap.spec
+++ /dev/null
@@ -1,563 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libsldap/spec/sldap.spec
-
-function __getldapaliasbyname
-include "../../common/ns_sldap.h"
-declaration int __getldapaliasbyname( \
- char *alias, \
- char *answer, \
- size_t ans_len)
-version SUNWprivate_1.0
-exception $return == -1
-end
-
-function __ns_ldap_list
-include "../../common/ns_sldap.h"
-declaration int __ns_ldap_list( \
- const char *service, \
- const char *filter, \
- int (*init_filter_cb)(const ns_ldap_search_desc_t \
- *desc, char **realfilter, \
- const void *userdata), \
- const char * const *attribute, \
- const ns_cred_t *cred, \
- const int flags, \
- ns_ldap_result_t ** result, \
- ns_ldap_error_t ** errorp, \
- int (*callback)(const ns_ldap_entry_t *entry, \
- const void *userdata), \
- const void *userdata)
-version SUNWprivate_1.0
-exception $return == -1
-end
-
-function __ns_ldap_addAttr
-include "../../common/ns_sldap.h"
-declaration int __ns_ldap_addAttr( \
- const char *service, \
- const char *dn, \
- const ns_ldap_attr_t * const *attr, \
- const ns_cred_t *cred, \
- const int flags, \
- ns_ldap_error_t **errorp)
-version SUNWprivate_1.0
-exception $return == -1
-end
-
-function __ns_ldap_delAttr
-include "../../common/ns_sldap.h"
-declaration int __ns_ldap_delAttr( \
- const char *service, \
- const char *dn, \
- const ns_ldap_attr_t * const *attr, \
- const ns_cred_t *cred, \
- const int flags, \
- ns_ldap_error_t **errorp)
-version SUNWprivate_1.0
-exception $return == -1
-end
-
-function __ns_ldap_repAttr
-include "../../common/ns_sldap.h"
-declaration int __ns_ldap_repAttr( \
- const char *service, \
- const char *dn, \
- const ns_ldap_attr_t * const *attr, \
- const ns_cred_t *cred, \
- const int flags, \
- ns_ldap_error_t **errorp)
-version SUNWprivate_1.0
-exception $return == -1
-end
-
-function __ns_ldap_addEntry
-include "../../common/ns_sldap.h"
-declaration int __ns_ldap_addEntry( \
- const char *service, \
- const char *dn, \
- const ns_ldap_entry_t *entry, \
- const ns_cred_t *cred, \
- const int flags, \
- ns_ldap_error_t **errorp)
-version SUNWprivate_1.0
-exception $return == -1
-end
-
-function __ns_ldap_addTypedEntry
-include "../../common/ns_sldap.h"
-declaration int __ns_ldap_addTypedEntry( \
- const char *servicetype, \
- const char *basedn, \
- const void *data, \
- const int create, \
- const ns_cred_t *cred, \
- const int flags, \
- ns_ldap_error_t **errorp)
-version SUNWprivate_1.0
-exception $return == -1
-end
-
-function __ns_ldap_delEntry
-include "../../common/ns_sldap.h"
-declaration int __ns_ldap_delEntry( \
- const char *service, \
- const char *dn, \
- const ns_cred_t *cred, \
- const int flags, \
- ns_ldap_error_t **errorp)
-version SUNWprivate_1.0
-exception $return == -1
-end
-
-function __ns_ldap_firstEntry
-include "../../common/ns_sldap.h"
-declaration int __ns_ldap_firstEntry( \
- const char *service, \
- const char *filter, \
- int (*init_filter_cb)(const ns_ldap_search_desc_t \
- *desc, char **realfilter, \
- const void *userdata), \
- const char * const *attribute, \
- const ns_cred_t *cred, \
- const int flags, \
- void **cookie, \
- ns_ldap_result_t ** result, \
- ns_ldap_error_t **errorp, \
- const void *userdata)
-version SUNWprivate_1.0
-exception $return == -1
-end
-
-function __ns_ldap_nextEntry
-include "../../common/ns_sldap.h"
-declaration int __ns_ldap_nextEntry( \
- void *cookie, \
- ns_ldap_result_t ** result, \
- ns_ldap_error_t **errorp)
-version SUNWprivate_1.0
-exception $return == -1
-end
-
-function __ns_ldap_endEntry
-include "../../common/ns_sldap.h"
-declaration int __ns_ldap_endEntry( \
- void **cookie, \
- ns_ldap_error_t **errorp)
-version SUNWprivate_1.0
-exception $return == -1
-end
-
-function __ns_ldap_freeResult
-include "../../common/ns_sldap.h"
-declaration int __ns_ldap_freeResult( \
- ns_ldap_result_t **result)
-version SUNWprivate_1.0
-exception $return == -1
-end
-
-function __ns_ldap_freeError
-include "../../common/ns_sldap.h"
-declaration int __ns_ldap_freeError( \
- ns_ldap_error_t **errorp)
-version SUNWprivate_1.0
-exception $return == -1
-end
-
-function __ns_ldap_freeCred
-include "../../common/ns_sldap.h"
-declaration int __ns_ldap_freeCred( \
- ns_cred_t **credp)
-version SUNWprivate_1.0
-exception $return == -1
-end
-
-function __ns_ldap_uid2dn
-include "../../common/ns_sldap.h"
-declaration int __ns_ldap_uid2dn( \
- const char *uid, \
- char **userDN, \
- const ns_cred_t *cred, \
- ns_ldap_error_t ** errorp)
-version SUNWprivate_1.0
-exception $return == -1
-end
-
-function __ns_ldap_host2dn
-include "../../common/ns_sldap.h"
-declaration int __ns_ldap_host2dn( \
- const char *host, \
- const char *domain, \
- char **hostDN, \
- const ns_cred_t *cred, \
- ns_ldap_error_t ** errorp)
-version SUNWprivate_1.0
-exception $return == -1
-end
-
-function __ns_ldap_dn2domain
-include "../../common/ns_sldap.h"
-declaration int __ns_ldap_dn2domain( \
- const char *dn, \
- char **domain, \
- const ns_cred_t *cred, \
- ns_ldap_error_t ** errorp)
-version SUNWprivate_1.0
-exception $return == -1
-end
-
-function __ns_ldap_auth
-include "../../common/ns_sldap.h"
-declaration int __ns_ldap_auth( \
- const ns_cred_t *cred, \
- const int flag, \
- ns_ldap_error_t **errorp, \
- LDAPControl **serverctrls, \
- LDAPControl **clientctrls)
-version SUNWprivate_1.0
-exception $return == -1
-end
-
-function __ns_ldap_err2str
-include "../../common/ns_sldap.h"
-declaration int __ns_ldap_err2str( \
- int err, \
- char **strmsg)
-version SUNWprivate_1.0
-exception $return == -1
-end
-
-function __ns_ldap_getParam
-include "../../common/ns_sldap.h"
-declaration int __ns_ldap_getParam( \
- const ParamIndexType type, \
- void ***data, \
- ns_ldap_error_t **errorp)
-version SUNWprivate_1.0
-exception $return == -1
-end
-
-function __ns_ldap_setParam
-include "../../common/ns_sldap.h"
-declaration int __ns_ldap_setParam( \
- const ParamIndexType type, \
- const void *data, \
- ns_ldap_error_t **errorp)
-version SUNWprivate_1.0
-exception $return == -1
-end
-
-function __ns_ldap_freeParam
-include "../../common/ns_sldap.h"
-declaration int __ns_ldap_freeParam(void ***data)
-version SUNWprivate_1.0
-exception $return == -1
-end
-
-function __ns_ldap_getAttr
-include "../../common/ns_sldap.h"
-declaration char **__ns_ldap_getAttr( \
- const ns_ldap_entry_t *entry, \
- const char *attrname);
-version SUNWprivate_1.0
-exception $return == NULL
-end
-
-function __ns_ldap_setServer
-include "../../common/ns_sldap.h"
-declaration void __ns_ldap_setServer( \
- int set);
-version SUNWprivate_1.0
-end
-
-function __ns_ldap_LoadConfiguration
-include "../../common/ns_sldap.h"
-declaration ns_ldap_error_t *__ns_ldap_LoadConfiguration();
-version SUNWprivate_1.0
-exception $return == NULL
-end
-
-function __ns_ldap_LoadDoorInfo
-include "../../common/ns_sldap.h"
-declaration ns_ldap_error_t *__ns_ldap_LoadDoorInfo( \
- LineBuf *configinfo, \
- char *domainname);
-version SUNWprivate_1.0
-exception $return == NULL
-end
-
-function __ns_ldap_DumpConfiguration
-include "../../common/ns_sldap.h"
-declaration ns_ldap_error_t *__ns_ldap_DumpConfiguration( \
- char *filename);
-version SUNWprivate_1.0
-exception $return == NULL
-end
-
-function __ns_ldap_DumpLdif
-include "../../common/ns_sldap.h"
-declaration ns_ldap_error_t *__ns_ldap_DumpLdif( \
- char *filename);
-version SUNWprivate_1.0
-exception $return == NULL
-end
-
-function __ns_ldap_download
-include "../../common/ns_sldap.h"
-declaration int __ns_ldap_download( \
- const char *profilename, \
- char *serveraddr, \
- char *basedn, \
- ns_ldap_error_t **errorp);
-version SUNWprivate_1.0
-exception $return == 1
-end
-
-function __ns_ldap_trydoorcall
-include "../../common/ns_cache_door.h"
-declaration int __ns_ldap_trydoorcall( \
- ldap_data_t **dptr, \
- int *ndata, \
- int *adata);
-version SUNWprivate_1.0
-exception $return == NULL
-end
-
-function __ns_ldap_print_config
-include "../../common/ns_sldap.h"
-declaration ns_ldap_error_t *__ns_ldap_print_config(int verbose);
-version SUNWprivate_1.0
-exception $return == NULL
-end
-
-function __ns_ldap_default_config
-include "../../common/ns_sldap.h"
-declaration void __ns_ldap_default_config();
-version SUNWprivate_1.0
-end
-
-function __ns_ldap_cache_ping
-include "../../common/ns_sldap.h"
-declaration int __ns_ldap_cache_ping();
-version SUNWprivate_1.0
-end
-
-function __ns_ldap_getServiceAuthMethods
-include "../../common/ns_sldap.h"
-declaration int __ns_ldap_getServiceAuthMethods( \
- const char *service, \
- ns_auth_t ***auth, \
- ns_ldap_error_t **errorp);
-version SUNWprivate_1.0
-end
-
-function __ns_ldap_getSearchDescriptors
-include "../../common/ns_sldap.h"
-declaration int __ns_ldap_getSearchDescriptors( \
- const char *service, \
- ns_ldap_search_desc_t ***desc, \
- ns_ldap_error_t **errorp);
-version SUNWprivate_1.0
-end
-
-function __ns_ldap_freeSearchDescriptors
-include "../../common/ns_sldap.h"
-declaration int __ns_ldap_freeSearchDescriptors( \
- ns_ldap_search_desc_t ***desc);
-version SUNWprivate_1.0
-end
-
-function __ns_ldap_getAttributeMaps
-include "../../common/ns_sldap.h"
-declaration int __ns_ldap_getAttributeMaps( \
- const char *service, \
- ns_ldap_attribute_map_t ***maps, \
- ns_ldap_error_t **errorp);
-version SUNWprivate_1.0
-end
-
-function __ns_ldap_freeAttributeMaps
-include "../../common/ns_sldap.h"
-declaration int __ns_ldap_freeAttributeMaps( \
- ns_ldap_attribute_map_t ***maps);
-version SUNWprivate_1.0
-end
-
-function __ns_ldap_getMappedAttributes
-include "../../common/ns_sldap.h"
-declaration char **__ns_ldap_getMappedAttributes( \
- const char *service, \
- const char *origAttribute);
-version SUNWprivate_1.0
-end
-
-function __ns_ldap_getOrigAttribute
-include "../../common/ns_sldap.h"
-declaration char **__ns_ldap_getOrigAttribute( \
- const char *service, \
- const char *mappedAttribute);
-version SUNWprivate_1.0
-end
-
-function __ns_ldap_getObjectClassMaps
-include "../../common/ns_sldap.h"
-declaration int __ns_ldap_getObjectClassMaps( \
- const char *service, \
- ns_ldap_objectclass_map_t ***maps, \
- ns_ldap_error_t **errorp);
-version SUNWprivate_1.0
-end
-
-function __ns_ldap_freeObjectClassMaps
-include "../../common/ns_sldap.h"
-declaration int __ns_ldap_freeObjectClassMaps( \
- ns_ldap_objectclass_map_t ***maps);
-version SUNWprivate_1.0
-end
-
-function __ns_ldap_getMappedObjectClass
-include "../../common/ns_sldap.h"
-declaration char **__ns_ldap_getMappedObjectClass( \
- const char *service, \
- const char *origObjectClass);
-version SUNWprivate_1.0
-end
-
-function __ns_ldap_getOrigObjectClass
-include "../../common/ns_sldap.h"
-declaration char **__ns_ldap_getOrigObjectClass( \
- const char *service, \
- const char *mappedObjectClass);
-version SUNWprivate_1.0
-end
-
-function __ns_ldap_getParamType
-include "../../common/ns_sldap.h"
-declaration int __ns_ldap_getParamType( \
- const char *value, \
- ParamIndexType *type);
-version SUNWprivate_1.0
-exception $return == -1
-end
-
-function __ns_ldap_make_config
-include "../../common/ns_sldap.h"
-include "../../common/ns_internal.h"
-declaration ns_config_t *__ns_ldap_make_config( \
- ns_ldap_result_t *result);
-version SUNWprivate_1.0
-exception $return == NULL
-end
-
-function __s_api_init_config
-include "../../common/ns_sldap.h"
-include "../../common/ns_internal.h"
-declaration void __s_api_init_config( \
- ns_config_t *ptr);
-version SUNWprivate_1.0
-end
-
-function __s_api_getServers
-include "../../common/ns_sldap.h"
-include "../../common/ns_internal.h"
-declaration int __s_api_getServers( \
- char *** servers, \
- ns_ldap_error_t ** error);
-version SUNWprivate_1.0
-exception $return == -1
-end
-
-function __s_api_destroy_config
-include "../../common/ns_sldap.h"
-include "../../common/ns_internal.h"
-declaration void __s_api_destroy_config( \
- ns_config_t *ptr);
-version SUNWprivate_1.0
-end
-
-function __ns_ldap_setParamValue
-include "../../common/ns_sldap.h"
-include "../../common/ns_internal.h"
-declaration int __ns_ldap_setParamValue( \
- ns_config_t *ptr, \
- const ParamIndexType type, \
- const void *data, \
- ns_ldap_error_t **error);
-version SUNWprivate_1.0
-exception $return == -1
-end
-
-function __s_api_prepend_automountmapname_to_dn
-include "../../common/ns_sldap.h"
-include "../../common/ns_internal.h"
-declaration int __s_api_prepend_automountmapname_to_dn( \
- const char *service, \
- char **dn, \
- ns_ldap_error_t **errorp);
-version SUNWprivate_1.0
-exception $return == -1
-end
-
-function __s_api_free2dArray
-include "../../common/ns_sldap.h"
-include "../../common/ns_internal.h"
-declaration void __s_api_free2dArray( \
- char **inarray);
-version SUNWprivate_1.0
-end
-
-function __s_api_crosscheck
-include "../../common/ns_sldap.h"
-include "../../common/ns_internal.h"
-declaration ns_parse_status __s_api_crosscheck( \
- ns_config_t *ptr, \
- char *errstr, \
- int check_dn);
-version SUNWprivate_1.0
-exception $return == -1
-end
-
-function __s_api_get_canonical_name
-include "../../common/ns_sldap.h"
-include "../../common/ns_internal.h"
-declaration char * __s_api_get_canonical_name( \
- ns_ldap_entry_t *entry, \
- ns_ldap_attr_t *attrptr, \
- int case_ignore);
-version SUNWprivate_1.1
-exception $return == NULL
-end
-
-function __ns_ldap_getAcctMgmt
-include "../../common/ns_sldap.h"
-include "../../common/ns_internal.h"
-declaration int __ns_ldap_getAcctMgmt( \
- const char *user, \
- AcctUsableResponse_t *acctResp);
-version SUNWprivate_1.1
-exception $return == -1
-end
diff --git a/usr/src/lib/libsldap/spec/sparc/Makefile b/usr/src/lib/libsldap/spec/sparc/Makefile
deleted file mode 100644
index 1c214efff5..0000000000
--- a/usr/src/lib/libsldap/spec/sparc/Makefile
+++ /dev/null
@@ -1,45 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libsldap/spec/sparc/Makefile
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-sparc_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libsldap/spec/sparcv9/Makefile b/usr/src/lib/libsldap/spec/sparcv9/Makefile
deleted file mode 100644
index aadda75391..0000000000
--- a/usr/src/lib/libsldap/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,46 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libsldap/spec/sparcv9/Makefile
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-sparcv9_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libsldap/spec/versions b/usr/src/lib/libsldap/spec/versions
deleted file mode 100644
index d8ec684e68..0000000000
--- a/usr/src/lib/libsldap/spec/versions
+++ /dev/null
@@ -1,39 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-sparc {
- SUNWprivate_1.1: {SUNWprivate_1.0};
-}
-sparcv9 {
- SUNWprivate_1.1: {SUNWprivate_1.0};
-}
-i386 {
- SUNWprivate_1.1: {SUNWprivate_1.0};
-}
-amd64 {
- SUNWprivate_1.1: {SUNWprivate_1.0};
-}
diff --git a/usr/src/lib/libslp/Makefile b/usr/src/lib/libslp/Makefile
index fa78f1fdea..77b05be5b8 100644
--- a/usr/src/lib/libslp/Makefile
+++ b/usr/src/lib/libslp/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,15 +19,17 @@
# CDDL HEADER END
#
#
-#ident "%Z%%M% %I% %E% SMI"
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-# Copyright (c) 1999, by Sun Microsystems, Inc.
-# All rights reserved.
+# ident "%Z%%M% %I% %E% SMI"
#
+
include $(SRC)/Makefile.master
SLP_COMPONENTS= javalib etc
-SUBDIRS= spec .WAIT $(SLP_COMPONENTS) $(MACH) $(BUILD64) $(MACH64)
+SUBDIRS = $(SLP_COMPONENTS) $(MACH)
+$(BUILD64)SUBDIRS += $(MACH64)
# include library definitions
include ../Makefile.lib
@@ -73,7 +74,7 @@ install_h: $(ROOTHDRS)
check: $(CHECKHDRS)
-$(MACH) $(MACH64) spec $(SLP_COMPONENTS): FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
diff --git a/usr/src/lib/libslp/Makefile.com b/usr/src/lib/libslp/Makefile.com
index 991787a315..c7b8fa21b8 100644
--- a/usr/src/lib/libslp/Makefile.com
+++ b/usr/src/lib/libslp/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,7 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
@@ -43,7 +42,6 @@ LDLIBS += -lc -lnsl -lsocket
$(LINTLIB):= SRCS = $(SRCDIR)/$(LINTSRC)
SRCDIR = ../clib
-SPECMAPFILE = $(MAPDIR)/mapfile
CFLAGS += $(CCVERBOSE)
CPPFLAGS += -D_REENTRANT -I../clib -I$(JAVA_ROOT)/include \
diff --git a/usr/src/lib/libslp/amd64/Makefile b/usr/src/lib/libslp/amd64/Makefile
index 38f51189f5..d50a21bdb0 100644
--- a/usr/src/lib/libslp/amd64/Makefile
+++ b/usr/src/lib/libslp/amd64/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-MAPDIR= ../spec/amd64
-
include ../Makefile.com
include ../../Makefile.lib.64
diff --git a/usr/src/lib/libslp/clib/mapfile-vers b/usr/src/lib/libslp/clib/mapfile-vers
new file mode 100644
index 0000000000..94649ea895
--- /dev/null
+++ b/usr/src/lib/libslp/clib/mapfile-vers
@@ -0,0 +1,54 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNW_1.1 {
+ global:
+ SLPClose;
+ SLPDelAttrs;
+ SLPDereg;
+ SLPEscape;
+ SLPFindAttrs;
+ SLPFindScopes;
+ SLPFindSrvs;
+ SLPFindSrvTypes;
+ SLPFree;
+ SLPGetProperty;
+ SLPGetRefreshInterval;
+ SLPOpen;
+ SLPParseSrvURL;
+ SLPReg;
+ SLPSetProperty;
+ slp_strerror;
+ SLPUnescape;
+};
+
+SUNWprivate_1.1 {
+ global:
+ Java_com_sun_slp_Syslog_syslog;
+ local:
+ *;
+};
diff --git a/usr/src/lib/libslp/i386/Makefile b/usr/src/lib/libslp/i386/Makefile
index 24558151a9..2a944b0b43 100644
--- a/usr/src/lib/libslp/i386/Makefile
+++ b/usr/src/lib/libslp/i386/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,12 @@
# CDDL HEADER END
#
#
-#ident "%Z%%M% %I% %E% SMI"
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-# Copyright (c) 1998, by Sun Microsystems, Inc.
-# All rights reserved.
+# ident "%Z%%M% %I% %E% SMI"
#
-MAPDIR= ../spec/i386
-
include ../Makefile.com
.KEEP_STATE:
diff --git a/usr/src/lib/libslp/sparc/Makefile b/usr/src/lib/libslp/sparc/Makefile
index 1a02ffeea6..2a944b0b43 100644
--- a/usr/src/lib/libslp/sparc/Makefile
+++ b/usr/src/lib/libslp/sparc/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,12 @@
# CDDL HEADER END
#
#
-#ident "%Z%%M% %I% %E% SMI"
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-# Copyright (c) 1998, by Sun Microsystems, Inc.
-# All rights reserved.
+# ident "%Z%%M% %I% %E% SMI"
#
-MAPDIR= ../spec/sparc
-
include ../Makefile.com
.KEEP_STATE:
diff --git a/usr/src/lib/libslp/sparcv9/Makefile b/usr/src/lib/libslp/sparcv9/Makefile
index 9d4f243dcb..d50a21bdb0 100644
--- a/usr/src/lib/libslp/sparcv9/Makefile
+++ b/usr/src/lib/libslp/sparcv9/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,12 @@
# CDDL HEADER END
#
#
-#ident "%Z%%M% %I% %E% SMI"
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-# Copyright (c) 1998, by Sun Microsystems, Inc.
-# All rights reserved.
+# ident "%Z%%M% %I% %E% SMI"
#
-MAPDIR= ../spec/sparcv9
-
include ../Makefile.com
include ../../Makefile.lib.64
diff --git a/usr/src/lib/libslp/spec/Makefile b/usr/src/lib/libslp/spec/Makefile
deleted file mode 100644
index 644e7bb0b1..0000000000
--- a/usr/src/lib/libslp/spec/Makefile
+++ /dev/null
@@ -1,30 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libslp/spec/Makefile
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/libslp/spec/Makefile.targ b/usr/src/lib/libslp/spec/Makefile.targ
deleted file mode 100644
index d930d83367..0000000000
--- a/usr/src/lib/libslp/spec/Makefile.targ
+++ /dev/null
@@ -1,37 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libslp/spec/Makefile.targ
-
-LIBRARY = libslp.a
-VERS = .1
-
-OBJECTS = slp.o
-
-SPECCPP = -I$(JAVA_ROOT)/include -I$(JAVA_ROOT)/include/solaris
-
-lint:
diff --git a/usr/src/lib/libslp/spec/amd64/Makefile b/usr/src/lib/libslp/spec/amd64/Makefile
deleted file mode 100644
index 5dd1b7240f..0000000000
--- a/usr/src/lib/libslp/spec/amd64/Makefile
+++ /dev/null
@@ -1,42 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#amd64_C_PICFLAGS = $(amd64_C_BIGPICFLAGS)
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libslp/spec/i386/Makefile b/usr/src/lib/libslp/spec/i386/Makefile
deleted file mode 100644
index 4f14ba49ae..0000000000
--- a/usr/src/lib/libslp/spec/i386/Makefile
+++ /dev/null
@@ -1,42 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libslp/spec/i386/Makefile
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#i386_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libslp/spec/slp.spec b/usr/src/lib/libslp/spec/slp.spec
deleted file mode 100644
index 99ad649858..0000000000
--- a/usr/src/lib/libslp/spec/slp.spec
+++ /dev/null
@@ -1,171 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libslp/spec/slp.spec
-
-function SLPOpen
-include <slp.h>
-declaration SLPError SLPOpen(const char *pcLang, \
- SLPBoolean isAsync, \
- SLPHandle *phSLP)
-version SUNW_1.1
-end
-
-function SLPClose
-include <slp.h>
-declaration void SLPClose(SLPHandle hSLP)
-version SUNW_1.1
-end
-
-function SLPReg
-declaration SLPError SLPReg(SLPHandle hSLP, \
- const char *pcSrvURL, \
- const unsigned short usLifetime, \
- const char *pcSrvType, \
- const char *pcAttrs, \
- SLPBoolean fresh, \
- SLPRegReport callback, \
- void *pvCookie)
-include <slp.h>
-version SUNW_1.1
-end
-
-function SLPDereg
-declaration SLPError SLPDereg(SLPHandle hSLP, \
- const char *pcURL, \
- SLPRegReport callback, \
- void *pvCookie)
-include <slp.h>
-version SUNW_1.1
-end
-
-function SLPDelAttrs
-declaration SLPError SLPDelAttrs(SLPHandle hSLP, \
- const char *pcURL, \
- const char *pcAttrs, \
- SLPRegReport callback, \
- void *pvCookie)
-include <slp.h>
-version SUNW_1.1
-end
-
-function SLPFindSrvTypes
-declaration SLPError SLPFindSrvTypes(SLPHandle hSLP, \
- const char *pcNamingAuthority, \
- const char *pcScopeList, \
- SLPSrvTypeCallback callback, \
- void *pvCookie)
-include <slp.h>
-version SUNW_1.1
-end
-
-function SLPFindSrvs
-declaration SLPError SLPFindSrvs(SLPHandle hSLP, \
- const char *pcServiceType, \
- const char *pcScopeList, \
- const char *pcSearchFilter, \
- SLPSrvURLCallback callback, \
- void *pvCookie)
-include <slp.h>
-version SUNW_1.1
-end
-
-function SLPFindAttrs
-declaration SLPError SLPFindAttrs(SLPHandle hSLP, \
- const char *pcURL, \
- const char *pcScopeList, \
- const char *pcAttrIds, \
- SLPAttrCallback callback, \
- void *pvCookie)
-include <slp.h>
-version SUNW_1.1
-end
-
-function SLPGetRefreshInterval
-declaration unsigned short SLPGetRefreshInterval()
-include <slp.h>
-version SUNW_1.1
-end
-
-function SLPFindScopes
-declaration SLPError SLPFindScopes(SLPHandle hSLP, char **ppcScopeList)
-include <slp.h>
-version SUNW_1.1
-end
-
-function SLPParseSrvURL
-declaration SLPError SLPParseSrvURL(char *pcSrvURL, \
- SLPSrvURL **ppSrvURL)
-include <slp.h>
-version SUNW_1.1
-end
-
-function SLPFree
-declaration void SLPFree(void *pvMem)
-version SUNW_1.1
-end
-
-function SLPEscape
-declaration SLPError SLPEscape(const char *pcInbuf, \
- char **ppcOutBuf, \
- SLPBoolean isTag)
-include <slp.h>
-version SUNW_1.1
-end
-
-function SLPUnescape
-declaration SLPError SLPUnescape(const char *pcInbuf, \
- char **ppcOutbuf, \
- SLPBoolean isTag)
-include <slp.h>
-version SUNW_1.1
-end
-
-function SLPGetProperty
-declaration const char *SLPGetProperty(const char *pcName)
-exception $return == NULL
-version SUNW_1.1
-end
-
-function SLPSetProperty
-declaration void SLPSetProperty(const char *pcName, const char *pcValue)
-version SUNW_1.1
-end
-
-function slp_strerror
-declaration const char *slp_strerror(SLPError err_code)
-include <slp.h>
-version SUNW_1.1
-end
-
-function Java_com_sun_slp_Syslog_syslog
-declaration void Java_com_sun_slp_Syslog_syslog(JNIEnv *env, \
- jobject jobj, \
- jint priority, \
- jstring jmsg)
-include <jni.h>
-version SUNWprivate_1.1
-end
diff --git a/usr/src/lib/libslp/spec/sparc/Makefile b/usr/src/lib/libslp/spec/sparc/Makefile
deleted file mode 100644
index 1a7be71e2a..0000000000
--- a/usr/src/lib/libslp/spec/sparc/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libslp/spec/sparc/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#sparc_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libslp/spec/sparcv9/Makefile b/usr/src/lib/libslp/spec/sparcv9/Makefile
deleted file mode 100644
index db0c16e5d8..0000000000
--- a/usr/src/lib/libslp/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,43 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libslp/spec/sparcv9/Makefile
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#sparcv9_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libslp/spec/versions b/usr/src/lib/libslp/spec/versions
deleted file mode 100644
index 38a2cfc77a..0000000000
--- a/usr/src/lib/libslp/spec/versions
+++ /dev/null
@@ -1,43 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-sparc {
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-sparcv9 {
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-i386 {
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-amd64 {
- SUNW_1.1;
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/libsmbios/Makefile b/usr/src/lib/libsmbios/Makefile
index 6869a3bc4e..065ab04fdd 100644
--- a/usr/src/lib/libsmbios/Makefile
+++ b/usr/src/lib/libsmbios/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,10 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
+#
include ../Makefile.lib
@@ -41,15 +41,13 @@ lint := TARGET = lint
.KEEP_STATE:
-all clean clobber install: spec .WAIT $(SUBDIRS)
-
-lint: $(SUBDIRS)
+all clean clobber install lint: $(SUBDIRS)
install_h: $(ROOTHDRS)
check: $(CHECKHDRS)
-spec $(SUBDIRS): FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
diff --git a/usr/src/lib/libsmbios/Makefile.com b/usr/src/lib/libsmbios/Makefile.com
index 83f112299b..176df10d8d 100644
--- a/usr/src/lib/libsmbios/Makefile.com
+++ b/usr/src/lib/libsmbios/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,10 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
+#
LIBRARY = libsmbios.a
VERS = .1
@@ -49,7 +49,7 @@ SRCS = $(COMMON_OBJS:%.o=$(COMMON_SRCDIR)/%.c) $(LIB_OBJS:%.o=../common/%.c)
LIBS = $(DYNLIB) $(LINTLIB)
SRCDIR = ../common
-SPECMAPFILE = $(MAPDIR)/mapfile
+
CLEANFILES += ../common/smb_tables.c
CPPFLAGS += -I../common -I$(COMMON_SRCDIR)
diff --git a/usr/src/lib/libsmbios/amd64/Makefile b/usr/src/lib/libsmbios/amd64/Makefile
index 7b40f7053a..c9bd26cfd3 100644
--- a/usr/src/lib/libsmbios/amd64/Makefile
+++ b/usr/src/lib/libsmbios/amd64/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,12 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
+#
-MAPDIR = ../spec/amd64
include ../Makefile.com
include ../../Makefile.lib.64
diff --git a/usr/src/lib/libsmbios/common/mapfile-vers b/usr/src/lib/libsmbios/common/mapfile-vers
new file mode 100644
index 0000000000..10a042638f
--- /dev/null
+++ b/usr/src/lib/libsmbios/common/mapfile-vers
@@ -0,0 +1,119 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNWprivate_1.1 {
+ global:
+ _smb_debug;
+ smbios_bboard_flag_desc;
+ smbios_bboard_flag_name;
+ smbios_bboard_type_desc;
+ smbios_bios_flag_desc;
+ smbios_bios_flag_name;
+ smbios_bios_xb1_desc;
+ smbios_bios_xb1_name;
+ smbios_bios_xb2_desc;
+ smbios_bios_xb2_name;
+ smbios_boot_desc;
+ smbios_buf;
+ smbios_buflen;
+ smbios_bufopen;
+ smbios_cache_assoc_desc;
+ smbios_cache_ctype_desc;
+ smbios_cache_ctype_name;
+ smbios_cache_ecc_desc;
+ smbios_cache_flag_desc;
+ smbios_cache_flag_name;
+ smbios_cache_loc_desc;
+ smbios_cache_logical_desc;
+ smbios_cache_mode_desc;
+ smbios_chassis_state_desc;
+ smbios_chassis_type_desc;
+ smbios_checksum;
+ smbios_close;
+ smbios_errmsg;
+ smbios_errno;
+ smbios_evlog_flag_desc;
+ smbios_evlog_flag_name;
+ smbios_evlog_format_desc;
+ smbios_evlog_method_desc;
+ smbios_fdopen;
+ smbios_hwsec_desc;
+ smbios_info_bboard;
+ smbios_info_bios;
+ smbios_info_boot;
+ smbios_info_cache;
+ smbios_info_chassis;
+ smbios_info_common;
+ smbios_info_eventlog;
+ smbios_info_hwsec;
+ smbios_info_ipmi;
+ smbios_info_lang;
+ smbios_info_memarray;
+ smbios_info_memarrmap;
+ smbios_info_memdevice;
+ smbios_info_memdevmap;
+ smbios_info_obdevs;
+ smbios_info_port;
+ smbios_info_processor;
+ smbios_info_slot;
+ smbios_info_smbios;
+ smbios_info_strtab;
+ smbios_info_system;
+ smbios_ipmi_flag_desc;
+ smbios_ipmi_flag_name;
+ smbios_ipmi_type_desc;
+ smbios_iter;
+ smbios_lookup_id;
+ smbios_memarray_ecc_desc;
+ smbios_memarray_loc_desc;
+ smbios_memarray_use_desc;
+ smbios_memdevice_flag_desc;
+ smbios_memdevice_flag_name;
+ smbios_memdevice_form_desc;
+ smbios_memdevice_type_desc;
+ smbios_open;
+ smbios_port_conn_desc;
+ smbios_port_type_desc;
+ smbios_processor_family_desc;
+ smbios_processor_status_desc;
+ smbios_processor_type_desc;
+ smbios_processor_upgrade_desc;
+ smbios_slot_ch1_desc;
+ smbios_slot_ch1_name;
+ smbios_slot_ch2_desc;
+ smbios_slot_ch2_name;
+ smbios_slot_length_desc;
+ smbios_slot_type_desc;
+ smbios_slot_usage_desc;
+ smbios_slot_width_desc;
+ smbios_system_wakeup_desc;
+ smbios_type_desc;
+ smbios_type_name;
+ smbios_write;
+ local:
+ *;
+};
diff --git a/usr/src/lib/libsmbios/i386/Makefile b/usr/src/lib/libsmbios/i386/Makefile
index 5b2f167595..a333224278 100644
--- a/usr/src/lib/libsmbios/i386/Makefile
+++ b/usr/src/lib/libsmbios/i386/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,12 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
+#
-MAPDIR = ../spec/i386
include ../Makefile.com
install: all $(ROOTLIBS) $(ROOTLINKS) $(ROOTLINT)
diff --git a/usr/src/lib/libsmbios/sparc/Makefile b/usr/src/lib/libsmbios/sparc/Makefile
index dca1669f5d..a333224278 100644
--- a/usr/src/lib/libsmbios/sparc/Makefile
+++ b/usr/src/lib/libsmbios/sparc/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,12 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
+#
-MAPDIR = ../spec/sparc
include ../Makefile.com
install: all $(ROOTLIBS) $(ROOTLINKS) $(ROOTLINT)
diff --git a/usr/src/lib/libsmbios/sparcv9/Makefile b/usr/src/lib/libsmbios/sparcv9/Makefile
index 0f01536cf7..c9bd26cfd3 100644
--- a/usr/src/lib/libsmbios/sparcv9/Makefile
+++ b/usr/src/lib/libsmbios/sparcv9/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,12 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
+#
-MAPDIR = ../spec/sparcv9
include ../Makefile.com
include ../../Makefile.lib.64
diff --git a/usr/src/lib/libsmbios/spec/Makefile b/usr/src/lib/libsmbios/spec/Makefile
deleted file mode 100644
index 2cb984bfc9..0000000000
--- a/usr/src/lib/libsmbios/spec/Makefile
+++ /dev/null
@@ -1,28 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/libsmbios/spec/Makefile.targ b/usr/src/lib/libsmbios/spec/Makefile.targ
deleted file mode 100644
index 6f45581c46..0000000000
--- a/usr/src/lib/libsmbios/spec/Makefile.targ
+++ /dev/null
@@ -1,32 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-.KEEP_STATE:
-
-LIBRARY = libsmbios.a
-VERS = .1
-OBJECTS = smbios.o
diff --git a/usr/src/lib/libsmbios/spec/amd64/Makefile b/usr/src/lib/libsmbios/spec/amd64/Makefile
deleted file mode 100644
index ef98bd8314..0000000000
--- a/usr/src/lib/libsmbios/spec/amd64/Makefile
+++ /dev/null
@@ -1,35 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libsmbios/spec/i386/Makefile b/usr/src/lib/libsmbios/spec/i386/Makefile
deleted file mode 100644
index 83d6a28b73..0000000000
--- a/usr/src/lib/libsmbios/spec/i386/Makefile
+++ /dev/null
@@ -1,34 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB)
diff --git a/usr/src/lib/libsmbios/spec/smbios.spec b/usr/src/lib/libsmbios/spec/smbios.spec
deleted file mode 100644
index 3f6c32b542..0000000000
--- a/usr/src/lib/libsmbios/spec/smbios.spec
+++ /dev/null
@@ -1,374 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-data _smb_debug
-version SUNWprivate_1.1
-end
-
-function smbios_bboard_flag_desc
-version SUNWprivate_1.1
-end
-
-function smbios_bboard_flag_name
-version SUNWprivate_1.1
-end
-
-function smbios_bboard_type_desc
-version SUNWprivate_1.1
-end
-
-function smbios_bios_flag_desc
-version SUNWprivate_1.1
-end
-
-function smbios_bios_flag_name
-version SUNWprivate_1.1
-end
-
-function smbios_bios_xb1_desc
-version SUNWprivate_1.1
-end
-
-function smbios_bios_xb1_name
-version SUNWprivate_1.1
-end
-
-function smbios_bios_xb2_desc
-version SUNWprivate_1.1
-end
-
-function smbios_bios_xb2_name
-version SUNWprivate_1.1
-end
-
-function smbios_boot_desc
-version SUNWprivate_1.1
-end
-
-function smbios_buf
-version SUNWprivate_1.1
-end
-
-function smbios_buflen
-version SUNWprivate_1.1
-end
-
-function smbios_bufopen
-version SUNWprivate_1.1
-end
-
-function smbios_cache_assoc_desc
-version SUNWprivate_1.1
-end
-
-function smbios_cache_ctype_desc
-version SUNWprivate_1.1
-end
-
-function smbios_cache_ctype_name
-version SUNWprivate_1.1
-end
-
-function smbios_cache_ecc_desc
-version SUNWprivate_1.1
-end
-
-function smbios_cache_flag_desc
-version SUNWprivate_1.1
-end
-
-function smbios_cache_flag_name
-version SUNWprivate_1.1
-end
-
-function smbios_cache_loc_desc
-version SUNWprivate_1.1
-end
-
-function smbios_cache_logical_desc
-version SUNWprivate_1.1
-end
-
-function smbios_cache_mode_desc
-version SUNWprivate_1.1
-end
-
-function smbios_checksum
-version SUNWprivate_1.1
-end
-
-function smbios_chassis_state_desc
-version SUNWprivate_1.1
-end
-
-function smbios_chassis_type_desc
-version SUNWprivate_1.1
-end
-
-function smbios_close
-version SUNWprivate_1.1
-end
-
-function smbios_errmsg
-version SUNWprivate_1.1
-end
-
-function smbios_errno
-version SUNWprivate_1.1
-end
-
-function smbios_evlog_flag_desc
-version SUNWprivate_1.1
-end
-
-function smbios_evlog_flag_name
-version SUNWprivate_1.1
-end
-
-function smbios_evlog_format_desc
-version SUNWprivate_1.1
-end
-
-function smbios_evlog_method_desc
-version SUNWprivate_1.1
-end
-
-function smbios_fdopen
-version SUNWprivate_1.1
-end
-
-function smbios_hwsec_desc
-version SUNWprivate_1.1
-end
-
-function smbios_info_bboard
-version SUNWprivate_1.1
-end
-
-function smbios_info_bios
-version SUNWprivate_1.1
-end
-
-function smbios_info_boot
-version SUNWprivate_1.1
-end
-
-function smbios_info_cache
-version SUNWprivate_1.1
-end
-
-function smbios_info_chassis
-version SUNWprivate_1.1
-end
-
-function smbios_info_common
-version SUNWprivate_1.1
-end
-
-function smbios_info_eventlog
-version SUNWprivate_1.1
-end
-
-function smbios_info_hwsec
-version SUNWprivate_1.1
-end
-
-function smbios_info_ipmi
-version SUNWprivate_1.1
-end
-
-function smbios_info_lang
-version SUNWprivate_1.1
-end
-
-function smbios_info_memarray
-version SUNWprivate_1.1
-end
-
-function smbios_info_memarrmap
-version SUNWprivate_1.1
-end
-
-function smbios_info_memdevice
-version SUNWprivate_1.1
-end
-
-function smbios_info_memdevmap
-version SUNWprivate_1.1
-end
-
-function smbios_info_obdevs
-version SUNWprivate_1.1
-end
-
-function smbios_info_port
-version SUNWprivate_1.1
-end
-
-function smbios_info_processor
-version SUNWprivate_1.1
-end
-
-function smbios_info_slot
-version SUNWprivate_1.1
-end
-
-function smbios_info_smbios
-version SUNWprivate_1.1
-end
-
-function smbios_info_strtab
-version SUNWprivate_1.1
-end
-
-function smbios_info_system
-version SUNWprivate_1.1
-end
-
-function smbios_ipmi_flag_desc
-version SUNWprivate_1.1
-end
-
-function smbios_ipmi_flag_name
-version SUNWprivate_1.1
-end
-
-function smbios_ipmi_type_desc
-version SUNWprivate_1.1
-end
-
-function smbios_iter
-version SUNWprivate_1.1
-end
-
-function smbios_lookup_id
-version SUNWprivate_1.1
-end
-
-function smbios_memarray_loc_desc
-version SUNWprivate_1.1
-end
-
-function smbios_memarray_use_desc
-version SUNWprivate_1.1
-end
-
-function smbios_memarray_ecc_desc
-version SUNWprivate_1.1
-end
-
-function smbios_memdevice_flag_desc
-version SUNWprivate_1.1
-end
-
-function smbios_memdevice_flag_name
-version SUNWprivate_1.1
-end
-
-function smbios_memdevice_form_desc
-version SUNWprivate_1.1
-end
-
-function smbios_memdevice_type_desc
-version SUNWprivate_1.1
-end
-
-function smbios_open
-version SUNWprivate_1.1
-end
-
-function smbios_port_conn_desc
-version SUNWprivate_1.1
-end
-
-function smbios_port_type_desc
-version SUNWprivate_1.1
-end
-
-function smbios_processor_family_desc
-version SUNWprivate_1.1
-end
-
-function smbios_processor_status_desc
-version SUNWprivate_1.1
-end
-
-function smbios_processor_type_desc
-version SUNWprivate_1.1
-end
-
-function smbios_processor_upgrade_desc
-version SUNWprivate_1.1
-end
-
-function smbios_slot_ch1_desc
-version SUNWprivate_1.1
-end
-
-function smbios_slot_ch1_name
-version SUNWprivate_1.1
-end
-
-function smbios_slot_ch2_desc
-version SUNWprivate_1.1
-end
-
-function smbios_slot_ch2_name
-version SUNWprivate_1.1
-end
-
-function smbios_slot_length_desc
-version SUNWprivate_1.1
-end
-
-function smbios_slot_type_desc
-version SUNWprivate_1.1
-end
-
-function smbios_slot_usage_desc
-version SUNWprivate_1.1
-end
-
-function smbios_slot_width_desc
-version SUNWprivate_1.1
-end
-
-function smbios_system_wakeup_desc
-version SUNWprivate_1.1
-end
-
-function smbios_type_desc
-version SUNWprivate_1.1
-end
-
-function smbios_type_name
-version SUNWprivate_1.1
-end
-
-function smbios_write
-version SUNWprivate_1.1
-end
diff --git a/usr/src/lib/libsmbios/spec/sparc/Makefile b/usr/src/lib/libsmbios/spec/sparc/Makefile
deleted file mode 100644
index 375f0ff614..0000000000
--- a/usr/src/lib/libsmbios/spec/sparc/Makefile
+++ /dev/null
@@ -1,34 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB)
diff --git a/usr/src/lib/libsmbios/spec/sparcv9/Makefile b/usr/src/lib/libsmbios/spec/sparcv9/Makefile
deleted file mode 100644
index ef98bd8314..0000000000
--- a/usr/src/lib/libsmbios/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,35 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libsmbios/spec/versions b/usr/src/lib/libsmbios/spec/versions
deleted file mode 100644
index 43aa0fe433..0000000000
--- a/usr/src/lib/libsmbios/spec/versions
+++ /dev/null
@@ -1,42 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-i386 {
- SUNWprivate_1.1;
-}
-
-amd64 {
- SUNWprivate_1.1;
-}
-
-sparc {
- SUNWprivate_1.1;
-}
-
-sparcv9 {
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/libsmedia/library/Makefile b/usr/src/lib/libsmedia/library/Makefile
index c1ab69ccaa..1ee16b5b19 100644
--- a/usr/src/lib/libsmedia/library/Makefile
+++ b/usr/src/lib/libsmedia/library/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,19 +19,16 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libsmedia/library/Makefile
include ../../Makefile.lib
-sparc_ARCHITECTURES = sparc sparcv9
-i386_ARCHITECTURES = i386 $(BUILD64) amd64
-
-SUBDIRS= spec .WAIT $($(MACH)_ARCHITECTURES)
+SUBDIRS = $(MACH)
+$(BUILD64)SUBDIRS += $(MACH64)
all := TARGET= all
clean := TARGET= clean
@@ -74,7 +70,7 @@ install_h: $(ROOTHDRS)
check: $(CHECKHDRS)
-$(MACH) $(MACH64) spec : FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
catalog: $(MSGDOMAIN) $(POFILE)
diff --git a/usr/src/lib/libsmedia/library/Makefile.com b/usr/src/lib/libsmedia/library/Makefile.com
index b52e218688..afd20c4864 100644
--- a/usr/src/lib/libsmedia/library/Makefile.com
+++ b/usr/src/lib/libsmedia/library/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,7 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
@@ -36,8 +35,8 @@ DERIVED_FILES = smed.h smed_clnt.c smed_xdr.c
# include library definitions
include ../../../Makefile.lib
-MAPFILE= $(MAPDIR)/mapfile
-SRCS= $(OBJECTS:%.o=../common/%.c)
+SRCDIR = ../common
+
# We can't lint the rpcgen-generated files.
# (Well, we could, but we couldn't fix them.)
lintcheck := SRCS = ../common/l_generic.c ../common/l_misc.c
@@ -54,7 +53,6 @@ CLEANFILES += $(DERIVED_FILES:%=../common/%)
CPPFLAGS += -D_REENTRANT -I$(SRC)/cmd/smserverd/
CFLAGS += $(CCVERBOSE)
CFLAGS64 += $(CCVERBOSE)
-DYNFLAGS += -M $(MAPFILE)
LDLIBS += -lnsl -lc
@@ -64,11 +62,6 @@ all: $(LIBS)
lint: lintcheck
-$(DYNLIB): $(MAPFILE)
-
-$(MAPFILE):
- @cd $(MAPDIR); $(MAKE) mapfile
-
# include library targets
include ../../../Makefile.targ
diff --git a/usr/src/lib/libsmedia/library/amd64/Makefile b/usr/src/lib/libsmedia/library/amd64/Makefile
index 20dc45f385..4b07c3a63e 100644
--- a/usr/src/lib/libsmedia/library/amd64/Makefile
+++ b/usr/src/lib/libsmedia/library/amd64/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-MAPDIR= ../spec/amd64
-
include ../Makefile.com
include ../../../Makefile.lib.64
diff --git a/usr/src/lib/libsmedia/library/common/mapfile-vers b/usr/src/lib/libsmedia/library/common/mapfile-vers
new file mode 100644
index 0000000000..256921105b
--- /dev/null
+++ b/usr/src/lib/libsmedia/library/common/mapfile-vers
@@ -0,0 +1,47 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNWprivate_1.1 {
+ global:
+ smedia_check_format_status;
+ smedia_eject;
+ smedia_format;
+ smedia_format_track;
+ smedia_free_device_info;
+ smedia_get_device_info;
+ smedia_get_handle;
+ smedia_get_medium_property;
+ smedia_get_protection_status;
+ smedia_raw_read;
+ smedia_raw_write;
+ smedia_reassign_block;
+ smedia_release_handle;
+ smedia_set_protection_status;
+ smedia_uscsi_cmd;
+ local:
+ *;
+};
diff --git a/usr/src/lib/libsmedia/library/i386/Makefile b/usr/src/lib/libsmedia/library/i386/Makefile
index 0e06bf4e32..50cbcb01b9 100644
--- a/usr/src/lib/libsmedia/library/i386/Makefile
+++ b/usr/src/lib/libsmedia/library/i386/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright (c) 1999 by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libmedia/library/i386/Makefile
-
-MAPDIR= ../spec/i386
include ../Makefile.com
diff --git a/usr/src/lib/libsmedia/library/sparc/Makefile b/usr/src/lib/libsmedia/library/sparc/Makefile
index f596f4ee3c..6cfe59363b 100644
--- a/usr/src/lib/libsmedia/library/sparc/Makefile
+++ b/usr/src/lib/libsmedia/library/sparc/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libmedia/library/sparc/Makefile
-
-MAPDIR= ../spec/sparc
include ../Makefile.com
diff --git a/usr/src/lib/libsmedia/library/sparcv9/Makefile b/usr/src/lib/libsmedia/library/sparcv9/Makefile
index bca5a2faf3..4b07c3a63e 100644
--- a/usr/src/lib/libsmedia/library/sparcv9/Makefile
+++ b/usr/src/lib/libsmedia/library/sparcv9/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libmedia/library/sparc/Makefile
-
-MAPDIR= ../spec/sparcv9
include ../Makefile.com
include ../../../Makefile.lib.64
diff --git a/usr/src/lib/libsmedia/library/spec/Makefile b/usr/src/lib/libsmedia/library/spec/Makefile
deleted file mode 100644
index 4b2caa30d7..0000000000
--- a/usr/src/lib/libsmedia/library/spec/Makefile
+++ /dev/null
@@ -1,30 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libsmedia/library/spec/Makefile
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/libsmedia/library/spec/Makefile.targ b/usr/src/lib/libsmedia/library/spec/Makefile.targ
deleted file mode 100644
index cde8e5c6f5..0000000000
--- a/usr/src/lib/libsmedia/library/spec/Makefile.targ
+++ /dev/null
@@ -1,35 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libsmedia/library/spec/Makefile.targ
-
-LIBRARY = libsmedia.a
-VERS = .1
-
-OBJECTS = smedia.o
-
-SPECCPP =
diff --git a/usr/src/lib/libsmedia/library/spec/amd64/Makefile b/usr/src/lib/libsmedia/library/spec/amd64/Makefile
deleted file mode 100644
index a1ab35dfb4..0000000000
--- a/usr/src/lib/libsmedia/library/spec/amd64/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#amd64_C_PICFLAGS = $(amd64_C_BIGPICFLAGS)
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libsmedia/library/spec/i386/Makefile b/usr/src/lib/libsmedia/library/spec/i386/Makefile
deleted file mode 100644
index a18cc99dd4..0000000000
--- a/usr/src/lib/libsmedia/library/spec/i386/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libsmedia/library/spec/i386/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#i386_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libsmedia/library/spec/smedia.spec b/usr/src/lib/libsmedia/library/spec/smedia.spec
deleted file mode 100644
index 01ba22b778..0000000000
--- a/usr/src/lib/libsmedia/library/spec/smedia.spec
+++ /dev/null
@@ -1,132 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libsmedia/library/spec/smedia.spec
-
-function smedia_get_device_info
-declaration int32_t smedia_get_device_info(smedia_handle_t handle, smdevice_info_t *smdevinfop)
-version SUNWprivate_1.1
-include "../../inc/smedia.h"
-errno EIO
-end
-
-function smedia_free_device_info
-declaration int32_t smedia_free_device_info(smedia_handle_t handle, smdevice_info_t *smdevinfop)
-version SUNWprivate_1.1
-include "../../inc/smedia.h"
-errno EIO
-end
-
-function smedia_get_medium_property
-declaration int32_t smedia_get_medium_property(smedia_handle_t handle, smmedium_prop_t *smpropp)
-version SUNWprivate_1.1
-include "../../inc/smedia.h"
-errno EIO
-end
-
-function smedia_get_protection_status
-declaration int32_t smedia_get_protection_status(smedia_handle_t handle, smwp_state_t *wpstatep)
-version SUNWprivate_1.1
-include "../../inc/smedia.h"
-errno EIO
-end
-
-function smedia_set_protection_status
-declaration int32_t smedia_set_protection_status(smedia_handle_t handle, smwp_state_t *wpstatep)
-version SUNWprivate_1.1
-include "../../inc/smedia.h"
-errno EIO
-end
-
-function smedia_raw_read
-declaration size_t smedia_raw_read(smedia_handle_t handle, diskaddr_t blockno, caddr_t buffer, size_t nbytes)
-version SUNWprivate_1.1
-include "../../inc/smedia.h"
-errno EIO
-end
-
-function smedia_raw_write
-declaration size_t smedia_raw_write(smedia_handle_t handle, diskaddr_t blockno, caddr_t buffer, size_t nbytes)
-version SUNWprivate_1.1
-include "../../inc/smedia.h"
-errno EIO
-end
-
-function smedia_format
-declaration int32_t smedia_format(smedia_handle_t handle, uint32_t flavor, uint32_t mode)
-version SUNWprivate_1.1
-include "../../inc/smedia.h"
-errno EIO
-end
-
-function smedia_check_format_status
-declaration int32_t smedia_check_format_status(smedia_handle_t handle)
-version SUNWprivate_1.1
-include "../../inc/smedia.h"
-errno EIO
-end
-
-function smedia_format_track
-declaration int32_t smedia_format_track(smedia_handle_t handle, uint_t trackno, uint_t head, uint_t density)
-version SUNWprivate_1.1
-include "../../inc/smedia.h"
-errno EIO
-end
-
-function smedia_eject
-declaration int32_t smedia_eject(smedia_handle_t handle)
-version SUNWprivate_1.1
-include "../../inc/smedia.h"
-errno EIO
-end
-
-function smedia_reassign_block
-declaration int32_t smedia_reassign_block(smedia_handle_t handle, diskaddr_t blockno);
-version SUNWprivate_1.1
-include "../../inc/smedia.h"
-errno EIO
-end
-
-function smedia_get_handle
-declaration smedia_handle_t smedia_get_handle(int);
-version SUNWprivate_1.1
-include "../../inc/smedia.h"
-errno EIO
-end
-
-function smedia_release_handle
-declaration int32_t smedia_release_handle(smedia_handle_t handle);
-version SUNWprivate_1.1
-include "../../inc/smedia.h"
-errno EIO
-end
-
-function smedia_uscsi_cmd
-declaration int32_t smedia_uscsi_cmd(smedia_handle_t handle, struct uscsi_cmd *cmd);
-version SUNWprivate_1.1
-include "../../inc/smedia.h"
-errno EIO
-end
diff --git a/usr/src/lib/libsmedia/library/spec/sparc/Makefile b/usr/src/lib/libsmedia/library/spec/sparc/Makefile
deleted file mode 100644
index 97dfe89e10..0000000000
--- a/usr/src/lib/libsmedia/library/spec/sparc/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libsmedia/library/spec/sparc/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#sparc_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libsmedia/library/spec/sparcv9/Makefile b/usr/src/lib/libsmedia/library/spec/sparcv9/Makefile
deleted file mode 100644
index 035764c21b..0000000000
--- a/usr/src/lib/libsmedia/library/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,45 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libsmedia/library/spec/sparcv9/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#sparc_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libsmedia/library/spec/versions b/usr/src/lib/libsmedia/library/spec/versions
deleted file mode 100644
index a542a0f7fc..0000000000
--- a/usr/src/lib/libsmedia/library/spec/versions
+++ /dev/null
@@ -1,39 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-sparc {
- SUNWprivate_1.1;
-}
-sparcv9 {
- SUNWprivate_1.1;
-}
-i386 {
- SUNWprivate_1.1;
-}
-amd64 {
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/libsmedia/plugins/Makefile.com b/usr/src/lib/libsmedia/plugins/Makefile.com
index 54d571c3fe..f1fa1c19e2 100644
--- a/usr/src/lib/libsmedia/plugins/Makefile.com
+++ b/usr/src/lib/libsmedia/plugins/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,19 +19,15 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#pragma ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libsmedia/plugins/Makefile.com
-
-MAPFILE= $(MAPDIR)/mapfile
LIBS = $(DYNLIB)
CPPFLAGS += -I../inc -I$(SRC)/cmd/smserverd/
-DYNFLAGS += -M $(MAPFILE)
LDLIBS += -lc $(PLUGIN_SPECIFIC_LIB)
LINTPLUGIN = llib-$(LIBNAME).ln
@@ -45,9 +40,9 @@ PLUGINS = $(LIBS:%=$(PLUGINDIR)/%)
PLUGINS64 = $(LIBS:%=$(PLUGINDIR64)/%)
CLEANFILES= $(LINTOUT) $(LINTPLUGIN)
-CLOBBERFILES += $(MAPFILE)
-SRCS = $(OBJECTS:%.o=../common/%.c)
+SRCDIR = ../common
+
LINTFLAGS += -xu
LINTFLAGS64 += -xu
$(LINTPLUGIN) := SRCS=$(OBJECTS:%.o=../common/%.c)
@@ -58,13 +53,8 @@ LINTSRC= $(LINTPLUGIN:%.ln=%)
ROOTLINTDIR= $(ROOTLIBDIR)
ROOTLINT= $(LINTSRC:%=$(ROOTLINTDIR)/%)
-$(DYNLIB): $(MAPFILE)
-
.KEEP_STATE:
-$(MAPFILE):
- @cd $(MAPDIR); $(MAKE) mapfile
-
lint: lintcheck
objs/%.o pics/%.o: ../common/%.c
diff --git a/usr/src/lib/libsmedia/plugins/Makefile.plugin b/usr/src/lib/libsmedia/plugins/Makefile.plugin
index 9dfaf2acce..0dd6e561b6 100644
--- a/usr/src/lib/libsmedia/plugins/Makefile.plugin
+++ b/usr/src/lib/libsmedia/plugins/Makefile.plugin
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,16 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libsmedia/plugins/Makefile.plugin
-#
-# This file contains the targets and rules for plugins
-MAPFILE= $(MAPDIR)/mapfile
LIBS = $(DYNLIB)
CPPFLAGS += -I../inc -I$(SRC)/cmd/smserverd/
@@ -39,10 +34,8 @@ POFILE_SRCS = $(OBJECTS:%.o=common/%.c)
SED = /usr/bin/sed
CP = /usr/bin/cp
-i386_ARCHITECTURES = i386 $(BUILD64) amd64
-sparc_ARCHITECTURES = sparc sparcv9
-
-SUBDIRS= spec .WAIT $($(MACH)_ARCHITECTURES)
+SUBDIRS = $(MACH)
+$(BUILD64)SUBDIRS += $(MACH64)
all := TARGET= all
clean := TARGET= clean
@@ -55,7 +48,7 @@ all install clean lint: $(SUBDIRS)
clobber : $(SUBDIRS)
$(RM) -f $(POFILE)
-$(MACH) $(MACH64) spec: FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
diff --git a/usr/src/lib/libsmedia/plugins/floppy/amd64/Makefile b/usr/src/lib/libsmedia/plugins/floppy/amd64/Makefile
index 58b8e02555..fb4ba5994f 100644
--- a/usr/src/lib/libsmedia/plugins/floppy/amd64/Makefile
+++ b/usr/src/lib/libsmedia/plugins/floppy/amd64/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-MAPDIR= ../spec/amd64
-
include ../Makefile.targ
include ../../../../Makefile.lib
include ../../../../Makefile.targ
diff --git a/usr/src/lib/libsmedia/plugins/floppy/common/mapfile-vers b/usr/src/lib/libsmedia/plugins/floppy/common/mapfile-vers
new file mode 100644
index 0000000000..c23d711f40
--- /dev/null
+++ b/usr/src/lib/libsmedia/plugins/floppy/common/mapfile-vers
@@ -0,0 +1,43 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNWprivate_1.1 {
+ global:
+ _m_device_type;
+ _m_eject;
+ _m_free_device_info;
+ _m_get_device_info;
+ _m_get_media_info;
+ _m_get_media_status;
+ _m_media_format;
+ _m_media_format_track;
+ _m_raw_read;
+ _m_raw_write;
+ _m_version_no;
+ local:
+ *;
+};
diff --git a/usr/src/lib/libsmedia/plugins/floppy/i386/Makefile b/usr/src/lib/libsmedia/plugins/floppy/i386/Makefile
index ce6e9af6c8..988437ada2 100644
--- a/usr/src/lib/libsmedia/plugins/floppy/i386/Makefile
+++ b/usr/src/lib/libsmedia/plugins/floppy/i386/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright (c) 1997-2001 by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libmedia/pluggins/floppy/i386/Makefile
-
-MAPDIR= ../spec/i386
include ../Makefile.targ
include ../../../../Makefile.lib
diff --git a/usr/src/lib/libsmedia/plugins/floppy/sparc/Makefile b/usr/src/lib/libsmedia/plugins/floppy/sparc/Makefile
index e4fa346d00..eed569e3d1 100644
--- a/usr/src/lib/libsmedia/plugins/floppy/sparc/Makefile
+++ b/usr/src/lib/libsmedia/plugins/floppy/sparc/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libmedia/pluggins/floppy/sparc/Makefile
-
-MAPDIR= ../spec/sparc
include ../Makefile.targ
include ../../../../Makefile.lib
diff --git a/usr/src/lib/libsmedia/plugins/floppy/sparcv9/Makefile b/usr/src/lib/libsmedia/plugins/floppy/sparcv9/Makefile
index 5c9b07f4c3..fb4ba5994f 100644
--- a/usr/src/lib/libsmedia/plugins/floppy/sparcv9/Makefile
+++ b/usr/src/lib/libsmedia/plugins/floppy/sparcv9/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libmedia/pluggins/floppy/sparcv9/Makefile
-
-MAPDIR= ../spec/sparcv9
include ../Makefile.targ
include ../../../../Makefile.lib
diff --git a/usr/src/lib/libsmedia/plugins/floppy/spec/Makefile b/usr/src/lib/libsmedia/plugins/floppy/spec/Makefile
deleted file mode 100644
index 4dadf90cae..0000000000
--- a/usr/src/lib/libsmedia/plugins/floppy/spec/Makefile
+++ /dev/null
@@ -1,30 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libmedia/plugins/floppy/spec/Makefile
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/libsmedia/plugins/floppy/spec/Makefile.targ b/usr/src/lib/libsmedia/plugins/floppy/spec/Makefile.targ
deleted file mode 100644
index 765ccf336f..0000000000
--- a/usr/src/lib/libsmedia/plugins/floppy/spec/Makefile.targ
+++ /dev/null
@@ -1,35 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libmedia/plugins/floppy/spec/Makefile.targ
-
-LIBRARY = sm_fd.a
-VERS = .1
-
-OBJECTS = sm_fd.o
-
-SPECCPP =
diff --git a/usr/src/lib/libsmedia/plugins/floppy/spec/amd64/Makefile b/usr/src/lib/libsmedia/plugins/floppy/spec/amd64/Makefile
deleted file mode 100644
index 65f7fce23f..0000000000
--- a/usr/src/lib/libsmedia/plugins/floppy/spec/amd64/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#amd64_C_PICFLAGS = $(amd64_C_BIGPICFLAGS)
-
-include $(SRC)/lib/Makefile.spec
-
-install: all
diff --git a/usr/src/lib/libsmedia/plugins/floppy/spec/i386/Makefile b/usr/src/lib/libsmedia/plugins/floppy/spec/i386/Makefile
deleted file mode 100644
index 8a2c7d78af..0000000000
--- a/usr/src/lib/libsmedia/plugins/floppy/spec/i386/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libmedia/plugins/floppy/spec/i386/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#i386_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: all
diff --git a/usr/src/lib/libsmedia/plugins/floppy/spec/sm_fd.spec b/usr/src/lib/libsmedia/plugins/floppy/spec/sm_fd.spec
deleted file mode 100644
index 5e4f4aed1a..0000000000
--- a/usr/src/lib/libsmedia/plugins/floppy/spec/sm_fd.spec
+++ /dev/null
@@ -1,94 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libmedia/plugins/floppy/spec/sm_fd.spec
-
-function _m_device_type
-declaration int32_t _m_device_type(ushort_t ctype, ushort_t mtype)
-version SUNWprivate_1.1
-errno EIO
-end
-
-function _m_version_no
-declaration int32_t _m_version_no(void)
-version SUNWprivate_1.1
-errno EIO
-end
-
-function _m_get_media_info
-declaration int32_t _m_get_media_info(int32_t fd, void *ip)
-version SUNWprivate_1.1
-errno EIO
-end
-
-function _m_get_device_info
-declaration int32_t _m_get_device_info(int32_t fd, void *ip)
-version SUNWprivate_1.1
-errno EIO
-end
-
-function _m_free_device_info
-declaration int32_t _m_free_device_info(int32_t fd, void *ip)
-version SUNWprivate_1.1
-errno EIO
-end
-
-
-function _m_raw_write
-declaration int32_t _m_raw_write(int32_t fd, void *ip)
-version SUNWprivate_1.1
-errno EIO
-end
-
-function _m_raw_read
-declaration int32_t _m_raw_read(int32_t fd, void *ip)
-version SUNWprivate_1.1
-errno EIO
-end
-
-function _m_media_format
-declaration int32_t _m_media_format(int32_t fd, void *ip)
-version SUNWprivate_1.1
-errno EIO
-end
-
-function _m_media_format_track
-declaration int32_t _m_media_format_track(int32_t fd, void *ip)
-version SUNWprivate_1.1
-errno EIO
-end
-
-function _m_get_media_status
-declaration int32_t _m_get_media_status(int32_t fd, void *ip)
-version SUNWprivate_1.1
-errno EIO
-end
-
-function _m_eject
-declaration int32_t _m_eject(int32_t fd, void *ip)
-version SUNWprivate_1.1
-errno EIO
-end
diff --git a/usr/src/lib/libsmedia/plugins/floppy/spec/sparc/Makefile b/usr/src/lib/libsmedia/plugins/floppy/spec/sparc/Makefile
deleted file mode 100644
index 127a056d39..0000000000
--- a/usr/src/lib/libsmedia/plugins/floppy/spec/sparc/Makefile
+++ /dev/null
@@ -1,45 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libmedia/plugins/floppy/spec/sparc/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#sparc_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: all
-
diff --git a/usr/src/lib/libsmedia/plugins/floppy/spec/sparcv9/Makefile b/usr/src/lib/libsmedia/plugins/floppy/spec/sparcv9/Makefile
deleted file mode 100644
index 736a16e1c1..0000000000
--- a/usr/src/lib/libsmedia/plugins/floppy/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,45 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libmedia/plugins/floppy/spec/sparcv9/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#sparc_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: all
diff --git a/usr/src/lib/libsmedia/plugins/floppy/spec/versions b/usr/src/lib/libsmedia/plugins/floppy/spec/versions
deleted file mode 100644
index ae128e3da2..0000000000
--- a/usr/src/lib/libsmedia/plugins/floppy/spec/versions
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# vers file for libmedia
-#
-# lib/libsmedia/plugins/spec versions file
-
-sparc {
- SUNWprivate_1.1;
-}
-i386 {
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/libsmedia/plugins/pcata/amd64/Makefile b/usr/src/lib/libsmedia/plugins/pcata/amd64/Makefile
index 7eb8ee482f..26912cfea9 100644
--- a/usr/src/lib/libsmedia/plugins/pcata/amd64/Makefile
+++ b/usr/src/lib/libsmedia/plugins/pcata/amd64/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-MAPDIR= ../spec/amd64
-
include ../Makefile.targ
include ../../../../Makefile.lib
include ../../../../Makefile.targ
diff --git a/usr/src/lib/libsmedia/plugins/pcata/common/mapfile-vers b/usr/src/lib/libsmedia/plugins/pcata/common/mapfile-vers
new file mode 100644
index 0000000000..89e17d0348
--- /dev/null
+++ b/usr/src/lib/libsmedia/plugins/pcata/common/mapfile-vers
@@ -0,0 +1,37 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNWprivate_1.1 {
+ global:
+ _m_device_type;
+ _m_free_device_info;
+ _m_get_device_info;
+ _m_get_media_info;
+ _m_version_no;
+ local:
+ *;
+};
diff --git a/usr/src/lib/libsmedia/plugins/pcata/i386/Makefile b/usr/src/lib/libsmedia/plugins/pcata/i386/Makefile
index 1efc944766..b402f394dc 100644
--- a/usr/src/lib/libsmedia/plugins/pcata/i386/Makefile
+++ b/usr/src/lib/libsmedia/plugins/pcata/i386/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright (c) 2001 by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-#pragma ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libmedia/plugins/pcata/i386/Makefile
-
-MAPDIR= ../spec/i386
include ../Makefile.targ
include ../../../../Makefile.lib
diff --git a/usr/src/lib/libsmedia/plugins/pcata/sparc/Makefile b/usr/src/lib/libsmedia/plugins/pcata/sparc/Makefile
index c7e928ce1d..b402f394dc 100644
--- a/usr/src/lib/libsmedia/plugins/pcata/sparc/Makefile
+++ b/usr/src/lib/libsmedia/plugins/pcata/sparc/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright (c) 2001 by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-#pragma ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libmedia/plugin/pcata/sparc/Makefile
-
-MAPDIR= ../spec/sparc
include ../Makefile.targ
include ../../../../Makefile.lib
diff --git a/usr/src/lib/libsmedia/plugins/pcata/sparcv9/Makefile b/usr/src/lib/libsmedia/plugins/pcata/sparcv9/Makefile
index 6c5a0633bf..26912cfea9 100644
--- a/usr/src/lib/libsmedia/plugins/pcata/sparcv9/Makefile
+++ b/usr/src/lib/libsmedia/plugins/pcata/sparcv9/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright (c) 2001 by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-#pragma ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libmedia/plugins/pcata/sparcv9/Makefile
-
-MAPDIR= ../spec/sparcv9
include ../Makefile.targ
include ../../../../Makefile.lib
diff --git a/usr/src/lib/libsmedia/plugins/pcata/spec/Makefile b/usr/src/lib/libsmedia/plugins/pcata/spec/Makefile
deleted file mode 100644
index 8f7c4765bf..0000000000
--- a/usr/src/lib/libsmedia/plugins/pcata/spec/Makefile
+++ /dev/null
@@ -1,30 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 2001 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libsmedia/plugin/pcata/spec/Makefile
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/libsmedia/plugins/pcata/spec/Makefile.targ b/usr/src/lib/libsmedia/plugins/pcata/spec/Makefile.targ
deleted file mode 100644
index 09e2a3059f..0000000000
--- a/usr/src/lib/libsmedia/plugins/pcata/spec/Makefile.targ
+++ /dev/null
@@ -1,35 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 2001 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libmedia/plugins/pcata/spec/Makefile.targ
-
-LIBRARY = sm_pcata.a
-VERS = .1
-
-OBJECTS = sm_pcata.o
-
-SPECCPP =
diff --git a/usr/src/lib/libsmedia/plugins/pcata/spec/amd64/Makefile b/usr/src/lib/libsmedia/plugins/pcata/spec/amd64/Makefile
deleted file mode 100644
index 65f7fce23f..0000000000
--- a/usr/src/lib/libsmedia/plugins/pcata/spec/amd64/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#amd64_C_PICFLAGS = $(amd64_C_BIGPICFLAGS)
-
-include $(SRC)/lib/Makefile.spec
-
-install: all
diff --git a/usr/src/lib/libsmedia/plugins/pcata/spec/i386/Makefile b/usr/src/lib/libsmedia/plugins/pcata/spec/i386/Makefile
deleted file mode 100644
index 2160634138..0000000000
--- a/usr/src/lib/libsmedia/plugins/pcata/spec/i386/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 2001 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libmedia/plugins/pcata/spec/i386/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#i386_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: all
diff --git a/usr/src/lib/libsmedia/plugins/pcata/spec/sm_pcata.spec b/usr/src/lib/libsmedia/plugins/pcata/spec/sm_pcata.spec
deleted file mode 100644
index ebdca2a358..0000000000
--- a/usr/src/lib/libsmedia/plugins/pcata/spec/sm_pcata.spec
+++ /dev/null
@@ -1,57 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libmedia/plugins/pcata/spec/sm_pcata.spec
-
-function _m_device_type
-declaration int32_t _m_device_type(ushort_t ctype, ushort_t mtype)
-version SUNWprivate_1.1
-errno EIO
-end
-
-function _m_version_no
-declaration int32_t _m_version_no(void)
-version SUNWprivate_1.1
-errno EIO
-end
-
-function _m_get_media_info
-declaration int32_t _m_get_media_info(void *handle, void *ip)
-version SUNWprivate_1.1
-errno EIO
-end
-
-function _m_get_device_info
-declaration int32_t _m_get_device_info(void *handle, void *ip)
-version SUNWprivate_1.1
-errno EIO
-end
-
-function _m_free_device_info
-declaration int32_t _m_free_device_info(void *handle, void *ip)
-version SUNWprivate_1.1
-errno EIO
-end
diff --git a/usr/src/lib/libsmedia/plugins/pcata/spec/sparc/Makefile b/usr/src/lib/libsmedia/plugins/pcata/spec/sparc/Makefile
deleted file mode 100644
index 4750629616..0000000000
--- a/usr/src/lib/libsmedia/plugins/pcata/spec/sparc/Makefile
+++ /dev/null
@@ -1,45 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 2001 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libmedia/plugins/pcata/spec/sparc/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#sparc_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: all
-
diff --git a/usr/src/lib/libsmedia/plugins/pcata/spec/sparcv9/Makefile b/usr/src/lib/libsmedia/plugins/pcata/spec/sparcv9/Makefile
deleted file mode 100644
index 24696559fc..0000000000
--- a/usr/src/lib/libsmedia/plugins/pcata/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,45 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 2001 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libmedia/plugins/pcata/sparcv9/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#sparc_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: all
diff --git a/usr/src/lib/libsmedia/plugins/pcata/spec/versions b/usr/src/lib/libsmedia/plugins/pcata/spec/versions
deleted file mode 100644
index aa1788fb4e..0000000000
--- a/usr/src/lib/libsmedia/plugins/pcata/spec/versions
+++ /dev/null
@@ -1,37 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-#
-# vers file for sm_pcata plugin for libsmedia
-#
-# lib/libmedia/plugins/pcata/spec/versions file
-
-sparc {
- SUNWprivate_1.1;
-}
-i386 {
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/libsmedia/plugins/pcmem/amd64/Makefile b/usr/src/lib/libsmedia/plugins/pcmem/amd64/Makefile
index 58b8e02555..fb4ba5994f 100644
--- a/usr/src/lib/libsmedia/plugins/pcmem/amd64/Makefile
+++ b/usr/src/lib/libsmedia/plugins/pcmem/amd64/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-MAPDIR= ../spec/amd64
-
include ../Makefile.targ
include ../../../../Makefile.lib
include ../../../../Makefile.targ
diff --git a/usr/src/lib/libsmedia/plugins/pcmem/common/mapfile-vers b/usr/src/lib/libsmedia/plugins/pcmem/common/mapfile-vers
new file mode 100644
index 0000000000..98459fec6d
--- /dev/null
+++ b/usr/src/lib/libsmedia/plugins/pcmem/common/mapfile-vers
@@ -0,0 +1,39 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNWprivate_1.1 {
+ global:
+ _m_device_type;
+ _m_free_device_info;
+ _m_get_device_info;
+ _m_get_media_info;
+ _m_media_format;
+ _m_media_format_track;
+ _m_version_no;
+ local:
+ *;
+};
diff --git a/usr/src/lib/libsmedia/plugins/pcmem/i386/Makefile b/usr/src/lib/libsmedia/plugins/pcmem/i386/Makefile
index 7f7cdf740e..988437ada2 100644
--- a/usr/src/lib/libsmedia/plugins/pcmem/i386/Makefile
+++ b/usr/src/lib/libsmedia/plugins/pcmem/i386/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright (c) 1997-2001 by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-#pragma ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libsmedia/plugins/pcmem/i386/Makefile
-
-MAPDIR= ../spec/i386
include ../Makefile.targ
include ../../../../Makefile.lib
diff --git a/usr/src/lib/libsmedia/plugins/pcmem/sparc/Makefile b/usr/src/lib/libsmedia/plugins/pcmem/sparc/Makefile
index 71091c72f7..eed569e3d1 100644
--- a/usr/src/lib/libsmedia/plugins/pcmem/sparc/Makefile
+++ b/usr/src/lib/libsmedia/plugins/pcmem/sparc/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libmedia/plugins/pcmem/sparc/Makefile
-
-MAPDIR= ../spec/sparc
include ../Makefile.targ
include ../../../../Makefile.lib
diff --git a/usr/src/lib/libsmedia/plugins/pcmem/sparcv9/Makefile b/usr/src/lib/libsmedia/plugins/pcmem/sparcv9/Makefile
index c9e0ee0c8a..fb4ba5994f 100644
--- a/usr/src/lib/libsmedia/plugins/pcmem/sparcv9/Makefile
+++ b/usr/src/lib/libsmedia/plugins/pcmem/sparcv9/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-#pragma ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libmedia/plugins/pcmem/sparcv9/Makefile
-
-MAPDIR= ../spec/sparcv9
include ../Makefile.targ
include ../../../../Makefile.lib
diff --git a/usr/src/lib/libsmedia/plugins/pcmem/spec/Makefile b/usr/src/lib/libsmedia/plugins/pcmem/spec/Makefile
deleted file mode 100644
index 6ce491ea74..0000000000
--- a/usr/src/lib/libsmedia/plugins/pcmem/spec/Makefile
+++ /dev/null
@@ -1,30 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libmedia/plugins/pcmem/spec/Makefile
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/libsmedia/plugins/pcmem/spec/Makefile.targ b/usr/src/lib/libsmedia/plugins/pcmem/spec/Makefile.targ
deleted file mode 100644
index 94650b8956..0000000000
--- a/usr/src/lib/libsmedia/plugins/pcmem/spec/Makefile.targ
+++ /dev/null
@@ -1,35 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libmedia/spec/plugins/pcmem/Makefile.targ
-
-LIBRARY = sm_pcmem.a
-VERS = .1
-
-OBJECTS = sm_pcmem.o
-
-SPECCPP =
diff --git a/usr/src/lib/libsmedia/plugins/pcmem/spec/amd64/Makefile b/usr/src/lib/libsmedia/plugins/pcmem/spec/amd64/Makefile
deleted file mode 100644
index 65f7fce23f..0000000000
--- a/usr/src/lib/libsmedia/plugins/pcmem/spec/amd64/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#amd64_C_PICFLAGS = $(amd64_C_BIGPICFLAGS)
-
-include $(SRC)/lib/Makefile.spec
-
-install: all
diff --git a/usr/src/lib/libsmedia/plugins/pcmem/spec/i386/Makefile b/usr/src/lib/libsmedia/plugins/pcmem/spec/i386/Makefile
deleted file mode 100644
index 62e294ae5a..0000000000
--- a/usr/src/lib/libsmedia/plugins/pcmem/spec/i386/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libmedia/plugins/pcmem/spec/i386/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#i386_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: all
diff --git a/usr/src/lib/libsmedia/plugins/pcmem/spec/sm_pcmem.spec b/usr/src/lib/libsmedia/plugins/pcmem/spec/sm_pcmem.spec
deleted file mode 100644
index 703655385a..0000000000
--- a/usr/src/lib/libsmedia/plugins/pcmem/spec/sm_pcmem.spec
+++ /dev/null
@@ -1,69 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libsmedia/plugins/pcmem/spec/sm_pcmem.spec
-
-function _m_device_type
-declaration int32_t _m_device_type(ushort_t ctype, ushort_t mtype)
-version SUNWprivate_1.1
-errno EIO
-end
-
-function _m_version_no
-declaration int32_t _m_version_no(void)
-version SUNWprivate_1.1
-errno EIO
-end
-
-function _m_get_media_info
-declaration int32_t _m_get_media_info(int32_t fd, void *ip)
-version SUNWprivate_1.1
-errno EIO
-end
-
-function _m_get_device_info
-declaration int32_t _m_get_device_info(int32_t fd, void *ip)
-version SUNWprivate_1.1
-errno EIO
-end
-
-function _m_free_device_info
-declaration int32_t _m_free_device_info(int32_t fd, void *ip)
-version SUNWprivate_1.1
-errno EIO
-end
-
-function _m_media_format
-declaration int32_t _m_media_format(int32_t fd, void *ip)
-version SUNWprivate_1.1
-errno EIO
-end
-
-function _m_media_format_track
-declaration int32_t _m_media_format_track(int32_t fd, void *ip)
-version SUNWprivate_1.1
-errno EIO
-end
diff --git a/usr/src/lib/libsmedia/plugins/pcmem/spec/sparc/Makefile b/usr/src/lib/libsmedia/plugins/pcmem/spec/sparc/Makefile
deleted file mode 100644
index 20d205ce9e..0000000000
--- a/usr/src/lib/libsmedia/plugins/pcmem/spec/sparc/Makefile
+++ /dev/null
@@ -1,45 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libmedia/plugins/pcmem/spec/sparc/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#sparc_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: all
-
diff --git a/usr/src/lib/libsmedia/plugins/pcmem/spec/sparcv9/Makefile b/usr/src/lib/libsmedia/plugins/pcmem/spec/sparcv9/Makefile
deleted file mode 100644
index 18ea5ae534..0000000000
--- a/usr/src/lib/libsmedia/plugins/pcmem/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,45 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libmedia/plugins/pcmem/spec/sparcv9/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#sparc_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: all
diff --git a/usr/src/lib/libsmedia/plugins/pcmem/spec/versions b/usr/src/lib/libsmedia/plugins/pcmem/spec/versions
deleted file mode 100644
index bdf810a5ef..0000000000
--- a/usr/src/lib/libsmedia/plugins/pcmem/spec/versions
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# vers file for libmedia
-#
-# lib/libsmedia/plugins/pcmem/spec versions file
-
-sparc {
- SUNWprivate_1.1;
-}
-i386 {
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/libsmedia/plugins/scsi/amd64/Makefile b/usr/src/lib/libsmedia/plugins/scsi/amd64/Makefile
index 7eb8ee482f..26912cfea9 100644
--- a/usr/src/lib/libsmedia/plugins/scsi/amd64/Makefile
+++ b/usr/src/lib/libsmedia/plugins/scsi/amd64/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-MAPDIR= ../spec/amd64
-
include ../Makefile.targ
include ../../../../Makefile.lib
include ../../../../Makefile.targ
diff --git a/usr/src/lib/libsmedia/plugins/scsi/common/mapfile-vers b/usr/src/lib/libsmedia/plugins/scsi/common/mapfile-vers
new file mode 100644
index 0000000000..9b1290498a
--- /dev/null
+++ b/usr/src/lib/libsmedia/plugins/scsi/common/mapfile-vers
@@ -0,0 +1,46 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNWprivate_1.1 {
+ global:
+ _m_check_format_status;
+ _m_device_type;
+ _m_eject;
+ _m_free_device_info;
+ _m_get_device_info;
+ _m_get_media_info;
+ _m_get_media_status;
+ _m_media_format;
+ _m_raw_read;
+ _m_raw_write;
+ _m_reassign_block;
+ _m_set_media_status;
+ _m_uscsi_cmd;
+ _m_version_no;
+ local:
+ *;
+};
diff --git a/usr/src/lib/libsmedia/plugins/scsi/i386/Makefile b/usr/src/lib/libsmedia/plugins/scsi/i386/Makefile
index 4baf8fc9ea..b402f394dc 100644
--- a/usr/src/lib/libsmedia/plugins/scsi/i386/Makefile
+++ b/usr/src/lib/libsmedia/plugins/scsi/i386/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright (c) 1997-2001 by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-#pragma ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libmedia/plugins/scsi/i386/Makefile
-
-MAPDIR= ../spec/i386
include ../Makefile.targ
include ../../../../Makefile.lib
diff --git a/usr/src/lib/libsmedia/plugins/scsi/sparc/Makefile b/usr/src/lib/libsmedia/plugins/scsi/sparc/Makefile
index 6d45989da2..b402f394dc 100644
--- a/usr/src/lib/libsmedia/plugins/scsi/sparc/Makefile
+++ b/usr/src/lib/libsmedia/plugins/scsi/sparc/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-#pragma ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libmedia/plugin/scsi/sparc/Makefile
-
-MAPDIR= ../spec/sparc
include ../Makefile.targ
include ../../../../Makefile.lib
diff --git a/usr/src/lib/libsmedia/plugins/scsi/sparcv9/Makefile b/usr/src/lib/libsmedia/plugins/scsi/sparcv9/Makefile
index 35033237a8..26912cfea9 100644
--- a/usr/src/lib/libsmedia/plugins/scsi/sparcv9/Makefile
+++ b/usr/src/lib/libsmedia/plugins/scsi/sparcv9/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-#pragma ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libmedia/plugins/scsi/sparcv9/Makefile
-
-MAPDIR= ../spec/sparcv9
include ../Makefile.targ
include ../../../../Makefile.lib
diff --git a/usr/src/lib/libsmedia/plugins/scsi/spec/Makefile b/usr/src/lib/libsmedia/plugins/scsi/spec/Makefile
deleted file mode 100644
index facb7a614c..0000000000
--- a/usr/src/lib/libsmedia/plugins/scsi/spec/Makefile
+++ /dev/null
@@ -1,30 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libsmedia/plugin/scsi/spec/Makefile
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/libsmedia/plugins/scsi/spec/Makefile.targ b/usr/src/lib/libsmedia/plugins/scsi/spec/Makefile.targ
deleted file mode 100644
index 9809667a23..0000000000
--- a/usr/src/lib/libsmedia/plugins/scsi/spec/Makefile.targ
+++ /dev/null
@@ -1,35 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libmedia/plugins/scsi/spec/Makefile.targ
-
-LIBRARY = sm_scsi.a
-VERS = .1
-
-OBJECTS = sm_scsi.o
-
-SPECCPP =
diff --git a/usr/src/lib/libsmedia/plugins/scsi/spec/amd64/Makefile b/usr/src/lib/libsmedia/plugins/scsi/spec/amd64/Makefile
deleted file mode 100644
index 65f7fce23f..0000000000
--- a/usr/src/lib/libsmedia/plugins/scsi/spec/amd64/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#amd64_C_PICFLAGS = $(amd64_C_BIGPICFLAGS)
-
-include $(SRC)/lib/Makefile.spec
-
-install: all
diff --git a/usr/src/lib/libsmedia/plugins/scsi/spec/i386/Makefile b/usr/src/lib/libsmedia/plugins/scsi/spec/i386/Makefile
deleted file mode 100644
index 2e2317a67f..0000000000
--- a/usr/src/lib/libsmedia/plugins/scsi/spec/i386/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libmedia/plugins/spec/i386/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#i386_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: all
diff --git a/usr/src/lib/libsmedia/plugins/scsi/spec/sm_scsi.spec b/usr/src/lib/libsmedia/plugins/scsi/spec/sm_scsi.spec
deleted file mode 100644
index b341b2a298..0000000000
--- a/usr/src/lib/libsmedia/plugins/scsi/spec/sm_scsi.spec
+++ /dev/null
@@ -1,113 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libmedia/plugins/scsi/spec/media.spec
-
-#include <sys/smedia.h>
-
-function _m_device_type
-declaration int32_t _m_device_type(ushort_t ctype, ushort_t mtype)
-version SUNWprivate_1.1
-errno EIO
-end
-
-function _m_version_no
-declaration int32_t _m_version_no(void)
-version SUNWprivate_1.1
-errno EIO
-end
-
-function _m_get_media_info
-declaration int32_t _m_get_media_info(void *handle, void *ip)
-version SUNWprivate_1.1
-errno EIO
-end
-
-function _m_get_device_info
-declaration int32_t _m_get_device_info(void *handle, void *ip)
-version SUNWprivate_1.1
-errno EIO
-end
-
-function _m_free_device_info
-declaration int32_t _m_free_device_info(void *handle, void *ip)
-version SUNWprivate_1.1
-errno EIO
-end
-
-function _m_raw_write
-declaration int32_t _m_raw_write(void *handle, void *ip)
-version SUNWprivate_1.1
-errno EIO
-end
-
-function _m_raw_read
-declaration int32_t _m_raw_read(void *handle, void *ip)
-version SUNWprivate_1.1
-errno EIO
-end
-
-function _m_media_format
-declaration int32_t _m_media_format(void *handle, void *ip)
-version SUNWprivate_1.1
-errno EIO
-end
-
-function _m_set_media_status
-declaration int32_t _m_set_media_status(void *handle, void *ip)
-version SUNWprivate_1.1
-errno EIO
-end
-
-function _m_get_media_status
-declaration int32_t _m_get_media_status(void *handle, void *ip)
-version SUNWprivate_1.1
-errno EIO
-end
-
-function _m_check_format_status
-declaration int32_t _m_check_format_status(void *handle, void *ip)
-version SUNWprivate_1.1
-errno EIO
-end
-
-function _m_reassign_block
-declaration int32_t _m_reassign_block(void *handle, void *ip)
-version SUNWprivate_1.1
-errno EIO
-end
-
-function _m_eject
-declaration int32_t _m_eject(void *handle, void *ip)
-version SUNWprivate_1.1
-errno EIO
-end
-
-function _m_uscsi_cmd
-declaration int32_t _m_uscsi_cmd(void *handle, void *ip)
-version SUNWprivate_1.1
-errno EIO
-end
diff --git a/usr/src/lib/libsmedia/plugins/scsi/spec/sparc/Makefile b/usr/src/lib/libsmedia/plugins/scsi/spec/sparc/Makefile
deleted file mode 100644
index 100677af49..0000000000
--- a/usr/src/lib/libsmedia/plugins/scsi/spec/sparc/Makefile
+++ /dev/null
@@ -1,45 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libmedia/plugins/scsi/spec/sparc/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#sparc_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: all
-
diff --git a/usr/src/lib/libsmedia/plugins/scsi/spec/sparcv9/Makefile b/usr/src/lib/libsmedia/plugins/scsi/spec/sparcv9/Makefile
deleted file mode 100644
index b75a221440..0000000000
--- a/usr/src/lib/libsmedia/plugins/scsi/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,45 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libmedia/plugins/scsi/sparcv9/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#sparc_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: all
diff --git a/usr/src/lib/libsmedia/plugins/scsi/spec/versions b/usr/src/lib/libsmedia/plugins/scsi/spec/versions
deleted file mode 100644
index c0d5814fbd..0000000000
--- a/usr/src/lib/libsmedia/plugins/scsi/spec/versions
+++ /dev/null
@@ -1,37 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-#
-# vers file for sm_scsi plugin for libsmedia
-#
-# lib/libmedia/plugins/scsi/spec/i386 versions file
-
-sparc {
- SUNWprivate_1.1;
-}
-i386 {
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/libsocket/Makefile b/usr/src/lib/libsocket/Makefile
index 6252e47d92..18d1f13290 100644
--- a/usr/src/lib/libsocket/Makefile
+++ b/usr/src/lib/libsocket/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,8 +19,8 @@
# CDDL HEADER END
#
#
-# Copyright (c) 1993-2001 by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
@@ -44,15 +43,13 @@ TEXT_DOMAIN = SUNW_OST_NETRPC
.KEEP_STATE:
-all clean clobber install: spec .WAIT $(SUBDIRS)
-
-lint: $(SUBDIRS)
+all clean clobber install lint: $(SUBDIRS)
_msg: $(MSGDOMAINPOFILE)
$(POFILE): pofile_MSGFILES
-$(SUBDIRS) spec: FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
diff --git a/usr/src/lib/libsocket/Makefile.com b/usr/src/lib/libsocket/Makefile.com
index 4664a4e7bb..74b3b5c364 100644
--- a/usr/src/lib/libsocket/Makefile.com
+++ b/usr/src/lib/libsocket/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,7 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
@@ -46,12 +45,12 @@ include ../../Makefile.rootfs
LIBS = $(DYNLIB) $(LINTLIB)
SRCS = $(INETOBJS:%.o=../inet/%.c) $(SOCKOBJS:%.o=../socket/%.c)
-$(LINTLIB):= SRCS = $(SRCDIR)/$(LINTSRC)
LDLIBS += -lnsl -lc
SRCDIR = ../common
-MAPDIR = ../spec/$(TRANSMACH)
-SPECMAPFILE = $(MAPDIR)/mapfile
+$(LINTLIB):= SRCS = $(SRCDIR)/$(LINTSRC)
+
+MAPFILES += mapfile-vers
CPPFLAGS += -DSYSV -D_REENTRANT -I../../common/inc
%/rcmd.o := CPPFLAGS += -DNIS
diff --git a/usr/src/lib/libsocket/amd64/mapfile-vers b/usr/src/lib/libsocket/amd64/mapfile-vers
new file mode 100644
index 0000000000..399acbda69
--- /dev/null
+++ b/usr/src/lib/libsocket/amd64/mapfile-vers
@@ -0,0 +1,54 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNW_0.7 {
+ global:
+ accept;
+ bind;
+ connect;
+ getpeername;
+ getprotobyname;
+ getprotobynumber;
+ getprotoent;
+ getservbyname;
+ getservbyport;
+ getsockname;
+ getsockopt;
+ inet_lnaof;
+ inet_makeaddr;
+ inet_network;
+ listen;
+ recv;
+ recvfrom;
+ recvmsg;
+ send;
+ sendmsg;
+ sendto;
+ setsockopt;
+ shutdown;
+ socket;
+};
diff --git a/usr/src/lib/libsocket/common/mapfile-vers b/usr/src/lib/libsocket/common/mapfile-vers
new file mode 100644
index 0000000000..81c0972716
--- /dev/null
+++ b/usr/src/lib/libsocket/common/mapfile-vers
@@ -0,0 +1,178 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNW_1.6 {
+ global:
+ getipv4sourcefilter;
+ getsourcefilter;
+ setipv4sourcefilter;
+ setsourcefilter;
+} SUNW_1.5;
+
+SUNW_1.5 {
+ global:
+ inet6_opt_append;
+ inet6_opt_find;
+ inet6_opt_finish;
+ inet6_opt_get_val;
+ inet6_opt_init;
+ inet6_opt_next;
+ inet6_opt_set_val;
+ inet6_rth_add;
+ inet6_rth_getaddr;
+ inet6_rth_init;
+ inet6_rth_reverse;
+ inet6_rth_segments;
+ inet6_rth_space;
+ sockatmark;
+ __xnet_getaddrinfo;
+} SUNW_1.4;
+
+SUNW_1.4 {
+ global:
+ freeaddrinfo;
+ gai_strerror;
+ getaddrinfo;
+ getnameinfo;
+ if_freenameindex;
+ if_indextoname;
+ if_nameindex;
+ if_nametoindex;
+ in6addr_any;
+ in6addr_loopback;
+ rcmd_af;
+ rexec_af;
+ rresvport_af;
+} SUNW_1.3;
+
+# Due to mistakes made early in the history of this library, there are
+# no SUNW_1.2 or SUNW_1.3 symbols, but they are now kept as placeholders.
+# Don't add any symbols to these versions.
+
+SUNW_1.3 {
+ global:
+ SUNW_1.3;
+} SUNW_1.2;
+
+SUNW_1.2 {
+ global:
+ SUNW_1.2;
+} SUNW_1.1;
+
+SUNW_1.1 {
+ global:
+ __xnet_bind;
+ __xnet_connect;
+ __xnet_getsockopt;
+ __xnet_listen;
+ __xnet_recvmsg;
+ __xnet_sendmsg;
+ __xnet_sendto;
+ __xnet_socket;
+ __xnet_socketpair;
+} SUNW_0.7;
+
+SUNW_0.7 {
+ global:
+ endnetent;
+ endprotoent;
+ endservent;
+ ether_aton;
+ ether_hostton;
+ ether_line;
+ ether_ntoa;
+ ether_ntohost;
+ getnetbyaddr;
+ getnetbyaddr_r;
+ getnetbyname;
+ getnetbyname_r;
+ getnetent;
+ getnetent_r;
+ getprotobyname_r;
+ getprotobynumber_r;
+ getprotoent_r;
+ getservbyname_r;
+ getservbyport_r;
+ getservent;
+ getservent_r;
+ htonl;
+ htons;
+ ntohl;
+ ntohs;
+ rcmd;
+ rexec;
+ rresvport;
+ ruserok;
+ setnetent;
+ setprotoent;
+ setservent;
+ socketpair;
+};
+
+# There really should be only one SUNWprivate version.
+# Don't add any more. Add new private symbols to SUNWprivate_1.3
+
+SUNWprivate_1.3 {
+ global:
+ _link_aton;
+ _link_ntoa;
+} SUNWprivate_1.2;
+
+SUNWprivate_1.2 {
+ global:
+ getnetmaskbyaddr;
+ getnetmaskbynet;
+} SUNWprivate_1.1;
+
+SUNWprivate_1.1 {
+ global:
+ _accept;
+ _bind;
+ bindresvport;
+ bootparams_getbyname;
+ _connect;
+ _getpeername;
+ _getsockname;
+ _getsockopt;
+ _listen;
+ _recv;
+ _recvfrom;
+ _recvmsg;
+ rresvport_addr;
+ _ruserpass;
+ _send;
+ _sendmsg;
+ _sendto;
+ _setsockopt;
+ _shutdown;
+ _socket;
+ _socket_bsd;
+ _socketpair;
+ _socketpair_bsd;
+ local:
+ *;
+};
diff --git a/usr/src/lib/libsocket/i386/mapfile-vers b/usr/src/lib/libsocket/i386/mapfile-vers
new file mode 100644
index 0000000000..399acbda69
--- /dev/null
+++ b/usr/src/lib/libsocket/i386/mapfile-vers
@@ -0,0 +1,54 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNW_0.7 {
+ global:
+ accept;
+ bind;
+ connect;
+ getpeername;
+ getprotobyname;
+ getprotobynumber;
+ getprotoent;
+ getservbyname;
+ getservbyport;
+ getsockname;
+ getsockopt;
+ inet_lnaof;
+ inet_makeaddr;
+ inet_network;
+ listen;
+ recv;
+ recvfrom;
+ recvmsg;
+ send;
+ sendmsg;
+ sendto;
+ setsockopt;
+ shutdown;
+ socket;
+};
diff --git a/usr/src/lib/libsocket/inet/byteorder.c b/usr/src/lib/libsocket/inet/byteorder.c
index 1b325c6c5e..b28bfebdd0 100644
--- a/usr/src/lib/libsocket/inet/byteorder.c
+++ b/usr/src/lib/libsocket/inet/byteorder.c
@@ -2,9 +2,8 @@
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
- * Common Development and Distribution License, Version 1.0 only
- * (the "License"). You may not use this file except in compliance
- * with the License.
+ * Common Development and Distribution License (the "License").
+ * You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* or http://www.opensolaris.org/os/licensing.
@@ -19,8 +18,9 @@
*
* CDDL HEADER END
*/
+
/*
- * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+ * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
@@ -30,7 +30,8 @@
#include <sys/types.h>
-#ifdef _LITTLE_ENDIAN
+#if defined(_LITTLE_ENDIAN) && !defined(__lint)
+
#error Use ISA-specific byteorder.s on a little-endian machine.
#else /* !_LITTLE_ENDIAN */
@@ -58,4 +59,5 @@ ntohs(uint16_t in)
{
return (in);
}
+
#endif /* _LITTLE_ENDIAN */
diff --git a/usr/src/lib/libsocket/sparc/mapfile-vers b/usr/src/lib/libsocket/sparc/mapfile-vers
new file mode 100644
index 0000000000..02547154b6
--- /dev/null
+++ b/usr/src/lib/libsocket/sparc/mapfile-vers
@@ -0,0 +1,58 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNW_0.7 {
+ global:
+} SISCD_2.3;
+
+SISCD_2.3 {
+ global:
+ accept;
+ bind;
+ connect;
+ getpeername;
+ getprotobyname;
+ getprotobynumber;
+ getprotoent;
+ getservbyname;
+ getservbyport;
+ getsockname;
+ getsockopt;
+ inet_lnaof;
+ inet_makeaddr;
+ inet_network;
+ listen;
+ recv;
+ recvfrom;
+ recvmsg;
+ send;
+ sendmsg;
+ sendto;
+ setsockopt;
+ shutdown;
+ socket;
+};
diff --git a/usr/src/lib/libsocket/sparcv9/mapfile-vers b/usr/src/lib/libsocket/sparcv9/mapfile-vers
new file mode 100644
index 0000000000..399acbda69
--- /dev/null
+++ b/usr/src/lib/libsocket/sparcv9/mapfile-vers
@@ -0,0 +1,54 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNW_0.7 {
+ global:
+ accept;
+ bind;
+ connect;
+ getpeername;
+ getprotobyname;
+ getprotobynumber;
+ getprotoent;
+ getservbyname;
+ getservbyport;
+ getsockname;
+ getsockopt;
+ inet_lnaof;
+ inet_makeaddr;
+ inet_network;
+ listen;
+ recv;
+ recvfrom;
+ recvmsg;
+ send;
+ sendmsg;
+ sendto;
+ setsockopt;
+ shutdown;
+ socket;
+};
diff --git a/usr/src/lib/libsocket/spec/Makefile b/usr/src/lib/libsocket/spec/Makefile
deleted file mode 100644
index e64c72ecb3..0000000000
--- a/usr/src/lib/libsocket/spec/Makefile
+++ /dev/null
@@ -1,29 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1998-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libsocket/spec/Makefile
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/libsocket/spec/Makefile.targ b/usr/src/lib/libsocket/spec/Makefile.targ
deleted file mode 100644
index 9cc59c24e7..0000000000
--- a/usr/src/lib/libsocket/spec/Makefile.targ
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1998-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libsocket/spec/Makefile.targ
-
-LIBRARY = libsocket.a
-VERS = .1
-
-OBJECTS = socket.o \
- svr4msg.o \
- xpgmsg.o
-
-SPECCPP = -I..
diff --git a/usr/src/lib/libsocket/spec/amd64/Makefile b/usr/src/lib/libsocket/spec/amd64/Makefile
deleted file mode 100644
index 453c0ea671..0000000000
--- a/usr/src/lib/libsocket/spec/amd64/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#amd64_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libsocket/spec/i386/Makefile b/usr/src/lib/libsocket/spec/i386/Makefile
deleted file mode 100644
index e5a8b4318a..0000000000
--- a/usr/src/lib/libsocket/spec/i386/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1998-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libsocket/spec/i386/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#i386_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libsocket/spec/socket.spec b/usr/src/lib/libsocket/spec/socket.spec
deleted file mode 100644
index bb614f918b..0000000000
--- a/usr/src/lib/libsocket/spec/socket.spec
+++ /dev/null
@@ -1,895 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-# NOTE: Look at "versions" file for more details on why there may
-# appear to be "gaps" in version number space.
-
-function endservent
-include <netdb.h>
-declaration int endservent(void)
-version SUNW_0.7
-end
-
-function __xnet_bind
-include <sys/types.h>, <sys/socket.h>
-declaration int __xnet_bind(int socket, const struct sockaddr *address, \
- socklen_t address_len)
-version SUNW_1.1
-errno EACCES EADDRINUSE EADDRNOTAVAIL EBADF EINVAL ENOSR \
- ENOTSOCK EIO EISDIR ELOOP ENOENT ENOTDIR EROFS
-exception
-end
-
-function __xnet_connect
-include <sys/types.h>, <sys/socket.h>
-declaration int __xnet_connect(int socket, const struct sockaddr *address, \
- socklen_t address_len)
-version SUNW_1.1
-errno EACCES EADDRINUSE EADDRNOTAVAIL EAFNOSUPPORT EALREADY EBADF \
- ECONNREFUSED EINPROGRESS EINTR EINVAL EIO EISCONN ELOOP \
- ENETUNREACH ENOENT ENOSR ENXIO ETIMEDOUT ENOTDIR \
- ENOTSOCK EPROTOTYPE
-exception $return == -1
-end
-
-function __xnet_getsockopt
-include <sys/types.h>, <sys/socket.h>
-declaration int __xnet_getsockopt(int socket, int level, \
- int option_name, void *option_value, \
- Psocklen_t option_len)
-version SUNW_1.1
-errno EBADF ENOPROTOOPT ENOTSOCK EINVAL EOPNOTSUPP ENOBUFS ENOSR
-exception $return == -1
-end
-
-function __xnet_listen
-include <sys/types.h>, <sys/socket.h>
-declaration int __xnet_listen(int socket, int backlog)
-version SUNW_1.1
-errno EBADF ENOTSOCK EOPNOTSUPP EINVAL EDESTADDRREQ ENOBUFS
-exception $return == -1
-end
-
-function __xnet_sendto
-include <sys/types.h>, <sys/socket.h>
-declaration int __xnet_sendto(int socket, const void *message, \
- size_t length, int flags, \
- const struct sockaddr *dest_addr, size_t dest_len)
-version SUNW_1.1
-errno EAFNOSUPPORT EBADF ECONNRESET EINTR EMSGSIZE ENOTCONN \
- ENOTSOCK EOPNOTSUPP EPIPE EWOULDBLOCK EAGAIN EACCES \
- EIO ELOOP ENAMETOOLONG ENOENT ENOTDIR EDESTADDRREQ \
- EHOSTUNREACH EISCONN ENETDOWN ENETUNREACH ENOBUFS \
- ENOMEM ENOSR
-exception $return == -1
-end
-
-function __xnet_socket
-include <sys/types.h>, <sys/socket.h>
-declaration int __xnet_socket(int domain, int type, int protocol)
-version SUNW_1.1
-errno EACCES EAFNOSUPPORT EMFILE ENFILE EPROTONOSUPPORT EPROTOTYPE \
- ENOBUFS ENOMEM ENOSR
-exception $return == -1
-end
-
-function __xnet_socketpair
-include <sys/types.h>, <sys/socket.h>
-declaration int __xnet_socketpair(int domain, int type, int protocol, \
- int socket_vector[2])
-version SUNW_1.1
-errno EAFNOSUPPORT EMFILE ENFILE EOPNOTSUPP EPROTONOSUPPORT \
- EPROTOTYPE EACCES ENOMEM ENOBUFS ENOSR
-exception $return == -1
-end
-
-function accept
-include <sys/types.h>, <sys/socket.h>
-declaration int accept(int s, struct sockaddr *addr, void *addrlen)
-version i386=SUNW_0.7 sparc=SISCD_2.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-errno EBADF EINTR ENODEV ENOMEM ENOSR ENOTSOCK EOPNOTSUPP EPROTO \
- EWOULDBLOCK
-exception $return == -1
-end
-
-function bind
-include <sys/types.h>, <sys/socket.h>
-declaration int bind(int s, const struct sockaddr *name, socklen_t namelen)
-version i386=SUNW_0.7 sparc=SISCD_2.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-errno EACCES EADDRINUSE EADDRNOTAVAIL EBADF EINVAL ENOSR ENOTSOCK \
- EIO EISDIR ELOOP ENOENT ENOTDIR EROFS
-exception
-end
-
-function bindresvport
-version SUNWprivate_1.1
-end
-
-function connect
-include <sys/types.h>, <sys/socket.h>
-declaration int connect(int s, const struct sockaddr *name, \
- socklen_t namelen)
-version i386=SUNW_0.7 sparc=SISCD_2.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-errno EACCES EADDRINUSE EADDRNOTAVAIL EAFNOSUPPORT EALREADY EBADF \
- ECONNREFUSED EINPROGRESS EINTR EINVAL EIO EISCONN \
- ELOOP ENETUNREACH ENOENT ENOSR ENXIO ETIMEDOUT \
- ENOTDIR ENOTSOCK EPROTOTYPE
-exception $return == -1
-end
-
-function endnetent
-include <netdb.h>
-declaration int endnetent(void)
-version SUNW_0.7
-exception $return == -1
-end
-
-function endprotoent
-include <netdb.h>
-declaration int endprotoent(void)
-version SUNW_0.7
-errno ERANGE
-end
-
-function ether_aton
-include <sys/types.h>
-include <sys/socket.h>
-include <net/if.h>
-include <netinet/in.h>
-include <netinet/if_ether.h>
-declaration struct ether_addr *ether_aton (const char *s)
-version SUNW_0.7
-exception
-end
-
-function ether_hostton
-include <sys/types.h>
-include <sys/socket.h>
-include <net/if.h>
-include <netinet/in.h>
-include <netinet/if_ether.h>
-declaration int ether_hostton (const char *hostname, struct ether_addr *e)
-version SUNW_0.7
-exception
-end
-
-function ether_line
-include <sys/types.h>
-include <sys/socket.h>
-include <net/if.h>
-include <netinet/in.h>
-include <netinet/if_ether.h>
-declaration int ether_line (const char *l, struct ether_addr *e, \
- char *hostname)
-version SUNW_0.7
-exception
-end
-
-function ether_ntoa
-include <sys/types.h>
-include <sys/socket.h>
-include <net/if.h>
-include <netinet/in.h>
-include <netinet/if_ether.h>
-declaration char *ether_ntoa (const struct ether_addr *e)
-version SUNW_0.7
-exception
-end
-
-function ether_ntohost
-include <sys/types.h>
-include <sys/socket.h>
-include <net/if.h>
-include <netinet/in.h>
-include <netinet/if_ether.h>
-declaration int ether_ntohost (char *hostname, const struct ether_addr *e)
-version SUNW_0.7
-exception
-end
-
-function freeaddrinfo
-include <sys/socket.h>
-include <netdb.h>
-declaration void freeaddrinfo(struct addrinfo *ai)
-version SUNW_1.4
-end
-
-function gai_strerror
-include <sys/socket.h>
-include <netdb.h>
-declaration const char *gai_strerror(int ecode)
-version SUNW_1.4
-end
-
-function getaddrinfo
-include <sys/socket.h>
-include <netdb.h>
-declaration int getaddrinfo(const char *hostname, const char *servname, \
- const struct addrinfo *hints, struct addrinfo **res)
-version SUNW_1.4
-exception $return != 0
-end
-
-function __xnet_getaddrinfo
-include <sys/socket.h>
-include <netdb.h>
-declaration int __xnet_getaddrinfo(const char *hostname, \
- const char *servname, const struct addrinfo *hints, \
- struct addrinfo **res)
-version SUNW_1.5
-exception $return != 0
-end
-
-function getnameinfo
-include <sys/socket.h>
-include <netdb.h>
-declaration int getnameinfo(const struct sockaddr *sa, socklen_t salen, \
- char *host, socklen_t hostlen, char *serv, \
- socklen_t servlen, int flags)
-version SUNW_1.4
-exception $return != 0
-end
-
-function getnetbyaddr
-include <netdb.h>
-declaration struct netent *getnetbyaddr(in_addr_t net, int type)
-version SUNW_0.7
-exception $return == 0
-end
-
-function getnetbyaddr_r
-include <netdb.h>
-declaration struct netent *getnetbyaddr_r(long net, int type, \
- struct netent *result, char *buffer, int buflen)
-version SUNW_0.7
-exception $return == 0
-end
-
-function getnetbyname
-include <netdb.h>
-declaration struct netent *getnetbyname(const char *name)
-version SUNW_0.7
-exception $return == 0
-end
-
-function getnetbyname_r
-include <netdb.h>
-declaration struct netent *getnetbyname_r(const char *name, \
- struct netent *result, char *buffer, int buflen)
-version SUNW_0.7
-exception $return == 0
-end
-
-function getnetent
-include <netdb.h>
-declaration struct netent *getnetent(void)
-version SUNW_0.7
-exception $return == 0
-end
-
-function getnetent_r
-include <netdb.h>
-declaration struct netent *getnetent_r(struct netent *result, \
- char *buffer, int buflen)
-version SUNW_0.7
-exception $return == 0
-end
-
-function getpeername
-include <sys/socket.h>
-declaration int getpeername(int s, struct sockaddr *name, \
- Psocklen_t namelen)
-version i386=SUNW_0.7 sparc=SISCD_2.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-errno EBADF ENOMEM ENOSR ENOTCONN ENOTSOCK
-exception $return == -1
-end
-
-function getprotobyname
-include <netdb.h>
-declaration struct protoent *getprotobyname(const char *name)
-version i386=SUNW_0.7 sparc=SISCD_2.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-errno ERANGE
-exception $return == 0
-end
-
-function getprotobyname_r
-include <netdb.h>
-declaration struct protoent *getprotobyname_r(const char *name, \
- struct protoent *result, char *buffer, int buflen)
-version SUNW_0.7
-errno ERANGE
-exception $return == 0
-end
-
-function getprotobynumber
-include <netdb.h>
-declaration struct protoent *getprotobynumber(int proto)
-version i386=SUNW_0.7 sparc=SISCD_2.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-errno ERANGE
-exception $return == 0
-end
-
-function getprotobynumber_r
-include <netdb.h>
-declaration struct protoent *getprotobynumber_r(int proto, \
- struct protoent *result, char *buffer, int buflen)
-version SUNW_0.7
-errno ERANGE
-exception $return == 0
-end
-
-function getprotoent
-include <netdb.h>
-declaration struct protoent *getprotoent(void)
-version i386=SUNW_0.7 sparc=SISCD_2.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-errno ERANGE
-exception $return == 0
-end
-
-function getprotoent_r
-include <netdb.h>
-declaration struct protoent *getprotoent_r(struct protoent *result, \
- char *buffer, int buflen)
-version SUNW_0.7
-errno ERANGE
-exception $return == 0
-end
-
-function getservbyname
-include <netdb.h>
-declaration struct servent *getservbyname(const char *name, \
- const char *proto)
-version i386=SUNW_0.7 sparc=SISCD_2.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-exception $return == 0
-end
-
-function getservbyname_r
-include <netdb.h>
-declaration struct servent *getservbyname_r(const char *name, \
- const char *proto, struct servent *result, \
- char *buffer, int buflen)
-version SUNW_0.7
-exception $return == 0
-end
-
-function getservbyport
-include <netdb.h>
-declaration struct servent *getservbyport(int port, const char *proto)
-version i386=SUNW_0.7 sparc=SISCD_2.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-exception $return == 0
-end
-
-function getservbyport_r
-include <netdb.h>
-declaration struct servent *getservbyport_r(int port, const char *proto, \
- struct servent *result, char *buffer, int buflen)
-version SUNW_0.7
-exception $return == 0
-end
-
-function getservent
-include <netdb.h>
-declaration struct servent *getservent(void)
-version SUNW_0.7
-exception $return == 0
-end
-
-function getservent_r
-include <netdb.h>
-declaration struct servent *getservent_r(struct servent *result, \
- char *buffer, int buflen)
-version SUNW_0.7
-exception $return == 0
-end
-
-function getsockname
-include <sys/types.h>
-include <sys/socket.h>
-declaration int getsockname(int s, struct sockaddr *name, void *namelen)
-version i386=SUNW_0.7 sparc=SISCD_2.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-errno EBADF ENOMEM ENOSR ENOTSOCK
-exception $return == -1
-end
-
-function getsockopt
-include <sys/types.h>
-include <sys/socket.h>
-declaration int getsockopt(int s, int level, int optname, void *optval, \
- void *optlen)
-version i386=SUNW_0.7 sparc=SISCD_2.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-errno EBADF ENOMEM ENOPROTOOPT ENOSR ENOTSOCK
-exception $return == -1
-end
-
-function getsourcefilter
-include <netinet/in.h>
-declaration int getsourcefilter(int s, uint32_t interface, \
- struct sockaddr *group, socklen_t grouplen, \
- uint32_t *fmode, uint_t *numsrc, \
- struct sockaddr_storage *slist)
-version SUNW_1.6
-errno EBADF ENOPROTOOPT ENOSR ENOTSOCK ENXIO EADDRNOTAVAIL
-exception $return == -1
-end
-
-function getipv4sourcefilter
-include <netinet/in.h>
-declaration int getipv4sourcefilter(int s, struct in_addr interface, \
- struct in_addr group, uint32_t *fmode, \
- uint32_t *numsrc, struct in_addr *slist)
-version SUNW_1.6
-errno EBADF ENOPROTOOPT ENOSR ENOTSOCK ENXIO EADDRNOTAVAIL
-exception $return == -1
-end
-
-function htonl
-include <sys/types.h>
-include <netinet/in.h>
-include <inttypes.h>
-declaration uint32_t htonl(uint32_t hostlong)
-version SUNW_0.7
-end
-
-function htons
-include <sys/types.h>
-include <netinet/in.h>
-include <inttypes.h>
-declaration uint16_t htons(uint16_t hostshort)
-version SUNW_0.7
-end
-
-function if_freenameindex
-include <net/if.h>
-declaration void if_freenameindex(struct if_nameindex *ptr)
-version SUNW_1.4
-end
-
-function if_indextoname
-include <net/if.h>
-declaration char *if_indextoname(uint32_t ifindex, char *ifname)
-version SUNW_1.4
-exception $return == 0
-end
-
-function if_nametoindex
-include <net/if.h>
-declaration uint32_t if_nametoindex(const char *ifname)
-version SUNW_1.4
-exception $return == 0
-end
-
-function if_nameindex
-include <net/if.h>
-declaration struct if_nameindex *if_nameindex(void)
-version SUNW_1.4
-exception $return == 0
-end
-
-data in6addr_any
-declaration const struct in6_addr in6addr_any = IN6ADDR_ANY_INIT
-version SUNW_1.4
-end
-
-data in6addr_loopback
-declaration const struct in6_addr in6addr_loopback = IN6ADDR_LOOPBACK_INIT
-version SUNW_1.4
-end
-
-function inet_lnaof
-include <sys/types.h>
-include <netinet/in.h>
-declaration in_addr_t inet_lnaof(struct in_addr in)
-# see inet_lnaof inet (3n) - Internet address manipulation
-version i386=SUNW_0.7 sparc=SISCD_2.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-end
-
-function inet_makeaddr
-include <sys/types.h>
-include <netinet/in.h>
-declaration struct in_addr inet_makeaddr(in_addr_t net, in_addr_t lna)
-# see inet_makeaddr inet (3n) - Internet address manipulation
-version i386=SUNW_0.7 sparc=SISCD_2.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-end
-
-function inet_network
-include <sys/types.h>
-include <netinet/in.h>
-declaration in_addr_t inet_network(const char *cp)
-# see inet_network inet (3n) - Internet address manipulation
-version i386=SUNW_0.7 sparc=SISCD_2.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-end
-
-function listen
-include <sys/types.h>
-include <sys/socket.h>
-declaration int listen(int socket, int backlog)
-version i386=SUNW_0.7 sparc=SISCD_2.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-errno EBADF ENOTSOCK EOPNOTSUPP EINVAL EDESTADDRREQ ENOBUFS
-exception $return == -1
-end
-
-function ntohl
-include <sys/types.h>
-include <netinet/in.h>
-include <inttypes.h>
-declaration uint32_t ntohl(uint32_t netlong)
-version SUNW_0.7
-end
-
-function ntohs
-include <sys/types.h>
-include <netinet/in.h>
-include <inttypes.h>
-declaration uint16_t ntohs(uint16_t netshort)
-version SUNW_0.7
-end
-
-function rcmd
-include <netdb.h>
-declaration int rcmd(char **ahost, unsigned short inport, \
- const char *luser, const char *ruser, const char *cmd, \
- int *fd2p)
-version SUNW_0.7
-exception $return == -1
-end
-
-function rcmd_af
-include <netdb.h>
-declaration int rcmd_af(char **ahost, unsigned short inport, \
- const char *luser, const char *ruser, \
- const char *cmd, int *fd2p, int af)
-version SUNW_1.4
-exception $return == -1
-end
-
-function recv
-include <sys/types.h>
-include <sys/socket.h>
-include <sys/uio.h>
-declaration ssize_t recv(int s, void *buf, size_t len, int flags)
-version i386=SUNW_0.7 sparc=SISCD_2.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-errno EBADF EINTR EIO ENOMEM ENOSR ENOTSOCK ESTALE EWOULDBLOCK
-exception $return == -1
-end
-
-function recvfrom
-include <sys/types.h>
-include <sys/socket.h>
-include <sys/uio.h>
-declaration ssize_t recvfrom(int s, void *buf, size_t len, int flags, \
- struct sockaddr *from, void *fromlen)
-version i386=SUNW_0.7 sparc=SISCD_2.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-errno EBADF EINTR EIO ENOMEM ENOSR ENOTSOCK ESTALE EWOULDBLOCK
-exception $return == -1
-end
-
-function rexec
-include <netdb.h>
-declaration int rexec(char **ahost, unsigned short inport, \
- const char *user, const char *passwd, const char *cmd, \
- int *fd2p)
-version SUNW_0.7
-exception $return == -1
-end
-
-function rexec_af
-include <netdb.h>
-declaration int rexec_af(char **ahost, unsigned short inport, \
- const char *user, const char *passwd, \
- const char *cmd, int *fd2p, int af)
-version SUNW_1.4
-exception $return == -1
-end
-
-function rresvport
-include <netdb.h>
-declaration int rresvport(int *port)
-version SUNW_0.7
-exception $return == -1
-end
-
-function rresvport_af
-include <netdb.h>
-declaration int rresvport_af(int *alport, int af)
-version SUNW_1.4
-exception $return == -1
-end
-
-function rresvport_addr
-include <netdb.h>
-declaration int rresvport_addr(int *alport, struct sockaddr_storage *addr)
-version SUNWprivate_1.1
-exception $return == -1
-end
-
-function ruserok
-include <netdb.h>
-declaration int ruserok(const char *rhost, int suser, const char *ruser, \
- const char *luser)
-version SUNW_0.7
-exception $return == -1
-end
-
-function send
-include <sys/types.h>
-include <sys/socket.h>
-declaration ssize_t send(int s, const void *msg, size_t len, int flags)
-version i386=SUNW_0.7 sparc=SISCD_2.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-errno EBADF EINTR EINVAL EMSGSIZE ENOMEM ENOSR ENOTSOCK EWOULDBLOCK
-exception $return == -1
-end
-
-function sendto
-include <sys/types.h>
-include <sys/socket.h>
-declaration ssize_t sendto(int s, const void *msg, size_t len, int flags, \
- const struct sockaddr *to, socklen_t tolen)
-version i386=SUNW_0.7 sparc=SISCD_2.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-errno EBADF EINTR EINVAL EMSGSIZE ENOMEM ENOSR ENOTSOCK EWOULDBLOCK
-exception $return == -1
-end
-
-function setnetent
-include <netdb.h>
-declaration int setnetent(int stayopen)
-version SUNW_0.7
-exception $return == -1
-end
-
-function setprotoent
-include <netdb.h>
-declaration int setprotoent(int stayopen)
-version SUNW_0.7
-errno ERANGE
-end
-
-function setservent
-include <netdb.h>
-declaration int setservent(int stayopen)
-version SUNW_0.7
-exception $return == 0
-end
-
-function setsockopt
-include <sys/types.h>
-include <sys/socket.h>
-declaration int setsockopt(int s, int level, int optname, \
- const void *optval, socklen_t optlen)
-version i386=SUNW_0.7 sparc=SISCD_2.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-errno EBADF ENOMEM ENOPROTOOPT ENOSR ENOTSOCK
-exception $return == -1
-end
-
-function setsourcefilter
-include <netinet/in.h>
-declaration int setsourcefilter(int s, uint32_t interface, \
- struct sockaddr *group, socklen_t grouplen, \
- uint32_t fmode, uint_t numsrc, \
- struct sockaddr_storage *slist)
-version SUNW_1.6
-errno EBADF ENOPROTOOPT ENOSR ENOTSOCK ENXIO ENOBUFS
-exception $return == -1
-end
-
-function setipv4sourcefilter
-include <netinet/in.h>
-declaration int setipv4sourcefilter(int s, struct in_addr interface, \
- struct in_addr group, uint32_t fmode,
- uint32_t numsrc, struct in_addr *slist)
-version SUNW_1.6
-errno EBADF ENOPROTOOPT ENOSR ENOTSOCK ENXIO ENOBUFS
-exception $return == -1
-end
-
-function shutdown
-declaration int shutdown(int s, int how)
-version i386=SUNW_0.7 sparc=SISCD_2.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-errno EBADF ENOMEM ENOSR ENOTCONN ENOTSOCK
-exception $return == -1
-end
-
-function sockatmark
-declaration int sockatmark(int socket)
-version SUNW_1.5
-errno EBADF ENOTTY
-exception $return == -1
-end
-
-function socket
-include <sys/types.h>
-include <sys/socket.h>
-declaration int socket(int domain, int type, int protocol)
-version i386=SUNW_0.7 sparc=SISCD_2.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-errno EACCES EMFILE ENOMEM ENOSR EPROTONOSUPPORT
-exception $return == -1
-end
-
-function socketpair
-include <sys/types.h>
-include <sys/socket.h>
-declaration int socketpair(int domain, int type, int protocol, int sv[2])
-version SUNW_0.7
-errno EAFNOSUPPORT EMFILE ENOMEM ENOSR EOPNOTSUPP EPROTONOSUPPORT
-exception $return == -1
-end
-
-function _link_ntoa
-include <net/if_dl.h>
-declaration char *_link_ntoa(const unsigned char *, char *, int, int)
-version SUNWprivate_1.3
-exception $return == 0
-end
-
-function _link_aton
-include <net/if_dl.h>
-declaration unsigned char *_link_aton(const char *, int *)
-version SUNWprivate_1.3
-exception $return == 0
-end
-
-# IPv6 routing header manipulation
-function inet6_rth_add
-include <netinet/in.h>
-declaration int inet6_rth_add(void *bp, const struct in6_addr *addr)
-version SUNW_1.5
-errno
-exception $return == -1
-end
-
-function inet6_rth_init
-include <netinet/in.h>
-declaration void *inet6_rth_init(void *bp, socklen_t bp_len, int type, int segments)
-version SUNW_1.5
-errno
-exception $return == 0
-end
-
-function inet6_rth_getaddr
-include <netinet/in.h>
-declaration struct in6_addr *inet6_rth_getaddr(const void *bp, int index)
-version SUNW_1.5
-errno
-exception $return == 0
-end
-
-function inet6_rth_reverse
-include <netinet/in.h>
-declaration int inet6_rth_reverse(const void *in, void *out)
-version SUNW_1.5
-errno
-exception $return == -1
-end
-
-function inet6_rth_segments
-include <netinet/in.h>
-declaration int inet6_rth_segments(const void *bp)
-version SUNW_1.5
-errno
-exception $return == -1
-end
-
-function inet6_rth_space
-include <unistd.h>
-declaration socklen_t inet6_rth_space(int type, int segments)
-version SUNW_1.5
-errno
-exception $return == 0
-end
-
-# IPv6 option header manipulation
-function inet6_opt_init
-include <netinet/in.h>, <sys/socket.h>
-declaration int inet6_opt_init(void *extbuf, socklen_t extlen)
-version SUNW_1.5
-errno
-exception $return == -1
-end
-
-function inet6_opt_append
-include <netinet/in.h>, <sys/socket.h>
-declaration int inet6_opt_append(void *extbuf, socklen_t extlen,\
- int offset, uint8_t type, socklen_t len, uint_t align,\
- void **databufp)
-version SUNW_1.5
-errno
-exception $return == -1
-end
-
-function inet6_opt_finish
-include <netinet/in.h>, <sys/socket.h>
-declaration int inet6_opt_finish(void *extbuf, socklen_t extlen,\
- int offset)
-version SUNW_1.5
-errno
-exception $return == -1
-end
-
-function inet6_opt_set_val
-include <netinet/in.h>, <sys/socket.h>
-declaration int inet6_opt_set_val(void *databuf, int offset, void *val,\
- socklen_t vallen)
-version SUNW_1.5
-errno
-exception $return == -1
-end
-
-function inet6_opt_next
-include <netinet/in.h>, <sys/socket.h>
-declaration int inet6_opt_next(void *extbuf, socklen_t extlen, int offset,\
- uint8_t *typep, socklen_t *lenp, void **databufp)
-version SUNW_1.5
-errno
-exception $return == -1
-end
-
-function inet6_opt_find
-include <netinet/in.h>, <sys/socket.h>
-declaration int inet6_opt_find(void *extbuf, socklen_t extlen, int offset,\
- uint8_t type, socklen_t *lenp, void **databufp)
-version SUNW_1.5
-errno
-exception $return == -1
-end
-
-function inet6_opt_get_val
-include <netinet/in.h>, <sys/socket.h>
-declaration int inet6_opt_get_val(void *databuf, int offset, void *val,\
- socklen_t vallen)
-version SUNW_1.5
-errno
-exception $return == -1
-end
-
-# mh mailing system
-function _ruserpass
-version SUNWprivate_1.1
-end
-
-# BCP
-function _socket_bsd
-version SUNWprivate_1.1
-end
-
-# BCP
-function _socketpair_bsd
-version SUNWprivate_1.1
-end
-
-# rpc.bootparamd
-function bootparams_getbyname
-version SUNWprivate_1.1
-end
-
-# ifconfig
-function getnetmaskbyaddr
-version SUNWprivate_1.2
-end
-
-# in.dhcpd, dhcp admin
-function getnetmaskbynet
-version SUNWprivate_1.2
-end
diff --git a/usr/src/lib/libsocket/spec/sparc/Makefile b/usr/src/lib/libsocket/spec/sparc/Makefile
deleted file mode 100644
index 3de398fdd4..0000000000
--- a/usr/src/lib/libsocket/spec/sparc/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1998-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libsocket/spec/sparc/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#sparc_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libsocket/spec/sparcv9/Makefile b/usr/src/lib/libsocket/spec/sparcv9/Makefile
deleted file mode 100644
index 378854c037..0000000000
--- a/usr/src/lib/libsocket/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,45 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1998-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libsocket/spec/sparcv9/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-sparcv9_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libsocket/spec/svr4msg.spec b/usr/src/lib/libsocket/spec/svr4msg.spec
deleted file mode 100644
index 47f236948c..0000000000
--- a/usr/src/lib/libsocket/spec/svr4msg.spec
+++ /dev/null
@@ -1,131 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-function recvmsg
-include "svr4msg_spec.h", <sys/types.h>, <sys/socket.h>
-declaration ssize_t recvmsg(int s, struct SVR4_msghdr *msg, int flags)
-version i386=SUNW_0.7 sparc=SISCD_2.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-errno EBADF EINTR EIO ENOMEM ENOSR ENOTSOCK ESTALE EWOULDBLOCK
-exception $return == -1
-end
-
-function sendmsg
-include "svr4msg_spec.h", <sys/types.h>, <sys/socket.h>
-declaration ssize_t sendmsg(int s, const struct SVR4_msghdr *msg, int flags )
-version i386=SUNW_0.7 sparc=SISCD_2.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-errno EBADF EINTR EINVAL EMSGSIZE ENOMEM ENOSR ENOTSOCK EWOULDBLOCK
-exception $return == -1
-end
-
-#
-# weak interfaces
-#
-function _recvmsg
-weak recvmsg
-version SUNWprivate_1.1
-end
-
-function _sendmsg
-weak sendmsg
-version SUNWprivate_1.1
-end
-
-function _socket
-weak socket
-version SUNWprivate_1.1
-end
-
-function _socketpair
-weak socketpair
-version SUNWprivate_1.1
-end
-
-function _bind
-weak bind
-version SUNWprivate_1.1
-end
-
-function _listen
-weak listen
-version SUNWprivate_1.1
-end
-
-function _accept
-weak accept
-version SUNWprivate_1.1
-end
-
-function _connect
-weak connect
-version SUNWprivate_1.1
-end
-
-function _shutdown
-weak shutdown
-version SUNWprivate_1.1
-end
-
-function _recv
-weak recv
-version SUNWprivate_1.1
-end
-
-function _recvfrom
-weak recvfrom
-version SUNWprivate_1.1
-end
-
-function _send
-weak send
-version SUNWprivate_1.1
-end
-
-function _sendto
-weak sendto
-version SUNWprivate_1.1
-end
-
-function _getpeername
-weak getpeername
-version SUNWprivate_1.1
-end
-
-function _getsockname
-weak getsockname
-version SUNWprivate_1.1
-end
-
-function _getsockopt
-weak getsockopt
-version SUNWprivate_1.1
-end
-
-function _setsockopt
-weak setsockopt
-version SUNWprivate_1.1
-end
-
diff --git a/usr/src/lib/libsocket/spec/versions b/usr/src/lib/libsocket/spec/versions
deleted file mode 100644
index 5ad9b43212..0000000000
--- a/usr/src/lib/libsocket/spec/versions
+++ /dev/null
@@ -1,84 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# Note (re: SUNW_1.2 .. SUNW_1.3):
-# Even though the SUNW_1.2 and SUNW_1.3 versions now contain no
-# symbols these versions MUST be present. This is because applications
-# built on 2.6 Beta (when they did contain symbols explicitly) may
-# depend on them.
-#
-# All symbol content for Solaris2.6 is now contained in SUNW_1.1,
-# and (the now empty) versions SUNW_1.2 and SUNW_1.3 must be kept.
-#
-i386 {
- SUNW_1.6: {SUNW_1.5};
- SUNW_1.5: {SUNW_1.4};
- SUNW_1.4: {SUNW_1.3};
- SUNW_1.3: {SUNW_1.2};
- SUNW_1.2: {SUNW_1.1};
- SUNW_1.1: {SUNW_0.7};
- SUNW_0.7;
- SUNWprivate_1.3: {SUNWprivate_1.2};
- SUNWprivate_1.2: {SUNWprivate_1.1};
- SUNWprivate_1.1;
-}
-sparc {
- SUNW_1.6: {SUNW_1.5};
- SUNW_1.5: {SUNW_1.4};
- SUNW_1.4: {SUNW_1.3};
- SUNW_1.3: {SUNW_1.2};
- SUNW_1.2: {SUNW_1.1};
- SUNW_1.1: {SUNW_0.7};
- SUNW_0.7: {SISCD_2.3};
- SISCD_2.3;
- SUNWprivate_1.3: {SUNWprivate_1.2};
- SUNWprivate_1.2: {SUNWprivate_1.1};
- SUNWprivate_1.1;
-}
-sparcv9 {
- SUNW_1.6: {SUNW_1.5};
- SUNW_1.5: {SUNW_1.4};
- SUNW_1.4: {SUNW_1.3};
- SUNW_1.3: {SUNW_1.2};
- SUNW_1.2: {SUNW_1.1};
- SUNW_1.1: {SUNW_0.7};
- SUNW_0.7;
- SUNWprivate_1.3: {SUNWprivate_1.2};
- SUNWprivate_1.2: {SUNWprivate_1.1};
- SUNWprivate_1.1;
-}
-amd64 {
- SUNW_1.6: {SUNW_1.5};
- SUNW_1.5: {SUNW_1.4};
- SUNW_1.4: {SUNW_1.3};
- SUNW_1.3: {SUNW_1.2};
- SUNW_1.2: {SUNW_1.1};
- SUNW_1.1: {SUNW_0.7};
- SUNW_0.7;
- SUNWprivate_1.3: {SUNWprivate_1.2};
- SUNWprivate_1.2: {SUNWprivate_1.1};
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/libsocket/spec/xpgmsg.spec b/usr/src/lib/libsocket/spec/xpgmsg.spec
deleted file mode 100644
index 61ffcef9f8..0000000000
--- a/usr/src/lib/libsocket/spec/xpgmsg.spec
+++ /dev/null
@@ -1,48 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-
-function __xnet_recvmsg
-include "xpgmsg_spec.h", <sys/types.h>, <sys/socket.h>
-declaration ssize_t __xnet_recvmsg(int socket, struct XPG_msghdr *msg, \
- int flags)
-version SUNW_1.1
-errno EBADF ENOTSOCK EINVAL EWOULDBLOCK EAGAIN EINTR EOPNOTSUPP \
- ENOTCONN ETIMEDOUT ECONNRESET EIO ENOBUFS ENOMEM ENOSR
-exception $return == -1
-end
-
-function __xnet_sendmsg
-include "xpgmsg_spec.h", <sys/types.h>, <sys/socket.h>
-declaration ssize_t __xnet_sendmsg(int socket, const struct XPG_msghdr *msg, \
- int flags )
-version SUNW_1.1
-errno EAFNOSUPPORT EBADF ECONNRESET EINTR EINVAL EMSGSIZE ENOTCONN \
- ENOTSOCK EOPNOTSUPP EPIPE EWOULDBLOCK EAGAIN EACCES EIO \
- ELOOP ENAMETOOLONG ENOENT ENOTDIR EDESTADDRREQ EHOSTUNREACH \
- EISCONN ENETDOWN ENETUNREACH ENOBUFS ENOSR
-exception $return == -1
-end
diff --git a/usr/src/lib/libsys/Makefile.com b/usr/src/lib/libsys/Makefile.com
index ef37bbf272..3f5359c93e 100644
--- a/usr/src/lib/libsys/Makefile.com
+++ b/usr/src/lib/libsys/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,13 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libsys/Makefile.com
-#
LIBRARY= libsys.a
VERS= .1
@@ -36,13 +33,13 @@ OBJECTS= $(COMOBJ) $(MACHOBJ)
include ../../../lib/Makefile.lib
-MAPFILES= mapfile-vers $(MAPFILE-FLTR)
-MAPOPTS= $(MAPFILES:%=-M%)
+MAPFILES = mapfile-vers $(MAPFILE-FLTR)
# Define libsys to be a filter on libc. The ABI requires the runtime linker as
# the soname.
-DYNFLAGS += -F/usr/lib/libc.so.1 $(MAPOPTS)
+DYNFLAGS += -F/usr/lib/libc.so.1
+
SONAME= /usr/lib/ld.so.1
# Redefine shared object build rule to use $(LD) directly (this avoids .init
@@ -55,4 +52,4 @@ pics/%.o := ASFLAGS += $(AS_PICFLAGS)
COMSRC= $(COMOBJ:%.o=%.c)
MACHSRC= $(MACHOBJ:%.o=%.s)
-CLOBBERFILES += $(DYNLIB) $(LIBLINKS) $(COMSRC) $(MACHSRC) $(MAPFILE)
+CLOBBERFILES += $(DYNLIB) $(LIBLINKS) $(COMSRC) $(MACHSRC)
diff --git a/usr/src/lib/libsys/Makefile.targ b/usr/src/lib/libsys/Makefile.targ
index e447c21727..c78f09af6a 100644
--- a/usr/src/lib/libsys/Makefile.targ
+++ b/usr/src/lib/libsys/Makefile.targ
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,10 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
+#
pics/%.o: %.s
$(COMPILE.s) -o $@ $<
@@ -33,8 +33,6 @@ pics/%.o: %.c
$(COMPILE.c) -o $@ $<
$(POST_PROCESS_O)
-$(DYNLIB): $(MAPFILES)
-
include ../../../lib/Makefile.targ
FRC:
diff --git a/usr/src/lib/libsysevent/Makefile b/usr/src/lib/libsysevent/Makefile
index 7edc64ff6f..15ab4b3c28 100644
--- a/usr/src/lib/libsysevent/Makefile
+++ b/usr/src/lib/libsysevent/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,19 +19,16 @@
# CDDL HEADER END
#
#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright 2000,2003 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# lib/libsysevent/Makefile
-#
+# ident "%Z%%M% %I% %E% SMI"
#
-# include library definitions
include ../Makefile.lib
-SUBDIRS = spec .WAIT $(MACH) $(BUILD64) $(MACH64)
+SUBDIRS = $(MACH)
+$(BUILD64)SUBDIRS += $(MACH64)
# conditional assignments
all := TARGET= all
@@ -61,7 +57,7 @@ install_h: $(ROOTHDRS)
check: $(CHECKHDRS)
-$(MACH) $(MACH64) spec: FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
diff --git a/usr/src/lib/libsysevent/Makefile.com b/usr/src/lib/libsysevent/Makefile.com
index 5abbe900e7..dcb6517a0d 100644
--- a/usr/src/lib/libsysevent/Makefile.com
+++ b/usr/src/lib/libsysevent/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,7 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
@@ -37,11 +36,6 @@ OBJECTS= libsysevent.o \
include ../../Makefile.lib
include ../../Makefile.rootfs
-SRCS= $(OBJECTS:%.o=../%.c)
-
-MAPDIR= ../spec/$(TRANSMACH)
-SPECMAPFILE= $(MAPDIR)/mapfile
-
LIBS = $(DYNLIB) $(LINTLIB)
LINTSRC = $(LINTLIB:%.ln=%)
diff --git a/usr/src/lib/libsysevent/mapfile-vers b/usr/src/lib/libsysevent/mapfile-vers
new file mode 100644
index 0000000000..78d82b15d8
--- /dev/null
+++ b/usr/src/lib/libsysevent/mapfile-vers
@@ -0,0 +1,88 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+# Due to mistakes made early in the history of this library, there are
+# no SUNW_1.2 symbols, but the version is now kept as a placeholder.
+# Don't add any symbols to this version.
+
+SUNW_1.2 {
+ global:
+ SUNW_1.2;
+} SUNW_1.1;
+
+SUNW_1.1 {
+ global:
+ sysevent_bind_handle;
+ sysevent_free;
+ sysevent_get_attr_list;
+ sysevent_get_class_name;
+ sysevent_get_pid;
+ sysevent_get_pub_name;
+ sysevent_get_seq;
+ sysevent_get_size;
+ sysevent_get_subclass_name;
+ sysevent_get_time;
+ sysevent_get_vendor_name;
+ sysevent_post_event;
+ sysevent_subscribe_event;
+ sysevent_unbind_handle;
+ sysevent_unsubscribe_event;
+};
+
+SUNWprivate_1.1 {
+ global:
+ se_print;
+ sysevent_alloc_event;
+ sysevent_attr_name;
+ sysevent_attr_next;
+ sysevent_attr_value;
+ sysevent_bind_publisher;
+ sysevent_bind_subscriber;
+ sysevent_cleanup_publishers;
+ sysevent_cleanup_subscribers;
+ sysevent_close_channel;
+ sysevent_dup;
+ sysevent_evc_bind;
+ sysevent_evc_control;
+ sysevent_evc_publish;
+ sysevent_evc_subscribe;
+ sysevent_evc_unbind;
+ sysevent_evc_unsubscribe;
+ sysevent_get_class;
+ sysevent_get_pub;
+ sysevent_get_subclass;
+ sysevent_lookup_attr;
+ sysevent_open_channel;
+ sysevent_open_channel_alt;
+ sysevent_register_event;
+ sysevent_send_event;
+ sysevent_unbind_publisher;
+ sysevent_unbind_subscriber;
+ sysevent_unregister_event;
+ local:
+ *;
+};
diff --git a/usr/src/lib/libsysevent/spec/Makefile b/usr/src/lib/libsysevent/spec/Makefile
deleted file mode 100644
index 1c63d1251e..0000000000
--- a/usr/src/lib/libsysevent/spec/Makefile
+++ /dev/null
@@ -1,30 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 2000 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libsysevent/spec/Makefile
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/libsysevent/spec/Makefile.targ b/usr/src/lib/libsysevent/spec/Makefile.targ
deleted file mode 100644
index f939d9d889..0000000000
--- a/usr/src/lib/libsysevent/spec/Makefile.targ
+++ /dev/null
@@ -1,35 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 2000 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libsysevent/spec/Makefile.targ
-
-LIBRARY = libsysevent.a
-VERS = .1
-
-OBJECTS = sysevent.o
-
-SPECCPP = -I../..
diff --git a/usr/src/lib/libsysevent/spec/amd64/Makefile b/usr/src/lib/libsysevent/spec/amd64/Makefile
deleted file mode 100644
index 2a38c1cba9..0000000000
--- a/usr/src/lib/libsysevent/spec/amd64/Makefile
+++ /dev/null
@@ -1,42 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#amd64_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libsysevent/spec/i386/Makefile b/usr/src/lib/libsysevent/spec/i386/Makefile
deleted file mode 100644
index 315735abeb..0000000000
--- a/usr/src/lib/libsysevent/spec/i386/Makefile
+++ /dev/null
@@ -1,42 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 2000 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libsysevent/spec/i386/Makefile
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#i386_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libsysevent/spec/sparc/Makefile b/usr/src/lib/libsysevent/spec/sparc/Makefile
deleted file mode 100644
index 8af986c67d..0000000000
--- a/usr/src/lib/libsysevent/spec/sparc/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 2000 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libsysevent/spec/sparc/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#sparc_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libsysevent/spec/sparcv9/Makefile b/usr/src/lib/libsysevent/spec/sparcv9/Makefile
deleted file mode 100644
index a4e7cd3f3f..0000000000
--- a/usr/src/lib/libsysevent/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,43 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 2000 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libsysevent/spec/sparcv9/Makefile
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#sparcv9_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libsysevent/spec/sysevent.spec b/usr/src/lib/libsysevent/spec/sysevent.spec
deleted file mode 100644
index 5f5a2ed660..0000000000
--- a/usr/src/lib/libsysevent/spec/sysevent.spec
+++ /dev/null
@@ -1,286 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libsysevent/spec/sysevent.spec
-
-function sysevent_open_channel
-include <libsysevent.h>
-declaration sysevent_handle_t *sysevent_open_channel(const char *channel)
-version SUNWprivate_1.1
-end
-
-function sysevent_open_channel_alt
-include <libsysevent.h>
-declaration sysevent_handle_t *sysevent_open_channel_alt(const char *channel_path)
-version SUNWprivate_1.1
-end
-
-function sysevent_close_channel
-include <libsysevent.h>
-declaration void sysevent_close_channel(sysevent_handle_t *shp)
-version SUNWprivate_1.1
-end
-
-function sysevent_bind_subscriber
-include <libsysevent.h>
-declaration int sysevent_bind_subscriber(sysevent_handle_t *shp, void (*event_handler)(sysevent_t *ev))
-version SUNWprivate_1.1
-end
-
-function sysevent_bind_publisher
-include <libsysevent.h>
-declaration int sysevent_bind_publisher(sysevent_handle_t *shp)
-version SUNWprivate_1.1
-end
-
-function sysevent_unbind_subscriber
-include <libsysevent.h>
-declaration void sysevent_unbind_subscriber(sysevent_handle_t *shp)
-version SUNWprivate_1.1
-end
-
-function sysevent_unbind_publisher
-include <libsysevent.h>
-declaration void sysevent_unbind_publisher(sysevent_handle_t *shp)
-version SUNWprivate_1.1
-end
-
-function sysevent_send_event
-include <libsysevent.h>
-declaration int sysevent_send_event(sysevent_handle_t *shp, sysevent_t *ev)
-version SUNWprivate_1.1
-end
-
-function sysevent_register_event
-include <libsysevent.h>
-declaration int sysevent_register_event(sysevent_handle_t *shp, const char *event_class, const char **event_subclass_list, int subclass_num)
-version SUNWprivate_1.1
-end
-
-
-function sysevent_unregister_event
-include <libsysevent.h>
-declaration void sysevent_unregister_event(sysevent_handle_t *shp, const char *event_class)
-version SUNWprivate_1.1
-end
-
-function sysevent_cleanup_publishers
-include <libsysevent.h>
-declaration void sysevent_cleanup_publishers(sysevent_handle_t *shp)
-version SUNWprivate_1.1
-end
-
-function sysevent_cleanup_subscribers
-include <libsysevent.h>
-declaration void sysevent_cleanup_subscribers(sysevent_handle_t *shp)
-version SUNWprivate_1.1
-end
-
-function sysevent_bind_handle
-include <libsysevent.h>
-declaration sysevent_handle_t *sysevent_bind_handle(void (*event_handler)(sysevent_t *ev))
-version SUNW_1.1
-end
-
-function sysevent_unbind_handle
-include <libsysevent.h>
-declaration void sysevent_unbind_handle(sysevent_handle_t *shp)
-version SUNW_1.1
-end
-
-function sysevent_subscribe_event
-include <libsysevent.h>
-declaration int sysevent_subscribe_event(sysevent_handle_t *shp, const char *event_class, const char **event_subclass_list, int num_subclasses)
-version SUNW_1.1
-end
-
-function sysevent_unsubscribe_event
-include <libsysevent.h>
-declaration void sysevent_unsubscribe_event(sysevent_handle_t *shp, const char *event_class)
-version SUNW_1.1
-end
-
-function sysevent_alloc_event
-include <libsysevent.h>
-declaration sysevent_t *sysevent_alloc_event(char *event_class, char *event_subclass, char *vendor, char *pub_name, nvlist_t *attr_list)
-version SUNWprivate_1.1
-end
-
-function sysevent_post_event
-include <libsysevent.h>
-declaration int sysevent_post_event(char *event_class, char *event_subclass, char *vendor, char *pub_name, nvlist_t *attr_list, sysevent_id_t *eid)
-version SUNW_1.1
-end
-
-function sysevent_dup
-include <libsysevent.h>
-declaration sysevent_t *sysevent_dup(sysevent_t *ev)
-version SUNWprivate_1.1
-end
-
-function sysevent_free
-include <libsysevent.h>
-declaration void sysevent_free(sysevent_t *ev)
-version SUNW_1.1
-end
-
-function sysevent_get_attr_list
-include <libsysevent.h>
-declaration int sysevent_get_attr_list(sysevent_t *ev, nvlist_t **nvlist)
-version SUNW_1.1
-end
-
-function sysevent_lookup_attr
-include <libsysevent.h>
-declaration int sysevent_lookup_attr(sysevent_t *ev, char *name, int datatype, sysevent_value_t *se_value)
-version SUNWprivate_1.1
-end
-
-function sysevent_attr_next
-include <libsysevent.h>
-declaration sysevent_attr_t *sysevent_attr_next(sysevent_t *ev, sysevent_attr_t *attr)
-version SUNWprivate_1.1
-end
-
-function sysevent_attr_name
-include <libsysevent.h>
-declaration char *sysevent_attr_name(sysevent_attr_t *attr)
-version SUNWprivate_1.1
-end
-
-function sysevent_attr_value
-include <libsysevent.h>
-declaration int sysevent_attr_value(sysevent_attr_t *attr, sysevent_value_t *se_value)
-version SUNWprivate_1.1
-end
-
-function sysevent_get_class
-include <libsysevent.h>
-declaration int sysevent_get_class(sysevent_t *ev)
-version SUNWprivate_1.1
-end
-
-function sysevent_get_class_name
-include <libsysevent.h>
-declaration char *sysevent_get_class_name(sysevent_t *ev)
-version SUNW_1.1
-end
-
-function sysevent_get_subclass
-include <libsysevent.h>
-declaration int sysevent_get_subclass(sysevent_t *ev)
-version SUNWprivate_1.1
-end
-
-function sysevent_get_subclass_name
-include <libsysevent.h>
-declaration char *sysevent_get_subclass_name(sysevent_t *ev)
-version SUNW_1.1
-end
-
-function sysevent_get_pub
-include <libsysevent.h>
-declaration char *sysevent_get_pub(sysevent_t *ev)
-version SUNWprivate_1.1
-end
-
-function sysevent_get_vendor_name
-include <libsysevent.h>
-declaration char *sysevent_get_vendor_name(sysevent_t *ev)
-version SUNW_1.1
-end
-
-function sysevent_get_pub_name
-include <libsysevent.h>
-declaration char *sysevent_get_pub_name(sysevent_t *ev)
-version SUNW_1.1
-end
-
-function sysevent_get_pid
-include <libsysevent.h>
-declaration void sysevent_get_pid(sysevent_t *ev, pid_t *pid)
-version SUNW_1.1
-end
-
-function sysevent_get_seq
-include <libsysevent.h>
-declaration uint64_t sysevent_get_seq(sysevent_t *ev)
-version SUNW_1.1
-end
-
-function sysevent_get_time
-include <libsysevent.h>
-declaration void sysevent_get_time(sysevent_t *ev, hrtime_t *etime)
-version SUNW_1.1
-end
-
-function sysevent_get_size
-include <libsysevent.h>
-declaration size_t sysevent_get_size(sysevent_t *ev)
-version SUNW_1.1
-end
-
-function se_print
-include <libsysevent.h>
-declaration void se_print(FILE *fp, sysevent_t *ev)
-version SUNWprivate_1.1
-end
-
-function sysevent_evc_bind
-include <libsysevent.h>
-declaration int sysevent_evc_bind(const char *channel, evchan_t **scpp, uint32_t flags)
-version SUNWprivate_1.1
-end
-
-function sysevent_evc_unbind
-include <libsysevent.h>
-declaration void sysevent_evc_unbind(evchan_t *scp)
-version SUNWprivate_1.1
-end
-
-function sysevent_evc_publish
-include <libsysevent.h>
-declaration int sysevent_evc_publish(evchan_t *scp, const char *event_class,const char *event_subclass, const char *vendor, const char *pub_name, nvlist_t *attr_list, uint32_t flags)
-version SUNWprivate_1.1
-end
-
-function sysevent_evc_subscribe
-include <libsysevent.h>
-declaration int sysevent_evc_subscribe(evchan_t *scp, const char *sid, const char *event_class, int (*event_handler)(sysevent_t *ev, void *cookie), void *cookie, uint32_t flags)
-version SUNWprivate_1.1
-end
-
-function sysevent_evc_unsubscribe
-include <libsysevent.h>
-declaration void sysevent_evc_unsubscribe(evchan_t *scp, const char *sid)
-version SUNWprivate_1.1
-end
-
-function sysevent_evc_control
-include <libsysevent.h>
-declaration int sysevent_evc_control(evchan_t *scp, int cmd, ...)
-version SUNWprivate_1.1
-end
diff --git a/usr/src/lib/libsysevent/spec/versions b/usr/src/lib/libsysevent/spec/versions
deleted file mode 100644
index f91c9031df..0000000000
--- a/usr/src/lib/libsysevent/spec/versions
+++ /dev/null
@@ -1,57 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# SUNW_1.2: Placeholder (was PSARC 2002/321 prior to 2004/398); kept
-# to preserve upward binary compatibility.
-# SUNW_1.1: Public (evolving) PSARC 2000/309 (Sysevent public APIs),
-# PSARC 2001/076 (User-level Sysevent Interfaces)
-# SUNWprivate_1.1: Project private PSARC 1999/322, PSARC 2002/321,
-# PSARC 2004/398.
-#
-
-sparc {
- SUNW_1.2: {SUNW_1.1};
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-
-sparcv9 {
- SUNW_1.2: {SUNW_1.1};
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-
-i386 {
- SUNW_1.2: {SUNW_1.1};
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-
-amd64 {
- SUNW_1.2: {SUNW_1.1};
- SUNW_1.1;
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/libtecla/Makefile b/usr/src/lib/libtecla/Makefile
index 9c29c15300..e5d9e1e429 100644
--- a/usr/src/lib/libtecla/Makefile
+++ b/usr/src/lib/libtecla/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,7 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
@@ -31,6 +30,7 @@ include ../Makefile.lib
HDRS = libtecla.h
CHECKHDRS =
HDRDIR = .
+
SUBDIRS= $(MACH)
$(BUILD64)SUBDIRS += $(MACH64)
@@ -42,15 +42,13 @@ lint := TARGET = lint
.KEEP_STATE:
-all clean clobber install: spec .WAIT $(SUBDIRS)
+all clean clobber install lint: $(SUBDIRS)
install_h: $(ROOTHDRS)
check: $(CHECKHDRS)
-lint: $(SUBDIRS)
-
-spec $(SUBDIRS): FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
diff --git a/usr/src/lib/libtecla/Makefile.com b/usr/src/lib/libtecla/Makefile.com
index ac2630ecd1..f80b1320b6 100644
--- a/usr/src/lib/libtecla/Makefile.com
+++ b/usr/src/lib/libtecla/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,7 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
@@ -34,6 +33,7 @@ OBJECTS= getline.o keytab.o freelist.o strngmem.o hash.o history.o \
include ../../Makefile.lib
+SRCDIR = ../common
LIBS = $(DYNLIB) $(LINTLIB)
LDLIBS += -lc
$(DYNLIB) := LDLIBS += -lcurses
@@ -46,10 +46,6 @@ CPPFLAGS += -I$(SRCDIR) -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 \
-DPREFER_REENTRANT
$(LINTLIB) := SRCS= $(SRCDIR)/$(LINTSRC)
-SRCDIR = ../common
-MAPDIR = ../spec/$(TRANSMACH)
-SPECMAPFILE = $(MAPDIR)/mapfile
-
.KEEP_STATE:
all: $(LIBS)
diff --git a/usr/src/lib/libtecla/common/mapfile-vers b/usr/src/lib/libtecla/common/mapfile-vers
new file mode 100644
index 0000000000..dd298250c8
--- /dev/null
+++ b/usr/src/lib/libtecla/common/mapfile-vers
@@ -0,0 +1,138 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+#
+# The instances of "tecla_l.5" below (note "l" vs "1") are by design;
+# quoting the author:
+#
+# Unfortunately the tecla_l.5 version string is by now embedded in any
+# executable that linked with libtecla versions 1.5 ..., so I can't fix
+# the typo without preventing those programs from linking against 1.6.
+# Thus I now have to derive tecla_1.6 from tecla_l.5, in the map file.
+#
+
+tecla_1.6 {
+ global:
+ gl_append_history;
+ gl_automatic_history;
+ gl_query_char;
+ gl_read_char;
+} tecla_l.5;
+
+tecla_l.5 {
+ global:
+ cpl_recall_matches;
+ gl_abandon_line;
+ gl_bind_keyseq;
+ gl_catch_blocked;
+ gl_display_text;
+ gl_erase_terminal;
+ gl_error_message;
+ gl_handle_signal;
+ gl_inactivity_timeout;
+ gl_io_mode;
+ gl_list_signals;
+ gl_normal_io;
+ gl_pending_io;
+ gl_raw_io;
+ gl_register_action;
+ gl_return_status;
+ gl_tty_signals;
+} tecla_1.4;
+
+tecla_1.4 {
+ global:
+ gl_clear_history;
+ gl_configure_getline;
+ gl_echo_mode;
+ gl_group_history;
+ gl_ignore_signal;
+ gl_last_signal;
+ gl_limit_history;
+ gl_load_history;
+ gl_lookup_history;
+ gl_prompt_style;
+ gl_range_of_history;
+ gl_replace_prompt;
+ gl_resize_history;
+ gl_save_history;
+ gl_set_term_size;
+ gl_show_history;
+ gl_size_of_history;
+ gl_state_of_history;
+ gl_terminal_size;
+ gl_toggle_history;
+ gl_trap_signal;
+ gl_watch_fd;
+ libtecla_version;
+} tecla_1.3;
+
+tecla_1.3 {
+ global:
+ ef_list_expansions;
+} tecla_1.2;
+
+tecla_1.2 {
+ global:
+ cfc_file_start;
+ cfc_literal_escapes;
+ cfc_set_check_fn;
+ cpl_add_completion;
+ cpl_check_exe;
+ cpl_complete_word;
+ cpl_file_completions;
+ cpl_init_FileArgs;
+ cpl_last_error;
+ cpl_list_completions;
+ cpl_record_error;
+ del_CplFileConf;
+ del_ExpandFile;
+ del_GetLine;
+ del_PathCache;
+ del_PcaPathConf;
+ del_WordCompletion;
+ ef_expand_file;
+ ef_last_error;
+ gl_change_terminal;
+ gl_completion_action;
+ gl_customize_completion;
+ gl_get_line;
+ new_CplFileConf;
+ new_ExpandFile;
+ new_GetLine;
+ new_PathCache;
+ new_PcaPathConf;
+ new_WordCompletion;
+ pca_last_error;
+ pca_lookup_file;
+ pca_scan_path;
+ pca_set_check_fn;
+ ppc_file_start;
+ ppc_literal_escapes;
+ local:
+ *;
+};
diff --git a/usr/src/lib/libtecla/spec/Makefile b/usr/src/lib/libtecla/spec/Makefile
deleted file mode 100644
index 50e74e3c61..0000000000
--- a/usr/src/lib/libtecla/spec/Makefile
+++ /dev/null
@@ -1,29 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/libtecla/spec/Makefile.targ b/usr/src/lib/libtecla/spec/Makefile.targ
deleted file mode 100644
index 751465c18c..0000000000
--- a/usr/src/lib/libtecla/spec/Makefile.targ
+++ /dev/null
@@ -1,32 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-LIBRARY= libtecla.a
-VERS= .1
-OBJECTS= tecla.o
-SPECCPP =
diff --git a/usr/src/lib/libtecla/spec/amd64/Makefile b/usr/src/lib/libtecla/spec/amd64/Makefile
deleted file mode 100644
index bca8f0b3ac..0000000000
--- a/usr/src/lib/libtecla/spec/amd64/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libtecla/spec/i386/Makefile b/usr/src/lib/libtecla/spec/i386/Makefile
deleted file mode 100644
index b77da6d531..0000000000
--- a/usr/src/lib/libtecla/spec/i386/Makefile
+++ /dev/null
@@ -1,35 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libtecla/spec/sparc/Makefile b/usr/src/lib/libtecla/spec/sparc/Makefile
deleted file mode 100644
index b77da6d531..0000000000
--- a/usr/src/lib/libtecla/spec/sparc/Makefile
+++ /dev/null
@@ -1,35 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libtecla/spec/sparcv9/Makefile b/usr/src/lib/libtecla/spec/sparcv9/Makefile
deleted file mode 100644
index 751257f818..0000000000
--- a/usr/src/lib/libtecla/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,37 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libtecla/spec/tecla.spec b/usr/src/lib/libtecla/spec/tecla.spec
deleted file mode 100644
index 5f9e7fa158..0000000000
--- a/usr/src/lib/libtecla/spec/tecla.spec
+++ /dev/null
@@ -1,507 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libtecla/spec/tecla.spec
-
-function libtecla_version
-include <libtecla.h>
-declaration void libtecla_version(int *, int *, int *)
-version tecla_1.4
-end
-
-function new_GetLine
-include <libtecla.h>
-declaration GetLine *new_GetLine(size_t, size_t)
-version tecla_1.2
-end
-
-function del_GetLine
-include <libtecla.h>
-declaration GetLine *del_GetLine(GetLine *)
-version tecla_1.2
-end
-
-function gl_get_line
-include <libtecla.h>
-declaration char *gl_get_line(GetLine *, const char *, const char *, int)
-version tecla_1.2
-end
-
-function gl_configure_getline
-include <libtecla.h>
-declaration int gl_configure_getline(GetLine *, const char *, const char *, const char *)
-version tecla_1.4
-end
-
-function gl_bind_keyseq
-include <libtecla.h>
-declaration int gl_bind_keyseq(GetLine *, GlKeyOrigin, const char *, const char *)
-version tecla_l.5
-end
-
-function new_ExpandFile
-include <libtecla.h>
-declaration ExpandFile *new_ExpandFile(void)
-version tecla_1.2
-end
-
-function del_ExpandFile
-include <libtecla.h>
-declaration ExpandFile *del_ExpandFile(ExpandFile *)
-version tecla_1.2
-end
-
-function ef_expand_file
-include <libtecla.h>
-declaration FileExpansion *ef_expand_file(ExpandFile *, const char *, int)
-version tecla_1.2
-end
-
-function ef_list_expansions
-include <libtecla.h>
-declaration int ef_list_expansions(FileExpansion *, FILE *, int)
-version tecla_1.3
-end
-
-function ef_last_error
-include <libtecla.h>
-declaration const char *ef_last_error(ExpandFile *)
-version tecla_1.2
-end
-
-function new_WordCompletion
-include <libtecla.h>
-declaration WordCompletion *new_WordCompletion(void)
-version tecla_1.2
-end
-
-function del_WordCompletion
-include <libtecla.h>
-declaration WordCompletion *del_WordCompletion(WordCompletion *)
-version tecla_1.2
-end
-
-function cpl_check_exe
-include <libtecla.h>
-declaration int cpl_check_exe(void *, const char *)
-version tecla_1.2
-end
-
-function cpl_file_completions
-include <libtecla.h>
-declaration int cpl_file_completions(WordCompletion *, void *, const char *, int)
-version tecla_1.2
-end
-
-function cfc_literal_escapes
-include <libtecla.h>
-declaration void cfc_literal_escapes(CplFileConf *, int)
-version tecla_1.2
-end
-
-function cfc_file_start
-include <libtecla.h>
-declaration void cfc_file_start(CplFileConf *, int)
-version tecla_1.2
-end
-
-function cfc_set_check_fn
-include <libtecla.h>
-declaration void cfc_set_check_fn(CplFileConf *, CplCheckFn *, void *)
-version tecla_1.2
-end
-
-function new_CplFileConf
-include <libtecla.h>
-declaration CplFileConf *new_CplFileConf(void)
-version tecla_1.2
-end
-
-function del_CplFileConf
-include <libtecla.h>
-declaration CplFileConf *del_CplFileConf(CplFileConf *)
-version tecla_1.2
-end
-
-function cpl_init_FileArgs
-include <libtecla.h>
-declaration void cpl_init_FileArgs(CplFileArgs *)
-version tecla_1.2
-end
-
-function cpl_record_error
-include <libtecla.h>
-declaration void cpl_record_error(WordCompletion *, const char *)
-version tecla_1.2
-end
-
-function gl_customize_completion
-include <libtecla.h>
-declaration int gl_customize_completion(GetLine *, void *, CplMatchFn *)
-version tecla_1.2
-end
-
-function gl_completion_action
-include <libtecla.h>
-declaration int gl_completion_action(GetLine *, void *, CplMatchFn *, int, const char *, const char *)
-version tecla_1.2
-end
-
-function gl_change_terminal
-include <libtecla.h>
-declaration int gl_change_terminal(GetLine *, FILE *, FILE *, const char *)
-version tecla_1.2
-end
-
-function gl_save_history
-include <libtecla.h>
-declaration int gl_save_history(GetLine *, const char *, const char *, int)
-version tecla_1.4
-end
-
-function gl_load_history
-include <libtecla.h>
-declaration int gl_load_history(GetLine *, const char *, const char *)
-version tecla_1.4
-end
-
-function gl_watch_fd
-include <libtecla.h>
-declaration int gl_watch_fd(GetLine *, int, GlFdEvent, GlFdEventFn *, void *)
-version tecla_1.4
-end
-
-function gl_inactivity_timeout
-include <libtecla.h>
-declaration int gl_inactivity_timeout(GetLine *, GlTimeoutFn *, void *, unsigned long, unsigned long)
-version tecla_l.5
-end
-
-function gl_group_history
-include <libtecla.h>
-declaration int gl_group_history(GetLine *, unsigned)
-version tecla_1.4
-end
-
-function gl_show_history
-include <libtecla.h>
-declaration int gl_show_history(GetLine *, FILE *, const char *, int, int)
-version tecla_1.4
-end
-
-function gl_resize_history
-include <libtecla.h>
-declaration int gl_resize_history(GetLine *, size_t)
-version tecla_1.4
-end
-
-function gl_limit_history
-include <libtecla.h>
-declaration void gl_limit_history(GetLine *, int)
-version tecla_1.4
-end
-
-function gl_clear_history
-include <libtecla.h>
-declaration void gl_clear_history(GetLine *, int)
-version tecla_1.4
-end
-
-function gl_toggle_history
-include <libtecla.h>
-declaration void gl_toggle_history(GetLine *, int)
-version tecla_1.4
-end
-
-function gl_terminal_size
-include <libtecla.h>
-declaration GlTerminalSize gl_terminal_size(GetLine *, int, int)
-version tecla_1.4
-end
-
-function gl_set_term_size
-include <libtecla.h>
-declaration int gl_set_term_size(GetLine *, int, int)
-version tecla_1.4
-end
-
-function gl_lookup_history
-include <libtecla.h>
-declaration int gl_lookup_history(GetLine *, unsigned long, GlHistoryLine *)
-version tecla_1.4
-end
-
-function gl_state_of_history
-include <libtecla.h>
-declaration void gl_state_of_history(GetLine *, GlHistoryState *)
-version tecla_1.4
-end
-
-function gl_range_of_history
-include <libtecla.h>
-declaration void gl_range_of_history(GetLine *, GlHistoryRange *)
-version tecla_1.4
-end
-
-function gl_size_of_history
-include <libtecla.h>
-declaration void gl_size_of_history(GetLine *, GlHistorySize *)
-version tecla_1.4
-end
-
-function gl_echo_mode
-include <libtecla.h>
-declaration int gl_echo_mode(GetLine *, int)
-version tecla_1.4
-end
-
-function gl_replace_prompt
-include <libtecla.h>
-declaration void gl_replace_prompt(GetLine *, const char *)
-version tecla_1.4
-end
-
-function gl_prompt_style
-include <libtecla.h>
-declaration void gl_prompt_style(GetLine *, GlPromptStyle)
-version tecla_1.4
-end
-
-function gl_ignore_signal
-include <libtecla.h>
-declaration int gl_ignore_signal(GetLine *, int)
-version tecla_1.4
-end
-
-function gl_trap_signal
-include <libtecla.h>
-declaration int gl_trap_signal(GetLine *, int, unsigned, GlAfterSignal, int)
-version tecla_1.4
-end
-
-function gl_catch_blocked
-include <libtecla.h>
-declaration void gl_catch_blocked(GetLine *)
-version tecla_l.5
-end
-
-function gl_tty_signals
-include <libtecla.h>
-declaration int gl_tty_signals(void (*)(int), void (*)(int), void (*)(int), void (*)(int))
-version tecla_l.5
-end
-
-function gl_last_signal
-include <libtecla.h>
-declaration int gl_last_signal(GetLine *)
-version tecla_1.4
-end
-
-function gl_list_signals
-include <libtecla.h>
-declaration int gl_list_signals(GetLine *, sigset_t *)
-version tecla_l.5
-end
-
-function gl_handle_signal
-include <libtecla.h>
-declaration void gl_handle_signal(int, GetLine *, int)
-version tecla_l.5
-end
-
-function gl_error_message
-include <libtecla.h>
-declaration const char *gl_error_message(GetLine *, char *, size_t)
-version tecla_l.5
-end
-
-function gl_erase_terminal
-include <libtecla.h>
-declaration int gl_erase_terminal(GetLine *)
-version tecla_l.5
-end
-
-function gl_display_text
-include <libtecla.h>
-declaration int gl_display_text(GetLine *, int, const char *, const char *, int, int, int, const char *)
-version tecla_l.5
-end
-
-function gl_io_mode
-include <libtecla.h>
-declaration int gl_io_mode(GetLine *, GlIOMode)
-version tecla_l.5
-end
-
-function gl_raw_io
-include <libtecla.h>
-declaration int gl_raw_io(GetLine *)
-version tecla_l.5
-end
-
-function gl_normal_io
-include <libtecla.h>
-declaration int gl_normal_io(GetLine *)
-version tecla_l.5
-end
-
-function gl_abandon_line
-include <libtecla.h>
-declaration void gl_abandon_line(GetLine *)
-version tecla_l.5
-end
-
-function gl_return_status
-include <libtecla.h>
-declaration GlReturnStatus gl_return_status(GetLine *)
-version tecla_l.5
-end
-
-function gl_pending_io
-include <libtecla.h>
-declaration GlPendingIO gl_pending_io(GetLine *)
-version tecla_l.5
-end
-
-function gl_register_action
-include <libtecla.h>
-declaration int gl_register_action(GetLine *, void *, GlActionFn *, const char *, const char *)
-version tecla_l.5
-end
-
-function cpl_add_completion
-include <libtecla.h>
-declaration int cpl_add_completion(WordCompletion *, const char *, int, int, const char *, const char *, const char *)
-version tecla_1.2
-end
-
-function cpl_complete_word
-include <libtecla.h>
-declaration CplMatches *cpl_complete_word(WordCompletion *, const char *, int, void *, CplMatchFn *)
-version tecla_1.2
-end
-
-function cpl_recall_matches
-include <libtecla.h>
-declaration CplMatches *cpl_recall_matches(WordCompletion *)
-version tecla_l.5
-end
-
-function cpl_list_completions
-include <libtecla.h>
-declaration int cpl_list_completions(CplMatches *, FILE *, int)
-version tecla_1.2
-end
-
-function cpl_last_error
-include <libtecla.h>
-declaration const char *cpl_last_error(WordCompletion *)
-version tecla_1.2
-end
-
-function new_PathCache
-include <libtecla.h>
-declaration PathCache *new_PathCache(void)
-version tecla_1.2
-end
-
-function del_PathCache
-include <libtecla.h>
-declaration PathCache *del_PathCache(PathCache *)
-version tecla_1.2
-end
-
-function pca_last_error
-include <libtecla.h>
-declaration const char *pca_last_error(PathCache *)
-version tecla_1.2
-end
-
-function pca_scan_path
-include <libtecla.h>
-declaration int pca_scan_path(PathCache *, const char *)
-version tecla_1.2
-end
-
-function pca_set_check_fn
-include <libtecla.h>
-declaration void pca_set_check_fn(PathCache *, CplCheckFn *, void *)
-version tecla_1.2
-end
-
-function pca_lookup_file
-include <libtecla.h>
-declaration char *pca_lookup_file(PathCache *, const char *, int, int)
-version tecla_1.2
-end
-
-function new_PcaPathConf
-include <libtecla.h>
-declaration PcaPathConf *new_PcaPathConf(PathCache *)
-version tecla_1.2
-end
-
-function del_PcaPathConf
-include <libtecla.h>
-declaration PcaPathConf *del_PcaPathConf(PcaPathConf *)
-version tecla_1.2
-end
-
-function ppc_literal_escapes
-include <libtecla.h>
-declaration void ppc_literal_escapes(PcaPathConf *, int)
-version tecla_1.2
-end
-
-function ppc_file_start
-include <libtecla.h>
-declaration void ppc_file_start(PcaPathConf *, int)
-version tecla_1.2
-end
-
-function gl_append_history
-include <libtecla.h>
-declaration int gl_append_history(GetLine *, const char *)
-version tecla_1.6
-end
-
-function gl_automatic_history
-include <libtecla.h>
-declaration int gl_automatic_history(GetLine *, int)
-version tecla_1.6
-end
-
-function gl_query_char
-include <libtecla.h>
-declaration int gl_query_char(GetLine *, const char *, char)
-version tecla_1.6
-end
-
-function gl_read_char
-include <libtecla.h>
-declaration int gl_read_char(GetLine *)
-version tecla_1.6
-end
diff --git a/usr/src/lib/libtecla/spec/versions b/usr/src/lib/libtecla/spec/versions
deleted file mode 100644
index e9969983c9..0000000000
--- a/usr/src/lib/libtecla/spec/versions
+++ /dev/null
@@ -1,64 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# vers file for libtecla
-#
-# The instances of "tecla_l.5" below (note "l" vs "1") are by design;
-# quoting the author:
-#
-# Unfortunately the tecla_l.5 version string is by now embedded in any
-# executable that linked with libtecla versions 1.5 ..., so I can't fix
-# the typo without preventing those programs from linking against 1.6.
-# Thus I now have to derive tecla_1.6 from tecla_l.5, in the map file.
-#
-sparc {
- tecla_1.6: {tecla_l.5};
- tecla_l.5: {tecla_1.4};
- tecla_1.4: {tecla_1.3};
- tecla_1.3: {tecla_1.2};
- tecla_1.2;
-}
-sparcv9 {
- tecla_1.6: {tecla_l.5};
- tecla_l.5: {tecla_1.4};
- tecla_1.4: {tecla_1.3};
- tecla_1.3: {tecla_1.2};
- tecla_1.2;
-}
-i386 {
- tecla_1.6: {tecla_l.5};
- tecla_l.5: {tecla_1.4};
- tecla_1.4: {tecla_1.3};
- tecla_1.3: {tecla_1.2};
- tecla_1.2;
-}
-amd64 {
- tecla_1.6: {tecla_l.5};
- tecla_l.5: {tecla_1.4};
- tecla_1.4: {tecla_1.3};
- tecla_1.3: {tecla_1.2};
- tecla_1.2;
-}
diff --git a/usr/src/lib/libthread/Makefile.com b/usr/src/lib/libthread/Makefile.com
index f193f22a6b..0b67d6a562 100644
--- a/usr/src/lib/libthread/Makefile.com
+++ b/usr/src/lib/libthread/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,7 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
@@ -32,16 +31,14 @@ VERS = .1
include ../../Makefile.lib
include ../../Makefile.rootfs
-MAPFILES= mapfile-vers $(MAPFILE-FLTR)
-MAPOPTS= $(MAPFILES:%=-M %)
-
-DYNFLAGS += -F libc.so.1 $(MAPOPTS)
+DYNFLAGS += -F libc.so.1
LIBS = $(DYNLIB) $(LINTLIB)
SRCDIR = ../common
$(LINTLIB) := SRCS = $(SRCDIR)/llib-lthread
+MAPFILES = mapfile-vers $(MAPFILE-FLTR)
# Redefine shared object build rule to use $(LD) directly (this avoids .init
# and .fini sections being added). Also, since there are no OBJECTS, turn
@@ -57,5 +54,3 @@ include ../../Makefile.targ
all: $(LIBS)
lint:
-
-$(DYNLIB): $(MAPFILES)
diff --git a/usr/src/lib/libtnf/Makefile b/usr/src/lib/libtnf/Makefile
index 523845a683..131ee8057d 100644
--- a/usr/src/lib/libtnf/Makefile
+++ b/usr/src/lib/libtnf/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,13 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libtnf/Makefile
-#
LIBRARY= libtnf.a
VERS= .1
@@ -45,18 +42,10 @@ OBJECTS= $(MACH)dep.o \
access.o \
reader.o
-all := TARGET= all
-clean := TARGET= clean
-clobber := TARGET= clobber
-check := TARGET= check
-install := TARGET= install
-lint := TARGET= lint
-install_h := TARGET= install_h
-_msg := TARGET= _msg
-
-
include ../Makefile.lib
+SRCDIR = .
+
TEXT_DOMAIN= SUNW_OST_OSLIB
XGETFLAGS= -a
POFILE= $(LIBRARY:%.a=%.po)
@@ -68,12 +57,6 @@ CP= cp
LIBS= $(DYNLIB)
-MAPDIR= ./spec/$(MACH)
-MAPFILE= $(MAPDIR)/mapfile
-MAPOPTS= $(MAPFILE:%=-M%)
-DYNFLAGS += $(MAPOPTS)
-CLOBBERFILES += $(MAPFILE)
-
LDLIBS += -lc
HDRS= tnf.h
@@ -89,22 +72,14 @@ CPPFLAGS += -D_DATUM_MACROS -D_REENTRANT
LINTFLAGS += -y
-$(DYNLIB): $(MAPFILE)
-
-$(MAPFILE):
- @cd $(MAPDIR); $(MAKE) mapfile
-
-
.KEEP_STATE:
-all: spec .WAIT $(LIBS)
+all: $(LIBS)
-install: all spec $(ROOTLIBDIR) $(ROOTLIBS) $(ROOTLINKS)
+install: all $(ROOTLIBDIR) $(ROOTLIBS) $(ROOTLINKS)
install_h: $(ROOTHDRDIR) $(ROOTHDRS)
-clean clobber: spec $(BUILD64)
-
lint:
$(LINT.c) $(SRCS)
@@ -142,8 +117,3 @@ $(POFILES):
$(RM) messages.po
include ../Makefile.targ
-
-spec: FRC
- @cd $@; pwd; $(MAKE) $(TARGET)
-
-FRC:
diff --git a/usr/src/lib/libtnf/mapfile-vers b/usr/src/lib/libtnf/mapfile-vers
new file mode 100644
index 0000000000..22831ec2de
--- /dev/null
+++ b/usr/src/lib/libtnf/mapfile-vers
@@ -0,0 +1,79 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNWprivate_1.1 {
+ global:
+ tnf_default_error_handler;
+ tnf_error_message;
+ tnf_get_block_absolute;
+ tnf_get_block_count;
+ tnf_get_block_header;
+ tnf_get_block_relative;
+ tnf_get_char;
+ tnf_get_chars;
+ tnf_get_element;
+ tnf_get_element_count;
+ tnf_get_elements;
+ tnf_get_element_type;
+ tnf_get_file_header;
+ tnf_get_float32;
+ tnf_get_float64;
+ tnf_get_int16;
+ tnf_get_int32;
+ tnf_get_int64;
+ tnf_get_int8;
+ tnf_get_kind;
+ tnf_get_next_record;
+ tnf_get_raw;
+ tnf_get_size;
+ tnf_get_slot_count;
+ tnf_get_slot_index;
+ tnf_get_slot_indexed;
+ tnf_get_slot_name;
+ tnf_get_slot_named;
+ tnf_get_tag_arg;
+ tnf_get_type;
+ tnf_get_type_name;
+ tnf_is_array;
+ tnf_is_block_header;
+ tnf_is_inline;
+ tnf_is_record;
+ tnf_is_scalar;
+ tnf_is_string;
+ tnf_is_struct;
+ tnf_is_type;
+ tnf_reader_begin;
+ tnf_reader_end;
+ tnf_set_error_handler;
+ tnf_type_get_base;
+ tnf_type_get_kind;
+ tnf_type_get_name;
+ tnf_type_get_property;
+ tnf_type_get_size;
+ local:
+ *;
+};
diff --git a/usr/src/lib/libtnf/spec/Makefile b/usr/src/lib/libtnf/spec/Makefile
deleted file mode 100644
index 789cc7cbfa..0000000000
--- a/usr/src/lib/libtnf/spec/Makefile
+++ /dev/null
@@ -1,55 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1998-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libtnf/spec/Makefile
-
-#
-# no sparcv9 build of libresolv
-# if it is desirable to build one then uncomment the line below and delete
-# the rest of the lines.
-#
-#include $(SRC)/lib/Makefile.spec.arch
-
-i386_ARCHITECTURES = i386
-sparc_ARCHITECTURES = sparc
-
-all := TARGET= all
-install := TARGET= install
-clean := TARGET= clean
-clobber := TARGET= clobber
-lint := TARGET= lint
-
-.KEEP_STATE:
-
-all install clean clobber lint: $($(MACH)_ARCHITECTURES)
-
-# spec files do not have msgs or catalogs
-_msg catalog:
-
-$($(MACH)_ARCHITECTURES): FRC
- @cd $@; pwd; $(MAKE) $(TARGET)
-
-FRC:
diff --git a/usr/src/lib/libtnf/spec/Makefile.targ b/usr/src/lib/libtnf/spec/Makefile.targ
deleted file mode 100644
index b99ce2250a..0000000000
--- a/usr/src/lib/libtnf/spec/Makefile.targ
+++ /dev/null
@@ -1,34 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1998-2001 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libtnf/spec/Makefile.targ
-
-LIBRARY = libtnf.a
-VERS = .1
-
-OBJECTS = tnf.o
-
-SPECCPP = -I.. -I../..
diff --git a/usr/src/lib/libtnf/spec/amd64/Makefile b/usr/src/lib/libtnf/spec/amd64/Makefile
deleted file mode 100644
index d334868181..0000000000
--- a/usr/src/lib/libtnf/spec/amd64/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#amd64_C_PICFLAGS = $(amd64_C_BIGPICFLAGS)
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libtnf/spec/i386/Makefile b/usr/src/lib/libtnf/spec/i386/Makefile
deleted file mode 100644
index 569932e5ab..0000000000
--- a/usr/src/lib/libtnf/spec/i386/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1998-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libtnf/spec/i386/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#i386_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libtnf/spec/sparc/Makefile b/usr/src/lib/libtnf/spec/sparc/Makefile
deleted file mode 100644
index 9f90d1bd91..0000000000
--- a/usr/src/lib/libtnf/spec/sparc/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1998-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libtnf/spec/sparc/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#sparc_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libtnf/spec/sparcv9/Makefile b/usr/src/lib/libtnf/spec/sparcv9/Makefile
deleted file mode 100644
index cbf3eb7fa6..0000000000
--- a/usr/src/lib/libtnf/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,45 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1998-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libtnf/spec/sparcv9/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#sparcv9_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libtnf/spec/tnf.spec b/usr/src/lib/libtnf/spec/tnf.spec
deleted file mode 100644
index 9ee8baa0f1..0000000000
--- a/usr/src/lib/libtnf/spec/tnf.spec
+++ /dev/null
@@ -1,316 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libtnf/spec/tnf.spec
-
-function tnf_default_error_handler
-include <libtnf.h>
-declaration void tnf_default_error_handler(void *arg, TNF *tnf, \
- tnf_errcode_t err)
-version SUNWprivate_1.1
-end
-
-function tnf_error_message
-include <libtnf.h>
-declaration char * tnf_error_message(tnf_errcode_t err)
-version SUNWprivate_1.1
-end
-
-function tnf_get_block_absolute
-include <libtnf.h>
-declaration tnf_datum_t tnf_get_block_absolute(TNF *tnf, unsigned index)
-version SUNWprivate_1.1
-end
-
-function tnf_get_block_count
-include <libtnf.h>
-declaration unsigned tnf_get_block_count(TNF *tnf)
-version SUNWprivate_1.1
-end
-
-function tnf_get_block_header
-include <libtnf.h>
-declaration tnf_datum_t tnf_get_block_header(tnf_datum_t datum)
-version SUNWprivate_1.1
-end
-
-function tnf_get_block_relative
-include <libtnf.h>
-declaration tnf_datum_t tnf_get_block_relative(tnf_datum_t datum, \
- int adjust)
-version SUNWprivate_1.1
-end
-
-function tnf_get_char
-include <libtnf.h>
-declaration char tnf_get_char(tnf_datum_t datum)
-version SUNWprivate_1.1
-end
-
-function tnf_get_chars
-include <libtnf.h>
-declaration char * tnf_get_chars(tnf_datum_t datum)
-version SUNWprivate_1.1
-end
-
-function tnf_get_element
-include <libtnf.h>
-declaration tnf_datum_t tnf_get_element(tnf_datum_t datum, unsigned)
-version SUNWprivate_1.1
-end
-
-function tnf_get_element_count
-include <libtnf.h>
-declaration unsigned tnf_get_element_count(tnf_datum_t datum)
-version SUNWprivate_1.1
-end
-
-function tnf_get_element_type
-include <libtnf.h>
-declaration tnf_datum_t tnf_get_element_type(tnf_datum_t datum)
-version SUNWprivate_1.1
-end
-
-function tnf_get_elements
-include <libtnf.h>
-declaration caddr_t tnf_get_elements(tnf_datum_t datum)
-version SUNWprivate_1.1
-end
-
-function tnf_get_file_header
-include <libtnf.h>
-declaration tnf_datum_t tnf_get_file_header(TNF *tnf)
-version SUNWprivate_1.1
-end
-
-function tnf_get_float32
-include <libtnf.h>
-declaration tnf_float32_t tnf_get_float32(tnf_datum_t datum)
-version SUNWprivate_1.1
-end
-
-function tnf_get_float64
-include <libtnf.h>
-declaration tnf_float64_t tnf_get_float64(tnf_datum_t datum)
-version SUNWprivate_1.1
-end
-
-function tnf_get_int16
-include <libtnf.h>
-declaration tnf_int16_t tnf_get_int16(tnf_datum_t datum)
-version SUNWprivate_1.1
-end
-
-function tnf_get_int32
-include <libtnf.h>
-declaration tnf_int32_t tnf_get_int32(tnf_datum_t datum)
-version SUNWprivate_1.1
-end
-
-function tnf_get_int64
-include <libtnf.h>
-declaration tnf_int64_t tnf_get_int64(tnf_datum_t datum)
-version SUNWprivate_1.1
-end
-
-function tnf_get_int8
-include <libtnf.h>
-declaration tnf_int8_t tnf_get_int8(tnf_datum_t datum)
-version SUNWprivate_1.1
-end
-
-function tnf_get_kind
-include <libtnf.h>
-declaration tnf_kind_t tnf_get_kind(tnf_datum_t datum)
-version SUNWprivate_1.1
-end
-
-function tnf_get_next_record
-include <libtnf.h>
-declaration tnf_datum_t tnf_get_next_record(tnf_datum_t datum)
-version SUNWprivate_1.1
-end
-
-function tnf_get_raw
-include <libtnf.h>
-declaration caddr_t tnf_get_raw(tnf_datum_t datum)
-version SUNWprivate_1.1
-end
-
-function tnf_get_size
-include <libtnf.h>
-declaration size_t tnf_get_size(tnf_datum_t datum)
-version SUNWprivate_1.1
-end
-
-function tnf_get_slot_count
-include <libtnf.h>
-declaration unsigned tnf_get_slot_count(tnf_datum_t datum)
-version SUNWprivate_1.1
-end
-
-function tnf_get_slot_index
-include <libtnf.h>
-declaration unsigned tnf_get_slot_index(tnf_datum_t datum, char *name)
-version SUNWprivate_1.1
-end
-
-function tnf_get_slot_indexed
-include <libtnf.h>
-declaration tnf_datum_t tnf_get_slot_indexed(tnf_datum_t datum, \
- unsigned index)
-version SUNWprivate_1.1
-end
-
-function tnf_get_slot_name
-include <libtnf.h>
-declaration char * tnf_get_slot_name(tnf_datum_t datum, unsigned index)
-version SUNWprivate_1.1
-end
-
-function tnf_get_slot_named
-include <libtnf.h>
-declaration tnf_datum_t tnf_get_slot_named(tnf_datum_t datum, char *name)
-version SUNWprivate_1.1
-end
-
-function tnf_get_tag_arg
-include <libtnf.h>
-declaration tnf_datum_t tnf_get_tag_arg(tnf_datum_t datum)
-version SUNWprivate_1.1
-end
-
-function tnf_get_type
-include <libtnf.h>
-declaration tnf_datum_t tnf_get_type(tnf_datum_t datum)
-version SUNWprivate_1.1
-end
-
-function tnf_get_type_name
-include <libtnf.h>
-declaration char * tnf_get_type_name(tnf_datum_t datum)
-version SUNWprivate_1.1
-end
-
-function tnf_is_array
-include <libtnf.h>
-declaration int tnf_is_array(tnf_datum_t datum)
-version SUNWprivate_1.1
-end
-
-function tnf_is_block_header
-include <libtnf.h>
-declaration int tnf_is_block_header(tnf_datum_t datum)
-version SUNWprivate_1.1
-end
-
-function tnf_is_inline
-include <libtnf.h>
-declaration int tnf_is_inline(tnf_datum_t datum)
-version SUNWprivate_1.1
-end
-
-function tnf_is_record
-include <libtnf.h>
-declaration int tnf_is_record(tnf_datum_t datum)
-version SUNWprivate_1.1
-end
-
-function tnf_is_scalar
-include <libtnf.h>
-declaration int tnf_is_scalar(tnf_datum_t datum)
-version SUNWprivate_1.1
-end
-
-function tnf_is_string
-include <libtnf.h>
-declaration int tnf_is_string(tnf_datum_t datum)
-version SUNWprivate_1.1
-end
-
-function tnf_is_struct
-include <libtnf.h>
-declaration int tnf_is_struct(tnf_datum_t datum)
-version SUNWprivate_1.1
-end
-
-function tnf_is_type
-include <libtnf.h>
-declaration int tnf_is_type(tnf_datum_t datum)
-version SUNWprivate_1.1
-end
-
-function tnf_reader_begin
-include <libtnf.h>
-declaration tnf_errcode_t tnf_reader_begin(caddr_t base, size_t size, \
- TNF **tnfret)
-version SUNWprivate_1.1
-end
-
-function tnf_reader_end
-include <libtnf.h>
-declaration tnf_errcode_t tnf_reader_end(TNF *tnf)
-version SUNWprivate_1.1
-end
-
-function tnf_set_error_handler
-include <libtnf.h>
-#declaration void tnf_set_error_handler(tnf_error_handler_t *handler, void *arg)
-# Using alternate binary equivalent for delaration
-declaration void tnf_set_error_handler(void (*handler)(void *, TNF *, tnf_errcode_t), void *arg)
-version SUNWprivate_1.1
-end
-
-function tnf_type_get_base
-include <libtnf.h>
-declaration tnf_datum_t tnf_type_get_base(tnf_datum_t datum)
-version SUNWprivate_1.1
-end
-
-function tnf_type_get_kind
-include <libtnf.h>
-declaration tnf_kind_t tnf_type_get_kind(tnf_datum_t datum)
-version SUNWprivate_1.1
-end
-
-function tnf_type_get_name
-include <libtnf.h>
-declaration char * tnf_type_get_name(tnf_datum_t datum)
-version SUNWprivate_1.1
-end
-
-function tnf_type_get_property
-include <libtnf.h>
-declaration tnf_datum_t tnf_type_get_property(tnf_datum_t datum, char *name)
-version SUNWprivate_1.1
-end
-
-function tnf_type_get_size
-include <libtnf.h>
-declaration size_t tnf_type_get_size(tnf_datum_t datum)
-version SUNWprivate_1.1
-end
-
diff --git a/usr/src/lib/libtnf/spec/versions b/usr/src/lib/libtnf/spec/versions
deleted file mode 100644
index a542a0f7fc..0000000000
--- a/usr/src/lib/libtnf/spec/versions
+++ /dev/null
@@ -1,39 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-sparc {
- SUNWprivate_1.1;
-}
-sparcv9 {
- SUNWprivate_1.1;
-}
-i386 {
- SUNWprivate_1.1;
-}
-amd64 {
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/libtnfctl/Makefile b/usr/src/lib/libtnfctl/Makefile
index 0b1d31137c..c35d5206b7 100644
--- a/usr/src/lib/libtnfctl/Makefile
+++ b/usr/src/lib/libtnfctl/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,18 +19,16 @@
# CDDL HEADER END
#
#
-#pragma ident "%Z%%M% %I% %E% SMI"
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-#
-# Copyright (c) 1989,1995-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libtnfctl/Makefile
+# ident "%Z%%M% %I% %E% SMI"
#
include ../Makefile.lib
-SUBDIRS = spec .WAIT $(MACH) $(BUILD64) $(MACH64)
+SUBDIRS = $(MACH)
+$(BUILD64)SUBDIRS += $(MACH64)
# conditional assignments
all := TARGET = all
@@ -74,14 +71,14 @@ $(ROOTLIBDIR) $(ROOTHDRDIR):
$(ROOTHDRDIR)/% : %
$(INS.file)
-$(MACH) $(MACH64) spec: FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
-_msg: $(MSGDOMAIN) $(POFILE)
+_msg: $(MSGDOMAIN) .WAIT $(POFILE)
$(RM) $(MSGDOMAIN)/$(POFILE)
$(CP) $(POFILE) $(MSGDOMAIN)
-$(POFILE): .WAIT $(POFILES)
+$(POFILE): $(POFILES)
$(RM) $@
$(CAT) $(POFILES) > $@
diff --git a/usr/src/lib/libtnfctl/Makefile.com b/usr/src/lib/libtnfctl/Makefile.com
index 1c7d836fa0..0f64791b28 100644
--- a/usr/src/lib/libtnfctl/Makefile.com
+++ b/usr/src/lib/libtnfctl/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,13 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libtnfctl/Makefile
-#
LIBRARY= libtnfctl.a
VERS= .1
@@ -66,11 +63,6 @@ SRCS= $(OBJECTS.c:%.o=../%.c)
LIBS= $(DYNLIB)
-MAPFILE= $(MAPDIR)/mapfile
-MAPOPTS= $(MAPFILE:%=-M%)
-CLOBBERFILES += $(MAPFILE)
-DYNFLAGS += $(MAPOPTS)
-
HDRS= tnfctl.h
ROOTHDRDIR= $(ROOT)/usr/include/tnf
ROOTHDRS= $(HDRS:%=$(ROOTHDRDIR)/%)
@@ -101,11 +93,6 @@ lint:
check: $(CHECKHDRS)
-$(DYNLIB): $(MAPFILE)
-
-$(MAPFILE):
- @cd $(MAPDIR); $(MAKE) mapfile
-
$(ROOTLIBDIR) $(ROOTHDRDIR):
$(INS.dir)
diff --git a/usr/src/lib/libtnfctl/amd64/Makefile b/usr/src/lib/libtnfctl/amd64/Makefile
index 5cb0c917cc..3f238e6cae 100644
--- a/usr/src/lib/libtnfctl/amd64/Makefile
+++ b/usr/src/lib/libtnfctl/amd64/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,13 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-MAPDIR= ../spec/amd64
include ../Makefile.com
include ../../Makefile.lib.64
diff --git a/usr/src/lib/libtnfctl/i386/Makefile b/usr/src/lib/libtnfctl/i386/Makefile
index 4b2bfed7a8..50dd2a7dd7 100644
--- a/usr/src/lib/libtnfctl/i386/Makefile
+++ b/usr/src/lib/libtnfctl/i386/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-#pragma ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
-# lib/litnfctl/i386/Makefile
-MAPDIR= ../spec/i386
include ../Makefile.com
.KEEP_STATE:
diff --git a/usr/src/lib/libtnfctl/mapfile-vers b/usr/src/lib/libtnfctl/mapfile-vers
new file mode 100644
index 0000000000..f10b35a6a2
--- /dev/null
+++ b/usr/src/lib/libtnfctl/mapfile-vers
@@ -0,0 +1,65 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNW_1.1 {
+ global:
+ tnfctl_buffer_alloc;
+ tnfctl_buffer_dealloc;
+ tnfctl_check_libs;
+ tnfctl_close;
+ tnfctl_continue;
+ tnfctl_exec_open;
+ tnfctl_filter_list_add;
+ tnfctl_filter_list_delete;
+ tnfctl_filter_list_get;
+ tnfctl_filter_state_set;
+ tnfctl_indirect_open;
+ tnfctl_internal_open;
+ tnfctl_kernel_open;
+ tnfctl_pid_open;
+ tnfctl_probe_apply;
+ tnfctl_probe_apply_ids;
+ tnfctl_probe_connect;
+ tnfctl_probe_disable;
+ tnfctl_probe_disconnect_all;
+ tnfctl_probe_enable;
+ tnfctl_probe_state_get;
+ tnfctl_probe_trace;
+ tnfctl_probe_untrace;
+ tnfctl_register_funcs;
+ tnfctl_strerror;
+ tnfctl_trace_attrs_get;
+ tnfctl_trace_state_set;
+};
+
+SUNWprivate_1.1 {
+ global:
+ _tnfctl_externally_traced_pid;
+ _tnfctl_internal_tracing_flag;
+ local:
+ *;
+};
diff --git a/usr/src/lib/libtnfctl/sparc/Makefile b/usr/src/lib/libtnfctl/sparc/Makefile
index 16f419083d..50dd2a7dd7 100644
--- a/usr/src/lib/libtnfctl/sparc/Makefile
+++ b/usr/src/lib/libtnfctl/sparc/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-#pragma ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
-# lib/litnfctl/sparc/Makefile
-MAPDIR= ../spec/sparc
include ../Makefile.com
.KEEP_STATE:
diff --git a/usr/src/lib/libtnfctl/sparcv9/Makefile b/usr/src/lib/libtnfctl/sparcv9/Makefile
index c01f7591a9..3f238e6cae 100644
--- a/usr/src/lib/libtnfctl/sparcv9/Makefile
+++ b/usr/src/lib/libtnfctl/sparcv9/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-#pragma ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libtnfctl/sparcv9/Makefile
-MAPDIR= ../spec/sparcv9
include ../Makefile.com
include ../../Makefile.lib.64
diff --git a/usr/src/lib/libtnfctl/spec/Makefile b/usr/src/lib/libtnfctl/spec/Makefile
deleted file mode 100644
index 1ca59b30d3..0000000000
--- a/usr/src/lib/libtnfctl/spec/Makefile
+++ /dev/null
@@ -1,29 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1998-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libtnfctl/spec/Makefile
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/libtnfctl/spec/Makefile.targ b/usr/src/lib/libtnfctl/spec/Makefile.targ
deleted file mode 100644
index 07d4d8b869..0000000000
--- a/usr/src/lib/libtnfctl/spec/Makefile.targ
+++ /dev/null
@@ -1,34 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1998-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libtnfctl/spec/Makefile.targ
-
-LIBRARY = libtnfctl.a
-VERS = .1
-
-OBJECTS = tnfctl.o
-
-SPECCPP =
diff --git a/usr/src/lib/libtnfctl/spec/amd64/Makefile b/usr/src/lib/libtnfctl/spec/amd64/Makefile
deleted file mode 100644
index d334868181..0000000000
--- a/usr/src/lib/libtnfctl/spec/amd64/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#amd64_C_PICFLAGS = $(amd64_C_BIGPICFLAGS)
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libtnfctl/spec/i386/Makefile b/usr/src/lib/libtnfctl/spec/i386/Makefile
deleted file mode 100644
index c7d5274776..0000000000
--- a/usr/src/lib/libtnfctl/spec/i386/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1998-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libadm/spec/i386/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#i386_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libtnfctl/spec/sparc/Makefile b/usr/src/lib/libtnfctl/spec/sparc/Makefile
deleted file mode 100644
index a313a6b7bb..0000000000
--- a/usr/src/lib/libtnfctl/spec/sparc/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1998-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libtnfctl/spec/sparc/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#sparc_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libtnfctl/spec/sparcv9/Makefile b/usr/src/lib/libtnfctl/spec/sparcv9/Makefile
deleted file mode 100644
index 7d7a66d4e0..0000000000
--- a/usr/src/lib/libtnfctl/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,45 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1998-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libtnfctl/spec/sparcv9/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#sparcv9_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libtnfctl/spec/tnfctl.spec b/usr/src/lib/libtnfctl/spec/tnfctl.spec
deleted file mode 100644
index ef81742f95..0000000000
--- a/usr/src/lib/libtnfctl/spec/tnfctl.spec
+++ /dev/null
@@ -1,234 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libtnfctl/spec/tnfctl.spec
-
-function tnfctl_exec_open
-include <tnf/tnfctl.h>
-declaration tnfctl_errcode_t tnfctl_exec_open(const char *pgm_name, \
- char * const *argv, char * const *envp, \
- const char *libnfprobe_path, \
- const char *ld_preload, \
- tnfctl_handle_t **ret_val)
-version SUNW_1.1
-end
-
-function tnfctl_pid_open
-include <tnf/tnfctl.h>
-declaration tnfctl_errcode_t tnfctl_pid_open(pid_t pid, \
- tnfctl_handle_t **ret_val)
-version SUNW_1.1
-end
-
-function tnfctl_continue
-include <tnf/tnfctl.h>
-declaration tnfctl_errcode_t tnfctl_continue(tnfctl_handle_t *hndl, \
- tnfctl_event_t *evt, \
- tnfctl_handle_t **child_hndl)
-version SUNW_1.1
-end
-
-function tnfctl_internal_open
-include <tnf/tnfctl.h>
-declaration tnfctl_errcode_t tnfctl_internal_open( \
- tnfctl_handle_t **ret_val)
-version SUNW_1.1
-end
-
-function tnfctl_kernel_open
-include <tnf/tnfctl.h>
-declaration tnfctl_errcode_t tnfctl_kernel_open( \
- tnfctl_handle_t ** ret_val)
-version SUNW_1.1
-end
-
-function tnfctl_indirect_open
-include <tnf/tnfctl.h>
-declaration tnfctl_errcode_t tnfctl_indirect_open(void *prochandle, \
- tnfctl_ind_config_t *config, \
- tnfctl_handle_t **ret_val)
-version SUNW_1.1
-end
-
-function tnfctl_trace_attrs_get
-include <tnf/tnfctl.h>
-declaration tnfctl_errcode_t tnfctl_trace_attrs_get( \
- tnfctl_handle_t *hndl, tnfctl_trace_attrs_t *attrs)
-version SUNW_1.1
-end
-
-function tnfctl_buffer_alloc
-include <tnf/tnfctl.h>
-declaration tnfctl_errcode_t tnfctl_buffer_alloc(tnfctl_handle_t *hndl, \
- const char *trace_file_name, uint_t trace_buffer_size)
-version SUNW_1.1
-end
-
-function tnfctl_register_funcs
-include <tnf/tnfctl.h>
-declaration tnfctl_errcode_t tnfctl_register_funcs( \
- tnfctl_handle_t *hndl, \
- void * (*create_func)(tnfctl_handle_t *, \
- tnfctl_probe_t *), \
- void (*destroy_func)(void *))
-version SUNW_1.1
-end
-
-function tnfctl_probe_apply
-include <tnf/tnfctl.h>
-declaration tnfctl_errcode_t tnfctl_probe_apply(tnfctl_handle_t *hndl, \
- tnfctl_probe_op_t probe_op, void *clientdata)
-version SUNW_1.1
-end
-
-function tnfctl_probe_apply_ids
-include <tnf/tnfctl.h>
-declaration tnfctl_errcode_t tnfctl_probe_apply_ids(tnfctl_handle_t *hndl,\
- ulong_t probe_count, ulong_t *probe_ids, \
- tnfctl_probe_op_t probe_op, void *clientdata)
-version SUNW_1.1
-end
-
-function tnfctl_probe_state_get
-include <tnf/tnfctl.h>
-declaration tnfctl_errcode_t tnfctl_probe_state_get(tnfctl_handle_t *hndl,\
- tnfctl_probe_t *probe_hndl, \
- tnfctl_probe_state_t *state)
-version SUNW_1.1
-end
-
-function tnfctl_probe_enable
-include <tnf/tnfctl.h>
-declaration tnfctl_errcode_t tnfctl_probe_enable(tnfctl_handle_t *hndl, \
- tnfctl_probe_t *probe_hndl, void *ignored)
-version SUNW_1.1
-end
-
-function tnfctl_probe_disable
-include <tnf/tnfctl.h>
-declaration tnfctl_errcode_t tnfctl_probe_disable(tnfctl_handle_t *hndl, \
- tnfctl_probe_t *probe_hndl, void *ignored)
-version SUNW_1.1
-end
-
-function tnfctl_probe_trace
-include <tnf/tnfctl.h>
-declaration tnfctl_errcode_t tnfctl_probe_trace(tnfctl_handle_t *hndl, \
- tnfctl_probe_t *probe_hndl, void *ignored)
-version SUNW_1.1
-end
-
-function tnfctl_probe_untrace
-include <tnf/tnfctl.h>
-declaration tnfctl_errcode_t tnfctl_probe_untrace(tnfctl_handle_t *hndl, \
- tnfctl_probe_t *probe_hndl, void *ignored)
-version SUNW_1.1
-end
-
-function tnfctl_check_libs
-include <tnf/tnfctl.h>
-declaration tnfctl_errcode_t tnfctl_check_libs(tnfctl_handle_t *hndl)
-version SUNW_1.1
-end
-
-function tnfctl_close
-include <tnf/tnfctl.h>
-declaration tnfctl_errcode_t tnfctl_close(tnfctl_handle_t *hndl, \
- tnfctl_targ_op_t action)
-version SUNW_1.1
-end
-
-function tnfctl_strerror
-include <tnf/tnfctl.h>
-declaration const char * tnfctl_strerror(tnfctl_errcode_t errcode)
-version SUNW_1.1
-end
-
-function tnfctl_probe_connect
-include <tnf/tnfctl.h>
-declaration tnfctl_errcode_t tnfctl_probe_connect(tnfctl_handle_t *hndl, \
- tnfctl_probe_t *probe_hndl, \
- const char *lib_base_name, const char *func_name)
-version SUNW_1.1
-end
-
-function tnfctl_probe_disconnect_all
-include <tnf/tnfctl.h>
-declaration tnfctl_errcode_t tnfctl_probe_disconnect_all( \
- tnfctl_handle_t *hndl, tnfctl_probe_t *probe_hndl, \
- void *ignored)
-version SUNW_1.1
-end
-
-function tnfctl_buffer_dealloc
-include <tnf/tnfctl.h>
-declaration tnfctl_errcode_t tnfctl_buffer_dealloc(tnfctl_handle_t *hndl)
-version SUNW_1.1
-end
-
-function tnfctl_trace_state_set
-include <tnf/tnfctl.h>
-declaration tnfctl_errcode_t tnfctl_trace_state_set( \
- tnfctl_handle_t *hndl, boolean_t trace_state)
-version SUNW_1.1
-end
-
-function tnfctl_filter_state_set
-include <tnf/tnfctl.h>
-declaration tnfctl_errcode_t tnfctl_filter_state_set( \
- tnfctl_handle_t *hndl, boolean_t filter_state)
-version SUNW_1.1
-end
-
-function tnfctl_filter_list_get
-include <tnf/tnfctl.h>
-declaration tnfctl_errcode_t tnfctl_filter_list_get( \
- tnfctl_handle_t *hndl, \
- pid_t **pid_list, int *pid_count)
-version SUNW_1.1
-end
-
-function tnfctl_filter_list_add
-include <tnf/tnfctl.h>
-declaration tnfctl_errcode_t tnfctl_filter_list_add( \
- tnfctl_handle_t *hndl, pid_t pid_to_add)
-version SUNW_1.1
-end
-
-function tnfctl_filter_list_delete
-include <tnf/tnfctl.h>
-declaration tnfctl_errcode_t tnfctl_filter_list_delete( \
- tnfctl_handle_t *hndl, pid_t pid_to_delete)
-version SUNW_1.1
-end
-
-function _tnfctl_externally_traced_pid
-version SUNWprivate_1.1
-end
-
-function _tnfctl_internal_tracing_flag
-version SUNWprivate_1.1
-end
diff --git a/usr/src/lib/libtnfctl/spec/versions b/usr/src/lib/libtnfctl/spec/versions
deleted file mode 100644
index 38a2cfc77a..0000000000
--- a/usr/src/lib/libtnfctl/spec/versions
+++ /dev/null
@@ -1,43 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-sparc {
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-sparcv9 {
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-i386 {
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-amd64 {
- SUNW_1.1;
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/libtnfprobe/Makefile b/usr/src/lib/libtnfprobe/Makefile
index 59f9eb9b4a..1235f9d41d 100644
--- a/usr/src/lib/libtnfprobe/Makefile
+++ b/usr/src/lib/libtnfprobe/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,18 +19,16 @@
# CDDL HEADER END
#
#
-#pragma ident "%Z%%M% %I% %E% SMI"
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-#
-# Copyright (c) 1989,1998-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libtnfprobe/Makefile
+# ident "%Z%%M% %I% %E% SMI"
#
include ../Makefile.lib
-SUBDIRS = spec .WAIT $(MACH) $(BUILD64) $(MACH64)
+SUBDIRS = $(MACH)
+$(BUILD64)SUBDIRS += $(MACH64)
# conditional assignments
all := TARGET = all
@@ -62,7 +59,7 @@ $(ROOTLIBDIR) $(ROOTHDRDIR):
$(ROOTHDRDIR)/% : %
$(INS.file)
-$(MACH) $(MACH64) spec: FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
diff --git a/usr/src/lib/libtnfprobe/Makefile.com b/usr/src/lib/libtnfprobe/Makefile.com
index 5265b73dc0..50448d6d64 100644
--- a/usr/src/lib/libtnfprobe/Makefile.com
+++ b/usr/src/lib/libtnfprobe/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,12 +19,10 @@
# CDDL HEADER END
#
#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# lib/libtnfprobe/Makefile
+# ident "%Z%%M% %I% %E% SMI"
#
LIBRARY= libtnfprobe.a
@@ -53,10 +50,7 @@ SRCS= $(OBJECTS.c:%.o=../%.c) $(UFSOBJS:%.o=$(UFSDIR)/%.c)
LIBS= $(DYNLIB)
-MAPFILE= $(MAPDIR)/mapfile
-MAPOPTS= $(MAPFILE:%=-M %)
-DYNFLAGS += $(MAPOPTS)
-CLOBBERFILES += $(MAPFILE)
+MAPFILES += mapfile-vers
HDRS= com.h writer.h probe.h
ROOTHDRDIR= $(ROOT)/usr/include/tnf
@@ -73,11 +67,6 @@ LINTFLAGS += -y
$(ROOTHDRS) := FILEMODE = 644
-$(DYNLIB): $(MAPFILE)
-
-$(MAPFILE):
- @cd $(MAPDIR); $(MAKE) mapfile
-
LDLIBS += -lc
.KEEP_STATE:
diff --git a/usr/src/lib/libtnfprobe/amd64/Makefile b/usr/src/lib/libtnfprobe/amd64/Makefile
index 5cb0c917cc..3f238e6cae 100644
--- a/usr/src/lib/libtnfprobe/amd64/Makefile
+++ b/usr/src/lib/libtnfprobe/amd64/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,13 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-MAPDIR= ../spec/amd64
include ../Makefile.com
include ../../Makefile.lib.64
diff --git a/usr/src/lib/fm/libfmd_snmp/spec/Makefile b/usr/src/lib/libtnfprobe/amd64/mapfile-vers
index a66eef302e..633026ef2f 100644
--- a/usr/src/lib/fm/libfmd_snmp/spec/Makefile
+++ b/usr/src/lib/libtnfprobe/amd64/mapfile-vers
@@ -18,7 +18,6 @@
#
# CDDL HEADER END
#
-
#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
@@ -26,4 +25,6 @@
# ident "%Z%%M% %I% %E% SMI"
#
-include $(SRC)/lib/Makefile.spec.arch
+SUNWprivate_1.1 {
+ global:
+};
diff --git a/usr/src/lib/libtnfprobe/i386/Makefile b/usr/src/lib/libtnfprobe/i386/Makefile
index 1e3dd6d31c..50dd2a7dd7 100644
--- a/usr/src/lib/libtnfprobe/i386/Makefile
+++ b/usr/src/lib/libtnfprobe/i386/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-#pragma ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libtnfprobe/i386/Makefile
-MAPDIR= ../spec/i386
include ../Makefile.com
.KEEP_STATE:
diff --git a/usr/src/lib/libdtrace_jni/spec/Makefile b/usr/src/lib/libtnfprobe/i386/mapfile-vers
index a66eef302e..633026ef2f 100644
--- a/usr/src/lib/libdtrace_jni/spec/Makefile
+++ b/usr/src/lib/libtnfprobe/i386/mapfile-vers
@@ -18,7 +18,6 @@
#
# CDDL HEADER END
#
-
#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
@@ -26,4 +25,6 @@
# ident "%Z%%M% %I% %E% SMI"
#
-include $(SRC)/lib/Makefile.spec.arch
+SUNWprivate_1.1 {
+ global:
+};
diff --git a/usr/src/lib/libtnfprobe/mapfile-vers b/usr/src/lib/libtnfprobe/mapfile-vers
new file mode 100644
index 0000000000..46c25a9378
--- /dev/null
+++ b/usr/src/lib/libtnfprobe/mapfile-vers
@@ -0,0 +1,93 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNWprivate_1.1 {
+ global:
+ fork = NODIRECT;
+ fork1;
+ pthread_create;
+ pthread_exit;
+ _resume_ret;
+ thr_create;
+ thr_exit;
+ tnf_allocate;
+ tnf_char_tag_data;
+ tnf_float32_tag_data;
+ tnf_float64_tag_data;
+ tnf_int16_tag_data;
+ tnf_int32_tag_data;
+ tnf_int64_tag_data;
+ tnf_int8_tag_data;
+ tnf_lwpid_tag_data;
+ tnf_name_tag_data;
+ tnf_non_threaded_test_addr;
+ tnf_opaque_tag_data;
+ tnf_pid_tag_data;
+ __tnf_probe_alloc;
+ tnf_probe_debug;
+ tnf_probe_event_tag_data;
+ tnf_probe_get_arg_indexed;
+ tnf_probe_get_chars;
+ tnf_probe_get_num_args;
+ tnf_probe_get_type_indexed;
+ tnf_probe_get_value;
+ __tnf_probe_list_head;
+ __tnf_probe_list_valid;
+ __tnf_probe_memseg_p;
+ __tnf_probe_notify;
+ __tnf_probe_thr_sync;
+ __tnf_probe_version_1_info;
+ tnf_process_disable;
+ tnf_process_enable;
+ tnf_ref32_1;
+ tnf_size_tag_data;
+ tnf_string_1;
+ tnf_string_tag_data;
+ tnf_struct_tag_1;
+ tnf_tag_tag_data;
+ __tnf_tag_version_1_info;
+ tnf_thread_disable;
+ tnf_threaded_test_addr;
+ tnf_thread_enable;
+ tnf_time_base_tag_data;
+ tnf_time_delta_tag_data;
+ tnf_trace_alloc;
+ tnf_trace_commit;
+ tnf_trace_end;
+ tnf_trace_file_min;
+ tnf_trace_file_name;
+ tnf_trace_file_size;
+ tnf_trace_rollback;
+ tnf_uint16_tag_data;
+ tnf_uint32_tag_data;
+ tnf_uint64_tag_data;
+ tnf_uint8_tag_data;
+ tnf_user_struct_properties;
+ _tnfw_b_control;
+ local:
+ *;
+};
diff --git a/usr/src/lib/libtnfprobe/sparc/Makefile b/usr/src/lib/libtnfprobe/sparc/Makefile
index e6d58f0949..50dd2a7dd7 100644
--- a/usr/src/lib/libtnfprobe/sparc/Makefile
+++ b/usr/src/lib/libtnfprobe/sparc/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-#pragma ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libtnfprobe/sparc/Makefile
-MAPDIR= ../spec/sparc
include ../Makefile.com
.KEEP_STATE:
diff --git a/usr/src/lib/libtnfprobe/sparc/mapfile-vers b/usr/src/lib/libtnfprobe/sparc/mapfile-vers
new file mode 100644
index 0000000000..b8c91e7960
--- /dev/null
+++ b/usr/src/lib/libtnfprobe/sparc/mapfile-vers
@@ -0,0 +1,31 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNWprivate_1.1 {
+ global:
+ thr_stksegment;
+};
diff --git a/usr/src/lib/libtnfprobe/sparcv9/Makefile b/usr/src/lib/libtnfprobe/sparcv9/Makefile
index 79f06e219e..3f238e6cae 100644
--- a/usr/src/lib/libtnfprobe/sparcv9/Makefile
+++ b/usr/src/lib/libtnfprobe/sparcv9/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-#pragma ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libtnfprobe/sparcv9/Makefile
-MAPDIR= ../spec/sparcv9
include ../Makefile.com
include ../../Makefile.lib.64
diff --git a/usr/src/lib/libtnfprobe/sparcv9/mapfile-vers b/usr/src/lib/libtnfprobe/sparcv9/mapfile-vers
new file mode 100644
index 0000000000..b8c91e7960
--- /dev/null
+++ b/usr/src/lib/libtnfprobe/sparcv9/mapfile-vers
@@ -0,0 +1,31 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNWprivate_1.1 {
+ global:
+ thr_stksegment;
+};
diff --git a/usr/src/lib/libtnfprobe/spec/Makefile b/usr/src/lib/libtnfprobe/spec/Makefile
deleted file mode 100644
index ac58046e65..0000000000
--- a/usr/src/lib/libtnfprobe/spec/Makefile
+++ /dev/null
@@ -1,29 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1998-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libtnfprobe/spec/Makefile
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/libtnfprobe/spec/Makefile.targ b/usr/src/lib/libtnfprobe/spec/Makefile.targ
deleted file mode 100644
index 8db60348fa..0000000000
--- a/usr/src/lib/libtnfprobe/spec/Makefile.targ
+++ /dev/null
@@ -1,34 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1998-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libtnfprobe/spec/Makefile.targ
-
-LIBRARY = libtnfprobe.a
-VERS = .1
-
-OBJECTS = private.o
-
-SPECCPP = -I../.. -I$(SRC)/uts/common/tnf
diff --git a/usr/src/lib/libtnfprobe/spec/amd64/Makefile b/usr/src/lib/libtnfprobe/spec/amd64/Makefile
deleted file mode 100644
index d334868181..0000000000
--- a/usr/src/lib/libtnfprobe/spec/amd64/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#amd64_C_PICFLAGS = $(amd64_C_BIGPICFLAGS)
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libtnfprobe/spec/i386/Makefile b/usr/src/lib/libtnfprobe/spec/i386/Makefile
deleted file mode 100644
index f1bfd7338d..0000000000
--- a/usr/src/lib/libtnfprobe/spec/i386/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1998-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libtnfpobe/spec/i386/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#i386_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libtnfprobe/spec/private.spec b/usr/src/lib/libtnfprobe/spec/private.spec
deleted file mode 100644
index 013d014460..0000000000
--- a/usr/src/lib/libtnfprobe/spec/private.spec
+++ /dev/null
@@ -1,319 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libtnfprobe/spec/private.spec
-
-function __tnf_probe_alloc
-include <tnf_trace.h>
-declaration char *__tnf_probe_alloc(size_t size)
-version SUNWprivate_1.1
-end
-
-data __tnf_probe_list_head
-version SUNWprivate_1.1
-end
-
-data __tnf_probe_list_valid
-version SUNWprivate_1.1
-end
-
-data __tnf_probe_memseg_p
-version SUNWprivate_1.1
-end
-
-function __tnf_probe_notify
-include <tnf_trace.h>
-declaration void __tnf_probe_notify(void)
-version SUNWprivate_1.1
-end
-
-data __tnf_probe_thr_sync
-version SUNWprivate_1.1
-end
-
-function __tnf_probe_version_1_info
-version SUNWprivate_1.1
-end
-
-function __tnf_tag_version_1_info
-version SUNWprivate_1.1
-end
-
-function _resume_ret
-include <tnf_trace.h>
-declaration void _resume_ret(void *arg1)
-version SUNWprivate_1.1
-end
-
-data _tnfw_b_control
-version SUNWprivate_1.1
-end
-
-function fork1 extends libc/spec/sys.spec
-version SUNWprivate_1.1
-end
-
-function fork extends libc/spec/sys.spec
-version SUNWprivate_1.1
-end
-
-function pthread_create extends libc/spec/threads.spec
-version SUNWprivate_1.1
-end
-
-function pthread_exit extends libc/spec/threads.spec
-include <tnf_trace.h>
-declaration void pthread_exit(void * status)
-version SUNWprivate_1.1
-end
-
-function thr_create extends libc/spec/threads.spec
-version SUNWprivate_1.1
-end
-
-function thr_exit extends libc/spec/threads.spec
-version SUNWprivate_1.1
-end
-
-function thr_stksegment extends libc/spec/threads.spec
-arch sparc sparcv9
-version SUNWprivate_1.1
-end
-
-function tnf_allocate
-include <tnf_trace.h>
-declaration void *tnf_allocate(tnf_ops_t *ops, size_t size)
-version SUNWprivate_1.1
-end
-
-function tnf_char_tag_data
-version SUNWprivate_1.1
-end
-
-function tnf_float32_tag_data
-version SUNWprivate_1.1
-end
-
-function tnf_float64_tag_data
-version SUNWprivate_1.1
-end
-
-function tnf_int16_tag_data
-version SUNWprivate_1.1
-end
-
-function tnf_int32_tag_data
-version SUNWprivate_1.1
-end
-
-function tnf_int64_tag_data
-version SUNWprivate_1.1
-end
-
-function tnf_int8_tag_data
-version SUNWprivate_1.1
-end
-
-function tnf_lwpid_tag_data
-version SUNWprivate_1.1
-end
-
-function tnf_name_tag_data
-version SUNWprivate_1.1
-end
-
-data tnf_non_threaded_test_addr
-version SUNWprivate_1.1
-end
-
-function tnf_opaque_tag_data
-version SUNWprivate_1.1
-end
-
-function tnf_pid_tag_data
-version SUNWprivate_1.1
-end
-
-function tnf_probe_debug
-include <tnf_trace.h>
-declaration void tnf_probe_debug(tnf_probe_setup_t *set_p)
-version SUNWprivate_1.1
-end
-
-function tnf_probe_event_tag_data
-version SUNWprivate_1.1
-end
-
-function tnf_probe_get_arg_indexed
-include <tnf_trace.h>
-declaration void * tnf_probe_get_arg_indexed \
- (tnf_probe_control_t *probe_p, int index, void *buffer)
-version SUNWprivate_1.1
-end
-
-function tnf_probe_get_chars
-include <tnf_trace.h>
-declaration char * tnf_probe_get_chars(void *slot)
-version SUNWprivate_1.1
-end
-
-function tnf_probe_get_num_args
-include <tnf_trace.h>
-declaration int tnf_probe_get_num_args(tnf_probe_control_t *probe_p)
-version SUNWprivate_1.1
-end
-
-function tnf_probe_get_type_indexed
-include <tnf_trace.h>
-declaration tnf_arg_kind_t tnf_probe_get_type_indexed \
- (tnf_probe_control_t *probe_p, int index)
-version SUNWprivate_1.1
-end
-
-function tnf_probe_get_value
-include <tnf_trace.h>
-declaration const char * tnf_probe_get_value \
- (tnf_probe_control_t *probe_p, char *attribute, \
- ulong_t *size)
-version SUNWprivate_1.1
-end
-
-function tnf_process_disable
-include <tnf_trace.h>
-declaration void tnf_process_disable(void)
-version SUNWprivate_1.1
-end
-
-function tnf_process_enable
-include <tnf_trace.h>
-declaration void tnf_process_enable(void)
-version SUNWprivate_1.1
-end
-
-function tnf_ref32_1
-version SUNWprivate_1.1
-end
-
-function tnf_size_tag_data
-version SUNWprivate_1.1
-end
-
-function tnf_string_1
-version SUNWprivate_1.1
-end
-
-function tnf_string_tag_data
-version SUNWprivate_1.1
-end
-
-function tnf_struct_tag_1
-version SUNWprivate_1.1
-end
-
-function tnf_tag_tag_data
-version SUNWprivate_1.1
-end
-
-function tnf_thread_disable
-include <tnf_trace.h>
-declaration void tnf_thread_disable(void)
-version SUNWprivate_1.1
-end
-
-function tnf_thread_enable
-include <tnf_trace.h>
-declaration void tnf_thread_enable(void)
-version SUNWprivate_1.1
-end
-
-data tnf_threaded_test_addr
-version SUNWprivate_1.1
-end
-
-function tnf_time_base_tag_data
-version SUNWprivate_1.1
-end
-
-function tnf_time_delta_tag_data
-version SUNWprivate_1.1
-end
-
-function tnf_trace_alloc
-include <tnf_trace.h>
-declaration void * tnf_trace_alloc(tnf_ops_t *ops, \
- tnf_probe_control_t *probe_p, tnf_probe_setup_t *set_p)
-version SUNWprivate_1.1
-end
-
-function tnf_trace_commit
-include <tnf_trace.h>
-declaration void tnf_trace_commit(tnf_probe_setup_t *set_p)
-version SUNWprivate_1.1
-end
-
-function tnf_trace_end
-include <tnf_trace.h>
-declaration void tnf_trace_end(tnf_probe_setup_t *set_p)
-version SUNWprivate_1.1
-end
-
-data tnf_trace_file_min
-version SUNWprivate_1.1
-end
-
-data tnf_trace_file_name
-version SUNWprivate_1.1
-end
-
-data tnf_trace_file_size
-version SUNWprivate_1.1
-end
-
-function tnf_trace_rollback
-include <tnf_trace.h>
-declaration void tnf_trace_rollback(tnf_probe_setup_t *set_p)
-version SUNWprivate_1.1
-end
-
-function tnf_uint16_tag_data
-version SUNWprivate_1.1
-end
-
-function tnf_uint32_tag_data
-version SUNWprivate_1.1
-end
-
-function tnf_uint64_tag_data
-version SUNWprivate_1.1
-end
-
-function tnf_uint8_tag_data
-version SUNWprivate_1.1
-end
-
-function tnf_user_struct_properties
-version SUNWprivate_1.1
-end
diff --git a/usr/src/lib/libtnfprobe/spec/sparc/Makefile b/usr/src/lib/libtnfprobe/spec/sparc/Makefile
deleted file mode 100644
index 28c49c697e..0000000000
--- a/usr/src/lib/libtnfprobe/spec/sparc/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1998-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libtnfprobe/spec/sparc/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#sparc_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libtnfprobe/spec/sparcv9/Makefile b/usr/src/lib/libtnfprobe/spec/sparcv9/Makefile
deleted file mode 100644
index f42afa00ac..0000000000
--- a/usr/src/lib/libtnfprobe/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,45 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1998-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libtnfprobe/spec/sparcv9/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#sparcv9_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libtnfprobe/spec/versions b/usr/src/lib/libtnfprobe/spec/versions
deleted file mode 100644
index a542a0f7fc..0000000000
--- a/usr/src/lib/libtnfprobe/spec/versions
+++ /dev/null
@@ -1,39 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-sparc {
- SUNWprivate_1.1;
-}
-sparcv9 {
- SUNWprivate_1.1;
-}
-i386 {
- SUNWprivate_1.1;
-}
-amd64 {
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/libtsnet/Makefile b/usr/src/lib/libtsnet/Makefile
index aa06ccdef0..e02f847ac2 100644
--- a/usr/src/lib/libtsnet/Makefile
+++ b/usr/src/lib/libtsnet/Makefile
@@ -22,7 +22,7 @@
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
include ../Makefile.lib
@@ -43,11 +43,7 @@ MSGFILES = common/misc.i
.KEEP_STATE:
-all install: spec .WAIT $(SUBDIRS)
-
-clean clobber: spec $(SUBDIRS)
-
-lint: $(SUBDIRS)
+all clean clobber install lint: $(SUBDIRS)
install_h: $(ROOTHDRS)
@@ -58,7 +54,7 @@ _msg: $(MSGDOMAINPOFILE)
$(POFILE): $(MSGFILES)
$(BUILDPO.msgfiles)
-spec $(SUBDIRS): FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
diff --git a/usr/src/lib/libtsnet/Makefile.com b/usr/src/lib/libtsnet/Makefile.com
index c77b2403ad..6e8d1e3105 100644
--- a/usr/src/lib/libtsnet/Makefile.com
+++ b/usr/src/lib/libtsnet/Makefile.com
@@ -22,7 +22,7 @@
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
LIBRARY = libtsnet.a
@@ -40,16 +40,14 @@ include ../../Makefile.lib
include ../../Makefile.rootfs
LIBS = $(DYNLIB) $(LINTLIB)
+
+SRCDIR = ../common
$(LINTLIB) := SRCS = $(SRCDIR)/$(LINTSRC)
LAZYLIBS = $(ZLAZYLOAD) -ltsol $(ZNOLAZYLOAD)
LDLIBS += -lsocket -lnsl -lc -lsecdb $(LAZYLIBS)
lint := LAZYLIBS = -ltsol
-SRCDIR = ../common
-MAPDIR = ../spec/$(TRANSMACH)
-SPECMAPFILE = $(MAPDIR)/mapfile
-
LIBTSOLINC = $(SRC)/lib/libtsol/common
CPPFLAGS += -D_REENTRANT -I$(LIBTSOLINC)
diff --git a/usr/src/lib/libtsnet/common/mapfile-vers b/usr/src/lib/libtsnet/common/mapfile-vers
new file mode 100644
index 0000000000..f9379fd0ea
--- /dev/null
+++ b/usr/src/lib/libtsnet/common/mapfile-vers
@@ -0,0 +1,58 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNWprivate_1.1 {
+ global:
+ rhstr_to_ent;
+ rtsa_keyword;
+ rtsa_to_str;
+ sl_to_str;
+ str_to_rhstr;
+ str_to_tpstr;
+ tnmlp;
+ tnrh;
+ tnrhtp;
+ tpstr_to_ent;
+ tsol_endrhent;
+ tsol_endtpent;
+ tsol_fgetrhent;
+ tsol_fgettpent;
+ tsol_freerhent;
+ tsol_freetpent;
+ tsol_freezcent;
+ tsol_getrhbyaddr;
+ tsol_getrhent;
+ tsol_getrhtype;
+ tsol_gettpbyname;
+ tsol_gettpent;
+ tsol_setrhent;
+ tsol_settpent;
+ tsol_sgetzcent;
+ tsol_strerror;
+ local:
+ *;
+};
diff --git a/usr/src/lib/libtsnet/i386/Makefile b/usr/src/lib/libtsnet/i386/Makefile
index ee3ea88a08..2a944b0b43 100644
--- a/usr/src/lib/libtsnet/i386/Makefile
+++ b/usr/src/lib/libtsnet/i386/Makefile
@@ -22,10 +22,9 @@
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
-MAPDIR= ../spec/i386
include ../Makefile.com
.KEEP_STATE:
diff --git a/usr/src/lib/libtsnet/spec/Makefile b/usr/src/lib/libtsnet/spec/Makefile
deleted file mode 100644
index 66c61a6d05..0000000000
--- a/usr/src/lib/libtsnet/spec/Makefile
+++ /dev/null
@@ -1,30 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libtsnet/spec/Makefile
-#
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/libtsnet/spec/Makefile.targ b/usr/src/lib/libtsnet/spec/Makefile.targ
deleted file mode 100644
index aeafa46121..0000000000
--- a/usr/src/lib/libtsnet/spec/Makefile.targ
+++ /dev/null
@@ -1,35 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libtsnet/spec/Makefile.targ
-#
-
-LIBRARY= libtsnet.a
-VERS= .1
-
-OBJECTS= tsnet.o
-
-SPECCPP += -I../../
diff --git a/usr/src/lib/libtsnet/spec/amd64/Makefile b/usr/src/lib/libtsnet/spec/amd64/Makefile
deleted file mode 100644
index 03d9b122a2..0000000000
--- a/usr/src/lib/libtsnet/spec/amd64/Makefile
+++ /dev/null
@@ -1,33 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-include $(SRC)/lib/Makefile.spec
diff --git a/usr/src/lib/libtsnet/spec/i386/Makefile b/usr/src/lib/libtsnet/spec/i386/Makefile
deleted file mode 100644
index b378e293ca..0000000000
--- a/usr/src/lib/libtsnet/spec/i386/Makefile
+++ /dev/null
@@ -1,34 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libtsnet/spec/i386/Makefile
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
diff --git a/usr/src/lib/libtsnet/spec/sparc/Makefile b/usr/src/lib/libtsnet/spec/sparc/Makefile
deleted file mode 100644
index 013c8f71b0..0000000000
--- a/usr/src/lib/libtsnet/spec/sparc/Makefile
+++ /dev/null
@@ -1,34 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libtsnet/spec/sparc/Makefile
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
diff --git a/usr/src/lib/libtsnet/spec/sparcv9/Makefile b/usr/src/lib/libtsnet/spec/sparcv9/Makefile
deleted file mode 100644
index 03d9b122a2..0000000000
--- a/usr/src/lib/libtsnet/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,33 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-include $(SRC)/lib/Makefile.spec
diff --git a/usr/src/lib/libtsnet/spec/tsnet.spec b/usr/src/lib/libtsnet/spec/tsnet.spec
deleted file mode 100644
index 78e222075d..0000000000
--- a/usr/src/lib/libtsnet/spec/tsnet.spec
+++ /dev/null
@@ -1,206 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libtsnet/spec/tsnet.spec
-#
-
-function tsol_gettpbyname
-include <libtsnet.h>
-declaration tsol_tpent_t *tsol_gettpbyname(const char *name);
-version SUNWprivate_1.1
-exception $return == 0
-end
-
-function tsol_gettpent
-include <libtsnet.h>
-declaration tsol_tpent_t *tsol_gettpent(void);
-version SUNWprivate_1.1
-exception $return == 0
-end
-
-function tsol_fgettpent
-include <libtsnet.h>
-declaration tsol_tpent_t *tsol_gettpent(FILE *);
-version SUNWprivate_1.1
-exception $return == 0
-end
-
-function tsol_freetpent
-include <libtsnet.h>
-declaration void tsol_freetpent(tsol_tpent_t *);
-version SUNWprivate_1.1
-exception $return == 0
-end
-
-function tsol_settpent
-include <libtsnet.h>
-declaration void tsol_settpent(int stay);
-version SUNWprivate_1.1
-end
-
-function tsol_endtpent
-include <libtsnet.h>
-declaration void tsol_endtpent(void);
-version SUNWprivate_1.1
-end
-
-function str_to_tpstr
-include <libtsnet.h>
-declaration int str_to_tpstr(const char *, int, void *, char *, int);
-version SUNWprivate_1.1
-end
-
-function tpstr_to_ent
-include <libtsnet.h>
-declaration tsol_tpent_t *tpstr_to_ent(tsol_tpstr_t *, int *, char **);
-version SUNWprivate_1.1
-end
-
-function tsol_getrhbyaddr
-include <libtsnet.h>
-declaration tsol_rhent_t *tsol_getrhbyaddr(const void *addr, size_t len, \
- int type);
-version SUNWprivate_1.1
-exception $return == 0
-end
-
-function tsol_getrhent
-include <libtsnet.h>
-declaration tsol_rhent_t *tsol_getrhent(void);
-version SUNWprivate_1.1
-exception $return == 0
-end
-
-function tsol_fgetrhent
-include <libtsnet.h>
-declaration tsol_rhent_t *tsol_getrhent(FILE *);
-version SUNWprivate_1.1
-exception $return == 0
-end
-
-function tsol_freerhent
-include <libtsnet.h>
-declaration void tsol_freerhent(tsol_rhent_t *);
-version SUNWprivate_1.1
-exception $return == 0
-end
-
-function tsol_setrhent
-include <libtsnet.h>
-declaration void tsol_setrhent(int stay);
-version SUNWprivate_1.1
-end
-
-function tsol_endrhent
-include <libtsnet.h>
-declaration void tsol_endrhent(void);
-version SUNWprivate_1.1
-end
-
-function str_to_rhstr
-include <libtsnet.h>
-declaration int str_to_rhstr(const char *, int, void *, char *, int);
-version SUNWprivate_1.1
-end
-
-function rhstr_to_ent
-include <libtsnet.h>
-declaration tsol_rhent_t *rhstr_to_ent(tsol_rhstr_t *, int *, char **);
-version SUNWprivate_1.1
-end
-
-function tsol_getrhtype
-include <libtsnet.h>
-declaration tsol_host_type_t tsol_getrhtype(char *);
-version SUNWprivate_1.1
-end
-
-function tsol_sgetzcent
-include <libtsnet.h>
-declaration tsol_zcent_t *tsol_sgetzcent(const char *instr, int *errp, \
- char **errstrp);
-version SUNWprivate_1.1
-exception $return == 0
-end
-
-function tsol_freezcent
-include <libtsnet.h>
-declaration void tsol_freezcent(tsol_zcent_t *);
-version SUNWprivate_1.1
-exception $return == 0
-end
-
-function sl_to_str
-include <libtsnet.h>
-declaration const char *sl_to_str(const bslabel_t *sl);
-version SUNWprivate_1.1
-end
-
-function rtsa_to_str
-include <libtsnet.h>
-declaration const char *rtsa_to_str(const struct rtsa_s *rtsa, \
- char *line, size_t len);
-version SUNWprivate_1.1
-exception $return == 0
-end
-
-function rtsa_keyword
-include <libtsnet.h>
-declaration boolean_t rtsa_keyword(const char *opt, struct rtsa_s *rtsa, \
- int *errp, char **errstr);
-version SUNWprivate_1.1
-exception $return == 0
-end
-
-function tsol_strerror
-include <libtsnet.h>
-declaration const char *tsol_strerror(int libtserr, int errnoval);
-version SUNWprivate_1.1
-end
-
-function tnrhtp
-include <libtsnet.h>
-declaration int tnrhtp(int cmd, tsol_tpent_t *buf);
-version SUNWprivate_1.1
-errno ENOSYS EFAULT EINVAL ENOENT EOPNOTSUPP EPERM
-exception $return == -1
-end
-
-function tnrh
-include <libtsnet.h>
-declaration int tnrh(int cmd, tsol_rhent_t *buf);
-version SUNWprivate_1.1
-errno ENOSYS EFAULT EINVAL ENOENT EOPNOTSUPP EPERM ENOMEM
-exception $return == -1
-end
-
-function tnmlp
-include <libtsnet.h>
-declaration int tnmlp(int cmd, tsol_mlpent_t *buf);
-version SUNWprivate_1.1
-errno ENOSYS EFAULT EINVAL ENOENT EEXIST EOPNOTSUPP EPERM
-exception $return == -1
-end
diff --git a/usr/src/lib/libtsnet/spec/versions b/usr/src/lib/libtsnet/spec/versions
deleted file mode 100644
index 36bb621276..0000000000
--- a/usr/src/lib/libtsnet/spec/versions
+++ /dev/null
@@ -1,41 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libtsnet/spec/versions
-#
-
-sparc {
- SUNWprivate_1.1;
-}
-i386 {
- SUNWprivate_1.1;
-}
-sparcv9 {
- SUNWprivate_1.1;
-}
-amd64 {
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/libtsol/Makefile b/usr/src/lib/libtsol/Makefile
index 2bb6a81725..8e91f2fadb 100644
--- a/usr/src/lib/libtsol/Makefile
+++ b/usr/src/lib/libtsol/Makefile
@@ -22,11 +22,7 @@
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-
-#ident "%Z%%M% %I% %E% SMI"
-
-#
-# lib/libtsol/Makefile
+# ident "%Z%%M% %I% %E% SMI"
#
include ../Makefile.lib
@@ -51,9 +47,7 @@ lint := TARGET = lint
# Override so that label.h gets installed where expected.
ROOTHDRDIR= $(ROOT)/usr/include/tsol
-all clean clobber install: spec .WAIT $(SUBDIRS)
-
-lint: $(SUBDIRS)
+all clean clobber install lint: $(SUBDIRS)
install_h: $(ROOTHDRS)
@@ -64,7 +58,7 @@ $(POFILE): $(MSGFILES)
_msg: $(MSGDOMAINPOFILE)
-$(SUBDIRS) spec: FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
diff --git a/usr/src/lib/libtsol/Makefile.com b/usr/src/lib/libtsol/Makefile.com
index 46959e7662..1f600d0e16 100644
--- a/usr/src/lib/libtsol/Makefile.com
+++ b/usr/src/lib/libtsol/Makefile.com
@@ -22,11 +22,7 @@
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-
-#ident "%Z%%M% %I% %E% SMI"
-
-#
-# lib/libtsol/Makefile.com
+# ident "%Z%%M% %I% %E% SMI"
#
LIBRARY = libtsol.a
@@ -44,16 +40,14 @@ include ../../Makefile.lib
include ../../Makefile.rootfs
LIBS = $(DYNLIB) $(LINTLIB)
-$(LINTLIB):= SRCS = $(SRCDIR)/$(LINTSRC)
LDLIBS += -lsecdb -lc
+SRCDIR = ../common
+$(LINTLIB):= SRCS = $(SRCDIR)/$(LINTSRC)
+
NONCOMMON = $(OBJECTS:blabel.o=)
lint:= SRCS = $(NONCOMMON:%.o=$(SRCDIR)/%.c) $(COMMONDIR)/blabel.c
-SRCDIR = ../common
-MAPDIR = ../spec/$(TRANSMACH)
-SPECMAPFILE = $(MAPDIR)/mapfile
-
COMMONDIR= $(SRC)/common/tsol
CFLAGS += $(CCVERBOSE)
diff --git a/usr/src/lib/libtsol/common/mapfile-vers b/usr/src/lib/libtsol/common/mapfile-vers
new file mode 100644
index 0000000000..e71c377cdf
--- /dev/null
+++ b/usr/src/lib/libtsol/common/mapfile-vers
@@ -0,0 +1,103 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNW_2.1 {
+ global:
+ bldominates;
+ blequal;
+ blstrictdom;
+ fgetlabel;
+ getlabel;
+ getplabel;
+ getuserrange;
+ getzoneidbylabel;
+ getzonelabelbyid;
+ getzonelabelbyname;
+ getzonerootbyid;
+ getzonerootbylabel;
+ getzonerootbyname;
+ label_to_str;
+ m_label_alloc;
+ m_label_dup;
+ m_label_free;
+ setflabel;
+ str_to_label;
+};
+
+SUNWprivate_1.1 {
+ global:
+ bclearcvt;
+ bclearcvtfull;
+ bclearhigh;
+ bclearlow;
+ bcleartoh;
+ bcleartoh_r;
+ bcleartos;
+ bclearundef;
+ bclearvalid;
+ bisinvalid;
+ blabel_alloc;
+ blabel_free;
+ blabel_size;
+ blinrange;
+ blinset;
+ blmaximum;
+ blminimum;
+ bltocolor;
+ bltocolor_r;
+ bltype;
+ bslcvt;
+ bslcvtfull;
+ bslhigh;
+ bsllow;
+ bsltoh;
+ bsltoh_r;
+ bsltos;
+ bslundef;
+ bslvalid;
+ getlabelbypath;
+ getpathbylabel;
+ h_alloc;
+ h_free;
+ htobclear;
+ htobsl;
+ labelfields;
+ labelinfo;
+ labelvers;
+ sbcleartos;
+ sbsltos;
+ setbltype;
+ set_effective_priv;
+ set_inheritable_priv;
+ set_permitted_priv;
+ stobclear;
+ stobsl;
+ userdefs;
+ zonecopy;
+ local:
+ *;
+};
diff --git a/usr/src/lib/libtsol/spec/Makefile.targ b/usr/src/lib/libtsol/spec/Makefile.targ
deleted file mode 100644
index e76d79a49d..0000000000
--- a/usr/src/lib/libtsol/spec/Makefile.targ
+++ /dev/null
@@ -1,33 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-LIBRARY = libtsol.a
-VERS = .2
-OBJECTS = obsolete.o \
- private.o \
- tsol.o
-SPECCPP = -I../../common
diff --git a/usr/src/lib/libtsol/spec/amd64/Makefile b/usr/src/lib/libtsol/spec/amd64/Makefile
deleted file mode 100644
index 03d9b122a2..0000000000
--- a/usr/src/lib/libtsol/spec/amd64/Makefile
+++ /dev/null
@@ -1,33 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-include $(SRC)/lib/Makefile.spec
diff --git a/usr/src/lib/libtsol/spec/i386/Makefile b/usr/src/lib/libtsol/spec/i386/Makefile
deleted file mode 100644
index 7aab1a07a8..0000000000
--- a/usr/src/lib/libtsol/spec/i386/Makefile
+++ /dev/null
@@ -1,32 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
diff --git a/usr/src/lib/libtsol/spec/obsolete.spec b/usr/src/lib/libtsol/spec/obsolete.spec
deleted file mode 100644
index ccebc2f8b9..0000000000
--- a/usr/src/lib/libtsol/spec/obsolete.spec
+++ /dev/null
@@ -1,122 +0,0 @@
-#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# Obsolete interfaces to be removed from a future release.
-# Retained to aid 3rd party initial porting from TS8.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-function bcleartoh_r
-include <tsol/label.h>
-declaration char *bcleartoh_r(const bclear_t *clearance, char *hex);
-version SUNWprivate_1.1
-end
-
-function bcleartoh
-include <tsol/label.h>
-declaration char *bcleartoh(const bclear_t *clearance);
-version SUNWprivate_1.1
-end
-
-function bltocolor
-include <tsol/label.h>
-declaration char *bltocolor(const blevel_t *label);
-version SUNWprivate_1.1
-end
-
-function bltocolor_r
-include <tsol/label.h>
-declaration char *bltocolor_r(const blevel_t *label, int size, \
- char *color_name);
-version SUNWprivate_1.1
-end
-
-function bsltoh
-include <tsol/label.h>
-declaration char *bsltoh(const bslabel_t *label);
-version SUNWprivate_1.1
-end
-
-function bsltoh_r
-include <tsol/label.h>
-declaration char *bsltoh_r(const bslabel_t *label, char *hex);
-version SUNWprivate_1.1
-end
-
-function bsltos
-include <tsol/label.h>
-declaration ssize_t bsltos(const bslabel_t *label, char **string, \
- size_t str_len, int flags);
-version SUNWprivate_1.1
-end
-
-function h_alloc
-include <tsol/label.h>
-declaration char *h_alloc(unsigned char id);
-version SUNWprivate_1.1
-end
-
-function h_free
-include <tsol/label.h>
-declaration void h_free(char *hex);
-version SUNWprivate_1.1
-end
-
-function htobclear
-include <tsol/label.h>
-declaration int htobclear(const char *s, bclear_t *clearance);
-version SUNWprivate_1.1
-end
-
-function htobsl
-include <tsol/label.h>
-declaration int htobsl(const char *s, bslabel_t *label);
-version SUNWprivate_1.1
-end
-
-function sbcleartos
-include <tsol/label.h>
-declaration char *sbcleartos(const bclear_t *clearance, int len);
-version SUNWprivate_1.1
-end
-
-function sbsltos
-include <tsol/label.h>
-declaration char *sbsltos(const bslabel_t *label, int len);
-version SUNWprivate_1.1
-end
-
-function stobclear
-include <tsol/label.h>
-declaration int stobclear(const char *string, bclear_t *clearance, \
- int flags, int *error);
-version SUNWprivate_1.1
-end
-
-function stobsl
-include <tsol/label.h>
-declaration int stobsl(const char *string, bslabel_t *label, int flags, \
- int *error);
-version SUNWprivate_1.1
-end
diff --git a/usr/src/lib/libtsol/spec/private.spec b/usr/src/lib/libtsol/spec/private.spec
deleted file mode 100644
index c5e66ea7b6..0000000000
--- a/usr/src/lib/libtsol/spec/private.spec
+++ /dev/null
@@ -1,239 +0,0 @@
-#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# Project Private to the Trusted eXtensions project.
-# Not for public consumption or to be documented.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-function bclearhigh
-include <tsol/label.h>
-declaration void bclearhigh(bclear_t *clearance);
-version SUNWprivate_1.1
-end
-
-function bclearlow
-include <tsol/label.h>
-declaration void bclearlow(bclear_t *clearance);
-version SUNWprivate_1.1
-end
-
-function bcleartos
-include <tsol/label.h>
-declaration ssize_t bcleartos(const bclear_t *clearance, char **string, \
- size_t str_len, int flags);
-version SUNWprivate_1.1
-end
-
-function bclearundef
-include <tsol/label.h>
-declaration void bclearundef(bclear_t *clearance);
-version SUNWprivate_1.1
-end
-
-function bclearvalid
-include <tsol/label.h>
-declaration int bclearvalid(const bclear_t *clearance);
-version SUNWprivate_1.1
-end
-
-function bclearcvtfull
-include <tsol/label.h>
-declaration int bclearcvtfull(const bclear_t *clearance, \
- const blrange_t *bounds, int flags, char **string, \
- char **long_words[], char **short_words[], \
- char *display[], int *first_compartment, \
- int *display_size);
-version SUNWprivate_1.1
-end
-
-function bclearcvt
-include <tsol/label.h>
-declaration int bclearcvt(const bclear_t *clearance, int flags, \
- char **string, char *display[]);
-version SUNWprivate_1.1
-end
-
-function blinrange
-include <tsol/label.h>
-declaration int blinrange(const blevel_t *label, const blrange_t *range);
-version SUNWprivate_1.1
-end
-
-function blinset
-include <tsol/label.h>
-declaration int blinset(const bslabel_t *label, const set_id *id);
-version SUNWprivate_1.1
-end
-
-function blmaximum
-include <tsol/label.h>
-declaration void blmaximum(blevel_t *label1, const blevel_t *label2);
-version SUNWprivate_1.1
-end
-
-function blminimum
-include <tsol/label.h>
-declaration void blminimum(blevel_t *label1, const blevel_t *label2);
-version SUNWprivate_1.1
-end
-
-function bltype
-include <tsol/label.h>
-declaration int bltype(const void *label, uint8_t type);
-version SUNWprivate_1.1
-end
-
-function bslcvtfull
-include <tsol/label.h>
-declaration int bslcvtfull(const bslabel_t *label,
- const blrange_t *bounds, \
- int flags, char **string, char **long_words[], \
- char **short_words[], char *display[], \
- int *first_compartment, int *display_size);
-version SUNWprivate_1.1
-end
-
-function bslcvt
-include <tsol/label.h>
-declaration int bslcvt(const bslabel_t *label, int flags, char **string, \
- char *display[]);
-version SUNWprivate_1.1
-end
-
-function bslhigh
-include <tsol/label.h>
-declaration void bslhigh(bslabel_t *label);
-version SUNWprivate_1.1
-end
-
-function bsllow
-include <tsol/label.h>
-declaration void bsllow(bslabel_t *label);
-version SUNWprivate_1.1
-end
-
-function bslundef
-include <tsol/label.h>
-declaration void bslundef(bslabel_t *label);
-version SUNWprivate_1.1
-end
-
-function bslvalid
-include <tsol/label.h>
-declaration int bslvalid(const bslabel_t *label);
-version SUNWprivate_1.1
-end
-
-function labelinfo
-include <tsol/label.h>
-declaration int labelinfo(struct label_info *info);
-version SUNWprivate_1.1
-end
-
-function labelfields
-include <tsol/label.h>
-declaration int labelfields(struct name_fields *fields);
-version SUNWprivate_1.1
-end
-
-function labelvers
-include <tsol/label.h>
-declaration ssize_t labelvers(char **version, int len);
-version SUNWprivate_1.1
-end
-
-function getpathbylabel
-include <tsol/label.h>
-declaration char *getpathbylabel(const char *path_name, \
- char *resolved_path, size_t bufsize, const bslabel_t *sl);
-version SUNWprivate_1.1
-end
-
-function getlabelbypath
-include <tsol/label.h>
-declaration m_label_t *getlabelbypath(char *path);
-version SUNWprivate_1.1
-end
-
-function blabel_alloc
-include <tsol/label.h>
-declaration blevel_t *blabel_alloc(void);
-version SUNWprivate_1.1
-end
-
-function blabel_free
-include <tsol/label.h>
-declaration void blabel_free(blevel_t *label_p);
-version SUNWprivate_1.1
-end
-
-function blabel_size
-include <tsol/label.h>
-declaration size_t blabel_size(void);
-version SUNWprivate_1.1
-end
-
-function setbltype
-include <tsol/label.h>
-declaration void setbltype(void *label, uint8_t type);
-version SUNWprivate_1.1
-end
-
-function bisinvalid
-include <tsol/label.h>
-declaration boolean_t bisinvalid(const void *label);
-version SUNWprivate_1.1
-end
-
-function set_effective_priv
-include <tsol/label.h>
-declaration int set_effective_priv(priv_op_t op, int num_priv, ...);
-version SUNWprivate_1.1
-end
-
-function set_inheritable_priv
-include <tsol/label.h>
-declaration int set_inheritable_priv(priv_op_t op, int num_priv, ...);
-version SUNWprivate_1.1
-end
-
-function set_permitted_priv
-include <tsol/label.h>
-declaration int set_permitted_priv(priv_op_t op, int num_priv, ...);
-version SUNWprivate_1.1
-end
-
-function userdefs
-include <tsol/label.h>
-declaration int userdefs(bslabel_t *sl, bclear_t *clear);
-version SUNWprivate_1.1
-end
-
-function zonecopy
-include <tsol/label.h>
-declaration int zonecopy(bslabel_t *src_win_sl, char *remote_dir, \
- char *filename, char *local_dir, int transfer_mode);
-version SUNWprivate_1.1
-end
diff --git a/usr/src/lib/libtsol/spec/sparc/Makefile b/usr/src/lib/libtsol/spec/sparc/Makefile
deleted file mode 100644
index 7aab1a07a8..0000000000
--- a/usr/src/lib/libtsol/spec/sparc/Makefile
+++ /dev/null
@@ -1,32 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
diff --git a/usr/src/lib/libtsol/spec/sparcv9/Makefile b/usr/src/lib/libtsol/spec/sparcv9/Makefile
deleted file mode 100644
index 03d9b122a2..0000000000
--- a/usr/src/lib/libtsol/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,33 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-include $(SRC)/lib/Makefile.spec
diff --git a/usr/src/lib/libtsol/spec/tsol.spec b/usr/src/lib/libtsol/spec/tsol.spec
deleted file mode 100644
index 089f5eb2ec..0000000000
--- a/usr/src/lib/libtsol/spec/tsol.spec
+++ /dev/null
@@ -1,143 +0,0 @@
-#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-
-function label_to_str
-include <tsol/label.h>
-declaration int label_to_str(const m_label_t *label, char **string, \
- const m_label_str_t conversion_type, uint_t flags);
-version SUNW_2.1
-end
-
-function m_label_alloc
-include <tsol/label.h>
-declaration m_label_t m_label_dup(const m_label_type_t *type);
-version SUNW_2.1
-end
-
-function m_label_dup
-include <tsol/label.h>
-declaration int m_label_dup(m_label_t **dst, const m_label_t *src);
-version SUNW_2.1
-end
-
-function m_label_free
-include <tsol/label.h>
-declaration void m_label_free(m_label_t *label);
-version SUNW_2.1
-end
-
-function str_to_label
-include <tsol/label.h>
-declaration int str_to_label(const char *str, m_label_t **label, \
- const m_label_type_t type, unit_t flags, int *error);
-version SUNW_2.1
-end
-
-function bldominates
-include <tsol/label.h>
-declaration int bldominates(const m_label_t *label1, \
- const m_label_t *label2);
-version SUNW_2.1
-end
-
-function blequal
-include <tsol/label.h>
-declaration int blequal(const m_label_t *label1, const m_label_t *label2);
-version SUNW_2.1
-end
-
-function blstrictdom
-include <tsol/label.h>
-declaration int blstrictdom(const m_label_t *label1, \
- const m_label_t *label2);
-version SUNW_2.1
-end
-
-function getlabel
-include <tsol/label.h>
-declaration int getlabel(const char *path, m_label_t *label);
-version SUNW_2.1
-end
-
-function fgetlabel
-include <tsol/label.h>
-declaration int fgetlabel(int fd, m_label_t *label);
-version SUNW_2.1
-end
-
-function getplabel
-include <tsol/label.h>
-declaration int getplabel(m_label_t *label_p);
-version SUNW_2.1
-end
-
-function getzoneidbylabel
-include <tsol/label.h>
-declaration zoneid_t getzoneidbylabel(const m_label_t *label);
-version SUNW_2.1
-end
-
-function getzonelabelbyid
-include <tsol/label.h>
-declaration m_label_t *getzonelabelbyid(zoneid_t zoneid);
-version SUNW_2.1
-end
-
-function getzonelabelbyname
-include <tsol/label.h>
-declaration m_label_t *getzonelabelbyname(char *zone);
-version SUNW_2.1
-end
-
-function getzonerootbyid
-include <tsol/label.h>
-declaration char *getzonerootbyid(zoneid_t zoneid);
-version SUNW_2.1
-end
-
-function getzonerootbylabel
-include <tsol/label.h>
-declaration char *getzonerootbylabel(m_label_t *label);
-version SUNW_2.1
-end
-
-function getzonerootbyname
-include <tsol/label.h>
-declaration char *getzonerootbyname(char *zone);
-version SUNW_2.1
-end
-
-function setflabel
-include <tsol/label.h>
-declaration int setflabel(const char *path, m_label_t *label);
-version SUNW_2.1
-end
-
-function getuserrange
-include <tsol/label.h>
-declaration m_range_t *getuserrange(const char *username);
-version SUNW_2.1
-end
diff --git a/usr/src/lib/libumem/Makefile b/usr/src/lib/libumem/Makefile
index 6e47bc6076..ed59c686ef 100644
--- a/usr/src/lib/libumem/Makefile
+++ b/usr/src/lib/libumem/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,12 +19,10 @@
# CDDL HEADER END
#
#
-# Copyright 2000-2002 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# lib/libumem/Makefile
-#
-#ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
include ../Makefile.lib
@@ -43,15 +40,13 @@ lint := TARGET= lint
.KEEP_STATE:
-all clean clobber install: spec .WAIT $(SUBDIRS)
-
-lint: $(SUBDIRS)
+all clean clobber install lint: $(SUBDIRS)
install_h: $(ROOTHDRS)
check: $(CHECKHDRS)
-$(SUBDIRS) spec: FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
diff --git a/usr/src/lib/libumem/Makefile.com b/usr/src/lib/libumem/Makefile.com
index cb0f64bf21..b22a8cea14 100644
--- a/usr/src/lib/libumem/Makefile.com
+++ b/usr/src/lib/libumem/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,7 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
@@ -116,13 +115,10 @@ LIBS = $(LIBS_$(CURTYPE))
MAPFILE_SUPPLEMENTAL_standalone = ../common/stand_mapfile
MAPFILE_SUPPLEMENTAL = $(MAPFILE_SUPPLEMENTAL_$(CURTYPE))
-MAPDIR = ../spec/$(TRANSMACH)
-SPECMAPFILE = $(MAPDIR)/mapfile
-
LDLIBS += -lc
-LDFLAGS_standalone = -znoversion -Breduce -M $(SPECMAPFILE) \
- -M $(MAPFILE_SUPPLEMENTAL) -dy -r
+LDFLAGS_standalone = -znoversion -Breduce -M../common/mapfile-vers \
+ -M$(MAPFILE_SUPPLEMENTAL) -dy -r
LDFLAGS = $(LDFLAGS_$(CURTYPE))
ASFLAGS_standalone = -DUMEM_STANDALONE
diff --git a/usr/src/lib/libumem/Makefile.targ b/usr/src/lib/libumem/Makefile.targ
index 8b47694ea2..380d00ad0e 100644
--- a/usr/src/lib/libumem/Makefile.targ
+++ b/usr/src/lib/libumem/Makefile.targ
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,10 +19,10 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
#
@@ -56,11 +55,6 @@ $(STANDLIBRARY): $(OBJS) $(LINKTEST_OBJ)
rm $@.linktest
$(LD) $(LDFLAGS) -o $@ $(OBJS)
-$(DYNLIB): $(MAPFILE)
-
-$(MAPFILE):
- @cd $(MAPDIR); $(MAKE) mapfile
-
clobber: $(TYPES:%=clobber.%)
$(TYPES:%=clobber.%):
diff --git a/usr/src/lib/libumem/common/mapfile-vers b/usr/src/lib/libumem/common/mapfile-vers
new file mode 100644
index 0000000000..e6e209a790
--- /dev/null
+++ b/usr/src/lib/libumem/common/mapfile-vers
@@ -0,0 +1,64 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNW_1.1 {
+ global:
+ calloc = NODIRECT;
+ free = NODIRECT;
+ malloc = NODIRECT;
+ memalign = NODIRECT;
+ realloc = NODIRECT;
+ umem_alloc;
+ umem_cache_alloc;
+ umem_cache_create;
+ umem_cache_destroy;
+ umem_cache_free;
+ umem_free;
+ umem_nofail_callback;
+ umem_zalloc;
+ valloc = NODIRECT;
+};
+
+SUNWprivate_1.1 {
+ global:
+ umem_alloc_align;
+ umem_free_align;
+ umem_reap;
+ vmem_add;
+ vmem_alloc;
+ vmem_contains;
+ vmem_create;
+ vmem_destroy;
+ vmem_free;
+ vmem_heap_arena;
+ vmem_size;
+ vmem_walk;
+ vmem_xalloc;
+ vmem_xfree;
+ local:
+ *;
+};
diff --git a/usr/src/lib/libumem/spec/Makefile b/usr/src/lib/libumem/spec/Makefile
deleted file mode 100644
index 6bbf3f9ad1..0000000000
--- a/usr/src/lib/libumem/spec/Makefile
+++ /dev/null
@@ -1,31 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2002 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libumem/spec/Makefile
-#
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/libumem/spec/Makefile.targ b/usr/src/lib/libumem/spec/Makefile.targ
deleted file mode 100644
index 45191e4bd3..0000000000
--- a/usr/src/lib/libumem/spec/Makefile.targ
+++ /dev/null
@@ -1,34 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2002 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libumem/spec/Makefile.targ
-#
-
-LIBRARY= libumem.a
-VERS= .1
-
-OBJECTS= libumem.o
diff --git a/usr/src/lib/libumem/spec/amd64/Makefile b/usr/src/lib/libumem/spec/amd64/Makefile
deleted file mode 100644
index 91f01ca104..0000000000
--- a/usr/src/lib/libumem/spec/amd64/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libumem/spec/i386/Makefile b/usr/src/lib/libumem/spec/i386/Makefile
deleted file mode 100644
index b3492827d2..0000000000
--- a/usr/src/lib/libumem/spec/i386/Makefile
+++ /dev/null
@@ -1,37 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2002 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libumem/spec/i386/Makefile
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libumem/spec/libumem.spec b/usr/src/lib/libumem/spec/libumem.spec
deleted file mode 100644
index 1ff510c9d0..0000000000
--- a/usr/src/lib/libumem/spec/libumem.spec
+++ /dev/null
@@ -1,172 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-#malloc interface
-function malloc extends libc/spec/gen.spec malloc
-version SUNW_1.1
-binding nodirect
-end
-
-function calloc extends libc/spec/gen.spec calloc
-version SUNW_1.1
-binding nodirect
-end
-
-function memalign extends libc/spec/gen.spec memalign
-version SUNW_1.1
-binding nodirect
-end
-
-function valloc extends libc/spec/gen.spec valloc
-version SUNW_1.1
-binding nodirect
-end
-
-function free extends libc/spec/gen.spec free
-version SUNW_1.1
-binding nodirect
-end
-
-function realloc extends libc/spec/gen.spec realloc
-version SUNW_1.1
-binding nodirect
-end
-
-#umem_alloc interface
-function umem_alloc
-include <umem.h>
-declaration void *umem_alloc(size_t size, int flags);
-version SUNW_1.1
-end
-
-function umem_alloc_align
-include <umem.h>
-declaration void *umem_alloc_align(size_t size, size_t align, int flags);
-version SUNWprivate_1.1
-end
-
-function umem_zalloc
-include <umem.h>
-declaration void *umem_zalloc(size_t size, int flags);
-version SUNW_1.1
-end
-
-function umem_free
-include <umem.h>
-declaration void umem_free(void *buf, size_t size);
-version SUNW_1.1
-end
-
-function umem_free_align
-include <umem.h>
-declaration void umem_free_align(void *buf, size_t size);
-version SUNWprivate_1.1
-end
-
-#Cache manipulation and allocation
-function umem_cache_create
-include <umem.h>
-declaration umem_cache_t *umem_cache_create(char *debug_name, size_t bufsize, size_t align, umem_constructor_t *constructor, umem_destructor_t *destructor, umem_reclaim_t *reclaim, void *callback_data, vmem_t *source, int cflags);
-version SUNW_1.1
-errno ENOMEM EAGAIN EINVAL
-exception $return == 0
-end
-
-function umem_cache_destroy
-include <umem.h>
-declaration void umem_cache_destroy(umem_cache_t *cache);
-version SUNW_1.1
-end
-
-function umem_cache_alloc
-include <umem.h>
-declaration void *umem_cache_alloc(umem_cache_t *cache, int flags);
-version SUNW_1.1
-end
-
-function umem_cache_free
-include <umem.h>
-declaration void umem_cache_free(umem_cache_t *cache, void *buffer);
-version SUNW_1.1
-end
-
-#misc
-function umem_nofail_callback
-include <umem.h>
-declaration void umem_nofail_callback(umem_nofail_callback_t *callback);
-version SUNW_1.1
-end
-
-#misc -- private
-function umem_reap
-version SUNWprivate_1.1
-end
-
-#vmem interface
-function vmem_create
-version SUNWprivate_1.1
-end
-
-function vmem_destroy
-version SUNWprivate_1.1
-end
-
-function vmem_alloc
-version SUNWprivate_1.1
-end
-
-function vmem_xalloc
-version SUNWprivate_1.1
-end
-
-function vmem_free
-version SUNWprivate_1.1
-end
-
-function vmem_xfree
-version SUNWprivate_1.1
-end
-
-function vmem_add
-version SUNWprivate_1.1
-end
-
-function vmem_contains
-version SUNWprivate_1.1
-end
-
-function vmem_walk
-version SUNWprivate_1.1
-end
-
-function vmem_size
-version SUNWprivate_1.1
-end
-
-function vmem_heap_arena
-version SUNWprivate_1.1
-end
diff --git a/usr/src/lib/libumem/spec/sparc/Makefile b/usr/src/lib/libumem/spec/sparc/Makefile
deleted file mode 100644
index f55cc3ef54..0000000000
--- a/usr/src/lib/libumem/spec/sparc/Makefile
+++ /dev/null
@@ -1,37 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2002 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libumem/spec/sparc/Makefile
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libumem/spec/sparcv9/Makefile b/usr/src/lib/libumem/spec/sparcv9/Makefile
deleted file mode 100644
index d230ddb563..0000000000
--- a/usr/src/lib/libumem/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,38 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2002 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libumem/spec/sparcv9/Makefile
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libumem/spec/versions b/usr/src/lib/libumem/spec/versions
deleted file mode 100644
index 38a2cfc77a..0000000000
--- a/usr/src/lib/libumem/spec/versions
+++ /dev/null
@@ -1,43 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-sparc {
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-sparcv9 {
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-i386 {
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-amd64 {
- SUNW_1.1;
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/libuuid/Makefile b/usr/src/lib/libuuid/Makefile
index 2eeead5cca..933be73e70 100644
--- a/usr/src/lib/libuuid/Makefile
+++ b/usr/src/lib/libuuid/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,16 +19,16 @@
# CDDL HEADER END
#
#
-# Copyright 2002 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#pragma ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libuuid/Makefile
include ../Makefile.lib
-SUBDIRS= spec .WAIT $(MACH) $(BUILD64) $(MACH64)
+SUBDIRS = $(MACH)
+$(BUILD64)SUBDIRS += $(MACH64)
all := TARGET= all
clean := TARGET= clean
@@ -41,7 +40,7 @@ lint := TARGET= lint
all install clean clobber lint: $(SUBDIRS)
-$(MACH) $(MACH64) spec: FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
diff --git a/usr/src/lib/libuuid/Makefile.com b/usr/src/lib/libuuid/Makefile.com
index fdd1c7bc57..7329255870 100644
--- a/usr/src/lib/libuuid/Makefile.com
+++ b/usr/src/lib/libuuid/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,7 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
@@ -37,11 +36,9 @@ include ../../Makefile.rootfs
LIBS = $(DYNLIB) $(LINTLIB)
LDLIBS += -lsocket -lnsl -lc
-$(LINTLIB):= SRCS = $(SRCDIR)/$(LINTSRC)
SRCDIR = ../common
-MAPDIR = ../spec/$(TRANSMACH)
-SPECMAPFILE = $(MAPDIR)/mapfile
+$(LINTLIB):= SRCS = $(SRCDIR)/$(LINTSRC)
CFLAGS += $(CCVERBOSE)
diff --git a/usr/src/lib/libtsol/spec/versions b/usr/src/lib/libuuid/common/mapfile-vers
index 40f1cccb72..59a11dbe73 100644
--- a/usr/src/lib/libtsol/spec/versions
+++ b/usr/src/lib/libuuid/common/mapfile-vers
@@ -24,22 +24,24 @@
#
# ident "%Z%%M% %I% %E% SMI"
#
-# vers file for libtsol
-#
-sparc {
- SUNW_2.1;
- SUNWprivate_1.1;
-}
-i386 {
- SUNW_2.1;
- SUNWprivate_1.1;
-}
-sparcv9 {
- SUNW_2.1;
- SUNWprivate_1.1;
-}
-amd64 {
- SUNW_2.1;
+SUNW_1.1 {
+ global:
+ uuid_clear;
+ uuid_compare;
+ uuid_copy;
+ uuid_generate;
+ uuid_generate_random;
+ uuid_generate_time;
+ uuid_is_null;
+ uuid_parse;
+ uuid_time;
+ uuid_unparse;
+};
+
+SUNWprivate_1.1 {
+ global:
SUNWprivate_1.1;
-}
+ local:
+ *;
+};
diff --git a/usr/src/lib/libuuid/spec/Makefile b/usr/src/lib/libuuid/spec/Makefile
deleted file mode 100644
index f144a481db..0000000000
--- a/usr/src/lib/libuuid/spec/Makefile
+++ /dev/null
@@ -1,30 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2002 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libuuid/spec/Makefile
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/libuuid/spec/Makefile.targ b/usr/src/lib/libuuid/spec/Makefile.targ
deleted file mode 100644
index 2f8fea834e..0000000000
--- a/usr/src/lib/libuuid/spec/Makefile.targ
+++ /dev/null
@@ -1,33 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright 2002 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# lib/libuuid/spec/Makefile.targ
-
-LIBRARY = libuuid.a
-VERS = .1
-
-OBJECTS = uuid.o
-
diff --git a/usr/src/lib/libuuid/spec/amd64/Makefile b/usr/src/lib/libuuid/spec/amd64/Makefile
deleted file mode 100644
index d334868181..0000000000
--- a/usr/src/lib/libuuid/spec/amd64/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#amd64_C_PICFLAGS = $(amd64_C_BIGPICFLAGS)
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libuuid/spec/i386/Makefile b/usr/src/lib/libuuid/spec/i386/Makefile
deleted file mode 100644
index 179c815f8f..0000000000
--- a/usr/src/lib/libuuid/spec/i386/Makefile
+++ /dev/null
@@ -1,45 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2002 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libuuid/spec/i386/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#i386_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libuuid/spec/sparc/Makefile b/usr/src/lib/libuuid/spec/sparc/Makefile
deleted file mode 100644
index fbd86f3471..0000000000
--- a/usr/src/lib/libuuid/spec/sparc/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2002 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libuuid/spec/sparc/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#sparc_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libuuid/spec/sparcv9/Makefile b/usr/src/lib/libuuid/spec/sparcv9/Makefile
deleted file mode 100644
index 63623eaf9b..0000000000
--- a/usr/src/lib/libuuid/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,46 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2002 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libuuid/spec/sparcv9/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-sparcv9_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libuuid/spec/uuid.spec b/usr/src/lib/libuuid/spec/uuid.spec
deleted file mode 100644
index 501dcdcecf..0000000000
--- a/usr/src/lib/libuuid/spec/uuid.spec
+++ /dev/null
@@ -1,88 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libuuid/spec/uuid.spec
-
-# UUID generation
-function uuid_generate
-include <uuid/uuid.h>
-declaration void uuid_generate(uuid_t)
-version SUNW_1.1
-end
-
-function uuid_generate_random
-include <uuid/uuid.h>
-declaration void uuid_generate_random(uuid_t)
-version SUNW_1.1
-end
-
-function uuid_generate_time
-include <uuid/uuid.h>
-declaration void uuid_generate_time(uuid_t)
-version SUNW_1.1
-end
-
-function uuid_copy
-include <uuid/uuid.h>
-declaration void uuid_copy(uuid_t, uuid_t)
-version SUNW_1.1
-end
-
-function uuid_clear
-include <uuid/uuid.h>
-declaration void uuid_clear(uuid_t)
-version SUNW_1.1
-end
-
-function uuid_unparse
-include <uuid/uuid.h>
-declaration void uuid_unparse(uuid_t, char *)
-version SUNW_1.1
-end
-
-function uuid_compare
-include <uuid/uuid.h>
-declaration int uuid_compare(uuid_t, uuid_t)
-version SUNW_1.1
-end
-
-function uuid_is_null
-include <uuid/uuid.h>
-declaration int uuid_is_null(uuid_t)
-version SUNW_1.1
-end
-
-function uuid_parse
-include <uuid/uuid.h>
-declaration int uuid_parse(char *, uuid_t)
-version SUNW_1.1
-end
-
-function uuid_time
-include <uuid/uuid.h>
-declaration time_t uuid_time(uuid_t, struct timeval *)
-version SUNW_1.1
-end
diff --git a/usr/src/lib/libuuid/spec/versions b/usr/src/lib/libuuid/spec/versions
deleted file mode 100644
index 1b96e716d5..0000000000
--- a/usr/src/lib/libuuid/spec/versions
+++ /dev/null
@@ -1,48 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# SUNWprivate_1.1: Project private PSARC 2002/094
-#
-
-sparc {
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-
-sparcv9 {
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-
-i386 {
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-
-amd64 {
- SUNW_1.1;
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/libuutil/Makefile b/usr/src/lib/libuutil/Makefile
index ddde73d1e6..9f9e3c2f06 100644
--- a/usr/src/lib/libuutil/Makefile
+++ b/usr/src/lib/libuutil/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,10 +19,10 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
#
@@ -38,6 +37,7 @@ HDRS = \
libuutil_impl.h
HDRDIR = common
+
SUBDIRS = $(MACH)
$(BUILD64)SUBDIRS += $(MACH64)
@@ -55,19 +55,19 @@ POFILE = libuutil.po
.KEEP_STATE:
-all clean clobber install: spec .WAIT native $(SUBDIRS)
-
-$(POFILE): pofile_MSGFILES
+all clean clobber install: native $(SUBDIRS)
lint: $(SUBDIRS)
+$(POFILE): pofile_MSGFILES
+
install_h: $(ROOTHDRS)
check: $(CHECKHDRS)
_msg: $(MSGDOMAINPOFILE)
-$(SUBDIRS) native spec: FRC
+naive $(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
diff --git a/usr/src/lib/libuutil/Makefile.com b/usr/src/lib/libuutil/Makefile.com
index 031fbcc897..288f0f366c 100644
--- a/usr/src/lib/libuutil/Makefile.com
+++ b/usr/src/lib/libuutil/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -26,7 +25,6 @@
# ident "%Z%%M% %I% %E% SMI"
#
-
LIBRARY = libuutil.a
VERS = .1
@@ -65,15 +63,13 @@ SRCS = \
LINTS = $(OBJECTS:%.o=%.ln)
+SRCDIR = ../common
$(LINTLIB):= SRCS = $(SRCDIR)/$(LINTSRC)
LDLIBS += -lc
-SRCDIR = ../common
AVLDIR = ../../../common/avl
-MAPDIR = ../spec/$(TRANSMACH)
-SPECMAPFILE = $(MAPDIR)/mapfile
-CFLAGS += -v
+CFLAGS += $(CCVERBOSE)
CPPFLAGS += -I$(SRCDIR) -I../../common/inc
LINTFLAGS += -erroff=E_GLOBAL_COULD_BE_STATIC2
LINTFLAGS64 += -erroff=E_GLOBAL_COULD_BE_STATIC2
diff --git a/usr/src/lib/libuutil/common/mapfile-vers b/usr/src/lib/libuutil/common/mapfile-vers
new file mode 100644
index 0000000000..9794b33328
--- /dev/null
+++ b/usr/src/lib/libuutil/common/mapfile-vers
@@ -0,0 +1,101 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNWprivate_1.1 {
+ global:
+ uu_alt_exit;
+ uu_avl_create;
+ uu_avl_destroy;
+ uu_avl_find;
+ uu_avl_first;
+ uu_avl_insert;
+ uu_avl_last;
+ uu_avl_nearest_next;
+ uu_avl_nearest_prev;
+ uu_avl_next;
+ uu_avl_node_fini;
+ uu_avl_node_init;
+ uu_avl_numnodes;
+ uu_avl_pool_create;
+ uu_avl_pool_destroy;
+ uu_avl_prev;
+ uu_avl_remove;
+ uu_avl_teardown;
+ uu_avl_walk;
+ uu_avl_walk_end;
+ uu_avl_walk_next;
+ uu_avl_walk_start;
+ uu_check_name;
+ uu_die;
+ uu_dprintf;
+ uu_dprintf_create;
+ uu_dprintf_destroy;
+ uu_dprintf_getname;
+ uu_error;
+ uu_exit_fatal;
+ uu_exit_ok;
+ uu_exit_usage;
+ uu_free;
+ uu_getpname;
+ uu_list_create;
+ uu_list_destroy;
+ uu_list_find;
+ uu_list_first;
+ uu_list_insert;
+ uu_list_insert_after;
+ uu_list_insert_before;
+ uu_list_last;
+ uu_list_nearest_next;
+ uu_list_nearest_prev;
+ uu_list_next;
+ uu_list_node_fini;
+ uu_list_node_init;
+ uu_list_numnodes;
+ uu_list_pool_create;
+ uu_list_pool_destroy;
+ uu_list_prev;
+ uu_list_remove;
+ uu_list_teardown;
+ uu_list_walk;
+ uu_list_walk_end;
+ uu_list_walk_next;
+ uu_list_walk_start;
+ uu_msprintf;
+ uu_open_tmp;
+ uu_setpname;
+ uu_strerror;
+ uu_strtoint;
+ uu_strtouint;
+ uu_vdie;
+ uu_vwarn;
+ uu_vxdie;
+ uu_warn;
+ uu_xdie;
+ uu_zalloc;
+ local:
+ *;
+};
diff --git a/usr/src/lib/libuutil/spec/Makefile b/usr/src/lib/libuutil/spec/Makefile
deleted file mode 100644
index 8a87e16694..0000000000
--- a/usr/src/lib/libuutil/spec/Makefile
+++ /dev/null
@@ -1,29 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/libuutil/spec/Makefile.targ b/usr/src/lib/libuutil/spec/Makefile.targ
deleted file mode 100644
index c8bc4e2f8c..0000000000
--- a/usr/src/lib/libuutil/spec/Makefile.targ
+++ /dev/null
@@ -1,35 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-LIBRARY = libuutil.a
-VERS = .1
-
-OBJECTS = \
- updt.o \
- uutil.o
-
-SPECCPP = -I../..
diff --git a/usr/src/lib/libuutil/spec/amd64/Makefile b/usr/src/lib/libuutil/spec/amd64/Makefile
deleted file mode 100644
index c6ccbab315..0000000000
--- a/usr/src/lib/libuutil/spec/amd64/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#i386_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libuutil/spec/i386/Makefile b/usr/src/lib/libuutil/spec/i386/Makefile
deleted file mode 100644
index 226ee80bd4..0000000000
--- a/usr/src/lib/libuutil/spec/i386/Makefile
+++ /dev/null
@@ -1,43 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#i386_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libuutil/spec/sparc/Makefile b/usr/src/lib/libuutil/spec/sparc/Makefile
deleted file mode 100644
index 3bd5b4de45..0000000000
--- a/usr/src/lib/libuutil/spec/sparc/Makefile
+++ /dev/null
@@ -1,43 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#sparc_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libuutil/spec/sparcv9/Makefile b/usr/src/lib/libuutil/spec/sparcv9/Makefile
deleted file mode 100644
index dbd9af7ad5..0000000000
--- a/usr/src/lib/libuutil/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#sparcv9_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libuutil/spec/updt.spec b/usr/src/lib/libuutil/spec/updt.spec
deleted file mode 100644
index 1a220c8806..0000000000
--- a/usr/src/lib/libuutil/spec/updt.spec
+++ /dev/null
@@ -1,304 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-
-#
-# list functions
-#
-
-function uu_list_pool_create
-include <libuutil.h>
-declaration uu_list_pool_t *uu_list_pool_create(const char *, \
- size_t, size_t, uu_compare_fn_t, uint32_t);
-version SUNWprivate_1.1
-end
-
-function uu_list_pool_destroy
-include <libuutil.h>
-declaration void uu_list_pool_destroy(uu_list_pool_t *);
-version SUNWprivate_1.1
-end
-
-function uu_list_node_init
-include <libuutil.h>
-declaration void uu_list_node_init(void *, uu_list_node_t *, \
- uu_list_pool_t *);
-version SUNWprivate_1.1
-end
-
-function uu_list_node_fini
-include <libuutil.h>
-declaration void uu_list_node_fini(void *, uu_list_node_t *, \
- uu_list_pool_t *);
-version SUNWprivate_1.1
-end
-
-function uu_list_create
-include <libuutil.h>
-declaration uu_list_t *uu_list_create(uu_list_pool_t *, void *, uint32_t);
-version SUNWprivate_1.1
-end
-
-function uu_list_destroy
-include <libuutil.h>
-declaration void uu_list_destroy(uu_list_t *);
-version SUNWprivate_1.1
-end
-
-function uu_list_insert
-include <libuutil.h>
-declaration void uu_list_insert(uu_list_t *, void *, uu_list_index_t);
-version SUNWprivate_1.1
-end
-
-function uu_list_find
-include <libuutil.h>
-declaration void *uu_list_find(uu_list_t *, void *, \
- void *, uu_list_index_t *);
-version SUNWprivate_1.1
-end
-
-function uu_list_nearest_next
-include <libuutil.h>
-declaration void *uu_list_nearest_next(uu_list_t *, uu_list_index_t);
-version SUNWprivate_1.1
-end
-
-function uu_list_nearest_prev
-include <libuutil.h>
-declaration void *uu_list_nearest_prev(uu_list_t *, uu_list_index_t);
-version SUNWprivate_1.1
-end
-
-function uu_list_remove
-include <libuutil.h>
-declaration void uu_list_remove(uu_list_t *, void *);
-version SUNWprivate_1.1
-end
-
-function uu_list_walk
-include <libuutil.h>
-declaration int uu_list_walk(uu_list_t *, uu_walk_fn_t *, void *, uint32_t);
-version SUNWprivate_1.1
-end
-
-function uu_list_walk_start
-include <libuutil.h>
-declaration uu_list_walk_t *uu_list_walk_start(uu_list_t *, uint32_t);
-version SUNWprivate_1.1
-end
-
-function uu_list_walk_next
-include <libuutil.h>
-declaration void *uu_list_walk_next(uu_list_walk_t *);
-version SUNWprivate_1.1
-end
-
-function uu_list_walk_end
-include <libuutil.h>
-declaration void uu_list_walk_end(uu_list_walk_t *);
-version SUNWprivate_1.1
-end
-
-function uu_list_numnodes
-include <libuutil.h>
-declaration size_t uu_list_numnodes(uu_list_t *);
-version SUNWprivate_1.1
-end
-
-function uu_list_first
-include <libuutil.h>
-declaration void *uu_list_first(uu_list_t *);
-version SUNWprivate_1.1
-end
-
-function uu_list_last
-include <libuutil.h>
-declaration void *uu_list_last(uu_list_t *);
-version SUNWprivate_1.1
-end
-
-function uu_list_next
-include <libuutil.h>
-declaration void *uu_list_next(uu_list_t *, void *);
-version SUNWprivate_1.1
-end
-
-function uu_list_prev
-include <libuutil.h>
-declaration void *uu_list_prev(uu_list_t *, void *);
-version SUNWprivate_1.1
-end
-
-function uu_list_teardown
-include <libuutil.h>
-declaration void *uu_list_teardown(uu_list_t *, void **);
-version SUNWprivate_1.1
-end
-
-function uu_list_insert_before
-include <libuutil.h>
-declaration int uu_list_insert_before(uu_list_t *, void *, void *);
-version SUNWprivate_1.1
-end
-
-function uu_list_insert_after
-include <libuutil.h>
-declaration int uu_list_insert_after(uu_list_t *, void *, void *);
-version SUNWprivate_1.1
-end
-
-#
-# avl functions
-#
-
-function uu_avl_pool_create
-include <libuutil.h>
-declaration uu_avl_pool_t *uu_avl_pool_create(const char *, \
- size_t, size_t, uu_compare_fn_t, uint32_t);
-version SUNWprivate_1.1
-end
-
-function uu_avl_pool_destroy
-include <libuutil.h>
-declaration void uu_avl_pool_destroy(uu_avl_pool_t *);
-version SUNWprivate_1.1
-end
-
-function uu_avl_node_init
-include <libuutil.h>
-declaration void uu_avl_node_init(void *, uu_avl_node_t *, uu_avl_pool_t *);
-version SUNWprivate_1.1
-end
-
-function uu_avl_node_fini
-include <libuutil.h>
-declaration void uu_avl_node_fini(void *, uu_avl_node_t *, uu_avl_pool_t *);
-version SUNWprivate_1.1
-end
-
-function uu_avl_create
-include <libuutil.h>
-declaration uu_avl_t *uu_avl_create(uu_avl_pool_t *, void *, uint32_t);
-version SUNWprivate_1.1
-end
-
-function uu_avl_destroy
-include <libuutil.h>
-declaration void uu_avl_destroy(uu_avl_t *);
-version SUNWprivate_1.1
-end
-
-function uu_avl_insert
-include <libuutil.h>
-declaration void uu_avl_insert(uu_avl_t *, void *, uu_avl_index_t);
-version SUNWprivate_1.1
-end
-
-function uu_avl_find
-include <libuutil.h>
-declaration void *uu_avl_find(uu_avl_t *, void *, \
- void *, uu_avl_index_t *);
-version SUNWprivate_1.1
-end
-
-function uu_avl_nearest_next
-include <libuutil.h>
-declaration void *uu_avl_nearest_next(uu_avl_t *, uu_avl_index_t);
-version SUNWprivate_1.1
-end
-
-function uu_avl_nearest_prev
-include <libuutil.h>
-declaration void *uu_avl_nearest_prev(uu_avl_t *, uu_avl_index_t);
-version SUNWprivate_1.1
-end
-
-function uu_avl_remove
-include <libuutil.h>
-declaration void uu_avl_remove(uu_avl_t *, void *);
-version SUNWprivate_1.1
-end
-
-function uu_avl_walk
-include <libuutil.h>
-declaration int uu_avl_walk(uu_avl_t *, uu_walk_fn_t *, void *, uint32_t);
-version SUNWprivate_1.1
-end
-
-function uu_avl_walk_start
-include <libuutil.h>
-declaration uu_avl_walk_t *uu_avl_walk_start(uu_avl_t *, uint32_t);
-version SUNWprivate_1.1
-end
-
-function uu_avl_walk_next
-include <libuutil.h>
-declaration void *uu_avl_walk_next(uu_avl_walk_t *);
-version SUNWprivate_1.1
-end
-
-function uu_avl_walk_end
-include <libuutil.h>
-declaration void uu_avl_walk_end(uu_avl_walk_t *);
-version SUNWprivate_1.1
-end
-
-function uu_avl_numnodes
-include <libuutil.h>
-declaration size_t uu_avl_numnodes(uu_avl_t *);
-version SUNWprivate_1.1
-end
-
-function uu_avl_first
-include <libuutil.h>
-declaration void *uu_avl_first(uu_avl_t *);
-version SUNWprivate_1.1
-end
-
-function uu_avl_last
-include <libuutil.h>
-declaration void *uu_avl_last(uu_avl_t *);
-version SUNWprivate_1.1
-end
-
-function uu_avl_next
-include <libuutil.h>
-declaration void *uu_avl_next(uu_avl_t *, void *);
-version SUNWprivate_1.1
-end
-
-function uu_avl_prev
-include <libuutil.h>
-declaration void *uu_avl_prev(uu_avl_t *, void *);
-version SUNWprivate_1.1
-end
-
-function uu_avl_teardown
-include <libuutil.h>
-declaration void *uu_avl_teardown(uu_avl_t *, void **);
-version SUNWprivate_1.1
-end
diff --git a/usr/src/lib/libuutil/spec/uutil.spec b/usr/src/lib/libuutil/spec/uutil.spec
deleted file mode 100644
index cd6ecdfe80..0000000000
--- a/usr/src/lib/libuutil/spec/uutil.spec
+++ /dev/null
@@ -1,180 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-
-function uu_error
-include <libuutil.h>
-declaration uint32_t uu_error(void);
-version SUNWprivate_1.1
-end
-
-function uu_strerror
-include <libuutil.h>
-declaration const char *uu_strerror(uint32_t);
-version SUNWprivate_1.1
-end
-
-function uu_alt_exit
-include <libuutil.h>
-declaration void uu_alt_exit(int);
-version SUNWprivate_1.1
-end
-
-function uu_setpname
-include <libuutil.h>
-declaration const char *uu_setpname(char *);
-version SUNWprivate_1.1
-end
-
-function uu_getpname
-include <libuutil.h>
-declaration const char *uu_getpname(void);
-version SUNWprivate_1.1
-end
-
-function uu_warn
-include <libuutil.h>
-declaration void uu_warn(const char *, ...);
-version SUNWprivate_1.1
-end
-
-function uu_vwarn
-include <libuutil.h>
-declaration void uu_vwarn(const char *, va_list);
-version SUNWprivate_1.1
-end
-
-function uu_die
-include <libuutil.h>
-declaration void uu_die(const char *, ...);
-version SUNWprivate_1.1
-end
-
-function uu_vdie
-include <libuutil.h>
-declaration void uu_vdie(const char *, va_list);
-version SUNWprivate_1.1
-end
-
-function uu_xdie
-include <libuutil.h>
-declaration void uu_xdie(int, const char *, ...);
-version SUNWprivate_1.1
-end
-
-function uu_vxdie
-include <libuutil.h>
-declaration void uu_vxdie(int, const char *, va_list);
-version SUNWprivate_1.1
-end
-
-function uu_exit_ok
-include <libuutil.h>
-declaration int *uu_exit_ok(void);
-version SUNWprivate_1.1
-end
-
-function uu_exit_fatal
-include <libuutil.h>
-declaration int *uu_exit_fatal(void);
-version SUNWprivate_1.1
-end
-
-function uu_exit_usage
-include <libuutil.h>
-declaration int *uu_exit_usage(void);
-version SUNWprivate_1.1
-end
-
-function uu_strtoint
-include <libuutil.h>
-declaration int uu_strtoint(const char *, void *, size_t, int, \
- int64_t, int64_t);
-version SUNWprivate_1.1
-end
-
-function uu_strtouint
-include <libuutil.h>
-declaration int uu_strtouint(const char *, void *, size_t, int, \
- uint64_t, uint64_t);
-version SUNWprivate_1.1
-end
-
-function uu_dprintf_create
-include <libuutil.h>
-declaration uu_dprintf_t *uu_dprintf_create(const char *, \
- uu_dprintf_severity_t, uint_t);
-version SUNWprivate_1.1
-end
-
-function uu_dprintf
-include <libuutil.h>
-declaration void uu_dprintf(uu_dprintf_t *, \
- uu_dprintf_severity_t, const char *, ...);
-version SUNWprivate_1.1
-end
-
-function uu_dprintf_destroy
-include <libuutil.h>
-declaration void uu_dprintf_destroy(uu_dprintf_t *);
-version SUNWprivate_1.1
-end
-
-function uu_dprintf_getname
-include <libuutil.h>
-declaration const char *uu_dprintf_getname(uu_dprintf_t *);
-version SUNWprivate_1.1
-end
-
-function uu_check_name
-include <libuutil.h>
-declaration int uu_check_name(const char *, uint_t);
-version SUNWprivate_1.1
-end
-
-function uu_open_tmp
-include <libuutil.h>
-declaration int uu_open_tmp(const char *, uint_t);
-version SUNWprivate_1.1
-end
-
-function uu_msprintf
-include <libuutil.h>
-declaration char *uu_msprintf(const char *, ...);
-version SUNWprivate_1.1
-end
-
-function uu_zalloc
-include <libuutil.h>
-declaration void *uu_zalloc(size_t);
-version SUNWprivate_1.1
-end
-
-function uu_free
-include <libuutil.h>
-declaration void uu_free(void *);
-version SUNWprivate_1.1
-end
diff --git a/usr/src/lib/libuutil/spec/versions b/usr/src/lib/libuutil/spec/versions
deleted file mode 100644
index a397482d50..0000000000
--- a/usr/src/lib/libuutil/spec/versions
+++ /dev/null
@@ -1,39 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-
-sparc {
- SUNWprivate_1.1;
-}
-sparcv9 {
- SUNWprivate_1.1;
-}
-i386 {
- SUNWprivate_1.1;
-}
-amd64 {
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/libvolmgt/Makefile b/usr/src/lib/libvolmgt/Makefile
index 4efe44b33f..aa5f8fae95 100644
--- a/usr/src/lib/libvolmgt/Makefile
+++ b/usr/src/lib/libvolmgt/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,17 +19,17 @@
# CDDL HEADER END
#
#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libvolmgt/Makefile
include ../../Makefile.master
include ../Makefile.lib
-SUBDIRS= spec $(MACH) $(BUILD64) $(MACH64)
+SUBDIRS = $(MACH)
+$(BUILD64)SUBDIRS += $(MACH64)
all := TARGET= all
clean := TARGET= clean
@@ -69,7 +68,7 @@ install_h: $(ROOTHDRS)
check: $(CHECKHDRS)
-$(MACH) $(MACH64) spec: FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
_msg: $(MSGDOMAIN) $(POFILE)
diff --git a/usr/src/lib/libvolmgt/Makefile.com b/usr/src/lib/libvolmgt/Makefile.com
index df9137070e..0a5a1187b6 100644
--- a/usr/src/lib/libvolmgt/Makefile.com
+++ b/usr/src/lib/libvolmgt/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,13 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libvolmgt/Makefile.com
-#
LIBRARY= libvolmgt.a
VERS=.1
@@ -37,8 +34,7 @@ OBJECTS= volattr.o volutil.o volprivate.o volname.o volmgt_fsi.o \
# include library definitions
include ../../Makefile.lib
-MAPFILE= $(MAPDIR)/mapfile
-SRCS= $(OBJECTS:%.o=../common/%.c)
+SRCDIR = ../common
LIBS = $(DYNLIB) $(LINTLIB)
@@ -48,18 +44,13 @@ LINTSRC= $(LINTLIB:%.ln=%)
CPPFLAGS = -I.. $(CPPFLAGS.master)
CFLAGS += $(CCVERBOSE)
-DYNFLAGS += -M $(MAPFILE)
+
LDLIBS += -ladm -lc
.KEEP_STATE:
lint: lintcheck
-$(DYNLIB): $(MAPFILE)
-
-$(MAPFILE):
- @cd $(MAPDIR); $(MAKE) mapfile
-
# include library targets
include ../../Makefile.targ
diff --git a/usr/src/lib/libvolmgt/amd64/Makefile b/usr/src/lib/libvolmgt/amd64/Makefile
index bf7f82677c..c9a1718a16 100644
--- a/usr/src/lib/libvolmgt/amd64/Makefile
+++ b/usr/src/lib/libvolmgt/amd64/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-MAPDIR= ../spec/amd64
-
include ../Makefile.com
include ../../Makefile.lib.64
diff --git a/usr/src/lib/libmapid/spec/i386/Makefile b/usr/src/lib/libvolmgt/common/mapfile-vers
index eea4352b2d..48acf618a9 100644
--- a/usr/src/lib/libmapid/spec/i386/Makefile
+++ b/usr/src/lib/libvolmgt/common/mapfile-vers
@@ -25,15 +25,48 @@
# ident "%Z%%M% %I% %E% SMI"
#
-.KEEP_STATE:
+# Due to mistakes made early in the history of this library, there are
+# no SUNW_1.2 or SUNW_1.3 symbols, but they are now kept as placeholders.
+# Don't add any symbols to these versions.
-include ../Makefile.targ
+SUNW_1.3 {
+ global:
+ SUNW_1.3;
+} SUNW_1.2;
-# Add arch specific objects here
-OBJECTS +=
+SUNW_1.2 {
+ global:
+ SUNW_1.2;
+} SUNW_1.1;
-include $(SRC)/lib/Makefile.lib
+SUNW_1.1 {
+ global:
+ volmgt_acquire;
+ volmgt_feature_enabled;
+ volmgt_release;
+} SUNW_0.7;
-include $(SRC)/lib/Makefile.spec
+SUNW_0.7 {
+ global:
+ media_findname;
+ media_getattr;
+ media_getid;
+ media_setattr;
+ volmgt_check;
+ volmgt_inuse;
+ volmgt_ownspath;
+ volmgt_root;
+ volmgt_running;
+ volmgt_symdev;
+ volmgt_symname;
+};
-install: $(ROOTABILIB)
+SUNWprivate_1.1 {
+ global:
+ _dev_mounted;
+ _dev_unmount;
+ _media_oldaliases;
+ _media_printaliases;
+ local:
+ *;
+};
diff --git a/usr/src/lib/libvolmgt/i386/Makefile b/usr/src/lib/libvolmgt/i386/Makefile
index 7a3f4e3529..2a944b0b43 100644
--- a/usr/src/lib/libvolmgt/i386/Makefile
+++ b/usr/src/lib/libvolmgt/i386/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libvolmgt/i386/Makefile
-
-MAPDIR= ../spec/i386
include ../Makefile.com
diff --git a/usr/src/lib/libvolmgt/sparc/Makefile b/usr/src/lib/libvolmgt/sparc/Makefile
index 5003bea721..2a944b0b43 100644
--- a/usr/src/lib/libvolmgt/sparc/Makefile
+++ b/usr/src/lib/libvolmgt/sparc/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libvolmgt/sparc/Makefile
-
-MAPDIR= ../spec/sparc
include ../Makefile.com
diff --git a/usr/src/lib/libvolmgt/sparcv9/Makefile b/usr/src/lib/libvolmgt/sparcv9/Makefile
index 8c07fd15ad..c9a1718a16 100644
--- a/usr/src/lib/libvolmgt/sparcv9/Makefile
+++ b/usr/src/lib/libvolmgt/sparcv9/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libvolmgt/sparcv9/Makefile
-
-MAPDIR= ../spec/sparcv9
include ../Makefile.com
include ../../Makefile.lib.64
diff --git a/usr/src/lib/libvolmgt/spec/Makefile b/usr/src/lib/libvolmgt/spec/Makefile
deleted file mode 100644
index ed628396d5..0000000000
--- a/usr/src/lib/libvolmgt/spec/Makefile
+++ /dev/null
@@ -1,29 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1998-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libvolmgt/spec/Makefile
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/libvolmgt/spec/Makefile.targ b/usr/src/lib/libvolmgt/spec/Makefile.targ
deleted file mode 100644
index b097349e6d..0000000000
--- a/usr/src/lib/libvolmgt/spec/Makefile.targ
+++ /dev/null
@@ -1,34 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1998-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libvolmgt/spec/Makefile.targ
-
-LIBRARY = libvolmgt.a
-VERS = .1
-
-OBJECTS = volmgt.o
-
-SPECCPP =
diff --git a/usr/src/lib/libvolmgt/spec/amd64/Makefile b/usr/src/lib/libvolmgt/spec/amd64/Makefile
deleted file mode 100644
index 453c0ea671..0000000000
--- a/usr/src/lib/libvolmgt/spec/amd64/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#amd64_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libvolmgt/spec/i386/Makefile b/usr/src/lib/libvolmgt/spec/i386/Makefile
deleted file mode 100644
index 932e9e0c00..0000000000
--- a/usr/src/lib/libvolmgt/spec/i386/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1998-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libvolmgt/spec/i386/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#i386_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libvolmgt/spec/sparc/Makefile b/usr/src/lib/libvolmgt/spec/sparc/Makefile
deleted file mode 100644
index d0d95aac44..0000000000
--- a/usr/src/lib/libvolmgt/spec/sparc/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1998-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libvolmgt/spec/sparc/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#sparc_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libvolmgt/spec/sparcv9/Makefile b/usr/src/lib/libvolmgt/spec/sparcv9/Makefile
deleted file mode 100644
index 65ea487076..0000000000
--- a/usr/src/lib/libvolmgt/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,45 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1998-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libvolmgt/spec/sparcv9/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#sparcv9_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libvolmgt/spec/versions b/usr/src/lib/libvolmgt/spec/versions
deleted file mode 100644
index 36e65e4d0a..0000000000
--- a/usr/src/lib/libvolmgt/spec/versions
+++ /dev/null
@@ -1,63 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# Note (re: SUNW_1.2 .. SUNW_1.3):
-# Even though the SUNW_1.2 and SUNW_1.3 versions now contain no
-# symbols these versions MUST be present. This is because applications
-# built on 2.6 Beta (when they did contain symbols explicitly) may
-# depend on them.
-#
-# All symbol content for Solaris2.6 is now contained in SUNW_1.1,
-# and (the now empty) versions SUNW_1.2 and SUNW_1.3 must be kept.
-#
-sparc {
- SUNW_1.3: {SUNW_1.2};
- SUNW_1.2: {SUNW_1.1};
- SUNW_1.1: {SUNW_0.7};
- SUNW_0.7;
- SUNWprivate_1.1;
-}
-sparcv9 {
- SUNW_1.3: {SUNW_1.2};
- SUNW_1.2: {SUNW_1.1};
- SUNW_1.1: {SUNW_0.7};
- SUNW_0.7;
- SUNWprivate_1.1;
-}
-i386 {
- SUNW_1.3: {SUNW_1.2};
- SUNW_1.2: {SUNW_1.1};
- SUNW_1.1: {SUNW_0.7};
- SUNW_0.7;
- SUNWprivate_1.1;
-}
-amd64 {
- SUNW_1.3: {SUNW_1.2};
- SUNW_1.2: {SUNW_1.1};
- SUNW_1.1: {SUNW_0.7};
- SUNW_0.7;
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/libvolmgt/spec/volmgt.spec b/usr/src/lib/libvolmgt/spec/volmgt.spec
deleted file mode 100644
index 191bffedc5..0000000000
--- a/usr/src/lib/libvolmgt/spec/volmgt.spec
+++ /dev/null
@@ -1,132 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libvolmgt/spec/volmgt.spec
-
-function media_getid
-version SUNW_0.7
-end
-
-function volmgt_acquire
-version SUNW_1.1
-end
-
-function volmgt_feature_enabled
-version SUNW_1.1
-end
-
-function volmgt_ownspath
-version SUNW_0.7
-end
-
-function volmgt_release
-version SUNW_1.1
-end
-
-function media_findname
-include <volmgt.h>
-declaration char *media_findname(char *start)
-version SUNW_0.7
-errno ENXIO
-exception $return == 0
-end
-
-function media_getattr
-declaration char *media_getattr(char *vol_path, char *attr)
-version SUNW_0.7
-errno ENXIO EINTR
-exception $return == 0
-end
-
-function media_setattr
-declaration int media_setattr(char *vol_path, char *attr, char *value)
-version SUNW_0.7
-errno ENXIO EINTR
-exception $return == 0
-end
-
-function volmgt_check
-include <volmgt.h>
-declaration int volmgt_check(char *pathname)
-version SUNW_0.7
-errno ENXIO EINTR
-exception $return == 0
-end
-
-function volmgt_inuse
-include <volmgt.h>
-declaration int volmgt_inuse(char *pathname)
-version SUNW_0.7
-errno ENXIO EINTR
-exception $return == 0
-end
-
-function volmgt_root
-declaration const char *volmgt_root(void)
-version SUNW_0.7
-exception $return == 0
-end
-
-function volmgt_running
-include <volmgt.h>
-declaration int volmgt_running(void)
-version SUNW_0.7
-errno ENXIO EINTR
-exception $return == 0
-end
-
-function volmgt_symname
-include <volmgt.h>
-declaration char *volmgt_symname(char *pathname)
-version SUNW_0.7
-errno ENXIO EINTR
-exception $return != 0
-end
-
-function volmgt_symdev
-include <volmgt.h>
-declaration char *volmgt_symdev(char *symname)
-version SUNW_0.7
-errno ENXIO EINTR
-exception $return != 0
-end
-
-function _dev_mounted
-version SUNWprivate_1.1
-end
-
-function _dev_unmount
-version SUNWprivate_1.1
-end
-
-function _media_oldaliases
-version SUNWprivate_1.1
-end
-
-function _media_printaliases
-version SUNWprivate_1.1
-end
-
diff --git a/usr/src/lib/libw/Makefile.com b/usr/src/lib/libw/Makefile.com
index 9ecc982a0a..00cb20e480 100644
--- a/usr/src/lib/libw/Makefile.com
+++ b/usr/src/lib/libw/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -19,11 +18,12 @@
#
# CDDL HEADER END
#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
+#
LIBRARY= libw.a
VERS= .1
@@ -31,10 +31,11 @@ VERS= .1
include ../../Makefile.lib
include ../../Makefile.rootfs
-MAPFILES= ../common/mapfile-vers $(MAPFILE-FLTR)
-MAPOPTS= $(MAPFILES:%=-M %)
+SRCDIR = ../common
-DYNFLAGS += -F libc.so.1 $(MAPOPTS)
+MAPFILES += $(MAPFILE-FLTR)
+
+DYNFLAGS += -F libc.so.1
LIBS= $(DYNLIB)
@@ -50,5 +51,3 @@ include ../../Makefile.targ
all: $(LIBS)
lint:
-
-$(DYNLIB): $(MAPFILES)
diff --git a/usr/src/lib/libwanboot/Makefile b/usr/src/lib/libwanboot/Makefile
index d410edb331..45cf48d3d2 100644
--- a/usr/src/lib/libwanboot/Makefile
+++ b/usr/src/lib/libwanboot/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,10 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright 2002-2003 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
+#
include $(SRC)/lib/Makefile.lib
@@ -58,9 +58,7 @@ lint := TARGET = lint
.KEEP_STATE:
-all clean clobber install: spec .WAIT $(SUBDIRS)
-
-lint: $(SUBDIRS)
+all clean clobber install lint: $(SUBDIRS)
install_h: $(ROOTHDRS)
@@ -70,7 +68,7 @@ $(POFILE): pofile_MSGFILES
_msg: $(MSGDOMAINPOFILE)
-spec $(SUBDIRS): FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
diff --git a/usr/src/lib/libwanboot/Makefile.com b/usr/src/lib/libwanboot/Makefile.com
index 9423c8edc7..00434d96fb 100644
--- a/usr/src/lib/libwanboot/Makefile.com
+++ b/usr/src/lib/libwanboot/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,7 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
@@ -60,9 +59,6 @@ DHCP_SRCS = $(DHCP_OBJS:%.o=$(DHCP_DIR)/%.c)
OBJECTS = $(LOC_OBJS) $(COM_OBJS) $(DHCP_OBJS)
-MAPDIR = ../spec/$(TRANSMACH)
-SPECMAPFILE = $(MAPDIR)/mapfile
-
include ../../Makefile.lib
LIBS += $(LINTLIB)
diff --git a/usr/src/lib/libwanboot/common/mapfile-vers b/usr/src/lib/libwanboot/common/mapfile-vers
new file mode 100644
index 0000000000..7b0607cc4e
--- /dev/null
+++ b/usr/src/lib/libwanboot/common/mapfile-vers
@@ -0,0 +1,82 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNWprivate_1.1 {
+ global:
+ bootconf_end;
+ bootconf_errmsg;
+ bootconf_get;
+ bootconf_init;
+ bootinfo_end;
+ bootinfo_get;
+ bootinfo_init;
+ bootlog;
+ http_conn_is_https;
+ http_decode_err;
+ http_errorstr;
+ http_free_respinfo;
+ http_get_conn_info;
+ http_get_header_value;
+ http_get_lasterr;
+ http_get_range_request;
+ http_get_request;
+ http_get_response_header;
+ http_get_version;
+ http_head_request;
+ http_process_headers;
+ http_process_part_headers;
+ http_read_body;
+ http_set_basic_auth;
+ http_set_certificate_authority_file;
+ http_set_cipher_list;
+ http_set_client_certificate_file;
+ http_set_keepalive;
+ http_set_key_file_password;
+ http_set_p12_format;
+ http_set_password;
+ http_set_private_key_file;
+ http_set_proxy;
+ http_set_random_file;
+ http_set_socket_read_timeout;
+ http_set_verbose;
+ http_srv_close;
+ http_srv_connect;
+ http_srv_disconnect;
+ http_srv_init;
+ sunw_check_keys;
+ sunw_crypto_init;
+ sunw_evp_pkey_free;
+ sunw_issuer_attrs;
+ sunw_PKCS12_create;
+ sunw_PKCS12_parse;
+ sunw_print_times;
+ sunw_subject_attrs;
+ url_parse;
+ url_parse_hostport;
+ local:
+ *;
+};
diff --git a/usr/src/lib/libwanboot/spec/Makefile b/usr/src/lib/libwanboot/spec/Makefile
deleted file mode 100644
index 2827d8afb2..0000000000
--- a/usr/src/lib/libwanboot/spec/Makefile
+++ /dev/null
@@ -1,30 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libwanboot/spec/Makefile
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/libwanboot/spec/Makefile.targ b/usr/src/lib/libwanboot/spec/Makefile.targ
deleted file mode 100644
index 4b51b21078..0000000000
--- a/usr/src/lib/libwanboot/spec/Makefile.targ
+++ /dev/null
@@ -1,32 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libwanboot/spec/Makefile.targ
-
-LIBRARY = libwanboot.a
-VERS = .1
-OBJECTS = wanboot.o
diff --git a/usr/src/lib/libwanboot/spec/amd64/Makefile b/usr/src/lib/libwanboot/spec/amd64/Makefile
deleted file mode 100644
index 4ee7613aaf..0000000000
--- a/usr/src/lib/libwanboot/spec/amd64/Makefile
+++ /dev/null
@@ -1,32 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-all clean clobber install lint:
- @echo "Nothing to $@ on amd64"
diff --git a/usr/src/lib/libwanboot/spec/i386/Makefile b/usr/src/lib/libwanboot/spec/i386/Makefile
deleted file mode 100644
index 0ac73af866..0000000000
--- a/usr/src/lib/libwanboot/spec/i386/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libwanboot/spec/i386/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-install:
diff --git a/usr/src/lib/libwanboot/spec/sparc/Makefile b/usr/src/lib/libwanboot/spec/sparc/Makefile
deleted file mode 100644
index 16c6250202..0000000000
--- a/usr/src/lib/libwanboot/spec/sparc/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libwanboot/spec/sparc/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-install:
diff --git a/usr/src/lib/libwanboot/spec/sparcv9/Makefile b/usr/src/lib/libwanboot/spec/sparcv9/Makefile
deleted file mode 100644
index 1f494758f4..0000000000
--- a/usr/src/lib/libwanboot/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,33 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libwanboot/spec/sparcv9/Makefile
-
-.KEEP_STATE:
-
-all clean clobber install lint:
- @echo "Nothing to $@ on sparcv9"
diff --git a/usr/src/lib/libwanboot/spec/versions b/usr/src/lib/libwanboot/spec/versions
deleted file mode 100644
index 22e0dd1104..0000000000
--- a/usr/src/lib/libwanboot/spec/versions
+++ /dev/null
@@ -1,39 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-sparc {
- SUNWprivate_1.1;
-}
-sparcv9 {
- SUNWprivate_1.1;
-}
-i386 {
- SUNWprivate_1.1;
-}
-amd64 {
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/libwanboot/spec/wanboot.spec b/usr/src/lib/libwanboot/spec/wanboot.spec
deleted file mode 100644
index b326ad7f84..0000000000
--- a/usr/src/lib/libwanboot/spec/wanboot.spec
+++ /dev/null
@@ -1,234 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libwanboot/spec/wanboot.spec
-
-#
-# Note that we do not define prototypes for these APIs as we
-# are not generating the ABI libraries. Please do not add any
-# prototypes.
-#
-
-function http_get_version
-version SUNWprivate_1.1
-end
-
-function http_set_p12_format
-version SUNWprivate_1.1
-end
-
-function http_set_verbose
-version SUNWprivate_1.1
-end
-
-function http_set_cipher_list
-version SUNWprivate_1.1
-end
-
-function http_srv_init
-version SUNWprivate_1.1
-end
-
-function http_set_proxy
-version SUNWprivate_1.1
-end
-
-
-function http_set_keepalive
-version SUNWprivate_1.1
-end
-
-function http_set_socket_read_timeout
-version SUNWprivate_1.1
-end
-
-function http_set_basic_auth
-version SUNWprivate_1.1
-end
-
-function http_set_random_file
-version SUNWprivate_1.1
-end
-
-function http_set_certificate_authority_file
-version SUNWprivate_1.1
-end
-
-function http_set_client_certificate_file
-version SUNWprivate_1.1
-end
-
-function http_set_password
-version SUNWprivate_1.1
-end
-
-function http_set_key_file_password
-version SUNWprivate_1.1
-end
-
-function http_set_private_key_file
-version SUNWprivate_1.1
-end
-
-function http_srv_connect
-version SUNWprivate_1.1
-end
-
-function http_head_request
-version SUNWprivate_1.1
-end
-
-function http_get_request
-version SUNWprivate_1.1
-end
-
-function http_get_range_request
-version SUNWprivate_1.1
-end
-
-function http_free_respinfo
-version SUNWprivate_1.1
-end
-
-function http_process_headers
-version SUNWprivate_1.1
-end
-
-function http_process_part_headers
-version SUNWprivate_1.1
-end
-
-function http_get_header_value
-version SUNWprivate_1.1
-end
-
-function http_get_response_header
-version SUNWprivate_1.1
-end
-
-function http_read_body
-version SUNWprivate_1.1
-end
-
-function http_srv_disconnect
-version SUNWprivate_1.1
-end
-
-function http_srv_close
-version SUNWprivate_1.1
-end
-
-function http_get_conn_info
-version SUNWprivate_1.1
-end
-
-function http_conn_is_https
-version SUNWprivate_1.1
-end
-
-function http_get_lasterr
-version SUNWprivate_1.1
-end
-
-function http_decode_err
-version SUNWprivate_1.1
-end
-
-function http_errorstr
-version SUNWprivate_1.1
-end
-
-function url_parse_hostport
-version SUNWprivate_1.1
-end
-
-function url_parse
-version SUNWprivate_1.1
-end
-
-function bootlog
-version SUNWprivate_1.1
-end
-
-function bootinfo_init
-version SUNWprivate_1.1
-end
-
-function bootinfo_end
-version SUNWprivate_1.1
-end
-
-function bootinfo_get
-version SUNWprivate_1.1
-end
-
-function bootconf_init
-version SUNWprivate_1.1
-end
-
-function bootconf_get
-version SUNWprivate_1.1
-end
-
-function bootconf_end
-version SUNWprivate_1.1
-end
-
-function bootconf_errmsg
-version SUNWprivate_1.1
-end
-
-function sunw_crypto_init
-version SUNWprivate_1.1
-end
-
-function sunw_PKCS12_parse
-version SUNWprivate_1.1
-end
-
-function sunw_PKCS12_create
-version SUNWprivate_1.1
-end
-
-function sunw_issuer_attrs
-version SUNWprivate_1.1
-end
-
-function sunw_subject_attrs
-version SUNWprivate_1.1
-end
-
-function sunw_print_times
-version SUNWprivate_1.1
-end
-
-function sunw_check_keys
-version SUNWprivate_1.1
-end
-
-function sunw_evp_pkey_free
-version SUNWprivate_1.1
-end
diff --git a/usr/src/lib/libwanbootutil/Makefile b/usr/src/lib/libwanbootutil/Makefile
index 670e9bea04..060530d0a3 100644
--- a/usr/src/lib/libwanbootutil/Makefile
+++ b/usr/src/lib/libwanbootutil/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,10 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
+#
include ../Makefile.lib
@@ -64,7 +64,7 @@ lint := TARGET = lint
.KEEP_STATE:
.PARALLEL: $(ROOTHDRS)
-all clean clobber install: spec .WAIT $(RPCFILES) $(SUBDIRS)
+all clean clobber install: $(RPCFILES) $(SUBDIRS)
lint: $(SUBDIRS)
@@ -76,7 +76,7 @@ $(POFILE): pofile_MSGFILES
_msg: $(MSGDOMAINPOFILE)
-spec $(SUBDIRS): FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
diff --git a/usr/src/lib/libwanbootutil/Makefile.com b/usr/src/lib/libwanbootutil/Makefile.com
index 23463dad43..56b7a96871 100644
--- a/usr/src/lib/libwanbootutil/Makefile.com
+++ b/usr/src/lib/libwanbootutil/Makefile.com
@@ -60,9 +60,6 @@ SRCS = $(LOC_SRCS) $(CRYPTO_SRCS)
SRCDIR = $(LOC_DIR)
$(LINTLIB):= SRCS = $(SRCDIR)/$(LINTSRC)
-MAPDIR = ../spec/$(TRANSMACH)
-SPECMAPFILE = $(MAPDIR)/mapfile
-
# Library includes sources created via rpcgen. And rpcgen unfortunately
# created unused function variables.
LINTFLAGS += -erroff=E_FUNC_VAR_UNUSED
diff --git a/usr/src/lib/libwanbootutil/common/mapfile-vers b/usr/src/lib/libwanbootutil/common/mapfile-vers
new file mode 100644
index 0000000000..d8e07ad0c5
--- /dev/null
+++ b/usr/src/lib/libwanbootutil/common/mapfile-vers
@@ -0,0 +1,60 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNWprivate_1.1 {
+ global:
+ aes_decrypt;
+ aes_encrypt;
+ aes_fini;
+ aes_init;
+ aes_key;
+ aes_keycheck;
+ cbc_decrypt;
+ cbc_encrypt;
+ cbc_makehandle;
+ des3_decrypt;
+ des3_encrypt;
+ des3_fini;
+ des3_init;
+ des3_key;
+ des3_keycheck;
+ HMACFinal;
+ HMACInit;
+ HMACUpdate;
+ wbio_nread;
+ wbio_nread_rand;
+ wbio_nwrite;
+ wbku_delete_key;
+ wbku_errinit;
+ wbku_find_key;
+ wbku_printerr;
+ wbku_retmsg;
+ wbku_str_to_keyattr;
+ wbku_write_key;
+ local:
+ *;
+};
diff --git a/usr/src/lib/libwanbootutil/spec/Makefile b/usr/src/lib/libwanbootutil/spec/Makefile
deleted file mode 100644
index 37b7cc69ad..0000000000
--- a/usr/src/lib/libwanbootutil/spec/Makefile
+++ /dev/null
@@ -1,30 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libwanbootutil/spec/Makefile
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/libwanbootutil/spec/Makefile.targ b/usr/src/lib/libwanbootutil/spec/Makefile.targ
deleted file mode 100644
index 1b7f5046ec..0000000000
--- a/usr/src/lib/libwanbootutil/spec/Makefile.targ
+++ /dev/null
@@ -1,34 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libwanbootutil/spec/Makefile.targ
-
-LIBRARY = libwanbootutil.a
-VERS = .1
-OBJECTS = wanbootutil.o
-
-SPECCPP = -I$(SRC)/common/net/wanboot/crypt
diff --git a/usr/src/lib/libwanbootutil/spec/amd64/Makefile b/usr/src/lib/libwanbootutil/spec/amd64/Makefile
deleted file mode 100644
index 4ee7613aaf..0000000000
--- a/usr/src/lib/libwanbootutil/spec/amd64/Makefile
+++ /dev/null
@@ -1,32 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-all clean clobber install lint:
- @echo "Nothing to $@ on amd64"
diff --git a/usr/src/lib/libwanbootutil/spec/i386/Makefile b/usr/src/lib/libwanbootutil/spec/i386/Makefile
deleted file mode 100644
index 80344b3c95..0000000000
--- a/usr/src/lib/libwanbootutil/spec/i386/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libwanbootutil/spec/i386/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-install:
diff --git a/usr/src/lib/libwanbootutil/spec/sparc/Makefile b/usr/src/lib/libwanbootutil/spec/sparc/Makefile
deleted file mode 100644
index 5808da4dd7..0000000000
--- a/usr/src/lib/libwanbootutil/spec/sparc/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libwanbootutil/spec/sparc/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-install:
diff --git a/usr/src/lib/libwanbootutil/spec/sparcv9/Makefile b/usr/src/lib/libwanbootutil/spec/sparcv9/Makefile
deleted file mode 100644
index b107afa3fb..0000000000
--- a/usr/src/lib/libwanbootutil/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,33 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libwanbootutil/spec/sparcv9/Makefile
-
-.KEEP_STATE:
-
-all clean clobber install lint:
- @echo "Nothing to $@ on sparcv9"
diff --git a/usr/src/lib/libwanbootutil/spec/versions b/usr/src/lib/libwanbootutil/spec/versions
deleted file mode 100644
index 22e0dd1104..0000000000
--- a/usr/src/lib/libwanbootutil/spec/versions
+++ /dev/null
@@ -1,39 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-sparc {
- SUNWprivate_1.1;
-}
-sparcv9 {
- SUNWprivate_1.1;
-}
-i386 {
- SUNWprivate_1.1;
-}
-amd64 {
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/libwanbootutil/spec/wanbootutil.spec b/usr/src/lib/libwanbootutil/spec/wanbootutil.spec
deleted file mode 100644
index b2e756c857..0000000000
--- a/usr/src/lib/libwanbootutil/spec/wanbootutil.spec
+++ /dev/null
@@ -1,144 +0,0 @@
-#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libwanbootutil/spec/wanbootutil.spec
-
-#
-# Note that we do not define prototypes for these APIs as we
-# are not generating the ABI libraries. Please do not add any
-# prototypes.
-#
-
-function wbku_errinit
-version SUNWprivate_1.1
-end
-
-function wbku_printerr
-version SUNWprivate_1.1
-end
-
-function wbku_retmsg
-version SUNWprivate_1.1
-end
-
-function wbku_str_to_keyattr
-version SUNWprivate_1.1
-end
-
-function wbku_find_key
-version SUNWprivate_1.1
-end
-
-function wbku_write_key
-version SUNWprivate_1.1
-end
-
-function wbku_delete_key
-version SUNWprivate_1.1
-end
-
-function des3_decrypt
-version SUNWprivate_1.1
-end
-
-function cbc_makehandle
-version SUNWprivate_1.1
-end
-
-function des3_encrypt
-version SUNWprivate_1.1
-end
-
-function aes_encrypt
-version SUNWprivate_1.1
-end
-
-function aes_init
-version SUNWprivate_1.1
-end
-
-function des3_fini
-version SUNWprivate_1.1
-end
-
-function cbc_encrypt
-version SUNWprivate_1.1
-end
-
-function cbc_decrypt
-version SUNWprivate_1.1
-end
-
-function aes_decrypt
-version SUNWprivate_1.1
-end
-
-function des3_init
-version SUNWprivate_1.1
-end
-
-function aes_fini
-version SUNWprivate_1.1
-end
-
-function des3_key
-version SUNWprivate_1.1
-end
-
-function des3_keycheck
-version SUNWprivate_1.1
-end
-
-function aes_key
-version SUNWprivate_1.1
-end
-
-function aes_keycheck
-version SUNWprivate_1.1
-end
-
-function HMACInit
-version SUNWprivate_1.1
-end
-
-function HMACUpdate
-version SUNWprivate_1.1
-end
-
-function HMACFinal
-version SUNWprivate_1.1
-end
-
-function wbio_nwrite
-version SUNWprivate_1.1
-end
-
-function wbio_nread
-version SUNWprivate_1.1
-end
-
-function wbio_nread_rand
-version SUNWprivate_1.1
-end
diff --git a/usr/src/lib/libwrap/Makefile.com b/usr/src/lib/libwrap/Makefile.com
index bbe4df7713..8ad0096289 100644
--- a/usr/src/lib/libwrap/Makefile.com
+++ b/usr/src/lib/libwrap/Makefile.com
@@ -1,5 +1,25 @@
#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
@@ -20,9 +40,10 @@ LIBS = $(DYNLIB) $(LINTLIB)
ROOTLIBDIR = $(ROOTSFWLIB)
SONAME = $(LIBRARY:.a=.so)$(MAJOR)
ROOTLINKS += $(ROOTLIBDIR)/$(LIBLINKS)$(MAJOR)
-SRCDIR = ..
$(LINTLIB) := SRCS = $(SRCDIR)/$(LINTSRC)
-DYNFLAGS += -M $(SRCDIR)/mapfile
+
+MAPFILES = ../mapfile
+
LDLIBS += -lsocket -lnsl -lc
CPPFLAGS += $(NETGROUP) $(TLI) $(ALWAYS_HOSTNAME) $(AUTH) \
diff --git a/usr/src/lib/libwrsmconf/Makefile.com b/usr/src/lib/libwrsmconf/Makefile.com
index 26487f9950..7efd97660c 100644
--- a/usr/src/lib/libwrsmconf/Makefile.com
+++ b/usr/src/lib/libwrsmconf/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,7 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
@@ -51,6 +50,9 @@ ROOTLIBDIR64= $(ROOT)/platform/sun4u/lib/sparcv9
LIBS = $(DYNLIB)
+# There should be a mapfile here
+MAPFILES =
+
BUILD.SO= $(CC) $(CFLAGS) -o $@ $(GSHARED) $(DYNFLAGS) $(OBJECTS) $(LDLIBS)
CLEANFILES= $(OBJECTS) confparse.yy.c confparse.tab.c confparse.tab.h
diff --git a/usr/src/lib/libxcurses/Makefile b/usr/src/lib/libxcurses/Makefile
index 27ca87ebca..b2d69bbe71 100644
--- a/usr/src/lib/libxcurses/Makefile
+++ b/usr/src/lib/libxcurses/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,16 +19,16 @@
# CDDL HEADER END
#
#
-# Copyright (c) 1995-1999 by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-#pragma ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libxcurses/Makefile
include ../Makefile.lib
-SUBDIRS = spec .WAIT $(MACH) $(BUILD64) $(MACH64)
+SUBDIRS = $(MACH)
+$(BUILD64)SUBDIRS += $(MACH64)
all := TARGET= all
install := TARGET= install
@@ -71,7 +70,7 @@ lint: $(SUBDIRS)
# do this when we go through and make this library cstyle clean.
check: $(HDRS)
-$(MACH) $(MACH64) spec: $(GENERATED)
+$(SUBDIRS): $(GENERATED)
@cd $@; pwd; $(MAKE) $(TARGET)
# derived C files
@@ -88,5 +87,3 @@ h/term.h : src/libc/xcurses/mkterm.awk src/libc/xcurses/caps
src/libc/xcurses/keyindex.c : src/libc/xcurses/mkkey.awk src/libc/xcurses/caps
$(RM) $@
cd src/libc/xcurses; nawk -f mkkey.awk caps > keyindex.c
-
-FRC:
diff --git a/usr/src/lib/libxcurses/Makefile.com b/usr/src/lib/libxcurses/Makefile.com
index 49a6648ed1..65374166ef 100644
--- a/usr/src/lib/libxcurses/Makefile.com
+++ b/usr/src/lib/libxcurses/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,7 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
@@ -97,7 +96,8 @@ m_mbstow.o m_wcsdup.o wio_get.o wio_put.o
# include library definitions
include ../../Makefile.lib
-MAPFILE= $(MAPDIR)/mapfile
+SRCDIR = ../src
+
SRCS= $(XCURSES:%.o=../src/libc/xcurses/%.c) \
$(GEN:%.o=../src/libc/gen/%.c) \
$(I18N:%.o=../src/libc/i18n/%.c) \
@@ -117,7 +117,6 @@ $(LINTLIB):= CPPFLAGS += -D_XOPEN_SOURCE_EXTENDED
LINTSRC= $(LINTLIB:%.ln=%)
-DYNFLAGS += -M$(MAPFILE)
LDLIBS += -lc
CPPFLAGS = -I../h -I../h/solaris2 -I../src/libc/xcurses $(CPPFLAGS.master)
@@ -126,7 +125,7 @@ CPPFLAGS = -I../h -I../h/solaris2 -I../src/libc/xcurses $(CPPFLAGS.master)
# If and when somebody gets around to messaging this, CLOBBERFILE should not
# be cleared (so that any .po file will be clobbered.
#
-CLOBBERFILES= libcurses.so libcurses.so$(VERS) $(MAPFILE)
+CLOBBERFILES= libcurses.so libcurses.so$(VERS)
.KEEP_STATE:
@@ -134,11 +133,6 @@ all: $(LIBS)
lint: lintcheck
-$(DYNLIB): $(MAPFILE)
-
-$(MAPFILE):
- @cd $(MAPDIR); $(MAKE) mapfile
-
#
# Include library targets
#
diff --git a/usr/src/lib/libxcurses/amd64/Makefile b/usr/src/lib/libxcurses/amd64/Makefile
index 33b9ac3cba..b3e73192e3 100644
--- a/usr/src/lib/libxcurses/amd64/Makefile
+++ b/usr/src/lib/libxcurses/amd64/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,13 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-MAPDIR= ../spec/amd64
include ../Makefile.com
include ../../Makefile.lib.64
diff --git a/usr/src/lib/libxcurses/i386/Makefile b/usr/src/lib/libxcurses/i386/Makefile
index 6da811dd72..10fd8452e5 100644
--- a/usr/src/lib/libxcurses/i386/Makefile
+++ b/usr/src/lib/libxcurses/i386/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,12 @@
# CDDL HEADER END
#
#
-#pragma ident "%Z%%M% %I% %E% SMI"
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-# Copyright (c) 1998-1999 by Sun Microsystems, Inc.
-# All rights reserved.
+# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libxcurses/i386/Makefile
-MAPDIR= ../spec/i386
include ../Makefile.com
DYNFLAGS += $(DYNFLAGS32)
diff --git a/usr/src/lib/libxcurses/sparc/Makefile b/usr/src/lib/libxcurses/sparc/Makefile
index 9265d61171..ce1080de7c 100644
--- a/usr/src/lib/libxcurses/sparc/Makefile
+++ b/usr/src/lib/libxcurses/sparc/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,12 @@
# CDDL HEADER END
#
#
-#pragma ident "%Z%%M% %I% %E% SMI"
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-# Copyright (c) 1998-1999 by Sun Microsystems, Inc.
-# All rights reserved.
+# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libxcurses/sparc/Makefile
-MAPDIR= ../spec/sparc
include ../Makefile.com
.KEEP_STATE:
diff --git a/usr/src/lib/libxcurses/sparcv9/Makefile b/usr/src/lib/libxcurses/sparcv9/Makefile
index bd061fa150..b3e73192e3 100644
--- a/usr/src/lib/libxcurses/sparcv9/Makefile
+++ b/usr/src/lib/libxcurses/sparcv9/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,12 @@
# CDDL HEADER END
#
#
-#pragma ident "%Z%%M% %I% %E% SMI"
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-# Copyright (c) 1998-1999 by Sun Microsystems, Inc.
-# All rights reserved.
+# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libxcurses/sparcv9/Makefile
-MAPDIR= ../spec/sparcv9
include ../Makefile.com
include ../../Makefile.lib.64
diff --git a/usr/src/lib/libxcurses/spec/Makefile b/usr/src/lib/libxcurses/spec/Makefile
deleted file mode 100644
index aba0676d97..0000000000
--- a/usr/src/lib/libxcurses/spec/Makefile
+++ /dev/null
@@ -1,30 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libxcurses/spec/Makefile
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/libxcurses/spec/Makefile.targ b/usr/src/lib/libxcurses/spec/Makefile.targ
deleted file mode 100644
index 09f3ea04e9..0000000000
--- a/usr/src/lib/libxcurses/spec/Makefile.targ
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/lixcurses/spec/Makefile.targ
-
-LIBRARY = libcurses.a
-VERS = .1
-
-OBJECTS = xcurses.o
-
-TRANSCPP =
-SPECCPP =
diff --git a/usr/src/lib/libxcurses/spec/amd64/Makefile b/usr/src/lib/libxcurses/spec/amd64/Makefile
deleted file mode 100644
index f0e66f90c9..0000000000
--- a/usr/src/lib/libxcurses/spec/amd64/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#amd64_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(XPG4_ABILIB64)
-
-CFLAGS64 += -D_XOPEN_SOURCE_EXTENDED -I../../h
diff --git a/usr/src/lib/libxcurses/spec/i386/Makefile b/usr/src/lib/libxcurses/spec/i386/Makefile
deleted file mode 100644
index 130dc2cc39..0000000000
--- a/usr/src/lib/libxcurses/spec/i386/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1997-2001 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libxcurses/spec/i386/Makefile
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#i386_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(XPG4_ABILIB)
-
-CFLAGS += -D_XOPEN_SOURCE_EXTENDED -I../../h
diff --git a/usr/src/lib/libxcurses/spec/sparc/Makefile b/usr/src/lib/libxcurses/spec/sparc/Makefile
deleted file mode 100644
index a3984406d6..0000000000
--- a/usr/src/lib/libxcurses/spec/sparc/Makefile
+++ /dev/null
@@ -1,46 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1997-2001 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libxcurses/spec/sparc/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#sparc_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(XPG4_ABILIB)
-
-CFLAGS += -D_XOPEN_SOURCE_EXTENDED -I../../h
diff --git a/usr/src/lib/libxcurses/spec/sparcv9/Makefile b/usr/src/lib/libxcurses/spec/sparcv9/Makefile
deleted file mode 100644
index 6f9ca8f837..0000000000
--- a/usr/src/lib/libxcurses/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,45 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1997-2001 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libxcurses/spec/sparcv9/Makefile
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-sparcv9_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(XPG4_ABILIB64)
-
-CFLAGS64 += -D_XOPEN_SOURCE_EXTENDED -I../../h
diff --git a/usr/src/lib/libxcurses/spec/versions b/usr/src/lib/libxcurses/spec/versions
deleted file mode 100644
index b7d90defcb..0000000000
--- a/usr/src/lib/libxcurses/spec/versions
+++ /dev/null
@@ -1,47 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-i386 {
- SUNW_1.2: {SUNW_1.1};
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-sparc {
- SUNW_1.2: {SUNW_1.1};
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-sparcv9 {
- SUNW_1.2: {SUNW_1.1};
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-amd64 {
- SUNW_1.2: {SUNW_1.1};
- SUNW_1.1;
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/libxcurses/spec/xcurses.spec b/usr/src/lib/libxcurses/spec/xcurses.spec
deleted file mode 100644
index 381201773e..0000000000
--- a/usr/src/lib/libxcurses/spec/xcurses.spec
+++ /dev/null
@@ -1,2333 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libxcurses/spec/xcurses.spec
-
-data COLORS
-version SUNW_1.2
-end
-
-data COLOR_PAIRS
-version SUNW_1.2
-end
-
-data COLS
-version SUNW_1.2
-end
-
-data LINES
-version SUNW_1.2
-end
-
-data cur_term
-version SUNW_1.2
-end
-
-data stdscr
-version SUNW_1.2
-end
-
-data curscr
-version SUNW_1.2
-end
-
-function putp
-include <curses.h>
-declaration int putp(const char *str)
-version SUNW_1.2
-end
-
-function tparm
-include <term.h>
-declaration const char *tparm(const char *cap, long p1, long p2, \
- long p3, long p4, long p5, long p6, long p7, \
- long p8, long p9)
-version SUNW_1.2
-end
-
-function tputs
-include <curses.h>
-declaration int tputs(const char *str, int affcnt, int (*putfunc) (int))
-version SUNW_1.2
-end
-
-function COLOR_PAIR
-include <curses.h>
-declaration unsigned long COLOR_PAIR(short n);
-version SUNW_1.1
-end
-
-function PAIR_NUMBER
-include <curses.h>
-declaration short PAIR_NUMBER(unsigned long value)
-version SUNW_1.1
-end
-
-function add_wch
-include <curses.h>
-declaration int add_wch(const cchar_t *wch)
-version SUNW_1.1
-end
-
-function add_wchnstr
-include <curses.h>
-declaration int add_wchnstr(const cchar_t *wchstr, int n)
-version SUNW_1.1
-end
-
-function addch
-include <curses.h>
-declaration int addch(const chtype ch)
-version SUNW_1.1
-end
-
-function addchnstr
-include <curses.h>
-declaration int addchnstr(const chtype *chstr, int n)
-version SUNW_1.1
-end
-
-function addchstr
-include <curses.h>
-declaration int addchstr(const chtype *chstr)
-version SUNW_1.1
-end
-
-function addnstr
-include <curses.h>
-declaration int addnstr(const char *str, int n)
-version SUNW_1.1
-end
-
-function addnwstr
-include <curses.h>
-declaration int addnwstr(const wchar_t *wstr, int n)
-version SUNW_1.1
-end
-
-function addstr
-include <curses.h>
-declaration int addstr(const char *str)
-version SUNW_1.1
-end
-
-function addwstr
-include <curses.h>
-declaration int addwstr(const wchar_t *wstr)
-version SUNW_1.1
-end
-
-function attr_get
-include <curses.h>
-declaration int attr_get(attr_t *attrs, short *color, void *opts)
-version SUNW_1.1
-end
-
-function attr_on
-include <curses.h>
-declaration int attr_on(attr_t attrs, void *opts)
-version SUNW_1.1
-end
-
-function attr_off
-include <curses.h>
-declaration int attr_off(attr_t attrs, void *opts)
-version SUNW_1.1
-end
-
-function attr_set
-include <curses.h>
-declaration int attr_set(attr_t attrs, short color, void *opts)
-version SUNW_1.1
-end
-
-function attron
-include <curses.h>
-declaration int attron(int attrs)
-version SUNW_1.1
-end
-
-function attroff
-include <curses.h>
-declaration int attroff(int attrs)
-version SUNW_1.1
-end
-
-function attrset
-include <curses.h>
-declaration int attrset(int attrs)
-version SUNW_1.1
-end
-
-function baudrate
-include <curses.h>
-declaration int baudrate(void)
-version SUNW_1.1
-end
-
-function beep
-include <curses.h>
-declaration int beep(void);
-version SUNW_1.1
-end
-
-function bkgd
-include <curses.h>
-declaration int bkgd(chtype ch)
-version SUNW_1.1
-end
-
-function bkgdset
-include <curses.h>
-declaration int bkgdset(chtype ch)
-version SUNW_1.1
-end
-
-function bkgrnd
-include <curses.h>
-declaration int bkgrnd(const cchar_t *wch)
-version SUNW_1.1
-end
-
-function bkgrndset
-include <curses.h>
-declaration void bkgrndset(const cchar_t *wch)
-version SUNW_1.1
-end
-
-function border
-include <curses.h>
-declaration int border(chtype ls, chtype rs, chtype ts, chtype bs, \
- chtype tl, chtype tr, chtype bl, chtype br)
-version SUNW_1.1
-end
-
-function border_set
-include <curses.h>
-declaration int border_set(const cchar_t *ls, const cchar_t *rs, \
- const cchar_t *ts, const cchar_t *bs, const cchar_t *tl, \
- const cchar_t *tr, const cchar_t *bl, const cchar_t *br)
-version SUNW_1.1
-end
-
-function box
-include <curses.h>
-declaration int box(WINDOW *win, chtype verch, chtype horch)
-version SUNW_1.1
-end
-
-function box_set
-include <curses.h>
-declaration int box_set(WINDOW *win, const cchar_t *verch, \
- const cchar_t *horch)
-version SUNW_1.1
-end
-
-function can_change_color
-include <curses.h>
-declaration bool can_change_color(void)
-version SUNW_1.1
-end
-
-function cbreak
-include <curses.h>
-declaration int cbreak(void)
-version SUNW_1.1
-end
-
-function chgat
-include <curses.h>
-declaration int chgat(int n, attr_t attr, short color, const void *opts)
-version SUNW_1.1
-end
-
-function clear
-include <curses.h>
-declaration int clear(void)
-version SUNW_1.1
-end
-
-function clearok
-include <curses.h>
-declaration int clearok(WINDOW *win, bool bf)
-version SUNW_1.1
-end
-
-function clrtobot
-include <curses.h>
-declaration int clrtobot(void)
-version SUNW_1.1
-end
-
-function clrtoeol
-include <curses.h>
-declaration int clrtoeol(void)
-version SUNW_1.1
-end
-
-function color_content
-include <curses.h>
-declaration int color_content(short color, short *red, short *green, \
- short *blue)
-version SUNW_1.1
-end
-
-function color_set
-include <curses.h>
-declaration int color_set(short color, void *opts)
-version SUNW_1.1
-end
-
-function copywin
-include <curses.h>
-declaration int copywin(const WINDOW *srcwin, WINDOW *dstwin, \
- int sminrow, int smincol, int dminrow, int dmincol, \
- int dmaxrow, int dmaxcol, int overlay)
-version SUNW_1.1
-end
-
-function curs_set
-include <curses.h>
-declaration int curs_set(int visibility)
-version SUNW_1.1
-end
-
-function def_shell_mode
-include <curses.h>
-declaration int def_shell_mode(void)
-version SUNW_1.1
-end
-
-function def_prog_mode
-include <curses.h>
-declaration int def_prog_mode(void)
-version SUNW_1.1
-end
-
-function del_curterm
-include <term.h>
-declaration int del_curterm(TERMINAL *oterm)
-version SUNW_1.1
-end
-
-function delay_output
-include <curses.h>
-declaration int delay_output(int ms)
-version SUNW_1.1
-end
-
-function delch
-include <curses.h>
-declaration int delch(void)
-version SUNW_1.1
-end
-
-function deleteln
-include <curses.h>
-declaration int deleteln(void)
-version SUNW_1.1
-end
-
-function delscreen
-include <curses.h>
-declaration void delscreen(SCREEN *sp)
-version SUNW_1.1
-end
-
-function delwin
-include <curses.h>
-declaration int delwin(WINDOW *win)
-version SUNW_1.1
-end
-
-function derwin
-include <curses.h>
-declaration WINDOW *derwin(WINDOW *orig, int nlines, int ncols, \
- int begin_y, int begin_x)
-version SUNW_1.1
-end
-
-function doupdate
-include <curses.h>
-declaration int doupdate(void)
-version SUNW_1.1
-end
-
-function dupwin
-include <curses.h>
-declaration WINDOW *dupwin(WINDOW *win)
-version SUNW_1.1
-end
-
-function echo
-include <curses.h>
-declaration int echo(void)
-version SUNW_1.1
-end
-
-function echo_wchar
-include <curses.h>
-declaration int echo_wchar(const cchar_t *wch)
-version SUNW_1.1
-end
-
-function echochar
-include <curses.h>
-declaration int echochar(const chtype ch)
-version SUNW_1.1
-end
-
-function endwin
-include <curses.h>
-declaration int endwin(void)
-version SUNW_1.1
-end
-
-function erase
-include <curses.h>
-declaration int erase(void)
-version SUNW_1.1
-end
-
-function erasechar
-include <curses.h>
-declaration int erasechar(void)
-version SUNW_1.1
-end
-
-function erasewchar
-include <curses.h>
-declaration int erasewchar(wchar_t *ch)
-version SUNW_1.1
-end
-
-function filter
-include <curses.h>
-declaration void filter(void)
-version SUNW_1.1
-end
-
-function flash
-include <curses.h>
-declaration int flash(void)
-version SUNW_1.1
-end
-
-function flushinp
-include <curses.h>
-declaration int flushinp(void)
-version SUNW_1.1
-end
-
-function get_wch
-include <curses.h>
-declaration int get_wch(wint_t *ch)
-version SUNW_1.1
-end
-
-function get_wstr
-include <curses.h>
-declaration int get_wstr(wint_t *wstr)
-version SUNW_1.1
-end
-
-function getbkgd
-include <curses.h>
-declaration chtype getbkgd(WINDOW *win)
-version SUNW_1.1
-end
-
-function getbkgrnd
-include <curses.h>
-declaration int getbkgrnd(cchar_t *wch)
-version SUNW_1.1
-end
-
-function getcchar
-include <curses.h>
-declaration int getcchar(const cchar_t *wcval, wchar_t *wch, \
- attr_t *attrs, short *color_pair, void *opt)
-version SUNW_1.1
-end
-
-function getch
-include <curses.h>
-declaration int getch(void)
-version SUNW_1.1
-end
-
-function getn_wstr
-include <curses.h>
-declaration int getn_wstr(wint_t *wstr, int n)
-version SUNW_1.1
-end
-
-function getnstr
-include <curses.h>
-declaration int getnstr(char *str, int n)
-version SUNW_1.1
-end
-
-function getstr
-include <curses.h>
-declaration int getstr(char *str)
-version SUNW_1.1
-end
-
-function getwin
-include <curses.h>
-declaration WINDOW *getwin(FILE *filep)
-version SUNW_1.1
-end
-
-function halfdelay
-include <curses.h>
-declaration int halfdelay(int tenths)
-version SUNW_1.1
-end
-
-function has_colors
-include <curses.h>
-declaration bool has_colors(void)
-version SUNW_1.1
-end
-
-function has_ic
-include <curses.h>
-declaration bool has_ic(void)
-version SUNW_1.1
-end
-
-function has_il
-include <curses.h>
-declaration bool has_il(void)
-version SUNW_1.1
-end
-
-function hline
-include <curses.h>
-declaration int hline(chtype ch, int n)
-version SUNW_1.1
-end
-
-function hline_set
-include <curses.h>
-declaration int hline_set(const cchar_t *ch, int n)
-version SUNW_1.1
-end
-
-function idcok
-include <curses.h>
-declaration void idcok(WINDOW *win, bool bf)
-version SUNW_1.1
-end
-
-function idlok
-include <curses.h>
-declaration int idlok(WINDOW *win, bool bf)
-version SUNW_1.1
-end
-
-function immedok
-include <curses.h>
-declaration void immedok(WINDOW *win, bool bf)
-version SUNW_1.1
-end
-
-function in_wch
-include <curses.h>
-declaration int in_wch(cchar_t *wcval)
-version SUNW_1.1
-end
-
-function in_wchnstr
-include <curses.h>
-declaration int in_wchnstr(cchar_t *wchstr, int n)
-version SUNW_1.1
-end
-
-function in_wchstr
-include <curses.h>
-declaration int in_wchstr(cchar_t *wchstr)
-version SUNW_1.1
-end
-
-function inch
-include <curses.h>
-declaration chtype inch(void)
-version SUNW_1.1
-end
-
-function inchnstr
-include <curses.h>
-declaration int inchnstr(chtype *chstr, int n)
-version SUNW_1.1
-end
-
-function inchstr
-include <curses.h>
-declaration int inchstr(chtype *chstr)
-version SUNW_1.1
-end
-
-function init_color
-include <curses.h>
-declaration int init_color(short color, short red, short green, short blue)
-version SUNW_1.1
-end
-
-function init_pair
-include <curses.h>
-declaration int init_pair(short pair, short f, short b)
-version SUNW_1.1
-end
-
-function initscr
-include <curses.h>
-declaration WINDOW *initscr(void)
-version SUNW_1.1
-end
-
-function innstr
-include <curses.h>
-declaration int innstr(char *str, int n)
-version SUNW_1.1
-end
-
-function innwstr
-include <curses.h>
-declaration int innwstr(wchar_t *wstr, int n)
-version SUNW_1.1
-end
-
-function ins_nwstr
-include <curses.h>
-declaration int ins_nwstr(const wchar_t *wstr, int n)
-version SUNW_1.1
-end
-
-function ins_wch
-include <curses.h>
-declaration int ins_wch(const cchar_t *wch)
-version SUNW_1.1
-end
-
-function ins_wstr
-include <curses.h>
-declaration int ins_wstr(const wchar_t *wstr)
-version SUNW_1.1
-end
-
-function insch
-include <curses.h>
-declaration int insch(chtype ch)
-version SUNW_1.1
-end
-
-function insdelln
-include <curses.h>
-declaration int insdelln(int n)
-version SUNW_1.1
-end
-
-function insertln
-include <curses.h>
-declaration int insertln(void)
-version SUNW_1.1
-end
-
-function insnstr
-include <curses.h>
-declaration int insnstr(const char *str, int n)
-version SUNW_1.1
-end
-
-function insstr
-include <curses.h>
-declaration int insstr(const char *str)
-version SUNW_1.1
-end
-
-function instr
-include <curses.h>
-declaration int instr(char *str)
-version SUNW_1.1
-end
-
-function intrflush
-include <curses.h>
-declaration int intrflush(WINDOW *win, bool bf)
-version SUNW_1.1
-end
-
-function inwstr
-include <curses.h>
-declaration int inwstr(wchar_t *wstr)
-version SUNW_1.1
-end
-
-function is_linetouched
-include <curses.h>
-declaration bool is_linetouched(WINDOW *win, int line)
-version SUNW_1.1
-end
-
-function is_wintouched
-include <curses.h>
-declaration bool is_wintouched(WINDOW *win)
-version SUNW_1.1
-end
-
-function isendwin
-include <curses.h>
-declaration bool isendwin(void)
-version SUNW_1.1
-end
-
-function key_name
-include <curses.h>
-declaration const char *key_name(wchar_t wc)
-version SUNW_1.1
-end
-
-function keyname
-include <curses.h>
-declaration const char *keyname(int c)
-version SUNW_1.1
-end
-
-function keypad
-include <curses.h>
-declaration int keypad(WINDOW *win, bool bf)
-version SUNW_1.1
-end
-
-function killchar
-include <curses.h>
-declaration int killchar(void)
-version SUNW_1.1
-end
-
-function killwchar
-include <curses.h>
-declaration int killwchar(wchar_t *ch)
-version SUNW_1.1
-end
-
-function leaveok
-include <curses.h>
-declaration int leaveok(WINDOW *win, bool bf)
-version SUNW_1.1
-end
-
-function longname
-include <curses.h>
-declaration char *longname(void)
-version SUNW_1.1
-end
-
-function meta
-include <curses.h>
-declaration int meta(WINDOW *win, bool bf)
-version SUNW_1.1
-end
-
-function move
-include <curses.h>
-declaration int move(int y, int x)
-version SUNW_1.1
-end
-
-function mvadd_wch
-include <curses.h>
-declaration int mvadd_wch(int y, int x, const cchar_t *wch)
-version SUNW_1.1
-end
-
-function mvadd_wchnstr
-include <curses.h>
-declaration int mvadd_wchnstr(int y, int x, \
- const cchar_t *wchstr, int n)
-version SUNW_1.1
-end
-
-function mvadd_wchstr
-include <curses.h>
-declaration int mvadd_wchstr(int y, int x, const cchar_t *wchstr)
-version SUNW_1.1
-end
-
-function mvaddch
-include <curses.h>
-declaration int mvaddch(int y, int x, const chtype ch)
-version SUNW_1.1
-end
-
-function mvaddchnstr
-include <curses.h>
-declaration int mvaddchnstr(int y, int x, const chtype *chstr, int n)
-version SUNW_1.1
-end
-
-function mvaddchstr
-include <curses.h>
-declaration int mvaddchstr(int y, int x, const chtype *chstr)
-version SUNW_1.1
-end
-
-function mvaddnstr
-include <curses.h>
-declaration int mvaddnstr(int y, int x, const char *str, int n)
-version SUNW_1.1
-end
-
-function mvaddnwstr
-include <curses.h>
-declaration int mvaddnwstr(int y, int x, const wchar_t *wstr, int n)
-version SUNW_1.1
-end
-
-function mvaddstr
-include <curses.h>
-declaration int mvaddstr(int y, int x, const char *str)
-version SUNW_1.1
-end
-
-function mvaddwstr
-include <curses.h>
-declaration int mvaddwstr(int y, int x, const wchar_t *wstr)
-version SUNW_1.1
-end
-
-function mvchgat
-include <curses.h>
-declaration int mvchgat(int y, int x, int n, attr_t attr, \
- short color, const void *opts)
-version SUNW_1.1
-end
-
-function mvcur
-include <curses.h>
-declaration int mvcur(int oldrow, int oldcol, int newrow, int newcol)
-version SUNW_1.1
-end
-
-function mvdelch
-include <curses.h>
-declaration int mvdelch(int y, int x)
-version SUNW_1.1
-end
-
-function mvderwin
-include <curses.h>
-declaration int mvderwin(WINDOW *win, int par_y, int par_x)
-version SUNW_1.1
-end
-
-function mvget_wch
-include <curses.h>
-declaration int mvget_wch(int y, int x, wint_t *ch)
-version SUNW_1.1
-end
-
-function mvgetch
-include <curses.h>
-declaration int mvgetch(int y, int x)
-version SUNW_1.1
-end
-
-function mvgetn_wstr
-include <curses.h>
-declaration int mvgetn_wstr(int y, int x, wint_t *wstr, int n)
-version SUNW_1.1
-end
-
-function mvgetnstr
-include <curses.h>
-declaration int mvgetnstr(int y, int x, char *str, int n)
-version SUNW_1.1
-end
-
-function mvgetstr
-include <curses.h>
-declaration int mvgetstr(int y, int x, char *str)
-version SUNW_1.1
-end
-
-function mvhline
-include <curses.h>
-declaration int mvhline(int y, int x, chtype ch, int n)
-version SUNW_1.1
-end
-
-function mvhline_set
-include <curses.h>
-declaration int mvhline_set(int y, int x, const cchar_t *wch, int n)
-version SUNW_1.1
-end
-
-function mvin_wch
-include <curses.h>
-declaration int mvin_wch(int y, int x, cchar_t *wcval)
-version SUNW_1.1
-end
-
-function mvin_wchnstr
-include <curses.h>
-declaration int mvin_wchnstr(int y, int x, cchar_t *wchstr, int n)
-version SUNW_1.1
-end
-
-function mvin_wchstr
-include <curses.h>
-declaration int mvin_wchstr(int y, int x, cchar_t *wchstr)
-version SUNW_1.1
-end
-
-function mvinch
-include <curses.h>
-declaration chtype mvinch(int y, int x)
-version SUNW_1.1
-end
-
-function mvinchnstr
-include <curses.h>
-declaration int mvinchnstr(int y, int x, chtype *chstr, int n)
-version SUNW_1.1
-end
-
-function mvinchstr
-include <curses.h>
-declaration int mvinchstr(int y, int x, chtype *chstr)
-version SUNW_1.1
-end
-
-function mvinnstr
-include <curses.h>
-declaration int mvinnstr(int y, int x, char *str, int n)
-version SUNW_1.1
-end
-
-function mvinnwstr
-include <curses.h>
-declaration int mvinnwstr(int y, int x, wchar_t *wstr, int n)
-version SUNW_1.1
-end
-
-function mvins_nwstr
-include <curses.h>
-declaration int mvins_nwstr(int y, int x, const wchar_t *wstr, int n)
-version SUNW_1.1
-end
-
-function mvins_wch
-include <curses.h>
-declaration int mvins_wch(int y, int x, const cchar_t *wch)
-version SUNW_1.1
-end
-
-function mvins_wstr
-include <curses.h>
-declaration int mvins_wstr(int y, int x, const wchar_t *wstr)
-version SUNW_1.1
-end
-
-function mvinsch
-include <curses.h>
-declaration int mvinsch(int y, int x, chtype ch)
-version SUNW_1.1
-end
-
-function mvinsnstr
-include <curses.h>
-declaration int mvinsnstr(int y, int x, const char *str, int n)
-version SUNW_1.1
-end
-
-function mvinsstr
-include <curses.h>
-declaration int mvinsstr(int y, int x, const char *str)
-version SUNW_1.1
-end
-
-function mvinstr
-include <curses.h>
-declaration int mvinstr(int y, int x, char *str)
-version SUNW_1.1
-end
-
-function mvinwstr
-include <curses.h>
-declaration int mvinwstr(int y, int x, wchar_t *wstr)
-version SUNW_1.1
-end
-
-function mvprintw
-include <curses.h>
-declaration int mvprintw(int y, int x, char *fmt, ...)
-version SUNW_1.1
-end
-
-function mvscanw
-include <curses.h>
-declaration int mvscanw(int y, int x, char *fmt, ...)
-version SUNW_1.1
-end
-
-function mvwadd_wch
-include <curses.h>
-declaration int mvwadd_wch(WINDOW *win, int y, int x, const cchar_t *wch)
-version SUNW_1.1
-end
-
-function mvwadd_wchnstr
-include <curses.h>
-declaration int mvwadd_wchnstr(WINDOW *win, int y, int x, \
- const cchar_t *wchstr, int n)
-version SUNW_1.1
-end
-
-function mvwadd_wchstr
-include <curses.h>
-declaration int mvwadd_wchstr(WINDOW *win, int y, int x, \
- const cchar_t *wchstr)
-version SUNW_1.1
-end
-
-function mvwaddch
-include <curses.h>
-declaration int mvwaddch(WINDOW *win, int y, int x, const chtype ch)
-version SUNW_1.1
-end
-
-function mvwaddchnstr
-include <curses.h>
-declaration int mvwaddchnstr(WINDOW *win, int y, int x, \
- const chtype *chstr, int n)
-version SUNW_1.1
-end
-
-function mvwaddchstr
-include <curses.h>
-declaration int mvwaddchstr(WINDOW *win, int y, int x, \
- const chtype *chstr)
-version SUNW_1.1
-end
-
-function mvwaddnstr
-include <curses.h>
-declaration int mvwaddnstr(WINDOW *win, int y, int x, \
- const char *str, int n)
-version SUNW_1.1
-end
-
-function mvwaddnwstr
-include <curses.h>
-declaration int mvwaddnwstr(WINDOW *win, int y, int x, \
- const wchar_t *wstr, int n)
-version SUNW_1.1
-end
-
-function mvwaddstr
-include <curses.h>
-declaration int mvwaddstr(WINDOW *win, int y, int x, const char *str)
-version SUNW_1.1
-end
-
-function mvwaddwstr
-include <curses.h>
-declaration int mvwaddwstr(WINDOW *win, int y, int x, const wchar_t *wstr)
-version SUNW_1.1
-end
-
-function mvwchgat
-include <curses.h>
-declaration int mvwchgat(WINDOW *win, int y, int x, int n, \
- attr_t attr, short color, const void *opts)
-version SUNW_1.1
-end
-
-function mvwdelch
-include <curses.h>
-declaration int mvwdelch(WINDOW *win, int y, int x)
-version SUNW_1.1
-end
-
-function mvwget_wch
-include <curses.h>
-declaration int mvwget_wch(WINDOW *win, int y, int x, wint_t *ch)
-version SUNW_1.1
-end
-
-function mvwget_wstr
-include <curses.h>
-declaration int mvwget_wstr(WINDOW *win, int y, int x, wint_t *wstr)
-version SUNW_1.1
-end
-
-function mvwgetch
-include <curses.h>
-declaration int mvwgetch(WINDOW *win, int y, int x)
-version SUNW_1.1
-end
-
-function mvwgetn_wstr
-include <curses.h>
-declaration int mvwgetn_wstr(WINDOW *win, int y, int x, wint_t *wstr, int n)
-version SUNW_1.1
-end
-
-function mvwgetnstr
-include <curses.h>
-declaration int mvwgetnstr(WINDOW *win, int y, int x, char *str, int n)
-version SUNW_1.1
-end
-
-function mvwgetstr
-include <curses.h>
-declaration int mvwgetstr(WINDOW *win, int y, int x, char *str)
-version SUNW_1.1
-end
-
-function mvwhline
-include <curses.h>
-declaration int mvwhline(WINDOW *win, int y, int x, chtype ch, int n)
-version SUNW_1.1
-end
-
-function mvwhline_set
-include <curses.h>
-declaration int mvwhline_set(WINDOW *win, int y, int x, \
- const cchar_t *wch, int n)
-version SUNW_1.1
-end
-
-function mvwin_wch
-include <curses.h>
-declaration int mvwin_wch(WINDOW *win, int y, int x, cchar_t *wcval)
-version SUNW_1.1
-end
-
-function mvwin_wchnstr
-include <curses.h>
-declaration int mvwin_wchnstr(WINDOW *win, int y, int x, \
- cchar_t *wchstr, int n)
-version SUNW_1.1
-end
-
-function mvwin_wchstr
-include <curses.h>
-declaration int mvwin_wchstr(WINDOW *win, int y, int x, cchar_t *wchstr)
-version SUNW_1.1
-end
-
-function mvwin
-include <curses.h>
-declaration int mvwin(WINDOW *win, int y, int x)
-version SUNW_1.1
-end
-
-function mvwinch
-include <curses.h>
-declaration chtype mvwinch(WINDOW *win, int y, int x)
-version SUNW_1.1
-end
-
-function mvwinchnstr
-include <curses.h>
-declaration int mvwinchnstr(WINDOW *win, int y, int x, chtype *chstr, int n)
-version SUNW_1.1
-end
-
-function mvwinchstr
-include <curses.h>
-declaration int mvwinchstr(WINDOW *win, int y, int x, chtype *chstr)
-version SUNW_1.1
-end
-
-function mvwinnstr
-include <curses.h>
-declaration int mvwinnstr(WINDOW *win, int y, int x, char *str, int n)
-version SUNW_1.1
-end
-
-function mvwinnwstr
-include <curses.h>
-declaration int mvwinnwstr(WINDOW*win, int y, int x, wchar_t *wstr, int n)
-version SUNW_1.1
-end
-
-function mvwins_nwstr
-include <curses.h>
-declaration int mvwins_nwstr(WINDOW *win, int y, int x, \
- const wchar_t *wstr, int n)
-version SUNW_1.1
-end
-
-function mvwins_wch
-include <curses.h>
-declaration int mvwins_wch(WINDOW *win, int y, int x, const cchar_t *wch)
-version SUNW_1.1
-end
-
-function mvwins_wstr
-include <curses.h>
-declaration int mvwins_wstr(WINDOW *win, int y, int x, const wchar_t *wstr)
-version SUNW_1.1
-end
-
-function mvwinsch
-include <curses.h>
-declaration int mvwinsch(WINDOW *win, int y, int x, chtype ch)
-version SUNW_1.1
-end
-
-function mvwinsnstr
-include <curses.h>
-declaration int mvwinsnstr(WINDOW *win, int y, int x, \
- const char *str, int n)
-version SUNW_1.1
-end
-
-function mvwinsstr
-include <curses.h>
-declaration int mvwinsstr(WINDOW *win, int y, int x, const char *str)
-version SUNW_1.1
-end
-
-function mvwinstr
-include <curses.h>
-declaration int mvwinstr(WINDOW *win, int y, int x, char *str)
-version SUNW_1.1
-end
-
-function mvwinwstr
-include <curses.h>
-declaration int mvwinwstr(WINDOW*win, int y, int x, wchar_t *wstr)
-version SUNW_1.1
-end
-
-function mvwprintw
-include <curses.h>
-declaration int mvwprintw(WINDOW *win, int y, int x, char *fmt, ...)
-version SUNW_1.1
-end
-
-function mvwscanw
-include <curses.h>
-declaration int mvwscanw(WINDOW *win, int y, int x, char *fmt, ...)
-version SUNW_1.1
-end
-
-function mvwvline
-include <curses.h>
-declaration int mvwvline(WINDOW *win, int y, int x, chtype ch, int n)
-version SUNW_1.1
-end
-
-function mvwvline_set
-include <curses.h>
-declaration int mvwvline_set(WINDOW *win, int y, int x, \
- const cchar_t *wch, int n)
-version SUNW_1.1
-end
-
-function mvvline
-include <curses.h>
-declaration int mvvline(int y, int x, chtype ch, int n)
-version SUNW_1.1
-end
-
-function mvvline_set
-include <curses.h>
-declaration int mvvline_set(int y, int x, const cchar_t *wch, int n)
-version SUNW_1.1
-end
-
-function napms
-include <curses.h>
-declaration int napms(int ms)
-version SUNW_1.1
-end
-
-function newpad
-include <curses.h>
-declaration WINDOW *newpad(int nlines, int ncols)
-version SUNW_1.1
-end
-
-function newterm
-include <curses.h>
-declaration SCREEN *newterm(char *type, FILE *outfp, FILE *infp)
-version SUNW_1.1
-end
-
-function newwin
-include <curses.h>
-declaration WINDOW *newwin(int nlines, int ncols, int begin_y, int begin_x)
-version SUNW_1.1
-end
-
-function nocbreak
-include <curses.h>
-declaration int nocbreak(void)
-version SUNW_1.1
-end
-
-function nodelay
-include <curses.h>
-declaration int nodelay(WINDOW *win, bool bf)
-version SUNW_1.1
-end
-
-function noecho
-include <curses.h>
-declaration int noecho(void)
-version SUNW_1.1
-end
-
-function noqiflush
-include <curses.h>
-declaration void noqiflush(void)
-version SUNW_1.1
-end
-
-function nonl
-include <curses.h>
-declaration int nonl(void)
-version SUNW_1.1
-end
-
-function noraw
-include <curses.h>
-declaration int noraw(void)
-version SUNW_1.1
-end
-
-function notimeout
-include <curses.h>
-declaration int notimeout(WINDOW *win, bool bf)
-version SUNW_1.1
-end
-
-function nl
-include <curses.h>
-declaration int nl(void)
-version SUNW_1.1
-end
-
-function overlay
-include <curses.h>
-declaration int overlay(const WINDOW *srcwin, WINDOW *dstwin)
-version SUNW_1.1
-end
-
-function overwrite
-include <curses.h>
-declaration int overwrite(const WINDOW *srcwin, WINDOW *dstwin)
-version SUNW_1.1
-end
-
-function pair_content
-include <curses.h>
-declaration int pair_content(short pair, short *f, short *b)
-version SUNW_1.1
-end
-
-function pecho_wchar
-include <curses.h>
-declaration int pecho_wchar(WINDOW *pad, const cchar_t *wch)
-version SUNW_1.1
-end
-
-function pechochar
-include <curses.h>
-declaration int pechochar(WINDOW *pad, chtype ch)
-version SUNW_1.1
-end
-
-function pnoutrefresh
-include <curses.h>
-declaration int pnoutrefresh(WINDOW *pad, int pminrow, \
- int pmincol, int sminrow, int smincol, \
- int smaxrow, int smaxcol)
-version SUNW_1.1
-end
-
-function prefresh
-include <curses.h>
-declaration int prefresh(WINDOW *pad, int pminrow, int pmincol, \
- int sminrow, int smincol, int smaxrow, int smaxcol)
-version SUNW_1.1
-end
-
-function printw
-include <curses.h>
-declaration int printw(char *fmt, ...)
-version SUNW_1.1
-end
-
-function putwin
-include <curses.h>
-declaration int putwin(WINDOW *win, FILE *filep)
-version SUNW_1.1
-end
-
-function qiflush
-include <curses.h>
-declaration void qiflush(void)
-version SUNW_1.1
-end
-
-function raw
-include <curses.h>
-declaration int raw(void)
-version SUNW_1.1
-end
-
-function redrawwin
-include <curses.h>
-declaration int redrawwin(WINDOW *win)
-version SUNW_1.1
-end
-
-function refresh
-include <curses.h>
-declaration int refresh(void)
-version SUNW_1.1
-end
-
-function reset_prog_mode
-include <curses.h>
-declaration int reset_prog_mode(void)
-version SUNW_1.1
-end
-
-function reset_shell_mode
-include <curses.h>
-declaration int reset_shell_mode(void)
-version SUNW_1.1
-end
-
-function resetty
-include <curses.h>
-declaration int resetty(void)
-version SUNW_1.1
-end
-
-function restartterm
-include <curses.h>
-declaration int restartterm(const char *term, int fildes, int *errret)
-version SUNW_1.1
-end
-
-function ripoffline
-include <curses.h>
-declaration int ripoffline(int line, int (*init)(WINDOW *win, int width))
-version SUNW_1.1
-end
-
-function savetty
-include <curses.h>
-declaration int savetty(void)
-version SUNW_1.1
-end
-
-function scanw
-include <curses.h>
-declaration int scanw(char *fmt, ...)
-version SUNW_1.1
-end
-
-function scr_dump
-include <curses.h>
-declaration int scr_dump(const char *filename)
-version SUNW_1.1
-end
-
-function scr_init
-include <curses.h>
-declaration int scr_init(const char *filename)
-version SUNW_1.1
-end
-
-function scr_restore
-include <curses.h>
-declaration int scr_restore(const char *filename)
-version SUNW_1.1
-end
-
-function scr_set
-include <curses.h>
-declaration int scr_set(const char *filename)
-version SUNW_1.1
-end
-
-function scrl
-include <curses.h>
-declaration int scrl(int n)
-version SUNW_1.1
-end
-
-function scroll
-include <curses.h>
-declaration int scroll(WINDOW *win)
-version SUNW_1.1
-end
-
-function scrollok
-include <curses.h>
-declaration int scrollok(WINDOW *win, bool bf)
-version SUNW_1.1
-end
-
-function set_curterm
-include <curses.h>
-declaration TERMINAL *set_curterm (TERMINAL *nterm)
-version SUNW_1.1
-end
-
-function set_term
-include <curses.h>
-declaration SCREEN *set_term(SCREEN *new)
-version SUNW_1.1
-end
-
-function setcchar
-include <curses.h>
-declaration int setcchar(cchar_t *wcval, const wchar_t *wch, \
- const attr_t attrs, short color_pair, const void *opts)
-version SUNW_1.1
-end
-
-function setscrreg
-include <curses.h>
-declaration int setscrreg(int top, int bot)
-version SUNW_1.1
-end
-
-function setupterm
-include <term.h>
-declaration int setupterm(const char *term, int fildes, int *errret)
-version SUNW_1.1
-end
-
-function slk_attr_off
-include <curses.h>
-declaration int slk_attr_off(const attr_t attrs, void *opts)
-version SUNW_1.1
-end
-
-function slk_attr_on
-include <curses.h>
-declaration int slk_attr_on(const attr_t attrs, void *opts)
-version SUNW_1.1
-end
-
-function slk_attr_set
-include <curses.h>
-declaration int slk_attr_set(const attr_t attrs, \
- short color_pair_number, void *opts)
-version SUNW_1.1
-end
-
-function slk_attron
-include <curses.h>
-declaration int slk_attron(const chtype attrs)
-version SUNW_1.1
-end
-
-function slk_attroff
-include <curses.h>
-declaration int slk_attroff(const chtype attrs)
-version SUNW_1.1
-end
-
-function slk_attrset
-include <curses.h>
-declaration int slk_attrset(const chtype attrs)
-version SUNW_1.1
-end
-
-function slk_clear
-include <curses.h>
-declaration int slk_clear(void)
-version SUNW_1.1
-end
-
-function slk_color
-include <curses.h>
-declaration int slk_color(short color_pair_number)
-version SUNW_1.1
-end
-
-function slk_init
-include <curses.h>
-declaration int slk_init(int fmt)
-version SUNW_1.1
-end
-
-function slk_label
-include <curses.h>
-declaration char *slk_label(int labnum)
-version SUNW_1.1
-end
-
-function slk_noutrefresh
-include <curses.h>
-declaration int slk_noutrefresh(void)
-version SUNW_1.1
-end
-
-function slk_refresh
-include <curses.h>
-declaration int slk_refresh(void)
-version SUNW_1.1
-end
-
-function slk_restore
-include <curses.h>
-declaration int slk_restore(void)
-version SUNW_1.1
-end
-
-function slk_set
-include <curses.h>
-declaration int slk_set(int labnum, const char *label, int justify)
-version SUNW_1.1
-end
-
-function slk_touch
-include <curses.h>
-declaration int slk_touch(void)
-version SUNW_1.1
-end
-
-function slk_wset
-include <curses.h>
-declaration int slk_wset(int labnum, const wchar_t *label, int justify)
-version SUNW_1.1
-end
-
-function standend
-include <curses.h>
-declaration int standend(void)
-version SUNW_1.1
-end
-
-function standout
-include <curses.h>
-declaration int standout(void)
-version SUNW_1.1
-end
-
-function start_color
-include <curses.h>
-declaration int start_color(void)
-version SUNW_1.1
-end
-
-function subpad
-include <curses.h>
-declaration WINDOW *subpad(WINDOW *orig, int, int, int, int)
-version SUNW_1.1
-end
-
-function subwin
-include <curses.h>
-declaration WINDOW *subwin(WINDOW *orig, int nlines, int ncols, \
- int begin_y, int begin_x)
-version SUNW_1.1
-end
-
-function syncok
-include <curses.h>
-declaration int syncok(WINDOW *win, bool bf)
-version SUNW_1.1
-end
-
-function term_attrs
-include <curses.h>
-declaration attr_t term_attrs(void)
-version SUNW_1.1
-end
-
-function termattrs
-include <curses.h>
-declaration chtype termattrs(void)
-version SUNW_1.1
-end
-
-function termname
-include <curses.h>
-declaration char *termname(void)
-version SUNW_1.1
-end
-
-function tgetent
-include <term.h>
-declaration int tgetent(char *bp, char *name)
-version SUNW_1.1
-end
-
-function tgetflag
-include <term.h>
-declaration int tgetflag(const char id[2])
-version SUNW_1.1
-end
-
-function tgetnum
-include <term.h>
-declaration int tgetnum(const char id[2])
-version SUNW_1.1
-end
-
-function tgetstr
-include <term.h>
-declaration char *tgetstr(const char id[2], char **area)
-version SUNW_1.1
-end
-
-function tgoto
-include <term.h>
-declaration char *tgoto(const char *cap, int col, int row)
-version SUNW_1.1
-end
-
-function tigetflag
-include <term.h>
-declaration int tigetflag(const char *capname)
-version SUNW_1.1
-end
-
-function tigetnum
-include <term.h>
-declaration int tigetnum(const char *capname)
-version SUNW_1.1
-end
-
-function tigetstr
-include <term.h>
-declaration char *tigetstr(const char *capname)
-version SUNW_1.1
-end
-
-function timeout
-include <curses.h>
-declaration void timeout(int delay)
-version SUNW_1.1
-end
-
-function touchline
-include <curses.h>
-declaration int touchline(WINDOW *win, int start, int count)
-version SUNW_1.1
-end
-
-function touchwin
-include <curses.h>
-declaration int touchwin(WINDOW *win)
-version SUNW_1.1
-end
-
-function tstp
-include <curses.h>
-declaration void tstp(int signo)
-version SUNW_1.1
-end
-
-function typeahead
-include <curses.h>
-declaration int typeahead(int fd)
-version SUNW_1.1
-end
-
-function unctrl
-include <unctrl.h>
-declaration const char *unctrl(chtype c)
-version SUNW_1.1
-end
-
-function unget_wch
-include <curses.h>
-declaration int unget_wch(const wchar_t wch)
-version SUNW_1.1
-end
-
-function ungetch
-include <curses.h>
-declaration int ungetch(int ch)
-version SUNW_1.1
-end
-
-function untouchwin
-include <curses.h>
-declaration int untouchwin(WINDOW *win)
-version SUNW_1.1
-end
-
-function use_env
-include <curses.h>
-declaration void use_env(bool boolval)
-version SUNW_1.1
-end
-
-function vid_attr
-include <curses.h>
-declaration int vid_attr(attr_t attr, short color_pair_number, void *opt)
-version SUNW_1.1
-end
-
-function vid_puts
-include <curses.h>
-declaration int vid_puts(attr_t attr, short color_pair_number, \
- void *opt, int (*putfunc) (int))
-version SUNW_1.1
-end
-
-function vidattr
-include <curses.h>
-declaration int vidattr(chtype attr)
-version SUNW_1.1
-end
-
-function vidputs
-include <curses.h>
-declaration int vidputs(chtype attr, int (*putfunc) (int))
-version SUNW_1.1
-end
-
-function vline
-include <curses.h>
-declaration int vline(chtype ch, int n)
-version SUNW_1.1
-end
-
-function vline_set
-include <curses.h>
-declaration int vline_set(const cchar_t *wch, int n)
-version SUNW_1.1
-end
-
-function vw_printw
-include <stdarg.h>, <curses.h>
-declaration int vw_printw(WINDOW *win, const char *fmt, va_list varglist)
-version SUNW_1.1
-end
-
-function vw_scanw
-include <stdarg.h>, <curses.h>
-declaration int vw_scanw(WINDOW *win, const char *fmt, va_list varglist)
-version SUNW_1.1
-end
-
-function vwprintw
-include <curses.h>
-declaration int vwprintw(WINDOW *win, const char *fmt, va_list varglist)
-version SUNW_1.1
-end
-
-function vwscanw
-include <curses.h>
-declaration int vwscanw(WINDOW *win, const char *fmt, va_list varglist)
-version SUNW_1.1
-end
-
-function wadd_wch
-include <curses.h>
-declaration int wadd_wch(WINDOW *win, const cchar_t *wch)
-version SUNW_1.1
-end
-
-function wadd_wchnstr
-include <curses.h>
-declaration int wadd_wchnstr(WINDOW *win, const cchar_t *wchstr, int n)
-version SUNW_1.1
-end
-
-function wadd_wchstr
-include <curses.h>
-declaration int wadd_wchstr(WINDOW *win, const cchar_t *wchstr)
-version SUNW_1.1
-end
-
-function waddch
-include <curses.h>
-declaration int waddch(WINDOW *win, const chtype ch)
-version SUNW_1.1
-end
-
-function waddchnstr
-include <curses.h>
-declaration int waddchnstr(WINDOW *win, const chtype *chstr, int n)
-version SUNW_1.1
-end
-
-function waddchstr
-include <curses.h>
-declaration int waddchstr(WINDOW *win, const chtype *chstr)
-version SUNW_1.1
-end
-
-function waddnstr
-include <curses.h>
-declaration int waddnstr(WINDOW *win, const char *str, int n)
-version SUNW_1.1
-end
-
-function waddnwstr
-include <curses.h>
-declaration int waddnwstr(WINDOW*win, const wchar_t *wstr, int n)
-version SUNW_1.1
-end
-
-function waddstr
-include <curses.h>
-declaration int waddstr(WINDOW *win, const char *str)
-version SUNW_1.1
-end
-
-function waddwstr
-include <curses.h>
-declaration int waddwstr(WINDOW *WIN, const wchar_t *wstr)
-version SUNW_1.1
-end
-
-function wattr_get
-include <curses.h>
-declaration int wattr_get(WINDOW *win, attr_t *attrs, short *color, \
- void *opts)
-version SUNW_1.1
-end
-
-function wattr_on
-include <curses.h>
-declaration int wattr_on(WINDOW *win, attr_t attrs, void *opts)
-version SUNW_1.1
-end
-
-function wattr_off
-include <curses.h>
-declaration int wattr_off(WINDOW *win, attr_t attrs, void *opts)
-version SUNW_1.1
-end
-
-function wattr_set
-include <curses.h>
-declaration int wattr_set(WINDOW *win, attr_t attrs, short color, \
- void *opts)
-version SUNW_1.1
-end
-
-function wattron
-include <curses.h>
-declaration int wattron(WINDOW *win, int attrs)
-version SUNW_1.1
-end
-
-function wattroff
-include <curses.h>
-declaration int wattroff(WINDOW *win, int attrs)
-version SUNW_1.1
-end
-
-function wattrset
-include <curses.h>
-declaration int wattrset(WINDOW *win, int attrs)
-version SUNW_1.1
-end
-
-function wbkgd
-include <curses.h>
-declaration int wbkgd(WINDOW *win, chtype ch)
-version SUNW_1.1
-end
-
-function wbkgdset
-include <curses.h>
-declaration int wbkgdset(WINDOW *win, chtype ch)
-version SUNW_1.1
-end
-
-function wbkgrnd
-include <curses.h>
-declaration int wbkgrnd(WINDOW *win, const cchar_t *wch)
-version SUNW_1.1
-end
-
-function wbkgrndset
-include <curses.h>
-declaration void wbkgrndset(WINDOW *win, const cchar_t *wch)
-version SUNW_1.1
-end
-
-function wborder
-include <curses.h>
-declaration int wborder(WINDOW *win, chtype ls, chtype rs, chtype ts, \
- chtype bs, chtype tl, chtype tr, chtype bl, chtype br)
-version SUNW_1.1
-end
-
-function wborder_set
-include <curses.h>
-declaration int wborder_set(WINDOW *win, const cchar_t *ls, \
- const cchar_t *rs, const cchar_t *ts, \
- const cchar_t *bs, const cchar_t *tl, \
- const cchar_t *tr, const cchar_t *bl, const cchar_t *br)
-version SUNW_1.1
-end
-
-function wchgat
-include <curses.h>
-declaration int wchgat(WINDOW *win, int n, attr_t attr, \
- short color, const void *opts)
-version SUNW_1.1
-end
-
-function wclear
-include <curses.h>
-declaration int wclear(WINDOW *win)
-version SUNW_1.1
-end
-
-function wclrtobot
-include <curses.h>
-declaration int wclrtobot(WINDOW *win)
-version SUNW_1.1
-end
-
-function wclrtoeol
-include <curses.h>
-declaration int wclrtoeol(WINDOW *win)
-version SUNW_1.1
-end
-
-function wcolor_set
-include <curses.h>
-declaration int wcolor_set(WINDOW *win, short color, void *opts)
-version SUNW_1.1
-end
-
-function wcursyncup
-include <curses.h>
-declaration void wcursyncup(WINDOW *win)
-version SUNW_1.1
-end
-
-function wdelch
-include <curses.h>
-declaration int wdelch(WINDOW *win)
-version SUNW_1.1
-end
-
-function wdeleteln
-include <curses.h>
-declaration int wdeleteln(WINDOW *win)
-version SUNW_1.1
-end
-
-function wecho_wchar
-include <curses.h>
-declaration int wecho_wchar(WINDOW *win, const cchar_t *wch)
-version SUNW_1.1
-end
-
-function wechochar
-include <curses.h>
-declaration int wechochar(WINDOW *win, const chtype ch)
-version SUNW_1.1
-end
-
-function werase
-include <curses.h>
-declaration int werase(WINDOW *win)
-version SUNW_1.1
-end
-
-function wget_wch
-include <curses.h>
-declaration int wget_wch(WINDOW *win, wint_t *ch)
-version SUNW_1.1
-end
-
-function wget_wstr
-include <curses.h>
-declaration int wget_wstr(WINDOW *win, wint_t *wstr)
-version SUNW_1.1
-end
-
-function wgetbkgrnd
-include <curses.h>
-declaration int wgetbkgrnd(WINDOW *win, cchar_t *wch)
-version SUNW_1.1
-end
-
-function wgetch
-include <curses.h>
-declaration int wgetch(WINDOW *win)
-version SUNW_1.1
-end
-
-function wgetn_wstr
-include <curses.h>
-declaration int wgetn_wstr(WINDOW *win, wint_t *wstr, int n)
-version SUNW_1.1
-end
-
-function wgetnstr
-include <curses.h>
-declaration int wgetnstr(WINDOW *win, char *str, int n)
-version SUNW_1.1
-end
-
-function wgetstr
-include <curses.h>
-declaration int wgetstr(WINDOW *win, char *str)
-version SUNW_1.1
-end
-
-function whline
-include <curses.h>
-declaration int whline(WINDOW *win, chtype ch, int n)
-version SUNW_1.1
-end
-
-function whline_set
-include <curses.h>
-declaration int whline_set(WINDOW *win, const cchar_t *wch, int n)
-version SUNW_1.1
-end
-
-function win_wch
-include <curses.h>
-declaration int win_wch(WINDOW *win, cchar_t *wcval)
-version SUNW_1.1
-end
-
-function win_wchnstr
-include <curses.h>
-declaration int win_wchnstr(WINDOW *win, cchar_t *wchstr, int n)
-version SUNW_1.1
-end
-
-function win_wchstr
-include <curses.h>
-declaration int win_wchstr(WINDOW *win, cchar_t *wchstr)
-version SUNW_1.1
-end
-
-function winch
-include <curses.h>
-declaration chtype winch(WINDOW *win)
-version SUNW_1.1
-end
-
-function winchnstr
-include <curses.h>
-declaration int winchnstr(WINDOW *win, chtype *chstr, int n)
-version SUNW_1.1
-end
-
-function winchstr
-include <curses.h>
-declaration int winchstr(WINDOW *win, chtype *chstr)
-version SUNW_1.1
-end
-
-function winnstr
-include <curses.h>
-declaration int winnstr(WINDOW *win, char *str, int n)
-version SUNW_1.1
-end
-
-function winnwstr
-include <curses.h>
-declaration int winnwstr(WINDOW*win, wchar_t *wstr, int n)
-version SUNW_1.1
-end
-
-function wins_nwstr
-include <curses.h>
-declaration int wins_nwstr(WINDOW *win, const wchar_t *wstr, int n)
-version SUNW_1.1
-end
-
-function wins_wch
-include <curses.h>
-declaration int wins_wch(WINDOW *win, const cchar_t *wch)
-version SUNW_1.1
-end
-
-function wins_wstr
-include <curses.h>
-declaration int wins_wstr(WINDOW *win, const wchar_t *wstr)
-version SUNW_1.1
-end
-
-function winsch
-include <curses.h>
-declaration int winsch(WINDOW *win, chtype ch)
-version SUNW_1.1
-end
-
-function winsdelln
-include <curses.h>
-declaration int winsdelln(WINDOW *win, int n)
-version SUNW_1.1
-end
-
-function winsertln
-include <curses.h>
-declaration int winsertln(WINDOW *win)
-version SUNW_1.1
-end
-
-function winsnstr
-include <curses.h>
-declaration int winsnstr(WINDOW *win, const char *str, int n)
-version SUNW_1.1
-end
-
-function winsstr
-include <curses.h>
-declaration int winsstr(WINDOW *win, const char *str)
-version SUNW_1.1
-end
-
-function winstr
-include <curses.h>
-declaration int winstr(WINDOW *win, char *str)
-version SUNW_1.1
-end
-
-function winwstr
-include <curses.h>
-declaration int winwstr(WINDOW*win, wchar_t *wstr)
-version SUNW_1.1
-end
-
-function wmove
-include <curses.h>
-declaration int wmove(WINDOW *win, int y, int x)
-version SUNW_1.1
-end
-
-function wnoutrefresh
-include <curses.h>
-declaration int wnoutrefresh(WINDOW *win)
-version SUNW_1.1
-end
-
-function wprintw
-include <curses.h>
-declaration int wprintw(WINDOW *win, char *fmt, ...)
-version SUNW_1.1
-end
-
-function wredrawln
-include <curses.h>
-declaration int wredrawln(WINDOW *win, int beg_line, int num_lines)
-version SUNW_1.1
-end
-
-function wrefresh
-include <curses.h>
-declaration int wrefresh(WINDOW *win)
-version SUNW_1.1
-end
-
-function wscanw
-include <curses.h>
-declaration int wscanw(WINDOW *win, char *fmt, ...)
-version SUNW_1.1
-end
-
-function wscrl
-include <curses.h>
-declaration int wscrl(WINDOW *win, int n)
-version SUNW_1.1
-end
-
-function wsetscrreg
-include <curses.h>
-declaration int wsetscrreg(WINDOW *win, int top, int bot)
-version SUNW_1.1
-end
-
-function wstandout
-include <curses.h>
-declaration int wstandout(WINDOW *win)
-version SUNW_1.1
-end
-
-function wstandend
-include <curses.h>
-declaration int wstandend(WINDOW *win)
-version SUNW_1.1
-end
-
-function wsyncdown
-include <curses.h>
-declaration void wsyncdown(WINDOW *win)
-version SUNW_1.1
-end
-
-function wsyncup
-include <curses.h>
-declaration void wsyncup(WINDOW *win)
-version SUNW_1.1
-end
-
-function wtimeout
-include <curses.h>
-declaration void wtimeout(WINDOW *win, int delay)
-version SUNW_1.1
-end
-
-function wtouchln
-include <curses.h>
-declaration int wtouchln(WINDOW *win, int y, int n, int changed)
-version SUNW_1.1
-end
-
-function wunctrl
-include <curses.h>
-declaration const wchar_t *wunctrl(const cchar_t *wc)
-version SUNW_1.1
-end
-
-function wvline
-include <curses.h>
-declaration int wvline(WINDOW *win, chtype ch, int n)
-version SUNW_1.1
-end
-
-function wvline_set
-include <curses.h>
-declaration int wvline_set(WINDOW *win, const cchar_t *wch, int n)
-version SUNW_1.1
-end
-
diff --git a/usr/src/lib/libxcurses/src/mapfile-vers b/usr/src/lib/libxcurses/src/mapfile-vers
new file mode 100644
index 0000000000..da666d0f89
--- /dev/null
+++ b/usr/src/lib/libxcurses/src/mapfile-vers
@@ -0,0 +1,421 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNW_1.2 {
+ global:
+ COLOR_PAIRS;
+ COLORS;
+ COLS;
+ curscr;
+ cur_term;
+ LINES;
+ putp;
+ stdscr;
+ tparm;
+ tputs;
+} SUNW_1.1;
+
+SUNW_1.1 {
+ global:
+ addch;
+ addchnstr;
+ addchstr;
+ addnstr;
+ addnwstr;
+ addstr;
+ add_wch;
+ add_wchnstr;
+ addwstr;
+ attr_get;
+ attr_off;
+ attroff;
+ attr_on;
+ attron;
+ attr_set;
+ attrset;
+ baudrate;
+ beep;
+ bkgd;
+ bkgdset;
+ bkgrnd;
+ bkgrndset;
+ border;
+ border_set;
+ box;
+ box_set;
+ can_change_color;
+ cbreak;
+ chgat;
+ clear;
+ clearok;
+ clrtobot;
+ clrtoeol;
+ color_content;
+ COLOR_PAIR;
+ color_set;
+ copywin;
+ curs_set;
+ def_prog_mode;
+ def_shell_mode;
+ delay_output;
+ delch;
+ del_curterm;
+ deleteln;
+ delscreen;
+ delwin;
+ derwin;
+ doupdate;
+ dupwin;
+ echo;
+ echochar;
+ echo_wchar;
+ endwin;
+ erase;
+ erasechar;
+ erasewchar;
+ filter;
+ flash;
+ flushinp;
+ getbkgd;
+ getbkgrnd;
+ getcchar;
+ getch;
+ getnstr;
+ getn_wstr;
+ getstr;
+ get_wch;
+ getwin;
+ get_wstr;
+ halfdelay;
+ has_colors;
+ has_ic;
+ has_il;
+ hline;
+ hline_set;
+ idcok;
+ idlok;
+ immedok;
+ inch;
+ inchnstr;
+ inchstr;
+ init_color;
+ init_pair;
+ initscr;
+ innstr;
+ innwstr;
+ insch;
+ insdelln;
+ insertln;
+ insnstr;
+ ins_nwstr;
+ insstr;
+ instr;
+ ins_wch;
+ ins_wstr;
+ intrflush;
+ in_wch;
+ in_wchnstr;
+ in_wchstr;
+ inwstr;
+ isendwin;
+ is_linetouched;
+ is_wintouched;
+ key_name;
+ keyname;
+ keypad;
+ killchar;
+ killwchar;
+ leaveok;
+ longname;
+ meta;
+ move;
+ mvaddch;
+ mvaddchnstr;
+ mvaddchstr;
+ mvaddnstr;
+ mvaddnwstr;
+ mvaddstr;
+ mvadd_wch;
+ mvadd_wchnstr;
+ mvadd_wchstr;
+ mvaddwstr;
+ mvchgat;
+ mvcur;
+ mvdelch;
+ mvderwin;
+ mvgetch;
+ mvgetnstr;
+ mvgetn_wstr;
+ mvgetstr;
+ mvget_wch;
+ mvhline;
+ mvhline_set;
+ mvinch;
+ mvinchnstr;
+ mvinchstr;
+ mvinnstr;
+ mvinnwstr;
+ mvinsch;
+ mvinsnstr;
+ mvins_nwstr;
+ mvinsstr;
+ mvinstr;
+ mvins_wch;
+ mvins_wstr;
+ mvin_wch;
+ mvin_wchnstr;
+ mvin_wchstr;
+ mvinwstr;
+ mvprintw;
+ mvscanw;
+ mvvline;
+ mvvline_set;
+ mvwaddch;
+ mvwaddchnstr;
+ mvwaddchstr;
+ mvwaddnstr;
+ mvwaddnwstr;
+ mvwaddstr;
+ mvwadd_wch;
+ mvwadd_wchnstr;
+ mvwadd_wchstr;
+ mvwaddwstr;
+ mvwchgat;
+ mvwdelch;
+ mvwgetch;
+ mvwgetnstr;
+ mvwgetn_wstr;
+ mvwgetstr;
+ mvwget_wch;
+ mvwget_wstr;
+ mvwhline;
+ mvwhline_set;
+ mvwin;
+ mvwinch;
+ mvwinchnstr;
+ mvwinchstr;
+ mvwinnstr;
+ mvwinnwstr;
+ mvwinsch;
+ mvwinsnstr;
+ mvwins_nwstr;
+ mvwinsstr;
+ mvwinstr;
+ mvwins_wch;
+ mvwins_wstr;
+ mvwin_wch;
+ mvwin_wchnstr;
+ mvwin_wchstr;
+ mvwinwstr;
+ mvwprintw;
+ mvwscanw;
+ mvwvline;
+ mvwvline_set;
+ napms;
+ newpad;
+ newterm;
+ newwin;
+ nl;
+ nocbreak;
+ nodelay;
+ noecho;
+ nonl;
+ noqiflush;
+ noraw;
+ notimeout;
+ overlay;
+ overwrite;
+ pair_content;
+ PAIR_NUMBER;
+ pechochar;
+ pecho_wchar;
+ pnoutrefresh;
+ prefresh;
+ printw;
+ putwin;
+ qiflush;
+ raw;
+ redrawwin;
+ refresh;
+ reset_prog_mode;
+ reset_shell_mode;
+ resetty;
+ restartterm;
+ ripoffline;
+ savetty;
+ scanw;
+ scr_dump;
+ scr_init;
+ scrl;
+ scroll;
+ scrollok;
+ scr_restore;
+ scr_set;
+ setcchar;
+ set_curterm;
+ setscrreg;
+ set_term;
+ setupterm;
+ slk_attr_off;
+ slk_attroff;
+ slk_attr_on;
+ slk_attron;
+ slk_attr_set;
+ slk_attrset;
+ slk_clear;
+ slk_color;
+ slk_init;
+ slk_label;
+ slk_noutrefresh;
+ slk_refresh;
+ slk_restore;
+ slk_set;
+ slk_touch;
+ slk_wset;
+ standend;
+ standout;
+ start_color;
+ subpad;
+ subwin;
+ syncok;
+ term_attrs;
+ termattrs;
+ termname;
+ tgetent;
+ tgetflag;
+ tgetnum;
+ tgetstr;
+ tgoto;
+ tigetflag;
+ tigetnum;
+ tigetstr;
+ timeout;
+ touchline;
+ touchwin;
+ tstp;
+ typeahead;
+ unctrl;
+ ungetch;
+ unget_wch;
+ untouchwin;
+ use_env;
+ vid_attr;
+ vidattr;
+ vid_puts;
+ vidputs;
+ vline;
+ vline_set;
+ vw_printw;
+ vwprintw;
+ vw_scanw;
+ vwscanw;
+ waddch;
+ waddchnstr;
+ waddchstr;
+ waddnstr;
+ waddnwstr;
+ waddstr;
+ wadd_wch;
+ wadd_wchnstr;
+ wadd_wchstr;
+ waddwstr;
+ wattr_get;
+ wattr_off;
+ wattroff;
+ wattr_on;
+ wattron;
+ wattr_set;
+ wattrset;
+ wbkgd;
+ wbkgdset;
+ wbkgrnd;
+ wbkgrndset;
+ wborder;
+ wborder_set;
+ wchgat;
+ wclear;
+ wclrtobot;
+ wclrtoeol;
+ wcolor_set;
+ wcursyncup;
+ wdelch;
+ wdeleteln;
+ wechochar;
+ wecho_wchar;
+ werase;
+ wgetbkgrnd;
+ wgetch;
+ wgetnstr;
+ wgetn_wstr;
+ wgetstr;
+ wget_wch;
+ wget_wstr;
+ whline;
+ whline_set;
+ winch;
+ winchnstr;
+ winchstr;
+ winnstr;
+ winnwstr;
+ winsch;
+ winsdelln;
+ winsertln;
+ winsnstr;
+ wins_nwstr;
+ winsstr;
+ winstr;
+ wins_wch;
+ wins_wstr;
+ win_wch;
+ win_wchnstr;
+ win_wchstr;
+ winwstr;
+ wmove;
+ wnoutrefresh;
+ wprintw;
+ wredrawln;
+ wrefresh;
+ wscanw;
+ wscrl;
+ wsetscrreg;
+ wstandend;
+ wstandout;
+ wsyncdown;
+ wsyncup;
+ wtimeout;
+ wtouchln;
+ wunctrl;
+ wvline;
+ wvline_set;
+};
+
+SUNWprivate_1.1 {
+ global:
+ SUNWprivate_1.1;
+ local:
+ *;
+};
diff --git a/usr/src/lib/libxcurses2/Makefile b/usr/src/lib/libxcurses2/Makefile
index c21b2f7d31..c4acc11245 100644
--- a/usr/src/lib/libxcurses2/Makefile
+++ b/usr/src/lib/libxcurses2/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,16 +19,16 @@
# CDDL HEADER END
#
#
-# Copyright (c) 1995-1999 by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-#pragma ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libxcurses/Makefile
include ../Makefile.lib
-SUBDIRS = spec .WAIT $(MACH) $(BUILD64) $(MACH64)
+SUBDIRS = $(MACH)
+$(BUILD64)SUBDIRS += $(MACH64)
all := TARGET= all
install := TARGET= install
@@ -79,7 +78,7 @@ check: $(HDRS)
install_h: $(ROOTHDRS)
-$(MACH) $(MACH64) spec: $(GENERATED)
+$(SUBDIRS): $(GENERATED)
@cd $@; pwd; $(MAKE) $(TARGET)
# derived C files
@@ -96,5 +95,3 @@ h/term.h : src/libc/xcurses/mkterm.awk src/libc/xcurses/caps
src/libc/xcurses/keyindex.c : src/libc/xcurses/mkkey.awk src/libc/xcurses/caps
$(RM) $@
cd src/libc/xcurses; nawk -f mkkey.awk caps > keyindex.c
-
-FRC:
diff --git a/usr/src/lib/libxcurses2/Makefile.com b/usr/src/lib/libxcurses2/Makefile.com
index 6aee49f905..022b180a59 100644
--- a/usr/src/lib/libxcurses2/Makefile.com
+++ b/usr/src/lib/libxcurses2/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,7 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
@@ -79,7 +78,8 @@ WIDE= wio_get.o wio_put.o
# include library definitions
include ../../Makefile.lib
-MAPFILE= $(MAPDIR)/mapfile
+SRCDIR = ../src
+
SRCS= $(XCURSES:%.o=../src/libc/xcurses/%.c) \
$(MKS:%.o=../src/libc/mks/%.c) \
$(WIDE:%.o=../src/libc/wide/%.c)
@@ -95,7 +95,6 @@ $(LINTLIB):= SRCS=../src/libc/llib-lcurses
LINTSRC= $(LINTLIB:%.ln=%)
-DYNFLAGS += -M$(MAPFILE)
LDLIBS += -lc
CPPFLAGS = -I../h -I../src/libc/xcurses $(CPPFLAGS.master)
@@ -104,7 +103,7 @@ CPPFLAGS = -I../h -I../src/libc/xcurses $(CPPFLAGS.master)
# If and when somebody gets around to messaging this, CLOBBERFILE should not
# be cleared (so that any .po file will be clobbered.
#
-CLOBBERFILES= libcurses.so libcurses.so$(VERS) $(MAPFILE)
+CLOBBERFILES= libcurses.so libcurses.so$(VERS)
.KEEP_STATE:
@@ -112,11 +111,6 @@ all: $(LIBS)
lint: lintcheck
-$(DYNLIB): $(MAPFILE)
-
-$(MAPFILE):
- @cd $(MAPDIR); $(MAKE) mapfile
-
#
# Include library targets
#
diff --git a/usr/src/lib/libxcurses2/amd64/Makefile b/usr/src/lib/libxcurses2/amd64/Makefile
index cb86d986a2..80a8e6fcb2 100644
--- a/usr/src/lib/libxcurses2/amd64/Makefile
+++ b/usr/src/lib/libxcurses2/amd64/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,13 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-MAPDIR= ../spec/amd64
include ../Makefile.com
include ../../Makefile.lib.64
diff --git a/usr/src/lib/libxcurses2/i386/Makefile b/usr/src/lib/libxcurses2/i386/Makefile
index 4a4afb5133..4351f4cf5f 100644
--- a/usr/src/lib/libxcurses2/i386/Makefile
+++ b/usr/src/lib/libxcurses2/i386/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,12 @@
# CDDL HEADER END
#
#
-#pragma ident "%Z%%M% %I% %E% SMI"
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-# Copyright (c) 1998-1999 by Sun Microsystems, Inc.
-# All rights reserved.
+# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libxcurses/i386/Makefile
-MAPDIR= ../spec/i386
include ../Makefile.com
DYNFLAGS += $(DYNFLAGS32)
diff --git a/usr/src/lib/libxcurses2/sparc/Makefile b/usr/src/lib/libxcurses2/sparc/Makefile
index 09f1ded02b..14b8ae0ed1 100644
--- a/usr/src/lib/libxcurses2/sparc/Makefile
+++ b/usr/src/lib/libxcurses2/sparc/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,12 @@
# CDDL HEADER END
#
#
-#pragma ident "%Z%%M% %I% %E% SMI"
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-# Copyright (c) 1998-1999 by Sun Microsystems, Inc.
-# All rights reserved.
+# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libxcurses/sparc/Makefile
-MAPDIR= ../spec/sparc
include ../Makefile.com
.KEEP_STATE:
diff --git a/usr/src/lib/libxcurses2/sparcv9/Makefile b/usr/src/lib/libxcurses2/sparcv9/Makefile
index 322a04ade1..80a8e6fcb2 100644
--- a/usr/src/lib/libxcurses2/sparcv9/Makefile
+++ b/usr/src/lib/libxcurses2/sparcv9/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,12 @@
# CDDL HEADER END
#
#
-#pragma ident "%Z%%M% %I% %E% SMI"
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-# Copyright (c) 1998-1999 by Sun Microsystems, Inc.
-# All rights reserved.
+# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libxcurses/sparcv9/Makefile
-MAPDIR= ../spec/sparcv9
include ../Makefile.com
include ../../Makefile.lib.64
diff --git a/usr/src/lib/libxcurses2/spec/Makefile b/usr/src/lib/libxcurses2/spec/Makefile
deleted file mode 100644
index aba0676d97..0000000000
--- a/usr/src/lib/libxcurses2/spec/Makefile
+++ /dev/null
@@ -1,30 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libxcurses/spec/Makefile
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/libxcurses2/spec/Makefile.targ b/usr/src/lib/libxcurses2/spec/Makefile.targ
deleted file mode 100644
index 27332aebc7..0000000000
--- a/usr/src/lib/libxcurses2/spec/Makefile.targ
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1997-2000 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/lixcurses/spec/Makefile.targ
-
-LIBRARY = libcurses.a
-VERS = .2
-
-OBJECTS = xcurses.o
-
-TRANSCPP =
-SPECCPP =
diff --git a/usr/src/lib/libxcurses2/spec/amd64/Makefile b/usr/src/lib/libxcurses2/spec/amd64/Makefile
deleted file mode 100644
index 1aa658b7c3..0000000000
--- a/usr/src/lib/libxcurses2/spec/amd64/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#amd64_C_PICFLAGS = $(amd64_C_BIGPICFLAGS)
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(XPG4_ABILIB64)
-
-CFLAGS64 += -I../../h
diff --git a/usr/src/lib/libxcurses2/spec/i386/Makefile b/usr/src/lib/libxcurses2/spec/i386/Makefile
deleted file mode 100644
index 8758753959..0000000000
--- a/usr/src/lib/libxcurses2/spec/i386/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1997-2001 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libxcurses/spec/i386/Makefile
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#i386_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(XPG4_ABILIB)
-
-CFLAGS += -I../../h
diff --git a/usr/src/lib/libxcurses2/spec/sparc/Makefile b/usr/src/lib/libxcurses2/spec/sparc/Makefile
deleted file mode 100644
index c5b7effa2f..0000000000
--- a/usr/src/lib/libxcurses2/spec/sparc/Makefile
+++ /dev/null
@@ -1,46 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1997-2001 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libxcurses/spec/sparc/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#sparc_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(XPG4_ABILIB)
-
-CFLAGS += -I../../h
diff --git a/usr/src/lib/libxcurses2/spec/sparcv9/Makefile b/usr/src/lib/libxcurses2/spec/sparcv9/Makefile
deleted file mode 100644
index 3c17e696b5..0000000000
--- a/usr/src/lib/libxcurses2/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,45 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1997-2001 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libxcurses/spec/sparcv9/Makefile
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-sparcv9_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(XPG4_ABILIB64)
-
-CFLAGS64 += -I../../h
diff --git a/usr/src/lib/libxcurses2/spec/versions b/usr/src/lib/libxcurses2/spec/versions
deleted file mode 100644
index 5fa1ed3b51..0000000000
--- a/usr/src/lib/libxcurses2/spec/versions
+++ /dev/null
@@ -1,47 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-sparc {
- SUNW_1.2: {SUNW_1.1};
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-sparcv9 {
- SUNW_1.2: {SUNW_1.1};
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-i386 {
- SUNW_1.2: {SUNW_1.1};
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-amd64 {
- SUNW_1.2: {SUNW_1.1};
- SUNW_1.1;
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/libxcurses2/spec/xcurses.spec b/usr/src/lib/libxcurses2/spec/xcurses.spec
deleted file mode 100644
index b530fb89fb..0000000000
--- a/usr/src/lib/libxcurses2/spec/xcurses.spec
+++ /dev/null
@@ -1,2495 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libxcurses/spec/xcurses.spec
-
-data COLORS
-version SUNW_1.2
-end
-
-data COLOR_PAIRS
-version SUNW_1.2
-end
-
-data COLS
-version SUNW_1.2
-end
-
-data LINES
-version SUNW_1.2
-end
-
-data cur_term
-version SUNW_1.2
-end
-
-data stdscr
-version SUNW_1.2
-end
-
-data curscr
-version SUNW_1.2
-end
-
-function putp
-include <curses.h>
-declaration int putp(const char *str)
-version SUNW_1.2
-end
-
-function tparm
-include <term.h>
-declaration char *tparm(char *cap, long p1, long p2, \
- long p3, long p4, long p5, long p6, long p7, \
- long p8, long p9)
-version SUNW_1.2
-end
-
-function tputs
-include <curses.h>
-declaration int tputs(const char *str, int affcnt, int (*putfunc) (int))
-version SUNW_1.2
-end
-
-function add_wchstr
-version SUNW_1.2
-end
-
-function mvget_wstr
-version SUNW_1.2
-end
-
-function COLOR_PAIR
-include <curses.h>
-declaration int COLOR_PAIR(int n);
-version SUNW_1.1
-end
-
-function PAIR_NUMBER
-include <curses.h>
-declaration int PAIR_NUMBER(int value)
-version SUNW_1.1
-end
-
-function add_wch
-include <curses.h>
-declaration int add_wch(const cchar_t *wch)
-version SUNW_1.1
-end
-
-function add_wchnstr
-include <curses.h>
-declaration int add_wchnstr(const cchar_t *wchstr, int n)
-version SUNW_1.1
-end
-
-function addch
-include <curses.h>
-declaration int addch(const chtype ch)
-version SUNW_1.1
-end
-
-function addchnstr
-include <curses.h>
-declaration int addchnstr(const chtype *chstr, int n)
-version SUNW_1.1
-end
-
-function addchstr
-include <curses.h>
-declaration int addchstr(const chtype *chstr)
-version SUNW_1.1
-end
-
-function addnstr
-include <curses.h>
-declaration int addnstr(const char *str, int n)
-version SUNW_1.1
-end
-
-function addnwstr
-include <curses.h>
-declaration int addnwstr(const wchar_t *wstr, int n)
-version SUNW_1.1
-end
-
-function addstr
-include <curses.h>
-declaration int addstr(const char *str)
-version SUNW_1.1
-end
-
-function addwstr
-include <curses.h>
-declaration int addwstr(const wchar_t *wstr)
-version SUNW_1.1
-end
-
-function attr_get
-include <curses.h>
-declaration int attr_get(attr_t *attrs, short *color, void *opts)
-version SUNW_1.1
-end
-
-function attr_on
-include <curses.h>
-declaration int attr_on(attr_t attrs, void *opts)
-version SUNW_1.1
-end
-
-function attr_off
-include <curses.h>
-declaration int attr_off(attr_t attrs, void *opts)
-version SUNW_1.1
-end
-
-function attr_set
-include <curses.h>
-declaration int attr_set(attr_t attrs, short color, void *opts)
-version SUNW_1.1
-end
-
-function attron
-include <curses.h>
-declaration int attron(int attrs)
-version SUNW_1.1
-end
-
-function attroff
-include <curses.h>
-declaration int attroff(int attrs)
-version SUNW_1.1
-end
-
-function attrset
-include <curses.h>
-declaration int attrset(int attrs)
-version SUNW_1.1
-end
-
-function baudrate
-include <curses.h>
-declaration int baudrate(void)
-version SUNW_1.1
-end
-
-function beep
-include <curses.h>
-declaration int beep(void);
-version SUNW_1.1
-end
-
-function bkgd
-include <curses.h>
-declaration int bkgd(chtype ch)
-version SUNW_1.1
-end
-
-function bkgdset
-include <curses.h>
-declaration void bkgdset(chtype ch)
-version SUNW_1.1
-end
-
-function bkgrnd
-include <curses.h>
-declaration int bkgrnd(const cchar_t *wch)
-version SUNW_1.1
-end
-
-function bkgrndset
-include <curses.h>
-declaration void bkgrndset(const cchar_t *wch)
-version SUNW_1.1
-end
-
-function border
-include <curses.h>
-declaration int border(chtype ls, chtype rs, chtype ts, chtype bs, \
- chtype tl, chtype tr, chtype bl, chtype br)
-version SUNW_1.1
-end
-
-function border_set
-include <curses.h>
-declaration int border_set(const cchar_t *ls, const cchar_t *rs, \
- const cchar_t *ts, const cchar_t *bs, const cchar_t *tl, \
- const cchar_t *tr, const cchar_t *bl, const cchar_t *br)
-version SUNW_1.1
-end
-
-function box
-include <curses.h>
-declaration int box(WINDOW *win, chtype verch, chtype horch)
-version SUNW_1.1
-end
-
-function box_set
-include <curses.h>
-declaration int box_set(WINDOW *win, const cchar_t *verch, \
- const cchar_t *horch)
-version SUNW_1.1
-end
-
-function can_change_color
-include <curses.h>
-declaration bool can_change_color(void)
-version SUNW_1.1
-end
-
-function cbreak
-include <curses.h>
-declaration int cbreak(void)
-version SUNW_1.1
-end
-
-function chgat
-include <curses.h>
-declaration int chgat(int n, attr_t attr, short color, const void *opts)
-version SUNW_1.1
-end
-
-function clear
-include <curses.h>
-declaration int clear(void)
-version SUNW_1.1
-end
-
-function clearok
-include <curses.h>
-declaration int clearok(WINDOW *win, bool bf)
-version SUNW_1.1
-end
-
-function clrtobot
-include <curses.h>
-declaration int clrtobot(void)
-version SUNW_1.1
-end
-
-function clrtoeol
-include <curses.h>
-declaration int clrtoeol(void)
-version SUNW_1.1
-end
-
-function color_content
-include <curses.h>
-declaration int color_content(short color, short *red, short *green, \
- short *blue)
-version SUNW_1.1
-end
-
-function color_set
-include <curses.h>
-declaration int color_set(short color, void *opts)
-version SUNW_1.1
-end
-
-function copywin
-include <curses.h>
-declaration int copywin(const WINDOW *srcwin, WINDOW *dstwin, \
- int sminrow, int smincol, int dminrow, int dmincol, \
- int dmaxrow, int dmaxcol, int overlay)
-version SUNW_1.1
-end
-
-function curs_set
-include <curses.h>
-declaration int curs_set(int visibility)
-version SUNW_1.1
-end
-
-function def_shell_mode
-include <curses.h>
-declaration int def_shell_mode(void)
-version SUNW_1.1
-end
-
-function def_prog_mode
-include <curses.h>
-declaration int def_prog_mode(void)
-version SUNW_1.1
-end
-
-function del_curterm
-include <term.h>
-declaration int del_curterm(TERMINAL *oterm)
-version SUNW_1.1
-end
-
-function delay_output
-include <curses.h>
-declaration int delay_output(int ms)
-version SUNW_1.1
-end
-
-function delch
-include <curses.h>
-declaration int delch(void)
-version SUNW_1.1
-end
-
-function deleteln
-include <curses.h>
-declaration int deleteln(void)
-version SUNW_1.1
-end
-
-function delscreen
-include <curses.h>
-declaration void delscreen(SCREEN *sp)
-version SUNW_1.1
-end
-
-function delwin
-include <curses.h>
-declaration int delwin(WINDOW *win)
-version SUNW_1.1
-end
-
-function derwin
-include <curses.h>
-declaration WINDOW *derwin(WINDOW *orig, int nlines, int ncols, \
- int begin_y, int begin_x)
-version SUNW_1.1
-end
-
-function doupdate
-include <curses.h>
-declaration int doupdate(void)
-version SUNW_1.1
-end
-
-function dupwin
-include <curses.h>
-declaration WINDOW *dupwin(WINDOW *win)
-version SUNW_1.1
-end
-
-function echo
-include <curses.h>
-declaration int echo(void)
-version SUNW_1.1
-end
-
-function echo_wchar
-include <curses.h>
-declaration int echo_wchar(const cchar_t *wch)
-version SUNW_1.1
-end
-
-function echochar
-include <curses.h>
-declaration int echochar(const chtype ch)
-version SUNW_1.1
-end
-
-function endwin
-include <curses.h>
-declaration int endwin(void)
-version SUNW_1.1
-end
-
-function erase
-include <curses.h>
-declaration int erase(void)
-version SUNW_1.1
-end
-
-function erasechar
-include <curses.h>
-declaration char erasechar(void)
-version SUNW_1.1
-end
-
-function erasewchar
-include <curses.h>
-declaration int erasewchar(wchar_t *ch)
-version SUNW_1.1
-end
-
-function filter
-include <curses.h>
-declaration void filter(void)
-version SUNW_1.1
-end
-
-function flash
-include <curses.h>
-declaration int flash(void)
-version SUNW_1.1
-end
-
-function flushinp
-include <curses.h>
-declaration int flushinp(void)
-version SUNW_1.1
-end
-
-function get_wch
-include <curses.h>
-declaration int get_wch(wint_t *ch)
-version SUNW_1.1
-end
-
-function get_wstr
-include <curses.h>
-declaration int get_wstr(wint_t *wstr)
-version SUNW_1.1
-end
-
-function getbkgd
-include <curses.h>
-declaration chtype getbkgd(WINDOW *win)
-version SUNW_1.1
-end
-
-function getbkgrnd
-include <curses.h>
-declaration int getbkgrnd(cchar_t *wch)
-version SUNW_1.1
-end
-
-function getcchar
-include <curses.h>
-declaration int getcchar(const cchar_t *wcval, wchar_t *wch, \
- attr_t *attrs, short *color_pair, void *opt)
-version SUNW_1.1
-end
-
-function getch
-include <curses.h>
-declaration int getch(void)
-version SUNW_1.1
-end
-
-function getn_wstr
-include <curses.h>
-declaration int getn_wstr(wint_t *wstr, int n)
-version SUNW_1.1
-end
-
-function getnstr
-include <curses.h>
-declaration int getnstr(char *str, int n)
-version SUNW_1.1
-end
-
-function getstr
-include <curses.h>
-declaration int getstr(char *str)
-version SUNW_1.1
-end
-
-function getwin
-include <curses.h>
-declaration WINDOW *getwin(FILE *filep)
-version SUNW_1.1
-end
-
-function halfdelay
-include <curses.h>
-declaration int halfdelay(int tenths)
-version SUNW_1.1
-end
-
-function has_colors
-include <curses.h>
-declaration bool has_colors(void)
-version SUNW_1.1
-end
-
-function has_ic
-include <curses.h>
-declaration bool has_ic(void)
-version SUNW_1.1
-end
-
-function has_il
-include <curses.h>
-declaration bool has_il(void)
-version SUNW_1.1
-end
-
-function hline
-include <curses.h>
-declaration int hline(chtype ch, int n)
-version SUNW_1.1
-end
-
-function hline_set
-include <curses.h>
-declaration int hline_set(const cchar_t *ch, int n)
-version SUNW_1.1
-end
-
-function idcok
-include <curses.h>
-declaration void idcok(WINDOW *win, bool bf)
-version SUNW_1.1
-end
-
-function idlok
-include <curses.h>
-declaration int idlok(WINDOW *win, bool bf)
-version SUNW_1.1
-end
-
-function immedok
-include <curses.h>
-declaration void immedok(WINDOW *win, bool bf)
-version SUNW_1.1
-end
-
-function in_wch
-include <curses.h>
-declaration int in_wch(cchar_t *wcval)
-version SUNW_1.1
-end
-
-function in_wchnstr
-include <curses.h>
-declaration int in_wchnstr(cchar_t *wchstr, int n)
-version SUNW_1.1
-end
-
-function in_wchstr
-include <curses.h>
-declaration int in_wchstr(cchar_t *wchstr)
-version SUNW_1.1
-end
-
-function inch
-include <curses.h>
-declaration chtype inch(void)
-version SUNW_1.1
-end
-
-function inchnstr
-include <curses.h>
-declaration int inchnstr(chtype *chstr, int n)
-version SUNW_1.1
-end
-
-function inchstr
-include <curses.h>
-declaration int inchstr(chtype *chstr)
-version SUNW_1.1
-end
-
-function init_color
-include <curses.h>
-declaration int init_color(short color, short red, short green, short blue)
-version SUNW_1.1
-end
-
-function init_pair
-include <curses.h>
-declaration int init_pair(short pair, short f, short b)
-version SUNW_1.1
-end
-
-function initscr
-include <curses.h>
-declaration WINDOW *initscr(void)
-version SUNW_1.1
-end
-
-function innstr
-include <curses.h>
-declaration int innstr(char *str, int n)
-version SUNW_1.1
-end
-
-function innwstr
-include <curses.h>
-declaration int innwstr(wchar_t *wstr, int n)
-version SUNW_1.1
-end
-
-function ins_nwstr
-include <curses.h>
-declaration int ins_nwstr(const wchar_t *wstr, int n)
-version SUNW_1.1
-end
-
-function ins_wch
-include <curses.h>
-declaration int ins_wch(const cchar_t *wch)
-version SUNW_1.1
-end
-
-function ins_wstr
-include <curses.h>
-declaration int ins_wstr(const wchar_t *wstr)
-version SUNW_1.1
-end
-
-function insch
-include <curses.h>
-declaration int insch(chtype ch)
-version SUNW_1.1
-end
-
-function insdelln
-include <curses.h>
-declaration int insdelln(int n)
-version SUNW_1.1
-end
-
-function insertln
-include <curses.h>
-declaration int insertln(void)
-version SUNW_1.1
-end
-
-function insnstr
-include <curses.h>
-declaration int insnstr(const char *str, int n)
-version SUNW_1.1
-end
-
-function insstr
-include <curses.h>
-declaration int insstr(const char *str)
-version SUNW_1.1
-end
-
-function instr
-include <curses.h>
-declaration int instr(char *str)
-version SUNW_1.1
-end
-
-function intrflush
-include <curses.h>
-declaration int intrflush(WINDOW *win, bool bf)
-version SUNW_1.1
-end
-
-function inwstr
-include <curses.h>
-declaration int inwstr(wchar_t *wstr)
-version SUNW_1.1
-end
-
-function is_linetouched
-include <curses.h>
-declaration bool is_linetouched(WINDOW *win, int line)
-version SUNW_1.1
-end
-
-function is_wintouched
-include <curses.h>
-declaration bool is_wintouched(WINDOW *win)
-version SUNW_1.1
-end
-
-function isendwin
-include <curses.h>
-declaration bool isendwin(void)
-version SUNW_1.1
-end
-
-function key_name
-include <curses.h>
-declaration char *key_name(wchar_t wc)
-version SUNW_1.1
-end
-
-function keyname
-include <curses.h>
-declaration char *keyname(int c)
-version SUNW_1.1
-end
-
-function keypad
-include <curses.h>
-declaration int keypad(WINDOW *win, bool bf)
-version SUNW_1.1
-end
-
-function killchar
-include <curses.h>
-declaration char killchar(void)
-version SUNW_1.1
-end
-
-function killwchar
-include <curses.h>
-declaration int killwchar(wchar_t *ch)
-version SUNW_1.1
-end
-
-function leaveok
-include <curses.h>
-declaration int leaveok(WINDOW *win, bool bf)
-version SUNW_1.1
-end
-
-function longname
-include <curses.h>
-declaration char *longname(void)
-version SUNW_1.1
-end
-
-function meta
-include <curses.h>
-declaration int meta(WINDOW *win, bool bf)
-version SUNW_1.1
-end
-
-function move
-include <curses.h>
-declaration int move(int y, int x)
-version SUNW_1.1
-end
-
-function mvadd_wch
-include <curses.h>
-declaration int mvadd_wch(int y, int x, const cchar_t *wch)
-version SUNW_1.1
-end
-
-function mvadd_wchnstr
-include <curses.h>
-declaration int mvadd_wchnstr(int y, int x, \
- const cchar_t *wchstr, int n)
-version SUNW_1.1
-end
-
-function mvadd_wchstr
-include <curses.h>
-declaration int mvadd_wchstr(int y, int x, const cchar_t *wchstr)
-version SUNW_1.1
-end
-
-function mvaddch
-include <curses.h>
-declaration int mvaddch(int y, int x, const chtype ch)
-version SUNW_1.1
-end
-
-function mvaddchnstr
-include <curses.h>
-declaration int mvaddchnstr(int y, int x, const chtype *chstr, int n)
-version SUNW_1.1
-end
-
-function mvaddchstr
-include <curses.h>
-declaration int mvaddchstr(int y, int x, const chtype *chstr)
-version SUNW_1.1
-end
-
-function mvaddnstr
-include <curses.h>
-declaration int mvaddnstr(int y, int x, const char *str, int n)
-version SUNW_1.1
-end
-
-function mvaddnwstr
-include <curses.h>
-declaration int mvaddnwstr(int y, int x, const wchar_t *wstr, int n)
-version SUNW_1.1
-end
-
-function mvaddstr
-include <curses.h>
-declaration int mvaddstr(int y, int x, const char *str)
-version SUNW_1.1
-end
-
-function mvaddwstr
-include <curses.h>
-declaration int mvaddwstr(int y, int x, const wchar_t *wstr)
-version SUNW_1.1
-end
-
-function mvchgat
-include <curses.h>
-declaration int mvchgat(int y, int x, int n, attr_t attr, \
- short color, const void *opts)
-version SUNW_1.1
-end
-
-function mvcur
-include <curses.h>
-declaration int mvcur(int oldrow, int oldcol, int newrow, int newcol)
-version SUNW_1.1
-end
-
-function mvdelch
-include <curses.h>
-declaration int mvdelch(int y, int x)
-version SUNW_1.1
-end
-
-function mvderwin
-include <curses.h>
-declaration int mvderwin(WINDOW *win, int par_y, int par_x)
-version SUNW_1.1
-end
-
-function mvget_wch
-include <curses.h>
-declaration int mvget_wch(int y, int x, wint_t *ch)
-version SUNW_1.1
-end
-
-function mvgetch
-include <curses.h>
-declaration int mvgetch(int y, int x)
-version SUNW_1.1
-end
-
-function mvgetn_wstr
-include <curses.h>
-declaration int mvgetn_wstr(int y, int x, wint_t *wstr, int n)
-version SUNW_1.1
-end
-
-function mvgetnstr
-include <curses.h>
-declaration int mvgetnstr(int y, int x, char *str, int n)
-version SUNW_1.1
-end
-
-function mvgetstr
-include <curses.h>
-declaration int mvgetstr(int y, int x, char *str)
-version SUNW_1.1
-end
-
-function mvhline
-include <curses.h>
-declaration int mvhline(int y, int x, chtype ch, int n)
-version SUNW_1.1
-end
-
-function mvhline_set
-include <curses.h>
-declaration int mvhline_set(int y, int x, const cchar_t *wch, int n)
-version SUNW_1.1
-end
-
-function mvin_wch
-include <curses.h>
-declaration int mvin_wch(int y, int x, cchar_t *wcval)
-version SUNW_1.1
-end
-
-function mvin_wchnstr
-include <curses.h>
-declaration int mvin_wchnstr(int y, int x, cchar_t *wchstr, int n)
-version SUNW_1.1
-end
-
-function mvin_wchstr
-include <curses.h>
-declaration int mvin_wchstr(int y, int x, cchar_t *wchstr)
-version SUNW_1.1
-end
-
-function mvinch
-include <curses.h>
-declaration chtype mvinch(int y, int x)
-version SUNW_1.1
-end
-
-function mvinchnstr
-include <curses.h>
-declaration int mvinchnstr(int y, int x, chtype *chstr, int n)
-version SUNW_1.1
-end
-
-function mvinchstr
-include <curses.h>
-declaration int mvinchstr(int y, int x, chtype *chstr)
-version SUNW_1.1
-end
-
-function mvinnstr
-include <curses.h>
-declaration int mvinnstr(int y, int x, char *str, int n)
-version SUNW_1.1
-end
-
-function mvinnwstr
-include <curses.h>
-declaration int mvinnwstr(int y, int x, wchar_t *wstr, int n)
-version SUNW_1.1
-end
-
-function mvins_nwstr
-include <curses.h>
-declaration int mvins_nwstr(int y, int x, const wchar_t *wstr, int n)
-version SUNW_1.1
-end
-
-function mvins_wch
-include <curses.h>
-declaration int mvins_wch(int y, int x, const cchar_t *wch)
-version SUNW_1.1
-end
-
-function mvins_wstr
-include <curses.h>
-declaration int mvins_wstr(int y, int x, const wchar_t *wstr)
-version SUNW_1.1
-end
-
-function mvinsch
-include <curses.h>
-declaration int mvinsch(int y, int x, chtype ch)
-version SUNW_1.1
-end
-
-function mvinsnstr
-include <curses.h>
-declaration int mvinsnstr(int y, int x, const char *str, int n)
-version SUNW_1.1
-end
-
-function mvinsstr
-include <curses.h>
-declaration int mvinsstr(int y, int x, const char *str)
-version SUNW_1.1
-end
-
-function mvinstr
-include <curses.h>
-declaration int mvinstr(int y, int x, char *str)
-version SUNW_1.1
-end
-
-function mvinwstr
-include <curses.h>
-declaration int mvinwstr(int y, int x, wchar_t *wstr)
-version SUNW_1.1
-end
-
-function mvprintw
-include <curses.h>
-declaration int mvprintw(int y, int x, char *fmt, ...)
-version SUNW_1.1
-end
-
-function mvscanw
-include <curses.h>
-declaration int mvscanw(int y, int x, char *fmt, ...)
-version SUNW_1.1
-end
-
-function mvwadd_wch
-include <curses.h>
-declaration int mvwadd_wch(WINDOW *win, int y, int x, const cchar_t *wch)
-version SUNW_1.1
-end
-
-function mvwadd_wchnstr
-include <curses.h>
-declaration int mvwadd_wchnstr(WINDOW *win, int y, int x, \
- const cchar_t *wchstr, int n)
-version SUNW_1.1
-end
-
-function mvwadd_wchstr
-include <curses.h>
-declaration int mvwadd_wchstr(WINDOW *win, int y, int x, \
- const cchar_t *wchstr)
-version SUNW_1.1
-end
-
-function mvwaddch
-include <curses.h>
-declaration int mvwaddch(WINDOW *win, int y, int x, const chtype ch)
-version SUNW_1.1
-end
-
-function mvwaddchnstr
-include <curses.h>
-declaration int mvwaddchnstr(WINDOW *win, int y, int x, \
- const chtype *chstr, int n)
-version SUNW_1.1
-end
-
-function mvwaddchstr
-include <curses.h>
-declaration int mvwaddchstr(WINDOW *win, int y, int x, \
- const chtype *chstr)
-version SUNW_1.1
-end
-
-function mvwaddnstr
-include <curses.h>
-declaration int mvwaddnstr(WINDOW *win, int y, int x, \
- const char *str, int n)
-version SUNW_1.1
-end
-
-function mvwaddnwstr
-include <curses.h>
-declaration int mvwaddnwstr(WINDOW *win, int y, int x, \
- const wchar_t *wstr, int n)
-version SUNW_1.1
-end
-
-function mvwaddstr
-include <curses.h>
-declaration int mvwaddstr(WINDOW *win, int y, int x, const char *str)
-version SUNW_1.1
-end
-
-function mvwaddwstr
-include <curses.h>
-declaration int mvwaddwstr(WINDOW *win, int y, int x, const wchar_t *wstr)
-version SUNW_1.1
-end
-
-function mvwchgat
-include <curses.h>
-declaration int mvwchgat(WINDOW *win, int y, int x, int n, \
- attr_t attr, short color, const void *opts)
-version SUNW_1.1
-end
-
-function mvwdelch
-include <curses.h>
-declaration int mvwdelch(WINDOW *win, int y, int x)
-version SUNW_1.1
-end
-
-function mvwget_wch
-include <curses.h>
-declaration int mvwget_wch(WINDOW *win, int y, int x, wint_t *ch)
-version SUNW_1.1
-end
-
-function mvwget_wstr
-include <curses.h>
-declaration int mvwget_wstr(WINDOW *win, int y, int x, wint_t *wstr)
-version SUNW_1.1
-end
-
-function mvwgetch
-include <curses.h>
-declaration int mvwgetch(WINDOW *win, int y, int x)
-version SUNW_1.1
-end
-
-function mvwgetn_wstr
-include <curses.h>
-declaration int mvwgetn_wstr(WINDOW *win, int y, int x, wint_t *wstr, int n)
-version SUNW_1.1
-end
-
-function mvwgetnstr
-include <curses.h>
-declaration int mvwgetnstr(WINDOW *win, int y, int x, char *str, int n)
-version SUNW_1.1
-end
-
-function mvwgetstr
-include <curses.h>
-declaration int mvwgetstr(WINDOW *win, int y, int x, char *str)
-version SUNW_1.1
-end
-
-function mvwhline
-include <curses.h>
-declaration int mvwhline(WINDOW *win, int y, int x, chtype ch, int n)
-version SUNW_1.1
-end
-
-function mvwhline_set
-include <curses.h>
-declaration int mvwhline_set(WINDOW *win, int y, int x, \
- const cchar_t *wch, int n)
-version SUNW_1.1
-end
-
-function mvwin_wch
-include <curses.h>
-declaration int mvwin_wch(WINDOW *win, int y, int x, cchar_t *wcval)
-version SUNW_1.1
-end
-
-function mvwin_wchnstr
-include <curses.h>
-declaration int mvwin_wchnstr(WINDOW *win, int y, int x, \
- cchar_t *wchstr, int n)
-version SUNW_1.1
-end
-
-function mvwin_wchstr
-include <curses.h>
-declaration int mvwin_wchstr(WINDOW *win, int y, int x, cchar_t *wchstr)
-version SUNW_1.1
-end
-
-function mvwin
-include <curses.h>
-declaration int mvwin(WINDOW *win, int y, int x)
-version SUNW_1.1
-end
-
-function mvwinch
-include <curses.h>
-declaration chtype mvwinch(WINDOW *win, int y, int x)
-version SUNW_1.1
-end
-
-function mvwinchnstr
-include <curses.h>
-declaration int mvwinchnstr(WINDOW *win, int y, int x, chtype *chstr, int n)
-version SUNW_1.1
-end
-
-function mvwinchstr
-include <curses.h>
-declaration int mvwinchstr(WINDOW *win, int y, int x, chtype *chstr)
-version SUNW_1.1
-end
-
-function mvwinnstr
-include <curses.h>
-declaration int mvwinnstr(WINDOW *win, int y, int x, char *str, int n)
-version SUNW_1.1
-end
-
-function mvwinnwstr
-include <curses.h>
-declaration int mvwinnwstr(WINDOW*win, int y, int x, wchar_t *wstr, int n)
-version SUNW_1.1
-end
-
-function mvwins_nwstr
-include <curses.h>
-declaration int mvwins_nwstr(WINDOW *win, int y, int x, \
- const wchar_t *wstr, int n)
-version SUNW_1.1
-end
-
-function mvwins_wch
-include <curses.h>
-declaration int mvwins_wch(WINDOW *win, int y, int x, const cchar_t *wch)
-version SUNW_1.1
-end
-
-function mvwins_wstr
-include <curses.h>
-declaration int mvwins_wstr(WINDOW *win, int y, int x, const wchar_t *wstr)
-version SUNW_1.1
-end
-
-function mvwinsch
-include <curses.h>
-declaration int mvwinsch(WINDOW *win, int y, int x, chtype ch)
-version SUNW_1.1
-end
-
-function mvwinsnstr
-include <curses.h>
-declaration int mvwinsnstr(WINDOW *win, int y, int x, \
- const char *str, int n)
-version SUNW_1.1
-end
-
-function mvwinsstr
-include <curses.h>
-declaration int mvwinsstr(WINDOW *win, int y, int x, const char *str)
-version SUNW_1.1
-end
-
-function mvwinstr
-include <curses.h>
-declaration int mvwinstr(WINDOW *win, int y, int x, char *str)
-version SUNW_1.1
-end
-
-function mvwinwstr
-include <curses.h>
-declaration int mvwinwstr(WINDOW*win, int y, int x, wchar_t *wstr)
-version SUNW_1.1
-end
-
-function mvwprintw
-include <curses.h>
-declaration int mvwprintw(WINDOW *win, int y, int x, char *fmt, ...)
-version SUNW_1.1
-end
-
-function mvwscanw
-include <curses.h>
-declaration int mvwscanw(WINDOW *win, int y, int x, char *fmt, ...)
-version SUNW_1.1
-end
-
-function mvwvline
-include <curses.h>
-declaration int mvwvline(WINDOW *win, int y, int x, chtype ch, int n)
-version SUNW_1.1
-end
-
-function mvwvline_set
-include <curses.h>
-declaration int mvwvline_set(WINDOW *win, int y, int x, \
- const cchar_t *wch, int n)
-version SUNW_1.1
-end
-
-function mvvline
-include <curses.h>
-declaration int mvvline(int y, int x, chtype ch, int n)
-version SUNW_1.1
-end
-
-function mvvline_set
-include <curses.h>
-declaration int mvvline_set(int y, int x, const cchar_t *wch, int n)
-version SUNW_1.1
-end
-
-function napms
-include <curses.h>
-declaration int napms(int ms)
-version SUNW_1.1
-end
-
-function newpad
-include <curses.h>
-declaration WINDOW *newpad(int nlines, int ncols)
-version SUNW_1.1
-end
-
-function newterm
-include <curses.h>
-declaration SCREEN *newterm(char *type, FILE *outfp, FILE *infp)
-version SUNW_1.1
-end
-
-function newwin
-include <curses.h>
-declaration WINDOW *newwin(int nlines, int ncols, int begin_y, int begin_x)
-version SUNW_1.1
-end
-
-function nocbreak
-include <curses.h>
-declaration int nocbreak(void)
-version SUNW_1.1
-end
-
-function nodelay
-include <curses.h>
-declaration int nodelay(WINDOW *win, bool bf)
-version SUNW_1.1
-end
-
-function noecho
-include <curses.h>
-declaration int noecho(void)
-version SUNW_1.1
-end
-
-function noqiflush
-include <curses.h>
-declaration void noqiflush(void)
-version SUNW_1.1
-end
-
-function nonl
-include <curses.h>
-declaration int nonl(void)
-version SUNW_1.1
-end
-
-function noraw
-include <curses.h>
-declaration int noraw(void)
-version SUNW_1.1
-end
-
-function notimeout
-include <curses.h>
-declaration int notimeout(WINDOW *win, bool bf)
-version SUNW_1.1
-end
-
-function nl
-include <curses.h>
-declaration int nl(void)
-version SUNW_1.1
-end
-
-function overlay
-include <curses.h>
-declaration int overlay(const WINDOW *srcwin, WINDOW *dstwin)
-version SUNW_1.1
-end
-
-function overwrite
-include <curses.h>
-declaration int overwrite(const WINDOW *srcwin, WINDOW *dstwin)
-version SUNW_1.1
-end
-
-function pair_content
-include <curses.h>
-declaration int pair_content(short pair, short *f, short *b)
-version SUNW_1.1
-end
-
-function pecho_wchar
-include <curses.h>
-declaration int pecho_wchar(WINDOW *pad, const cchar_t *wch)
-version SUNW_1.1
-end
-
-function pechochar
-include <curses.h>
-declaration int pechochar(WINDOW *pad, chtype ch)
-version SUNW_1.1
-end
-
-function pnoutrefresh
-include <curses.h>
-declaration int pnoutrefresh(WINDOW *pad, int pminrow, \
- int pmincol, int sminrow, int smincol, \
- int smaxrow, int smaxcol)
-version SUNW_1.1
-end
-
-function prefresh
-include <curses.h>
-declaration int prefresh(WINDOW *pad, int pminrow, int pmincol, \
- int sminrow, int smincol, int smaxrow, int smaxcol)
-version SUNW_1.1
-end
-
-function printw
-include <curses.h>
-declaration int printw(char *fmt, ...)
-version SUNW_1.1
-end
-
-function putwin
-include <curses.h>
-declaration int putwin(WINDOW *win, FILE *filep)
-version SUNW_1.1
-end
-
-function qiflush
-include <curses.h>
-declaration void qiflush(void)
-version SUNW_1.1
-end
-
-function raw
-include <curses.h>
-declaration int raw(void)
-version SUNW_1.1
-end
-
-function redrawwin
-include <curses.h>
-declaration int redrawwin(WINDOW *win)
-version SUNW_1.1
-end
-
-function refresh
-include <curses.h>
-declaration int refresh(void)
-version SUNW_1.1
-end
-
-function reset_prog_mode
-include <curses.h>
-declaration int reset_prog_mode(void)
-version SUNW_1.1
-end
-
-function reset_shell_mode
-include <curses.h>
-declaration int reset_shell_mode(void)
-version SUNW_1.1
-end
-
-function resetty
-include <curses.h>
-declaration int resetty(void)
-version SUNW_1.1
-end
-
-function restartterm
-include <curses.h>
-declaration int restartterm(char *term, int fildes, int *errret)
-version SUNW_1.1
-end
-
-function ripoffline
-include <curses.h>
-declaration int ripoffline(int line, int (*init)(WINDOW *win, int width))
-version SUNW_1.1
-end
-
-function savetty
-include <curses.h>
-declaration int savetty(void)
-version SUNW_1.1
-end
-
-function scanw
-include <curses.h>
-declaration int scanw(char *fmt, ...)
-version SUNW_1.1
-end
-
-function scr_dump
-include <curses.h>
-declaration int scr_dump(const char *filename)
-version SUNW_1.1
-end
-
-function scr_init
-include <curses.h>
-declaration int scr_init(const char *filename)
-version SUNW_1.1
-end
-
-function scr_restore
-include <curses.h>
-declaration int scr_restore(const char *filename)
-version SUNW_1.1
-end
-
-function scr_set
-include <curses.h>
-declaration int scr_set(const char *filename)
-version SUNW_1.1
-end
-
-function scrl
-include <curses.h>
-declaration int scrl(int n)
-version SUNW_1.1
-end
-
-function scroll
-include <curses.h>
-declaration int scroll(WINDOW *win)
-version SUNW_1.1
-end
-
-function scrollok
-include <curses.h>
-declaration int scrollok(WINDOW *win, bool bf)
-version SUNW_1.1
-end
-
-function set_curterm
-include <curses.h>
-declaration TERMINAL *set_curterm (TERMINAL *nterm)
-version SUNW_1.1
-end
-
-function set_term
-include <curses.h>
-declaration SCREEN *set_term(SCREEN *new)
-version SUNW_1.1
-end
-
-function setcchar
-include <curses.h>
-declaration int setcchar(cchar_t *wcval, const wchar_t *wch, \
- const attr_t attrs, short color_pair, const void *opts)
-version SUNW_1.1
-end
-
-function setscrreg
-include <curses.h>
-declaration int setscrreg(int top, int bot)
-version SUNW_1.1
-end
-
-function setupterm
-include <term.h>
-declaration int setupterm(char *term, int fildes, int *errret)
-version SUNW_1.1
-end
-
-function slk_attr_off
-include <curses.h>
-declaration int slk_attr_off(const attr_t attrs, void *opts)
-version SUNW_1.1
-end
-
-function slk_attr_on
-include <curses.h>
-declaration int slk_attr_on(const attr_t attrs, void *opts)
-version SUNW_1.1
-end
-
-function slk_attr_set
-include <curses.h>
-declaration int slk_attr_set(const attr_t attrs, \
- short color_pair_number, void *opts)
-version SUNW_1.1
-end
-
-function slk_attron
-include <curses.h>
-declaration int slk_attron(const chtype attrs)
-version SUNW_1.1
-end
-
-function slk_attroff
-include <curses.h>
-declaration int slk_attroff(const chtype attrs)
-version SUNW_1.1
-end
-
-function slk_attrset
-include <curses.h>
-declaration int slk_attrset(const chtype attrs)
-version SUNW_1.1
-end
-
-function slk_clear
-include <curses.h>
-declaration int slk_clear(void)
-version SUNW_1.1
-end
-
-function slk_color
-include <curses.h>
-declaration int slk_color(short color_pair_number)
-version SUNW_1.1
-end
-
-function slk_init
-include <curses.h>
-declaration int slk_init(int fmt)
-version SUNW_1.1
-end
-
-function slk_label
-include <curses.h>
-declaration char *slk_label(int labnum)
-version SUNW_1.1
-end
-
-function slk_noutrefresh
-include <curses.h>
-declaration int slk_noutrefresh(void)
-version SUNW_1.1
-end
-
-function slk_refresh
-include <curses.h>
-declaration int slk_refresh(void)
-version SUNW_1.1
-end
-
-function slk_restore
-include <curses.h>
-declaration int slk_restore(void)
-version SUNW_1.1
-end
-
-function slk_set
-include <curses.h>
-declaration int slk_set(int labnum, const char *label, int justify)
-version SUNW_1.1
-end
-
-function slk_touch
-include <curses.h>
-declaration int slk_touch(void)
-version SUNW_1.1
-end
-
-function slk_wset
-include <curses.h>
-declaration int slk_wset(int labnum, const wchar_t *label, int justify)
-version SUNW_1.1
-end
-
-function standend
-include <curses.h>
-declaration int standend(void)
-version SUNW_1.1
-end
-
-function standout
-include <curses.h>
-declaration int standout(void)
-version SUNW_1.1
-end
-
-function start_color
-include <curses.h>
-declaration int start_color(void)
-version SUNW_1.1
-end
-
-function subpad
-include <curses.h>
-declaration WINDOW *subpad(WINDOW *orig, int, int, int, int)
-version SUNW_1.1
-end
-
-function subwin
-include <curses.h>
-declaration WINDOW *subwin(WINDOW *orig, int nlines, int ncols, \
- int begin_y, int begin_x)
-version SUNW_1.1
-end
-
-function syncok
-include <curses.h>
-declaration int syncok(WINDOW *win, bool bf)
-version SUNW_1.1
-end
-
-function term_attrs
-include <curses.h>
-declaration attr_t term_attrs(void)
-version SUNW_1.1
-end
-
-function termattrs
-include <curses.h>
-declaration chtype termattrs(void)
-version SUNW_1.1
-end
-
-function termname
-include <curses.h>
-declaration char *termname(void)
-version SUNW_1.1
-end
-
-function tgetent
-include <term.h>
-declaration int tgetent(char *bp, const char *name)
-version SUNW_1.1
-end
-
-function tgetflag
-include <term.h>
-declaration int tgetflag(char id[2])
-version SUNW_1.1
-end
-
-function tgetnum
-include <term.h>
-declaration int tgetnum(char id[2])
-version SUNW_1.1
-end
-
-function tgetstr
-include <term.h>
-declaration char *tgetstr(char id[2], char **area)
-version SUNW_1.1
-end
-
-function tgoto
-include <term.h>
-declaration char *tgoto(char *cap, int col, int row)
-version SUNW_1.1
-end
-
-function tigetflag
-include <term.h>
-declaration int tigetflag(char *capname)
-version SUNW_1.1
-end
-
-function tigetnum
-include <term.h>
-declaration int tigetnum(char *capname)
-version SUNW_1.1
-end
-
-function tigetstr
-include <term.h>
-declaration char *tigetstr(char *capname)
-version SUNW_1.1
-end
-
-function timeout
-include <curses.h>
-declaration void timeout(int delay)
-version SUNW_1.1
-end
-
-function touchline
-include <curses.h>
-declaration int touchline(WINDOW *win, int start, int count)
-version SUNW_1.1
-end
-
-function touchwin
-include <curses.h>
-declaration int touchwin(WINDOW *win)
-version SUNW_1.1
-end
-
-function typeahead
-include <curses.h>
-declaration int typeahead(int fd)
-version SUNW_1.1
-end
-
-function unctrl
-include <unctrl.h>
-declaration char *unctrl(chtype c)
-version SUNW_1.1
-end
-
-function unget_wch
-include <curses.h>
-declaration int unget_wch(const wchar_t wch)
-version SUNW_1.1
-end
-
-function ungetch
-include <curses.h>
-declaration int ungetch(int ch)
-version SUNW_1.1
-end
-
-function untouchwin
-include <curses.h>
-declaration int untouchwin(WINDOW *win)
-version SUNW_1.1
-end
-
-function use_env
-include <curses.h>
-declaration void use_env(bool boolval)
-version SUNW_1.1
-end
-
-function vid_attr
-include <curses.h>
-declaration int vid_attr(attr_t attr, short color_pair_number, void *opt)
-version SUNW_1.1
-end
-
-function vid_puts
-include <curses.h>
-declaration int vid_puts(attr_t attr, short color_pair_number, \
- void *opt, int (*putfunc) (int))
-version SUNW_1.1
-end
-
-function vidattr
-include <curses.h>
-declaration int vidattr(chtype attr)
-version SUNW_1.1
-end
-
-function vidputs
-include <curses.h>
-declaration int vidputs(chtype attr, int (*putfunc) (int))
-version SUNW_1.1
-end
-
-function vline
-include <curses.h>
-declaration int vline(chtype ch, int n)
-version SUNW_1.1
-end
-
-function vline_set
-include <curses.h>
-declaration int vline_set(const cchar_t *wch, int n)
-version SUNW_1.1
-end
-
-function vw_printw
-include <stdarg.h>, <curses.h>
-declaration int vw_printw(WINDOW *win, char *fmt, va_list varglist)
-version SUNW_1.1
-end
-
-function vw_scanw
-include <stdarg.h>, <curses.h>
-declaration int vw_scanw(WINDOW *win, char *fmt, va_list varglist)
-version SUNW_1.1
-end
-
-# This is a deprecated function which includes a deprecated header
-# Since the inclusion of the deprecated header causes problems
-# we comment out the include and declaration lines.
-function vwprintw
-#include <varargs.h>, <curses.h>
-#declaration int vwprintw(WINDOW *win, char *fmt, va_list varglist)
-version SUNW_1.1
-end
-
-# This is a deprecated function which includes a deprecated header
-# Since the inclusion of the deprecated header causes problems
-# we comment out the include and declaration lines.
-function vwscanw
-#include <varargs.h>, <curses.h>
-#declaration int vwscanw(WINDOW *win, char *fmt, va_list varglist)
-version SUNW_1.1
-end
-function wadd_wch
-include <curses.h>
-declaration int wadd_wch(WINDOW *win, const cchar_t *wch)
-version SUNW_1.1
-end
-
-function wadd_wchnstr
-include <curses.h>
-declaration int wadd_wchnstr(WINDOW *win, const cchar_t *wchstr, int n)
-version SUNW_1.1
-end
-
-function wadd_wchstr
-include <curses.h>
-declaration int wadd_wchstr(WINDOW *win, const cchar_t *wchstr)
-version SUNW_1.1
-end
-
-function waddch
-include <curses.h>
-declaration int waddch(WINDOW *win, const chtype ch)
-version SUNW_1.1
-end
-
-function waddchnstr
-include <curses.h>
-declaration int waddchnstr(WINDOW *win, const chtype *chstr, int n)
-version SUNW_1.1
-end
-
-function waddchstr
-include <curses.h>
-declaration int waddchstr(WINDOW *win, const chtype *chstr)
-version SUNW_1.1
-end
-
-function waddnstr
-include <curses.h>
-declaration int waddnstr(WINDOW *win, const char *str, int n)
-version SUNW_1.1
-end
-
-function waddnwstr
-include <curses.h>
-declaration int waddnwstr(WINDOW*win, const wchar_t *wstr, int n)
-version SUNW_1.1
-end
-
-function waddstr
-include <curses.h>
-declaration int waddstr(WINDOW *win, const char *str)
-version SUNW_1.1
-end
-
-function waddwstr
-include <curses.h>
-declaration int waddwstr(WINDOW *WIN, const wchar_t *wstr)
-version SUNW_1.1
-end
-
-function wattr_get
-include <curses.h>
-declaration int wattr_get(WINDOW *win, attr_t *attrs, short *color, \
- void *opts)
-version SUNW_1.1
-end
-
-function wattr_on
-include <curses.h>
-declaration int wattr_on(WINDOW *win, attr_t attrs, void *opts)
-version SUNW_1.1
-end
-
-function wattr_off
-include <curses.h>
-declaration int wattr_off(WINDOW *win, attr_t attrs, void *opts)
-version SUNW_1.1
-end
-
-function wattr_set
-include <curses.h>
-declaration int wattr_set(WINDOW *win, attr_t attrs, short color, \
- void *opts)
-version SUNW_1.1
-end
-
-function wattron
-include <curses.h>
-declaration int wattron(WINDOW *win, int attrs)
-version SUNW_1.1
-end
-
-function wattroff
-include <curses.h>
-declaration int wattroff(WINDOW *win, int attrs)
-version SUNW_1.1
-end
-
-function wattrset
-include <curses.h>
-declaration int wattrset(WINDOW *win, int attrs)
-version SUNW_1.1
-end
-
-function wbkgd
-include <curses.h>
-declaration int wbkgd(WINDOW *win, chtype ch)
-version SUNW_1.1
-end
-
-function wbkgdset
-include <curses.h>
-declaration void wbkgdset(WINDOW *win, chtype ch)
-version SUNW_1.1
-end
-
-function wbkgrnd
-include <curses.h>
-declaration int wbkgrnd(WINDOW *win, const cchar_t *wch)
-version SUNW_1.1
-end
-
-function wbkgrndset
-include <curses.h>
-declaration void wbkgrndset(WINDOW *win, const cchar_t *wch)
-version SUNW_1.1
-end
-
-function wborder
-include <curses.h>
-declaration int wborder(WINDOW *win, chtype ls, chtype rs, chtype ts, \
- chtype bs, chtype tl, chtype tr, chtype bl, chtype br)
-version SUNW_1.1
-end
-
-function wborder_set
-include <curses.h>
-declaration int wborder_set(WINDOW *win, const cchar_t *ls, \
- const cchar_t *rs, const cchar_t *ts, \
- const cchar_t *bs, const cchar_t *tl, \
- const cchar_t *tr, const cchar_t *bl, const cchar_t *br)
-version SUNW_1.1
-end
-
-function wchgat
-include <curses.h>
-declaration int wchgat(WINDOW *win, int n, attr_t attr, \
- short color, const void *opts)
-version SUNW_1.1
-end
-
-function wclear
-include <curses.h>
-declaration int wclear(WINDOW *win)
-version SUNW_1.1
-end
-
-function wclrtobot
-include <curses.h>
-declaration int wclrtobot(WINDOW *win)
-version SUNW_1.1
-end
-
-function wclrtoeol
-include <curses.h>
-declaration int wclrtoeol(WINDOW *win)
-version SUNW_1.1
-end
-
-function wcolor_set
-include <curses.h>
-declaration int wcolor_set(WINDOW *win, short color, void *opts)
-version SUNW_1.1
-end
-
-function wcursyncup
-include <curses.h>
-declaration void wcursyncup(WINDOW *win)
-version SUNW_1.1
-end
-
-function wdelch
-include <curses.h>
-declaration int wdelch(WINDOW *win)
-version SUNW_1.1
-end
-
-function wdeleteln
-include <curses.h>
-declaration int wdeleteln(WINDOW *win)
-version SUNW_1.1
-end
-
-function wecho_wchar
-include <curses.h>
-declaration int wecho_wchar(WINDOW *win, const cchar_t *wch)
-version SUNW_1.1
-end
-
-function wechochar
-include <curses.h>
-declaration int wechochar(WINDOW *win, const chtype ch)
-version SUNW_1.1
-end
-
-function werase
-include <curses.h>
-declaration int werase(WINDOW *win)
-version SUNW_1.1
-end
-
-function wget_wch
-include <curses.h>
-declaration int wget_wch(WINDOW *win, wint_t *ch)
-version SUNW_1.1
-end
-
-function wget_wstr
-include <curses.h>
-declaration int wget_wstr(WINDOW *win, wint_t *wstr)
-version SUNW_1.1
-end
-
-function wgetbkgrnd
-include <curses.h>
-declaration int wgetbkgrnd(WINDOW *win, cchar_t *wch)
-version SUNW_1.1
-end
-
-function wgetch
-include <curses.h>
-declaration int wgetch(WINDOW *win)
-version SUNW_1.1
-end
-
-function wgetn_wstr
-include <curses.h>
-declaration int wgetn_wstr(WINDOW *win, wint_t *wstr, int n)
-version SUNW_1.1
-end
-
-function wgetnstr
-include <curses.h>
-declaration int wgetnstr(WINDOW *win, char *str, int n)
-version SUNW_1.1
-end
-
-function wgetstr
-include <curses.h>
-declaration int wgetstr(WINDOW *win, char *str)
-version SUNW_1.1
-end
-
-function whline
-include <curses.h>
-declaration int whline(WINDOW *win, chtype ch, int n)
-version SUNW_1.1
-end
-
-function whline_set
-include <curses.h>
-declaration int whline_set(WINDOW *win, const cchar_t *wch, int n)
-version SUNW_1.1
-end
-
-function win_wch
-include <curses.h>
-declaration int win_wch(WINDOW *win, cchar_t *wcval)
-version SUNW_1.1
-end
-
-function win_wchnstr
-include <curses.h>
-declaration int win_wchnstr(WINDOW *win, cchar_t *wchstr, int n)
-version SUNW_1.1
-end
-
-function win_wchstr
-include <curses.h>
-declaration int win_wchstr(WINDOW *win, cchar_t *wchstr)
-version SUNW_1.1
-end
-
-function winch
-include <curses.h>
-declaration chtype winch(WINDOW *win)
-version SUNW_1.1
-end
-
-function winchnstr
-include <curses.h>
-declaration int winchnstr(WINDOW *win, chtype *chstr, int n)
-version SUNW_1.1
-end
-
-function winchstr
-include <curses.h>
-declaration int winchstr(WINDOW *win, chtype *chstr)
-version SUNW_1.1
-end
-
-function winnstr
-include <curses.h>
-declaration int winnstr(WINDOW *win, char *str, int n)
-version SUNW_1.1
-end
-
-function winnwstr
-include <curses.h>
-declaration int winnwstr(WINDOW*win, wchar_t *wstr, int n)
-version SUNW_1.1
-end
-
-function wins_nwstr
-include <curses.h>
-declaration int wins_nwstr(WINDOW *win, const wchar_t *wstr, int n)
-version SUNW_1.1
-end
-
-function wins_wch
-include <curses.h>
-declaration int wins_wch(WINDOW *win, const cchar_t *wch)
-version SUNW_1.1
-end
-
-function wins_wstr
-include <curses.h>
-declaration int wins_wstr(WINDOW *win, const wchar_t *wstr)
-version SUNW_1.1
-end
-
-function winsch
-include <curses.h>
-declaration int winsch(WINDOW *win, chtype ch)
-version SUNW_1.1
-end
-
-function winsdelln
-include <curses.h>
-declaration int winsdelln(WINDOW *win, int n)
-version SUNW_1.1
-end
-
-function winsertln
-include <curses.h>
-declaration int winsertln(WINDOW *win)
-version SUNW_1.1
-end
-
-function winsnstr
-include <curses.h>
-declaration int winsnstr(WINDOW *win, const char *str, int n)
-version SUNW_1.1
-end
-
-function winsstr
-include <curses.h>
-declaration int winsstr(WINDOW *win, const char *str)
-version SUNW_1.1
-end
-
-function winstr
-include <curses.h>
-declaration int winstr(WINDOW *win, char *str)
-version SUNW_1.1
-end
-
-function winwstr
-include <curses.h>
-declaration int winwstr(WINDOW*win, wchar_t *wstr)
-version SUNW_1.1
-end
-
-function wmove
-include <curses.h>
-declaration int wmove(WINDOW *win, int y, int x)
-version SUNW_1.1
-end
-
-function wnoutrefresh
-include <curses.h>
-declaration int wnoutrefresh(WINDOW *win)
-version SUNW_1.1
-end
-
-function wprintw
-include <curses.h>
-declaration int wprintw(WINDOW *win, char *fmt, ...)
-version SUNW_1.1
-end
-
-function wredrawln
-include <curses.h>
-declaration int wredrawln(WINDOW *win, int beg_line, int num_lines)
-version SUNW_1.1
-end
-
-function wrefresh
-include <curses.h>
-declaration int wrefresh(WINDOW *win)
-version SUNW_1.1
-end
-
-function wscanw
-include <curses.h>
-declaration int wscanw(WINDOW *win, char *fmt, ...)
-version SUNW_1.1
-end
-
-function wscrl
-include <curses.h>
-declaration int wscrl(WINDOW *win, int n)
-version SUNW_1.1
-end
-
-function wsetscrreg
-include <curses.h>
-declaration int wsetscrreg(WINDOW *win, int top, int bot)
-version SUNW_1.1
-end
-
-function wstandout
-include <curses.h>
-declaration int wstandout(WINDOW *win)
-version SUNW_1.1
-end
-
-function wstandend
-include <curses.h>
-declaration int wstandend(WINDOW *win)
-version SUNW_1.1
-end
-
-function wsyncdown
-include <curses.h>
-declaration void wsyncdown(WINDOW *win)
-version SUNW_1.1
-end
-
-function wsyncup
-include <curses.h>
-declaration void wsyncup(WINDOW *win)
-version SUNW_1.1
-end
-
-function wtimeout
-include <curses.h>
-declaration void wtimeout(WINDOW *win, int delay)
-version SUNW_1.1
-end
-
-function wtouchln
-include <curses.h>
-declaration int wtouchln(WINDOW *win, int y, int n, int changed)
-version SUNW_1.1
-end
-
-function wunctrl
-include <curses.h>
-declaration wchar_t *wunctrl(cchar_t *wc)
-version SUNW_1.1
-end
-
-function wvline
-include <curses.h>
-declaration int wvline(WINDOW *win, chtype ch, int n)
-version SUNW_1.1
-end
-
-function wvline_set
-include <curses.h>
-declaration int wvline_set(WINDOW *win, const cchar_t *wch, int n)
-version SUNW_1.1
-end
-
-data __cht1
-version SUNWprivate_1.1
-end
-
-data __cht2
-version SUNWprivate_1.1
-end
-
-data __pcht1
-version SUNWprivate_1.1
-end
-
-data __pcht2
-version SUNWprivate_1.1
-end
-
-data __w1
-version SUNWprivate_1.1
-end
-
-data __WACS_VLINE
-version SUNWprivate_1.1
-end
-
-data __WACS_HLINE
-version SUNWprivate_1.1
-end
-
-data __WACS_ULCORNER
-version SUNWprivate_1.1
-end
-
-data __WACS_URCORNER
-version SUNWprivate_1.1
-end
-
-data __WACS_LLCORNER
-version SUNWprivate_1.1
-end
-
-data __WACS_LRCORNER
-version SUNWprivate_1.1
-end
-
-data __WACS_RTEE
-version SUNWprivate_1.1
-end
-
-data __WACS_LTEE
-version SUNWprivate_1.1
-end
-
-data __WACS_BTEE
-version SUNWprivate_1.1
-end
-
-data __WACS_TTEE
-version SUNWprivate_1.1
-end
-
-data __WACS_PLUS
-version SUNWprivate_1.1
-end
-
-data __WACS_S1
-version SUNWprivate_1.1
-end
-
-data __WACS_S9
-version SUNWprivate_1.1
-end
-
-data __WACS_DIAMOND
-version SUNWprivate_1.1
-end
-
-data __WACS_CKBOARD
-version SUNWprivate_1.1
-end
-
-data __WACS_DEGREE
-version SUNWprivate_1.1
-end
-
-data __WACS_PLMINUS
-version SUNWprivate_1.1
-end
-
-data __WACS_BULLET
-version SUNWprivate_1.1
-end
-
-data __WACS_LARROW
-version SUNWprivate_1.1
-end
-
-data __WACS_RARROW
-version SUNWprivate_1.1
-end
-
-data __WACS_DARROW
-version SUNWprivate_1.1
-end
-
-data __WACS_UARROW
-version SUNWprivate_1.1
-end
-
-data __WACS_BOARD
-version SUNWprivate_1.1
-end
-
-data __WACS_LANTERN
-version SUNWprivate_1.1
-end
-
-data __WACS_BLOCK
-version SUNWprivate_1.1
-end
-
-data boolcodes
-version SUNWprivate_1.1
-end
-
-data boolfnames
-version SUNWprivate_1.1
-end
-
-data boolnames
-version SUNWprivate_1.1
-end
-
-data numcodes
-version SUNWprivate_1.1
-end
-
-data numfnames
-version SUNWprivate_1.1
-end
-
-data numnames
-version SUNWprivate_1.1
-end
-
-data strcodes
-version SUNWprivate_1.1
-end
-
-data strfnames
-version SUNWprivate_1.1
-end
-
-data strnames
-version SUNWprivate_1.1
-end
diff --git a/usr/src/lib/libxcurses2/src/mapfile-vers b/usr/src/lib/libxcurses2/src/mapfile-vers
new file mode 100644
index 0000000000..7920d52e45
--- /dev/null
+++ b/usr/src/lib/libxcurses2/src/mapfile-vers
@@ -0,0 +1,460 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNW_1.2 {
+ global:
+ add_wchstr;
+ COLOR_PAIRS;
+ COLORS;
+ COLS;
+ curscr;
+ cur_term;
+ LINES;
+ mvget_wstr;
+ putp;
+ stdscr;
+ tparm;
+ tputs;
+} SUNW_1.1;
+
+SUNW_1.1 {
+ global:
+ addch;
+ addchnstr;
+ addchstr;
+ addnstr;
+ addnwstr;
+ addstr;
+ add_wch;
+ add_wchnstr;
+ addwstr;
+ attr_get;
+ attr_off;
+ attroff;
+ attr_on;
+ attron;
+ attr_set;
+ attrset;
+ baudrate;
+ beep;
+ bkgd;
+ bkgdset;
+ bkgrnd;
+ bkgrndset;
+ border;
+ border_set;
+ box;
+ box_set;
+ can_change_color;
+ cbreak;
+ chgat;
+ clear;
+ clearok;
+ clrtobot;
+ clrtoeol;
+ color_content;
+ COLOR_PAIR;
+ color_set;
+ copywin;
+ curs_set;
+ def_prog_mode;
+ def_shell_mode;
+ delay_output;
+ delch;
+ del_curterm;
+ deleteln;
+ delscreen;
+ delwin;
+ derwin;
+ doupdate;
+ dupwin;
+ echo;
+ echochar;
+ echo_wchar;
+ endwin;
+ erase;
+ erasechar;
+ erasewchar;
+ filter;
+ flash;
+ flushinp;
+ getbkgd;
+ getbkgrnd;
+ getcchar;
+ getch;
+ getnstr;
+ getn_wstr;
+ getstr;
+ get_wch;
+ getwin;
+ get_wstr;
+ halfdelay;
+ has_colors;
+ has_ic;
+ has_il;
+ hline;
+ hline_set;
+ idcok;
+ idlok;
+ immedok;
+ inch;
+ inchnstr;
+ inchstr;
+ init_color;
+ init_pair;
+ initscr;
+ innstr;
+ innwstr;
+ insch;
+ insdelln;
+ insertln;
+ insnstr;
+ ins_nwstr;
+ insstr;
+ instr;
+ ins_wch;
+ ins_wstr;
+ intrflush;
+ in_wch;
+ in_wchnstr;
+ in_wchstr;
+ inwstr;
+ isendwin;
+ is_linetouched;
+ is_wintouched;
+ key_name;
+ keyname;
+ keypad;
+ killchar;
+ killwchar;
+ leaveok;
+ longname;
+ meta;
+ move;
+ mvaddch;
+ mvaddchnstr;
+ mvaddchstr;
+ mvaddnstr;
+ mvaddnwstr;
+ mvaddstr;
+ mvadd_wch;
+ mvadd_wchnstr;
+ mvadd_wchstr;
+ mvaddwstr;
+ mvchgat;
+ mvcur;
+ mvdelch;
+ mvderwin;
+ mvgetch;
+ mvgetnstr;
+ mvgetn_wstr;
+ mvgetstr;
+ mvget_wch;
+ mvhline;
+ mvhline_set;
+ mvinch;
+ mvinchnstr;
+ mvinchstr;
+ mvinnstr;
+ mvinnwstr;
+ mvinsch;
+ mvinsnstr;
+ mvins_nwstr;
+ mvinsstr;
+ mvinstr;
+ mvins_wch;
+ mvins_wstr;
+ mvin_wch;
+ mvin_wchnstr;
+ mvin_wchstr;
+ mvinwstr;
+ mvprintw;
+ mvscanw;
+ mvvline;
+ mvvline_set;
+ mvwaddch;
+ mvwaddchnstr;
+ mvwaddchstr;
+ mvwaddnstr;
+ mvwaddnwstr;
+ mvwaddstr;
+ mvwadd_wch;
+ mvwadd_wchnstr;
+ mvwadd_wchstr;
+ mvwaddwstr;
+ mvwchgat;
+ mvwdelch;
+ mvwgetch;
+ mvwgetnstr;
+ mvwgetn_wstr;
+ mvwgetstr;
+ mvwget_wch;
+ mvwget_wstr;
+ mvwhline;
+ mvwhline_set;
+ mvwin;
+ mvwinch;
+ mvwinchnstr;
+ mvwinchstr;
+ mvwinnstr;
+ mvwinnwstr;
+ mvwinsch;
+ mvwinsnstr;
+ mvwins_nwstr;
+ mvwinsstr;
+ mvwinstr;
+ mvwins_wch;
+ mvwins_wstr;
+ mvwin_wch;
+ mvwin_wchnstr;
+ mvwin_wchstr;
+ mvwinwstr;
+ mvwprintw;
+ mvwscanw;
+ mvwvline;
+ mvwvline_set;
+ napms;
+ newpad;
+ newterm;
+ newwin;
+ nl;
+ nocbreak;
+ nodelay;
+ noecho;
+ nonl;
+ noqiflush;
+ noraw;
+ notimeout;
+ overlay;
+ overwrite;
+ pair_content;
+ PAIR_NUMBER;
+ pechochar;
+ pecho_wchar;
+ pnoutrefresh;
+ prefresh;
+ printw;
+ putwin;
+ qiflush;
+ raw;
+ redrawwin;
+ refresh;
+ reset_prog_mode;
+ reset_shell_mode;
+ resetty;
+ restartterm;
+ ripoffline;
+ savetty;
+ scanw;
+ scr_dump;
+ scr_init;
+ scrl;
+ scroll;
+ scrollok;
+ scr_restore;
+ scr_set;
+ setcchar;
+ set_curterm;
+ setscrreg;
+ set_term;
+ setupterm;
+ slk_attr_off;
+ slk_attroff;
+ slk_attr_on;
+ slk_attron;
+ slk_attr_set;
+ slk_attrset;
+ slk_clear;
+ slk_color;
+ slk_init;
+ slk_label;
+ slk_noutrefresh;
+ slk_refresh;
+ slk_restore;
+ slk_set;
+ slk_touch;
+ slk_wset;
+ standend;
+ standout;
+ start_color;
+ subpad;
+ subwin;
+ syncok;
+ term_attrs;
+ termattrs;
+ termname;
+ tgetent;
+ tgetflag;
+ tgetnum;
+ tgetstr;
+ tgoto;
+ tigetflag;
+ tigetnum;
+ tigetstr;
+ timeout;
+ touchline;
+ touchwin;
+ typeahead;
+ unctrl;
+ ungetch;
+ unget_wch;
+ untouchwin;
+ use_env;
+ vid_attr;
+ vidattr;
+ vid_puts;
+ vidputs;
+ vline;
+ vline_set;
+ vw_printw;
+ vwprintw;
+ vw_scanw;
+ vwscanw;
+ waddch;
+ waddchnstr;
+ waddchstr;
+ waddnstr;
+ waddnwstr;
+ waddstr;
+ wadd_wch;
+ wadd_wchnstr;
+ wadd_wchstr;
+ waddwstr;
+ wattr_get;
+ wattr_off;
+ wattroff;
+ wattr_on;
+ wattron;
+ wattr_set;
+ wattrset;
+ wbkgd;
+ wbkgdset;
+ wbkgrnd;
+ wbkgrndset;
+ wborder;
+ wborder_set;
+ wchgat;
+ wclear;
+ wclrtobot;
+ wclrtoeol;
+ wcolor_set;
+ wcursyncup;
+ wdelch;
+ wdeleteln;
+ wechochar;
+ wecho_wchar;
+ werase;
+ wgetbkgrnd;
+ wgetch;
+ wgetnstr;
+ wgetn_wstr;
+ wgetstr;
+ wget_wch;
+ wget_wstr;
+ whline;
+ whline_set;
+ winch;
+ winchnstr;
+ winchstr;
+ winnstr;
+ winnwstr;
+ winsch;
+ winsdelln;
+ winsertln;
+ winsnstr;
+ wins_nwstr;
+ winsstr;
+ winstr;
+ wins_wch;
+ wins_wstr;
+ win_wch;
+ win_wchnstr;
+ win_wchstr;
+ winwstr;
+ wmove;
+ wnoutrefresh;
+ wprintw;
+ wredrawln;
+ wrefresh;
+ wscanw;
+ wscrl;
+ wsetscrreg;
+ wstandend;
+ wstandout;
+ wsyncdown;
+ wsyncup;
+ wtimeout;
+ wtouchln;
+ wunctrl;
+ wvline;
+ wvline_set;
+};
+
+SUNWprivate_1.1 {
+ global:
+ boolcodes;
+ boolfnames;
+ boolnames;
+ __cht1;
+ __cht2;
+ numcodes;
+ numfnames;
+ numnames;
+ __pcht1;
+ __pcht2;
+ strcodes;
+ strfnames;
+ strnames;
+ __w1;
+ __WACS_BLOCK;
+ __WACS_BOARD;
+ __WACS_BTEE;
+ __WACS_BULLET;
+ __WACS_CKBOARD;
+ __WACS_DARROW;
+ __WACS_DEGREE;
+ __WACS_DIAMOND;
+ __WACS_HLINE;
+ __WACS_LANTERN;
+ __WACS_LARROW;
+ __WACS_LLCORNER;
+ __WACS_LRCORNER;
+ __WACS_LTEE;
+ __WACS_PLMINUS;
+ __WACS_PLUS;
+ __WACS_RARROW;
+ __WACS_RTEE;
+ __WACS_S1;
+ __WACS_S9;
+ __WACS_TTEE;
+ __WACS_UARROW;
+ __WACS_ULCORNER;
+ __WACS_URCORNER;
+ __WACS_VLINE;
+ local:
+ *;
+};
diff --git a/usr/src/lib/libxnet/Makefile.com b/usr/src/lib/libxnet/Makefile.com
index 9e6ba12bb3..93134f8b63 100644
--- a/usr/src/lib/libxnet/Makefile.com
+++ b/usr/src/lib/libxnet/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -35,8 +34,7 @@ include ../../Makefile.lib
# install this library in the root filesystem
include ../../Makefile.rootfs
-MAPFILES= ../common/mapfile-vers $(MAPFILE-FLTR)
-MAPOPTS= $(MAPFILES:%=-M%)
+MAPFILES += $(MAPFILE-FLTR)
SRCDIR= ../common
LIBS= $(DYNLIB) $(LINTLIB)
@@ -44,7 +42,7 @@ LIBS= $(DYNLIB) $(LINTLIB)
$(LINTLIB):= SRCS = $(SRCDIR)/$(LINTSRC)
CFLAGS += $(CCVERBOSE)
-DYNFLAGS += $(ZLOADFLTR) $(MAPOPTS)
+DYNFLAGS += $(ZLOADFLTR)
# Redefine shared object build rule to use $(LD) directly (this avoids .init
# and .fini sections being added).
@@ -58,5 +56,3 @@ all: $(LIBS) fnamecheck
lint: lintcheck
include ../../Makefile.targ
-
-$(DYNLIB): $(MAPFILES)
diff --git a/usr/src/lib/libzfs/Makefile b/usr/src/lib/libzfs/Makefile
index 5a5e6abd84..d940a6d3d3 100644
--- a/usr/src/lib/libzfs/Makefile
+++ b/usr/src/lib/libzfs/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,10 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
+#
include ../Makefile.lib
@@ -46,19 +46,17 @@ POFILE = libzfs.po
.KEEP_STATE:
-all clean clobber install: spec .WAIT $(SUBDIRS)
+all clean clobber install lint: $(SUBDIRS)
$(POFILE): pofile_MSGFILES
-lint: $(SUBDIRS)
-
install_h: $(ROOTHDRS)
check: $(CHECKHDRS)
_msg: $(MSGDOMAINPOFILE)
-$(SUBDIRS) spec: FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
diff --git a/usr/src/lib/libzfs/Makefile.com b/usr/src/lib/libzfs/Makefile.com
index 869da5228b..5f4b91680a 100644
--- a/usr/src/lib/libzfs/Makefile.com
+++ b/usr/src/lib/libzfs/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,10 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
+#
LIBRARY= libzfs.a
VERS= .1
@@ -41,6 +41,8 @@ include ../../Makefile.rootfs
LIBS= $(DYNLIB) $(LINTLIB)
+SRCDIR = ../common
+
INCS += -I$(SRCDIR)
INCS += -I../../../uts/common/fs/zfs
INCS += -I../../../common/zfs
@@ -54,10 +56,6 @@ SRCS= $(OBJS_COMMON:%.o=$(SRCDIR)/%.c) \
$(OBJS_SHARED:%.o=$(SRC)/common/zfs/%.c)
$(LINTLIB) := SRCS= $(SRCDIR)/$(LINTSRC)
-SRCDIR= ../common
-MAPDIR= ../spec/$(TRANSMACH)
-SPECMAPFILE= $(MAPDIR)/mapfile
-
.KEEP_STATE:
all: $(LIBS)
diff --git a/usr/src/lib/libzfs/common/mapfile-vers b/usr/src/lib/libzfs/common/mapfile-vers
new file mode 100644
index 0000000000..84ba2663c4
--- /dev/null
+++ b/usr/src/lib/libzfs/common/mapfile-vers
@@ -0,0 +1,128 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNWprivate_1.1 {
+ global:
+ libzfs_errno;
+ libzfs_error_action;
+ libzfs_error_description;
+ libzfs_fini;
+ libzfs_init;
+ libzfs_print_on_error;
+ zfs_clone;
+ zfs_close;
+ zfs_create;
+ zfs_destroy;
+ zfs_destroy_snaps;
+ zfs_get_handle;
+ zfs_get_name;
+ zfs_get_proplist;
+ zfs_get_type;
+ zfs_is_mounted;
+ zfs_is_shared;
+ zfs_iter_children;
+ zfs_iter_dependents;
+ zfs_iter_filesystems;
+ zfs_iter_root;
+ zfs_iter_snapshots;
+ zfs_mount;
+ zfs_name_to_prop;
+ zfs_name_valid;
+ zfs_nicenum;
+ zfs_nicestrtonum;
+ zfs_open;
+ zfs_promote;
+ zfs_prop_column_format;
+ zfs_prop_column_name;
+ zfs_prop_default_numeric;
+ zfs_prop_default_string;
+ zfs_prop_get;
+ zfs_prop_get_int;
+ zfs_prop_get_numeric;
+ zfs_prop_inherit;
+ zfs_prop_inheritable;
+ zfs_prop_is_string;
+ zfs_prop_readonly;
+ zfs_prop_set;
+ zfs_prop_to_name;
+ zfs_prop_validate;
+ zfs_prop_valid_for_type;
+ zfs_prop_values;
+ zfs_receive;
+ zfs_refresh_properties;
+ zfs_rename;
+ zfs_rollback;
+ zfs_send;
+ zfs_share;
+ zfs_snapshot;
+ zfs_type_to_name;
+ zfs_unmount;
+ zfs_unmountall;
+ zfs_unshare;
+ zfs_unshareall;
+ zpool_add;
+ zpool_clear;
+ zpool_close;
+ zpool_create;
+ zpool_create_zvol_links;
+ zpool_destroy;
+ zpool_export;
+ zpool_find_import;
+ zpool_find_vdev;
+ zpool_get_config;
+ zpool_get_errlog;
+ zpool_get_guid;
+ zpool_get_handle;
+ zpool_get_name;
+ zpool_get_root;
+ zpool_get_space_total;
+ zpool_get_space_used;
+ zpool_get_state;
+ zpool_get_status;
+ zpool_get_version;
+ zpool_import;
+ zpool_import_status;
+ zpool_in_use;
+ zpool_iter;
+ zpool_mount_datasets;
+ zpool_open;
+ zpool_open_canfail;
+ zpool_read_label;
+ zpool_refresh_stats;
+ zpool_remove_zvol_links;
+ zpool_scrub;
+ zpool_unmount_datasets;
+ zpool_upgrade;
+ zpool_vdev_attach;
+ zpool_vdev_detach;
+ zpool_vdev_name;
+ zpool_vdev_offline;
+ zpool_vdev_online;
+ zpool_vdev_remove;
+ local:
+ *;
+};
diff --git a/usr/src/lib/libzfs/spec/Makefile b/usr/src/lib/libzfs/spec/Makefile
deleted file mode 100644
index 2cb984bfc9..0000000000
--- a/usr/src/lib/libzfs/spec/Makefile
+++ /dev/null
@@ -1,28 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/libzfs/spec/Makefile.targ b/usr/src/lib/libzfs/spec/Makefile.targ
deleted file mode 100644
index 5af8faa767..0000000000
--- a/usr/src/lib/libzfs/spec/Makefile.targ
+++ /dev/null
@@ -1,31 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-LIBRARY= libzfs.a
-VERS= .1
-
-OBJECTS= libzfs.o
diff --git a/usr/src/lib/libzfs/spec/amd64/Makefile b/usr/src/lib/libzfs/spec/amd64/Makefile
deleted file mode 100644
index 98db1f9271..0000000000
--- a/usr/src/lib/libzfs/spec/amd64/Makefile
+++ /dev/null
@@ -1,35 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libzfs/spec/i386/Makefile b/usr/src/lib/libzfs/spec/i386/Makefile
deleted file mode 100644
index 6256c68c81..0000000000
--- a/usr/src/lib/libzfs/spec/i386/Makefile
+++ /dev/null
@@ -1,34 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libzfs/spec/libzfs.spec b/usr/src/lib/libzfs/spec/libzfs.spec
deleted file mode 100644
index e5d33c678a..0000000000
--- a/usr/src/lib/libzfs/spec/libzfs.spec
+++ /dev/null
@@ -1,410 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-function libzfs_fini
-version SUNWprivate_1.1
-end
-
-function libzfs_init
-version SUNWprivate_1.1
-end
-
-function libzfs_errno
-version SUNWprivate_1.1
-end
-
-function libzfs_error_action
-version SUNWprivate_1.1
-end
-
-function libzfs_error_description
-version SUNWprivate_1.1
-end
-
-function libzfs_print_on_error
-version SUNWprivate_1.1
-end
-
-function zfs_clone
-version SUNWprivate_1.1
-end
-
-function zfs_close
-version SUNWprivate_1.1
-end
-
-function zfs_create
-version SUNWprivate_1.1
-end
-
-function zfs_destroy
-version SUNWprivate_1.1
-end
-
-function zfs_destroy_snaps
-version SUNWprivate_1.1
-end
-
-function zfs_get_handle
-version SUNWprivate_1.1
-end
-
-function zfs_get_name
-version SUNWprivate_1.1
-end
-
-function zfs_get_proplist
-version SUNWprivate_1.1
-end
-
-function zfs_get_type
-version SUNWprivate_1.1
-end
-
-function zfs_is_mounted
-version SUNWprivate_1.1
-end
-
-function zfs_is_shared
-version SUNWprivate_1.1
-end
-
-function zfs_iter_children
-version SUNWprivate_1.1
-end
-
-function zfs_iter_dependents
-version SUNWprivate_1.1
-end
-
-function zfs_iter_filesystems
-version SUNWprivate_1.1
-end
-
-function zfs_iter_root
-version SUNWprivate_1.1
-end
-
-function zfs_iter_snapshots
-version SUNWprivate_1.1
-end
-
-function zfs_mount
-version SUNWprivate_1.1
-end
-
-function zfs_name_to_prop
-version SUNWprivate_1.1
-end
-
-function zfs_name_valid
-version SUNWprivate_1.1
-end
-
-function zfs_nicenum
-version SUNWprivate_1.1
-end
-
-function zfs_nicestrtonum
-version SUNWprivate_1.1
-end
-
-function zfs_open
-version SUNWprivate_1.1
-end
-
-function zfs_promote
-version SUNWprivate_1.1
-end
-
-function zfs_prop_column_name
-version SUNWprivate_1.1
-end
-
-function zfs_prop_column_format
-version SUNWprivate_1.1
-end
-
-function zfs_prop_default_numeric
-version SUNWprivate_1.1
-end
-
-function zfs_prop_default_string
-version SUNWprivate_1.1
-end
-
-function zfs_prop_get
-version SUNWprivate_1.1
-end
-
-function zfs_prop_get_int
-version SUNWprivate_1.1
-end
-
-function zfs_prop_get_numeric
-version SUNWprivate_1.1
-end
-
-function zfs_prop_inherit
-version SUNWprivate_1.1
-end
-
-function zfs_prop_inheritable
-version SUNWprivate_1.1
-end
-
-function zfs_prop_is_string
-version SUNWprivate_1.1
-end
-
-function zfs_prop_readonly
-version SUNWprivate_1.1
-end
-
-function zfs_prop_set
-version SUNWprivate_1.1
-end
-
-function zfs_prop_valid_for_type
-version SUNWprivate_1.1
-end
-
-function zfs_prop_validate
-version SUNWprivate_1.1
-end
-
-function zfs_prop_values
-version SUNWprivate_1.1
-end
-
-function zfs_prop_to_name
-version SUNWprivate_1.1
-end
-
-function zfs_receive
-version SUNWprivate_1.1
-end
-
-function zfs_refresh_properties
-version SUNWprivate_1.1
-end
-
-function zfs_rename
-version SUNWprivate_1.1
-end
-
-function zfs_rollback
-version SUNWprivate_1.1
-end
-
-function zfs_send
-version SUNWprivate_1.1
-end
-
-function zfs_share
-version SUNWprivate_1.1
-end
-
-function zfs_snapshot
-version SUNWprivate_1.1
-end
-
-function zfs_type_to_name
-version SUNWprivate_1.1
-end
-
-function zfs_unmount
-version SUNWprivate_1.1
-end
-
-function zfs_unmountall
-version SUNWprivate_1.1
-end
-
-function zfs_unshare
-version SUNWprivate_1.1
-end
-
-function zfs_unshareall
-version SUNWprivate_1.1
-end
-
-function zpool_add
-version SUNWprivate_1.1
-end
-
-function zpool_clear
-version SUNWprivate_1.1
-end
-
-function zpool_close
-version SUNWprivate_1.1
-end
-
-function zpool_create
-version SUNWprivate_1.1
-end
-
-function zpool_create_zvol_links
-version SUNWprivate_1.1
-end
-
-function zpool_destroy
-version SUNWprivate_1.1
-end
-
-function zpool_export
-version SUNWprivate_1.1
-end
-
-function zpool_find_vdev
-version SUNWprivate_1.1
-end
-
-function zpool_find_import
-version SUNWprivate_1.1
-end
-
-function zpool_get_config
-version SUNWprivate_1.1
-end
-
-function zpool_get_errlog
-version SUNWprivate_1.1
-end
-
-function zpool_get_guid
-version SUNWprivate_1.1
-end
-
-function zpool_get_handle
-version SUNWprivate_1.1
-end
-
-function zpool_get_name
-version SUNWprivate_1.1
-end
-
-function zpool_get_root
-version SUNWprivate_1.1
-end
-
-function zpool_get_space_total
-version SUNWprivate_1.1
-end
-
-function zpool_get_space_used
-version SUNWprivate_1.1
-end
-
-function zpool_get_state
-version SUNWprivate_1.1
-end
-
-function zpool_get_status
-version SUNWprivate_1.1
-end
-
-function zpool_get_version
-version SUNWprivate_1.1
-end
-
-function zpool_import
-version SUNWprivate_1.1
-end
-
-function zpool_import_status
-version SUNWprivate_1.1
-end
-
-function zpool_scrub
-version SUNWprivate_1.1
-end
-
-function zpool_in_use
-version SUNWprivate_1.1
-end
-
-function zpool_iter
-version SUNWprivate_1.1
-end
-
-function zpool_mount_datasets
-version SUNWprivate_1.1
-end
-
-function zpool_open
-version SUNWprivate_1.1
-end
-
-function zpool_open_canfail
-version SUNWprivate_1.1
-end
-
-function zpool_read_label
-version SUNWprivate_1.1
-end
-
-function zpool_refresh_stats
-version SUNWprivate_1.1
-end
-
-function zpool_remove_zvol_links
-version SUNWprivate_1.1
-end
-
-function zpool_unmount_datasets
-version SUNWprivate_1.1
-end
-
-function zpool_upgrade
-version SUNWprivate_1.1
-end
-
-function zpool_vdev_online
-version SUNWprivate_1.1
-end
-
-function zpool_vdev_offline
-version SUNWprivate_1.1
-end
-
-function zpool_vdev_attach
-version SUNWprivate_1.1
-end
-
-function zpool_vdev_detach
-version SUNWprivate_1.1
-end
-
-function zpool_vdev_name
-version SUNWprivate_1.1
-end
-
-function zpool_vdev_remove
-version SUNWprivate_1.1
-end
-
diff --git a/usr/src/lib/libzfs/spec/sparc/Makefile b/usr/src/lib/libzfs/spec/sparc/Makefile
deleted file mode 100644
index 6256c68c81..0000000000
--- a/usr/src/lib/libzfs/spec/sparc/Makefile
+++ /dev/null
@@ -1,34 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libzfs/spec/sparcv9/Makefile b/usr/src/lib/libzfs/spec/sparcv9/Makefile
deleted file mode 100644
index 98db1f9271..0000000000
--- a/usr/src/lib/libzfs/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,35 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libzfs/spec/versions b/usr/src/lib/libzfs/spec/versions
deleted file mode 100644
index 0cbdf7e792..0000000000
--- a/usr/src/lib/libzfs/spec/versions
+++ /dev/null
@@ -1,40 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-
-sparc {
- SUNWprivate_1.1;
-}
-sparcv9 {
- SUNWprivate_1.1;
-}
-i386 {
- SUNWprivate_1.1;
-}
-amd64 {
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/libzfs_jni/Makefile b/usr/src/lib/libzfs_jni/Makefile
index d062bd767f..ded40b5865 100644
--- a/usr/src/lib/libzfs_jni/Makefile
+++ b/usr/src/lib/libzfs_jni/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,10 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
+#
include ../Makefile.lib
@@ -49,15 +49,13 @@ lint := TARGET= lint
.KEEP_STATE:
-all clean clobber install: spec .WAIT $(SUBDIRS)
-
-lint: $(SUBDIRS)
+all clean clobber install lint: $(SUBDIRS)
install_h: $(ROOTHDRS)
check: $(CHECKHDRS)
-$(SUBDIRS) spec: FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
diff --git a/usr/src/lib/libzfs_jni/Makefile.com b/usr/src/lib/libzfs_jni/Makefile.com
index 8291e13d11..ac81f03073 100644
--- a/usr/src/lib/libzfs_jni/Makefile.com
+++ b/usr/src/lib/libzfs_jni/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,10 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
+#
LIBRARY= libzfs_jni.a
VERS= .1
@@ -47,12 +47,9 @@ LDLIBS += -lc -lnvpair -ldiskmgt -lzfs
CPPFLAGS += $(INCS)
$(NOT_RELEASE_BUILD) CPPFLAGS += -DDEBUG
+SRCDIR = ../common
$(LINTLIB) := SRCS= $(SRCDIR)/$(LINTSRC)
-SRCDIR= ../common
-MAPDIR= ../spec/$(TRANSMACH)
-SPECMAPFILE= $(MAPDIR)/mapfile
-
.KEEP_STATE:
all: $(LIBS)
diff --git a/usr/src/lib/libzfs_jni/common/mapfile-vers b/usr/src/lib/libzfs_jni/common/mapfile-vers
new file mode 100644
index 0000000000..b638784db5
--- /dev/null
+++ b/usr/src/lib/libzfs_jni/common/mapfile-vers
@@ -0,0 +1,59 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNWprivate_1.1 {
+ global:
+ dmgt_avail_disk_iter;
+ dmgt_free_disk;
+ dmgt_free_slice;
+ dmgt_set_error_handler;
+ Java_com_sun_zfs_common_model_SystemDataModel_getAvailableDisks;
+ Java_com_sun_zfs_common_model_SystemDataModel_getDataset;
+ Java_com_sun_zfs_common_model_SystemDataModel_getDatasets;
+ Java_com_sun_zfs_common_model_SystemDataModel_getDependents;
+ Java_com_sun_zfs_common_model_SystemDataModel_getFileSystem;
+ Java_com_sun_zfs_common_model_SystemDataModel_getFileSystems;
+ Java_com_sun_zfs_common_model_SystemDataModel_getImportablePools;
+ Java_com_sun_zfs_common_model_SystemDataModel_getPool;
+ Java_com_sun_zfs_common_model_SystemDataModel_getPools;
+ Java_com_sun_zfs_common_model_SystemDataModel_getPropertyDefault;
+ Java_com_sun_zfs_common_model_SystemDataModel_getSnapshot;
+ Java_com_sun_zfs_common_model_SystemDataModel_getSnapshots;
+ Java_com_sun_zfs_common_model_SystemDataModel_getValidPropertyNames;
+ Java_com_sun_zfs_common_model_SystemDataModel_getVirtualDevice;
+ Java_com_sun_zfs_common_model_SystemDataModel_getVirtualDevices__Ljava_lang_String_2;
+ Java_com_sun_zfs_common_model_SystemDataModel_getVirtualDevices__Ljava_lang_String_2J;
+ Java_com_sun_zfs_common_model_SystemDataModel_getVolume;
+ Java_com_sun_zfs_common_model_SystemDataModel_getVolumes;
+ zjni_ipool_iter;
+ zjni_pool_state_to_str;
+ zjni_pool_status_to_str;
+ zjni_vdev_aux_to_str;
+ zjni_vdev_state_to_str;
+ local:
+ *;
+};
diff --git a/usr/src/lib/libzfs_jni/spec/Makefile b/usr/src/lib/libzfs_jni/spec/Makefile
deleted file mode 100644
index 2cb984bfc9..0000000000
--- a/usr/src/lib/libzfs_jni/spec/Makefile
+++ /dev/null
@@ -1,28 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/libzfs_jni/spec/Makefile.targ b/usr/src/lib/libzfs_jni/spec/Makefile.targ
deleted file mode 100644
index 0a844e13a9..0000000000
--- a/usr/src/lib/libzfs_jni/spec/Makefile.targ
+++ /dev/null
@@ -1,31 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-LIBRARY= libzfs_jni.a
-VERS= .1
-
-OBJECTS= libzfs_jni.o
diff --git a/usr/src/lib/libzfs_jni/spec/amd64/Makefile b/usr/src/lib/libzfs_jni/spec/amd64/Makefile
deleted file mode 100644
index 98db1f9271..0000000000
--- a/usr/src/lib/libzfs_jni/spec/amd64/Makefile
+++ /dev/null
@@ -1,35 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libzfs_jni/spec/i386/Makefile b/usr/src/lib/libzfs_jni/spec/i386/Makefile
deleted file mode 100644
index 6256c68c81..0000000000
--- a/usr/src/lib/libzfs_jni/spec/i386/Makefile
+++ /dev/null
@@ -1,34 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libzfs_jni/spec/libzfs_jni.spec b/usr/src/lib/libzfs_jni/spec/libzfs_jni.spec
deleted file mode 100644
index 5da10c71fb..0000000000
--- a/usr/src/lib/libzfs_jni/spec/libzfs_jni.spec
+++ /dev/null
@@ -1,137 +0,0 @@
-#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-function Java_com_sun_zfs_common_model_SystemDataModel_getImportablePools
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_zfs_common_model_SystemDataModel_getPools
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_zfs_common_model_SystemDataModel_getPool
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_zfs_common_model_SystemDataModel_getFileSystems
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_zfs_common_model_SystemDataModel_getFileSystem
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_zfs_common_model_SystemDataModel_getVolumes
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_zfs_common_model_SystemDataModel_getVolume
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_zfs_common_model_SystemDataModel_getSnapshots
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_zfs_common_model_SystemDataModel_getSnapshot
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_zfs_common_model_SystemDataModel_getDatasets
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_zfs_common_model_SystemDataModel_getDataset
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_zfs_common_model_SystemDataModel_getVirtualDevice
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_zfs_common_model_SystemDataModel_getVirtualDevices__Ljava_lang_String_2
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_zfs_common_model_SystemDataModel_getVirtualDevices__Ljava_lang_String_2J
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_zfs_common_model_SystemDataModel_getAvailableDisks
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_zfs_common_model_SystemDataModel_getDependents
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_zfs_common_model_SystemDataModel_getPropertyDefault
-version SUNWprivate_1.1
-end
-
-function Java_com_sun_zfs_common_model_SystemDataModel_getValidPropertyNames
-version SUNWprivate_1.1
-end
-
-function dmgt_avail_disk_iter
-version SUNWprivate_1.1
-end
-
-function dmgt_free_disk
-version SUNWprivate_1.1
-end
-
-function dmgt_free_slice
-version SUNWprivate_1.1
-end
-
-function dmgt_set_error_handler
-version SUNWprivate_1.1
-end
-
-function zjni_ipool_iter
-version SUNWprivate_1.1
-end
-
-function zjni_vdev_state_to_str
-version SUNWprivate_1.1
-end
-
-function zjni_vdev_aux_to_str
-version SUNWprivate_1.1
-end
-
-function zjni_pool_state_to_str
-version SUNWprivate_1.1
-end
-
-function zjni_pool_status_to_str
-version SUNWprivate_1.1
-end
diff --git a/usr/src/lib/libzfs_jni/spec/sparc/Makefile b/usr/src/lib/libzfs_jni/spec/sparc/Makefile
deleted file mode 100644
index 6256c68c81..0000000000
--- a/usr/src/lib/libzfs_jni/spec/sparc/Makefile
+++ /dev/null
@@ -1,34 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libzfs_jni/spec/sparcv9/Makefile b/usr/src/lib/libzfs_jni/spec/sparcv9/Makefile
deleted file mode 100644
index 98db1f9271..0000000000
--- a/usr/src/lib/libzfs_jni/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,35 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libzfs_jni/spec/versions b/usr/src/lib/libzfs_jni/spec/versions
deleted file mode 100644
index 5b067849f5..0000000000
--- a/usr/src/lib/libzfs_jni/spec/versions
+++ /dev/null
@@ -1,43 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-
-sparc {
- SUNWprivate_1.1;
-}
-sparcv9 {
- SUNWprivate_1.1;
-}
-i386 {
- SUNWprivate_1.1;
-}
-amd64 {
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/libzonecfg/Makefile b/usr/src/lib/libzonecfg/Makefile
index d34f51aab1..513695f532 100644
--- a/usr/src/lib/libzonecfg/Makefile
+++ b/usr/src/lib/libzonecfg/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,7 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
@@ -70,17 +69,15 @@ $(XMLDIR)/%: %
.KEEP_STATE:
-all clean clobber install: spec .WAIT $(SUBDIRS)
+all clean clobber install lint: $(SUBDIRS)
$(POFILE): pofile_MSGFILES
-lint: $(SUBDIRS)
-
install: $(ROOTDTDS) $(ROOTXMLFILES)
_msg: $(MSGDOMAINPOFILE)
-spec $(SUBDIRS): FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
diff --git a/usr/src/lib/libzonecfg/Makefile.com b/usr/src/lib/libzonecfg/Makefile.com
index e3bf9d2b7d..54caa0dd26 100644
--- a/usr/src/lib/libzonecfg/Makefile.com
+++ b/usr/src/lib/libzonecfg/Makefile.com
@@ -35,12 +35,10 @@ LIBS = $(DYNLIB) $(LINTLIB)
LDLIBS += -lc -lsocket -lnsl -luuid -lnvpair -lsysevent -lsec
# DYNLIB libraries do not have lint libs and are not linted
$(DYNLIB) := LDLIBS += -lxml2
-CPPFLAGS += -I/usr/include/libxml2 -I$(SRCDIR) -D_REENTRANT
-$(LINTLIB) := SRCS= $(SRCDIR)/$(LINTSRC)
SRCDIR = ../common
-MAPDIR = ../spec/$(TRANSMACH)
-SPECMAPFILE = $(MAPDIR)/mapfile
+CPPFLAGS += -I/usr/include/libxml2 -I$(SRCDIR) -D_REENTRANT
+$(LINTLIB) := SRCS= $(SRCDIR)/$(LINTSRC)
.KEEP_STATE:
diff --git a/usr/src/lib/libzonecfg/common/mapfile-vers b/usr/src/lib/libzonecfg/common/mapfile-vers
new file mode 100644
index 0000000000..9654a93300
--- /dev/null
+++ b/usr/src/lib/libzonecfg/common/mapfile-vers
@@ -0,0 +1,178 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNWprivate_1.1 {
+ global:
+ endzoneent;
+ getzoneent;
+ getzoneent_private;
+ putzoneent;
+ setzoneent;
+ zonecfg_access;
+ zonecfg_add_attr;
+ zonecfg_add_dev;
+ zonecfg_add_ds;
+ zonecfg_add_filesystem;
+ zonecfg_add_fs_option;
+ zonecfg_add_ipd;
+ zonecfg_add_nwif;
+ zonecfg_add_rctl;
+ zonecfg_add_rctl_value;
+ zonecfg_add_scratch;
+ zonecfg_attach_manifest;
+ zonecfg_check_handle;
+ zonecfg_clear_deldevs;
+ zonecfg_close_scratch;
+ zonecfg_construct_rctlblk;
+ zonecfg_create_snapshot;
+ zonecfg_default_privset;
+ zonecfg_delete_attr;
+ zonecfg_delete_dev;
+ zonecfg_delete_ds;
+ zonecfg_delete_filesystem;
+ zonecfg_delete_ipd;
+ zonecfg_delete_nwif;
+ zonecfg_delete_rctl;
+ zonecfg_delete_scratch;
+ zonecfg_destroy;
+ zonecfg_destroy_snapshot;
+ zonecfg_detached;
+ zonecfg_detach_save;
+ zonecfg_devperms_apply;
+ zonecfg_devwalk;
+ zonecfg_endattrent;
+ zonecfg_enddevent;
+ zonecfg_enddevperment;
+ zonecfg_enddsent;
+ zonecfg_endfsent;
+ zonecfg_endipdent;
+ zonecfg_endnwifent;
+ zonecfg_endpatchent;
+ zonecfg_endpkgent;
+ zonecfg_endrctlent;
+ zonecfg_find_mounts;
+ zonecfg_find_scratch;
+ zonecfg_fini_handle;
+ zonecfg_free_fs_option_list;
+ zonecfg_free_rctl_value_list;
+ zonecfg_get_attach_handle;
+ zonecfg_get_attr_boolean;
+ zonecfg_getattrent;
+ zonecfg_get_attr_int;
+ zonecfg_get_attr_string;
+ zonecfg_get_attr_uint;
+ zonecfg_get_autoboot;
+ zonecfg_get_bootargs;
+ zonecfg_get_detach_info;
+ zonecfg_getdevent;
+ zonecfg_getdevperment;
+ zonecfg_getdsent;
+ zonecfg_getfsent;
+ zonecfg_get_handle;
+ zonecfg_getipdent;
+ zonecfg_get_limitpriv;
+ zonecfg_get_name;
+ zonecfg_get_name_by_uuid;
+ zonecfg_getnwifent;
+ zonecfg_getpatchent;
+ zonecfg_getpkgent;
+ zonecfg_get_pool;
+ zonecfg_get_privset;
+ zonecfg_getrctlent;
+ zonecfg_get_root;
+ zonecfg_get_scratch;
+ zonecfg_get_snapshot_handle;
+ zonecfg_get_template_handle;
+ zonecfg_get_uuid;
+ zonecfg_get_zonepath;
+ zonecfg_has_deldevs;
+ zonecfg_in_alt_root;
+ zonecfg_init_handle;
+ zonecfg_is_rctl;
+ zonecfg_is_scratch;
+ zonecfg_lock_scratch;
+ zonecfg_lookup_attr;
+ zonecfg_lookup_dev;
+ zonecfg_lookup_ds;
+ zonecfg_lookup_filesystem;
+ zonecfg_lookup_ipd;
+ zonecfg_lookup_nwif;
+ zonecfg_lookup_rctl;
+ zonecfg_match_dev;
+ zonecfg_modify_attr;
+ zonecfg_modify_dev;
+ zonecfg_modify_ds;
+ zonecfg_modify_filesystem;
+ zonecfg_modify_ipd;
+ zonecfg_modify_nwif;
+ zonecfg_modify_rctl;
+ zonecfg_notify_bind;
+ zonecfg_notify_critical_abort;
+ zonecfg_notify_critical_enter;
+ zonecfg_notify_critical_exit;
+ zonecfg_notify_unbind;
+ zonecfg_open_scratch;
+ zonecfg_remove_fs_option;
+ zonecfg_remove_rctl_value;
+ zonecfg_reverse_scratch;
+ zonecfg_rm_detached;
+ zonecfg_same_net_address;
+ zonecfg_save;
+ zonecfg_setattrent;
+ zonecfg_set_autoboot;
+ zonecfg_set_bootargs;
+ zonecfg_setdevent;
+ zonecfg_setdevperment;
+ zonecfg_setdsent;
+ zonecfg_setfsent;
+ zonecfg_setipdent;
+ zonecfg_set_limitpriv;
+ zonecfg_set_name;
+ zonecfg_setnwifent;
+ zonecfg_setpatchent;
+ zonecfg_setpkgent;
+ zonecfg_set_pool;
+ zonecfg_setrctlent;
+ zonecfg_set_root;
+ zonecfg_set_zonepath;
+ zonecfg_should_deldev;
+ zonecfg_strerror;
+ zonecfg_validate_zonename;
+ zonecfg_valid_fs_type;
+ zonecfg_valid_net_address;
+ zonecfg_valid_rctl;
+ zonecfg_valid_rctlblk;
+ zonecfg_valid_rctlname;
+ zone_get_id;
+ zone_get_rootpath;
+ zone_get_state;
+ zone_get_zonepath;
+ zone_set_state;
+ zone_state_str;
+ local:
+ *;
+};
diff --git a/usr/src/lib/libzonecfg/spec/Makefile b/usr/src/lib/libzonecfg/spec/Makefile
deleted file mode 100644
index cb95f72f3b..0000000000
--- a/usr/src/lib/libzonecfg/spec/Makefile
+++ /dev/null
@@ -1,29 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/libzonecfg/spec/Makefile.targ b/usr/src/lib/libzonecfg/spec/Makefile.targ
deleted file mode 100644
index d2732b9081..0000000000
--- a/usr/src/lib/libzonecfg/spec/Makefile.targ
+++ /dev/null
@@ -1,32 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-LIBRARY = libzonecfg.a
-VERS = .1
-OBJECTS = libzonecfg.o
-SPECCPP =
diff --git a/usr/src/lib/libzonecfg/spec/amd64/Makefile b/usr/src/lib/libzonecfg/spec/amd64/Makefile
deleted file mode 100644
index 751257f818..0000000000
--- a/usr/src/lib/libzonecfg/spec/amd64/Makefile
+++ /dev/null
@@ -1,37 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libzonecfg/spec/i386/Makefile b/usr/src/lib/libzonecfg/spec/i386/Makefile
deleted file mode 100644
index 9b52fa33bf..0000000000
--- a/usr/src/lib/libzonecfg/spec/i386/Makefile
+++ /dev/null
@@ -1,35 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libzonecfg/spec/libzonecfg.spec b/usr/src/lib/libzonecfg/spec/libzonecfg.spec
deleted file mode 100644
index 06cb413a43..0000000000
--- a/usr/src/lib/libzonecfg/spec/libzonecfg.spec
+++ /dev/null
@@ -1,914 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-
-#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libzonecfg/spec/libzonecfg.spec
-#
-
-function zonecfg_set_root
-include <libzonecfg.h>
-declaration void zonecfg_set_root(const char *)
-version SUNWprivate_1.1
-end
-
-function zonecfg_get_root
-include <libzonecfg.h>
-declaration const char *zonecfg_get_root(void)
-version SUNWprivate_1.1
-end
-
-function zonecfg_in_alt_root
-include <libzonecfg.h>
-declaration boolean_t zonecfg_in_alt_root(void)
-version SUNWprivate_1.1
-end
-
-function zonecfg_init_handle
-include <libzonecfg.h>
-declaration zone_dochandle_t zonecfg_init_handle(void)
-version SUNWprivate_1.1
-end
-
-function zonecfg_get_handle
-include <libzonecfg.h>
-declaration int zonecfg_get_handle(const char *, zone_dochandle_t)
-version SUNWprivate_1.1
-end
-
-function zonecfg_get_attach_handle
-include <libzonecfg.h>
-declaration int zonecfg_get_attach_handle(const char *, const char *, boolean_t, zone_dochandle_t)
-version SUNWprivate_1.1
-end
-
-function zonecfg_get_snapshot_handle
-include <libzonecfg.h>
-declaration int zonecfg_get_snapshot_handle(const char *, zone_dochandle_t)
-version SUNWprivate_1.1
-end
-
-function zonecfg_get_template_handle
-include <libzonecfg.h>
-declaration int zonecfg_get_template_handle(const char *, const char *, \
- zone_dochandle_t)
-version SUNWprivate_1.1
-end
-
-function zonecfg_attach_manifest
-include <libzonecfg.h>
-declaration int zonecfg_attach_manifest(int, zone_dochandle_t, \
- zone_dochandle_t)
-version SUNWprivate_1.1
-end
-
-function zonecfg_check_handle
-include <libzonecfg.h>
-declaration int zonecfg_check_handle(zone_dochandle_t)
-version SUNWprivate_1.1
-end
-
-function zonecfg_fini_handle
-include <libzonecfg.h>
-declaration void zonecfg_fini_handle(zone_dochandle_t)
-version SUNWprivate_1.1
-end
-
-function zonecfg_get_name
-include <libzonecfg.h>
-declaration int zonecfg_get_name(zone_dochandle_t, char *, size_t)
-version SUNWprivate_1.1
-end
-
-function zonecfg_set_name
-include <libzonecfg.h>
-declaration int zonecfg_set_name(zone_dochandle_t, char *)
-version SUNWprivate_1.1
-end
-
-function zonecfg_validate_zonename
-include <libzonecfg.h>
-declaration int zonecfg_validate_zonename(char *)
-version SUNWprivate_1.1
-end
-
-function zonecfg_get_zonepath
-include <libzonecfg.h>
-declaration int zonecfg_get_zonepath(zone_dochandle_t, char *, size_t)
-version SUNWprivate_1.1
-end
-
-function zonecfg_set_zonepath
-include <libzonecfg.h>
-declaration int zonecfg_set_zonepath(zone_dochandle_t, char *)
-version SUNWprivate_1.1
-end
-
-function zonecfg_get_autoboot
-include <libzonecfg.h>
-declaration int zonecfg_get_autoboot(zone_dochandle_t, boolean_t *);
-version SUNWprivate_1.1
-end
-
-function zonecfg_set_autoboot
-include <libzonecfg.h>
-declaration int zonecfg_set_autoboot(zone_dochandle_t, boolean_t)
-version SUNWprivate_1.1
-end
-
-function zonecfg_get_pool
-include <libzonecfg.h>
-declaration int zonecfg_get_pool(zone_dochandle_t, char *, size_t)
-version SUNWprivate_1.1
-end
-
-function zonecfg_set_pool
-include <libzonecfg.h>
-declaration int zonecfg_set_pool(zone_dochandle_t, char *)
-version SUNWprivate_1.1
-end
-
-function zonecfg_get_limitpriv
-include <libzonecfg.h>
-declaration int zonecfg_get_limitpriv(zone_dochandle_t, char **)
-version SUNWprivate_1.1
-end
-
-function zonecfg_set_limitpriv
-include <libzonecfg.h>
-declaration int zonecfg_set_limitpriv(zone_dochandle_t, char *)
-version SUNWprivate_1.1
-end
-
-function zonecfg_get_bootargs
-include <libzonecfg.h>
-declaration int zonecfg_get_bootargs(zone_dochandle_t, char *, size_t)
-version SUNWprivate_1.1
-end
-
-function zonecfg_set_bootargs
-include <libzonecfg.h>
-declaration int zonecfg_set_bootargs(zone_dochandle_t, char *)
-version SUNWprivate_1.1
-end
-
-function zonecfg_add_fs_option
-include <libzonecfg.h>
-declaration int zonecfg_add_fs_option(struct zone_fstab *, char *)
-version SUNWprivate_1.1
-end
-
-function zonecfg_remove_fs_option
-include <libzonecfg.h>
-declaration int zonecfg_remove_fs_option(struct zone_fstab *, char *)
-version SUNWprivate_1.1
-end
-
-function zonecfg_free_fs_option_list
-include <libzonecfg.h>
-declaration void zonecfg_free_fs_option_list(zone_fsopt_t *)
-version SUNWprivate_1.1
-end
-
-function zonecfg_add_filesystem
-include <libzonecfg.h>
-declaration int zonecfg_add_filesystem(zone_dochandle_t, struct zone_fstab *)
-version SUNWprivate_1.1
-end
-
-function zonecfg_delete_filesystem
-include <libzonecfg.h>
-declaration int zonecfg_delete_filesystem(zone_dochandle_t, struct zone_fstab *)
-version SUNWprivate_1.1
-end
-
-function zonecfg_modify_filesystem
-include <libzonecfg.h>
-declaration int zonecfg_modify_filesystem(zone_dochandle_t, struct zone_fstab *, struct zone_fstab *)
-version SUNWprivate_1.1
-end
-
-function zonecfg_lookup_filesystem
-include <libzonecfg.h>
-declaration int zonecfg_lookup_filesystem(zone_dochandle_t, struct zone_fstab *)
-version SUNWprivate_1.1
-end
-
-function zonecfg_add_ipd
-include <libzonecfg.h>
-declaration int zonecfg_add_ipd(zone_dochandle_t, struct zone_fstab *)
-version SUNWprivate_1.1
-end
-
-function zonecfg_delete_ipd
-include <libzonecfg.h>
-declaration int zonecfg_delete_ipd(zone_dochandle_t, struct zone_fstab *)
-version SUNWprivate_1.1
-end
-
-function zonecfg_modify_ipd
-include <libzonecfg.h>
-declaration int zonecfg_modify_ipd(zone_dochandle_t, struct zone_fstab *, struct zone_fstab *)
-version SUNWprivate_1.1
-end
-
-function zonecfg_lookup_ipd
-include <libzonecfg.h>
-declaration int zonecfg_lookup_ipd(zone_dochandle_t, struct zone_fstab *)
-version SUNWprivate_1.1
-end
-
-function zonecfg_add_nwif
-include <libzonecfg.h>
-declaration int zonecfg_add_nwif(zone_dochandle_t, struct zone_nwiftab *)
-version SUNWprivate_1.1
-end
-
-function zonecfg_delete_nwif
-include <libzonecfg.h>
-declaration int zonecfg_delete_nwif(zone_dochandle_t, struct zone_nwiftab *)
-version SUNWprivate_1.1
-end
-
-function zonecfg_modify_nwif
-include <libzonecfg.h>
-declaration int zonecfg_modify_nwif(zone_dochandle_t, struct zone_nwiftab *, struct zone_nwiftab *)
-version SUNWprivate_1.1
-end
-
-function zonecfg_lookup_nwif
-include <libzonecfg.h>
-declaration int zonecfg_lookup_nwif(zone_dochandle_t, struct zone_nwiftab *)
-version SUNWprivate_1.1
-end
-
-function zonecfg_lookup_dev
-include <libzonecfg.h>
-declaration int zonecfg_lookup_dev(zone_dochandle_t, struct zone_devtab *)
-version SUNWprivate_1.1
-end
-
-function zonecfg_add_dev
-include <libzonecfg.h>
-declaration int zonecfg_add_dev(zone_dochandle_t, struct zone_devtab *)
-version SUNWprivate_1.1
-end
-
-function zonecfg_delete_dev
-include <libzonecfg.h>
-declaration int zonecfg_delete_dev(zone_dochandle_t, struct zone_devtab *)
-version SUNWprivate_1.1
-end
-
-function zonecfg_modify_dev
-include <libzonecfg.h>
-declaration int zonecfg_modify_dev(zone_dochandle_t, struct zone_devtab *, struct zone_devtab *)
-version SUNWprivate_1.1
-end
-
-function zonecfg_match_dev
-include <libzonecfg.h>
-declaration int zonecfg_match_dev(zone_dochandle_t, const char *, struct zone_devtab *)
-version SUNWprivate_1.1
-end
-
-function zonecfg_should_deldev
-include <libzonecfg.h>
-declaration int zonecfg_should_deldev(zone_dochandle_t, const char *, boolean_t *)
-version SUNWprivate_1.1
-end
-
-function zonecfg_clear_deldevs
-include <libzonecfg.h>
-declaration int zonecfg_clear_deldevs(zone_dochandle_t handle)
-version SUNWprivate_1.1
-end
-
-function zonecfg_has_deldevs
-include <libzonecfg.h>
-declaration int zonecfg_has_deldevs(zone_dochandle_t handle)
-version SUNWprivate_1.1
-end
-
-function zonecfg_add_attr
-include <libzonecfg.h>
-declaration int zonecfg_add_attr(zone_dochandle_t, struct zone_attrtab *)
-version SUNWprivate_1.1
-end
-
-function zonecfg_delete_attr
-include <libzonecfg.h>
-declaration int zonecfg_delete_attr(zone_dochandle_t, struct zone_attrtab *)
-version SUNWprivate_1.1
-end
-
-function zonecfg_modify_attr
-include <libzonecfg.h>
-declaration int zonecfg_modify_attr(zone_dochandle_t, struct zone_attrtab *, struct zone_attrtab *)
-version SUNWprivate_1.1
-end
-
-function zonecfg_lookup_attr
-include <libzonecfg.h>
-declaration int zonecfg_lookup_attr(zone_dochandle_t, struct zone_attrtab *)
-version SUNWprivate_1.1
-end
-
-function zonecfg_add_ds
-include <libzonecfg.h>
-declaration int zonecfg_add_ds(zone_dochandle_t, struct zone_dstab *)
-version SUNWprivate_1.1
-end
-
-function zonecfg_delete_ds
-include <libzonecfg.h>
-declaration int zonecfg_delete_ds(zone_dochandle_t, struct zone_dstab *)
-version SUNWprivate_1.1
-end
-
-function zonecfg_modify_ds
-include <libzonecfg.h>
-declaration int zonecfg_modify_ds(zone_dochandle_t, struct zone_dstab *, struct zone_dstab *)
-version SUNWprivate_1.1
-end
-
-function zonecfg_lookup_ds
-include <libzonecfg.h>
-declaration int zonecfg_lookup_ds(zone_dochandle_t, struct zone_dstab *)
-version SUNWprivate_1.1
-end
-
-function zonecfg_get_attr_boolean
-include <libzonecfg.h>
-declaration int zonecfg_get_attr_boolean(const struct zone_attrtab *, boolean_t *)
-version SUNWprivate_1.1
-end
-
-function zonecfg_get_attr_int
-include <libzonecfg.h>
-declaration int zonecfg_get_attr_int(const struct zone_attrtab *, int64_t *)
-version SUNWprivate_1.1
-end
-
-function zonecfg_get_attr_string
-include <libzonecfg.h>
-declaration int zonecfg_get_attr_string(const struct zone_attrtab *, char *, size_t)
-version SUNWprivate_1.1
-end
-
-function zonecfg_get_attr_uint
-include <libzonecfg.h>
-declaration int zonecfg_get_attr_uint(const struct zone_attrtab *, uint64_t *)
-version SUNWprivate_1.1
-end
-
-function zonecfg_add_rctl
-include <libzonecfg.h>
-declaration int zonecfg_add_rctl(zone_dochandle_t, struct zone_rctltab *)
-version SUNWprivate_1.1
-end
-
-function zonecfg_delete_rctl
-include <libzonecfg.h>
-declaration int zonecfg_delete_rctl(zone_dochandle_t, struct zone_rctltab *)
-version SUNWprivate_1.1
-end
-
-function zonecfg_modify_rctl
-include <libzonecfg.h>
-declaration int zonecfg_modify_rctl(zone_dochandle_t, struct zone_rctltab *, struct zone_rctltab *)
-version SUNWprivate_1.1
-end
-
-function zonecfg_lookup_rctl
-include <libzonecfg.h>
-declaration int zonecfg_lookup_rctl(zone_dochandle_t, struct zone_rctltab *)
-version SUNWprivate_1.1
-end
-
-function zonecfg_add_rctl_value
-include <libzonecfg.h>
-declaration int zonecfg_add_rctl_value(struct zone_rctltab *, struct zone_rctlvaltab *)
-version SUNWprivate_1.1
-end
-
-function zonecfg_remove_rctl_value
-include <libzonecfg.h>
-declaration int zonecfg_remove_rctl_value(struct zone_rctltab *, struct zone_rctlvaltab *)
-version SUNWprivate_1.1
-end
-
-function zonecfg_free_rctl_value_list
-include <libzonecfg.h>
-declaration void zonecfg_free_rctl_value_list(struct zone_rctlvaltab *)
-version SUNWprivate_1.1
-end
-
-function zonecfg_strerror
-include <libzonecfg.h>
-declaration char *zonecfg_strerror(int)
-version SUNWprivate_1.1
-end
-
-function zonecfg_setfsent
-include <libzonecfg.h>
-declaration int zonecfg_setfsent(zone_dochandle_t)
-version SUNWprivate_1.1
-end
-
-function zonecfg_getfsent
-include <libzonecfg.h>
-declaration int zonecfg_getfsent(zone_dochandle_t, struct zone_fstab *)
-version SUNWprivate_1.1
-end
-
-function zonecfg_endfsent
-include <libzonecfg.h>
-declaration int zonecfg_endfsent(zone_dochandle_t)
-version SUNWprivate_1.1
-end
-
-function zonecfg_setipdent
-include <libzonecfg.h>
-declaration int zonecfg_setipdent(zone_dochandle_t)
-version SUNWprivate_1.1
-end
-
-function zonecfg_getipdent
-include <libzonecfg.h>
-declaration int zonecfg_getipdent(zone_dochandle_t, struct zone_fstab *)
-version SUNWprivate_1.1
-end
-
-function zonecfg_endipdent
-include <libzonecfg.h>
-declaration int zonecfg_endipdent(zone_dochandle_t)
-version SUNWprivate_1.1
-end
-
-function zonecfg_setnwifent
-include <libzonecfg.h>
-declaration int zonecfg_setnwifent(zone_dochandle_t);
-version SUNWprivate_1.1
-end
-
-function zonecfg_getnwifent
-include <libzonecfg.h>
-declaration int zonecfg_getnwifent(zone_dochandle_t, struct zone_nwiftab *)
-version SUNWprivate_1.1
-end
-
-function zonecfg_endnwifent
-include <libzonecfg.h>
-declaration int zonecfg_endnwifent(zone_dochandle_t)
-version SUNWprivate_1.1
-end
-
-function zonecfg_setdevent
-include <libzonecfg.h>
-declaration int zonecfg_setdevent(zone_dochandle_t);
-version SUNWprivate_1.1
-end
-
-function zonecfg_getdevent
-include <libzonecfg.h>
-declaration int zonecfg_getdevent(zone_dochandle_t, struct zone_devtab *)
-version SUNWprivate_1.1
-end
-
-function zonecfg_enddevent
-include <libzonecfg.h>
-declaration int zonecfg_enddevent(zone_dochandle_t)
-version SUNWprivate_1.1
-end
-
-function zonecfg_setattrent
-include <libzonecfg.h>
-declaration int zonecfg_setattrent(zone_dochandle_t);
-version SUNWprivate_1.1
-end
-
-function zonecfg_getattrent
-include <libzonecfg.h>
-declaration int zonecfg_getattrent(zone_dochandle_t, struct zone_attrtab *)
-version SUNWprivate_1.1
-end
-
-function zonecfg_endattrent
-include <libzonecfg.h>
-declaration int zonecfg_endattrent(zone_dochandle_t)
-version SUNWprivate_1.1
-end
-
-function zonecfg_setrctlent
-include <libzonecfg.h>
-declaration int zonecfg_setrctlent(zone_dochandle_t);
-version SUNWprivate_1.1
-end
-
-function zonecfg_getrctlent
-include <libzonecfg.h>
-declaration int zonecfg_getrctlent(zone_dochandle_t, struct zone_rctltab *)
-version SUNWprivate_1.1
-end
-
-function zonecfg_endrctlent
-include <libzonecfg.h>
-declaration int zonecfg_endrctlent(zone_dochandle_t)
-version SUNWprivate_1.1
-end
-
-function zonecfg_setdsent
-include <libzonecfg.h>
-declaration int zonecfg_setdsent(zone_dochandle_t);
-version SUNWprivate_1.1
-end
-
-function zonecfg_getdsent
-include <libzonecfg.h>
-declaration int zonecfg_getdsent(zone_dochandle_t, struct zone_dstab *)
-version SUNWprivate_1.1
-end
-
-function zonecfg_enddsent
-include <libzonecfg.h>
-declaration int zonecfg_enddsent(zone_dochandle_t)
-version SUNWprivate_1.1
-end
-
-function zonecfg_setpkgent
-include <libzonecfg.h>
-declaration int zonecfg_setpkgent(zone_dochandle_t);
-version SUNWprivate_1.1
-end
-
-function zonecfg_getpkgent
-include <libzonecfg.h>
-declaration int zonecfg_getpkgent(zone_dochandle_t, struct zone_pkgtab *)
-version SUNWprivate_1.1
-end
-
-function zonecfg_endpkgent
-include <libzonecfg.h>
-declaration int zonecfg_endpkgent(zone_dochandle_t)
-version SUNWprivate_1.1
-end
-
-function zonecfg_setpatchent
-include <libzonecfg.h>
-declaration int zonecfg_setpatchent(zone_dochandle_t);
-version SUNWprivate_1.1
-end
-
-function zonecfg_getpatchent
-include <libzonecfg.h>
-declaration int zonecfg_getpatchent(zone_dochandle_t, struct zone_patchtab *)
-version SUNWprivate_1.1
-end
-
-function zonecfg_endpatchent
-include <libzonecfg.h>
-declaration int zonecfg_endpatchent(zone_dochandle_t)
-version SUNWprivate_1.1
-end
-
-function zonecfg_setdevperment
-include <libzonecfg.h>
-declaration int zonecfg_setdevperment(zone_dochandle_t);
-version SUNWprivate_1.1
-end
-
-function zonecfg_getdevperment
-include <libzonecfg.h>
-declaration int zonecfg_getdevperment(zone_dochandle_t, struct zone_devpermtab *)
-version SUNWprivate_1.1
-end
-
-function zonecfg_enddevperment
-include <libzonecfg.h>
-declaration int zonecfg_enddevperment(zone_dochandle_t)
-version SUNWprivate_1.1
-end
-
-function zonecfg_destroy
-include <libzonecfg.h>
-declaration int zonecfg_destroy(const char *, boolean_t)
-version SUNWprivate_1.1
-end
-
-function zonecfg_create_snapshot
-include <libzonecfg.h>
-declaration int zonecfg_create_snapshot(const char *)
-version SUNWprivate_1.1
-end
-
-function zonecfg_destroy_snapshot
-include <libzonecfg.h>
-declaration int zonecfg_destroy_snapshot(const char *)
-version SUNWprivate_1.1
-end
-
-function zonecfg_save
-include <libzonecfg.h>
-declaration int zonecfg_save(zone_dochandle_t)
-version SUNWprivate_1.1
-end
-
-function zonecfg_detach_save
-include <libzonecfg.h>
-declaration int zonecfg_detach_save(zone_dochandle_t, uint_t)
-version SUNWprivate_1.1
-end
-
-function zonecfg_get_detach_info
-include <libzonecfg.h>
-declaration int zonecfg_get_detach_info(zone_dochandle_t, boolean_t)
-version SUNWprivate_1.1
-end
-
-function zonecfg_detached
-include <libzonecfg.h>
-declaration boolean_t zonecfg_detached(const char *)
-version SUNWprivate_1.1
-end
-
-function zonecfg_rm_detached
-include <libzonecfg.h>
-declaration void zonecfg_rm_sw_inventory(zone_dochandle_t, boolean_t)
-version SUNWprivate_1.1
-end
-
-function zonecfg_devwalk
-include <libzonecfg.h>
-declaration int zonecfg_devwalk(zone_dochandle_t, int (*cb)(const char *, uid_t, gid_t, mode_t, const char *, void *), void *data)
-version SUNWprivate_1.1
-end
-
-function zonecfg_devperms_apply
-include <libzonecfg.h>
-declaration int zonecfg_devperms_apply(zone_dochandle_t, const char *, uid_t, gid_t, mode_t, const char *)
-version SUNWprivate_1.1
-end
-
-function zonecfg_access
-include <libzonecfg.h>
-declaration int zonecfg_access(const char *, int)
-version SUNWprivate_1.1
-end
-
-function zonecfg_default_privset
-include <libzonecfg.h>
-declaration int zonecfg_default_privset(struct priv_set *)
-version SUNWprivate_1.1
-end
-
-function zonecfg_get_privset
-include <libzonecfg.h>
-declaration int zonecfg_get_privset(zone_dochandle_t, priv_set_t *, \
- char **)
-version SUNWprivate_1.1
-end
-
-function getzoneent
-include <libzonecfg.h>
-declaration char *getzoneent(FILE *);
-version SUNWprivate_1.1
-exception $return == 0
-end
-
-function getzoneent_private
-include <libzonecfg.h>
-declaration struct zoneent *getzoneent_private(FILE *);
-version SUNWprivate_1.1
-end
-
-function setzoneent
-include <libzonecfg.h>
-declaration FILE *setzoneent(void);
-version SUNWprivate_1.1
-end
-
-function endzoneent
-include <libzonecfg.h>
-declaration void endzoneent(FILE *);
-version SUNWprivate_1.1
-end
-
-function putzoneent
-include <libzonecfg.h>
-declaration void putzoneent(struct zoneent *, int)
-version SUNWprivate_1.1
-end
-
-function zone_get_id
-include <libzonecfg.h>
-declaration int zone_get_id(const char *, zoneid_t *);
-version SUNWprivate_1.1
-end
-
-function zone_get_rootpath
-include <libzonecfg.h>
-declaration int zone_get_rootpath(char *, char *, size_t);
-version SUNWprivate_1.1
-end
-
-function zone_get_zonepath
-include <libzonecfg.h>
-declaration int zone_get_zonepath(char *, char *, size_t);
-version SUNWprivate_1.1
-end
-
-function zone_get_state
-include <libzonecfg.h>
-declaration int zone_get_state(char *, zone_state_t *);
-version SUNWprivate_1.1
-end
-
-function zone_set_state
-include <libzonecfg.h>
-declaration int zone_set_state(char *, zone_state_t)
-version SUNWprivate_1.1
-end
-
-function zone_state_str
-include <libzonecfg.h>
-declaration char *zone_state_str(zone_state_t);
-version SUNWprivate_1.1
-end
-
-function zonecfg_get_name_by_uuid
-include <libzonecfg.h>
-declaration int zonecfg_get_name_by_uuid(const uuid_t, char *, size_t)
-version SUNWprivate_1.1
-end
-
-function zonecfg_get_uuid
-include <libzonecfg.h>
-declaration int zonecfg_get_uuid(const char *, uuid_t)
-version SUNWprivate_1.1
-end
-
-function zonecfg_same_net_address
-include <libzonecfg.h>
-declaration boolean_t zonecfg_same_net_address(char *, char *);
-version SUNWprivate_1.1
-end
-
-function zonecfg_valid_net_address
-include <libzonecfg.h>
-declaration int zonecfg_valid_net_address(char *, struct lifreq *);
-version SUNWprivate_1.1
-end
-
-function zonecfg_is_rctl
-include <libzonecfg.h>
-declaration boolean_t zonecfg_is_rctl(const char *);
-version SUNWprivate_1.1
-end
-
-function zonecfg_valid_fs_type
-include <libzonecfg.h>
-declaration boolean_t zonecfg_valid_fs_type(const char *);
-version SUNWprivate_1.1
-end
-
-function zonecfg_valid_rctlname
-include <libzonecfg.h>
-declaration boolean_t zonecfg_valid_rctlname(const char *);
-version SUNWprivate_1.1
-end
-
-function zonecfg_valid_rctlblk
-include <libzonecfg.h>
-declaration boolean_t zonecfg_valid_rctlblk(const rctlblk_t *);
-version SUNWprivate_1.1
-end
-
-function zonecfg_valid_rctl
-include <libzonecfg.h>
-declaration boolean_t zonecfg_valid_rctl(const char *, const rctlblk_t *);
-version SUNWprivate_1.1
-end
-
-function zonecfg_construct_rctlblk
-include <libzonecfg.h>
-declaration int zonecfg_construct_rctlblk(const struct zone_rctlvaltab *, rctlblk_t *);
-version SUNWprivate_1.1
-end
-
-function zonecfg_notify_bind
-include <libzonecfg.h>
-declaration void * zonecfg_notify_bind(int(*)(const char *, zoneid_t zid, const char *, const char *, void *), void *)
-version SUNWprivate_1.1
-end
-
-function zonecfg_notify_unbind
-include <libzonecfg.h>
-delcaration void zonecfg_notify_unbind(void *)
-version SUNWprivate_1.1
-end
-
-function zonecfg_notify_critical_enter
-include <libzonecfg.h>
-declaration void zonecfg_notify_critical_enter(void *);
-version SUNWprivate_1.1
-end
-
-function zonecfg_notify_critical_abort
-include <libzonecfg.h>
-declaration void zonecfg_notify_critical_abort(void *);
-version SUNWprivate_1.1
-end
-
-function zonecfg_notify_critical_exit
-include <libzonecfg.h>
-declaration int zonecfg_notify_critical_exit(void *);
-version SUNWprivate_1.1
-end
-
-function zonecfg_open_scratch
-include <libzonecfg.h>
-declaration FILE *zonecfg_open_scratch(const char *, boolean_t)
-version SUNWprivate_1.1
-end
-
-function zonecfg_lock_scratch
-include <libzonecfg.h>
-declaration int zonecfg_lock_scratch(FILE *)
-version SUNWprivate_1.1
-end
-
-function zonecfg_close_scratch
-include <libzonecfg.h>
-declaration void zonecfg_close_scratch(FILE *)
-version SUNWprivate_1.1
-end
-
-function zonecfg_get_scratch
-include <libzonecfg.h>
-declaration int zonecfg_get_scratch(FILE *, char *, size_t, char *, \
- size_t, char *, size_t)
-version SUNWprivate_1.1
-end
-
-function zonecfg_find_scratch
-include <libzonecfg.h>
-declaration int zonecfg_find_scratch(FILE *, const char *, const char *, \
- char *, size_t)
-version SUNWprivate_1.1
-end
-
-function zonecfg_reverse_scratch
-include <libzonecfg.h>
-declaration int zonecfg_reverse_scratch(FILE *, const char *, char *, \
- size_t, char *, size_t)
-version SUNWprivate_1.1
-end
-
-function zonecfg_add_scratch
-include <libzonecfg.h>
-declaration int zonecfg_add_scratch(FILE *, const char *, const char *, \
- const char *)
-version SUNWprivate_1.1
-end
-
-function zonecfg_delete_scratch
-include <libzonecfg.h>
-declaration int zonecfg_delete_scratch(FILE *, const char *)
-version SUNWprivate_1.1
-end
-
-function zonecfg_is_scratch
-include <libzonecfg.h>
-declaration boolean_t zonecfg_is_scratch(const char *)
-version SUNWprivate_1.1
-end
-
-function zonecfg_find_mounts
-include <libzonecfg.h>
-declaration int zonecfg_find_mounts(char * , int (*)(char *, void*), void*);
-version SUNWprivate_1.1
-end
-
diff --git a/usr/src/lib/libzonecfg/spec/sparc/Makefile b/usr/src/lib/libzonecfg/spec/sparc/Makefile
deleted file mode 100644
index 9b52fa33bf..0000000000
--- a/usr/src/lib/libzonecfg/spec/sparc/Makefile
+++ /dev/null
@@ -1,35 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libzonecfg/spec/sparcv9/Makefile b/usr/src/lib/libzonecfg/spec/sparcv9/Makefile
deleted file mode 100644
index 29320c8700..0000000000
--- a/usr/src/lib/libzonecfg/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,37 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libzonecfg/spec/versions b/usr/src/lib/libzonecfg/spec/versions
deleted file mode 100644
index a542a0f7fc..0000000000
--- a/usr/src/lib/libzonecfg/spec/versions
+++ /dev/null
@@ -1,39 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-sparc {
- SUNWprivate_1.1;
-}
-sparcv9 {
- SUNWprivate_1.1;
-}
-i386 {
- SUNWprivate_1.1;
-}
-amd64 {
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/libzoneinfo/Makefile b/usr/src/lib/libzoneinfo/Makefile
index 294b60b15f..291a026f98 100644
--- a/usr/src/lib/libzoneinfo/Makefile
+++ b/usr/src/lib/libzoneinfo/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,8 +19,8 @@
# CDDL HEADER END
#
#
-# Copyright (c) 2001 by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
@@ -40,15 +39,13 @@ lint := TARGET = lint
.KEEP_STATE:
-all clean clobber install: spec .WAIT $(SUBDIRS)
-
-lint: $(SUBDIRS)
+all clean clobber install lint: $(SUBDIRS)
install_h: $(ROOTHDRS)
check: $(CHECKHDRS)
-spec $(SUBDIRS): FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
diff --git a/usr/src/lib/libzoneinfo/Makefile.com b/usr/src/lib/libzoneinfo/Makefile.com
index aac8fe01d2..68108c3a0c 100644
--- a/usr/src/lib/libzoneinfo/Makefile.com
+++ b/usr/src/lib/libzoneinfo/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,7 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
@@ -39,11 +38,9 @@ TEXT_DOMAIN= SUNW_OST_ZONEINFO
LIBS = $(DYNLIB) $(LINTLIB)
LDLIBS += -lc
-$(LINTLIB) := SRCS= $(SRCDIR)/$(LINTSRC)
SRCDIR = ../common
-MAPDIR = ../spec/$(TRANSMACH)
-SPECMAPFILE = $(MAPDIR)/mapfile
+$(LINTLIB) := SRCS= $(SRCDIR)/$(LINTSRC)
.KEEP_STATE:
diff --git a/usr/src/lib/libzoneinfo/common/mapfile-vers b/usr/src/lib/libzoneinfo/common/mapfile-vers
new file mode 100644
index 0000000000..fd626b9aa1
--- /dev/null
+++ b/usr/src/lib/libzoneinfo/common/mapfile-vers
@@ -0,0 +1,42 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNWprivate_1.1 {
+ global:
+ conv_gmt;
+ free_timezones;
+ free_tz_continents;
+ free_tz_countries;
+ get_system_tz;
+ get_timezones_by_country;
+ get_tz_continents;
+ get_tz_countries;
+ isvalid_tz;
+ set_system_tz;
+ local:
+ *;
+};
diff --git a/usr/src/lib/libzoneinfo/spec/Makefile b/usr/src/lib/libzoneinfo/spec/Makefile
deleted file mode 100644
index f909e0fac7..0000000000
--- a/usr/src/lib/libzoneinfo/spec/Makefile
+++ /dev/null
@@ -1,29 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 2001 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/libzoneinfo/spec/Makefile.targ b/usr/src/lib/libzoneinfo/spec/Makefile.targ
deleted file mode 100644
index 4209e89b5c..0000000000
--- a/usr/src/lib/libzoneinfo/spec/Makefile.targ
+++ /dev/null
@@ -1,32 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 2001 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-LIBRARY = libzoneinfo.a
-VERS = .1
-OBJECTS = zoneinfo.o
-SPECCPP =
diff --git a/usr/src/lib/libzoneinfo/spec/amd64/Makefile b/usr/src/lib/libzoneinfo/spec/amd64/Makefile
deleted file mode 100644
index 4ee7613aaf..0000000000
--- a/usr/src/lib/libzoneinfo/spec/amd64/Makefile
+++ /dev/null
@@ -1,32 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-all clean clobber install lint:
- @echo "Nothing to $@ on amd64"
diff --git a/usr/src/lib/libzoneinfo/spec/i386/Makefile b/usr/src/lib/libzoneinfo/spec/i386/Makefile
deleted file mode 100644
index 09fbf92572..0000000000
--- a/usr/src/lib/libzoneinfo/spec/i386/Makefile
+++ /dev/null
@@ -1,35 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 2001 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libzoneinfo/spec/sparc/Makefile b/usr/src/lib/libzoneinfo/spec/sparc/Makefile
deleted file mode 100644
index 09fbf92572..0000000000
--- a/usr/src/lib/libzoneinfo/spec/sparc/Makefile
+++ /dev/null
@@ -1,35 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 2001 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libzoneinfo/spec/sparcv9/Makefile b/usr/src/lib/libzoneinfo/spec/sparcv9/Makefile
deleted file mode 100644
index 2c98f6189b..0000000000
--- a/usr/src/lib/libzoneinfo/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,32 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 2001 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-all clean clobber install lint:
- @echo "Nothing to $@ on sparcv9"
diff --git a/usr/src/lib/libzoneinfo/spec/versions b/usr/src/lib/libzoneinfo/spec/versions
deleted file mode 100644
index a542a0f7fc..0000000000
--- a/usr/src/lib/libzoneinfo/spec/versions
+++ /dev/null
@@ -1,39 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-sparc {
- SUNWprivate_1.1;
-}
-sparcv9 {
- SUNWprivate_1.1;
-}
-i386 {
- SUNWprivate_1.1;
-}
-amd64 {
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/libzoneinfo/spec/zoneinfo.spec b/usr/src/lib/libzoneinfo/spec/zoneinfo.spec
deleted file mode 100644
index 11913d6621..0000000000
--- a/usr/src/lib/libzoneinfo/spec/zoneinfo.spec
+++ /dev/null
@@ -1,88 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libzoneinfo/spec/zoneinfo.spec
-
-function get_tz_continents
-include <libzoneinfo.h>
-declaration int get_tz_continents(struct tz_continent **)
-version SUNWprivate_1.1
-end
-
-function get_tz_countries
-include <libzoneinfo.h>
-declaration int get_tz_countries(struct tz_country **, struct tz_continent *);
-version SUNWprivate_1.1
-end
-
-function get_timezones_by_country
-include <libzoneinfo.h>
-declaration int get_timezones_by_country(struct tz_timezone **, struct tz_country *);
-version SUNWprivate_1.1
-end
-
-function conv_gmt
-include <libzoneinfo.h>
-declaration char *conv_gmt(int seconds, int flag);
-version SUNWprivate_1.1
-end
-
-function get_system_tz
-include <libzoneinfo.h>
-declaration char *get_system_tz(char *root);
-version SUNWprivate_1.1
-end
-
-function set_system_tz
-include <libzoneinfo.h>
-declaration int set_system_tz(char *tz, char *root);
-version SUNWprivate_1.1
-end
-
-function free_tz_continents
-include <libzoneinfo.h>
-declaration int free_tz_continents(struct tz_continent *cont);
-version SUNWprivate_1.1
-end
-
-function free_tz_countries
-include <libzoneinfo.h>
-declaration int free_tz_countries(struct tz_country *country);
-version SUNWprivate_1.1
-end
-
-function free_timezones
-include <libzoneinfo.h>
-declaration int free_timezones(struct tz_timezone *timezone);
-version SUNWprivate_1.1
-end
-
-function isvalid_tz
-include <libzoneinfo.h>
-declaration int isvalid_tz(char *timezone, char *root, int flag);
-version SUNWprivate_1.1
-end
-
diff --git a/usr/src/lib/libzpool/Makefile.com b/usr/src/lib/libzpool/Makefile.com
index 44a1b55287..5ec1573812 100644
--- a/usr/src/lib/libzpool/Makefile.com
+++ b/usr/src/lib/libzpool/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,10 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
+#
LIBRARY= libzpool.a
VERS= .1
@@ -46,6 +46,9 @@ LIST_SRCS= $(LIST_OBJS:%.o=../../../uts/common/os/%.c)
SRCS=$(ZFS_COMMON_SRCS) $(ZFS_SHARED_SRCS) $(KERNEL_SRCS) $(LIST_SRCS)
SRCDIR= ../common
+# There should be a mapfile here
+MAPFILES =
+
LIBS += $(LINTLIB)
INCS += -I../common
diff --git a/usr/src/lib/lvm/libmeta/Makefile b/usr/src/lib/lvm/libmeta/Makefile
index ab4fe9337c..cff9bffbdc 100644
--- a/usr/src/lib/lvm/libmeta/Makefile
+++ b/usr/src/lib/lvm/libmeta/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,7 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
@@ -48,16 +47,14 @@ CPPFLAGS += -I$(SRC)/lib/lvm/libmeta/common/hdrs
.KEEP_STATE:
-all debug install: spec .WAIT $(SUBDIRS)
+all debug install lint: $(SUBDIRS)
-clean: spec $(SUBDIRS)
+clean: $(SUBDIRS)
$(RM) $(MSGFILES) $(DCFILES)
-clobber: spec $(SUBDIRS)
+clobber: $(SUBDIRS)
$(RM) $(POFILE) $(DCFILE)
-lint: $(SUBDIRS)
-
$(DCFILE):= XGETFLAGS = -c TRANSLATION_NOTE_LC_TIME -t
$(DCFILE): $(DCFILES)
@@ -70,7 +67,7 @@ _msg: $(MSGDOMAINPOFILE)
_dc: $(DCMSGDOMAINPOFILE)
-spec $(MACH): FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
diff --git a/usr/src/lib/lvm/libmeta/Makefile.com b/usr/src/lib/lvm/libmeta/Makefile.com
index 5a2a89cf82..2c1e4091a3 100644
--- a/usr/src/lib/lvm/libmeta/Makefile.com
+++ b/usr/src/lib/lvm/libmeta/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,7 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
@@ -120,8 +119,6 @@ SPC_SRCS = $(SPC_OBJS:%.o=../common/%.c)
include ../../../Makefile.lib
-MAPDIR= $(SRC)/lib/lvm/libmeta/spec/$(TRANSMACH)
-SPECMAPFILE = $(MAPDIR)/mapfile
OBJECTS64 = $(LOCAL_OBJS) $(DERIVED_OBJS) $(CMN_OBJS)
OBJECTS = $(OBJECTS64) $(SPC_OBJS)
diff --git a/usr/src/lib/lvm/libmeta/common/mapfile-vers b/usr/src/lib/lvm/libmeta/common/mapfile-vers
new file mode 100644
index 0000000000..dd1814c718
--- /dev/null
+++ b/usr/src/lib/lvm/libmeta/common/mapfile-vers
@@ -0,0 +1,969 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNWprivate_1.1 {
+ global:
+ add_key_name;
+ add_name;
+ add_self_name;
+ alloc_newdrvdesc;
+ alloc_olddrvdesc;
+ allsigs;
+ blkname;
+ Calloc;
+ checkdrive_onnode;
+ cl_get_setkey;
+ clnt_adddrvs;
+ clnt_add_drv_sidenms;
+ clnt_addhosts;
+ clnt_clr_mnsetlock;
+ clnt_createset;
+ clnt_deldrvs;
+ clnt_del_drv_sidenms;
+ clnt_delhosts;
+ clnt_delset;
+ clnt_devid;
+ clnt_devinfo;
+ clnt_devinfo_by_devid;
+ clnt_drvused;
+ clnt_getset;
+ clnt_gtimeout;
+ clnt_hostname;
+ clnt_imp_adddrvs;
+ clnt_joinset;
+ clnt_lock_set;
+ clnt_mdcommdctl;
+ clnt_med_get_data;
+ clnt_med_get_rec;
+ clnt_med_hostname;
+ clnt_med_null;
+ clnt_med_upd_data;
+ clnt_med_upd_rec;
+ clnt_mncreateset;
+ clnt_mngetset;
+ clnt_mn_is_stale;
+ clnt_mn_mirror_resync_all;
+ clnt_mnsetmaster;
+ clnt_mn_sp_update_abr;
+ clnt_mn_susp_res_io;
+ clnt_nullproc;
+ clnt_ownset;
+ clnt_reset_mirror_owner;
+ clnt_setnameok;
+ clnt_setnumbusy;
+ clnt_stimeout;
+ clnt_unlock_set;
+ clnt_upd_dr_dbinfo;
+ clnt_upd_dr_flags;
+ clnt_updmeds;
+ clnt_upd_nr_flags;
+ clnt_upd_sr_flags;
+ close_admin;
+ close_mnttab;
+ cl_set_setkey;
+ commd_get_outfile;
+ commd_get_verbosity;
+ commitset;
+ comp_state_to_name;
+ copy_msg;
+ copy_msg_1;
+ copy_result;
+ crcfreetab;
+ crcfunc;
+ ctlr_cache_add;
+ ctlr_cache_look;
+ dd_list_dup;
+ defmhiargs;
+ del_key_name;
+ del_key_names;
+ del_name;
+ del_self_name;
+ do_owner_ioctls;
+ dr_cache_add;
+ dr_cache_del;
+ drdup;
+ evdrv2evlib_typetab;
+ Free;
+ free_msg;
+ free_newdrvdesc;
+ free_olddrvdesc;
+ free_result;
+ free_sr;
+ get_db_rec;
+ get_devname;
+ getdevstamp;
+ getdrvnode;
+ get_hspname;
+ get_max_meds;
+ get_max_sets;
+ get_mdname;
+ getmyside;
+ getnodeside;
+ getsetbyname;
+ getsetbynum;
+ get_ur_rec;
+ halt_set;
+ hs_state_to_name;
+ is_existing_hsp;
+ is_existing_metadevice;
+ is_hspname;
+ is_metaname;
+ Malloc;
+ mdclrerror;
+ mdcomperror;
+ md_daemonize;
+ mddeverror;
+ mddserror;
+ mde_perror;
+ md_eprintf;
+ mderror;
+ mderrorextra;
+ mde_sperror;
+ md_exit;
+ md_got_sig;
+ mdhserror;
+ mdhsperror;
+ md_in_daemon;
+ md_init;
+ md_init_daemon;
+ md_init_nosig;
+ md_logpfx;
+ mdmddberror;
+ mdmderror;
+ md_med_def_timeout;
+ md_med_pmap_timeout;
+ mdmn_abort;
+ mdmn_allocate_changelog;
+ mdmn_comm_lock_1;
+ mdmn_comm_msglock_1;
+ mdmn_comm_reinit_set_1;
+ mdmn_comm_resume_1;
+ mdmn_comm_suspend_1;
+ mdmn_comm_unlock_1;
+ mdmn_create_msgid;
+ mdmn_get_changelogrec;
+ mdmn_get_handler;
+ mdmn_get_message_class;
+ mdmn_get_submessage_generator;
+ mdmn_get_timeout;
+ mdmn_log_msg;
+ mdmn_msgtype_lock;
+ mdmn_reinit_set;
+ mdmn_reset_changelog;
+ mdmn_resume;
+ mdmn_send_1;
+ mdmn_send_message;
+ mdmn_snarf_changelog;
+ mdmn_suspend;
+ mdmn_unlog_msg;
+ mdmn_wakeup_initiator_1;
+ mdmn_wakeup_master_1;
+ mdmn_work_1;
+ mdnullerror;
+ md_perror;
+ md_post_sig;
+ md_rb_sig_handling_off;
+ md_rb_sig_handling_on;
+ mdrpc_adddrvs_1;
+ mdrpc_adddrvs_2;
+ mdrpc_add_drv_sidenms_1;
+ mdrpc_add_drv_sidenms_2;
+ mdrpc_addhosts_1;
+ mdrpc_addhosts_2;
+ mdrpc_clr_mnsetlock_2;
+ mdrpccreateerror;
+ mdrpc_createset_1;
+ mdrpc_createset_2;
+ mdrpc_deldrvs_1;
+ mdrpc_deldrvs_2;
+ mdrpc_del_drv_sidenms_1;
+ mdrpc_del_drv_sidenms_2;
+ mdrpc_delhosts_1;
+ mdrpc_delhosts_2;
+ mdrpc_delset_1;
+ mdrpc_delset_2;
+ mdrpc_devinfo_2;
+ mdrpc_drvused_1;
+ mdrpc_drvused_2;
+ mdrpcerror;
+ mdrpc_flush_internal_1;
+ mdrpc_flush_internal_2;
+ mdrpc_getset_1;
+ mdrpc_getset_2;
+ mdrpc_gtimeout_1;
+ mdrpc_gtimeout_2;
+ mdrpc_hostname_1;
+ mdrpc_hostname_2;
+ mdrpc_imp_adddrvs_2;
+ mdrpc_lock_set_1;
+ mdrpc_lock_set_2;
+ mdrpc_mdcommdctl_2;
+ mdrpc_mncreateset_2;
+ mdrpc_mngetset_2;
+ mdrpc_mn_is_stale_2;
+ mdrpc_mn_mirror_resync_all_2;
+ mdrpc_mnsetmaster_2;
+ mdrpc_mn_sp_update_abr_2;
+ mdrpc_mn_susp_res_io_2;
+ mdrpc_nullproc_1;
+ mdrpc_nullproc_2;
+ mdrpc_ownset_1;
+ mdrpc_ownset_2;
+ mdrpc_reset_mirror_owner_2;
+ mdrpc_setnameok_1;
+ mdrpc_setnameok_2;
+ mdrpc_setnumbusy_1;
+ mdrpc_setnumbusy_2;
+ mdrpc_stimeout_1;
+ mdrpc_stimeout_2;
+ mdrpc_unlock_set_1;
+ mdrpc_unlock_set_2;
+ mdrpc_upd_dr_dbinfo_1;
+ mdrpc_upd_dr_dbinfo_2;
+ mdrpc_upd_dr_flags_1;
+ mdrpc_upd_dr_flags_2;
+ mdrpc_updmeds_1;
+ mdrpc_updmeds_2;
+ mdrpc_upd_nr_flags_2;
+ mdrpc_upd_sr_flags_1;
+ mdrpc_upd_sr_flags_2;
+ mdstealerror;
+ mdsyserror;
+ mduseerror;
+ md_which_sig;
+ meddstealerror;
+ med_errnum_to_str;
+ med_get_data_1;
+ med_get_rec_1;
+ med_hostname_1;
+ med_null_1;
+ med_null_err;
+ med_upd_data_1;
+ med_upd_rec_1;
+ meta_adjust_geom;
+ meta_canonicalize;
+ meta_check_column;
+ meta_check_component;
+ meta_check_devicesize;
+ meta_check_driveinset;
+ meta_check_drive_inuse;
+ meta_check_drivemounted;
+ meta_check_driveswapped;
+ meta_check_hotspare;
+ meta_check_hsp;
+ meta_check_inhsp;
+ meta_check_inmeta;
+ meta_check_inmirror;
+ meta_check_inraid;
+ meta_check_inreplica;
+ meta_check_inset;
+ meta_check_instripe;
+ meta_check_intrans;
+ meta_check_inuse;
+ meta_check_log;
+ meta_check_master;
+ meta_check_mirror;
+ meta_check_overlap;
+ meta_check_ownership;
+ meta_check_ownership_on_host;
+ meta_check_raid;
+ meta_check_replica;
+ meta_check_root;
+ meta_check_samedrive;
+ meta_check_stripe;
+ meta_check_submirror;
+ metachkcomp;
+ metachkdisk;
+ metachkhsp;
+ metachkmeta;
+ meta_client_create;
+ meta_client_create_retry;
+ meta_cmpldev;
+ meta_concat_generic;
+ meta_concat_parent;
+ meta_conv_drvdesc_new2old;
+ meta_conv_drvdesc_old2new;
+ meta_conv_drvname_new2old;
+ meta_conv_drvname_old2new;
+ meta_cook_syntax;
+ meta_create_hsp;
+ meta_create_mirror;
+ meta_create_non_dup_list;
+ meta_create_raid;
+ meta_create_stripe;
+ meta_db_addsidenms;
+ meta_db_attach;
+ meta_db_balance;
+ meta_db_delsidenm;
+ meta_db_detach;
+ meta_db_minreplica;
+ meta_db_patch;
+ meta_default_raid_interlace;
+ meta_default_stripe_interlace;
+ meta_deviceid_to_nmlist;
+ meta_dev_ismeta;
+ metadevname;
+ metad_getsetbyname;
+ metad_getsetbynum;
+ metad_isautotakebyname;
+ metad_isautotakebynum;
+ metadiskname;
+ metadrivedesc_append;
+ metadrivename;
+ metadrivenamelist;
+ metadrivenamelist_append;
+ meta_drivenamelist_append_wrapper;
+ metadrivename_withdrkey;
+ meta_drive_to_disk_status_list;
+ meta_enable_byname;
+ meta_exchange;
+ meta_expldev;
+ metafakesetname;
+ meta_find_erred_comp;
+ meta_fixdevid;
+ metaflushctlrcache;
+ metaflushdrivenames;
+ metaflushmetanames;
+ metaflushnames;
+ metaflushsetname;
+ metaflushsidenames;
+ metaflushstatcache;
+ meta_free_disk_status_list;
+ metafreedrivedesc;
+ meta_free_drive_info_list;
+ metafreedrivename;
+ metafreedrivenamelist;
+ meta_free_hsp;
+ metafreehspnamelist;
+ meta_free_im_set_desc;
+ meta_free_mirror;
+ metafreenamelist;
+ meta_free_nodelist;
+ meta_free_raid;
+ metafreereplicalist;
+ meta_free_sp;
+ meta_free_stripe;
+ meta_free_trans;
+ meta_free_unit;
+ metafreevtoc;
+ meta_getalldevs;
+ meta_get_and_report_set_info;
+ metagetcinfo;
+ meta_get_current_root;
+ meta_get_current_root_dev;
+ meta_getdev;
+ metagetdevicesname;
+ meta_get_devid;
+ meta_getdevs;
+ meta_getdidbykey;
+ meta_getdidminorbykey;
+ metaget_drivedesc;
+ metaget_drivedesc_fromnamelist;
+ metaget_drivedesc_sideno;
+ meta_get_drive_names;
+ metagetgeom;
+ meta_get_hotspare_names;
+ meta_get_hsp;
+ meta_get_hsp_common;
+ meta_get_hsp_names;
+ meta_gethspnmentbyid;
+ meta_get_hs_state;
+ metagetlabel;
+ meta_getmajor;
+ meta_get_mdunit;
+ meta_getminor;
+ meta_get_mirror;
+ meta_get_mirror_names;
+ metagetmiscname;
+ meta_get_mountp;
+ meta_getnextside_devinfo;
+ meta_getnmbykey;
+ meta_getnmentbydev;
+ meta_getnmentbykey;
+ meta_get_nunits;
+ metagetpartno;
+ meta_get_raid;
+ meta_get_raid_col_state;
+ meta_get_raid_common;
+ meta_get_raid_names;
+ meta_get_replica_names;
+ meta_get_reserved_names;
+ metagetset;
+ metaget_setdesc;
+ metaget_setownership;
+ metagetsize;
+ meta_get_sp;
+ meta_get_sp_common;
+ meta_get_sp_names;
+ metagetstart;
+ meta_get_stripe;
+ meta_get_stripe_common;
+ meta_get_stripe_names;
+ meta_get_stripe_state;
+ meta_gettimeofday;
+ meta_get_trans;
+ meta_get_trans_common;
+ meta_get_trans_names;
+ meta_get_tstate;
+ meta_get_unit;
+ meta_getuserflags;
+ meta_getvtoc;
+ metagetvtoc;
+ meta_h2hi;
+ metahasmddb;
+ meta_hi2h;
+ meta_hs_add;
+ meta_hs_delete;
+ meta_hs_enable;
+ metahsphspname;
+ metahspname;
+ metahspnamelist;
+ metahspnamelist_append;
+ meta_hsp_print;
+ meta_hsp_reset;
+ meta_hs_replace;
+ meta_imp_drvused;
+ meta_imp_set;
+ meta_init_hsp;
+ meta_init_make_device;
+ meta_init_mirror;
+ meta_init_name;
+ meta_init_raid;
+ meta_init_stripe;
+ meta_invalidate_hsp;
+ meta_invalidate_name;
+ metaioctl;
+ meta_is_all;
+ meta_is_devid_in_anyset;
+ meta_is_devid_in_thisset;
+ meta_is_drive_in_anyset;
+ meta_is_drive_in_thisset;
+ metaislocalset;
+ meta_is_member;
+ metaismeta;
+ meta_is_mn_name;
+ meta_is_mn_set;
+ meta_is_none;
+ meta_isopen;
+ metaissameset;
+ metakeyname;
+ meta_list_disks;
+ meta_list_drives;
+ meta_lock;
+ meta_lock_name;
+ meta_lock_nowait;
+ meta_lock_status;
+ metalogfp;
+ meta_logs_print;
+ metamakedev;
+ meta_match_enclosure;
+ meta_mc_log;
+ meta_med_hnm2ip;
+ meta_mirror_anycomp_is_err;
+ meta_mirror_attach;
+ meta_mirror_detach;
+ meta_mirror_enable;
+ meta_mirror_get_params;
+ meta_mirror_offline;
+ meta_mirror_online;
+ meta_mirror_print;
+ meta_mirror_replace;
+ meta_mirror_reset;
+ meta_mirror_resync;
+ meta_mirror_resync_all;
+ meta_mirror_resync_block_all;
+ meta_mirror_resync_kill;
+ meta_mirror_resync_kill_all;
+ meta_mirror_resync_unblock;
+ meta_mirror_resync_unblock_all;
+ meta_mirror_set_params;
+ meta_mn_change_owner;
+ meta_mnjoin_all;
+ meta_mn_mirror_resync_all;
+ meta_mn_send_command;
+ meta_mn_send_get_tstate;
+ meta_mn_send_metaclear_command;
+ meta_mn_send_resync_starting;
+ meta_mn_send_setsync;
+ meta_mn_send_suspend_writes;
+ meta_mn_singlenode;
+ meta_mn_sp_update_abr;
+ meta_mnsync_diskset_mddbs;
+ meta_mnsync_user_records;
+ metamnumname;
+ metaname;
+ metaname_fast;
+ meta_name_getname;
+ metanamelist;
+ metanamelist_append;
+ meta_notify_createq;
+ meta_notify_deleteq;
+ meta_notify_doputev;
+ meta_notify_flushq;
+ meta_notify_freeevlist;
+ meta_notify_getev;
+ meta_notify_getevlist;
+ meta_notify_listq;
+ meta_notify_putev;
+ meta_notify_putevlist;
+ meta_notify_sendev;
+ meta_notify_validq;
+ meta_number_to_string;
+ meta_patch_fsdev;
+ meta_patch_rootdev;
+ meta_patch_swapdev;
+ meta_patch_vfstab;
+ meta_ping_mnset;
+ meta_prbits;
+ meta_print_all;
+ meta_print_devid;
+ meta_print_hrtime;
+ meta_print_mirror_options;
+ meta_print_name;
+ meta_print_raid_options;
+ meta_print_stripe_options;
+ meta_print_time;
+ meta_prune_cnames;
+ meta_raid_anycomp_is_err;
+ meta_raid_attach;
+ meta_raid_check_interlace;
+ meta_raid_enable;
+ meta_raid_get_params;
+ meta_raid_print;
+ meta_raid_regen_byname;
+ meta_raid_replace;
+ meta_raid_reset;
+ meta_raid_resync;
+ meta_raid_resync_all;
+ meta_raid_set_params;
+ meta_raid_state_cnt;
+ meta_raid_valid;
+ meta_read_nodelist;
+ meta_reconfig_choose_master;
+ meta_recover_sp;
+ meta_rel_own;
+ meta_rename;
+ meta_repartition_drive;
+ meta_replace_byname;
+ metareplicalist;
+ meta_replica_quorum;
+ meta_replicaslice;
+ meta_reset;
+ meta_reset_all;
+ meta_reset_by_name;
+ meta_resync_all;
+ meta_resync_byname;
+ metarpcclose;
+ metarpccloseall;
+ metarpcopen;
+ meta_set_adddrives;
+ meta_set_addhosts;
+ meta_set_addmeds;
+ meta_set_auto_take;
+ meta_set_balance;
+ meta_set_checkname;
+ meta_set_deletedrives;
+ meta_set_deletehosts;
+ meta_set_deletemeds;
+ meta_set_destroy;
+ meta_setdid;
+ meta_set_join;
+ meta_setmdvtoc;
+ metasetname;
+ metasetnosetname;
+ meta_set_purge;
+ meta_set_query;
+ meta_set_release;
+ meta_set_take;
+ meta_setup_db_locations;
+ meta_setup_geom;
+ meta_setuserflags;
+ meta_setvtoc;
+ metasetvtoc;
+ meta_set_withdraw;
+ metaslicename;
+ meta_smf_disable;
+ meta_smf_enable;
+ meta_smf_getmask;
+ meta_smf_isonline;
+ meta_sp_attach;
+ meta_sp_can_create_sps;
+ meta_sp_can_create_sps_on_drive;
+ meta_sp_get_free_space;
+ meta_sp_get_free_space_on_drive;
+ meta_sp_get_number_of_possible_sps;
+ meta_sp_get_number_of_possible_sps_on_drive;
+ meta_sp_get_possible_sp_size;
+ meta_sp_get_possible_sp_size_on_drive;
+ meta_sp_issp;
+ meta_sp_parsesize;
+ meta_sp_reset_component;
+ meta_sp_setstatus;
+ meta_sp_update_abr;
+ meta_stat;
+ meta_status_own;
+ meta_stripe_anycomp_is_err;
+ meta_stripe_attach;
+ meta_stripe_check_interlace;
+ meta_stripe_get_params;
+ meta_stripe_print;
+ meta_stripe_replace;
+ meta_stripe_reset;
+ meta_stripe_set_params;
+ meta_svm_sysevent;
+ meta_sync_db_locations;
+ metasyslog;
+ meta_systemfile_append_mddb;
+ meta_systemfile_append_mdroot;
+ meta_systemfile_copy;
+ meta_tab_find;
+ meta_tab_free;
+ meta_tab_parse;
+ meta_take_own;
+ meta_trans_detach;
+ meta_trans_print;
+ meta_trans_replace;
+ meta_trans_reset;
+ meta_unlock;
+ meta_update_devtree;
+ meta_update_mb;
+ meta_update_md_cf;
+ meta_upd_ctdnames;
+ meta_write_nodelist;
+ mhd_list_1;
+ mhd_null_error;
+ mhd_relown_1;
+ mhd_status_1;
+ mhd_tkown_1;
+ mhstealerror;
+ mnnr_cache_add;
+ mnnr_cache_del;
+ mnsetdup;
+ mt_flags_to_action;
+ mt_flags_to_name;
+ mt_l_error_to_action;
+ mt_l_error_to_name;
+ myname;
+ mynode;
+ name_to_pass_num;
+ name_to_rd_opt;
+ name_to_wr_opt;
+ nodehasset;
+ nodesuniq;
+ open_admin;
+ open_mnttab;
+ own_set;
+ parse_interlace;
+ pathname_reload;
+ pick_good_disk;
+ print_concise_entry;
+ procsigs;
+ raid_col_state_to_name;
+ raid_state_to_action;
+ raid_state_to_name;
+ rb_test;
+ rd_opt_to_name;
+ read_master_block;
+ Realloc;
+ rel_own_bydd;
+ resnarf_set;
+ resync_genid;
+ s_delrec;
+ s_delset;
+ sdssc_add_hosts;
+ sdssc_bindclusterdevs;
+ sdssc_binddevs;
+ sdssc_bind_library;
+ sdssc_clnt_bind_devs;
+ sdssc_clnt_proxy_cmd;
+ sdssc_cmd_proxy;
+ sdssc_cm_nid2nm;
+ sdssc_cm_nm2nid;
+ sdssc_cm_sr_nid2nm;
+ sdssc_cm_sr_nm2nid;
+ sdssc_convert_cluster_path;
+ sdssc_convert_ctd_path;
+ sdssc_convert_path_free;
+ sdssc_create_begin;
+ sdssc_create_end;
+ sdssc_delete_begin;
+ sdssc_delete_end;
+ sdssc_delete_hosts;
+ sdssc_free_mdcerr_list;
+ sdssc_freenodelist;
+ sdssc_get_index;
+ sdssc_getnodelist;
+ sdssc_get_primary_host;
+ sdssc_get_priv_ipaddr;
+ sdssc_get_services;
+ sdssc_get_services_free;
+ sdssc_gettransportbynode;
+ sdssc_mo_create_begin;
+ sdssc_notify_service;
+ sdssc_property_get;
+ sdssc_property_set;
+ sdssc_suspend;
+ sdssc_version;
+ setdevstamp;
+ setdup;
+ set_snarf;
+ setup_db_bydd;
+ setup_mc_log;
+ setup_med_cfg;
+ short_circuit_getset;
+ sm_state_to_action;
+ sm_state_to_name;
+ snarf_set;
+ s_ownset;
+ splicename;
+ splitname;
+ sr2setdesc;
+ sr_cache_add;
+ sr_cache_del;
+ sr_cache_flush;
+ sr_cache_flush_setno;
+ sr_del_drv;
+ sr_validate;
+ start_time;
+ Strdup;
+ strinlst;
+ tag2obj_typetab;
+ tk_own_bydd;
+ transstats;
+ verbosity;
+ wr_opt_to_name;
+ xdr_clnt_stat;
+ xdr_comp_state_t;
+ xdr_comp_t;
+ xdr_daddr_t;
+ xdr_dev_t;
+ xdr_diskaddr_t;
+ xdr_hotspare_states_t;
+ xdr_hsp_t;
+ xdr_hs_t;
+ xdr_md_alias_ip_t;
+ xdr_md_alias_nm_t;
+ xdr_mdcinfo_t;
+ xdr_md_common_t;
+ xdr_md_comp_errno_t;
+ xdr_md_comp_error_t;
+ xdr_md_comp_t;
+ xdr_mddb_cfgcmd_t;
+ xdr_mddb_recid_t;
+ xdr_mddb_recstatus_t;
+ xdr_mddb_type_t;
+ xdr_mddb_usercmd_t;
+ xdr_mddb_userrec_t;
+ xdr_md_dev64_t;
+ xdr_md_dev_errno_t;
+ xdr_md_dev_error_t;
+ xdr_md_drive_desc;
+ xdr_mddrivenamelist_t;
+ xdr_mddrivename_t;
+ xdr_md_drive_record;
+ xdr_md_ds_errno_t;
+ xdr_md_ds_error_t;
+ xdr_md_errclass_t;
+ xdr_md_error_info_t;
+ xdr_md_error_t;
+ xdr_mdgeom_t;
+ xdr_md_h_arr_t;
+ xdr_md_hi_arr_t;
+ xdr_md_hi_t;
+ xdr_md_hs_errno_t;
+ xdr_md_hs_error_t;
+ xdr_md_hsp_errno_t;
+ xdr_md_hsp_error_t;
+ xdr_mdhspnamelist_t;
+ xdr_mdhspname_t;
+ xdr_md_hsp_t;
+ xdr_md_hs_t;
+ xdr_md_h_t;
+ xdr_mdkey_t;
+ xdr_md_mddb_errno_t;
+ xdr_md_mddb_error_t;
+ xdr_md_md_errno_t;
+ xdr_md_md_error_t;
+ xdr_md_med_errno_t;
+ xdr_md_mirror_t;
+ xdr_md_mn_msg_t;
+ xdr_md_mn_nodeid_t;
+ xdr_mdnamelist_t;
+ xdr_md_name_prefix;
+ xdr_md_name_suffix;
+ xdr_mdname_t;
+ xdr_mdnmtype_t;
+ xdr_md_node_nm_arr_t;
+ xdr_md_node_nm_t;
+ xdr_md_parent_t;
+ xdr_mdpart_t;
+ xdr_md_raidcol_t;
+ xdr_md_raid_t;
+ xdr_md_replicalist_t;
+ xdr_md_replica_recerr_t;
+ xdr_md_replica_t;
+ xdr_md_riflags_t;
+ xdr_md_row_t;
+ xdr_mdrpc_bool_res;
+ xdr_mdrpc_createset_2_args;
+ xdr_mdrpc_createset_args;
+ xdr_mdrpc_devid_2_args;
+ xdr_mdrpc_devid_args;
+ xdr_mdrpc_devid_name_2_args;
+ xdr_mdrpc_devid_res;
+ xdr_mdrpc_devidstr_args;
+ xdr_mdrpc_devinfo_2_args;
+ xdr_mdrpc_devinfo_2_res;
+ xdr_mdrpc_devinfo_args;
+ xdr_mdrpc_devinfo_res;
+ xdr_mdrpc_drives_2_args;
+ xdr_mdrpc_drives_args;
+ xdr_mdrpc_drv_sidenm_2_args;
+ xdr_mdrpc_drv_sidenm_args;
+ xdr_mdrpc_drvused_2_args;
+ xdr_mdrpc_drvused_args;
+ xdr_md_rpc_error_t;
+ xdr_mdrpc_generic_res;
+ xdr_mdrpc_getdrivedesc_res;
+ xdr_mdrpc_getset_2_args;
+ xdr_mdrpc_getset_args;
+ xdr_mdrpc_getset_res;
+ xdr_mdrpc_gtimeout_res;
+ xdr_mdrpc_host_2_args;
+ xdr_mdrpc_host_args;
+ xdr_mdrpc_hostname_res;
+ xdr_mdrpc_mdcommdctl_2_args;
+ xdr_mdrpc_mdcommdctl_args;
+ xdr_mdrpc_mncreateset_2_args;
+ xdr_mdrpc_mngetset_res;
+ xdr_mdrpc_mnsetmaster_2_args;
+ xdr_mdrpc_mn_susp_res_io_2_args;
+ xdr_mdrpc_mn_susp_res_io_args;
+ xdr_mdrpc_nodeid_2_args;
+ xdr_mdrpc_nodeid_args;
+ xdr_mdrpc_null_args;
+ xdr_mdrpc_setlock_res;
+ xdr_mdrpc_setno_2_args;
+ xdr_mdrpc_setno_args;
+ xdr_mdrpc_sp_2_args;
+ xdr_mdrpc_sp_args;
+ xdr_mdrpc_sp_flags_2_args;
+ xdr_mdrpc_sp_flags_args;
+ xdr_mdrpc_stimeout_2_args;
+ xdr_mdrpc_stimeout_args;
+ xdr_mdrpc_upd_dr_flags_2_args;
+ xdr_mdrpc_upd_dr_flags_args;
+ xdr_mdrpc_updmeds_2_args;
+ xdr_mdrpc_updmeds_args;
+ xdr_mdrpc_upd_nr_flags_2_args;
+ xdr_mdrpc_upd_sr_flags_2_args;
+ xdr_mdrpc_upd_sr_flags_args;
+ xdr_md_set_desc;
+ xdr_md_setkey_t;
+ xdr_mdsetnamelist_t;
+ xdr_mdsetname_t;
+ xdr_md_set_nm_t;
+ xdr_md_set_params_t;
+ xdr_md_set_record;
+ xdr_md_shared_t;
+ xdr_mdsidenames_t;
+ xdr_md_splitname;
+ xdr_md_stackcap_t;
+ xdr_md_status_t;
+ xdr_md_stripe_t;
+ xdr_md_submirror_t;
+ xdr_md_sys_error_t;
+ xdr_md_timeval32_t;
+ xdr_md_trans_t;
+ xdr_md_types_t;
+ xdr_md_ur_get_cmd_t;
+ xdr_md_use_errno_t;
+ xdr_md_use_error_t;
+ xdr_md_void_errno_t;
+ xdr_md_void_error_t;
+ xdr_mdvtoc_t;
+ xdr_med_args_t;
+ xdr_med_data_t;
+ xdr_med_err_t;
+ xdr_med_get_data_res_t;
+ xdr_med_get_rec_res_t;
+ xdr_med_hnm_res_t;
+ xdr_med_med_t;
+ xdr_med_rec_t;
+ xdr_med_res_t;
+ xdr_med_upd_data_args_t;
+ xdr_med_upd_rec_args_t;
+ xdr_mhd_cinfo_t;
+ xdr_mhd_ctlrtype_t;
+ xdr_mhd_did_flags_t;
+ xdr_mhd_drive_id_t;
+ xdr_mhd_drive_info_list_t;
+ xdr_mhd_drive_info_t;
+ xdr_mhd_drivename_t;
+ xdr_mhd_drive_status_t;
+ xdr_mhd_error_t;
+ xdr_mhd_ff_mode_t;
+ xdr_mhd_list_args_t;
+ xdr_mhd_list_res_t;
+ xdr_mhd_mhiargs_t;
+ xdr_mhd_mhioctkown_t;
+ xdr_mhd_opts_t;
+ xdr_mhd_relown_args_t;
+ xdr_mhd_serial_t;
+ xdr_mhd_set_t;
+ xdr_mhd_status_args_t;
+ xdr_mhd_status_res_t;
+ xdr_mhd_tkown_args_t;
+ xdr_minor_or_hsp_t;
+ xdr_minor_t;
+ xdr_mm_params_t;
+ xdr_mm_pass_num_t;
+ xdr_mm_rd_opt_t;
+ xdr_mm_wr_opt_t;
+ xdr_mp_unit_t;
+ xdr_mr_params_t;
+ xdr_ms_params_t;
+ xdr_mt_debug_t;
+ xdr_mt_flags_t;
+ xdr_mt_l_error_t;
+ xdr_off_t;
+ xdr_rcs_flags_t;
+ xdr_rcs_state_t;
+ xdr_replica_flags_t;
+ xdr_rus_state_t;
+ xdr_set_t;
+ xdr_side_t;
+ xdr_size_t;
+ xdr_sm_flags_t;
+ xdr_sm_state_t;
+ xdr_stringarray;
+ xdr_timeval;
+ xdr_unit_t;
+ Zalloc;
+ local:
+ *;
+};
diff --git a/usr/src/lib/lvm/libmeta/spec/Makefile b/usr/src/lib/lvm/libmeta/spec/Makefile
deleted file mode 100644
index 5e88f3ac7e..0000000000
--- a/usr/src/lib/lvm/libmeta/spec/Makefile
+++ /dev/null
@@ -1,29 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 2000 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/lvm/libmeta/spec/Makefile
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/lvm/libmeta/spec/Makefile.targ b/usr/src/lib/lvm/libmeta/spec/Makefile.targ
deleted file mode 100644
index 40ffb28073..0000000000
--- a/usr/src/lib/lvm/libmeta/spec/Makefile.targ
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 2000 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/lvm/libmeta/spec/Makefile.targ
-
-LIBRARY = libmeta.a
-VERS = .1
-
-OBJECTS = meta.o
-
-TRANSCPP =
-
-SPECCPP = -I.. -I../../inc
diff --git a/usr/src/lib/lvm/libmeta/spec/amd64/Makefile b/usr/src/lib/lvm/libmeta/spec/amd64/Makefile
deleted file mode 100644
index c7d89e007c..0000000000
--- a/usr/src/lib/lvm/libmeta/spec/amd64/Makefile
+++ /dev/null
@@ -1,46 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-# To enable apptrace, comment out the following line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#amd64_C_PICFLAGS = $(amd64_C_BIGPICFLAGS)
-
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB64)
diff --git a/usr/src/lib/lvm/libmeta/spec/i386/Makefile b/usr/src/lib/lvm/libmeta/spec/i386/Makefile
deleted file mode 100644
index 3fe06d99af..0000000000
--- a/usr/src/lib/lvm/libmeta/spec/i386/Makefile
+++ /dev/null
@@ -1,47 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 2000-2001 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/lvm/libmeta/spec/i386/Makefile
-
-.KEEP_STATE:
-
-# To enable apptrace, comment out the following line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#i386_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB)
diff --git a/usr/src/lib/lvm/libmeta/spec/meta.spec b/usr/src/lib/lvm/libmeta/spec/meta.spec
deleted file mode 100644
index e9def563b1..0000000000
--- a/usr/src/lib/lvm/libmeta/spec/meta.spec
+++ /dev/null
@@ -1,3778 +0,0 @@
-#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/lvm/libmeta/spec/meta.spec
-
-function meta_smf_enable
-version SUNWprivate_1.1
-end
-
-function meta_smf_disable
-version SUNWprivate_1.1
-end
-
-function meta_smf_getmask
-version SUNWprivate_1.1
-end
-
-function meta_smf_isonline
-version SUNWprivate_1.1
-end
-
-function meta_svm_sysevent
-version SUNWprivate_1.1
-end
-
-function close_admin
-version SUNWprivate_1.1
-end
-
-function meta_dev_ismeta
-version SUNWprivate_1.1
-end
-
-function meta_get_nunits
-version SUNWprivate_1.1
-end
-
-function metamakedev
-version SUNWprivate_1.1
-end
-
-function meta_get_tstate
-version SUNWprivate_1.1
-end
-
-function meta_expldev
-version SUNWprivate_1.1
-end
-
-function meta_cmpldev
-version SUNWprivate_1.1
-end
-
-function meta_getmajor
-version SUNWprivate_1.1
-end
-
-function meta_getminor
-version SUNWprivate_1.1
-end
-
-function open_admin
-version SUNWprivate_1.1
-end
-
-function meta_concat_generic
-version SUNWprivate_1.1
-end
-
-function meta_concat_parent
-version SUNWprivate_1.1
-end
-
-function meta_check_driveinset
-version SUNWprivate_1.1
-end
-
-function meta_check_drivemounted
-version SUNWprivate_1.1
-end
-
-function meta_check_driveswapped
-version SUNWprivate_1.1
-end
-
-function meta_check_inmeta
-version SUNWprivate_1.1
-end
-
-function meta_check_inset
-version SUNWprivate_1.1
-end
-
-function meta_check_root
-version SUNWprivate_1.1
-end
-
-function meta_check_inuse
-version SUNWprivate_1.1
-end
-
-function meta_imp_drvused
-version SUNWprivate_1.1
-end
-
-function meta_check_overlap
-version SUNWprivate_1.1
-end
-
-function meta_check_samedrive
-version SUNWprivate_1.1
-end
-
-function meta_check_inreplica
-version SUNWprivate_1.1
-end
-
-function meta_check_replica
-version SUNWprivate_1.1
-end
-
-function meta_db_addsidenms
-version SUNWprivate_1.1
-end
-
-function meta_db_attach
-version SUNWprivate_1.1
-end
-
-function meta_db_delsidenm
-version SUNWprivate_1.1
-end
-
-function meta_db_detach
-version SUNWprivate_1.1
-end
-
-function meta_db_minreplica
-version SUNWprivate_1.1
-end
-
-function meta_db_patch
-version SUNWprivate_1.1
-end
-
-function meta_get_replica_names
-version SUNWprivate_1.1
-end
-
-function meta_setup_db_locations
-version SUNWprivate_1.1
-end
-
-function meta_sync_db_locations
-version SUNWprivate_1.1
-end
-
-function meta_getdidminorbykey
-version SUNWprivate_1.1
-end
-
-function meta_getdidbykey
-version SUNWprivate_1.1
-end
-
-function meta_setdid
-version SUNWprivate_1.1
-end
-
-function metafreereplicalist
-version SUNWprivate_1.1
-end
-
-function metareplicalist
-version SUNWprivate_1.1
-end
-
-function meta_db_balance
-version SUNWprivate_1.1
-end
-
-function meta_create_non_dup_list
-version SUNWprivate_1.1
-end
-
-function sdssc_add_hosts
-version SUNWprivate_1.1
-end
-
-function sdssc_bind_library
-version SUNWprivate_1.1
-end
-
-function sdssc_bindclusterdevs
-version SUNWprivate_1.1
-end
-
-function sdssc_binddevs
-version SUNWprivate_1.1
-end
-
-function sdssc_clnt_bind_devs
-version SUNWprivate_1.1
-end
-
-function sdssc_clnt_proxy_cmd
-version SUNWprivate_1.1
-end
-
-function sdssc_cm_nid2nm
-version SUNWprivate_1.1
-end
-
-function sdssc_cm_nm2nid
-version SUNWprivate_1.1
-end
-
-function sdssc_cm_sr_nid2nm
-version SUNWprivate_1.1
-end
-
-function sdssc_cm_sr_nm2nid
-version SUNWprivate_1.1
-end
-
-function sdssc_cmd_proxy
-version SUNWprivate_1.1
-end
-
-function sdssc_convert_cluster_path
-version SUNWprivate_1.1
-end
-
-function sdssc_convert_ctd_path
-version SUNWprivate_1.1
-end
-
-function sdssc_convert_path_free
-version SUNWprivate_1.1
-end
-
-function sdssc_create_begin
-version SUNWprivate_1.1
-end
-
-function sdssc_mo_create_begin
-version SUNWprivate_1.1
-end
-
-function sdssc_create_end
-version SUNWprivate_1.1
-end
-
-function sdssc_delete_begin
-version SUNWprivate_1.1
-end
-
-function sdssc_delete_end
-version SUNWprivate_1.1
-end
-
-function sdssc_delete_hosts
-version SUNWprivate_1.1
-end
-
-function sdssc_free_mdcerr_list
-version SUNWprivate_1.1
-end
-
-function sdssc_freenodelist
-version SUNWprivate_1.1
-end
-
-function sdssc_get_index
-version SUNWprivate_1.1
-end
-
-function sdssc_get_primary_host
-version SUNWprivate_1.1
-end
-
-function sdssc_get_priv_ipaddr
-version SUNWprivate_1.1
-end
-
-function sdssc_get_services
-version SUNWprivate_1.1
-end
-
-function sdssc_get_services_free
-version SUNWprivate_1.1
-end
-
-function sdssc_getnodelist
-version SUNWprivate_1.1
-end
-
-function sdssc_gettransportbynode
-version SUNWprivate_1.1
-end
-
-function sdssc_notify_service
-version SUNWprivate_1.1
-end
-
-function sdssc_property_get
-version SUNWprivate_1.1
-end
-
-function sdssc_property_set
-version SUNWprivate_1.1
-end
-
-function sdssc_suspend
-version SUNWprivate_1.1
-end
-
-function sdssc_version
-version SUNWprivate_1.1
-end
-
-function getdevstamp
-version SUNWprivate_1.1
-end
-
-function setdevstamp
-version SUNWprivate_1.1
-end
-
-function md_eprintf
-version SUNWprivate_1.1
-end
-
-function meta_mc_log
-version SUNWprivate_1.1
-end
-
-function md_logpfx
-version SUNWprivate_1.1
-end
-
-function md_perror
-version SUNWprivate_1.1
-end
-
-function mdclrerror
-version SUNWprivate_1.1
-end
-
-function mdcomperror
-version SUNWprivate_1.1
-end
-
-function mddeverror
-version SUNWprivate_1.1
-end
-
-function mddserror
-version SUNWprivate_1.1
-end
-
-function mde_perror
-version SUNWprivate_1.1
-end
-
-function mde_sperror
-version SUNWprivate_1.1
-end
-
-function mderror
-version SUNWprivate_1.1
-end
-
-function mderrorextra
-version SUNWprivate_1.1
-end
-
-function mdhserror
-version SUNWprivate_1.1
-end
-
-function mdhsperror
-version SUNWprivate_1.1
-end
-
-function mdmddberror
-version SUNWprivate_1.1
-end
-
-function mdmderror
-version SUNWprivate_1.1
-end
-
-function mdrpccreateerror
-version SUNWprivate_1.1
-end
-
-function mdrpcerror
-version SUNWprivate_1.1
-end
-
-function mdstealerror
-version SUNWprivate_1.1
-end
-
-function mdsyserror
-version SUNWprivate_1.1
-end
-
-function mduseerror
-version SUNWprivate_1.1
-end
-
-function metaioctl
-version SUNWprivate_1.1
-end
-
-function meta_getalldevs
-version SUNWprivate_1.1
-end
-
-function meta_getdevs
-version SUNWprivate_1.1
-end
-
-function meta_getvtoc
-version SUNWprivate_1.1
-end
-
-function meta_setvtoc
-version SUNWprivate_1.1
-end
-
-function hs_state_to_name
-version SUNWprivate_1.1
-end
-
-function meta_check_hotspare
-version SUNWprivate_1.1
-end
-
-function meta_check_hsp
-version SUNWprivate_1.1
-end
-
-function meta_check_inhsp
-version SUNWprivate_1.1
-end
-
-function meta_create_hsp
-version SUNWprivate_1.1
-end
-
-function meta_free_hsp
-version SUNWprivate_1.1
-end
-
-function meta_get_hsp
-version SUNWprivate_1.1
-end
-
-function meta_gethspnmentbyid
-version SUNWprivate_1.1
-end
-
-function meta_get_hsp_common
-version SUNWprivate_1.1
-end
-
-function meta_get_hsp_names
-version SUNWprivate_1.1
-end
-
-function meta_hs_add
-version SUNWprivate_1.1
-end
-
-function meta_hs_delete
-version SUNWprivate_1.1
-end
-
-function meta_hs_enable
-version SUNWprivate_1.1
-end
-
-function meta_hs_replace
-version SUNWprivate_1.1
-end
-
-function meta_hsp_print
-version SUNWprivate_1.1
-end
-
-function meta_hsp_reset
-version SUNWprivate_1.1
-end
-
-function meta_init_hsp
-version SUNWprivate_1.1
-end
-
-function meta_invalidate_hsp
-version SUNWprivate_1.1
-end
-
-function metachkhsp
-version SUNWprivate_1.1
-end
-
-function meta_adjust_geom
-version SUNWprivate_1.1
-end
-
-function meta_cook_syntax
-version SUNWprivate_1.1
-end
-
-function meta_init_name
-version SUNWprivate_1.1
-end
-
-function meta_init_make_device
-version SUNWprivate_1.1
-end
-
-function meta_setup_geom
-version SUNWprivate_1.1
-end
-
-function parse_interlace
-version SUNWprivate_1.1
-end
-
-function close_mnttab
-version SUNWprivate_1.1
-end
-
-function open_mnttab
-version SUNWprivate_1.1
-end
-
-function meta_update_md_cf
-version SUNWprivate_1.1
-end
-
-function med_errnum_to_str
-version SUNWprivate_1.1
-end
-
-function Calloc
-version SUNWprivate_1.1
-end
-
-function Free
-version SUNWprivate_1.1
-end
-
-function Malloc
-version SUNWprivate_1.1
-end
-
-function Realloc
-version SUNWprivate_1.1
-end
-
-function Strdup
-version SUNWprivate_1.1
-end
-
-function Zalloc
-version SUNWprivate_1.1
-end
-
-function cl_get_setkey
-version SUNWprivate_1.1
-end
-
-function cl_set_setkey
-version SUNWprivate_1.1
-end
-
-function clnt_add_drv_sidenms
-version SUNWprivate_1.1
-end
-
-function clnt_adddrvs
-version SUNWprivate_1.1
-end
-
-function clnt_addhosts
-version SUNWprivate_1.1
-end
-
-function clnt_createset
-version SUNWprivate_1.1
-end
-
-function clnt_del_drv_sidenms
-version SUNWprivate_1.1
-end
-
-function clnt_deldrvs
-version SUNWprivate_1.1
-end
-
-function clnt_delhosts
-version SUNWprivate_1.1
-end
-
-function clnt_delset
-version SUNWprivate_1.1
-end
-
-function clnt_devinfo
-version SUNWprivate_1.1
-end
-
-function clnt_drvused
-version SUNWprivate_1.1
-end
-
-function clnt_devinfo_by_devid
-version SUNWprivate_1.1
-end
-
-function clnt_getset
-version SUNWprivate_1.1
-end
-
-function clnt_mngetset
-version SUNWprivate_1.1
-end
-
-function clnt_gtimeout
-version SUNWprivate_1.1
-end
-
-function clnt_hostname
-version SUNWprivate_1.1
-end
-
-function clnt_lock_set
-version SUNWprivate_1.1
-end
-
-function clnt_nullproc
-version SUNWprivate_1.1
-end
-
-function clnt_ownset
-version SUNWprivate_1.1
-end
-
-function clnt_setnameok
-version SUNWprivate_1.1
-end
-
-function clnt_setnumbusy
-version SUNWprivate_1.1
-end
-
-function clnt_stimeout
-version SUNWprivate_1.1
-end
-
-function clnt_unlock_set
-version SUNWprivate_1.1
-end
-
-function clnt_upd_dr_dbinfo
-version SUNWprivate_1.1
-end
-
-function clnt_upd_dr_flags
-version SUNWprivate_1.1
-end
-
-function clnt_upd_sr_flags
-version SUNWprivate_1.1
-end
-
-function clnt_upd_nr_flags
-version SUNWprivate_1.1
-end
-
-function clnt_updmeds
-version SUNWprivate_1.1
-end
-
-function meta_conv_drvdesc_new2old
-version SUNWprivate_1.1
-end
-
-function meta_conv_drvdesc_old2new
-version SUNWprivate_1.1
-end
-
-function meta_conv_drvname_new2old
-version SUNWprivate_1.1
-end
-
-function meta_conv_drvname_old2new
-version SUNWprivate_1.1
-end
-
-function alloc_olddrvdesc
-version SUNWprivate_1.1
-end
-
-function alloc_newdrvdesc
-version SUNWprivate_1.1
-end
-
-function free_olddrvdesc
-version SUNWprivate_1.1
-end
-
-function free_newdrvdesc
-version SUNWprivate_1.1
-end
-
-function meta_get_devid
-version SUNWprivate_1.1
-end
-
-function meta_print_devid
-version SUNWprivate_1.1
-end
-
-function clnt_mncreateset
-version SUNWprivate_1.1
-end
-
-function clnt_joinset
-version SUNWprivate_1.1
-end
-
-function clnt_mnsetmaster
-version SUNWprivate_1.1
-end
-
-function clnt_mn_mirror_resync_all
-version SUNWprivate_1.1
-end
-
-function clnt_mn_sp_update_abr
-version SUNWprivate_1.1
-end
-
-function free_sr
-version SUNWprivate_1.1
-end
-
-function short_circuit_getset
-version SUNWprivate_1.1
-end
-
-function commitset
-version SUNWprivate_1.1
-end
-
-function dr_cache_add
-version SUNWprivate_1.1
-end
-
-function dr_cache_del
-version SUNWprivate_1.1
-end
-
-function mnnr_cache_add
-version SUNWprivate_1.1
-end
-
-function mnnr_cache_del
-version SUNWprivate_1.1
-end
-
-function drdup
-version SUNWprivate_1.1
-end
-
-function get_db_rec
-version SUNWprivate_1.1
-end
-
-function get_ur_rec
-version SUNWprivate_1.1
-end
-
-function metad_getsetbyname
-version SUNWprivate_1.1
-end
-
-function metad_getsetbynum
-version SUNWprivate_1.1
-end
-
-function resnarf_set
-version SUNWprivate_1.1
-end
-
-function metad_isautotakebyname
-version SUNWprivate_1.1
-end
-
-function metad_isautotakebynum
-version SUNWprivate_1.1
-end
-
-function s_delrec
-version SUNWprivate_1.1
-end
-
-function s_delset
-version SUNWprivate_1.1
-end
-
-function s_ownset
-version SUNWprivate_1.1
-end
-
-function set_snarf
-version SUNWprivate_1.1
-end
-
-function setdup
-version SUNWprivate_1.1
-end
-
-function mnsetdup
-version SUNWprivate_1.1
-end
-
-function sr_cache_add
-version SUNWprivate_1.1
-end
-
-function sr_cache_del
-version SUNWprivate_1.1
-end
-
-function sr_cache_flush
-version SUNWprivate_1.1
-end
-
-function sr_cache_flush_setno
-version SUNWprivate_1.1
-end
-
-function sr_validate
-version SUNWprivate_1.1
-end
-
-function sr_del_drv
-version SUNWprivate_1.1
-end
-
-function clnt_med_get_data
-version SUNWprivate_1.1
-end
-
-function clnt_med_get_rec
-version SUNWprivate_1.1
-end
-
-function clnt_med_hostname
-version SUNWprivate_1.1
-end
-
-function clnt_med_null
-version SUNWprivate_1.1
-end
-
-function clnt_med_upd_data
-version SUNWprivate_1.1
-end
-
-function clnt_med_upd_rec
-version SUNWprivate_1.1
-end
-
-function meddstealerror
-version SUNWprivate_1.1
-end
-
-function meta_h2hi
-version SUNWprivate_1.1
-end
-
-function meta_hi2h
-version SUNWprivate_1.1
-end
-
-function meta_med_hnm2ip
-version SUNWprivate_1.1
-end
-
-function setup_med_cfg
-version SUNWprivate_1.1
-end
-
-function defmhiargs
-version SUNWprivate_1.1
-end
-
-function meta_drive_to_disk_status_list
-version SUNWprivate_1.1
-end
-
-function meta_free_disk_status_list
-version SUNWprivate_1.1
-end
-
-function meta_free_drive_info_list
-version SUNWprivate_1.1
-end
-
-function meta_free_im_set_desc
-version SUNWprivate_1.1
-end
-
-function meta_get_drive_names
-version SUNWprivate_1.1
-end
-
-function meta_list_disks
-version SUNWprivate_1.1
-end
-
-function meta_imp_set
-version SUNWprivate_1.1
-end
-
-function meta_list_drives
-version SUNWprivate_1.1
-end
-
-function meta_get_and_report_set_info
-version SUNWprivate_1.1
-end
-
-function meta_prune_cnames
-version SUNWprivate_1.1
-end
-
-function print_concise_entry
-version SUNWprivate_1.1
-end
-
-function meta_get_raid_col_state
-version SUNWprivate_1.1
-end
-
-function meta_get_stripe_state
-version SUNWprivate_1.1
-end
-
-function meta_get_hs_state
-version SUNWprivate_1.1
-end
-
-function meta_rel_own
-version SUNWprivate_1.1
-end
-
-function meta_replica_quorum
-version SUNWprivate_1.1
-end
-
-function meta_status_own
-version SUNWprivate_1.1
-end
-
-function meta_take_own
-version SUNWprivate_1.1
-end
-
-function mhstealerror
-version SUNWprivate_1.1
-end
-
-function rel_own_bydd
-version SUNWprivate_1.1
-end
-
-function tk_own_bydd
-version SUNWprivate_1.1
-end
-
-function meta_check_inmirror
-version SUNWprivate_1.1
-end
-
-function meta_check_mirror
-version SUNWprivate_1.1
-end
-
-function meta_check_submirror
-version SUNWprivate_1.1
-end
-
-function meta_create_mirror
-version SUNWprivate_1.1
-end
-
-function meta_free_mirror
-version SUNWprivate_1.1
-end
-
-function meta_get_mirror
-version SUNWprivate_1.1
-end
-
-function meta_get_mirror_names
-version SUNWprivate_1.1
-end
-
-function meta_init_mirror
-version SUNWprivate_1.1
-end
-
-function meta_mirror_anycomp_is_err
-version SUNWprivate_1.1
-end
-
-function meta_mirror_attach
-version SUNWprivate_1.1
-end
-
-function meta_mirror_detach
-version SUNWprivate_1.1
-end
-
-function meta_mirror_enable
-version SUNWprivate_1.1
-end
-
-function meta_mirror_get_params
-version SUNWprivate_1.1
-end
-
-function meta_mirror_offline
-version SUNWprivate_1.1
-end
-
-function meta_mirror_online
-version SUNWprivate_1.1
-end
-
-function meta_mirror_print
-version SUNWprivate_1.1
-end
-
-function meta_mirror_replace
-version SUNWprivate_1.1
-end
-
-function meta_mirror_reset
-version SUNWprivate_1.1
-end
-
-function meta_mirror_set_params
-version SUNWprivate_1.1
-end
-
-function meta_print_mirror_options
-version SUNWprivate_1.1
-end
-
-function name_to_pass_num
-version SUNWprivate_1.1
-end
-
-function name_to_rd_opt
-version SUNWprivate_1.1
-end
-
-function name_to_wr_opt
-version SUNWprivate_1.1
-end
-
-function rd_opt_to_name
-version SUNWprivate_1.1
-end
-
-function sm_state_to_action
-version SUNWprivate_1.1
-end
-
-function sm_state_to_name
-version SUNWprivate_1.1
-end
-
-function wr_opt_to_name
-version SUNWprivate_1.1
-end
-
-function meta_mirror_resync
-version SUNWprivate_1.1
-end
-
-function meta_mirror_resync_all
-version SUNWprivate_1.1
-end
-
-function meta_mn_mirror_resync_all
-version SUNWprivate_1.1
-end
-
-function meta_mirror_resync_kill_all
-version SUNWprivate_1.1
-end
-
-function meta_mirror_resync_block_all
-version SUNWprivate_1.1
-end
-
-function meta_mirror_resync_unblock_all
-version SUNWprivate_1.1
-end
-
-function meta_mirror_resync_unblock
-version SUNWprivate_1.1
-end
-
-function meta_mirror_resync_kill
-version SUNWprivate_1.1
-end
-
-function meta_get_mountp
-version SUNWprivate_1.1
-end
-
-function blkname
-version SUNWprivate_1.1
-end
-
-function get_devname
-version SUNWprivate_1.1
-end
-
-function get_hspname
-version SUNWprivate_1.1
-end
-
-function get_mdname
-version SUNWprivate_1.1
-end
-
-function meta_is_all
-version SUNWprivate_1.1
-end
-
-function meta_is_none
-version SUNWprivate_1.1
-end
-
-function is_hspname
-version SUNWprivate_1.1
-end
-
-function sr2setdesc
-version SUNWprivate_1.1
-end
-
-function is_existing_metadevice
-version SUNWprivate_1.1
-end
-
-function is_existing_hsp
-version SUNWprivate_1.1
-end
-
-function is_metaname
-version SUNWprivate_1.1
-end
-
-function meta_canonicalize
-version SUNWprivate_1.1
-end
-
-function meta_get_hotspare_names
-version SUNWprivate_1.1
-end
-
-function meta_getdev
-version SUNWprivate_1.1
-end
-
-function metachkcomp
-version SUNWprivate_1.1
-end
-
-function metachkdisk
-version SUNWprivate_1.1
-end
-
-function metachkmeta
-version SUNWprivate_1.1
-end
-
-function metadevname
-version SUNWprivate_1.1
-end
-
-function metadiskname
-version SUNWprivate_1.1
-end
-
-function metadrivename
-version SUNWprivate_1.1
-end
-
-function metadrivenamelist
-version SUNWprivate_1.1
-end
-
-function metadrivenamelist_append
-version SUNWprivate_1.1
-end
-
-function meta_drivenamelist_append_wrapper
-version SUNWprivate_1.1
-end
-
-function metafakesetname
-version SUNWprivate_1.1
-end
-
-function metaflushmetanames
-version SUNWprivate_1.1
-end
-
-function metaflushnames
-version SUNWprivate_1.1
-end
-
-function metaflushsetname
-version SUNWprivate_1.1
-end
-
-function metaflushsidenames
-version SUNWprivate_1.1
-end
-
-function metaflushdrivenames
-version SUNWprivate_1.1
-end
-
-function metafreedrivename
-version SUNWprivate_1.1
-end
-
-function metafreedrivenamelist
-version SUNWprivate_1.1
-end
-
-function metafreehspnamelist
-version SUNWprivate_1.1
-end
-
-function metafreenamelist
-version SUNWprivate_1.1
-end
-
-function metaget_setdesc
-version SUNWprivate_1.1
-end
-
-function metahsphspname
-version SUNWprivate_1.1
-end
-
-function metahspname
-version SUNWprivate_1.1
-end
-
-function metahspnamelist
-version SUNWprivate_1.1
-end
-
-function metahspnamelist_append
-version SUNWprivate_1.1
-end
-
-function metaislocalset
-version SUNWprivate_1.1
-end
-
-function metaismeta
-version SUNWprivate_1.1
-end
-
-function metaissameset
-version SUNWprivate_1.1
-end
-
-function metakeyname
-version SUNWprivate_1.1
-end
-
-function metamnumname
-version SUNWprivate_1.1
-end
-
-function meta_name_getname
-version SUNWprivate_1.1
-end
-
-function metaname
-version SUNWprivate_1.1
-end
-
-function metaname_fast
-version SUNWprivate_1.1
-end
-
-function metanamelist
-version SUNWprivate_1.1
-end
-
-function metanamelist_append
-version SUNWprivate_1.1
-end
-
-function metasetname
-version SUNWprivate_1.1
-end
-
-function metasetnosetname
-version SUNWprivate_1.1
-end
-
-function metaslicename
-version SUNWprivate_1.1
-end
-
-function ctlr_cache_add
-version SUNWprivate_1.1
-end
-
-function ctlr_cache_look
-version SUNWprivate_1.1
-end
-
-function getdrvnode
-version SUNWprivate_1.1
-end
-
-function meta_free_unit
-version SUNWprivate_1.1
-end
-
-function meta_get_mdunit
-version SUNWprivate_1.1
-end
-
-function meta_get_unit
-version SUNWprivate_1.1
-end
-
-function meta_invalidate_name
-version SUNWprivate_1.1
-end
-
-function meta_isopen
-version SUNWprivate_1.1
-end
-
-function meta_match_enclosure
-version SUNWprivate_1.1
-end
-
-function metaflushctlrcache
-version SUNWprivate_1.1
-end
-
-function metafreevtoc
-version SUNWprivate_1.1
-end
-
-function metagetcinfo
-version SUNWprivate_1.1
-end
-
-function metagetdevicesname
-version SUNWprivate_1.1
-end
-
-function metagetgeom
-version SUNWprivate_1.1
-end
-
-function metagetlabel
-version SUNWprivate_1.1
-end
-
-function metagetmiscname
-version SUNWprivate_1.1
-end
-
-function metagetpartno
-version SUNWprivate_1.1
-end
-
-function metagetset
-version SUNWprivate_1.1
-end
-
-function metagetsize
-version SUNWprivate_1.1
-end
-
-function metagetstart
-version SUNWprivate_1.1
-end
-
-function metagetvtoc
-version SUNWprivate_1.1
-end
-
-function metahasmddb
-version SUNWprivate_1.1
-end
-
-function metasetvtoc
-version SUNWprivate_1.1
-end
-
-function add_key_name
-version SUNWprivate_1.1
-end
-
-function add_name
-version SUNWprivate_1.1
-end
-
-function del_key_name
-version SUNWprivate_1.1
-end
-
-function del_key_names
-version SUNWprivate_1.1
-end
-
-function del_name
-version SUNWprivate_1.1
-end
-
-function meta_getnmbykey
-version SUNWprivate_1.1
-end
-
-function meta_getnmentbydev
-version SUNWprivate_1.1
-end
-
-function meta_getnmentbykey
-version SUNWprivate_1.1
-end
-
-function evdrv2evlib_typetab
-version SUNWprivate_1.1
-end
-
-function meta_notify_createq
-version SUNWprivate_1.1
-end
-
-function meta_notify_deleteq
-version SUNWprivate_1.1
-end
-
-function meta_notify_doputev
-version SUNWprivate_1.1
-end
-
-function meta_notify_flushq
-version SUNWprivate_1.1
-end
-
-function meta_notify_freeevlist
-version SUNWprivate_1.1
-end
-
-function meta_notify_getev
-version SUNWprivate_1.1
-end
-
-function meta_notify_getevlist
-version SUNWprivate_1.1
-end
-
-function meta_notify_listq
-version SUNWprivate_1.1
-end
-
-function meta_notify_putev
-version SUNWprivate_1.1
-end
-
-function meta_notify_putevlist
-version SUNWprivate_1.1
-end
-
-function meta_notify_sendev
-version SUNWprivate_1.1
-end
-
-function meta_notify_validq
-version SUNWprivate_1.1
-end
-
-function tag2obj_typetab
-version SUNWprivate_1.1
-end
-
-function meta_patch_fsdev
-version SUNWprivate_1.1
-end
-
-function meta_patch_swapdev
-version SUNWprivate_1.1
-end
-
-function meta_patch_vfstab
-version SUNWprivate_1.1
-end
-
-function meta_patch_rootdev
-version SUNWprivate_1.1
-end
-
-function meta_prbits
-version SUNWprivate_1.1
-end
-
-function meta_print_all
-version SUNWprivate_1.1
-end
-
-function meta_print_name
-version SUNWprivate_1.1
-end
-
-function meta_print_time
-version SUNWprivate_1.1
-end
-
-function meta_print_hrtime
-version SUNWprivate_1.1
-end
-
-function meta_check_column
-version SUNWprivate_1.1
-end
-
-function meta_check_inraid
-version SUNWprivate_1.1
-end
-
-function meta_check_raid
-version SUNWprivate_1.1
-end
-
-function meta_create_raid
-version SUNWprivate_1.1
-end
-
-function meta_default_raid_interlace
-version SUNWprivate_1.1
-end
-
-function meta_free_raid
-version SUNWprivate_1.1
-end
-
-function meta_get_raid_common
-version SUNWprivate_1.1
-end
-
-function meta_get_raid
-version SUNWprivate_1.1
-end
-
-function meta_get_raid_names
-version SUNWprivate_1.1
-end
-
-function meta_init_raid
-version SUNWprivate_1.1
-end
-
-function meta_print_raid_options
-version SUNWprivate_1.1
-end
-
-function meta_raid_anycomp_is_err
-version SUNWprivate_1.1
-end
-
-function meta_raid_attach
-version SUNWprivate_1.1
-end
-
-function meta_raid_check_interlace
-version SUNWprivate_1.1
-end
-
-function meta_raid_enable
-version SUNWprivate_1.1
-end
-
-function meta_raid_get_params
-version SUNWprivate_1.1
-end
-
-function meta_raid_print
-version SUNWprivate_1.1
-end
-
-function meta_raid_regen_byname
-version SUNWprivate_1.1
-end
-
-function meta_raid_replace
-version SUNWprivate_1.1
-end
-
-function meta_raid_reset
-version SUNWprivate_1.1
-end
-
-function meta_raid_set_params
-version SUNWprivate_1.1
-end
-
-function meta_raid_state_cnt
-version SUNWprivate_1.1
-end
-
-function meta_raid_valid
-version SUNWprivate_1.1
-end
-
-function raid_col_state_to_name
-version SUNWprivate_1.1
-end
-
-function raid_state_to_action
-version SUNWprivate_1.1
-end
-
-function raid_state_to_name
-version SUNWprivate_1.1
-end
-
-function meta_raid_resync
-version SUNWprivate_1.1
-end
-
-function meta_raid_resync_all
-version SUNWprivate_1.1
-end
-
-function meta_exchange
-version SUNWprivate_1.1
-end
-
-function meta_rename
-version SUNWprivate_1.1
-end
-
-function meta_enable_byname
-version SUNWprivate_1.1
-end
-
-function meta_replace_byname
-version SUNWprivate_1.1
-end
-
-function meta_reset
-version SUNWprivate_1.1
-end
-
-function meta_reset_all
-version SUNWprivate_1.1
-end
-
-function meta_reset_by_name
-version SUNWprivate_1.1
-end
-
-function meta_resync_all
-version SUNWprivate_1.1
-end
-
-function meta_resync_byname
-version SUNWprivate_1.1
-end
-
-function do_owner_ioctls
-version SUNWprivate_1.1
-end
-
-function commd_get_verbosity
-version SUNWprivate_1.1
-end
-
-function commd_get_outfile
-version SUNWprivate_1.1
-end
-
-function get_max_meds
-version SUNWprivate_1.1
-end
-
-function get_max_sets
-version SUNWprivate_1.1
-end
-
-function getmyside
-version SUNWprivate_1.1
-end
-
-function getsetbyname
-version SUNWprivate_1.1
-end
-
-function getsetbynum
-version SUNWprivate_1.1
-end
-
-function meta_check_drive_inuse
-version SUNWprivate_1.1
-end
-
-function meta_check_ownership
-version SUNWprivate_1.1
-end
-
-function meta_check_ownership_on_host
-version SUNWprivate_1.1
-end
-
-function meta_get_reserved_names
-version SUNWprivate_1.1
-end
-
-function meta_getnextside_devinfo
-version SUNWprivate_1.1
-end
-
-function meta_is_drive_in_anyset
-version SUNWprivate_1.1
-end
-
-function meta_is_drive_in_thisset
-version SUNWprivate_1.1
-end
-
-function meta_is_devid_in_anyset
-version SUNWprivate_1.1
-end
-
-function meta_is_devid_in_thisset
-version SUNWprivate_1.1
-end
-
-function meta_set_balance
-version SUNWprivate_1.1
-end
-
-function meta_set_destroy
-version SUNWprivate_1.1
-end
-
-function meta_set_purge
-version SUNWprivate_1.1
-end
-
-function meta_set_query
-version SUNWprivate_1.1
-end
-
-function metadrivename_withdrkey
-version SUNWprivate_1.1
-end
-
-function metafreedrivedesc
-version SUNWprivate_1.1
-end
-
-function metaget_drivedesc
-version SUNWprivate_1.1
-end
-
-function metaget_drivedesc_fromnamelist
-version SUNWprivate_1.1
-end
-
-function metaget_drivedesc_sideno
-version SUNWprivate_1.1
-end
-
-function metaget_setownership
-version SUNWprivate_1.1
-end
-
-function mynode
-version SUNWprivate_1.1
-end
-
-function strinlst
-version SUNWprivate_1.1
-end
-
-function meta_set_adddrives
-version SUNWprivate_1.1
-end
-
-function meta_set_deletedrives
-version SUNWprivate_1.1
-end
-
-function meta_set_checkname
-version SUNWprivate_1.1
-end
-
-function meta_set_addhosts
-version SUNWprivate_1.1
-end
-
-function meta_set_deletehosts
-version SUNWprivate_1.1
-end
-
-function meta_set_addmeds
-version SUNWprivate_1.1
-end
-
-function meta_set_deletemeds
-version SUNWprivate_1.1
-end
-
-function meta_set_auto_take
-version SUNWprivate_1.1
-end
-
-function checkdrive_onnode
-version SUNWprivate_1.1
-end
-
-function getnodeside
-version SUNWprivate_1.1
-end
-
-function halt_set
-version SUNWprivate_1.1
-end
-
-function metadrivedesc_append
-version SUNWprivate_1.1
-end
-
-function nodehasset
-version SUNWprivate_1.1
-end
-
-function nodesuniq
-version SUNWprivate_1.1
-end
-
-function own_set
-version SUNWprivate_1.1
-end
-
-function resync_genid
-version SUNWprivate_1.1
-end
-
-function setup_db_bydd
-version SUNWprivate_1.1
-end
-
-function snarf_set
-version SUNWprivate_1.1
-end
-
-function meta_set_release
-version SUNWprivate_1.1
-end
-
-function meta_set_take
-version SUNWprivate_1.1
-end
-
-function meta_set_join
-version SUNWprivate_1.1
-end
-
-function meta_set_withdraw
-version SUNWprivate_1.1
-end
-
-function meta_update_mb
-version SUNWprivate_1.1
-end
-
-function allsigs
-version SUNWprivate_1.1
-end
-
-function md_daemonize
-version SUNWprivate_1.1
-end
-
-function md_exit
-version SUNWprivate_1.1
-end
-
-function md_got_sig
-version SUNWprivate_1.1
-end
-
-function setup_mc_log
-version SUNWprivate_1.1
-end
-
-function md_init
-version SUNWprivate_1.1
-end
-
-function md_init_nosig
-version SUNWprivate_1.1
-end
-
-function md_init_daemon
-version SUNWprivate_1.1
-end
-
-function md_post_sig
-version SUNWprivate_1.1
-end
-
-function md_rb_sig_handling_off
-version SUNWprivate_1.1
-end
-
-function md_rb_sig_handling_on
-version SUNWprivate_1.1
-end
-
-function md_which_sig
-version SUNWprivate_1.1
-end
-
-function meta_lock
-version SUNWprivate_1.1
-end
-
-function meta_lock_name
-version SUNWprivate_1.1
-end
-
-function meta_lock_nowait
-version SUNWprivate_1.1
-end
-
-function meta_lock_status
-version SUNWprivate_1.1
-end
-
-function meta_unlock
-version SUNWprivate_1.1
-end
-
-function metalogfp
-version SUNWprivate_1.1
-end
-
-function metasyslog
-version SUNWprivate_1.1
-end
-
-function verbosity
-version SUNWprivate_1.1
-end
-
-function start_time
-version SUNWprivate_1.1
-end
-
-function myname
-version SUNWprivate_1.1
-end
-
-function procsigs
-version SUNWprivate_1.1
-end
-
-function rb_test
-version SUNWprivate_1.1
-end
-
-function meta_stat
-version SUNWprivate_1.1
-end
-
-function metaflushstatcache
-version SUNWprivate_1.1
-end
-
-function comp_state_to_name
-version SUNWprivate_1.1
-end
-
-function meta_check_component
-version SUNWprivate_1.1
-end
-
-function meta_check_instripe
-version SUNWprivate_1.1
-end
-
-function meta_check_stripe
-version SUNWprivate_1.1
-end
-
-function meta_create_stripe
-version SUNWprivate_1.1
-end
-
-function meta_default_stripe_interlace
-version SUNWprivate_1.1
-end
-
-function meta_find_erred_comp
-version SUNWprivate_1.1
-end
-
-function meta_free_stripe
-version SUNWprivate_1.1
-end
-
-function meta_get_stripe_common
-version SUNWprivate_1.1
-end
-
-function meta_get_stripe
-version SUNWprivate_1.1
-end
-
-function meta_get_stripe_names
-version SUNWprivate_1.1
-end
-
-function meta_init_stripe
-version SUNWprivate_1.1
-end
-
-function meta_print_stripe_options
-version SUNWprivate_1.1
-end
-
-function meta_recover_sp
-version SUNWprivate_1.1
-end
-
-function meta_sp_issp
-version SUNWprivate_1.1
-end
-
-function meta_sp_reset_component
-version SUNWprivate_1.1
-end
-
-function meta_sp_attach
-version SUNWprivate_1.1
-end
-
-function meta_sp_update_abr
-version SUNWprivate_1.1
-end
-
-function meta_mn_sp_update_abr
-version SUNWprivate_1.1
-end
-
-function meta_get_sp_common
-version SUNWprivate_1.1
-end
-
-function meta_get_sp
-version SUNWprivate_1.1
-end
-
-function meta_free_sp
-version SUNWprivate_1.1
-end
-
-function meta_get_sp_names
-version SUNWprivate_1.1
-end
-
-function meta_sp_can_create_sps
-version SUNWprivate_1.1
-end
-
-function meta_sp_can_create_sps_on_drive
-version SUNWprivate_1.1
-end
-
-function meta_sp_get_free_space
-version SUNWprivate_1.1
-end
-
-function meta_sp_get_free_space_on_drive
-version SUNWprivate_1.1
-end
-
-function meta_sp_get_number_of_possible_sps
-version SUNWprivate_1.1
-end
-
-function meta_sp_get_number_of_possible_sps_on_drive
-version SUNWprivate_1.1
-end
-
-function meta_sp_get_possible_sp_size
-version SUNWprivate_1.1
-end
-
-function meta_sp_get_possible_sp_size_on_drive
-version SUNWprivate_1.1
-end
-
-function meta_sp_parsesize
-version SUNWprivate_1.1
-end
-
-function meta_stripe_anycomp_is_err
-version SUNWprivate_1.1
-end
-
-function meta_stripe_attach
-version SUNWprivate_1.1
-end
-
-function meta_stripe_check_interlace
-version SUNWprivate_1.1
-end
-
-function meta_stripe_get_params
-version SUNWprivate_1.1
-end
-
-function meta_stripe_print
-version SUNWprivate_1.1
-end
-
-function meta_stripe_replace
-version SUNWprivate_1.1
-end
-
-function meta_stripe_reset
-version SUNWprivate_1.1
-end
-
-function meta_stripe_set_params
-version SUNWprivate_1.1
-end
-
-function meta_systemfile_append_mddb
-version SUNWprivate_1.1
-end
-
-function meta_systemfile_append_mdroot
-version SUNWprivate_1.1
-end
-
-function meta_systemfile_copy
-version SUNWprivate_1.1
-end
-
-function meta_tab_find
-version SUNWprivate_1.1
-end
-
-function meta_tab_free
-version SUNWprivate_1.1
-end
-
-function meta_tab_parse
-version SUNWprivate_1.1
-end
-
-function meta_check_intrans
-version SUNWprivate_1.1
-end
-
-function meta_check_log
-version SUNWprivate_1.1
-end
-
-function meta_check_master
-version SUNWprivate_1.1
-end
-
-function meta_free_trans
-version SUNWprivate_1.1
-end
-
-function meta_get_trans
-version SUNWprivate_1.1
-end
-
-function meta_get_trans_common
-version SUNWprivate_1.1
-end
-
-function meta_get_trans_names
-version SUNWprivate_1.1
-end
-
-function meta_logs_print
-version SUNWprivate_1.1
-end
-
-function meta_trans_detach
-version SUNWprivate_1.1
-end
-
-function meta_trans_print
-version SUNWprivate_1.1
-end
-
-function meta_trans_replace
-version SUNWprivate_1.1
-end
-
-function meta_trans_reset
-version SUNWprivate_1.1
-end
-
-function mt_flags_to_action
-version SUNWprivate_1.1
-end
-
-function mt_flags_to_name
-version SUNWprivate_1.1
-end
-
-function mt_l_error_to_action
-version SUNWprivate_1.1
-end
-
-function mt_l_error_to_name
-version SUNWprivate_1.1
-end
-
-function transstats
-version SUNWprivate_1.1
-end
-
-function meta_getuserflags
-version SUNWprivate_1.1
-end
-
-function meta_setuserflags
-version SUNWprivate_1.1
-end
-
-function metarpcclose
-version SUNWprivate_1.1
-end
-
-function metarpccloseall
-version SUNWprivate_1.1
-end
-
-function metarpcopen
-version SUNWprivate_1.1
-end
-
-function splicename
-version SUNWprivate_1.1
-end
-
-function splitname
-version SUNWprivate_1.1
-end
-
-function crcfreetab
-version SUNWprivate_1.1
-end
-
-function crcfunc
-version SUNWprivate_1.1
-end
-
-function mdnullerror
-version SUNWprivate_1.1
-end
-
-function xdr_comp_state_t
-version SUNWprivate_1.1
-end
-
-function xdr_comp_t
-version SUNWprivate_1.1
-end
-
-function xdr_diskaddr_t
-version SUNWprivate_1.1
-end
-
-function xdr_hotspare_states_t
-version SUNWprivate_1.1
-end
-
-function xdr_hs_t
-version SUNWprivate_1.1
-end
-
-function xdr_hsp_t
-version SUNWprivate_1.1
-end
-
-function xdr_md_common_t
-version SUNWprivate_1.1
-end
-
-function xdr_md_comp_errno_t
-version SUNWprivate_1.1
-end
-
-function xdr_md_comp_error_t
-version SUNWprivate_1.1
-end
-
-function xdr_md_comp_t
-version SUNWprivate_1.1
-end
-
-function xdr_md_dev_errno_t
-version SUNWprivate_1.1
-end
-
-function xdr_md_dev_error_t
-version SUNWprivate_1.1
-end
-
-function xdr_md_drive_desc
-version SUNWprivate_1.1
-end
-
-function xdr_md_drive_record
-version SUNWprivate_1.1
-end
-
-function xdr_md_ds_errno_t
-version SUNWprivate_1.1
-end
-
-function xdr_md_ds_error_t
-version SUNWprivate_1.1
-end
-
-function xdr_md_errclass_t
-version SUNWprivate_1.1
-end
-
-function xdr_md_error_info_t
-version SUNWprivate_1.1
-end
-
-function xdr_md_error_t
-version SUNWprivate_1.1
-end
-
-function xdr_md_hs_errno_t
-version SUNWprivate_1.1
-end
-
-function xdr_md_hs_error_t
-version SUNWprivate_1.1
-end
-
-function xdr_md_hs_t
-version SUNWprivate_1.1
-end
-
-function xdr_md_hsp_errno_t
-version SUNWprivate_1.1
-end
-
-function xdr_md_hsp_error_t
-version SUNWprivate_1.1
-end
-
-function xdr_md_hsp_t
-version SUNWprivate_1.1
-end
-
-function xdr_md_md_errno_t
-version SUNWprivate_1.1
-end
-
-function xdr_md_md_error_t
-version SUNWprivate_1.1
-end
-
-function xdr_md_mddb_errno_t
-version SUNWprivate_1.1
-end
-
-function xdr_md_mddb_error_t
-version SUNWprivate_1.1
-end
-
-function xdr_md_mirror_t
-version SUNWprivate_1.1
-end
-
-function xdr_md_name_prefix
-version SUNWprivate_1.1
-end
-
-function xdr_md_name_suffix
-version SUNWprivate_1.1
-end
-
-function xdr_md_parent_t
-version SUNWprivate_1.1
-end
-
-function xdr_md_raid_t
-version SUNWprivate_1.1
-end
-
-function xdr_md_raidcol_t
-version SUNWprivate_1.1
-end
-
-function xdr_md_replica_t
-version SUNWprivate_1.1
-end
-
-function xdr_md_replica_recerr_t
-version SUNWprivate_1.1
-end
-
-function xdr_md_replicalist_t
-version SUNWprivate_1.1
-end
-
-function xdr_md_riflags_t
-version SUNWprivate_1.1
-end
-
-function xdr_md_row_t
-version SUNWprivate_1.1
-end
-
-function xdr_md_rpc_error_t
-version SUNWprivate_1.1
-end
-
-function xdr_md_set_desc
-version SUNWprivate_1.1
-end
-
-function xdr_md_set_record
-version SUNWprivate_1.1
-end
-
-function xdr_md_setkey_t
-version SUNWprivate_1.1
-end
-
-function xdr_md_shared_t
-version SUNWprivate_1.1
-end
-
-function xdr_md_splitname
-version SUNWprivate_1.1
-end
-
-function xdr_md_stackcap_t
-version SUNWprivate_1.1
-end
-
-function xdr_md_status_t
-version SUNWprivate_1.1
-end
-
-function xdr_md_stripe_t
-version SUNWprivate_1.1
-end
-
-function xdr_md_submirror_t
-version SUNWprivate_1.1
-end
-
-function xdr_md_sys_error_t
-version SUNWprivate_1.1
-end
-
-function xdr_md_trans_t
-version SUNWprivate_1.1
-end
-
-function xdr_md_types_t
-version SUNWprivate_1.1
-end
-
-function xdr_md_ur_get_cmd_t
-version SUNWprivate_1.1
-end
-
-function xdr_md_use_errno_t
-version SUNWprivate_1.1
-end
-
-function xdr_md_use_error_t
-version SUNWprivate_1.1
-end
-
-function xdr_md_void_errno_t
-version SUNWprivate_1.1
-end
-
-function xdr_md_void_error_t
-version SUNWprivate_1.1
-end
-
-function xdr_mdcinfo_t
-version SUNWprivate_1.1
-end
-
-function xdr_mddb_cfgcmd_t
-version SUNWprivate_1.1
-end
-
-function xdr_mddb_recstatus_t
-version SUNWprivate_1.1
-end
-
-function xdr_mddb_type_t
-version SUNWprivate_1.1
-end
-
-function xdr_mddb_usercmd_t
-version SUNWprivate_1.1
-end
-
-function xdr_mddb_userrec_t
-version SUNWprivate_1.1
-end
-
-function xdr_mddrivename_t
-version SUNWprivate_1.1
-end
-
-function xdr_mddrivenamelist_t
-version SUNWprivate_1.1
-end
-
-function xdr_mdgeom_t
-version SUNWprivate_1.1
-end
-
-function xdr_mdhspname_t
-version SUNWprivate_1.1
-end
-
-function xdr_mdhspnamelist_t
-version SUNWprivate_1.1
-end
-
-function xdr_mdname_t
-version SUNWprivate_1.1
-end
-
-function xdr_mdnamelist_t
-version SUNWprivate_1.1
-end
-
-function xdr_mdnmtype_t
-version SUNWprivate_1.1
-end
-
-function xdr_mdpart_t
-version SUNWprivate_1.1
-end
-
-function xdr_mdsetname_t
-version SUNWprivate_1.1
-end
-
-function xdr_mdsetnamelist_t
-version SUNWprivate_1.1
-end
-
-function xdr_mdsidenames_t
-version SUNWprivate_1.1
-end
-
-function xdr_mdvtoc_t
-version SUNWprivate_1.1
-end
-
-function xdr_minor_or_hsp_t
-version SUNWprivate_1.1
-end
-
-function xdr_mm_params_t
-version SUNWprivate_1.1
-end
-
-function xdr_mm_pass_num_t
-version SUNWprivate_1.1
-end
-
-function xdr_mm_rd_opt_t
-version SUNWprivate_1.1
-end
-
-function xdr_mm_wr_opt_t
-version SUNWprivate_1.1
-end
-
-function xdr_mr_params_t
-version SUNWprivate_1.1
-end
-
-function xdr_ms_params_t
-version SUNWprivate_1.1
-end
-
-function xdr_mt_debug_t
-version SUNWprivate_1.1
-end
-
-function xdr_mt_flags_t
-version SUNWprivate_1.1
-end
-
-function xdr_mt_l_error_t
-version SUNWprivate_1.1
-end
-
-function xdr_rcs_flags_t
-version SUNWprivate_1.1
-end
-
-function xdr_rcs_state_t
-version SUNWprivate_1.1
-end
-
-function xdr_replica_flags_t
-version SUNWprivate_1.1
-end
-
-function xdr_rus_state_t
-version SUNWprivate_1.1
-end
-
-function xdr_sm_flags_t
-version SUNWprivate_1.1
-end
-
-function xdr_sm_state_t
-version SUNWprivate_1.1
-end
-
-function xdr_unit_t
-version SUNWprivate_1.1
-end
-
-function xdr_clnt_stat
-version SUNWprivate_1.1
-end
-
-function xdr_md_timeval32_t
-version SUNWprivate_1.1
-end
-
-function xdr_daddr_t
-version SUNWprivate_1.1
-end
-
-function xdr_md_dev64_t
-version SUNWprivate_1.1
-end
-
-function xdr_dev_t
-version SUNWprivate_1.1
-end
-
-function xdr_md_alias_ip_t
-version SUNWprivate_1.1
-end
-
-function xdr_md_alias_nm_t
-version SUNWprivate_1.1
-end
-
-function xdr_md_h_arr_t
-version SUNWprivate_1.1
-end
-
-function xdr_md_h_t
-version SUNWprivate_1.1
-end
-
-function xdr_md_hi_arr_t
-version SUNWprivate_1.1
-end
-
-function xdr_md_hi_t
-version SUNWprivate_1.1
-end
-
-function xdr_md_node_nm_arr_t
-version SUNWprivate_1.1
-end
-
-function xdr_md_node_nm_t
-version SUNWprivate_1.1
-end
-
-function xdr_md_set_nm_t
-version SUNWprivate_1.1
-end
-
-function xdr_mddb_recid_t
-version SUNWprivate_1.1
-end
-
-function xdr_mdkey_t
-version SUNWprivate_1.1
-end
-
-function xdr_minor_t
-version SUNWprivate_1.1
-end
-
-function xdr_off_t
-version SUNWprivate_1.1
-end
-
-function xdr_set_t
-version SUNWprivate_1.1
-end
-
-function xdr_side_t
-version SUNWprivate_1.1
-end
-
-function xdr_size_t
-version SUNWprivate_1.1
-end
-
-function xdr_timeval
-version SUNWprivate_1.1
-end
-
-function md_in_daemon
-version SUNWprivate_1.1
-end
-
-function mdrpc_add_drv_sidenms_1
-version SUNWprivate_1.1
-end
-
-function mdrpc_adddrvs_1
-version SUNWprivate_1.1
-end
-
-function mdrpc_addhosts_1
-version SUNWprivate_1.1
-end
-
-function mdrpc_createset_1
-version SUNWprivate_1.1
-end
-
-function mdrpc_del_drv_sidenms_1
-version SUNWprivate_1.1
-end
-
-function mdrpc_deldrvs_1
-version SUNWprivate_1.1
-end
-
-function mdrpc_delhosts_1
-version SUNWprivate_1.1
-end
-
-function mdrpc_delset_1
-version SUNWprivate_1.1
-end
-
-function mdrpc_drvused_1
-version SUNWprivate_1.1
-end
-
-function mdrpc_flush_internal_1
-version SUNWprivate_1.1
-end
-
-function mdrpc_getset_1
-version SUNWprivate_1.1
-end
-
-function mdrpc_gtimeout_1
-version SUNWprivate_1.1
-end
-
-function mdrpc_hostname_1
-version SUNWprivate_1.1
-end
-
-function mdrpc_lock_set_1
-version SUNWprivate_1.1
-end
-
-function mdrpc_nullproc_1
-version SUNWprivate_1.1
-end
-
-function mdrpc_ownset_1
-version SUNWprivate_1.1
-end
-
-function mdrpc_setnameok_1
-version SUNWprivate_1.1
-end
-
-function mdrpc_setnumbusy_1
-version SUNWprivate_1.1
-end
-
-function mdrpc_stimeout_1
-version SUNWprivate_1.1
-end
-
-function mdrpc_unlock_set_1
-version SUNWprivate_1.1
-end
-
-function mdrpc_upd_dr_dbinfo_1
-version SUNWprivate_1.1
-end
-
-function mdrpc_upd_dr_flags_1
-version SUNWprivate_1.1
-end
-
-function mdrpc_upd_sr_flags_1
-version SUNWprivate_1.1
-end
-
-function mdrpc_updmeds_1
-version SUNWprivate_1.1
-end
-
-function mdrpc_add_drv_sidenms_2
-version SUNWprivate_1.1
-end
-
-function mdrpc_adddrvs_2
-version SUNWprivate_1.1
-end
-
-function mdrpc_addhosts_2
-version SUNWprivate_1.1
-end
-
-function mdrpc_createset_2
-version SUNWprivate_1.1
-end
-
-function mdrpc_del_drv_sidenms_2
-version SUNWprivate_1.1
-end
-
-function mdrpc_deldrvs_2
-version SUNWprivate_1.1
-end
-
-function mdrpc_delhosts_2
-version SUNWprivate_1.1
-end
-
-function mdrpc_delset_2
-version SUNWprivate_1.1
-end
-
-function mdrpc_devinfo_2
-version SUNWprivate_1.1
-end
-
-function mdrpc_drvused_2
-version SUNWprivate_1.1
-end
-
-function mdrpc_flush_internal_2
-version SUNWprivate_1.1
-end
-
-function mdrpc_getset_2
-version SUNWprivate_1.1
-end
-
-function mdrpc_mngetset_2
-version SUNWprivate_1.1
-end
-
-function mdrpc_gtimeout_2
-version SUNWprivate_1.1
-end
-
-function mdrpc_hostname_2
-version SUNWprivate_1.1
-end
-
-function mdrpc_lock_set_2
-version SUNWprivate_1.1
-end
-
-function mdrpc_nullproc_2
-version SUNWprivate_1.1
-end
-
-function mdrpc_ownset_2
-version SUNWprivate_1.1
-end
-
-function mdrpc_setnameok_2
-version SUNWprivate_1.1
-end
-
-function mdrpc_setnumbusy_2
-version SUNWprivate_1.1
-end
-
-function mdrpc_stimeout_2
-version SUNWprivate_1.1
-end
-
-function mdrpc_unlock_set_2
-version SUNWprivate_1.1
-end
-
-function mdrpc_upd_dr_dbinfo_2
-version SUNWprivate_1.1
-end
-
-function mdrpc_upd_dr_flags_2
-version SUNWprivate_1.1
-end
-
-function mdrpc_upd_sr_flags_2
-version SUNWprivate_1.1
-end
-
-function mdrpc_upd_nr_flags_2
-version SUNWprivate_1.1
-end
-
-function mdrpc_updmeds_2
-version SUNWprivate_1.1
-end
-
-function mdrpc_mncreateset_2
-version SUNWprivate_1.1
-end
-
-function mdrpc_mnsetmaster_2
-version SUNWprivate_1.1
-end
-
-function mdrpc_mn_mirror_resync_all_2
-version SUNWprivate_1.1
-end
-
-function mdrpc_mn_sp_update_abr_2
-version SUNWprivate_1.1
-end
-
-function xdr_mdrpc_bool_res
-version SUNWprivate_1.1
-end
-
-function xdr_mdrpc_createset_args
-version SUNWprivate_1.1
-end
-
-function xdr_mdrpc_createset_2_args
-version SUNWprivate_1.1
-end
-
-function xdr_mdrpc_mncreateset_2_args
-version SUNWprivate_1.1
-end
-
-function xdr_mdrpc_devinfo_args
-version SUNWprivate_1.1
-end
-
-function xdr_mdrpc_devidstr_args
-version SUNWprivate_1.1
-end
-
-function xdr_mdrpc_devid_name_2_args
-version SUNWprivate_1.1
-end
-
-function xdr_mdrpc_devinfo_2_args
-version SUNWprivate_1.1
-end
-
-function xdr_mdrpc_devinfo_res
-version SUNWprivate_1.1
-end
-
-function xdr_mdrpc_devinfo_2_res
-version SUNWprivate_1.1
-end
-
-function xdr_mdrpc_devid_args
-version SUNWprivate_1.1
-end
-
-function xdr_mdrpc_devid_2_args
-version SUNWprivate_1.1
-end
-
-function xdr_mdrpc_devid_res
-version SUNWprivate_1.1
-end
-
-function xdr_mdrpc_drives_args
-version SUNWprivate_1.1
-end
-
-function xdr_mdrpc_drives_2_args
-version SUNWprivate_1.1
-end
-
-function xdr_mdrpc_drv_sidenm_args
-version SUNWprivate_1.1
-end
-
-function xdr_mdrpc_drv_sidenm_2_args
-version SUNWprivate_1.1
-end
-
-function xdr_mdrpc_drvused_args
-version SUNWprivate_1.1
-end
-
-function xdr_mdrpc_drvused_2_args
-version SUNWprivate_1.1
-end
-
-function xdr_mdrpc_generic_res
-version SUNWprivate_1.1
-end
-
-function xdr_mdrpc_getset_args
-version SUNWprivate_1.1
-end
-
-function xdr_mdrpc_getset_2_args
-version SUNWprivate_1.1
-end
-
-function xdr_mdrpc_getset_res
-version SUNWprivate_1.1
-end
-
-function xdr_mdrpc_mngetset_res
-version SUNWprivate_1.1
-end
-
-function xdr_mdrpc_gtimeout_res
-version SUNWprivate_1.1
-end
-
-function xdr_mdrpc_host_args
-version SUNWprivate_1.1
-end
-
-function xdr_mdrpc_host_2_args
-version SUNWprivate_1.1
-end
-
-function xdr_mdrpc_hostname_res
-version SUNWprivate_1.1
-end
-
-function xdr_mdrpc_null_args
-version SUNWprivate_1.1
-end
-
-function xdr_mdrpc_setlock_res
-version SUNWprivate_1.1
-end
-
-function xdr_mdrpc_setno_args
-version SUNWprivate_1.1
-end
-
-function xdr_mdrpc_setno_2_args
-version SUNWprivate_1.1
-end
-
-function xdr_mdrpc_sp_args
-version SUNWprivate_1.1
-end
-
-function xdr_mdrpc_sp_2_args
-version SUNWprivate_1.1
-end
-
-function xdr_mdrpc_stimeout_args
-version SUNWprivate_1.1
-end
-
-function xdr_mdrpc_stimeout_2_args
-version SUNWprivate_1.1
-end
-
-function xdr_mdrpc_upd_dr_flags_args
-version SUNWprivate_1.1
-end
-
-function xdr_mdrpc_upd_dr_flags_2_args
-version SUNWprivate_1.1
-end
-
-function xdr_mdrpc_upd_sr_flags_args
-version SUNWprivate_1.1
-end
-
-function xdr_mdrpc_upd_sr_flags_2_args
-version SUNWprivate_1.1
-end
-
-function xdr_mdrpc_upd_nr_flags_2_args
-version SUNWprivate_1.1
-end
-
-function xdr_mdrpc_updmeds_args
-version SUNWprivate_1.1
-end
-
-function xdr_mdrpc_updmeds_2_args
-version SUNWprivate_1.1
-end
-
-function xdr_mdrpc_mnsetmaster_2_args
-version SUNWprivate_1.1
-end
-
-function xdr_stringarray
-version SUNWprivate_1.1
-end
-
-function med_get_data_1
-version SUNWprivate_1.1
-end
-
-function med_get_rec_1
-version SUNWprivate_1.1
-end
-
-function med_hostname_1
-version SUNWprivate_1.1
-end
-
-function med_null_1
-version SUNWprivate_1.1
-end
-
-function med_upd_data_1
-version SUNWprivate_1.1
-end
-
-function med_upd_rec_1
-version SUNWprivate_1.1
-end
-
-function md_med_def_timeout
-version SUNWprivate_1.1
-end
-
-function md_med_pmap_timeout
-version SUNWprivate_1.1
-end
-
-function med_null_err
-version SUNWprivate_1.1
-end
-
-function xdr_md_med_errno_t
-version SUNWprivate_1.1
-end
-
-function xdr_med_args_t
-version SUNWprivate_1.1
-end
-
-function xdr_med_data_t
-version SUNWprivate_1.1
-end
-
-function xdr_med_err_t
-version SUNWprivate_1.1
-end
-
-function xdr_med_get_data_res_t
-version SUNWprivate_1.1
-end
-
-function xdr_med_get_rec_res_t
-version SUNWprivate_1.1
-end
-
-function xdr_med_hnm_res_t
-version SUNWprivate_1.1
-end
-
-function xdr_med_med_t
-version SUNWprivate_1.1
-end
-
-function xdr_med_rec_t
-version SUNWprivate_1.1
-end
-
-function xdr_med_res_t
-version SUNWprivate_1.1
-end
-
-function xdr_med_upd_data_args_t
-version SUNWprivate_1.1
-end
-
-function xdr_med_upd_rec_args_t
-version SUNWprivate_1.1
-end
-
-function mhd_list_1
-version SUNWprivate_1.1
-end
-
-function mhd_relown_1
-version SUNWprivate_1.1
-end
-
-function mhd_status_1
-version SUNWprivate_1.1
-end
-
-function mhd_tkown_1
-version SUNWprivate_1.1
-end
-
-function mhd_null_error
-version SUNWprivate_1.1
-end
-
-function xdr_mhd_drive_status_t
-version SUNWprivate_1.1
-end
-
-function xdr_mhd_drivename_t
-version SUNWprivate_1.1
-end
-
-function xdr_mhd_error_t
-version SUNWprivate_1.1
-end
-
-function xdr_mhd_ff_mode_t
-version SUNWprivate_1.1
-end
-
-function xdr_mhd_list_args_t
-version SUNWprivate_1.1
-end
-
-function xdr_mhd_list_res_t
-version SUNWprivate_1.1
-end
-
-function xdr_mhd_opts_t
-version SUNWprivate_1.1
-end
-
-function xdr_mhd_relown_args_t
-version SUNWprivate_1.1
-end
-
-function xdr_mhd_set_t
-version SUNWprivate_1.1
-end
-
-function xdr_mhd_status_args_t
-version SUNWprivate_1.1
-end
-
-function xdr_mhd_status_res_t
-version SUNWprivate_1.1
-end
-
-function xdr_mhd_tkown_args_t
-version SUNWprivate_1.1
-end
-
-function xdr_mhd_cinfo_t
-version SUNWprivate_1.1
-end
-
-function xdr_mhd_ctlrtype_t
-version SUNWprivate_1.1
-end
-
-function xdr_mhd_did_flags_t
-version SUNWprivate_1.1
-end
-
-function xdr_mhd_drive_id_t
-version SUNWprivate_1.1
-end
-
-function xdr_mhd_drive_info_list_t
-version SUNWprivate_1.1
-end
-
-function xdr_mhd_drive_info_t
-version SUNWprivate_1.1
-end
-
-function xdr_mhd_mhiargs_t
-version SUNWprivate_1.1
-end
-
-function xdr_mhd_serial_t
-version SUNWprivate_1.1
-end
-
-function xdr_mhd_mhioctkown_t
-version SUNWprivate_1.1
-end
-
-function xdr_md_mn_msg_t
-version SUNWprivate_1.1
-end
-
-function xdr_md_mn_nodeid_t
-version SUNWprivate_1.1
-end
-
-function meta_get_current_root
-version SUNWprivate_1.1
-end
-
-function meta_get_current_root_dev
-version SUNWprivate_1.1
-end
-
-function meta_gettimeofday
-version SUNWprivate_1.1
-end
-
-function meta_replicaslice
-version SUNWprivate_1.1
-end
-
-function meta_get_tstate
-version SUNWprivate_1.1
-end
-
-function meta_setmdvtoc
-version SUNWprivate_1.1
-end
-
-function meta_check_devicesize
-version SUNWprivate_1.1
-end
-
-function clnt_devid
-version SUNWprivate_1.1
-end
-
-function meta_number_to_string
-version SUNWprivate_1.1
-end
-
-function meta_repartition_drive
-version SUNWprivate_1.1
-end
-
-function mdmn_send_message
-version SUNWprivate_1.1
-end
-
-function copy_result
-version SUNWprivate_1.1
-end
-
-function free_result
-version SUNWprivate_1.1
-end
-
-function copy_msg
-version SUNWprivate_1.1
-end
-
-function copy_msg_1
-version SUNWprivate_1.1
-end
-
-function free_msg
-version SUNWprivate_1.1
-end
-
-function mdmn_get_handler
-version SUNWprivate_1.1
-end
-
-function mdmn_get_submessage_generator
-version SUNWprivate_1.1
-end
-
-function mdmn_get_message_class
-version SUNWprivate_1.1
-end
-
-function mdmn_get_timeout
-version SUNWprivate_1.1
-end
-
-function meta_read_nodelist
-version SUNWprivate_1.1
-end
-
-function meta_write_nodelist
-version SUNWprivate_1.1
-end
-
-function meta_free_nodelist
-version SUNWprivate_1.1
-end
-
-function meta_is_mn_set
-version SUNWprivate_1.1
-end
-
-function meta_ping_mnset
-version SUNWprivate_1.1
-end
-
-function meta_mn_send_command
-version SUNWprivate_1.1
-end
-
-function meta_mn_send_suspend_writes
-version SUNWprivate_1.1
-end
-
-function meta_mn_send_setsync
-version SUNWprivate_1.1
-end
-
-function meta_mn_send_metaclear_command
-version SUNWprivate_1.1
-end
-
-function meta_mn_send_resync_starting
-version SUNWprivate_1.1
-end
-
-function meta_mn_change_owner
-version SUNWprivate_1.1
-end
-
-function meta_is_mn_name
-version SUNWprivate_1.1
-end
-
-function meta_reconfig_choose_master
-version SUNWprivate_1.1
-end
-
-function meta_mnsync_user_records
-version SUNWprivate_1.1
-end
-
-function meta_mnsync_diskset_mddbs
-version SUNWprivate_1.1
-end
-
-function meta_mnjoin_all
-version SUNWprivate_1.1
-end
-
-function mdmn_create_msgid
-version SUNWprivate_1.1
-end
-
-function mdmn_suspend
-version SUNWprivate_1.1
-end
-
-function mdmn_resume
-version SUNWprivate_1.1
-end
-
-function mdmn_reinit_set
-version SUNWprivate_1.1
-end
-
-function mdmn_msgtype_lock
-version SUNWprivate_1.1
-end
-
-function mdmn_abort
-version SUNWprivate_1.1
-end
-
-function mdmn_send_1
-version SUNWprivate_1.1
-end
-
-function mdmn_work_1
-version SUNWprivate_1.1
-end
-
-function mdmn_wakeup_initiator_1
-version SUNWprivate_1.1
-end
-
-function mdmn_wakeup_master_1
-version SUNWprivate_1.1
-end
-
-function mdmn_comm_lock_1
-version SUNWprivate_1.1
-end
-
-function mdmn_comm_unlock_1
-version SUNWprivate_1.1
-end
-
-function mdmn_comm_suspend_1
-version SUNWprivate_1.1
-end
-
-function mdmn_comm_resume_1
-version SUNWprivate_1.1
-end
-
-function mdmn_comm_reinit_set_1
-version SUNWprivate_1.1
-end
-
-function mdmn_comm_msglock_1
-version SUNWprivate_1.1
-end
-
-function clnt_mdcommdctl
-version SUNWprivate_1.1
-end
-
-function mdrpc_mdcommdctl_2
-version SUNWprivate_1.1
-end
-
-function clnt_mn_is_stale
-version SUNWprivate_1.1
-end
-
-function mdrpc_mn_is_stale_2
-version SUNWprivate_1.1
-end
-
-function clnt_clr_mnsetlock
-version SUNWprivate_1.1
-end
-
-function mdrpc_clr_mnsetlock_2
-version SUNWprivate_1.1
-end
-
-function xdr_mdrpc_sp_flags_args
-version SUNWprivate_1.1
-end
-
-function xdr_mdrpc_sp_flags_2_args
-version SUNWprivate_1.1
-end
-
-function xdr_mdrpc_mdcommdctl_args
-version SUNWprivate_1.1
-end
-
-function xdr_mdrpc_mdcommdctl_2_args
-version SUNWprivate_1.1
-end
-
-function xdr_mdrpc_getdrivedesc_res
-version SUNWprivate_1.1
-end
-
-function dd_list_dup
-version SUNWprivate_1.1
-end
-
-function mdmn_allocate_changelog
-version SUNWprivate_1.1
-end
-
-function mdmn_reset_changelog
-version SUNWprivate_1.1
-end
-
-function mdmn_log_msg
-version SUNWprivate_1.1
-end
-
-function mdmn_unlog_msg
-version SUNWprivate_1.1
-end
-
-function mdmn_snarf_changelog
-version SUNWprivate_1.1
-end
-
-function mdmn_get_changelogrec
-version SUNWprivate_1.1
-end
-
-function clnt_reset_mirror_owner
-version SUNWprivate_1.1
-end
-
-function mdrpc_reset_mirror_owner_2
-version SUNWprivate_1.1
-end
-
-function clnt_mn_susp_res_io
-version SUNWprivate_1.1
-end
-
-function mdrpc_mn_susp_res_io_2
-version SUNWprivate_1.1
-end
-
-function xdr_mdrpc_mn_susp_res_io_args
-version SUNWprivate_1.1
-end
-
-function xdr_mdrpc_mn_susp_res_io_2_args
-version SUNWprivate_1.1
-end
-
-function xdr_mdrpc_nodeid_args
-version SUNWprivate_1.1
-end
-
-function xdr_mdrpc_nodeid_2_args
-version SUNWprivate_1.1
-end
-
-function clnt_imp_adddrvs
-version SUNWprivate_1.1
-end
-
-function mdrpc_imp_adddrvs_2
-version SUNWprivate_1.1
-end
-
-function meta_is_member
-version SUNWprivate_1.1
-end
-
-function meta_mn_singlenode
-version SUNWprivate_1.1
-end
-
-function meta_sp_setstatus
-version SUNWprivate_1.1
-end
-
-function xdr_mp_unit_t
-version SUNWprivate_1.1
-end
-
-function xdr_md_set_params_t
-version SUNWprivate_1.1
-end
-
-function meta_fixdevid
-version SUNWprivate_1.1
-end
-
-function meta_upd_ctdnames
-version SUNWprivate_1.1
-end
-
-function meta_update_devtree
-version SUNWprivate_1.1
-end
-
-function pathname_reload
-version SUNWprivate_1.1
-end
-
-function meta_deviceid_to_nmlist
-version SUNWprivate_1.1
-end
-
-function meta_mn_send_get_tstate
-version SUNWprivate_1.1
-end
-
-function meta_client_create_retry
-version SUNWprivate_1.1
-end
-
-function meta_client_create
-version SUNWprivate_1.1
-end
-
-function read_master_block
-version SUNWprivate_1.1
-end
-
-function pick_good_disk
-version SUNWprivate_1.1
-end
-
-function add_self_name
-version SUNWprivate_1.1
-end
-
-function del_self_name
-version SUNWprivate_1.1
-end
diff --git a/usr/src/lib/lvm/libmeta/spec/sparc/Makefile b/usr/src/lib/lvm/libmeta/spec/sparc/Makefile
deleted file mode 100644
index 8d93c87287..0000000000
--- a/usr/src/lib/lvm/libmeta/spec/sparc/Makefile
+++ /dev/null
@@ -1,47 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 2000-2001 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/lvm/libmeta/spec/sparc/Makefile
-
-.KEEP_STATE:
-
-# To enable apptrace, comment out the following line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-sparc_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB)
diff --git a/usr/src/lib/lvm/libmeta/spec/sparcv9/Makefile b/usr/src/lib/lvm/libmeta/spec/sparcv9/Makefile
deleted file mode 100644
index 5a7be1d65b..0000000000
--- a/usr/src/lib/lvm/libmeta/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,47 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 2000-2001 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/lvm/libmeta/spec/sparcv9/Makefile
-
-.KEEP_STATE:
-
-# To enable apptrace, comment out the following line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-sparc_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB64)
diff --git a/usr/src/lib/lvm/libmeta/spec/versions b/usr/src/lib/lvm/libmeta/spec/versions
deleted file mode 100644
index 523cb927d5..0000000000
--- a/usr/src/lib/lvm/libmeta/spec/versions
+++ /dev/null
@@ -1,31 +0,0 @@
-#pragma ident "%Z%%M% %I% %E% SMI"
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-i386 {
- SUNWprivate_1.1;
-}
-sparc {
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/lvm/libpreen/Makefile b/usr/src/lib/lvm/libpreen/Makefile
index ca1bb50937..ff99b0c5c4 100644
--- a/usr/src/lib/lvm/libpreen/Makefile
+++ b/usr/src/lib/lvm/libpreen/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,8 +19,8 @@
# CDDL HEADER END
#
#
-# Copyright (c) 1998-2001 by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
@@ -39,11 +38,9 @@ debug := TARGET= debug
.KEEP_STATE:
-all clean clobber debug install: spec .WAIT $(SUBDIRS)
+all clean clobber debug install lint: $(SUBDIRS)
-lint: $(SUBDIRS)
-
-spec $(SUBDIRS): FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
diff --git a/usr/src/lib/lvm/libpreen/Makefile.com b/usr/src/lib/lvm/libpreen/Makefile.com
index fdfee4627d..8e15d6d753 100644
--- a/usr/src/lib/lvm/libpreen/Makefile.com
+++ b/usr/src/lib/lvm/libpreen/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,7 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
@@ -38,9 +37,6 @@ CPPFLAGS += -D_FILE_OFFSET_BITS=64
LDLIBS += -lmeta -lc
ZDEFS=
-MAPDIR= $(SRC)/lib/lvm/libpreen/spec/$(TRANSMACH)
-SPECMAPFILE= $(MAPDIR)/mapfile
-
.KEEP_STATE:
all: $(LIBS)
diff --git a/usr/src/lib/lvm/libpreen/common/mapfile-vers b/usr/src/lib/lvm/libpreen/common/mapfile-vers
new file mode 100644
index 0000000000..4273789ce2
--- /dev/null
+++ b/usr/src/lib/lvm/libpreen/common/mapfile-vers
@@ -0,0 +1,33 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNWprivate_1.1 {
+ global:
+ preen_build_devs;
+ local:
+ *;
+};
diff --git a/usr/src/lib/lvm/libpreen/spec/Makefile b/usr/src/lib/lvm/libpreen/spec/Makefile
deleted file mode 100644
index 4f28d95836..0000000000
--- a/usr/src/lib/lvm/libpreen/spec/Makefile
+++ /dev/null
@@ -1,29 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 2000 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/lvm/libpreen/spec/Makefile
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/lvm/libpreen/spec/Makefile.targ b/usr/src/lib/lvm/libpreen/spec/Makefile.targ
deleted file mode 100644
index 582a2c4653..0000000000
--- a/usr/src/lib/lvm/libpreen/spec/Makefile.targ
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 2000 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/lvm/libpreen/spec/Makefile.targ
-
-LIBRARY = libpreen.a
-VERS = .1
-
-OBJECTS = preen.o
-
-TRANSCPP =
-
-SPECCPP = -I.. -I../../inc
diff --git a/usr/src/lib/lvm/libpreen/spec/amd64/Makefile b/usr/src/lib/lvm/libpreen/spec/amd64/Makefile
deleted file mode 100644
index c7d89e007c..0000000000
--- a/usr/src/lib/lvm/libpreen/spec/amd64/Makefile
+++ /dev/null
@@ -1,46 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-# To enable apptrace, comment out the following line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#amd64_C_PICFLAGS = $(amd64_C_BIGPICFLAGS)
-
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB64)
diff --git a/usr/src/lib/lvm/libpreen/spec/i386/Makefile b/usr/src/lib/lvm/libpreen/spec/i386/Makefile
deleted file mode 100644
index a50dd5cd36..0000000000
--- a/usr/src/lib/lvm/libpreen/spec/i386/Makefile
+++ /dev/null
@@ -1,47 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 2000-2001 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/lvm/libpreen/spec/i386/Makefile
-
-.KEEP_STATE:
-
-# To enable apptrace, comment out the following line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#i386_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB)
diff --git a/usr/src/lib/lvm/libpreen/spec/preen.spec b/usr/src/lib/lvm/libpreen/spec/preen.spec
deleted file mode 100644
index 839c0fcafe..0000000000
--- a/usr/src/lib/lvm/libpreen/spec/preen.spec
+++ /dev/null
@@ -1,31 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/lvm/libpreen/spec/preen.spec
-
-function preen_build_devs
-version SUNWprivate_1.1
-end
diff --git a/usr/src/lib/lvm/libpreen/spec/sparc/Makefile b/usr/src/lib/lvm/libpreen/spec/sparc/Makefile
deleted file mode 100644
index f3d039672f..0000000000
--- a/usr/src/lib/lvm/libpreen/spec/sparc/Makefile
+++ /dev/null
@@ -1,47 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 2000-2001 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/lvm/libpreen/spec/sparc/Makefile
-
-.KEEP_STATE:
-
-# To enable apptrace, comment out the following line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-sparc_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB)
diff --git a/usr/src/lib/lvm/libpreen/spec/sparcv9/Makefile b/usr/src/lib/lvm/libpreen/spec/sparcv9/Makefile
deleted file mode 100644
index 520e996ffb..0000000000
--- a/usr/src/lib/lvm/libpreen/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,47 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 2000-2001 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/lvm/libpreen/spec/sparcv9/Makefile
-
-.KEEP_STATE:
-
-# To enable apptrace, comment out the following line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-sparc_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB64)
diff --git a/usr/src/lib/lvm/libpreen/spec/versions b/usr/src/lib/lvm/libpreen/spec/versions
deleted file mode 100644
index 523cb927d5..0000000000
--- a/usr/src/lib/lvm/libpreen/spec/versions
+++ /dev/null
@@ -1,31 +0,0 @@
-#pragma ident "%Z%%M% %I% %E% SMI"
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-i386 {
- SUNWprivate_1.1;
-}
-sparc {
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/lvm/libsvm/Makefile b/usr/src/lib/lvm/libsvm/Makefile
index 1917939812..b849f639bf 100644
--- a/usr/src/lib/lvm/libsvm/Makefile
+++ b/usr/src/lib/lvm/libsvm/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,8 +19,8 @@
# CDDL HEADER END
#
#
-# Copyright (c) 2001 by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
@@ -42,15 +41,13 @@ debug := TARGET= debug
.KEEP_STATE:
-all clean clobber debug install: spec .WAIT $(SUBDIRS)
+all clean clobber debug install lint: $(SUBDIRS)
install_h: $(ROOTHDRS)
check: $(CHECKHDRS)
-lint: $(SUBDIRS)
-
-spec $(SUBDIRS): FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
diff --git a/usr/src/lib/lvm/libsvm/Makefile.com b/usr/src/lib/lvm/libsvm/Makefile.com
index 3a87715a12..7df4a4b39f 100644
--- a/usr/src/lib/lvm/libsvm/Makefile.com
+++ b/usr/src/lib/lvm/libsvm/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,7 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
@@ -54,9 +53,6 @@ CPPFLAGS += -D_FILE_OFFSET_BITS=64
CPPFLAGS += -I$(SRC)/lib/lvm/libsvm/common/hdrs
ZDEFS =
-MAPDIR= $(SRC)/lib/lvm/libsvm/spec/$(TRANSMACH)
-SPECMAPFILE= $(MAPDIR)/mapfile
-
.KEEP_STATE:
all: $(LIBS)
diff --git a/usr/src/lib/lvm/libsvm/common/mapfile-vers b/usr/src/lib/lvm/libsvm/common/mapfile-vers
new file mode 100644
index 0000000000..50bde1cfdd
--- /dev/null
+++ b/usr/src/lib/lvm/libsvm/common/mapfile-vers
@@ -0,0 +1,39 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNWprivate_1.1 {
+ global:
+ svm_alloc;
+ svm_check;
+ svm_free;
+ svm_get_components;
+ svm_is_md;
+ svm_start;
+ svm_stop;
+ local:
+ *;
+};
diff --git a/usr/src/lib/lvm/libsvm/spec/Makefile b/usr/src/lib/lvm/libsvm/spec/Makefile
deleted file mode 100644
index 7256a09a20..0000000000
--- a/usr/src/lib/lvm/libsvm/spec/Makefile
+++ /dev/null
@@ -1,28 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 2001 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/lvm/libsvm/spec/Makefile.targ b/usr/src/lib/lvm/libsvm/spec/Makefile.targ
deleted file mode 100644
index 3a5ed0eb26..0000000000
--- a/usr/src/lib/lvm/libsvm/spec/Makefile.targ
+++ /dev/null
@@ -1,41 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 2001 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-
-LIBRARY = libsvm.a
-VERS = .1
-
-OBJECTS = svm.o
-
-TRANSCPP =
-
-SPECCPP = -I.. -I../../inc
-
-#
-# usr/snadm/lib/abi targets
-#
-SVMLIB_ABILIB= $(SNADMINLIB_ABI)/$(ABILIB)
-SNADMINLIB_ABI=$(ROOT)/usr/snadm/lib/abi
diff --git a/usr/src/lib/lvm/libsvm/spec/amd64/Makefile b/usr/src/lib/lvm/libsvm/spec/amd64/Makefile
deleted file mode 100644
index a3a067f7a0..0000000000
--- a/usr/src/lib/lvm/libsvm/spec/amd64/Makefile
+++ /dev/null
@@ -1,50 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-# To enable apptrace, comment out the following line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#amd64_C_PICFLAGS = $(amd64_C_BIGPICFLAGS)
-
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(SPECMAP) $(ABILIB)
-$(DISABLE_APPTRACE) $(INS) -s -d -m $(DIRMODE) -u $(OWNER) \
-$(DISABLE_APPTRACE) -g $(GROUP) $(SNADMINLIB_ABI)/amd64
-$(DISABLE_APPTRACE) $(INS) -s -m $(FILEMODE) -u $(OWNER) \
-$(DISABLE_APPTRACE) -g $(GROUP) -f $(SNADMINLIB_ABI)/amd64 $(ABILIB)
diff --git a/usr/src/lib/lvm/libsvm/spec/i386/Makefile b/usr/src/lib/lvm/libsvm/spec/i386/Makefile
deleted file mode 100644
index 23807a39c5..0000000000
--- a/usr/src/lib/lvm/libsvm/spec/i386/Makefile
+++ /dev/null
@@ -1,53 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright 2001-2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-
-.KEEP_STATE:
-
-# To enable apptrace, comment out the following line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#i386_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-ROOTABILIB= $(SNADMINLIB_ABI)/$(ABILIB)
-
-$(ROOTABILIB): $(SNADMINLIB_ABI) $(SPECMAP)
-
-$(ROOTABILIB): $(ABILIB)
- $(INS.file)
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB)
diff --git a/usr/src/lib/lvm/libsvm/spec/sparc/Makefile b/usr/src/lib/lvm/libsvm/spec/sparc/Makefile
deleted file mode 100644
index 19aecc452c..0000000000
--- a/usr/src/lib/lvm/libsvm/spec/sparc/Makefile
+++ /dev/null
@@ -1,50 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 2001 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-
-.KEEP_STATE:
-
-# To enable apptrace, comment out the following line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#sparc_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(SPECMAP) $(ABILIB)
-$(DISABLE_APPTRACE) $(INS) -s -d -m $(DIRMODE) -u $(OWNER) \
-$(DISABLE_APPTRACE) -g $(GROUP) $(SNADMINLIB_ABI)
-$(DISABLE_APPTRACE) $(INS) -s -m $(FILEMODE) -u $(OWNER) \
-$(DISABLE_APPTRACE) -g $(GROUP) -f $(SNADMINLIB_ABI) $(ABILIB)
diff --git a/usr/src/lib/lvm/libsvm/spec/sparcv9/Makefile b/usr/src/lib/lvm/libsvm/spec/sparcv9/Makefile
deleted file mode 100644
index 704f35f988..0000000000
--- a/usr/src/lib/lvm/libsvm/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,50 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 2001 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-
-.KEEP_STATE:
-
-# To enable apptrace, comment out the following line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#sparc_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(SPECMAP) $(ABILIB)
-$(DISABLE_APPTRACE) $(INS) -s -d -m $(DIRMODE) -u $(OWNER) \
-$(DISABLE_APPTRACE) -g $(GROUP) $(SNADMINLIB_ABI)/sparcv9
-$(DISABLE_APPTRACE) $(INS) -s -m $(FILEMODE) -u $(OWNER) \
-$(DISABLE_APPTRACE) -g $(GROUP) -f $(SNADMINLIB_ABI)/sparcv9 $(ABILIB)
diff --git a/usr/src/lib/lvm/libsvm/spec/svm.spec b/usr/src/lib/lvm/libsvm/spec/svm.spec
deleted file mode 100644
index ae381eaae5..0000000000
--- a/usr/src/lib/lvm/libsvm/spec/svm.spec
+++ /dev/null
@@ -1,55 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-
-function svm_check
-version SUNWprivate_1.1
-end
-
-function svm_start
-version SUNWprivate_1.1
-end
-
-function svm_stop
-version SUNWprivate_1.1
-end
-
-function svm_is_md
-version SUNWprivate_1.1
-end
-
-function svm_get_components
-version SUNWprivate_1.1
-end
-
-function svm_alloc
-version SUNWprivate_1.1
-end
-
-function svm_free
-version SUNWprivate_1.1
-end
-
diff --git a/usr/src/lib/lvm/libsvm/spec/versions b/usr/src/lib/lvm/libsvm/spec/versions
deleted file mode 100644
index 523cb927d5..0000000000
--- a/usr/src/lib/lvm/libsvm/spec/versions
+++ /dev/null
@@ -1,31 +0,0 @@
-#pragma ident "%Z%%M% %I% %E% SMI"
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-i386 {
- SUNWprivate_1.1;
-}
-sparc {
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/madv/Makefile.com b/usr/src/lib/madv/Makefile.com
index 2e1b865e4d..0957b2b510 100644
--- a/usr/src/lib/madv/Makefile.com
+++ b/usr/src/lib/madv/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,7 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
@@ -34,6 +33,9 @@ include ../../Makefile.lib
SRCDIR = ../common
+# There should be a mapfile here
+MAPFILES =
+
LIBS = $(DYNLIB)
LDLIBS += -lc -lgen
CFLAGS += $(CCVERBOSE)
diff --git a/usr/src/lib/mpss/Makefile.com b/usr/src/lib/mpss/Makefile.com
index 4a2d0ef677..2b6d6fbd0a 100644
--- a/usr/src/lib/mpss/Makefile.com
+++ b/usr/src/lib/mpss/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,7 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
@@ -34,6 +33,9 @@ include ../../Makefile.lib
SRCDIR = ../common
+# There should be a mapfile here
+MAPFILES =
+
LIBS = $(DYNLIB)
LDLIBS += -lc -lgen
CFLAGS += $(CCVERBOSE)
diff --git a/usr/src/lib/nametoaddr/straddr/Makefile b/usr/src/lib/nametoaddr/straddr/Makefile
index d0b669ad41..7e3af4622b 100644
--- a/usr/src/lib/nametoaddr/straddr/Makefile
+++ b/usr/src/lib/nametoaddr/straddr/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,7 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
@@ -39,11 +38,9 @@ lint := TARGET= lint
.KEEP_STATE:
-all clean clobber install: spec .WAIT $(SUBDIRS)
+all clean clobber install lint: $(SUBDIRS)
-lint: $(SUBDIRS)
-
-spec $(SUBDIRS): FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
diff --git a/usr/src/lib/nametoaddr/straddr/Makefile.com b/usr/src/lib/nametoaddr/straddr/Makefile.com
index da00736188..21739f4331 100644
--- a/usr/src/lib/nametoaddr/straddr/Makefile.com
+++ b/usr/src/lib/nametoaddr/straddr/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,7 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
@@ -42,8 +41,6 @@ LIBS = $(DYNLIB)
LDLIBS += -lnsl -lc
SRCDIR = ../common
-MAPDIR = ../spec/$(TRANSMACH)
-SPECMAPFILE = $(MAPDIR)/mapfile
CPPFLAGS += -D_REENTRANT
diff --git a/usr/src/lib/nametoaddr/straddr/common/mapfile-vers b/usr/src/lib/nametoaddr/straddr/common/mapfile-vers
new file mode 100644
index 0000000000..9be14d2c49
--- /dev/null
+++ b/usr/src/lib/nametoaddr/straddr/common/mapfile-vers
@@ -0,0 +1,37 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNWprivate_2.1 {
+ global:
+ _netdir_getbyaddr;
+ _netdir_getbyname;
+ _netdir_options;
+ _taddr2uaddr;
+ _uaddr2taddr;
+ local:
+ *;
+};
diff --git a/usr/src/lib/nametoaddr/straddr/spec/Makefile b/usr/src/lib/nametoaddr/straddr/spec/Makefile
deleted file mode 100644
index 3a326caeb9..0000000000
--- a/usr/src/lib/nametoaddr/straddr/spec/Makefile
+++ /dev/null
@@ -1,30 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/nametoaddr/straddr/spec/Makefile
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/nametoaddr/straddr/spec/Makefile.targ b/usr/src/lib/nametoaddr/straddr/spec/Makefile.targ
deleted file mode 100644
index edd28218b7..0000000000
--- a/usr/src/lib/nametoaddr/straddr/spec/Makefile.targ
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/nametoaddr/straddr/spec/Makefile.targ
-
-LIBRARY = straddr.a
-VERS = .2
-
-OBJECTS = straddr.o
-
-TRANSCPP =
-SPECCPP =
diff --git a/usr/src/lib/nametoaddr/straddr/spec/amd64/Makefile b/usr/src/lib/nametoaddr/straddr/spec/amd64/Makefile
deleted file mode 100644
index 2e565ec504..0000000000
--- a/usr/src/lib/nametoaddr/straddr/spec/amd64/Makefile
+++ /dev/null
@@ -1,45 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-# To enable apptrace, comment out the following line
-DISABLE_APPTRACE=$(POUND_SIGN)
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#amd64_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB64)
diff --git a/usr/src/lib/nametoaddr/straddr/spec/i386/Makefile b/usr/src/lib/nametoaddr/straddr/spec/i386/Makefile
deleted file mode 100644
index 9f250576b0..0000000000
--- a/usr/src/lib/nametoaddr/straddr/spec/i386/Makefile
+++ /dev/null
@@ -1,46 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1997-2001 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/nametoaddr/straddr/spec/i386/Makefile
-
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE=$(POUND_SIGN)
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#i386_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB)
-
diff --git a/usr/src/lib/nametoaddr/straddr/spec/sparc/Makefile b/usr/src/lib/nametoaddr/straddr/spec/sparc/Makefile
deleted file mode 100644
index 692a223716..0000000000
--- a/usr/src/lib/nametoaddr/straddr/spec/sparc/Makefile
+++ /dev/null
@@ -1,47 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1997-Makefile by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/nametoaddr/straddr/spec/sparc/Makefile
-
-.KEEP_STATE:
-
-# To enable apptrace, comment out the following line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#sparc_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB)
diff --git a/usr/src/lib/nametoaddr/straddr/spec/sparcv9/Makefile b/usr/src/lib/nametoaddr/straddr/spec/sparcv9/Makefile
deleted file mode 100644
index e6bda7370c..0000000000
--- a/usr/src/lib/nametoaddr/straddr/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,46 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1997-2001 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/nametoaddr/straddr/spec/sparcv9/Makefile
-
-# To enable apptrace, comment out the following line
-DISABLE_APPTRACE=$(POUND_SIGN)
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#sparcv9_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB64)
diff --git a/usr/src/lib/nametoaddr/straddr/spec/straddr.spec b/usr/src/lib/nametoaddr/straddr/spec/straddr.spec
deleted file mode 100644
index 7ffcca448e..0000000000
--- a/usr/src/lib/nametoaddr/straddr/spec/straddr.spec
+++ /dev/null
@@ -1,48 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/nametoaddr/straddr/spec/straddr.spec
-
-function _netdir_getbyaddr
-version SUNWprivate_2.1
-end
-
-function _netdir_getbyname
-version SUNWprivate_2.1
-end
-
-function _netdir_options
-version SUNWprivate_2.1
-end
-
-function _taddr2uaddr
-version SUNWprivate_2.1
-end
-
-function _uaddr2taddr
-version SUNWprivate_2.1
-end
-
diff --git a/usr/src/lib/nametoaddr/straddr/spec/versions b/usr/src/lib/nametoaddr/straddr/spec/versions
deleted file mode 100644
index f8f9e023f4..0000000000
--- a/usr/src/lib/nametoaddr/straddr/spec/versions
+++ /dev/null
@@ -1,39 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-i386 {
- SUNWprivate_2.1;
-}
-sparc {
- SUNWprivate_2.1;
-}
-sparcv9 {
- SUNWprivate_2.1;
-}
-amd64 {
- SUNWprivate_2.1;
-}
diff --git a/usr/src/lib/ncad_addr/Makefile b/usr/src/lib/ncad_addr/Makefile
index 47d1dda5f8..143c41fe5a 100644
--- a/usr/src/lib/ncad_addr/Makefile
+++ b/usr/src/lib/ncad_addr/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,8 +19,8 @@
# CDDL HEADER END
#
#
-# Copyright (c) 1999-2001 by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
@@ -39,11 +38,9 @@ lint := TARGET= lint
.KEEP_STATE:
-all install clean clobber: spec .WAIT $(SUBDIRS)
+all install clean clobber lint: $(SUBDIRS)
-lint: $(SUBDIRS)
-
-spec $(SUBDIRS): FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
diff --git a/usr/src/lib/ncad_addr/Makefile.com b/usr/src/lib/ncad_addr/Makefile.com
index 7caf98fd43..aaf827792a 100644
--- a/usr/src/lib/ncad_addr/Makefile.com
+++ b/usr/src/lib/ncad_addr/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,7 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
@@ -33,8 +32,8 @@ OBJECTS = ncad_addr.o
include ../../Makefile.lib
SRCDIR = ../common
-MAPDIR = ../spec/$(TRANSMACH)
-SPECMAPFILE = $(MAPDIR)/mapfile
+
+MAPFILES += mapfile-vers
LIBS = $(DYNLIB)
LDLIBS += -lc -lnsl
diff --git a/usr/src/lib/ncad_addr/amd64/mapfile-vers b/usr/src/lib/ncad_addr/amd64/mapfile-vers
new file mode 100644
index 0000000000..4167500eb0
--- /dev/null
+++ b/usr/src/lib/ncad_addr/amd64/mapfile-vers
@@ -0,0 +1,31 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNW_0.7 {
+ global:
+ bind;
+};
diff --git a/usr/src/lib/ncad_addr/common/mapfile-vers b/usr/src/lib/ncad_addr/common/mapfile-vers
new file mode 100644
index 0000000000..fff8143a5c
--- /dev/null
+++ b/usr/src/lib/ncad_addr/common/mapfile-vers
@@ -0,0 +1,70 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+# The following version madness was mistakenly inherited from
+# libsocket in Solaris 9, when this library was created.
+# See the isa-specific mapfiles for the contents of SUNW_0.7
+
+SUNW_1.4 { # SunOS 5.9 (Solaris 9)
+ global:
+ SUNW_1.4;
+} SUNW_1.3;
+
+SUNW_1.3 {
+ global:
+ SUNW_1.3;
+} SUNW_1.2;
+
+SUNW_1.2 {
+ global:
+ SUNW_1.2;
+} SUNW_1.1;
+
+SUNW_1.1 {
+ global:
+ SUNW_1.1;
+} SUNW_0.7;
+
+# There really should be only one SUNWprivate version.
+# Don't add any more. Add new private symbols to SUNWprivate_1.3
+
+SUNWprivate_1.3 {
+ global:
+ SUNWprivate_1.3;
+} SUNWprivate_1.2;
+
+SUNWprivate_1.2 {
+ global:
+ SUNWprivate_1.2;
+} SUNWprivate_1.1;
+
+SUNWprivate_1.1 {
+ global:
+ SUNWprivate_1.1;
+ local:
+ *;
+};
diff --git a/usr/src/lib/ncad_addr/i386/mapfile-vers b/usr/src/lib/ncad_addr/i386/mapfile-vers
new file mode 100644
index 0000000000..4167500eb0
--- /dev/null
+++ b/usr/src/lib/ncad_addr/i386/mapfile-vers
@@ -0,0 +1,31 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNW_0.7 {
+ global:
+ bind;
+};
diff --git a/usr/src/lib/ncad_addr/sparc/mapfile-vers b/usr/src/lib/ncad_addr/sparc/mapfile-vers
new file mode 100644
index 0000000000..2d6b0716a4
--- /dev/null
+++ b/usr/src/lib/ncad_addr/sparc/mapfile-vers
@@ -0,0 +1,36 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNW_0.7 {
+ global:
+ SUNW_0.7;
+} SISCD_2.3;
+
+SISCD_2.3 {
+ global:
+ bind;
+};
diff --git a/usr/src/lib/ncad_addr/sparcv9/mapfile-vers b/usr/src/lib/ncad_addr/sparcv9/mapfile-vers
new file mode 100644
index 0000000000..4167500eb0
--- /dev/null
+++ b/usr/src/lib/ncad_addr/sparcv9/mapfile-vers
@@ -0,0 +1,31 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNW_0.7 {
+ global:
+ bind;
+};
diff --git a/usr/src/lib/ncad_addr/spec/Makefile b/usr/src/lib/ncad_addr/spec/Makefile
deleted file mode 100644
index 1573519434..0000000000
--- a/usr/src/lib/ncad_addr/spec/Makefile
+++ /dev/null
@@ -1,29 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1998-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/ncad_addr/spec/Makefile
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/ncad_addr/spec/Makefile.targ b/usr/src/lib/ncad_addr/spec/Makefile.targ
deleted file mode 100644
index 48245294b8..0000000000
--- a/usr/src/lib/ncad_addr/spec/Makefile.targ
+++ /dev/null
@@ -1,34 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1998-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/ncad_addr/spec/Makefile.targ
-
-LIBRARY = ncad_addr.a
-VERS = .1
-
-OBJECTS = ncad_addr.o
-
-SPECCPP = -I..
diff --git a/usr/src/lib/ncad_addr/spec/amd64/Makefile b/usr/src/lib/ncad_addr/spec/amd64/Makefile
deleted file mode 100644
index 2a38c1cba9..0000000000
--- a/usr/src/lib/ncad_addr/spec/amd64/Makefile
+++ /dev/null
@@ -1,42 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#amd64_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/ncad_addr/spec/i386/Makefile b/usr/src/lib/ncad_addr/spec/i386/Makefile
deleted file mode 100644
index 4198b9fd59..0000000000
--- a/usr/src/lib/ncad_addr/spec/i386/Makefile
+++ /dev/null
@@ -1,42 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/ncad_addr/spec/i386/Makefile
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#i386_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/ncad_addr/spec/ncad_addr.spec b/usr/src/lib/ncad_addr/spec/ncad_addr.spec
deleted file mode 100644
index 6f125c5170..0000000000
--- a/usr/src/lib/ncad_addr/spec/ncad_addr.spec
+++ /dev/null
@@ -1,37 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-function bind
-include <sys/types.h>
-include <sys/socket.h>
-declaration int bind(int sock, const struct sockaddr *name, \
- socklen_t namelen)
-version i386=SUNW_0.7 sparc=SISCD_2.3 sparcv9=SUNW_0.7 amd64=SUNW_0.7
-errno EACCES EADDRINUSE EADDRNOTAVAIL EBADF EINVAL ENOSR ENOTSOCK \
- EIO EISDIR ELOOP ENOENT EROFS
-exception $return == -1
-end
diff --git a/usr/src/lib/ncad_addr/spec/sparc/Makefile b/usr/src/lib/ncad_addr/spec/sparc/Makefile
deleted file mode 100644
index 630e63697c..0000000000
--- a/usr/src/lib/ncad_addr/spec/sparc/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/ncad_addr/spec/sparc/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#sparc_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/ncad_addr/spec/sparcv9/Makefile b/usr/src/lib/ncad_addr/spec/sparcv9/Makefile
deleted file mode 100644
index 09aa43d1c5..0000000000
--- a/usr/src/lib/ncad_addr/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,43 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/ncad_addr/spec/sparcv9/Makefile
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#sparcv9_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/ncad_addr/spec/versions b/usr/src/lib/ncad_addr/spec/versions
deleted file mode 100644
index 7b17a9f5db..0000000000
--- a/usr/src/lib/ncad_addr/spec/versions
+++ /dev/null
@@ -1,79 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# Note this version file was copied from libsocket since it interposes
-# functions in that library.
-#
-# Note (re: SUNW_1.2 .. SUNW_1.3):
-# Even though the SUNW_1.2 and SUNW_1.3 versions now contain no
-# symbols these versions MUST be present. This is because applications
-# built on 2.6 Beta (when they did contain symbols explicitly) may
-# depend on them.
-#
-# All symbol content for Solaris2.6 is now contained in SUNW_1.1,
-# and (the now empty) versions SUNW_1.2 and SUNW_1.3 must be kept.
-#
-i386 {
- SUNW_1.4: {SUNW_1.3};
- SUNW_1.3: {SUNW_1.2};
- SUNW_1.2: {SUNW_1.1};
- SUNW_1.1: {SUNW_0.7};
- SUNW_0.7;
- SUNWprivate_1.3: {SUNWprivate_1.2};
- SUNWprivate_1.2: {SUNWprivate_1.1};
- SUNWprivate_1.1;
-}
-sparc {
- SUNW_1.4: {SUNW_1.3};
- SUNW_1.3: {SUNW_1.2};
- SUNW_1.2: {SUNW_1.1};
- SUNW_1.1: {SUNW_0.7};
- SUNW_0.7: {SISCD_2.3};
- SISCD_2.3;
- SUNWprivate_1.3: {SUNWprivate_1.2};
- SUNWprivate_1.2: {SUNWprivate_1.1};
- SUNWprivate_1.1;
-}
-sparcv9 {
- SUNW_1.4: {SUNW_1.3};
- SUNW_1.3: {SUNW_1.2};
- SUNW_1.2: {SUNW_1.1};
- SUNW_1.1: {SUNW_0.7};
- SUNW_0.7;
- SUNWprivate_1.3: {SUNWprivate_1.2};
- SUNWprivate_1.2: {SUNWprivate_1.1};
- SUNWprivate_1.1;
-}
-amd64 {
- SUNW_1.4: {SUNW_1.3};
- SUNW_1.3: {SUNW_1.2};
- SUNW_1.2: {SUNW_1.1};
- SUNW_1.1: {SUNW_0.7};
- SUNW_0.7;
- SUNWprivate_1.3: {SUNWprivate_1.2};
- SUNWprivate_1.2: {SUNWprivate_1.1};
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/nsswitch/Makefile.com b/usr/src/lib/nsswitch/Makefile.com
index 0a6f66bbd8..ea411ea488 100644
--- a/usr/src/lib/nsswitch/Makefile.com
+++ b/usr/src/lib/nsswitch/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,19 +19,15 @@
# CDDL HEADER END
#
#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# lib/nsswitch/Makefile.com
+# ident "%Z%%M% %I% %E% SMI"
+#
-# include global library definitions.
include $(SRC)/lib/Makefile.lib
-SRCS = $(OBJECTS:%.o=../common/%.c)
-
-MAPFILE = ../common/mapfile-vers
+SRCDIR = ../common
ROOT32DYNLIB = $(ROOTLIBDIR)/$(DYNLIB1)
ROOT64DYNLIB = $(ROOTLIBDIR64)/$(DYNLIB1)
@@ -44,7 +39,6 @@ CPPFLAGS += -D_REENTRANT
LDLIBS += -lc
HSONAME =
-DYNFLAGS += -M $(MAPFILE)
CLEANFILES += $(LINTOUT)
CLOBBERFILES += $(DYNLIB1)
diff --git a/usr/src/lib/nsswitch/Makefile.targ b/usr/src/lib/nsswitch/Makefile.targ
index e8b197badf..399d9be82c 100644
--- a/usr/src/lib/nsswitch/Makefile.targ
+++ b/usr/src/lib/nsswitch/Makefile.targ
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,12 +19,11 @@
# CDDL HEADER END
#
#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# lib/nsswitch/Makefile.targ
+# ident "%Z%%M% %I% %E% SMI"
+#
all: $(LIBS)
@@ -41,7 +39,7 @@ $(DYNLIB1) := CTFMERGE_POST = $(CTFMERGE_LIB)
# DYNLIB1 is used rather than DYNLIB to prevent the automagic expansion and
# creation of a libXXXX.so$(VERS) target.
-$(DYNLIB1): $(MAPFILE) pics .WAIT $$(PICS)
+$(DYNLIB1): pics .WAIT $$(PICS)
$(BUILD.SO)
$(POST_PROCESS_SO)
diff --git a/usr/src/lib/openssl/Makefile.com b/usr/src/lib/openssl/Makefile.com
index fb4ec8cca9..416c6ea583 100644
--- a/usr/src/lib/openssl/Makefile.com
+++ b/usr/src/lib/openssl/Makefile.com
@@ -76,7 +76,7 @@ ROOTLIBPC64 = $(LIBPCSRC:%=$(ROOTLIBPCDIR64)/%)
$(ROOTLIBPCDIR):
$(INS.dir)
-$(ROOTLIBPCDIR)/%: $(ROOTLIBPCDIR) $(SRCDIR)/%
+$(ROOTLIBPCDIR)/%: $(ROOTLIBPCDIR) %
$(INS.file)
$(ROOTLIBPCDIR64):
diff --git a/usr/src/lib/openssl/libcrypto/Makefile.com b/usr/src/lib/openssl/libcrypto/Makefile.com
index f972fa42b9..aeb7c97f2c 100644
--- a/usr/src/lib/openssl/libcrypto/Makefile.com
+++ b/usr/src/lib/openssl/libcrypto/Makefile.com
@@ -24,8 +24,6 @@
#
# ident "%Z%%M% %I% %E% SMI"
#
-# usr/src/lib/openssl/Makefile.com
-#
LIBRARY = libcrypto.a
@@ -235,10 +233,9 @@ CFLAGS += -K PIC
CFLAGS64 += -K PIC
LDLIBS += -lc -lsocket -lnsl
-MAPFILES = ../common/mapfile
-MAPOPTS = $(MAPFILES:%=-M %)
+DYNFLAGS += $(OPENSSL_FILTER_FLAG) $(OPENSSL_DYNFLAGS)
-DYNFLAGS += $(OPENSSL_FILTER_FLAG) $(OPENSSL_DYNFLAGS) $(MAPOPTS)
+MAPFILES = ../common/mapfile
LIBS = $(DYNLIB) $(LINTLIB)
SRCDIR = $(OPENSSL_SRC)/crypto
@@ -247,7 +244,8 @@ $(LINTLIB) := SRCS = $(SRCDIR)/$(LINTSRC)
# We do not want to give the CFLAGS and build date information
# so we define the magic NO_WINDOWS_BRAINDEATH to suppress this
-pics/cversion.o := CPPFLAGS += -DNO_WINDOWS_BRAINDEATH
+pics/cversion.o := CPPFLAGS += -DNO_WINDOWS_BRAINDEATH
+lint := CPPFLAGS += -DNO_WINDOWS_BRAINDEATH
.KEEP_STATE:
diff --git a/usr/src/lib/openssl/libcrypto/sparc/Makefile b/usr/src/lib/openssl/libcrypto/sparc/Makefile
index 950884993c..506c55bef6 100644
--- a/usr/src/lib/openssl/libcrypto/sparc/Makefile
+++ b/usr/src/lib/openssl/libcrypto/sparc/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,7 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
@@ -31,6 +30,10 @@ include ../Makefile.com
# Override the default specified in Makefile.com
BN_ASM = bn/asm/sparcv8.o
+# lint doesn't like asm files
+lint := MD5_OBJ_ASM =
+lint := BN_ASM =
+
CFLAGS += -DBN_DIV2W
install: all $(ROOTLIBS) $(ROOTLINKS) $(ROOTLINT)
diff --git a/usr/src/lib/openssl/libcrypto/sparcv9/Makefile b/usr/src/lib/openssl/libcrypto/sparcv9/Makefile
index 3d47ec3870..772ef82bd3 100644
--- a/usr/src/lib/openssl/libcrypto/sparcv9/Makefile
+++ b/usr/src/lib/openssl/libcrypto/sparcv9/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,23 +19,26 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
include ../Makefile.com
+include ../../../Makefile.lib.64
# Override the default specified in ../Makefile.com
MD5_OBJ_ASM= md5/asm/md5-sparcv9.o
-include ../../../Makefile.lib.64
+# lint doesn't like asm files
+lint := MD5_OBJ_ASM =
+lint := BN_ASM =
CFLAGS64 += -DMD5_ASM \
-erroff=E_TYP_STORAGE_CLASS_OBSOLESCENT \
-erroff=E_CONST_PROMOTED_UNSIGNED_LONG
-pics/$(MD5_OBJ_ASM) := CFLAGS64 += -DMD5_BLOCK_DATA_ORDER
+pics/md5/asm/md5-sparcv9.o := CFLAGS64 += -DMD5_BLOCK_DATA_ORDER
install: all $(ROOTLIBS64) $(ROOTLINKS64) $(ROOTLINT64)
diff --git a/usr/src/lib/openssl/libcrypto_extra/Makefile.com b/usr/src/lib/openssl/libcrypto_extra/Makefile.com
index 7c6056f69e..57ce7d28e4 100644
--- a/usr/src/lib/openssl/libcrypto_extra/Makefile.com
+++ b/usr/src/lib/openssl/libcrypto_extra/Makefile.com
@@ -24,7 +24,6 @@
#
# ident "%Z%%M% %I% %E% SMI"
#
-# usr/src/lib/openssl/libcrypto_extra/Makefile.com
LIBRARY = libcrypto_extra.a
@@ -48,6 +47,9 @@ BF_ENC = bf/bf_enc.o
include ../../Makefile.com
+# There should be a mapfile here
+MAPFILES =
+
CFLAGS += -K PIC -DCRYPTO_UNLIMITED
CFLAGS64 += -K PIC -DCRYPTO_UNLIMITED
ZDEFS = -znodefs
@@ -56,7 +58,6 @@ SONAME = $(LIBRARY:.a=.so)$(VERS)
LIBS = $(DYNLIB)
SRCDIR = $(OPENSSL_SRC)/crypto
-SRCS = $(OBJECTS:%.o=$(SRCDIR)/%.c)
$(LINTLIB) := SRCS = $(SRCDIR)/$(LINTSRC)
@@ -64,6 +65,8 @@ $(LINTLIB) := SRCS = $(SRCDIR)/$(LINTSRC)
all: subdirs $(LIBS)
+lint: lintcheck
+
subdirs: FRC
@mkdir -p \
pics/aes \
diff --git a/usr/src/lib/openssl/libssl/Makefile.com b/usr/src/lib/openssl/libssl/Makefile.com
index 69d5be31d1..bd1f3b6419 100644
--- a/usr/src/lib/openssl/libssl/Makefile.com
+++ b/usr/src/lib/openssl/libssl/Makefile.com
@@ -24,8 +24,6 @@
#
# ident "%Z%%M% %I% %E% SMI"
#
-# usr/src/lib/openssl/ssl/Makefile.com
-#
LIBRARY = libssl.a
@@ -56,6 +54,9 @@ OBJECTS = bio_ssl.o \
include ../../Makefile.com
+# There should be a mapfile here
+MAPFILES =
+
LIBS = $(DYNLIB) $(LINTLIB)
SRCDIR = ../../../../common/openssl/ssl
diff --git a/usr/src/lib/openssl/libssl_extra/Makefile.com b/usr/src/lib/openssl/libssl_extra/Makefile.com
index 728238dd7c..570a7300e0 100644
--- a/usr/src/lib/openssl/libssl_extra/Makefile.com
+++ b/usr/src/lib/openssl/libssl_extra/Makefile.com
@@ -24,7 +24,6 @@
#
# ident "%Z%%M% %I% %E% SMI"
#
-# usr/src/lib/openssl/libssl_extra/Makefile.com
LIBRARY = libssl_extra.a
@@ -32,12 +31,14 @@ OBJECTS = ssl_algs.o ssl_ciph.o ssl_lib.o
include ../../Makefile.com
+# There should be a mapfile here
+MAPFILES =
+
CPPFLAGS += -DCRYPTO_UNLIMITED
LDLIBS += $(ROOT)/$(SFWLIBDIR)/libcrypto_extra.so$(VERS)
LDLIBS += $(OPENSSL_LDFLAGS) -lcrypto -lssl -lc
DYNFLAGS += $(OPENSSL_DYNFLAGS)
-
LIBS = $(DYNLIB)
SRCDIR = $(OPENSSL_SRC)/ssl
@@ -47,4 +48,6 @@ $(LINTLIB) := SRCS = $(SRCDIR)/$(LINTSRC)
all: $(LIBS)
+lint: lintcheck
+
include $(SRC)/lib/Makefile.targ
diff --git a/usr/src/lib/pam_modules/Makefile.pam_modules b/usr/src/lib/pam_modules/Makefile.pam_modules
index b86bbce545..12d28ed1cb 100644
--- a/usr/src/lib/pam_modules/Makefile.pam_modules
+++ b/usr/src/lib/pam_modules/Makefile.pam_modules
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,27 +19,25 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
+
+#
# Common build macros used by (most every) PAM module.
#
include $(SRC)/lib/Makefile.lib
TEXT_DOMAIN= SUNW_OST_SYSOSPAM
-SRCDIR= ..
LIBS= $(DYNLIB)
CFLAGS += $(CCVERBOSE)
CPPFLAGS += -D_REENTRANT
-MAPDIR= ../spec/$(TRANSMACH)
-SPECMAPFILE= $(MAPDIR)/mapfile
-
ROOTLIBDIR= $(ROOT)/usr/lib/security
ROOTLIBDIR64= $(ROOT)/usr/lib/security/$(MACH64)
diff --git a/usr/src/lib/pam_modules/allow/Makefile b/usr/src/lib/pam_modules/allow/Makefile
index 3acd2da41b..99f0e3a31c 100644
--- a/usr/src/lib/pam_modules/allow/Makefile
+++ b/usr/src/lib/pam_modules/allow/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,10 +19,10 @@
# CDDL HEADER END
#
#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
include ../../Makefile.lib
@@ -43,13 +42,11 @@ lint := TARGET= lint
.KEEP_STATE:
-all clean clobber install: spec .WAIT $(SUBDIRS)
-
-lint: $(SUBDIRS)
+all clean clobber install lint: $(SUBDIRS)
_msg: $(MSGDOMAINPOFILE)
-$(SUBDIRS) spec: FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
diff --git a/usr/src/lib/pam_modules/allow/mapfile-vers b/usr/src/lib/pam_modules/allow/mapfile-vers
new file mode 100644
index 0000000000..4850072e96
--- /dev/null
+++ b/usr/src/lib/pam_modules/allow/mapfile-vers
@@ -0,0 +1,38 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNW_1.1 {
+ global:
+ pam_sm_acct_mgmt;
+ pam_sm_authenticate;
+ pam_sm_chauthtok;
+ pam_sm_close_session;
+ pam_sm_open_session;
+ pam_sm_setcred;
+ local:
+ *;
+};
diff --git a/usr/src/lib/pam_modules/allow/spec/Makefile b/usr/src/lib/pam_modules/allow/spec/Makefile
deleted file mode 100644
index 2cb984bfc9..0000000000
--- a/usr/src/lib/pam_modules/allow/spec/Makefile
+++ /dev/null
@@ -1,28 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/pam_modules/allow/spec/Makefile.targ b/usr/src/lib/pam_modules/allow/spec/Makefile.targ
deleted file mode 100644
index c669fc5a62..0000000000
--- a/usr/src/lib/pam_modules/allow/spec/Makefile.targ
+++ /dev/null
@@ -1,31 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-LIBRARY= pam_allow.a
-VERS= .1
-
-OBJECTS= allow.o
diff --git a/usr/src/lib/pam_modules/allow/spec/allow.spec b/usr/src/lib/pam_modules/allow/spec/allow.spec
deleted file mode 100644
index 5232771b6e..0000000000
--- a/usr/src/lib/pam_modules/allow/spec/allow.spec
+++ /dev/null
@@ -1,67 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-function pam_sm_authenticate
-include <security/pam_appl.h>
-declaration int pam_sm_authenticate(pam_handle_t *pamh, int flags, \
- int argc, const char **argv);
-version SUNW_1.1
-end
-
-function pam_sm_setcred
-include <security/pam_appl.h>
-declaration int pam_sm_setcred(pam_handle_t *pamh, int flags, \
- int argc, const char **argv);
-version SUNW_1.1
-end
-
-function pam_sm_acct_mgmt
-include <security/pam_appl.h>
-declaration int pam_sm_acct_mgmt(pam_handle_t *pamh, int flags, \
- int argc, const char **argv);
-version SUNW_1.1
-end
-
-function pam_sm_open_session
-include <security/pam_appl.h>
-declaration int pam_sm_open_session(pam_handle_t *pamh, int flags, \
- int argc, const char **argv);
-version SUNW_1.1
-end
-
-function pam_sm_close_session
-include <security/pam_appl.h>
-declaration int pam_sm_close_session(pam_handle_t *pamh, int flags, \
- int argc, const char **argv);
-version SUNW_1.1
-end
-
-function pam_sm_chauthtok
-include <security/pam_appl.h>
-declaration int pam_sm_chauthtok(pam_handle_t *pamh, int flags, \
- int argc, const char **argv);
-version SUNW_1.1
-end
diff --git a/usr/src/lib/pam_modules/allow/spec/amd64/Makefile b/usr/src/lib/pam_modules/allow/spec/amd64/Makefile
deleted file mode 100644
index 96d246e35a..0000000000
--- a/usr/src/lib/pam_modules/allow/spec/amd64/Makefile
+++ /dev/null
@@ -1,37 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-include $(SRC)/lib/Makefile.spec
-
-CPPFLAGS += -D$(MACH64) -D__$(MACH64) -D_MSE_INT_H
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB)
diff --git a/usr/src/lib/pam_modules/allow/spec/i386/Makefile b/usr/src/lib/pam_modules/allow/spec/i386/Makefile
deleted file mode 100644
index d54874ae3f..0000000000
--- a/usr/src/lib/pam_modules/allow/spec/i386/Makefile
+++ /dev/null
@@ -1,34 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB)
diff --git a/usr/src/lib/pam_modules/allow/spec/sparc/Makefile b/usr/src/lib/pam_modules/allow/spec/sparc/Makefile
deleted file mode 100644
index d54874ae3f..0000000000
--- a/usr/src/lib/pam_modules/allow/spec/sparc/Makefile
+++ /dev/null
@@ -1,34 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB)
diff --git a/usr/src/lib/pam_modules/allow/spec/sparcv9/Makefile b/usr/src/lib/pam_modules/allow/spec/sparcv9/Makefile
deleted file mode 100644
index dde563465e..0000000000
--- a/usr/src/lib/pam_modules/allow/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,35 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB64)
diff --git a/usr/src/lib/pam_modules/allow/spec/versions b/usr/src/lib/pam_modules/allow/spec/versions
deleted file mode 100644
index 82d42faa94..0000000000
--- a/usr/src/lib/pam_modules/allow/spec/versions
+++ /dev/null
@@ -1,41 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-sparc {
- SUNW_1.1;
-}
-
-sparcv9 {
- SUNW_1.1;
-}
-
-i386 {
- SUNW_1.1;
-}
-
-amd64 {
- SUNW_1.1;
-}
diff --git a/usr/src/lib/pam_modules/authtok_check/Makefile b/usr/src/lib/pam_modules/authtok_check/Makefile
index 27cd22eb8c..61bc9201a9 100644
--- a/usr/src/lib/pam_modules/authtok_check/Makefile
+++ b/usr/src/lib/pam_modules/authtok_check/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,12 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# usr/src/lib/pam_modules/authtok_check/Makefile
-#
# ident "%Z%%M% %I% %E% SMI"
+#
include ../../Makefile.lib
@@ -44,13 +42,11 @@ lint := TARGET= lint
.KEEP_STATE:
-all clean clobber install: spec .WAIT $(SUBDIRS)
-
-lint: $(SUBDIRS)
+all clean clobber install lint: $(SUBDIRS)
_msg: $(MSGDOMAINPOFILE)
-$(SUBDIRS) spec: FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
diff --git a/usr/src/lib/libmapid/spec/versions b/usr/src/lib/pam_modules/authtok_check/mapfile-vers
index 08681460bf..07f2c5c008 100644
--- a/usr/src/lib/libmapid/spec/versions
+++ b/usr/src/lib/pam_modules/authtok_check/mapfile-vers
@@ -25,9 +25,9 @@
# ident "%Z%%M% %I% %E% SMI"
#
-sparc {
- SUNWprivate_1.1;
-}
-i386 {
- SUNWprivate_1.1;
-}
+SUNW_1.1 {
+ global:
+ pam_sm_chauthtok;
+ local:
+ *;
+};
diff --git a/usr/src/lib/pam_modules/authtok_check/spec/Makefile b/usr/src/lib/pam_modules/authtok_check/spec/Makefile
deleted file mode 100644
index 06c2392c67..0000000000
--- a/usr/src/lib/pam_modules/authtok_check/spec/Makefile
+++ /dev/null
@@ -1,30 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 2001 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# usr/src/lib/pam_modules/authtok_check/spec/Makefile
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/pam_modules/authtok_check/spec/Makefile.targ b/usr/src/lib/pam_modules/authtok_check/spec/Makefile.targ
deleted file mode 100644
index 8c814deb8f..0000000000
--- a/usr/src/lib/pam_modules/authtok_check/spec/Makefile.targ
+++ /dev/null
@@ -1,33 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 2001 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# usr/src/lib/pam_modules/authtok_check/spec/Makefile.targ
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-LIBRARY = pam_authtok_check.a
-VERS = .1
-
-OBJECTS = authtok_check.o
diff --git a/usr/src/lib/pam_modules/authtok_check/spec/amd64/Makefile b/usr/src/lib/pam_modules/authtok_check/spec/amd64/Makefile
deleted file mode 100644
index 6b8107b610..0000000000
--- a/usr/src/lib/pam_modules/authtok_check/spec/amd64/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB)
diff --git a/usr/src/lib/pam_modules/authtok_check/spec/authtok_check.spec b/usr/src/lib/pam_modules/authtok_check/spec/authtok_check.spec
deleted file mode 100644
index 7df7f4788e..0000000000
--- a/usr/src/lib/pam_modules/authtok_check/spec/authtok_check.spec
+++ /dev/null
@@ -1,35 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# usr/src/lib/pam_modules/authtok_check/spec/authtok_check.spec
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-include <security/pam_appl.h>
-
-function pam_sm_chauthtok
-delcaration int pam_sm_chauthtok(pam_handle_t *pamh, int flags, \
- int argc, const char **argv)
-version SUNW_1.1
-end
diff --git a/usr/src/lib/pam_modules/authtok_check/spec/i386/Makefile b/usr/src/lib/pam_modules/authtok_check/spec/i386/Makefile
deleted file mode 100644
index 3e282be4af..0000000000
--- a/usr/src/lib/pam_modules/authtok_check/spec/i386/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# usr/src/lib/pam_modules/authtok_check/spec/i386/Makefile
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB)
diff --git a/usr/src/lib/pam_modules/authtok_check/spec/sparc/Makefile b/usr/src/lib/pam_modules/authtok_check/spec/sparc/Makefile
deleted file mode 100644
index c4a35ff0d3..0000000000
--- a/usr/src/lib/pam_modules/authtok_check/spec/sparc/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# usr/src/lib/pam_modules/authtok_check/spec/sparc/Makefile
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB)
diff --git a/usr/src/lib/pam_modules/authtok_check/spec/sparcv9/Makefile b/usr/src/lib/pam_modules/authtok_check/spec/sparcv9/Makefile
deleted file mode 100644
index b0fd603cf2..0000000000
--- a/usr/src/lib/pam_modules/authtok_check/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# usr/src/lib/pam_modules/authtok_check/spec/sparcv9/Makefile
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB)
diff --git a/usr/src/lib/pam_modules/authtok_check/spec/versions b/usr/src/lib/pam_modules/authtok_check/spec/versions
deleted file mode 100644
index baa02abaef..0000000000
--- a/usr/src/lib/pam_modules/authtok_check/spec/versions
+++ /dev/null
@@ -1,42 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-sparc {
- SUNW_1.1;
-}
-
-sparcv9 {
- SUNW_1.1;
-}
-
-i386 {
- SUNW_1.1;
-}
-
-amd64 {
- SUNW_1.1;
-}
diff --git a/usr/src/lib/pam_modules/authtok_get/Makefile b/usr/src/lib/pam_modules/authtok_get/Makefile
index d1fe03a48d..a7ef66e32d 100644
--- a/usr/src/lib/pam_modules/authtok_get/Makefile
+++ b/usr/src/lib/pam_modules/authtok_get/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,13 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# usr/src/lib/pam_modules/authtok_get/Makefile
-#
include ../../Makefile.lib
@@ -45,13 +42,11 @@ lint := TARGET= lint
.KEEP_STATE:
-all clean clobber install: spec .WAIT $(SUBDIRS)
-
-lint: $(SUBDIRS)
+all clean clobber install lint: $(SUBDIRS)
_msg: $(MSGDOMAINPOFILE)
-$(SUBDIRS) spec: FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
diff --git a/usr/src/lib/pam_modules/authtok_get/mapfile-vers b/usr/src/lib/pam_modules/authtok_get/mapfile-vers
new file mode 100644
index 0000000000..36e3e8809b
--- /dev/null
+++ b/usr/src/lib/pam_modules/authtok_get/mapfile-vers
@@ -0,0 +1,35 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNW_1.1 {
+ global:
+ pam_sm_authenticate;
+ pam_sm_chauthtok;
+ pam_sm_setcred;
+ local:
+ *;
+};
diff --git a/usr/src/lib/pam_modules/authtok_get/spec/Makefile b/usr/src/lib/pam_modules/authtok_get/spec/Makefile
deleted file mode 100644
index 93a676e77b..0000000000
--- a/usr/src/lib/pam_modules/authtok_get/spec/Makefile
+++ /dev/null
@@ -1,30 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 2001 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# usr/src/lib/pam_modules/authtok_get/spec/Makefile
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/pam_modules/authtok_get/spec/Makefile.targ b/usr/src/lib/pam_modules/authtok_get/spec/Makefile.targ
deleted file mode 100644
index 5811176f03..0000000000
--- a/usr/src/lib/pam_modules/authtok_get/spec/Makefile.targ
+++ /dev/null
@@ -1,33 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 2001 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# usr/src/lib/pam_modules/authtok_get/spec/Makefile.targ
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-LIBRARY = pam_authtok_get.a
-VERS = .1
-
-OBJECTS = authtok_get.o
diff --git a/usr/src/lib/pam_modules/authtok_get/spec/amd64/Makefile b/usr/src/lib/pam_modules/authtok_get/spec/amd64/Makefile
deleted file mode 100644
index 6b8107b610..0000000000
--- a/usr/src/lib/pam_modules/authtok_get/spec/amd64/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB)
diff --git a/usr/src/lib/pam_modules/authtok_get/spec/authtok_get.spec b/usr/src/lib/pam_modules/authtok_get/spec/authtok_get.spec
deleted file mode 100644
index 8e6ee2bc16..0000000000
--- a/usr/src/lib/pam_modules/authtok_get/spec/authtok_get.spec
+++ /dev/null
@@ -1,47 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# usr/src/lib/pam_modules/authtok_get/spec/authtok_get.spec
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-include <security/pam_appl.h>
-
-function pam_sm_authenticate
-declaration int pam_sm_authenticate(pam_handle_t *pamh, int flags, \
- int argc, const char **argv)
-version SUNW_1.1
-end
-
-function pam_sm_chauthtok
-delcaration int pam_sm_chauthtok(pam_handle_t *pamh, int flags, \
- int argc, const char **argv)
-version SUNW_1.1
-end
-
-function pam_sm_setcred
-declaration int pam_sm_setcred(pam_handle_t *pamh, int flags, \
- int argc, const char **argv)
-version SUNW_1.1
-end
diff --git a/usr/src/lib/pam_modules/authtok_get/spec/i386/Makefile b/usr/src/lib/pam_modules/authtok_get/spec/i386/Makefile
deleted file mode 100644
index e0b5a43cc6..0000000000
--- a/usr/src/lib/pam_modules/authtok_get/spec/i386/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# usr/src/lib/pam_modules/authtok_get/spec/i386/Makefile
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB)
diff --git a/usr/src/lib/pam_modules/authtok_get/spec/sparc/Makefile b/usr/src/lib/pam_modules/authtok_get/spec/sparc/Makefile
deleted file mode 100644
index bde89cab1c..0000000000
--- a/usr/src/lib/pam_modules/authtok_get/spec/sparc/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# usr/src/lib/pam_modules/authtok_get/spec/sparc/Makefile
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB)
diff --git a/usr/src/lib/pam_modules/authtok_get/spec/sparcv9/Makefile b/usr/src/lib/pam_modules/authtok_get/spec/sparcv9/Makefile
deleted file mode 100644
index adcca29323..0000000000
--- a/usr/src/lib/pam_modules/authtok_get/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# usr/src/lib/pam_modules/authtok_get/spec/sparcv9/Makefile
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB)
diff --git a/usr/src/lib/pam_modules/authtok_get/spec/versions b/usr/src/lib/pam_modules/authtok_get/spec/versions
deleted file mode 100644
index baa02abaef..0000000000
--- a/usr/src/lib/pam_modules/authtok_get/spec/versions
+++ /dev/null
@@ -1,42 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-sparc {
- SUNW_1.1;
-}
-
-sparcv9 {
- SUNW_1.1;
-}
-
-i386 {
- SUNW_1.1;
-}
-
-amd64 {
- SUNW_1.1;
-}
diff --git a/usr/src/lib/pam_modules/authtok_store/Makefile b/usr/src/lib/pam_modules/authtok_store/Makefile
index 7a92712c7e..2237eccf27 100644
--- a/usr/src/lib/pam_modules/authtok_store/Makefile
+++ b/usr/src/lib/pam_modules/authtok_store/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,11 @@
# CDDL HEADER END
#
#
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# usr/src/lib/pam_modules/authtok_store/Makefile
-#
include ../../Makefile.lib
@@ -46,13 +42,11 @@ lint := TARGET= lint
.KEEP_STATE:
-all clean clobber install: spec .WAIT $(SUBDIRS)
-
-lint: $(SUBDIRS)
+all clean clobber install lint: $(SUBDIRS)
_msg: $(MSGDOMAINPOFILE)
-$(SUBDIRS) spec: FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
diff --git a/usr/src/lib/pam_modules/authtok_store/mapfile-vers b/usr/src/lib/pam_modules/authtok_store/mapfile-vers
new file mode 100644
index 0000000000..07f2c5c008
--- /dev/null
+++ b/usr/src/lib/pam_modules/authtok_store/mapfile-vers
@@ -0,0 +1,33 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNW_1.1 {
+ global:
+ pam_sm_chauthtok;
+ local:
+ *;
+};
diff --git a/usr/src/lib/pam_modules/authtok_store/spec/Makefile b/usr/src/lib/pam_modules/authtok_store/spec/Makefile
deleted file mode 100644
index 520fd4a586..0000000000
--- a/usr/src/lib/pam_modules/authtok_store/spec/Makefile
+++ /dev/null
@@ -1,30 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 2001 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# usr/src/lib/pam_modules/authtok_store/spec/Makefile
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/pam_modules/authtok_store/spec/Makefile.targ b/usr/src/lib/pam_modules/authtok_store/spec/Makefile.targ
deleted file mode 100644
index 4ac98d4da1..0000000000
--- a/usr/src/lib/pam_modules/authtok_store/spec/Makefile.targ
+++ /dev/null
@@ -1,33 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 2001 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# usr/src/lib/pam_modules/authtok_store/spec/Makefile.targ
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-LIBRARY = pam_authtok_store.a
-VERS = .1
-
-OBJECTS = authtok_store.o
diff --git a/usr/src/lib/pam_modules/authtok_store/spec/amd64/Makefile b/usr/src/lib/pam_modules/authtok_store/spec/amd64/Makefile
deleted file mode 100644
index 6b8107b610..0000000000
--- a/usr/src/lib/pam_modules/authtok_store/spec/amd64/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB)
diff --git a/usr/src/lib/pam_modules/authtok_store/spec/authtok_store.spec b/usr/src/lib/pam_modules/authtok_store/spec/authtok_store.spec
deleted file mode 100644
index 7c360123ab..0000000000
--- a/usr/src/lib/pam_modules/authtok_store/spec/authtok_store.spec
+++ /dev/null
@@ -1,35 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# usr/src/lib/pam_modules/authtok_store/spec/authtok_store.spec
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-include <security/pam_appl.h>
-
-function pam_sm_chauthtok
-delcaration int pam_sm_chauthtok(pam_handle_t *pamh, int flags, \
- int argc, const char **argv)
-version SUNW_1.1
-end
diff --git a/usr/src/lib/pam_modules/authtok_store/spec/i386/Makefile b/usr/src/lib/pam_modules/authtok_store/spec/i386/Makefile
deleted file mode 100644
index 13f3b41fac..0000000000
--- a/usr/src/lib/pam_modules/authtok_store/spec/i386/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# usr/src/lib/pam_modules/authtok_store/spec/i386/Makefile
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB)
diff --git a/usr/src/lib/pam_modules/authtok_store/spec/sparc/Makefile b/usr/src/lib/pam_modules/authtok_store/spec/sparc/Makefile
deleted file mode 100644
index d4d7c32790..0000000000
--- a/usr/src/lib/pam_modules/authtok_store/spec/sparc/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# usr/src/lib/pam_modules/authtok_store/spec/sparc/Makefile
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB)
diff --git a/usr/src/lib/pam_modules/authtok_store/spec/sparcv9/Makefile b/usr/src/lib/pam_modules/authtok_store/spec/sparcv9/Makefile
deleted file mode 100644
index f83d2fa3cf..0000000000
--- a/usr/src/lib/pam_modules/authtok_store/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# usr/src/lib/pam_modules/authtok_store/spec/sparcv9/Makefile
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB)
diff --git a/usr/src/lib/pam_modules/authtok_store/spec/versions b/usr/src/lib/pam_modules/authtok_store/spec/versions
deleted file mode 100644
index baa02abaef..0000000000
--- a/usr/src/lib/pam_modules/authtok_store/spec/versions
+++ /dev/null
@@ -1,42 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-sparc {
- SUNW_1.1;
-}
-
-sparcv9 {
- SUNW_1.1;
-}
-
-i386 {
- SUNW_1.1;
-}
-
-amd64 {
- SUNW_1.1;
-}
diff --git a/usr/src/lib/pam_modules/deny/Makefile b/usr/src/lib/pam_modules/deny/Makefile
index 5ad6c12e0e..bb8685eb35 100644
--- a/usr/src/lib/pam_modules/deny/Makefile
+++ b/usr/src/lib/pam_modules/deny/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,10 +19,10 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
include ../../Makefile.lib
@@ -43,13 +42,11 @@ lint := TARGET= lint
.KEEP_STATE:
-all clean clobber install: spec .WAIT $(SUBDIRS)
-
-lint: $(SUBDIRS)
+all clean clobber install lint: $(SUBDIRS)
_msg: $(MSGDOMAINPOFILE)
-$(SUBDIRS) spec: FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
diff --git a/usr/src/lib/pam_modules/deny/mapfile-vers b/usr/src/lib/pam_modules/deny/mapfile-vers
new file mode 100644
index 0000000000..4850072e96
--- /dev/null
+++ b/usr/src/lib/pam_modules/deny/mapfile-vers
@@ -0,0 +1,38 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNW_1.1 {
+ global:
+ pam_sm_acct_mgmt;
+ pam_sm_authenticate;
+ pam_sm_chauthtok;
+ pam_sm_close_session;
+ pam_sm_open_session;
+ pam_sm_setcred;
+ local:
+ *;
+};
diff --git a/usr/src/lib/pam_modules/deny/spec/Makefile b/usr/src/lib/pam_modules/deny/spec/Makefile
deleted file mode 100644
index c0724f85fb..0000000000
--- a/usr/src/lib/pam_modules/deny/spec/Makefile
+++ /dev/null
@@ -1,30 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# usr/src/lib/pam_modules/deny/spec/Makefile
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/pam_modules/deny/spec/Makefile.targ b/usr/src/lib/pam_modules/deny/spec/Makefile.targ
deleted file mode 100644
index 0710f0081f..0000000000
--- a/usr/src/lib/pam_modules/deny/spec/Makefile.targ
+++ /dev/null
@@ -1,33 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# usr/src/lib/pam_modules/deny/spec/Makefile.targ
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-LIBRARY= pam_deny.a
-VERS= .1
-
-OBJECTS= deny.o
diff --git a/usr/src/lib/pam_modules/deny/spec/amd64/Makefile b/usr/src/lib/pam_modules/deny/spec/amd64/Makefile
deleted file mode 100644
index 48b4115203..0000000000
--- a/usr/src/lib/pam_modules/deny/spec/amd64/Makefile
+++ /dev/null
@@ -1,39 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# usr/src/lib/pam_modules/deny/spec/i386/Makefile
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-include $(SRC)/lib/Makefile.spec
-
-CPPFLAGS += -D$(MACH64) -D__$(MACH64) -D_MSE_INT_H
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB)
diff --git a/usr/src/lib/pam_modules/deny/spec/deny.spec b/usr/src/lib/pam_modules/deny/spec/deny.spec
deleted file mode 100644
index b7eec36a51..0000000000
--- a/usr/src/lib/pam_modules/deny/spec/deny.spec
+++ /dev/null
@@ -1,69 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# usr/src/lib/pam_modules/deny/spec/deny.spec
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-function pam_sm_authenticate
-include <security/pam_appl.h>
-declaration int pam_sm_authenticate(pam_handle_t *pamh, int flags, \
- int argc, const char **argv);
-version SUNW_1.1
-end
-
-function pam_sm_setcred
-include <security/pam_appl.h>
-declaration int pam_sm_setcred(pam_handle_t *pamh, int flags, \
- int argc, const char **argv);
-version SUNW_1.1
-end
-
-function pam_sm_acct_mgmt
-include <security/pam_appl.h>
-declaration int pam_sm_acct_mgmt(pam_handle_t *pamh, int flags, \
- int argc, const char **argv);
-version SUNW_1.1
-end
-
-function pam_sm_open_session
-include <security/pam_appl.h>
-declaration int pam_sm_open_session(pam_handle_t *pamh, int flags, \
- int argc, const char **argv);
-version SUNW_1.1
-end
-
-function pam_sm_close_session
-include <security/pam_appl.h>
-declaration int pam_sm_close_session(pam_handle_t *pamh, int flags, \
- int argc, const char **argv);
-version SUNW_1.1
-end
-
-function pam_sm_chauthtok
-include <security/pam_appl.h>
-declaration int pam_sm_chauthtok(pam_handle_t *pamh, int flags, \
- int argc, const char **argv);
-version SUNW_1.1
-end
diff --git a/usr/src/lib/pam_modules/deny/spec/i386/Makefile b/usr/src/lib/pam_modules/deny/spec/i386/Makefile
deleted file mode 100644
index 4aa508a8e9..0000000000
--- a/usr/src/lib/pam_modules/deny/spec/i386/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# usr/src/lib/pam_modules/deny/spec/i386/Makefile
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB)
diff --git a/usr/src/lib/pam_modules/deny/spec/sparc/Makefile b/usr/src/lib/pam_modules/deny/spec/sparc/Makefile
deleted file mode 100644
index e525e68cd0..0000000000
--- a/usr/src/lib/pam_modules/deny/spec/sparc/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# usr/src/lib/pam_modules/deny/spec/sparc/Makefile
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB)
diff --git a/usr/src/lib/pam_modules/deny/spec/sparcv9/Makefile b/usr/src/lib/pam_modules/deny/spec/sparcv9/Makefile
deleted file mode 100644
index 9e02669d7c..0000000000
--- a/usr/src/lib/pam_modules/deny/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,37 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# usr/src/lib/pam_modules/deny/spec/sparcv9/Makefile
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB64)
diff --git a/usr/src/lib/pam_modules/deny/spec/versions b/usr/src/lib/pam_modules/deny/spec/versions
deleted file mode 100644
index 86437cd0a7..0000000000
--- a/usr/src/lib/pam_modules/deny/spec/versions
+++ /dev/null
@@ -1,43 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# usr/src/lib/pam_modules/deny/spec/versions
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-sparc {
- SUNW_1.1;
-}
-
-sparcv9 {
- SUNW_1.1;
-}
-
-i386 {
- SUNW_1.1;
-}
-
-amd64 {
- SUNW_1.1;
-}
diff --git a/usr/src/lib/pam_modules/dhkeys/Makefile b/usr/src/lib/pam_modules/dhkeys/Makefile
index 5b35d37bf0..619aaeb110 100644
--- a/usr/src/lib/pam_modules/dhkeys/Makefile
+++ b/usr/src/lib/pam_modules/dhkeys/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,12 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# usr/src/lib/pam_modules/dhkeys/Makefile
include ../../Makefile.lib
@@ -48,13 +46,11 @@ lint := TARGET= lint
.KEEP_STATE:
-all clean clobber install: spec .WAIT $(SUBDIRS)
-
-lint: $(SUBDIRS)
+all clean clobber install lint: $(SUBDIRS)
_msg: $(MSGDOMAINPOFILE)
-$(SUBDIRS) spec: FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
diff --git a/usr/src/lib/pam_modules/dhkeys/mapfile-vers b/usr/src/lib/pam_modules/dhkeys/mapfile-vers
new file mode 100644
index 0000000000..36e3e8809b
--- /dev/null
+++ b/usr/src/lib/pam_modules/dhkeys/mapfile-vers
@@ -0,0 +1,35 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNW_1.1 {
+ global:
+ pam_sm_authenticate;
+ pam_sm_chauthtok;
+ pam_sm_setcred;
+ local:
+ *;
+};
diff --git a/usr/src/lib/pam_modules/dhkeys/spec/Makefile b/usr/src/lib/pam_modules/dhkeys/spec/Makefile
deleted file mode 100644
index c2b9bcae68..0000000000
--- a/usr/src/lib/pam_modules/dhkeys/spec/Makefile
+++ /dev/null
@@ -1,30 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 2001 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# usr/src/lib/pam_modules/dhkeys/spec/Makefile
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/pam_modules/dhkeys/spec/Makefile.targ b/usr/src/lib/pam_modules/dhkeys/spec/Makefile.targ
deleted file mode 100644
index 2100a711d1..0000000000
--- a/usr/src/lib/pam_modules/dhkeys/spec/Makefile.targ
+++ /dev/null
@@ -1,33 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 2001 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# usr/src/lib/pam_modules/dhkeys/spec/Makefile.targ
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-LIBRARY = pam_dhkeys.a
-VERS = .1
-
-OBJECTS = dhkeys.o
diff --git a/usr/src/lib/pam_modules/dhkeys/spec/amd64/Makefile b/usr/src/lib/pam_modules/dhkeys/spec/amd64/Makefile
deleted file mode 100644
index 6b8107b610..0000000000
--- a/usr/src/lib/pam_modules/dhkeys/spec/amd64/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB)
diff --git a/usr/src/lib/pam_modules/dhkeys/spec/dhkeys.spec b/usr/src/lib/pam_modules/dhkeys/spec/dhkeys.spec
deleted file mode 100644
index d075e6dd1e..0000000000
--- a/usr/src/lib/pam_modules/dhkeys/spec/dhkeys.spec
+++ /dev/null
@@ -1,47 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# usr/src/lib/pam_modules/dhkeys/spec/dhkeys.spec
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-include <security/pam_appl.h>
-
-function pam_sm_authenticate
-declaration int pam_sm_authenticate(pam_handle_t *pamh, int flags, \
- int argc, const char **argv)
-version SUNW_1.1
-end
-
-function pam_sm_setcred
-declaration int pam_sm_setcred(pam_handle_t *pamh, int flags, \
- int argc, const char **argv)
-version SUNW_1.1
-end
-
-function pam_sm_chauthtok
-declaration int pam_sm_chauthtok(pam_handle_t *pamh, int flags, \
- int argc, const char **argv)
-version SUNW_1.1
-end
diff --git a/usr/src/lib/pam_modules/dhkeys/spec/i386/Makefile b/usr/src/lib/pam_modules/dhkeys/spec/i386/Makefile
deleted file mode 100644
index e7550d6b20..0000000000
--- a/usr/src/lib/pam_modules/dhkeys/spec/i386/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# usr/src/lib/pam_modules/dhkeys/spec/i386/Makefile
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB)
diff --git a/usr/src/lib/pam_modules/dhkeys/spec/sparc/Makefile b/usr/src/lib/pam_modules/dhkeys/spec/sparc/Makefile
deleted file mode 100644
index 8e86546e12..0000000000
--- a/usr/src/lib/pam_modules/dhkeys/spec/sparc/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# usr/src/lib/pam_modules/dhkeys/spec/sparc/Makefile
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB)
diff --git a/usr/src/lib/pam_modules/dhkeys/spec/sparcv9/Makefile b/usr/src/lib/pam_modules/dhkeys/spec/sparcv9/Makefile
deleted file mode 100644
index 203cac5e40..0000000000
--- a/usr/src/lib/pam_modules/dhkeys/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# usr/src/lib/pam_modules/dhkeys/spec/sparcv9/Makefile
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB)
diff --git a/usr/src/lib/pam_modules/dhkeys/spec/versions b/usr/src/lib/pam_modules/dhkeys/spec/versions
deleted file mode 100644
index baa02abaef..0000000000
--- a/usr/src/lib/pam_modules/dhkeys/spec/versions
+++ /dev/null
@@ -1,42 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-sparc {
- SUNW_1.1;
-}
-
-sparcv9 {
- SUNW_1.1;
-}
-
-i386 {
- SUNW_1.1;
-}
-
-amd64 {
- SUNW_1.1;
-}
diff --git a/usr/src/lib/pam_modules/dial_auth/Makefile b/usr/src/lib/pam_modules/dial_auth/Makefile
index 5cc75ea69a..bdccadb1e5 100644
--- a/usr/src/lib/pam_modules/dial_auth/Makefile
+++ b/usr/src/lib/pam_modules/dial_auth/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,12 +19,10 @@
# CDDL HEADER END
#
#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# usr/src/lib/pam_modules/dial_auth/Makefile
-#
-#ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
include ../../Makefile.lib
@@ -45,11 +42,11 @@ lint := TARGET= lint
.KEEP_STATE:
-all clean clobber install lint: spec .WAIT $(SUBDIRS)
+all clean clobber install lint: $(SUBDIRS)
_msg: $(MSGDOMAINPOFILE)
-$(SUBDIRS) spec: FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
diff --git a/usr/src/lib/pam_modules/dial_auth/mapfile-vers b/usr/src/lib/pam_modules/dial_auth/mapfile-vers
new file mode 100644
index 0000000000..57327a8593
--- /dev/null
+++ b/usr/src/lib/pam_modules/dial_auth/mapfile-vers
@@ -0,0 +1,34 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNW_1.1 {
+ global:
+ pam_sm_authenticate;
+ pam_sm_setcred;
+ local:
+ *;
+};
diff --git a/usr/src/lib/pam_modules/dial_auth/spec/Makefile b/usr/src/lib/pam_modules/dial_auth/spec/Makefile
deleted file mode 100644
index e358b05836..0000000000
--- a/usr/src/lib/pam_modules/dial_auth/spec/Makefile
+++ /dev/null
@@ -1,30 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# usr/src/lib/pam_modules/dial_auth/spec/Makefile
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/pam_modules/dial_auth/spec/Makefile.targ b/usr/src/lib/pam_modules/dial_auth/spec/Makefile.targ
deleted file mode 100644
index 738ef5c688..0000000000
--- a/usr/src/lib/pam_modules/dial_auth/spec/Makefile.targ
+++ /dev/null
@@ -1,33 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# usr/src/lib/pam_modules/dial_auth/spec/Makefile.targ
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-LIBRARY= pam_dial_auth.a
-VERS= .1
-
-OBJECTS= dial_auth.o
diff --git a/usr/src/lib/pam_modules/dial_auth/spec/amd64/Makefile b/usr/src/lib/pam_modules/dial_auth/spec/amd64/Makefile
deleted file mode 100644
index 6b8107b610..0000000000
--- a/usr/src/lib/pam_modules/dial_auth/spec/amd64/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB)
diff --git a/usr/src/lib/pam_modules/dial_auth/spec/dial_auth.spec b/usr/src/lib/pam_modules/dial_auth/spec/dial_auth.spec
deleted file mode 100644
index 9b81c0fbd4..0000000000
--- a/usr/src/lib/pam_modules/dial_auth/spec/dial_auth.spec
+++ /dev/null
@@ -1,41 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# usr/src/lib/pam_modules/dial_auth/spec/dial_auth.spec
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-include <security/pam_appl.h>
-
-function pam_sm_authenticate
-declaration int pam_sm_authenticate(pam_handle_t *pamh, int flags, \
- int argc, const char **argv)
-version SUNW_1.1
-end
-
-function pam_sm_setcred
-declaration int pam_sm_setcred(pam_handle_t *pamh, int flags, \
- int argc, const char **argv)
-version SUNW_1.1
-end
diff --git a/usr/src/lib/pam_modules/dial_auth/spec/i386/Makefile b/usr/src/lib/pam_modules/dial_auth/spec/i386/Makefile
deleted file mode 100644
index dcf1fb5cba..0000000000
--- a/usr/src/lib/pam_modules/dial_auth/spec/i386/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# usr/src/lib/pam_modules/dial_auth/spec/i386/Makefile
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB)
diff --git a/usr/src/lib/pam_modules/dial_auth/spec/sparc/Makefile b/usr/src/lib/pam_modules/dial_auth/spec/sparc/Makefile
deleted file mode 100644
index 8558f69f80..0000000000
--- a/usr/src/lib/pam_modules/dial_auth/spec/sparc/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# usr/src/lib/pam_modules/dial_auth/spec/sparc/Makefile
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB)
diff --git a/usr/src/lib/pam_modules/dial_auth/spec/sparcv9/Makefile b/usr/src/lib/pam_modules/dial_auth/spec/sparcv9/Makefile
deleted file mode 100644
index a1d2a3ead4..0000000000
--- a/usr/src/lib/pam_modules/dial_auth/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# usr/src/lib/pam_modules/dial_auth/spec/sparcv9/Makefile
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB)
diff --git a/usr/src/lib/pam_modules/dial_auth/spec/versions b/usr/src/lib/pam_modules/dial_auth/spec/versions
deleted file mode 100644
index baa02abaef..0000000000
--- a/usr/src/lib/pam_modules/dial_auth/spec/versions
+++ /dev/null
@@ -1,42 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-sparc {
- SUNW_1.1;
-}
-
-sparcv9 {
- SUNW_1.1;
-}
-
-i386 {
- SUNW_1.1;
-}
-
-amd64 {
- SUNW_1.1;
-}
diff --git a/usr/src/lib/pam_modules/krb5/Makefile b/usr/src/lib/pam_modules/krb5/Makefile
index 2afa6cd681..87724bcd62 100644
--- a/usr/src/lib/pam_modules/krb5/Makefile
+++ b/usr/src/lib/pam_modules/krb5/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,12 +19,10 @@
# CDDL HEADER END
#
#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# usr/src/lib/pam_modules/krb5/Makefile
-#
-#ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
include ../../Makefile.lib
@@ -53,16 +50,14 @@ CRYPT_SRC := TARGET= CRYPT_SRC
.KEEP_STATE:
-all clean clobber install: spec .WAIT $(SUBDIRS)
-
-lint: $(SUBDIRS)
+all clean clobber install lint: $(SUBDIRS)
$(POFILE): $(MSGFILES)
$(BUILDPO.msgfiles)
_msg: $(MSGDOMAINPOFILE)
-$(SUBDIRS) spec: FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
# EXPORT DELETE START
diff --git a/usr/src/lib/pam_modules/krb5/mapfile-vers b/usr/src/lib/pam_modules/krb5/mapfile-vers
new file mode 100644
index 0000000000..4850072e96
--- /dev/null
+++ b/usr/src/lib/pam_modules/krb5/mapfile-vers
@@ -0,0 +1,38 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNW_1.1 {
+ global:
+ pam_sm_acct_mgmt;
+ pam_sm_authenticate;
+ pam_sm_chauthtok;
+ pam_sm_close_session;
+ pam_sm_open_session;
+ pam_sm_setcred;
+ local:
+ *;
+};
diff --git a/usr/src/lib/pam_modules/krb5/spec/Makefile b/usr/src/lib/pam_modules/krb5/spec/Makefile
deleted file mode 100644
index 78cf5890d4..0000000000
--- a/usr/src/lib/pam_modules/krb5/spec/Makefile
+++ /dev/null
@@ -1,30 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# usr/src/lib/pam_modules/krb5/spec/Makefile
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/pam_modules/krb5/spec/Makefile.targ b/usr/src/lib/pam_modules/krb5/spec/Makefile.targ
deleted file mode 100644
index bb25a7d849..0000000000
--- a/usr/src/lib/pam_modules/krb5/spec/Makefile.targ
+++ /dev/null
@@ -1,33 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# usr/src/lib/pam_modules/krb5/spec/Makefile.targ
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-LIBRARY= pam_krb5.a
-VERS= .1
-
-OBJECTS= krb5.o
diff --git a/usr/src/lib/pam_modules/krb5/spec/amd64/Makefile b/usr/src/lib/pam_modules/krb5/spec/amd64/Makefile
deleted file mode 100644
index 6b8107b610..0000000000
--- a/usr/src/lib/pam_modules/krb5/spec/amd64/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB)
diff --git a/usr/src/lib/pam_modules/krb5/spec/i386/Makefile b/usr/src/lib/pam_modules/krb5/spec/i386/Makefile
deleted file mode 100644
index 30a05a08c0..0000000000
--- a/usr/src/lib/pam_modules/krb5/spec/i386/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# usr/src/lib/pam_modules/krb5/spec/i386/Makefile
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB)
diff --git a/usr/src/lib/pam_modules/krb5/spec/krb5.spec b/usr/src/lib/pam_modules/krb5/spec/krb5.spec
deleted file mode 100644
index b6668ed83e..0000000000
--- a/usr/src/lib/pam_modules/krb5/spec/krb5.spec
+++ /dev/null
@@ -1,66 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# usr/src/lib/pam_modules/krb5/spec/krb5.spec
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-include <security/pam_appl.h>
-
-function pam_sm_authenticate
-declaration int pam_sm_authenticate(pam_handle_t *pamh, int flags, \
- int argc, const char **argv)
-version SUNW_1.1
-end
-
-function pam_sm_acct_mgmt
-declaration int pam_sm_acct_mgmt(pam_handle_t *pamh, int flags, \
- int argc, const char **argv)
-version SUNW_1.1
-end
-
-function pam_sm_setcred
-declaration int pam_sm_setcred(pam_handle_t *pamh, int flags, \
- int argc, const char **argv)
-version SUNW_1.1
-end
-
-function pam_sm_open_session
-declaration int pam_sm_open_session(pam_handle_t *pamh, int flags, \
- int argc, const char **argv)
-version SUNW_1.1
-end
-
-function pam_sm_close_session
-declaration int pam_sm_close_session(pam_handle_t *pamh, int flags, \
- int argc, const char **argv)
-version SUNW_1.1
-end
-
-function pam_sm_chauthtok
-declaration int pam_sm_chauthtok(pam_handle_t *pamh, int flags, \
- int argc, const char **argv)
-version SUNW_1.1
-end
-
diff --git a/usr/src/lib/pam_modules/krb5/spec/sparc/Makefile b/usr/src/lib/pam_modules/krb5/spec/sparc/Makefile
deleted file mode 100644
index 7a55cc7dea..0000000000
--- a/usr/src/lib/pam_modules/krb5/spec/sparc/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# usr/src/lib/pam_modules/krb5/spec/sparc/Makefile
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB)
diff --git a/usr/src/lib/pam_modules/krb5/spec/sparcv9/Makefile b/usr/src/lib/pam_modules/krb5/spec/sparcv9/Makefile
deleted file mode 100644
index 8e3b8b55d0..0000000000
--- a/usr/src/lib/pam_modules/krb5/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# usr/src/lib/pam_modules/krb5/spec/sparcv9/Makefile
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB)
diff --git a/usr/src/lib/pam_modules/krb5/spec/versions b/usr/src/lib/pam_modules/krb5/spec/versions
deleted file mode 100644
index baa02abaef..0000000000
--- a/usr/src/lib/pam_modules/krb5/spec/versions
+++ /dev/null
@@ -1,42 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-sparc {
- SUNW_1.1;
-}
-
-sparcv9 {
- SUNW_1.1;
-}
-
-i386 {
- SUNW_1.1;
-}
-
-amd64 {
- SUNW_1.1;
-}
diff --git a/usr/src/lib/pam_modules/krb5_migrate/Makefile b/usr/src/lib/pam_modules/krb5_migrate/Makefile
index 786b1cc911..190282d0bb 100644
--- a/usr/src/lib/pam_modules/krb5_migrate/Makefile
+++ b/usr/src/lib/pam_modules/krb5_migrate/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,13 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# usr/src/lib/pam_modules/krb5_migrate/Makefile
-#
include ../../Makefile.lib
@@ -45,16 +42,14 @@ lint := TARGET= lint
.KEEP_STATE:
-all clean clobber install: spec .WAIT $(SUBDIRS)
-
-lint: $(SUBDIRS)
+all clean clobber install lint: $(SUBDIRS)
$(POFILE): $(MSGFILES)
$(BUILDPO.msgfiles)
_msg: $(MSGDOMAINPOFILE)
-$(SUBDIRS) spec: FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
diff --git a/usr/src/lib/pam_modules/krb5_migrate/mapfile-vers b/usr/src/lib/pam_modules/krb5_migrate/mapfile-vers
new file mode 100644
index 0000000000..57327a8593
--- /dev/null
+++ b/usr/src/lib/pam_modules/krb5_migrate/mapfile-vers
@@ -0,0 +1,34 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNW_1.1 {
+ global:
+ pam_sm_authenticate;
+ pam_sm_setcred;
+ local:
+ *;
+};
diff --git a/usr/src/lib/pam_modules/krb5_migrate/spec/Makefile b/usr/src/lib/pam_modules/krb5_migrate/spec/Makefile
deleted file mode 100644
index 3f6d2c2b4c..0000000000
--- a/usr/src/lib/pam_modules/krb5_migrate/spec/Makefile
+++ /dev/null
@@ -1,30 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# usr/src/lib/pam_modules/krb5_migrate/spec/Makefile
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/pam_modules/krb5_migrate/spec/Makefile.targ b/usr/src/lib/pam_modules/krb5_migrate/spec/Makefile.targ
deleted file mode 100644
index c0c7815b55..0000000000
--- a/usr/src/lib/pam_modules/krb5_migrate/spec/Makefile.targ
+++ /dev/null
@@ -1,33 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# usr/src/lib/pam_modules/krb5_migrate/spec/Makefile.targ
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-LIBRARY= pam_krb5_migrate.a
-VERS= .1
-
-OBJECTS= krb5_migrate.o
diff --git a/usr/src/lib/pam_modules/krb5_migrate/spec/amd64/Makefile b/usr/src/lib/pam_modules/krb5_migrate/spec/amd64/Makefile
deleted file mode 100644
index 30ff120025..0000000000
--- a/usr/src/lib/pam_modules/krb5_migrate/spec/amd64/Makefile
+++ /dev/null
@@ -1,37 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# usr/src/lib/pam_modules/krb5_migrate/spec/i386/Makefile
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB64)
diff --git a/usr/src/lib/pam_modules/krb5_migrate/spec/i386/Makefile b/usr/src/lib/pam_modules/krb5_migrate/spec/i386/Makefile
deleted file mode 100644
index 9f99578d57..0000000000
--- a/usr/src/lib/pam_modules/krb5_migrate/spec/i386/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# usr/src/lib/pam_modules/krb5_migrate/spec/i386/Makefile
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB)
diff --git a/usr/src/lib/pam_modules/krb5_migrate/spec/krb5_migrate.spec b/usr/src/lib/pam_modules/krb5_migrate/spec/krb5_migrate.spec
deleted file mode 100644
index 55bf5e6b90..0000000000
--- a/usr/src/lib/pam_modules/krb5_migrate/spec/krb5_migrate.spec
+++ /dev/null
@@ -1,42 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# usr/src/lib/pam_modules/krb5_migrate/spec/krb5.spec
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-include <security/pam_appl.h>
-
-function pam_sm_authenticate
-declaration int pam_sm_authenticate(pam_handle_t *pamh, int flags, \
- int argc, const char **argv)
-version SUNW_1.1
-end
-
-function pam_sm_setcred
-declaration int pam_sm_setcred(pam_handle_t *pamh, int flags, \
- int argc, const char **argv)
-version SUNW_1.1
-end
diff --git a/usr/src/lib/pam_modules/krb5_migrate/spec/sparc/Makefile b/usr/src/lib/pam_modules/krb5_migrate/spec/sparc/Makefile
deleted file mode 100644
index f01592ff5d..0000000000
--- a/usr/src/lib/pam_modules/krb5_migrate/spec/sparc/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# usr/src/lib/pam_modules/krb5_migrate/spec/sparc/Makefile
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB)
diff --git a/usr/src/lib/pam_modules/krb5_migrate/spec/sparcv9/Makefile b/usr/src/lib/pam_modules/krb5_migrate/spec/sparcv9/Makefile
deleted file mode 100644
index a684828dac..0000000000
--- a/usr/src/lib/pam_modules/krb5_migrate/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,37 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# usr/src/lib/pam_modules/krb5_migrate/spec/sparcv9/Makefile
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB64)
diff --git a/usr/src/lib/pam_modules/krb5_migrate/spec/versions b/usr/src/lib/pam_modules/krb5_migrate/spec/versions
deleted file mode 100644
index 38822b10d4..0000000000
--- a/usr/src/lib/pam_modules/krb5_migrate/spec/versions
+++ /dev/null
@@ -1,43 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# usr/src/lib/pam_modules/krb5_automigrate/spec/versions
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-sparc {
- SUNW_1.1;
-}
-
-sparcv9 {
- SUNW_1.1;
-}
-
-i386 {
- SUNW_1.1;
-}
-
-amd64 {
- SUNW_1.1;
-}
diff --git a/usr/src/lib/pam_modules/ldap/Makefile b/usr/src/lib/pam_modules/ldap/Makefile
index c180e8abc7..4a5995bb82 100644
--- a/usr/src/lib/pam_modules/ldap/Makefile
+++ b/usr/src/lib/pam_modules/ldap/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,12 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# usr/src/lib/pam_modules/ldap/Makefile
-#
# ident "%Z%%M% %I% %E% SMI"
+#
include ../../Makefile.lib
@@ -45,16 +43,14 @@ lint := TARGET= lint
.KEEP_STATE:
-all clean clobber install: spec .WAIT $(SUBDIRS)
-
-lint: $(SUBDIRS)
+all clean clobber install lint: $(SUBDIRS)
$(POFILE): $(MSGFILES)
$(BUILDPO.msgfiles)
_msg: $(MSGDOMAINPOFILE)
-$(SUBDIRS) spec: FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
diff --git a/usr/src/lib/pam_modules/ldap/mapfile-vers b/usr/src/lib/pam_modules/ldap/mapfile-vers
new file mode 100644
index 0000000000..4850072e96
--- /dev/null
+++ b/usr/src/lib/pam_modules/ldap/mapfile-vers
@@ -0,0 +1,38 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNW_1.1 {
+ global:
+ pam_sm_acct_mgmt;
+ pam_sm_authenticate;
+ pam_sm_chauthtok;
+ pam_sm_close_session;
+ pam_sm_open_session;
+ pam_sm_setcred;
+ local:
+ *;
+};
diff --git a/usr/src/lib/pam_modules/ldap/spec/Makefile b/usr/src/lib/pam_modules/ldap/spec/Makefile
deleted file mode 100644
index a503035fb5..0000000000
--- a/usr/src/lib/pam_modules/ldap/spec/Makefile
+++ /dev/null
@@ -1,30 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# usr/src/lib/pam_modules/ldap/spec/Makefile
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/pam_modules/ldap/spec/Makefile.targ b/usr/src/lib/pam_modules/ldap/spec/Makefile.targ
deleted file mode 100644
index 30924ec676..0000000000
--- a/usr/src/lib/pam_modules/ldap/spec/Makefile.targ
+++ /dev/null
@@ -1,33 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# usr/src/lib/pam_modules/ldap/spec/Makefile.targ
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-LIBRARY= pam_ldap.a
-VERS= .1
-
-OBJECTS= ldap.o
diff --git a/usr/src/lib/pam_modules/ldap/spec/amd64/Makefile b/usr/src/lib/pam_modules/ldap/spec/amd64/Makefile
deleted file mode 100644
index 6b8107b610..0000000000
--- a/usr/src/lib/pam_modules/ldap/spec/amd64/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB)
diff --git a/usr/src/lib/pam_modules/ldap/spec/i386/Makefile b/usr/src/lib/pam_modules/ldap/spec/i386/Makefile
deleted file mode 100644
index b7aec962fb..0000000000
--- a/usr/src/lib/pam_modules/ldap/spec/i386/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# usr/src/lib/pam_modules/ldap/spec/i386/Makefile
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB)
diff --git a/usr/src/lib/pam_modules/ldap/spec/ldap.spec b/usr/src/lib/pam_modules/ldap/spec/ldap.spec
deleted file mode 100644
index 66aabbedb7..0000000000
--- a/usr/src/lib/pam_modules/ldap/spec/ldap.spec
+++ /dev/null
@@ -1,66 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# usr/src/lib/pam_modules/ldap/spec/ldap.spec
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-include <security/pam_appl.h>
-
-function pam_sm_authenticate
-declaration int pam_sm_authenticate(pam_handle_t *pamh, int flags, \
- int argc, const char **argv)
-version SUNW_1.1
-end
-
-function pam_sm_acct_mgmt
-declaration int pam_sm_acct_mgmt(pam_handle_t *pamh, int flags, \
- int argc, const char **argv)
-version SUNW_1.1
-end
-
-function pam_sm_setcred
-declaration int pam_sm_setcred(pam_handle_t *pamh, int flags, \
- int argc, const char **argv)
-version SUNW_1.1
-end
-
-function pam_sm_open_session
-declaration int pam_sm_open_session(pam_handle_t *pamh, int flags, \
- int argc, const char **argv)
-version SUNW_1.1
-end
-
-function pam_sm_close_session
-declaration int pam_sm_close_session(pam_handle_t *pamh, int flags, \
- int argc, const char **argv)
-version SUNW_1.1
-end
-
-function pam_sm_chauthtok
-declaration int pam_sm_chauthtok(pam_handle_t *pamh, int flags, \
- int argc, const char **argv)
-version SUNW_1.1
-end
-
diff --git a/usr/src/lib/pam_modules/ldap/spec/sparc/Makefile b/usr/src/lib/pam_modules/ldap/spec/sparc/Makefile
deleted file mode 100644
index 1991300fff..0000000000
--- a/usr/src/lib/pam_modules/ldap/spec/sparc/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# usr/src/lib/pam_modules/ldap/spec/sparc/Makefile
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB)
diff --git a/usr/src/lib/pam_modules/ldap/spec/sparcv9/Makefile b/usr/src/lib/pam_modules/ldap/spec/sparcv9/Makefile
deleted file mode 100644
index dafeb15500..0000000000
--- a/usr/src/lib/pam_modules/ldap/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# usr/src/lib/pam_modules/ldap/spec/sparcv9/Makefile
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB)
diff --git a/usr/src/lib/pam_modules/ldap/spec/versions b/usr/src/lib/pam_modules/ldap/spec/versions
deleted file mode 100644
index baa02abaef..0000000000
--- a/usr/src/lib/pam_modules/ldap/spec/versions
+++ /dev/null
@@ -1,42 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-sparc {
- SUNW_1.1;
-}
-
-sparcv9 {
- SUNW_1.1;
-}
-
-i386 {
- SUNW_1.1;
-}
-
-amd64 {
- SUNW_1.1;
-}
diff --git a/usr/src/lib/pam_modules/passwd_auth/Makefile b/usr/src/lib/pam_modules/passwd_auth/Makefile
index ee47780cac..b93feb4aa8 100644
--- a/usr/src/lib/pam_modules/passwd_auth/Makefile
+++ b/usr/src/lib/pam_modules/passwd_auth/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,13 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# usr/src/lib/pam_modules/passwd_auth/Makefile
-#
include ../../Makefile.lib
@@ -45,13 +42,11 @@ lint := TARGET= lint
.KEEP_STATE:
-all clean clobber install: spec .WAIT $(SUBDIRS)
-
-lint: $(SUBDIRS)
+all clean clobber install lint: $(SUBDIRS)
_msg: $(MSGDOMAINPOFILE)
-$(SUBDIRS) spec: FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
diff --git a/usr/src/lib/pam_modules/passwd_auth/mapfile-vers b/usr/src/lib/pam_modules/passwd_auth/mapfile-vers
new file mode 100644
index 0000000000..57327a8593
--- /dev/null
+++ b/usr/src/lib/pam_modules/passwd_auth/mapfile-vers
@@ -0,0 +1,34 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNW_1.1 {
+ global:
+ pam_sm_authenticate;
+ pam_sm_setcred;
+ local:
+ *;
+};
diff --git a/usr/src/lib/pam_modules/passwd_auth/spec/Makefile b/usr/src/lib/pam_modules/passwd_auth/spec/Makefile
deleted file mode 100644
index 79cb185378..0000000000
--- a/usr/src/lib/pam_modules/passwd_auth/spec/Makefile
+++ /dev/null
@@ -1,30 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 2001 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# usr/src/lib/pam_modules/passwd_auth/spec/Makefile
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/pam_modules/passwd_auth/spec/Makefile.targ b/usr/src/lib/pam_modules/passwd_auth/spec/Makefile.targ
deleted file mode 100644
index c1c4122c58..0000000000
--- a/usr/src/lib/pam_modules/passwd_auth/spec/Makefile.targ
+++ /dev/null
@@ -1,33 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# usr/src/lib/pam_modules/passwd_auth/spec/Makefile.targ
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-LIBRARY = pam_passwd_auth.a
-VERS = .1
-
-OBJECTS = passwd_auth.o
diff --git a/usr/src/lib/pam_modules/passwd_auth/spec/amd64/Makefile b/usr/src/lib/pam_modules/passwd_auth/spec/amd64/Makefile
deleted file mode 100644
index 6b8107b610..0000000000
--- a/usr/src/lib/pam_modules/passwd_auth/spec/amd64/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB)
diff --git a/usr/src/lib/pam_modules/passwd_auth/spec/i386/Makefile b/usr/src/lib/pam_modules/passwd_auth/spec/i386/Makefile
deleted file mode 100644
index 89a7a9d348..0000000000
--- a/usr/src/lib/pam_modules/passwd_auth/spec/i386/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# usr/src/lib/pam_modules/passwd_auth/spec/i386/Makefile
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB)
diff --git a/usr/src/lib/pam_modules/passwd_auth/spec/passwd_auth.spec b/usr/src/lib/pam_modules/passwd_auth/spec/passwd_auth.spec
deleted file mode 100644
index 51d61f0aa3..0000000000
--- a/usr/src/lib/pam_modules/passwd_auth/spec/passwd_auth.spec
+++ /dev/null
@@ -1,41 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# usr/src/lib/pam_modules/passwd_auth/spec/passwd_auth.spec
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-include <security/pam_appl.h>
-
-function pam_sm_authenticate
-declaration int pam_sm_authenticate(pam_handle_t *pamh, int flags, \
- int argc, const char **argv)
-version SUNW_1.1
-end
-
-function pam_sm_setcred
-declaration int pam_sm_setcred(pam_handle_t *pamh, int flags, \
- int argc, const char **argv)
-version SUNW_1.1
-end
diff --git a/usr/src/lib/pam_modules/passwd_auth/spec/sparc/Makefile b/usr/src/lib/pam_modules/passwd_auth/spec/sparc/Makefile
deleted file mode 100644
index 49d1b367f3..0000000000
--- a/usr/src/lib/pam_modules/passwd_auth/spec/sparc/Makefile
+++ /dev/null
@@ -1,37 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# usr/src/lib/pam_modules/passwd_auth/spec/sparc/Makefile
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB)
diff --git a/usr/src/lib/pam_modules/passwd_auth/spec/sparcv9/Makefile b/usr/src/lib/pam_modules/passwd_auth/spec/sparcv9/Makefile
deleted file mode 100644
index a3ba433d4b..0000000000
--- a/usr/src/lib/pam_modules/passwd_auth/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# usr/src/lib/pam_modules/passwd_auth/spec/sparcv9/Makefile
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB)
diff --git a/usr/src/lib/pam_modules/passwd_auth/spec/versions b/usr/src/lib/pam_modules/passwd_auth/spec/versions
deleted file mode 100644
index baa02abaef..0000000000
--- a/usr/src/lib/pam_modules/passwd_auth/spec/versions
+++ /dev/null
@@ -1,42 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-sparc {
- SUNW_1.1;
-}
-
-sparcv9 {
- SUNW_1.1;
-}
-
-i386 {
- SUNW_1.1;
-}
-
-amd64 {
- SUNW_1.1;
-}
diff --git a/usr/src/lib/pam_modules/projects/Makefile b/usr/src/lib/pam_modules/projects/Makefile
index 759300fe8d..3c645684dc 100644
--- a/usr/src/lib/pam_modules/projects/Makefile
+++ b/usr/src/lib/pam_modules/projects/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,12 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# usr/src/lib/pam_modules/projects/Makefile
+# ident "%Z%%M% %I% %E% SMI"
#
-#ident "%Z%%M% %I% %E% SMI"
include ../../Makefile.lib
@@ -40,13 +38,11 @@ lint := TARGET= lint
.KEEP_STATE:
-all clean install: spec .WAIT $(SUBDIRS)
-
-lint: $(SUBDIRS)
+all clean clobber install lint: $(SUBDIRS)
_msg:
-$(SUBDIRS) spec: FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
diff --git a/usr/src/lib/pam_modules/projects/mapfile-vers b/usr/src/lib/pam_modules/projects/mapfile-vers
new file mode 100644
index 0000000000..7d83091a21
--- /dev/null
+++ b/usr/src/lib/pam_modules/projects/mapfile-vers
@@ -0,0 +1,33 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNW_1.1 {
+ global:
+ pam_sm_acct_mgmt;
+ local:
+ *;
+};
diff --git a/usr/src/lib/pam_modules/projects/spec/Makefile b/usr/src/lib/pam_modules/projects/spec/Makefile
deleted file mode 100644
index 6351b60428..0000000000
--- a/usr/src/lib/pam_modules/projects/spec/Makefile
+++ /dev/null
@@ -1,30 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# usr/src/lib/pam_modules/projects/spec/Makefile
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/pam_modules/projects/spec/Makefile.targ b/usr/src/lib/pam_modules/projects/spec/Makefile.targ
deleted file mode 100644
index 72666d9431..0000000000
--- a/usr/src/lib/pam_modules/projects/spec/Makefile.targ
+++ /dev/null
@@ -1,33 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# usr/src/lib/pam_modules/projects/spec/Makefile.targ
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-LIBRARY = pam_projects.a
-VERS = .1
-
-OBJECTS = projects.o
diff --git a/usr/src/lib/pam_modules/projects/spec/amd64/Makefile b/usr/src/lib/pam_modules/projects/spec/amd64/Makefile
deleted file mode 100644
index 6b8107b610..0000000000
--- a/usr/src/lib/pam_modules/projects/spec/amd64/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB)
diff --git a/usr/src/lib/pam_modules/projects/spec/i386/Makefile b/usr/src/lib/pam_modules/projects/spec/i386/Makefile
deleted file mode 100644
index 040c3d6731..0000000000
--- a/usr/src/lib/pam_modules/projects/spec/i386/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# usr/src/lib/pam_modules/projects/spec/i386/Makefile
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB)
diff --git a/usr/src/lib/pam_modules/projects/spec/projects.spec b/usr/src/lib/pam_modules/projects/spec/projects.spec
deleted file mode 100644
index c00b8a317e..0000000000
--- a/usr/src/lib/pam_modules/projects/spec/projects.spec
+++ /dev/null
@@ -1,35 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# usr/src/lib/pam_modules/projects/spec/projects.spec
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-include <security/pam_appl.h>
-
-function pam_sm_acct_mgmt
-declaration int pam_sm_acct_mgmt(pam_handle_t *pamh, int flags, \
- int argc, const char **argv)
-version SUNW_1.1
-end
diff --git a/usr/src/lib/pam_modules/projects/spec/sparc/Makefile b/usr/src/lib/pam_modules/projects/spec/sparc/Makefile
deleted file mode 100644
index 5a0d05ce20..0000000000
--- a/usr/src/lib/pam_modules/projects/spec/sparc/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# usr/src/lib/pam_modules/projects/spec/sparc/Makefile
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB)
diff --git a/usr/src/lib/pam_modules/projects/spec/sparcv9/Makefile b/usr/src/lib/pam_modules/projects/spec/sparcv9/Makefile
deleted file mode 100644
index 44ce2c1cff..0000000000
--- a/usr/src/lib/pam_modules/projects/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# usr/src/lib/pam_modules/projects/spec/sparcv9/Makefile
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB)
diff --git a/usr/src/lib/pam_modules/projects/spec/versions b/usr/src/lib/pam_modules/projects/spec/versions
deleted file mode 100644
index baa02abaef..0000000000
--- a/usr/src/lib/pam_modules/projects/spec/versions
+++ /dev/null
@@ -1,42 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-sparc {
- SUNW_1.1;
-}
-
-sparcv9 {
- SUNW_1.1;
-}
-
-i386 {
- SUNW_1.1;
-}
-
-amd64 {
- SUNW_1.1;
-}
diff --git a/usr/src/lib/pam_modules/rhosts_auth/Makefile b/usr/src/lib/pam_modules/rhosts_auth/Makefile
index 508e312a48..f37449cda6 100644
--- a/usr/src/lib/pam_modules/rhosts_auth/Makefile
+++ b/usr/src/lib/pam_modules/rhosts_auth/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,12 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# usr/src/lib/pam_modules/rhosts_auth/Makefile
+# ident "%Z%%M% %I% %E% SMI"
#
-#ident "%Z%%M% %I% %E% SMI"
include ../../Makefile.lib
@@ -44,13 +42,11 @@ lint := TARGET= lint
.KEEP_STATE:
-all clean clobber install: spec .WAIT $(SUBDIRS)
-
-lint: $(SUBDIRS)
+all clean clobber install lint: $(SUBDIRS)
_msg: $(MSGDOMAINPOFILE)
-$(SUBDIRS) spec: FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
diff --git a/usr/src/lib/pam_modules/rhosts_auth/mapfile-vers b/usr/src/lib/pam_modules/rhosts_auth/mapfile-vers
new file mode 100644
index 0000000000..57327a8593
--- /dev/null
+++ b/usr/src/lib/pam_modules/rhosts_auth/mapfile-vers
@@ -0,0 +1,34 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNW_1.1 {
+ global:
+ pam_sm_authenticate;
+ pam_sm_setcred;
+ local:
+ *;
+};
diff --git a/usr/src/lib/pam_modules/rhosts_auth/spec/Makefile b/usr/src/lib/pam_modules/rhosts_auth/spec/Makefile
deleted file mode 100644
index ea4e4faa6c..0000000000
--- a/usr/src/lib/pam_modules/rhosts_auth/spec/Makefile
+++ /dev/null
@@ -1,30 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# usr/src/lib/pam_modules/rhosts_auth/spec/Makefile
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/pam_modules/rhosts_auth/spec/Makefile.targ b/usr/src/lib/pam_modules/rhosts_auth/spec/Makefile.targ
deleted file mode 100644
index 7bb217e204..0000000000
--- a/usr/src/lib/pam_modules/rhosts_auth/spec/Makefile.targ
+++ /dev/null
@@ -1,33 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# usr/src/lib/pam_modules/rhosts_auth/spec/Makefile.targ
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-LIBRARY= pam_rhosts_auth.a
-VERS= .1
-
-OBJECTS= rhosts_auth.o
diff --git a/usr/src/lib/pam_modules/rhosts_auth/spec/amd64/Makefile b/usr/src/lib/pam_modules/rhosts_auth/spec/amd64/Makefile
deleted file mode 100644
index 6b8107b610..0000000000
--- a/usr/src/lib/pam_modules/rhosts_auth/spec/amd64/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB)
diff --git a/usr/src/lib/pam_modules/rhosts_auth/spec/i386/Makefile b/usr/src/lib/pam_modules/rhosts_auth/spec/i386/Makefile
deleted file mode 100644
index e5a1977732..0000000000
--- a/usr/src/lib/pam_modules/rhosts_auth/spec/i386/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# usr/src/lib/pam_modules/rhosts_auth/spec/i386/Makefile
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB)
diff --git a/usr/src/lib/pam_modules/rhosts_auth/spec/rhosts_auth.spec b/usr/src/lib/pam_modules/rhosts_auth/spec/rhosts_auth.spec
deleted file mode 100644
index 41b84d8d10..0000000000
--- a/usr/src/lib/pam_modules/rhosts_auth/spec/rhosts_auth.spec
+++ /dev/null
@@ -1,41 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# usr/src/lib/pam_modules/ldap/spec/ldap.spec
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-include <security/pam_appl.h>
-
-function pam_sm_authenticate
-declaration int pam_sm_authenticate(pam_handle_t *pamh, int flags, \
- int argc, const char **argv)
-version SUNW_1.1
-end
-
-function pam_sm_setcred
-declaration int pam_sm_setcred(pam_handle_t *pamh, int flags, \
- int argc, const char **argv)
-version SUNW_1.1
-end
diff --git a/usr/src/lib/pam_modules/rhosts_auth/spec/sparc/Makefile b/usr/src/lib/pam_modules/rhosts_auth/spec/sparc/Makefile
deleted file mode 100644
index a16881ffde..0000000000
--- a/usr/src/lib/pam_modules/rhosts_auth/spec/sparc/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# usr/src/lib/pam_modules/rhosts_auth/spec/sparc/Makefile
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB)
diff --git a/usr/src/lib/pam_modules/rhosts_auth/spec/sparcv9/Makefile b/usr/src/lib/pam_modules/rhosts_auth/spec/sparcv9/Makefile
deleted file mode 100644
index 20dabcf9b1..0000000000
--- a/usr/src/lib/pam_modules/rhosts_auth/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# usr/src/lib/pam_modules/rhosts_auth/spec/sparcv9/Makefile
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB)
diff --git a/usr/src/lib/pam_modules/rhosts_auth/spec/versions b/usr/src/lib/pam_modules/rhosts_auth/spec/versions
deleted file mode 100644
index baa02abaef..0000000000
--- a/usr/src/lib/pam_modules/rhosts_auth/spec/versions
+++ /dev/null
@@ -1,42 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-sparc {
- SUNW_1.1;
-}
-
-sparcv9 {
- SUNW_1.1;
-}
-
-i386 {
- SUNW_1.1;
-}
-
-amd64 {
- SUNW_1.1;
-}
diff --git a/usr/src/lib/pam_modules/roles/Makefile b/usr/src/lib/pam_modules/roles/Makefile
index feb5226b3b..1851f68225 100644
--- a/usr/src/lib/pam_modules/roles/Makefile
+++ b/usr/src/lib/pam_modules/roles/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,10 +19,10 @@
# CDDL HEADER END
#
#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
include ../../Makefile.lib
@@ -43,13 +42,11 @@ lint := TARGET= lint
.KEEP_STATE:
-all clean clobber install: spec .WAIT $(SUBDIRS)
-
-lint: $(SUBDIRS)
+all clean clobber install lint: $(SUBDIRS)
_msg: $(MSGDOMAINPOFILE)
-$(SUBDIRS) spec: FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
diff --git a/usr/src/lib/pam_modules/roles/mapfile-vers b/usr/src/lib/pam_modules/roles/mapfile-vers
new file mode 100644
index 0000000000..7d83091a21
--- /dev/null
+++ b/usr/src/lib/pam_modules/roles/mapfile-vers
@@ -0,0 +1,33 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNW_1.1 {
+ global:
+ pam_sm_acct_mgmt;
+ local:
+ *;
+};
diff --git a/usr/src/lib/pam_modules/roles/spec/Makefile b/usr/src/lib/pam_modules/roles/spec/Makefile
deleted file mode 100644
index cbb31d34cf..0000000000
--- a/usr/src/lib/pam_modules/roles/spec/Makefile
+++ /dev/null
@@ -1,30 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# usr/src/lib/pam_modules/roles/spec/Makefile
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/pam_modules/roles/spec/Makefile.targ b/usr/src/lib/pam_modules/roles/spec/Makefile.targ
deleted file mode 100644
index 562f10a02f..0000000000
--- a/usr/src/lib/pam_modules/roles/spec/Makefile.targ
+++ /dev/null
@@ -1,33 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# usr/src/lib/pam_modules/roles/spec/Makefile.targ
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-LIBRARY= pam_roles.a
-VERS= .1
-
-OBJECTS= roles.o
diff --git a/usr/src/lib/pam_modules/roles/spec/amd64/Makefile b/usr/src/lib/pam_modules/roles/spec/amd64/Makefile
deleted file mode 100644
index 6b8107b610..0000000000
--- a/usr/src/lib/pam_modules/roles/spec/amd64/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB)
diff --git a/usr/src/lib/pam_modules/roles/spec/i386/Makefile b/usr/src/lib/pam_modules/roles/spec/i386/Makefile
deleted file mode 100644
index d9b96f3f90..0000000000
--- a/usr/src/lib/pam_modules/roles/spec/i386/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# usr/src/lib/pam_modules/roles/spec/i386/Makefile
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB)
diff --git a/usr/src/lib/pam_modules/roles/spec/roles.spec b/usr/src/lib/pam_modules/roles/spec/roles.spec
deleted file mode 100644
index f1cfc03604..0000000000
--- a/usr/src/lib/pam_modules/roles/spec/roles.spec
+++ /dev/null
@@ -1,35 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# usr/src/lib/pam_modules/roles/spec/roles.spec
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-include <security/pam_appl.h>
-
-function pam_sm_acct_mgmt
-declaration int pam_sm_acct_mgmt(pam_handle_t *pamh, int flags, \
- int argc, const char **argv)
-version SUNW_1.1
-end
diff --git a/usr/src/lib/pam_modules/roles/spec/sparc/Makefile b/usr/src/lib/pam_modules/roles/spec/sparc/Makefile
deleted file mode 100644
index 372ce8e986..0000000000
--- a/usr/src/lib/pam_modules/roles/spec/sparc/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# usr/src/lib/pam_modules/roles/spec/sparc/Makefile
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB)
diff --git a/usr/src/lib/pam_modules/roles/spec/sparcv9/Makefile b/usr/src/lib/pam_modules/roles/spec/sparcv9/Makefile
deleted file mode 100644
index 6c69c45b7c..0000000000
--- a/usr/src/lib/pam_modules/roles/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# usr/src/lib/pam_modules/roles/spec/sparcv9/Makefile
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB)
diff --git a/usr/src/lib/pam_modules/roles/spec/versions b/usr/src/lib/pam_modules/roles/spec/versions
deleted file mode 100644
index baa02abaef..0000000000
--- a/usr/src/lib/pam_modules/roles/spec/versions
+++ /dev/null
@@ -1,42 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-sparc {
- SUNW_1.1;
-}
-
-sparcv9 {
- SUNW_1.1;
-}
-
-i386 {
- SUNW_1.1;
-}
-
-amd64 {
- SUNW_1.1;
-}
diff --git a/usr/src/lib/pam_modules/sample/Makefile b/usr/src/lib/pam_modules/sample/Makefile
index f6903b407e..c9a7427362 100644
--- a/usr/src/lib/pam_modules/sample/Makefile
+++ b/usr/src/lib/pam_modules/sample/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,12 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# usr/src/lib/pam_modules/sample/Makefile
+# ident "%Z%%M% %I% %E% SMI"
#
-#ident "%Z%%M% %I% %E% SMI"
include ../../Makefile.lib
@@ -44,13 +42,11 @@ lint := TARGET= lint
.KEEP_STATE:
-all clean clobber install: spec .WAIT $(SUBDIRS)
-
-lint: $(SUBDIRS)
+all clean clobber install lint: $(SUBDIRS)
_msg: $(MSGDOMAINPOFILE)
-$(SUBDIRS) spec: FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
diff --git a/usr/src/lib/pam_modules/sample/mapfile-vers b/usr/src/lib/pam_modules/sample/mapfile-vers
new file mode 100644
index 0000000000..4850072e96
--- /dev/null
+++ b/usr/src/lib/pam_modules/sample/mapfile-vers
@@ -0,0 +1,38 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNW_1.1 {
+ global:
+ pam_sm_acct_mgmt;
+ pam_sm_authenticate;
+ pam_sm_chauthtok;
+ pam_sm_close_session;
+ pam_sm_open_session;
+ pam_sm_setcred;
+ local:
+ *;
+};
diff --git a/usr/src/lib/pam_modules/sample/spec/Makefile b/usr/src/lib/pam_modules/sample/spec/Makefile
deleted file mode 100644
index a666a1e264..0000000000
--- a/usr/src/lib/pam_modules/sample/spec/Makefile
+++ /dev/null
@@ -1,30 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# usr/src/lib/pam_modules/sample/spec/Makefile
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/pam_modules/sample/spec/Makefile.targ b/usr/src/lib/pam_modules/sample/spec/Makefile.targ
deleted file mode 100644
index f2e8bcaeac..0000000000
--- a/usr/src/lib/pam_modules/sample/spec/Makefile.targ
+++ /dev/null
@@ -1,33 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# usr/src/lib/pam_modules/sample/spec/Makefile.targ
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-LIBRARY= pam_sample.a
-VERS= .1
-
-OBJECTS= sample.o
diff --git a/usr/src/lib/pam_modules/sample/spec/amd64/Makefile b/usr/src/lib/pam_modules/sample/spec/amd64/Makefile
deleted file mode 100644
index 6b8107b610..0000000000
--- a/usr/src/lib/pam_modules/sample/spec/amd64/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB)
diff --git a/usr/src/lib/pam_modules/sample/spec/i386/Makefile b/usr/src/lib/pam_modules/sample/spec/i386/Makefile
deleted file mode 100644
index e2058c279f..0000000000
--- a/usr/src/lib/pam_modules/sample/spec/i386/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# usr/src/lib/pam_modules/sample/spec/i386/Makefile
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB)
diff --git a/usr/src/lib/pam_modules/sample/spec/sample.spec b/usr/src/lib/pam_modules/sample/spec/sample.spec
deleted file mode 100644
index 6a39e529e7..0000000000
--- a/usr/src/lib/pam_modules/sample/spec/sample.spec
+++ /dev/null
@@ -1,66 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# usr/src/lib/pam_modules/sample/spec/sample.spec
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-include <security/pam_appl.h>
-
-function pam_sm_authenticate
-declaration int pam_sm_authenticate(pam_handle_t *pamh, int flags, \
- int argc, const char **argv)
-version SUNW_1.1
-end
-
-function pam_sm_acct_mgmt
-declaration int pam_sm_acct_mgmt(pam_handle_t *pamh, int flags, \
- int argc, const char **argv)
-version SUNW_1.1
-end
-
-function pam_sm_setcred
-declaration int pam_sm_setcred(pam_handle_t *pamh, int flags, \
- int argc, const char **argv)
-version SUNW_1.1
-end
-
-function pam_sm_open_session
-declaration int pam_sm_open_session(pam_handle_t *pamh, int flags, \
- int argc, const char **argv)
-version SUNW_1.1
-end
-
-function pam_sm_close_session
-declaration int pam_sm_close_session(pam_handle_t *pamh, int flags, \
- int argc, const char **argv)
-version SUNW_1.1
-end
-
-function pam_sm_chauthtok
-declaration int pam_sm_chauthtok(pam_handle_t *pamh, int flags, \
- int argc, const char **argv)
-version SUNW_1.1
-end
-
diff --git a/usr/src/lib/pam_modules/sample/spec/sparc/Makefile b/usr/src/lib/pam_modules/sample/spec/sparc/Makefile
deleted file mode 100644
index 2a136d65a3..0000000000
--- a/usr/src/lib/pam_modules/sample/spec/sparc/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# usr/src/lib/pam_modules/sample/spec/sparc/Makefile
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB)
diff --git a/usr/src/lib/pam_modules/sample/spec/sparcv9/Makefile b/usr/src/lib/pam_modules/sample/spec/sparcv9/Makefile
deleted file mode 100644
index 5ec0529fe6..0000000000
--- a/usr/src/lib/pam_modules/sample/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# usr/src/lib/pam_modules/sample/spec/sparcv9/Makefile
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB)
diff --git a/usr/src/lib/pam_modules/sample/spec/versions b/usr/src/lib/pam_modules/sample/spec/versions
deleted file mode 100644
index baa02abaef..0000000000
--- a/usr/src/lib/pam_modules/sample/spec/versions
+++ /dev/null
@@ -1,42 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-sparc {
- SUNW_1.1;
-}
-
-sparcv9 {
- SUNW_1.1;
-}
-
-i386 {
- SUNW_1.1;
-}
-
-amd64 {
- SUNW_1.1;
-}
diff --git a/usr/src/lib/pam_modules/unix_account/Makefile b/usr/src/lib/pam_modules/unix_account/Makefile
index 1aa11f2e60..7870eaa9b2 100644
--- a/usr/src/lib/pam_modules/unix_account/Makefile
+++ b/usr/src/lib/pam_modules/unix_account/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,13 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# usr/src/lib/pam_modules/unix_account/Makefile
-#
include ../../Makefile.lib
@@ -45,9 +42,7 @@ lint := TARGET= lint
.KEEP_STATE:
-all clean clobber install: spec .WAIT $(SUBDIRS)
-
-lint: $(SUBDIRS)
+all clean clobber install lint: $(SUBDIRS)
# need rule here
$(POFILE): $(MSGFILES)
@@ -55,7 +50,7 @@ $(POFILE): $(MSGFILES)
_msg: $(MSGDOMAINPOFILE)
-$(SUBDIRS) spec: FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
diff --git a/usr/src/lib/pam_modules/unix_account/mapfile-vers b/usr/src/lib/pam_modules/unix_account/mapfile-vers
new file mode 100644
index 0000000000..7d83091a21
--- /dev/null
+++ b/usr/src/lib/pam_modules/unix_account/mapfile-vers
@@ -0,0 +1,33 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNW_1.1 {
+ global:
+ pam_sm_acct_mgmt;
+ local:
+ *;
+};
diff --git a/usr/src/lib/pam_modules/unix_account/spec/Makefile b/usr/src/lib/pam_modules/unix_account/spec/Makefile
deleted file mode 100644
index 3395e6bf35..0000000000
--- a/usr/src/lib/pam_modules/unix_account/spec/Makefile
+++ /dev/null
@@ -1,30 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 2001 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# usr/src/lib/pam_modules/unix_account/spec/Makefile
-#
-# ident "%Z%%M% %I% %E% SMI"
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/pam_modules/unix_account/spec/Makefile.targ b/usr/src/lib/pam_modules/unix_account/spec/Makefile.targ
deleted file mode 100644
index 9f64270db4..0000000000
--- a/usr/src/lib/pam_modules/unix_account/spec/Makefile.targ
+++ /dev/null
@@ -1,33 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 2001 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# usr/src/lib/pam_modules/unix_account/spec/Makefile.targ
-#
-# ident "%Z%%M% %I% %E% SMI"
-
-LIBRARY = pam_unix_account.a
-VERS = .1
-
-OBJECTS = unix_account.o
diff --git a/usr/src/lib/pam_modules/unix_account/spec/amd64/Makefile b/usr/src/lib/pam_modules/unix_account/spec/amd64/Makefile
deleted file mode 100644
index 6b8107b610..0000000000
--- a/usr/src/lib/pam_modules/unix_account/spec/amd64/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB)
diff --git a/usr/src/lib/pam_modules/unix_account/spec/i386/Makefile b/usr/src/lib/pam_modules/unix_account/spec/i386/Makefile
deleted file mode 100644
index 9fc269f4a8..0000000000
--- a/usr/src/lib/pam_modules/unix_account/spec/i386/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# usr/src/lib/pam_modules/unix_account/spec/i386/Makefile
-#
-# ident "%Z%%M% %I% %E% SMI"
-
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB)
diff --git a/usr/src/lib/pam_modules/unix_account/spec/sparc/Makefile b/usr/src/lib/pam_modules/unix_account/spec/sparc/Makefile
deleted file mode 100644
index 92772b52f5..0000000000
--- a/usr/src/lib/pam_modules/unix_account/spec/sparc/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# usr/src/lib/pam_modules/unix_account/spec/sparc/Makefile
-#
-# ident "%Z%%M% %I% %E% SMI"
-
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB)
diff --git a/usr/src/lib/pam_modules/unix_account/spec/sparcv9/Makefile b/usr/src/lib/pam_modules/unix_account/spec/sparcv9/Makefile
deleted file mode 100644
index f5b732ff4e..0000000000
--- a/usr/src/lib/pam_modules/unix_account/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# usr/src/lib/pam_modules/unix_account/spec/sparcv9/Makefile
-#
-# ident "%Z%%M% %I% %E% SMI"
-
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB)
diff --git a/usr/src/lib/pam_modules/unix_account/spec/unix_account.spec b/usr/src/lib/pam_modules/unix_account/spec/unix_account.spec
deleted file mode 100644
index ed7253841d..0000000000
--- a/usr/src/lib/pam_modules/unix_account/spec/unix_account.spec
+++ /dev/null
@@ -1,35 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# usr/src/lib/pam_modules/unix_account/spec/unix_account.spec
-#
-# ident "%Z%%M% %I% %E% SMI"
-
-include <security/pam_appl.h>
-
-function pam_sm_acct_mgmt
-declaration int pam_sm_acct_mgmt(pam_handle_t *pamh, int flags, \
- int argc, const char **argv)
-version SUNW_1.1
-end
diff --git a/usr/src/lib/pam_modules/unix_account/spec/versions b/usr/src/lib/pam_modules/unix_account/spec/versions
deleted file mode 100644
index baa02abaef..0000000000
--- a/usr/src/lib/pam_modules/unix_account/spec/versions
+++ /dev/null
@@ -1,42 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-sparc {
- SUNW_1.1;
-}
-
-sparcv9 {
- SUNW_1.1;
-}
-
-i386 {
- SUNW_1.1;
-}
-
-amd64 {
- SUNW_1.1;
-}
diff --git a/usr/src/lib/pam_modules/unix_auth/Makefile b/usr/src/lib/pam_modules/unix_auth/Makefile
index 63e0895743..7379dc399b 100644
--- a/usr/src/lib/pam_modules/unix_auth/Makefile
+++ b/usr/src/lib/pam_modules/unix_auth/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,12 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# usr/src/lib/pam_modules/unix_auth/Makefile
-#
# ident "%Z%%M% %I% %E% SMI"
+#
include ../../Makefile.lib
@@ -44,13 +42,11 @@ lint := TARGET= lint
.KEEP_STATE:
-all clean clobber install: spec .WAIT $(SUBDIRS)
-
-lint: $(SUBDIRS)
+all clean clobber install lint: $(SUBDIRS)
_msg: $(MSGDOMAINPOFILE)
-$(SUBDIRS) spec: FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
diff --git a/usr/src/lib/pam_modules/unix_auth/mapfile-vers b/usr/src/lib/pam_modules/unix_auth/mapfile-vers
new file mode 100644
index 0000000000..57327a8593
--- /dev/null
+++ b/usr/src/lib/pam_modules/unix_auth/mapfile-vers
@@ -0,0 +1,34 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNW_1.1 {
+ global:
+ pam_sm_authenticate;
+ pam_sm_setcred;
+ local:
+ *;
+};
diff --git a/usr/src/lib/pam_modules/unix_auth/spec/Makefile b/usr/src/lib/pam_modules/unix_auth/spec/Makefile
deleted file mode 100644
index c846a17962..0000000000
--- a/usr/src/lib/pam_modules/unix_auth/spec/Makefile
+++ /dev/null
@@ -1,30 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 2001 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# usr/src/lib/pam_modules/unix_auth/spec
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/pam_modules/unix_auth/spec/Makefile.targ b/usr/src/lib/pam_modules/unix_auth/spec/Makefile.targ
deleted file mode 100644
index 83cc2ccecf..0000000000
--- a/usr/src/lib/pam_modules/unix_auth/spec/Makefile.targ
+++ /dev/null
@@ -1,33 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 2001 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# usr/src/lib/pam_modules/unix_auth/spec/Makefile.targ
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-LIBRARY = pam_unix_auth.a
-VERS = .1
-
-OBJECTS = unix_auth.o
diff --git a/usr/src/lib/pam_modules/unix_auth/spec/amd64/Makefile b/usr/src/lib/pam_modules/unix_auth/spec/amd64/Makefile
deleted file mode 100644
index 6b8107b610..0000000000
--- a/usr/src/lib/pam_modules/unix_auth/spec/amd64/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB)
diff --git a/usr/src/lib/pam_modules/unix_auth/spec/i386/Makefile b/usr/src/lib/pam_modules/unix_auth/spec/i386/Makefile
deleted file mode 100644
index 246837a9d8..0000000000
--- a/usr/src/lib/pam_modules/unix_auth/spec/i386/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# usr/src/lib/pam_modules/unix_auth/spec/i386/Makefile
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB)
diff --git a/usr/src/lib/pam_modules/unix_auth/spec/sparc/Makefile b/usr/src/lib/pam_modules/unix_auth/spec/sparc/Makefile
deleted file mode 100644
index 6caf7b84ac..0000000000
--- a/usr/src/lib/pam_modules/unix_auth/spec/sparc/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# usr/src/lib/pam_modules/unix_auth/spec/sparc/Makefile
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB)
diff --git a/usr/src/lib/pam_modules/unix_auth/spec/sparcv9/Makefile b/usr/src/lib/pam_modules/unix_auth/spec/sparcv9/Makefile
deleted file mode 100644
index b56a7a4c06..0000000000
--- a/usr/src/lib/pam_modules/unix_auth/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# usr/src/lib/pam_modules/unix_auth/spec/sparcv9/Makefile
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB)
diff --git a/usr/src/lib/pam_modules/unix_auth/spec/unix_auth.spec b/usr/src/lib/pam_modules/unix_auth/spec/unix_auth.spec
deleted file mode 100644
index 5bd6b56fdf..0000000000
--- a/usr/src/lib/pam_modules/unix_auth/spec/unix_auth.spec
+++ /dev/null
@@ -1,41 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# usr/src/lib/pam_modules/unix_auth/spec/pam_unix_auth.spec
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-include <security/pam_appl.h>
-
-function pam_sm_authenticate
-declaration int pam_sm_authenticate(pam_handle_t *pamh, int flags, \
- int argc, const char **argv)
-version SUNW_1.1
-end
-
-function pam_sm_setcred
-declaration int pam_sm_setcred(pam_handle_t *pamh, int flags, \
- int argc, const char **argv)
-version SUNW_1.1
-end
diff --git a/usr/src/lib/pam_modules/unix_auth/spec/versions b/usr/src/lib/pam_modules/unix_auth/spec/versions
deleted file mode 100644
index baa02abaef..0000000000
--- a/usr/src/lib/pam_modules/unix_auth/spec/versions
+++ /dev/null
@@ -1,42 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-sparc {
- SUNW_1.1;
-}
-
-sparcv9 {
- SUNW_1.1;
-}
-
-i386 {
- SUNW_1.1;
-}
-
-amd64 {
- SUNW_1.1;
-}
diff --git a/usr/src/lib/pam_modules/unix_cred/Makefile b/usr/src/lib/pam_modules/unix_cred/Makefile
index ce16582c4f..3c3962f06a 100644
--- a/usr/src/lib/pam_modules/unix_cred/Makefile
+++ b/usr/src/lib/pam_modules/unix_cred/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,13 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# usr/src/lib/pam_modules/unix_cred/Makefile
-#
include ../../Makefile.lib
@@ -45,13 +42,11 @@ lint := TARGET= lint
.KEEP_STATE:
-all clean clobber install: spec .WAIT $(SUBDIRS)
-
-lint: $(SUBDIRS)
+all clean clobber install lint: $(SUBDIRS)
_msg: $(MSGDOMAINPOFILE)
-$(SUBDIRS) spec: FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
diff --git a/usr/src/lib/pam_modules/unix_cred/mapfile-vers b/usr/src/lib/pam_modules/unix_cred/mapfile-vers
new file mode 100644
index 0000000000..57327a8593
--- /dev/null
+++ b/usr/src/lib/pam_modules/unix_cred/mapfile-vers
@@ -0,0 +1,34 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNW_1.1 {
+ global:
+ pam_sm_authenticate;
+ pam_sm_setcred;
+ local:
+ *;
+};
diff --git a/usr/src/lib/pam_modules/unix_cred/spec/Makefile b/usr/src/lib/pam_modules/unix_cred/spec/Makefile
deleted file mode 100644
index e1761ea9f3..0000000000
--- a/usr/src/lib/pam_modules/unix_cred/spec/Makefile
+++ /dev/null
@@ -1,30 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2002 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# usr/src/lib/pam_modules/unix_cred/spec/Makefile
-#
-# ident "%Z%%M% %I% %E% SMI"
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/pam_modules/unix_cred/spec/Makefile.targ b/usr/src/lib/pam_modules/unix_cred/spec/Makefile.targ
deleted file mode 100644
index 8f79fa3d64..0000000000
--- a/usr/src/lib/pam_modules/unix_cred/spec/Makefile.targ
+++ /dev/null
@@ -1,33 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2002 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# usr/src/lib/pam_modules/unix_cred/spec/Makefile.targ
-#
-# ident "%Z%%M% %I% %E% SMI"
-
-LIBRARY = pam_unix_cred.a
-VERS = .1
-
-OBJECTS = unix_cred.o
diff --git a/usr/src/lib/pam_modules/unix_cred/spec/amd64/Makefile b/usr/src/lib/pam_modules/unix_cred/spec/amd64/Makefile
deleted file mode 100644
index 6b8107b610..0000000000
--- a/usr/src/lib/pam_modules/unix_cred/spec/amd64/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB)
diff --git a/usr/src/lib/pam_modules/unix_cred/spec/i386/Makefile b/usr/src/lib/pam_modules/unix_cred/spec/i386/Makefile
deleted file mode 100644
index 304987c075..0000000000
--- a/usr/src/lib/pam_modules/unix_cred/spec/i386/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# usr/src/lib/pam_modules/unix_cred/spec/i386/Makefile
-#
-# ident "%Z%%M% %I% %E% SMI"
-
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB)
diff --git a/usr/src/lib/pam_modules/unix_cred/spec/sparc/Makefile b/usr/src/lib/pam_modules/unix_cred/spec/sparc/Makefile
deleted file mode 100644
index 0a3c3abea3..0000000000
--- a/usr/src/lib/pam_modules/unix_cred/spec/sparc/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# usr/src/lib/pam_modules/unix_cred/spec/sparc/Makefile
-#
-# ident "%Z%%M% %I% %E% SMI"
-
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB)
diff --git a/usr/src/lib/pam_modules/unix_cred/spec/sparcv9/Makefile b/usr/src/lib/pam_modules/unix_cred/spec/sparcv9/Makefile
deleted file mode 100644
index 3b1b5be150..0000000000
--- a/usr/src/lib/pam_modules/unix_cred/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# usr/src/lib/pam_modules/unix_cred/spec/sparcv9/Makefile
-#
-# ident "%Z%%M% %I% %E% SMI"
-
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB)
diff --git a/usr/src/lib/pam_modules/unix_cred/spec/unix_cred.spec b/usr/src/lib/pam_modules/unix_cred/spec/unix_cred.spec
deleted file mode 100644
index c45530409a..0000000000
--- a/usr/src/lib/pam_modules/unix_cred/spec/unix_cred.spec
+++ /dev/null
@@ -1,41 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# usr/src/lib/pam_modules/unix_cred/spec/unix_cred.spec
-#
-# ident "%Z%%M% %I% %E% SMI"
-
-include <security/pam_appl.h>
-
-function pam_sm_authenticate
-declaration int pam_sm_authenticate(pam_handle_t *pamh, int flags, \
- int argc, const char **argv)
-version SUNW_1.1
-end
-
-function pam_sm_setcred
-declaration int pam_sm_setcred(pam_handle_t *pamh, int flags, \
- int argc, const char **argv)
-version SUNW_1.1
-end
diff --git a/usr/src/lib/pam_modules/unix_cred/spec/versions b/usr/src/lib/pam_modules/unix_cred/spec/versions
deleted file mode 100644
index baa02abaef..0000000000
--- a/usr/src/lib/pam_modules/unix_cred/spec/versions
+++ /dev/null
@@ -1,42 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-sparc {
- SUNW_1.1;
-}
-
-sparcv9 {
- SUNW_1.1;
-}
-
-i386 {
- SUNW_1.1;
-}
-
-amd64 {
- SUNW_1.1;
-}
diff --git a/usr/src/lib/pam_modules/unix_session/Makefile b/usr/src/lib/pam_modules/unix_session/Makefile
index 1989728bda..8cd0cb4374 100644
--- a/usr/src/lib/pam_modules/unix_session/Makefile
+++ b/usr/src/lib/pam_modules/unix_session/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,12 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# usr/src/lib/pam_modules/unix_session/Makefile
+# ident "%Z%%M% %I% %E% SMI"
#
-#ident "%Z%%M% %I% %E% SMI"
include ../../Makefile.lib
@@ -44,13 +42,11 @@ lint := TARGET= lint
.KEEP_STATE:
-all clean clobber install: spec .WAIT $(SUBDIRS)
-
-lint: $(SUBDIRS)
+all clean clobber install lint: $(SUBDIRS)
_msg: $(MSGDOMAINPOFILE)
-$(SUBDIRS) spec: FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
diff --git a/usr/src/lib/pam_modules/unix_session/mapfile-vers b/usr/src/lib/pam_modules/unix_session/mapfile-vers
new file mode 100644
index 0000000000..82e8adf020
--- /dev/null
+++ b/usr/src/lib/pam_modules/unix_session/mapfile-vers
@@ -0,0 +1,34 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNW_1.1 {
+ global:
+ pam_sm_close_session;
+ pam_sm_open_session;
+ local:
+ *;
+};
diff --git a/usr/src/lib/pam_modules/unix_session/spec/Makefile b/usr/src/lib/pam_modules/unix_session/spec/Makefile
deleted file mode 100644
index 2c6dc5ec39..0000000000
--- a/usr/src/lib/pam_modules/unix_session/spec/Makefile
+++ /dev/null
@@ -1,30 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 2001 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# usr/src/lib/pam_modules/unix_session/spec/Makefile
-#
-# ident "%Z%%M% %I% %E% SMI"
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/pam_modules/unix_session/spec/Makefile.targ b/usr/src/lib/pam_modules/unix_session/spec/Makefile.targ
deleted file mode 100644
index 54ba6b5785..0000000000
--- a/usr/src/lib/pam_modules/unix_session/spec/Makefile.targ
+++ /dev/null
@@ -1,33 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 2001 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# usr/src/lib/pam_modules/unix_session/spec/Makefile.targ
-#
-# ident "%Z%%M% %I% %E% SMI"
-
-LIBRARY = pam_unix_session.a
-VERS = .1
-
-OBJECTS = unix_session.o
diff --git a/usr/src/lib/pam_modules/unix_session/spec/amd64/Makefile b/usr/src/lib/pam_modules/unix_session/spec/amd64/Makefile
deleted file mode 100644
index 6b8107b610..0000000000
--- a/usr/src/lib/pam_modules/unix_session/spec/amd64/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB)
diff --git a/usr/src/lib/pam_modules/unix_session/spec/i386/Makefile b/usr/src/lib/pam_modules/unix_session/spec/i386/Makefile
deleted file mode 100644
index 83c33d6113..0000000000
--- a/usr/src/lib/pam_modules/unix_session/spec/i386/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# usr/src/lib/pam_modules/unix_session/spec/i386/Makefile
-#
-# ident "%Z%%M% %I% %E% SMI"
-
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB)
diff --git a/usr/src/lib/pam_modules/unix_session/spec/sparc/Makefile b/usr/src/lib/pam_modules/unix_session/spec/sparc/Makefile
deleted file mode 100644
index 586f037035..0000000000
--- a/usr/src/lib/pam_modules/unix_session/spec/sparc/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# usr/src/lib/pam_modules/unix_session/spec/sparc/Makefile
-#
-# ident "%Z%%M% %I% %E% SMI"
-
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB)
diff --git a/usr/src/lib/pam_modules/unix_session/spec/sparcv9/Makefile b/usr/src/lib/pam_modules/unix_session/spec/sparcv9/Makefile
deleted file mode 100644
index b40a8bea80..0000000000
--- a/usr/src/lib/pam_modules/unix_session/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# usr/src/lib/pam_modules/unix_session/spec/sparcv9/Makefile
-#
-# ident "%Z%%M% %I% %E% SMI"
-
-# To enable apptrace, comment out the next line
-DISABLE_APPTRACE= $(POUND_SIGN)
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-$(DISABLE_APPTRACE)install: $(ROOTABILIB)
diff --git a/usr/src/lib/pam_modules/unix_session/spec/unix_session.spec b/usr/src/lib/pam_modules/unix_session/spec/unix_session.spec
deleted file mode 100644
index eb793b3bdc..0000000000
--- a/usr/src/lib/pam_modules/unix_session/spec/unix_session.spec
+++ /dev/null
@@ -1,41 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# usr/src/lib/pam_modules/unix_session/spec/unix_session.spec
-#
-# ident "%Z%%M% %I% %E% SMI"
-
-include <security/pam_appl.h>
-
-function pam_sm_open_session
-declaration int pam_sm_open_session(pam_handle_t *pamh, int flags, \
- int argc, const char **argv)
-version SUNW_1.1
-end
-
-function pam_sm_close_session
-declaration int pam_sm_close_session(pam_handle_t *pamh, int flags, \
- int argc, const char **argv)
-version SUNW_1.1
-end
diff --git a/usr/src/lib/pam_modules/unix_session/spec/versions b/usr/src/lib/pam_modules/unix_session/spec/versions
deleted file mode 100644
index baa02abaef..0000000000
--- a/usr/src/lib/pam_modules/unix_session/spec/versions
+++ /dev/null
@@ -1,42 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-sparc {
- SUNW_1.1;
-}
-
-sparcv9 {
- SUNW_1.1;
-}
-
-i386 {
- SUNW_1.1;
-}
-
-amd64 {
- SUNW_1.1;
-}
diff --git a/usr/src/lib/passwdutil/Makefile b/usr/src/lib/passwdutil/Makefile
index b4cf7992a0..e09cd44703 100644
--- a/usr/src/lib/passwdutil/Makefile
+++ b/usr/src/lib/passwdutil/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,12 +19,10 @@
# CDDL HEADER END
#
#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/passwdutil/Makefile
+# ident "%Z%%M% %I% %E% SMI"
#
include ../Makefile.lib
@@ -44,15 +41,13 @@ lint := TARGET= lint
.KEEP_STATE:
-all clean clobber install: spec .WAIT $(SUBDIRS)
-
-lint: $(SUBDIRS)
+all clean clobber install lint: $(SUBDIRS)
install_h: $(ROOTHDRS)
check: $(CHECKHDRS)
-$(SUBDIRS) spec: FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
diff --git a/usr/src/lib/passwdutil/Makefile.com b/usr/src/lib/passwdutil/Makefile.com
index 730c845131..573e057162 100644
--- a/usr/src/lib/passwdutil/Makefile.com
+++ b/usr/src/lib/passwdutil/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -25,8 +24,6 @@
#
# ident "%Z%%M% %I% %E% SMI"
#
-# usr/src/lib/passwdutil/Makefile.com
-#
LIBRARY= passwdutil.a
VERS= .1
@@ -60,13 +57,9 @@ include ../../Makefile.lib
LIBNAME= passwdutil
LIBS= $(DYNLIB) $(LINTLIB)
-SRCDIR= ..
$(LINTLIB) := SRCS= $(SRCDIR)/$(LINTSRC)
LDLIBS += -lcmd -lsldap -lnsl -lc
-MAPDIR= ../spec/$(TRANSMACH)
-SPECMAPFILE= $(MAPDIR)/mapfile
-
CPPFLAGS += -DENABLE_SUNOS_AGING -D_REENTRANT \
-I$(SRC)/lib/libsldap/common -I$(SRC)/lib/libnsl/include
CFLAGS += $(CCVERBOSE)
diff --git a/usr/src/lib/passwdutil/mapfile-vers b/usr/src/lib/passwdutil/mapfile-vers
new file mode 100644
index 0000000000..56263cb201
--- /dev/null
+++ b/usr/src/lib/passwdutil/mapfile-vers
@@ -0,0 +1,39 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNWprivate_1.1 {
+ global:
+ __check_history;
+ __get_authtoken_attr;
+ __incr_failed_count;
+ __rst_failed_count;
+ __set_authtoken_attr;
+ __user_to_authenticate;
+ __verify_rpc_passwd;
+ local:
+ *;
+};
diff --git a/usr/src/lib/passwdutil/spec/Makefile b/usr/src/lib/passwdutil/spec/Makefile
deleted file mode 100644
index f16855cc87..0000000000
--- a/usr/src/lib/passwdutil/spec/Makefile
+++ /dev/null
@@ -1,31 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 2001 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# usr/src/lib/passwdutil/spec/Makefile
-#
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/passwdutil/spec/Makefile.targ b/usr/src/lib/passwdutil/spec/Makefile.targ
deleted file mode 100644
index fa502beea4..0000000000
--- a/usr/src/lib/passwdutil/spec/Makefile.targ
+++ /dev/null
@@ -1,34 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 2001 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# usr/src/lib/passwdutil/spec/Makefile.targ
-#
-
-LIBRARY = passwdutil.a
-VERS = .1
-
-OBJECTS = passwdutil.o
diff --git a/usr/src/lib/passwdutil/spec/amd64/Makefile b/usr/src/lib/passwdutil/spec/amd64/Makefile
deleted file mode 100644
index 86b763b325..0000000000
--- a/usr/src/lib/passwdutil/spec/amd64/Makefile
+++ /dev/null
@@ -1,37 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-include $(SRC)/lib/Makefile.lib
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/passwdutil/spec/i386/Makefile b/usr/src/lib/passwdutil/spec/i386/Makefile
deleted file mode 100644
index 341092e045..0000000000
--- a/usr/src/lib/passwdutil/spec/i386/Makefile
+++ /dev/null
@@ -1,39 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# usr/src/lib/passwdutil/spec/i386/Makefile
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-include $(SRC)/lib/Makefile.lib
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/passwdutil/spec/passwdutil.spec b/usr/src/lib/passwdutil/spec/passwdutil.spec
deleted file mode 100644
index 4b87cf534b..0000000000
--- a/usr/src/lib/passwdutil/spec/passwdutil.spec
+++ /dev/null
@@ -1,75 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# usr/src/lib/passwdutil/spec/passwdutil.spec
-#
-# ident "%Z%%M% %I% %E% SMI"
-
-function __set_authtoken_attr
-include "../../passwdutil.h"
-declaration int __set_authtoken_attr(char *name, char *oldpw, \
- char *oldrpcpw, pwu_repository_t *rep, \
- attrlist *items, int *updated_reps)
-version SUNWprivate_1.1
-end
-
-function __get_authtoken_attr
-include "../../passwdutil.h"
-declaration int __get_authtoken_attr(char *name, pwu_repository_t *rep, \
- attrlist *items)
-version SUNWprivate_1.1
-end
-
-function __user_to_authenticate
-include "../../passwdutil.h"
-declaration int __user_to_authenticate(char *user, pwu_repository_t *rep, \
- char **auth_user, int *privileged)
-version SUNWprivate_1.1
-end
-
-function __verify_rpc_passwd
-include "../../passwdutil.h"
-declaration int __verify_rpc_passwd(char *name, char *oldpw, \
- pwu_repository_t *rep)
-version SUNWprivate_1.1
-end
-
-function __check_history
-include "../../passwdutil.h"
-declaration int __check_history(char *user, char *passwd, \
- pwu_repository_t *rep)
-version SUNWprivate_1.1
-end
-
-function __incr_failed_count
-include "../../passwdutil.h"
-declaration int __incr_failed_count(char *user, char *rep, int max_failed)
-version SUNWprivate_1.1
-end
-
-function __rst_failed_count
-include "../../passwdutil.h"
-declaration int __rst_failed_count(char *user, char *rep)
-version SUNWprivate_1.1
-end
diff --git a/usr/src/lib/passwdutil/spec/sparc/Makefile b/usr/src/lib/passwdutil/spec/sparc/Makefile
deleted file mode 100644
index c474a1af88..0000000000
--- a/usr/src/lib/passwdutil/spec/sparc/Makefile
+++ /dev/null
@@ -1,38 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# usr/src/lib/passwdutil/spec/sparc/Makefile
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-include $(SRC)/lib/Makefile.lib
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/passwdutil/spec/sparcv9/Makefile b/usr/src/lib/passwdutil/spec/sparcv9/Makefile
deleted file mode 100644
index 66f0975a89..0000000000
--- a/usr/src/lib/passwdutil/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,41 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# usr/src/lib/passwdutil/spec/sparcv9/Makefile
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-include $(SRC)/lib/Makefile.lib
-
-include $(SRC)/lib/Makefile.lib.64
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/passwdutil/spec/versions b/usr/src/lib/passwdutil/spec/versions
deleted file mode 100644
index a542a0f7fc..0000000000
--- a/usr/src/lib/passwdutil/spec/versions
+++ /dev/null
@@ -1,39 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-sparc {
- SUNWprivate_1.1;
-}
-sparcv9 {
- SUNWprivate_1.1;
-}
-i386 {
- SUNWprivate_1.1;
-}
-amd64 {
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/pkcs11/Makefile.softtoken.com b/usr/src/lib/pkcs11/Makefile.softtoken.com
index 53e6d0db5c..84a7fc7989 100644
--- a/usr/src/lib/pkcs11/Makefile.softtoken.com
+++ b/usr/src/lib/pkcs11/Makefile.softtoken.com
@@ -24,8 +24,6 @@
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/pkcs11/Makefile.softtoken.com
-#
LCL_OBJECTS = \
softGeneral.o \
@@ -149,9 +147,6 @@ SRCS = \
LIBS = $(DYNLIB)
LDLIBS += -lc -lmd -lcryptoutil
-MAPDIR = ../spec/$(TRANSMACH)
-SPECMAPFILE = $(MAPDIR)/mapfile
-
CFLAGS += $(CCVERBOSE)
CPPFLAGS += -I$(AESDIR) -I$(BLOWFISHDIR) -I$(ARCFOURDIR) -I$(DESDIR) \
-I$(RSADIR) -I$(SRCDIR) -I$(BIGNUMDIR) -D_POSIX_PTHREAD_SEMANTICS
diff --git a/usr/src/lib/pkcs11/libpkcs11/Makefile b/usr/src/lib/pkcs11/libpkcs11/Makefile
index 6bd5700390..ab4729a4d3 100644
--- a/usr/src/lib/pkcs11/libpkcs11/Makefile
+++ b/usr/src/lib/pkcs11/libpkcs11/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,18 +19,16 @@
# CDDL HEADER END
#
#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
-# lib/pkcs11/libpkcs11/Makefile
include ../../../Makefile.master
include ../../Makefile.lib
SUBDIRS= $(MACH)
-
$(BUILD64)SUBDIRS += $(MACH64)
all := TARGET= all
@@ -43,11 +40,9 @@ lint := TARGET= lint
.KEEP_STATE:
-all clean clobber install: spec .WAIT $(SUBDIRS)
-
-lint: $(SUBDIRS)
+all clean clobber install lint: $(SUBDIRS)
-$(SUBDIRS) spec: FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
diff --git a/usr/src/lib/pkcs11/libpkcs11/Makefile.com b/usr/src/lib/pkcs11/libpkcs11/Makefile.com
index 8c04d41f68..411567d1d2 100644
--- a/usr/src/lib/pkcs11/libpkcs11/Makefile.com
+++ b/usr/src/lib/pkcs11/libpkcs11/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,7 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
@@ -70,13 +69,9 @@ SRCDIR= ../common
INCDIR= ../../include
LIBS = $(DYNLIB) $(LINTLIB)
-SRCS = $(OBJECTS:%.o=$(SRCDIR)/%.c)
$(LINTLIB) := SRCS = $(SRCDIR)/$(LINTSRC)
LDLIBS += -lcryptoutil -lc
-MAPDIR = ../spec/$(TRANSMACH)
-SPECMAPFILE = $(MAPDIR)/mapfile
-
CFLAGS += $(CCVERBOSE)
CPPFLAGS += -I$(INCDIR) -I$(SRCDIR) -D_REENTRANT
diff --git a/usr/src/lib/pkcs11/libpkcs11/common/mapfile-vers b/usr/src/lib/pkcs11/libpkcs11/common/mapfile-vers
new file mode 100644
index 0000000000..e01651db19
--- /dev/null
+++ b/usr/src/lib/pkcs11/libpkcs11/common/mapfile-vers
@@ -0,0 +1,102 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNW_1.1 {
+ global:
+ C_CancelFunction;
+ C_CloseAllSessions;
+ C_CloseSession;
+ C_CopyObject;
+ C_CreateObject;
+ C_Decrypt;
+ C_DecryptDigestUpdate;
+ C_DecryptFinal;
+ C_DecryptInit;
+ C_DecryptUpdate;
+ C_DecryptVerifyUpdate;
+ C_DeriveKey;
+ C_DestroyObject;
+ C_Digest;
+ C_DigestEncryptUpdate;
+ C_DigestFinal;
+ C_DigestInit;
+ C_DigestKey;
+ C_DigestUpdate;
+ C_Encrypt;
+ C_EncryptFinal;
+ C_EncryptInit;
+ C_EncryptUpdate;
+ C_Finalize;
+ C_FindObjects;
+ C_FindObjectsFinal;
+ C_FindObjectsInit;
+ C_GenerateKey;
+ C_GenerateKeyPair;
+ C_GenerateRandom;
+ C_GetAttributeValue;
+ C_GetFunctionList;
+ C_GetFunctionStatus;
+ C_GetInfo;
+ C_GetMechanismInfo;
+ C_GetMechanismList;
+ C_GetObjectSize;
+ C_GetOperationState;
+ C_GetSessionInfo;
+ C_GetSlotInfo;
+ C_GetSlotList;
+ C_GetTokenInfo;
+ C_Initialize;
+ C_InitPIN;
+ C_InitToken;
+ C_Login;
+ C_Logout;
+ C_OpenSession;
+ C_SeedRandom;
+ C_SetAttributeValue;
+ C_SetOperationState;
+ C_SetPIN;
+ C_Sign;
+ C_SignEncryptUpdate;
+ C_SignFinal;
+ C_SignInit;
+ C_SignRecover;
+ C_SignRecoverInit;
+ C_SignUpdate;
+ C_UnwrapKey;
+ C_Verify;
+ C_VerifyFinal;
+ C_VerifyInit;
+ C_VerifyRecover;
+ C_VerifyRecoverInit;
+ C_VerifyUpdate;
+ C_WaitForSlotEvent;
+ C_WrapKey;
+ SUNW_C_GetMechSession;
+ SUNW_C_KeyToObject;
+ local:
+ *;
+};
diff --git a/usr/src/lib/pkcs11/libpkcs11/spec/Makefile b/usr/src/lib/pkcs11/libpkcs11/spec/Makefile
deleted file mode 100644
index ae13c35801..0000000000
--- a/usr/src/lib/pkcs11/libpkcs11/spec/Makefile
+++ /dev/null
@@ -1,28 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/pkcs11/libpkcs11/spec/Makefile.targ b/usr/src/lib/pkcs11/libpkcs11/spec/Makefile.targ
deleted file mode 100644
index 59f2f737fd..0000000000
--- a/usr/src/lib/pkcs11/libpkcs11/spec/Makefile.targ
+++ /dev/null
@@ -1,33 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-
-LIBRARY = libpkcs11.a
-VERS = .1
-
-OBJECTS = pkcs11.o
-
-SPECCPP = -I.. -I../../include
diff --git a/usr/src/lib/pkcs11/libpkcs11/spec/amd64/Makefile b/usr/src/lib/pkcs11/libpkcs11/spec/amd64/Makefile
deleted file mode 100644
index 8fe2d4f795..0000000000
--- a/usr/src/lib/pkcs11/libpkcs11/spec/amd64/Makefile
+++ /dev/null
@@ -1,38 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/pkcs11/libpkcs11/spec/i386/Makefile b/usr/src/lib/pkcs11/libpkcs11/spec/i386/Makefile
deleted file mode 100644
index 81738f359c..0000000000
--- a/usr/src/lib/pkcs11/libpkcs11/spec/i386/Makefile
+++ /dev/null
@@ -1,37 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-include $(SRC)/lib/Makefile.lib
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/pkcs11/libpkcs11/spec/pkcs11.spec b/usr/src/lib/pkcs11/libpkcs11/spec/pkcs11.spec
deleted file mode 100644
index 7a2e29edc8..0000000000
--- a/usr/src/lib/pkcs11/libpkcs11/spec/pkcs11.spec
+++ /dev/null
@@ -1,516 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-function C_Initialize
-include <security/cryptoki.h>
-declaration CK_RV C_Initialize (CK_VOID_PTR pInitArgs)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_Finalize
-include <security/cryptoki.h>
-declaration CK_RV C_Finalize (CK_VOID_PTR pReserved)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_GetInfo
-include <security/cryptoki.h>
-declaration CK_RV C_GetInfo (CK_INFO_PTR pInfo)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_GetFunctionList
-include <security/cryptoki.h>
-declaration CK_RV C_GetFunctionList (CK_FUNCTION_LIST_PTR_PTR ppFunctionList)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_GetSlotList
-include <security/cryptoki.h>
-declaration CK_RV C_GetSlotList (CK_BBOOL tokenPresent, CK_SLOT_ID_PTR pSlotList, CK_ULONG_PTR pulCount)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_GetSlotInfo
-include <security/cryptoki.h>
-declaration CK_RV C_GetSlotInfo (CK_SLOT_ID slotID, CK_SLOT_INFO_PTR pInfo)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_GetTokenInfo
-include <security/cryptoki.h>
-declaration CK_RV C_GetTokenInfo (CK_SLOT_ID slotID, CK_TOKEN_INFO_PTR pInfo)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_GetMechanismList
-include <security/cryptoki.h>
-declaration CK_RV C_GetMechanismList (CK_SLOT_ID slotID, CK_MECHANISM_TYPE_PTR pMechanismList, CK_ULONG_PTR pulCount)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_GetMechanismInfo
-include <security/cryptoki.h>
-declaration CK_RV C_GetMechanismInfo (CK_SLOT_ID slotID, CK_MECHANISM_TYPE type, CK_MECHANISM_INFO_PTR pInfo)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_InitToken
-include <security/cryptoki.h>
-declaration CK_RV C_InitToken (CK_SLOT_ID slotID, CK_UTF8CHAR_PTR pPin, CK_ULONG ulPinLen, CK_UTF8CHAR_PTR pLabel)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_InitPIN
-include <security/cryptoki.h>
-declaration CK_RV C_InitPIN (CK_SESSION_HANDLE hSession, CK_UTF8CHAR_PTR pPin, CK_ULONG ulPinLen)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_SetPIN
-include <security/cryptoki.h>
-declaration CK_RV C_SetPIN (CK_SESSION_HANDLE hSession, CK_UTF8CHAR_PTR pOldPin, CK_ULONG ulOldLen, CK_UTF8CHAR_PTR pNewPin, CK_ULONG ulNewLen)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_OpenSession
-include <security/cryptoki.h>
-declaration CK_RV C_OpenSession (CK_SLOT_ID slotID, CK_FLAGS flags, CK_VOID_PTR pApplication, CK_NOTIFY Notify, CK_SESSION_HANDLE_PTR phSession)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_CloseSession
-include <security/cryptoki.h>
-declaration CK_RV C_CloseSession (CK_SESSION_HANDLE hSession)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_CloseAllSessions
-include <security/cryptoki.h>
-declaration CK_RV C_CloseAllSessions (CK_SLOT_ID slotID)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_GetSessionInfo
-include <security/cryptoki.h>
-declaration CK_RV C_GetSessionInfo (CK_SESSION_HANDLE hSession, CK_SESSION_INFO_PTR pInfo)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_GetOperationState
-include <security/cryptoki.h>
-declaration CK_RV C_GetOperationState (CK_SESSION_HANDLE hSession, CK_BYTE_PTR pOperationState, CK_ULONG_PTR pulOperStateLen)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_SetOperationState
-include <security/cryptoki.h>
-declaration CK_RV C_SetOperationState (CK_SESSION_HANDLE hSession, CK_BYTE_PTR pOperationState, CK_ULONG ulOperationStateLen, CK_OBJECT_HANDLE hEncryptionKey, CK_OBJECT_HANDLE hAuthenticationKey)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_Login
-include <security/cryptoki.h>
-declaration CK_RV C_Login (CK_SESSION_HANDLE hSession, CK_USER_TYPE userType, CK_UTF8CHAR_PTR pPin, CK_ULONG ulPinLen)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_Logout
-include <security/cryptoki.h>
-declaration CK_RV C_Logout (CK_SESSION_HANDLE hSession)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_CreateObject
-include <security/cryptoki.h>
-declaration CK_RV C_CreateObject (CK_SESSION_HANDLE hSession, CK_ATTRIBUTE_PTR pTemplate, CK_ULONG ulCount, CK_OBJECT_HANDLE_PTR phObject)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_CopyObject
-include <security/cryptoki.h>
-declaration CK_RV C_CopyObject (CK_SESSION_HANDLE hSession, CK_OBJECT_HANDLE hObject, CK_ATTRIBUTE_PTR pTemplate, CK_ULONG ulCount, CK_OBJECT_HANDLE_PTR phNewObject)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_DestroyObject
-include <security/cryptoki.h>
-declaration CK_RV C_DestroyObject (CK_SESSION_HANDLE hSession, CK_OBJECT_HANDLE hObject)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_GetObjectSize
-include <security/cryptoki.h>
-declaration CK_RV C_GetObjectSize (CK_SESSION_HANDLE hSession, CK_OBJECT_HANDLE hObject, CK_ULONG_PTR pulSize)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_GetAttributeValue
-include <security/cryptoki.h>
-declaration CK_RV C_GetAttributeValue (CK_SESSION_HANDLE hSession, CK_OBJECT_HANDLE hObject, CK_ATTRIBUTE_PTR pTemplate, CK_ULONG ulCount)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_SetAttributeValue
-include <security/cryptoki.h>
-declaration CK_RV C_SetAttributeValue (CK_SESSION_HANDLE hSession, CK_OBJECT_HANDLE hObject, CK_ATTRIBUTE_PTR pTemplate, CK_ULONG ulCount)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_FindObjectsInit
-include <security/cryptoki.h>
-declaration CK_RV C_FindObjectsInit (CK_SESSION_HANDLE hSession, CK_ATTRIBUTE_PTR pTemplate, CK_ULONG ulCount)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_FindObjects
-include <security/cryptoki.h>
-declaration CK_RV C_FindObjects (CK_SESSION_HANDLE hSession, CK_OBJECT_HANDLE_PTR phObject, CK_ULONG ulMaxObjectCount, CK_ULONG_PTR pulObjectCount)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_FindObjectsFinal
-include <security/cryptoki.h>
-declaration CK_RV C_FindObjectsFinal (CK_SESSION_HANDLE hSession)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_EncryptInit
-include <security/cryptoki.h>
-declaration CK_RV C_EncryptInit (CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism, CK_OBJECT_HANDLE hKey)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_Encrypt
-include <security/cryptoki.h>
-declaration CK_RV C_Encrypt (CK_SESSION_HANDLE hSession, CK_BYTE_PTR pData, CK_ULONG ulDataLen, CK_BYTE_PTR pEncryptedData, CK_ULONG_PTR pulEncryptedDataLen)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_EncryptUpdate
-include <security/cryptoki.h>
-declaration CK_RV C_EncryptUpdate (CK_SESSION_HANDLE hSession, CK_BYTE_PTR pPart, CK_ULONG ulPartLen, CK_BYTE_PTR pEncryptedPart, CK_ULONG_PTR pulEncryptedPartLen)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_EncryptFinal
-include <security/cryptoki.h>
-declaration CK_RV C_EncryptFinal (CK_SESSION_HANDLE hSession, CK_BYTE_PTR pLastEncryptedPart, CK_ULONG_PTR pulLastEncPartLen)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_DecryptInit
-include <security/cryptoki.h>
-declaration CK_RV C_DecryptInit (CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism, CK_OBJECT_HANDLE hKey)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_Decrypt
-include <security/cryptoki.h>
-declaration CK_RV C_Decrypt (CK_SESSION_HANDLE hSession, CK_BYTE_PTR pEncryptedData, CK_ULONG ulEncryptedDataLen, CK_BYTE_PTR pData, CK_ULONG_PTR pulDataLen)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_DecryptUpdate
-include <security/cryptoki.h>
-declaration CK_RV C_DecryptUpdate (CK_SESSION_HANDLE hSession, CK_BYTE_PTR pEncryptedPart, CK_ULONG ulEncryptedPartLen, CK_BYTE_PTR pPart, CK_ULONG_PTR pulPartLen)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_DecryptFinal
-include <security/cryptoki.h>
-declaration CK_RV C_DecryptFinal (CK_SESSION_HANDLE hSession, CK_BYTE_PTR pLastPart, CK_ULONG_PTR pulLastPartLen)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_DigestInit
-include <security/cryptoki.h>
-declaration CK_RV C_DigestInit (CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_Digest
-include <security/cryptoki.h>
-declaration CK_RV C_Digest (CK_SESSION_HANDLE hSession, CK_BYTE_PTR pData, CK_ULONG ulDataLen, CK_BYTE_PTR pDigest, CK_ULONG_PTR pulDigestLen)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_DigestUpdate
-include <security/cryptoki.h>
-declaration CK_RV C_DigestUpdate (CK_SESSION_HANDLE hSession, CK_BYTE_PTR pPart, CK_ULONG ulPartLen)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_DigestKey
-include <security/cryptoki.h>
-declaration CK_RV C_DigestKey (CK_SESSION_HANDLE hSession, CK_OBJECT_HANDLE hKey)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_DigestFinal
-include <security/cryptoki.h>
-declaration CK_RV C_DigestFinal (CK_SESSION_HANDLE hSession, CK_BYTE_PTR pDigest, CK_ULONG_PTR pulDigestLen)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_SignInit
-include <security/cryptoki.h>
-declaration CK_RV C_SignInit (CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism, CK_OBJECT_HANDLE hKey)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_Sign
-include <security/cryptoki.h>
-declaration CK_RV C_Sign (CK_SESSION_HANDLE hSession, CK_BYTE_PTR pData, CK_ULONG ulDataLen, CK_BYTE_PTR pSignature, CK_ULONG_PTR pulSignatureLen)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_SignUpdate
-include <security/cryptoki.h>
-declaration CK_RV C_SignUpdate (CK_SESSION_HANDLE hSession, CK_BYTE_PTR pPart, CK_ULONG ulPartLen)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_SignFinal
-include <security/cryptoki.h>
-declaration CK_RV C_SignFinal (CK_SESSION_HANDLE hSession, CK_BYTE_PTR pSignature, CK_ULONG_PTR pulSignatureLen)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_SignRecoverInit
-include <security/cryptoki.h>
-declaration CK_RV C_SignRecoverInit (CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism, CK_OBJECT_HANDLE hKey)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_SignRecover
-include <security/cryptoki.h>
-declaration CK_RV C_SignRecover (CK_SESSION_HANDLE hSession, CK_BYTE_PTR pData, CK_ULONG ulDataLen, CK_BYTE_PTR pSignature, CK_ULONG_PTR pulSignatureLen)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_VerifyInit
-include <security/cryptoki.h>
-declaration CK_RV C_VerifyInit (CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism, CK_OBJECT_HANDLE hKey)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_Verify
-include <security/cryptoki.h>
-declaration CK_RV C_Verify (CK_SESSION_HANDLE hSession, CK_BYTE_PTR pData, CK_ULONG ulDataLen, CK_BYTE_PTR pSignature, CK_ULONG ulSignatureLen)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_VerifyUpdate
-include <security/cryptoki.h>
-declaration CK_RV C_VerifyUpdate (CK_SESSION_HANDLE hSession, CK_BYTE_PTR pPart, CK_ULONG ulPartLen)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_VerifyFinal
-include <security/cryptoki.h>
-declaration CK_RV C_VerifyFinal (CK_SESSION_HANDLE hSession, CK_BYTE_PTR pSignature, CK_ULONG ulSignatureLen)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_VerifyRecoverInit
-include <security/cryptoki.h>
-declaration CK_RV C_VerifyRecoverInit (CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism, CK_OBJECT_HANDLE hKey)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_VerifyRecover
-include <security/cryptoki.h>
-declaration CK_RV C_VerifyRecover (CK_SESSION_HANDLE hSession, CK_BYTE_PTR pSignature, CK_ULONG ulSignatureLen, CK_BYTE_PTR pData, CK_ULONG_PTR pulDataLen)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_DigestEncryptUpdate
-include <security/cryptoki.h>
-declaration CK_RV C_DigestEncryptUpdate (CK_SESSION_HANDLE hSession, CK_BYTE_PTR pPart, CK_ULONG ulPartLen, CK_BYTE_PTR pEncryptedPart, CK_ULONG_PTR pulEncryptedPartLen)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_DecryptDigestUpdate
-include <security/cryptoki.h>
-declaration CK_RV C_DecryptDigestUpdate (CK_SESSION_HANDLE hSession, CK_BYTE_PTR pEncryptedPart, CK_ULONG ulEncryptedPartLen, CK_BYTE_PTR pPart, CK_ULONG_PTR pulPartLen)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_SignEncryptUpdate
-include <security/cryptoki.h>
-declaration CK_RV C_SignEncryptUpdate (CK_SESSION_HANDLE hSession, CK_BYTE_PTR pPart, CK_ULONG ulPartLen, CK_BYTE_PTR pEncryptedPart, CK_ULONG_PTR pulEncryptedPartLen)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_DecryptVerifyUpdate
-include <security/cryptoki.h>
-declaration CK_RV C_DecryptVerifyUpdate (CK_SESSION_HANDLE hSession, CK_BYTE_PTR pEncryptedPart, CK_ULONG ulEncryptedPartLen, CK_BYTE_PTR pPart, CK_ULONG_PTR pulPartLen)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_GenerateKey
-include <security/cryptoki.h>
-declaration CK_RV C_GenerateKey (CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism, CK_ATTRIBUTE_PTR pTemplate, CK_ULONG ulCount, CK_OBJECT_HANDLE_PTR phKey)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_GenerateKeyPair
-include <security/cryptoki.h>
-declaration CK_RV C_GenerateKeyPair (CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism, CK_ATTRIBUTE_PTR pPublicKeyTemplate, CK_ULONG ulPubKeyAttrCnt, CK_ATTRIBUTE_PTR pPrivateKeyTemplate, CK_ULONG ulPrivateKeyAttrCnt, CK_OBJECT_HANDLE_PTR phPublicKey, CK_OBJECT_HANDLE_PTR phPrivateKey)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_WrapKey
-include <security/cryptoki.h>
-declaration CK_RV C_WrapKey (CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism, CK_OBJECT_HANDLE hWrappingKey, CK_OBJECT_HANDLE hKey, CK_BYTE_PTR pWrappedKey, CK_ULONG_PTR pulWrappedKeyLen)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_UnwrapKey
-include <security/cryptoki.h>
-declaration CK_RV C_UnwrapKey (CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism, CK_OBJECT_HANDLE hUnwrappingKey, CK_BYTE_PTR pWrappedKey, CK_ULONG ulWrappedKeyLen, CK_ATTRIBUTE_PTR pTemplate, CK_ULONG ulAttributeCount, CK_OBJECT_HANDLE_PTR phKey)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_DeriveKey
-include <security/cryptoki.h>
-declaration CK_RV C_DeriveKey (CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism, CK_OBJECT_HANDLE hBaseKey, CK_ATTRIBUTE_PTR pTemplate, CK_ULONG ulAttributeCount, CK_OBJECT_HANDLE_PTR phKey)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_SeedRandom
-include <security/cryptoki.h>
-declaration CK_RV C_SeedRandom (CK_SESSION_HANDLE hSession, CK_BYTE_PTR pSeed, CK_ULONG ulSeedLen)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_GenerateRandom
-include <security/cryptoki.h>
-declaration CK_RV C_GenerateRandom (CK_SESSION_HANDLE hSession, CK_BYTE_PTR RandomData, CK_ULONG ulRandomLen)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_GetFunctionStatus
-include <security/cryptoki.h>
-declaration CK_RV C_GetFunctionStatus (CK_SESSION_HANDLE hSession)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_CancelFunction
-include <security/cryptoki.h>
-declaration CK_RV C_CancelFunction (CK_SESSION_HANDLE hSession)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_WaitForSlotEvent
-include <security/cryptoki.h>
-declaration CK_RV C_WaitForSlotEvent (CK_FLAGS flags, CK_SLOT_ID_PTR pSlot, CK_VOID_PTR pRserved)
-version SUNW_1.1
-exception $return != 0
-end
-
-function SUNW_C_GetMechSession
-include <security/cryptoki.h>
-declaration CK_RV SUNW_C_GetMechSession (CK_MECHANISM_TYPE mech, CK_SESSION_HANDLE_PTR hSession)
-version SUNW_1.1
-exception $return != 0
-end
-
-function SUNW_C_KeyToObject
-include <security/cryptoki.h>
-declaration CK_RV SUNW_C_KeyToObject (CK_SESSION_HANDLE hSession, CK_MECHANISM_TYPE mech, const void *rawkey, size_t rawkey_len, CK_OBJECT_HANDLE_PTR obj)
-version SUNW_1.1
-exception $return != 0
-end
diff --git a/usr/src/lib/pkcs11/libpkcs11/spec/sparc/Makefile b/usr/src/lib/pkcs11/libpkcs11/spec/sparc/Makefile
deleted file mode 100644
index 279003d4f4..0000000000
--- a/usr/src/lib/pkcs11/libpkcs11/spec/sparc/Makefile
+++ /dev/null
@@ -1,37 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-include $(SRC)/lib/Makefile.lib
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/pkcs11/libpkcs11/spec/sparcv9/Makefile b/usr/src/lib/pkcs11/libpkcs11/spec/sparcv9/Makefile
deleted file mode 100644
index 2927485713..0000000000
--- a/usr/src/lib/pkcs11/libpkcs11/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,37 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/pkcs11/libpkcs11/spec/versions b/usr/src/lib/pkcs11/libpkcs11/spec/versions
deleted file mode 100644
index f7955484e7..0000000000
--- a/usr/src/lib/pkcs11/libpkcs11/spec/versions
+++ /dev/null
@@ -1,39 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-sparc {
- SUNW_1.1;
-}
-sparcv9 {
- SUNW_1.1;
-}
-i386 {
- SUNW_1.1;
-}
-amd64 {
- SUNW_1.1;
-}
diff --git a/usr/src/lib/pkcs11/pkcs11_kernel/Makefile b/usr/src/lib/pkcs11/pkcs11_kernel/Makefile
index 5f561fd550..ead030d990 100644
--- a/usr/src/lib/pkcs11/pkcs11_kernel/Makefile
+++ b/usr/src/lib/pkcs11/pkcs11_kernel/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,12 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
-# lib/pkcs11/pkcs11_kernel/Makefile
include $(SRC)/lib/Makefile.lib
@@ -41,11 +39,9 @@ lint := TARGET= lint
.KEEP_STATE:
-all clean clobber install: spec .WAIT $(SUBDIRS)
+all clean clobber install lint: $(SUBDIRS)
-lint: $(SUBDIRS)
-
-$(SUBDIRS) spec: FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
diff --git a/usr/src/lib/pkcs11/pkcs11_kernel/Makefile.com b/usr/src/lib/pkcs11/pkcs11_kernel/Makefile.com
index b7f4de86b3..a222fe3389 100644
--- a/usr/src/lib/pkcs11/pkcs11_kernel/Makefile.com
+++ b/usr/src/lib/pkcs11/pkcs11_kernel/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,13 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/pkcs11/pkcs11_kernel/Makefile.com
-#
LIBRARY= pkcs11_kernel.a
VERS= .1
@@ -69,9 +66,6 @@ SRCDIR= ../common
LIBS = $(DYNLIB)
LDLIBS += -lc -lcryptoutil
-MAPDIR = ../spec/$(TRANSMACH)
-SPECMAPFILE = $(MAPDIR)/mapfile
-
CFLAGS += $(CCVERBOSE)
ROOTLIBDIR= $(ROOT)/usr/lib/security
diff --git a/usr/src/lib/pkcs11/pkcs11_kernel/common/mapfile-vers b/usr/src/lib/pkcs11/pkcs11_kernel/common/mapfile-vers
new file mode 100644
index 0000000000..ae754147a7
--- /dev/null
+++ b/usr/src/lib/pkcs11/pkcs11_kernel/common/mapfile-vers
@@ -0,0 +1,100 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNW_1.1 {
+ global:
+ C_CancelFunction;
+ C_CloseAllSessions;
+ C_CloseSession;
+ C_CopyObject;
+ C_CreateObject;
+ C_Decrypt;
+ C_DecryptDigestUpdate;
+ C_DecryptFinal;
+ C_DecryptInit;
+ C_DecryptUpdate;
+ C_DecryptVerifyUpdate;
+ C_DeriveKey;
+ C_DestroyObject;
+ C_Digest;
+ C_DigestEncryptUpdate;
+ C_DigestFinal;
+ C_DigestInit;
+ C_DigestKey;
+ C_DigestUpdate;
+ C_Encrypt;
+ C_EncryptFinal;
+ C_EncryptInit;
+ C_EncryptUpdate;
+ C_Finalize;
+ C_FindObjects;
+ C_FindObjectsFinal;
+ C_FindObjectsInit;
+ C_GenerateKey;
+ C_GenerateKeyPair;
+ C_GenerateRandom;
+ C_GetAttributeValue;
+ C_GetFunctionList;
+ C_GetFunctionStatus;
+ C_GetInfo;
+ C_GetMechanismInfo;
+ C_GetMechanismList;
+ C_GetObjectSize;
+ C_GetOperationState;
+ C_GetSessionInfo;
+ C_GetSlotInfo;
+ C_GetSlotList;
+ C_GetTokenInfo;
+ C_Initialize;
+ C_InitPIN;
+ C_InitToken;
+ C_Login;
+ C_Logout;
+ C_OpenSession;
+ C_SeedRandom;
+ C_SetAttributeValue;
+ C_SetOperationState;
+ C_SetPIN;
+ C_Sign;
+ C_SignEncryptUpdate;
+ C_SignFinal;
+ C_SignInit;
+ C_SignRecover;
+ C_SignRecoverInit;
+ C_SignUpdate;
+ C_UnwrapKey;
+ C_Verify;
+ C_VerifyFinal;
+ C_VerifyInit;
+ C_VerifyRecover;
+ C_VerifyRecoverInit;
+ C_VerifyUpdate;
+ C_WaitForSlotEvent;
+ C_WrapKey;
+ local:
+ *;
+};
diff --git a/usr/src/lib/pkcs11/pkcs11_kernel/spec/Makefile b/usr/src/lib/pkcs11/pkcs11_kernel/spec/Makefile
deleted file mode 100644
index ae13c35801..0000000000
--- a/usr/src/lib/pkcs11/pkcs11_kernel/spec/Makefile
+++ /dev/null
@@ -1,28 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/pkcs11/pkcs11_kernel/spec/Makefile.targ b/usr/src/lib/pkcs11/pkcs11_kernel/spec/Makefile.targ
deleted file mode 100644
index 0c596dea52..0000000000
--- a/usr/src/lib/pkcs11/pkcs11_kernel/spec/Makefile.targ
+++ /dev/null
@@ -1,33 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-
-LIBRARY = pkcs11_kernel.a
-VERS = .1
-
-OBJECTS = pkcs11_kernel.o
-
-SPECCPP = -I.. -I../../include
diff --git a/usr/src/lib/pkcs11/pkcs11_kernel/spec/amd64/Makefile b/usr/src/lib/pkcs11/pkcs11_kernel/spec/amd64/Makefile
deleted file mode 100644
index f133a21843..0000000000
--- a/usr/src/lib/pkcs11/pkcs11_kernel/spec/amd64/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-include $(SRC)/lib/Makefile.spec
-
diff --git a/usr/src/lib/pkcs11/pkcs11_kernel/spec/i386/Makefile b/usr/src/lib/pkcs11/pkcs11_kernel/spec/i386/Makefile
deleted file mode 100644
index 91a6e69e0e..0000000000
--- a/usr/src/lib/pkcs11/pkcs11_kernel/spec/i386/Makefile
+++ /dev/null
@@ -1,35 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-include $(SRC)/lib/Makefile.lib
-
-include $(SRC)/lib/Makefile.spec
-
diff --git a/usr/src/lib/pkcs11/pkcs11_kernel/spec/pkcs11_kernel.spec b/usr/src/lib/pkcs11/pkcs11_kernel/spec/pkcs11_kernel.spec
deleted file mode 100644
index 03b6382f4e..0000000000
--- a/usr/src/lib/pkcs11/pkcs11_kernel/spec/pkcs11_kernel.spec
+++ /dev/null
@@ -1,501 +0,0 @@
-#ident "%Z%%M% %I% %E% SMI"
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-
-function C_Initialize
-include <security/cryptoki.h>
-declaration CK_RV C_Initialize (CK_VOID_PTR pInitArgs)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_Finalize
-include <security/cryptoki.h>
-declaration CK_RV C_Finalize (CK_VOID_PTR pReserved)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_GetInfo
-include <security/cryptoki.h>
-declaration CK_RV C_GetInfo (CK_INFO_PTR pInfo)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_GetFunctionList
-include <security/cryptoki.h>
-declaration CK_RV C_GetFunctionList (CK_FUNCTION_LIST_PTR_PTR ppFunctionList)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_GetSlotList
-include <security/cryptoki.h>
-declaration CK_RV C_GetSlotList (CK_BBOOL tokenPresent, CK_SLOT_ID_PTR pSlotList, CK_ULONG_PTR pulCount)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_GetSlotInfo
-include <security/cryptoki.h>
-declaration CK_RV C_GetSlotInfo (CK_SLOT_ID slotID, CK_SLOT_INFO_PTR pInfo)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_GetTokenInfo
-include <security/cryptoki.h>
-declaration CK_RV C_GetTokenInfo (CK_SLOT_ID slotID, CK_TOKEN_INFO_PTR pInfo)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_GetMechanismList
-include <security/cryptoki.h>
-declaration CK_RV C_GetMechanismList (CK_SLOT_ID slotID, CK_MECHANISM_TYPE_PTR pMechanismList, CK_ULONG_PTR pulCount)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_GetMechanismInfo
-include <security/cryptoki.h>
-declaration CK_RV C_GetMechanismInfo (CK_SLOT_ID slotID, CK_MECHANISM_TYPE type, CK_MECHANISM_INFO_PTR pInfo)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_InitToken
-include <security/cryptoki.h>
-declaration CK_RV C_InitToken (CK_SLOT_ID slotID, CK_UTF8CHAR_PTR pPin, CK_ULONG ulPinLen, CK_UTF8CHAR_PTR pLabel)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_InitPIN
-include <security/cryptoki.h>
-declaration CK_RV C_InitPIN (CK_SESSION_HANDLE hSession, CK_UTF8CHAR_PTR pPin, CK_ULONG ulPinLen)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_SetPIN
-include <security/cryptoki.h>
-declaration CK_RV C_SetPIN (CK_SESSION_HANDLE hSession, CK_UTF8CHAR_PTR pOldPin, CK_ULONG ulOldLen, CK_UTF8CHAR_PTR pNewPin, CK_ULONG ulNewLen)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_OpenSession
-include <security/cryptoki.h>
-declaration CK_RV C_OpenSession (CK_SLOT_ID slotID, CK_FLAGS flags, CK_VOID_PTR pApplication, CK_NOTIFY Notify, CK_SESSION_HANDLE_PTR phSession)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_CloseSession
-include <security/cryptoki.h>
-declaration CK_RV C_CloseSession (CK_SESSION_HANDLE hSession)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_CloseAllSessions
-include <security/cryptoki.h>
-declaration CK_RV C_CloseAllSessions (CK_SLOT_ID slotID)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_GetSessionInfo
-include <security/cryptoki.h>
-declaration CK_RV C_GetSessionInfo (CK_SESSION_HANDLE hSession, CK_SESSION_INFO_PTR pInfo)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_GetOperationState
-include <security/cryptoki.h>
-declaration CK_RV C_GetOperationState (CK_SESSION_HANDLE hSession, CK_BYTE_PTR pOperationState, CK_ULONG_PTR pulOperStateLen)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_SetOperationState
-include <security/cryptoki.h>
-declaration CK_RV C_SetOperationState (CK_SESSION_HANDLE hSession, CK_BYTE_PTR pOperationState, CK_ULONG ulOperationStateLen, CK_OBJECT_HANDLE hEncryptionKey, CK_OBJECT_HANDLE hAuthenticationKey)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_Login
-include <security/cryptoki.h>
-declaration CK_RV C_Login (CK_SESSION_HANDLE hSession, CK_USER_TYPE userType, CK_UTF8CHAR_PTR pPin, CK_ULONG ulPinLen)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_Logout
-include <security/cryptoki.h>
-declaration CK_RV C_Logout (CK_SESSION_HANDLE hSession)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_CreateObject
-include <security/cryptoki.h>
-declaration CK_RV C_CreateObject (CK_SESSION_HANDLE hSession, CK_ATTRIBUTE_PTR pTemplate, CK_ULONG ulCount, CK_OBJECT_HANDLE_PTR phObject)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_CopyObject
-include <security/cryptoki.h>
-declaration CK_RV C_CopyObject (CK_SESSION_HANDLE hSession, CK_OBJECT_HANDLE hObject, CK_ATTRIBUTE_PTR pTemplate, CK_ULONG ulCount, CK_OBJECT_HANDLE_PTR phNewObject)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_DestroyObject
-include <security/cryptoki.h>
-declaration CK_RV C_DestroyObject (CK_SESSION_HANDLE hSession, CK_OBJECT_HANDLE hObject)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_GetObjectSize
-include <security/cryptoki.h>
-declaration CK_RV C_GetObjectSize (CK_SESSION_HANDLE hSession, CK_OBJECT_HANDLE hObject, CK_ULONG_PTR pulSize)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_GetAttributeValue
-include <security/cryptoki.h>
-declaration CK_RV C_GetAttributeValue (CK_SESSION_HANDLE hSession, CK_OBJECT_HANDLE hObject, CK_ATTRIBUTE_PTR pTemplate, CK_ULONG ulCount)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_SetAttributeValue
-include <security/cryptoki.h>
-declaration CK_RV C_SetAttributeValue (CK_SESSION_HANDLE hSession, CK_OBJECT_HANDLE hObject, CK_ATTRIBUTE_PTR pTemplate, CK_ULONG ulCount)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_FindObjectsInit
-include <security/cryptoki.h>
-declaration CK_RV C_FindObjectsInit (CK_SESSION_HANDLE hSession, CK_ATTRIBUTE_PTR pTemplate, CK_ULONG ulCount)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_FindObjects
-include <security/cryptoki.h>
-declaration CK_RV C_FindObjects (CK_SESSION_HANDLE hSession, CK_OBJECT_HANDLE_PTR phObject, CK_ULONG ulMaxObjectCount, CK_ULONG_PTR pulObjectCount)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_FindObjectsFinal
-include <security/cryptoki.h>
-declaration CK_RV C_FindObjectsFinal (CK_SESSION_HANDLE hSession)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_EncryptInit
-include <security/cryptoki.h>
-declaration CK_RV C_EncryptInit (CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism, CK_OBJECT_HANDLE hKey)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_Encrypt
-include <security/cryptoki.h>
-declaration CK_RV C_Encrypt (CK_SESSION_HANDLE hSession, CK_BYTE_PTR pData, CK_ULONG ulDataLen, CK_BYTE_PTR pEncryptedData, CK_ULONG_PTR pulEncryptedDataLen)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_EncryptUpdate
-include <security/cryptoki.h>
-declaration CK_RV C_EncryptUpdate (CK_SESSION_HANDLE hSession, CK_BYTE_PTR pPart, CK_ULONG ulPartLen, CK_BYTE_PTR pEncryptedPart, CK_ULONG_PTR pulEncryptedPartLen)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_EncryptFinal
-include <security/cryptoki.h>
-declaration CK_RV C_EncryptFinal (CK_SESSION_HANDLE hSession, CK_BYTE_PTR pLastEncryptedPart, CK_ULONG_PTR pulLastEncPartLen)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_DecryptInit
-include <security/cryptoki.h>
-declaration CK_RV C_DecryptInit (CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism, CK_OBJECT_HANDLE hKey)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_Decrypt
-include <security/cryptoki.h>
-declaration CK_RV C_Decrypt (CK_SESSION_HANDLE hSession, CK_BYTE_PTR pEncryptedData, CK_ULONG ulEncryptedDataLen, CK_BYTE_PTR pData, CK_ULONG_PTR pulDataLen)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_DecryptUpdate
-include <security/cryptoki.h>
-declaration CK_RV C_DecryptUpdate (CK_SESSION_HANDLE hSession, CK_BYTE_PTR pEncryptedPart, CK_ULONG ulEncryptedPartLen, CK_BYTE_PTR pPart, CK_ULONG_PTR pulPartLen)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_DecryptFinal
-include <security/cryptoki.h>
-declaration CK_RV C_DecryptFinal (CK_SESSION_HANDLE hSession, CK_BYTE_PTR pLastPart, CK_ULONG_PTR pulLastPartLen)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_DigestInit
-include <security/cryptoki.h>
-declaration CK_RV C_DigestInit (CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_Digest
-include <security/cryptoki.h>
-declaration CK_RV C_Digest (CK_SESSION_HANDLE hSession, CK_BYTE_PTR pData, CK_ULONG ulDataLen, CK_BYTE_PTR pDigest, CK_ULONG_PTR pulDigestLen)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_DigestUpdate
-include <security/cryptoki.h>
-declaration CK_RV C_DigestUpdate (CK_SESSION_HANDLE hSession, CK_BYTE_PTR pPart, CK_ULONG ulPartLen)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_DigestKey
-include <security/cryptoki.h>
-declaration CK_RV C_DigestKey (CK_SESSION_HANDLE hSession, CK_OBJECT_HANDLE hKey)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_DigestFinal
-include <security/cryptoki.h>
-declaration CK_RV C_DigestFinal (CK_SESSION_HANDLE hSession, CK_BYTE_PTR pDigest, CK_ULONG_PTR pulDigestLen)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_SignInit
-include <security/cryptoki.h>
-declaration CK_RV C_SignInit (CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism, CK_OBJECT_HANDLE hKey)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_Sign
-include <security/cryptoki.h>
-declaration CK_RV C_Sign (CK_SESSION_HANDLE hSession, CK_BYTE_PTR pData, CK_ULONG ulDataLen, CK_BYTE_PTR pSignature, CK_ULONG_PTR pulSignatureLen)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_SignUpdate
-include <security/cryptoki.h>
-declaration CK_RV C_SignUpdate (CK_SESSION_HANDLE hSession, CK_BYTE_PTR pPart, CK_ULONG ulPartLen)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_SignFinal
-include <security/cryptoki.h>
-declaration CK_RV C_SignFinal (CK_SESSION_HANDLE hSession, CK_BYTE_PTR pSignature, CK_ULONG_PTR pulSignatureLen)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_SignRecoverInit
-include <security/cryptoki.h>
-declaration CK_RV C_SignRecoverInit (CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism, CK_OBJECT_HANDLE hKey)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_SignRecover
-include <security/cryptoki.h>
-declaration CK_RV C_SignRecover (CK_SESSION_HANDLE hSession, CK_BYTE_PTR pData, CK_ULONG ulDataLen, CK_BYTE_PTR pSignature, CK_ULONG_PTR pulSignatureLen)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_VerifyInit
-include <security/cryptoki.h>
-declaration CK_RV C_VerifyInit (CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism, CK_OBJECT_HANDLE hKey)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_Verify
-include <security/cryptoki.h>
-declaration CK_RV C_Verify (CK_SESSION_HANDLE hSession, CK_BYTE_PTR pData, CK_ULONG ulDataLen, CK_BYTE_PTR pSignature, CK_ULONG ulSignatureLen)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_VerifyUpdate
-include <security/cryptoki.h>
-declaration CK_RV C_VerifyUpdate (CK_SESSION_HANDLE hSession, CK_BYTE_PTR pPart, CK_ULONG ulPartLen)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_VerifyFinal
-include <security/cryptoki.h>
-declaration CK_RV C_VerifyFinal (CK_SESSION_HANDLE hSession, CK_BYTE_PTR pSignature, CK_ULONG ulSignatureLen)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_VerifyRecoverInit
-include <security/cryptoki.h>
-declaration CK_RV C_VerifyRecoverInit (CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism, CK_OBJECT_HANDLE hKey)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_VerifyRecover
-include <security/cryptoki.h>
-declaration CK_RV C_VerifyRecover (CK_SESSION_HANDLE hSession, CK_BYTE_PTR pSignature, CK_ULONG ulSignatureLen, CK_BYTE_PTR pData, CK_ULONG_PTR pulDataLen)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_DigestEncryptUpdate
-include <security/cryptoki.h>
-declaration CK_RV C_DigestEncryptUpdate (CK_SESSION_HANDLE hSession, CK_BYTE_PTR pPart, CK_ULONG ulPartLen, CK_BYTE_PTR pEncryptedPart, CK_ULONG_PTR pulEncryptedPartLen)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_DecryptDigestUpdate
-include <security/cryptoki.h>
-declaration CK_RV C_DecryptDigestUpdate (CK_SESSION_HANDLE hSession, CK_BYTE_PTR pEncryptedPart, CK_ULONG ulEncryptedPartLen, CK_BYTE_PTR pPart, CK_ULONG_PTR pulPartLen)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_SignEncryptUpdate
-include <security/cryptoki.h>
-declaration CK_RV C_SignEncryptUpdate (CK_SESSION_HANDLE hSession, CK_BYTE_PTR pPart, CK_ULONG ulPartLen, CK_BYTE_PTR pEncryptedPart, CK_ULONG_PTR pulEncryptedPartLen)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_DecryptVerifyUpdate
-include <security/cryptoki.h>
-declaration CK_RV C_DecryptVerifyUpdate (CK_SESSION_HANDLE hSession, CK_BYTE_PTR pEncryptedPart, CK_ULONG ulEncryptedPartLen, CK_BYTE_PTR pPart, CK_ULONG_PTR pulPartLen)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_GenerateKey
-include <security/cryptoki.h>
-declaration CK_RV C_GenerateKey (CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism, CK_ATTRIBUTE_PTR pTemplate, CK_ULONG ulCount, CK_OBJECT_HANDLE_PTR phKey)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_GenerateKeyPair
-include <security/cryptoki.h>
-declaration CK_RV C_GenerateKeyPair (CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism, CK_ATTRIBUTE_PTR pPublicKeyTemplate, CK_ULONG ulPubKeyAttrCnt, CK_ATTRIBUTE_PTR pPrivateKeyTemplate, CK_ULONG ulPrivateKeyAttrCnt, CK_OBJECT_HANDLE_PTR phPublicKey, CK_OBJECT_HANDLE_PTR phPrivateKey)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_WrapKey
-include <security/cryptoki.h>
-declaration CK_RV C_WrapKey (CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism, CK_OBJECT_HANDLE hWrappingKey, CK_OBJECT_HANDLE hKey, CK_BYTE_PTR pWrappedKey, CK_ULONG_PTR pulWrappedKeyLen)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_UnwrapKey
-include <security/cryptoki.h>
-declaration CK_RV C_UnwrapKey (CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism, CK_OBJECT_HANDLE hUnwrappingKey, CK_BYTE_PTR pWrappedKey, CK_ULONG ulWrappedKeyLen, CK_ATTRIBUTE_PTR pTemplate, CK_ULONG ulAttributeCount, CK_OBJECT_HANDLE_PTR phKey)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_DeriveKey
-include <security/cryptoki.h>
-declaration CK_RV C_DeriveKey (CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism, CK_OBJECT_HANDLE hBaseKey, CK_ATTRIBUTE_PTR pTemplate, CK_ULONG ulAttributeCount, CK_OBJECT_HANDLE_PTR phKey)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_SeedRandom
-include <security/cryptoki.h>
-declaration CK_RV C_SeedRandom (CK_SESSION_HANDLE hSession, CK_BYTE_PTR pSeed, CK_ULONG ulSeedLen)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_GenerateRandom
-include <security/cryptoki.h>
-declaration CK_RV C_GenerateRandom (CK_SESSION_HANDLE hSession, CK_BYTE_PTR RandomData, CK_ULONG ulRandomLen)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_GetFunctionStatus
-include <security/cryptoki.h>
-declaration CK_RV C_GetFunctionStatus (CK_SESSION_HANDLE hSession)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_CancelFunction
-include <security/cryptoki.h>
-declaration CK_RV C_CancelFunction (CK_SESSION_HANDLE hSession)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_WaitForSlotEvent
-include <security/cryptoki.h>
-declaration CK_RV C_WaitForSlotEvent (CK_FLAGS flags, CK_SLOT_ID_PTR pSlot, CK_VOID_PTR pRserved)
-version SUNW_1.1
-exception $return != 0
-end
diff --git a/usr/src/lib/pkcs11/pkcs11_kernel/spec/sparc/Makefile b/usr/src/lib/pkcs11/pkcs11_kernel/spec/sparc/Makefile
deleted file mode 100644
index ae6dc6ac9f..0000000000
--- a/usr/src/lib/pkcs11/pkcs11_kernel/spec/sparc/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-include $(SRC)/lib/Makefile.lib
-
-include $(SRC)/lib/Makefile.spec
-
-
diff --git a/usr/src/lib/pkcs11/pkcs11_kernel/spec/sparcv9/Makefile b/usr/src/lib/pkcs11/pkcs11_kernel/spec/sparcv9/Makefile
deleted file mode 100644
index 21d2119a91..0000000000
--- a/usr/src/lib/pkcs11/pkcs11_kernel/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,35 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-include $(SRC)/lib/Makefile.spec
-
diff --git a/usr/src/lib/pkcs11/pkcs11_kernel/spec/versions b/usr/src/lib/pkcs11/pkcs11_kernel/spec/versions
deleted file mode 100644
index fa34bcefe7..0000000000
--- a/usr/src/lib/pkcs11/pkcs11_kernel/spec/versions
+++ /dev/null
@@ -1,39 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-sparc {
- SUNW_1.1;
-}
-sparcv9 {
- SUNW_1.1;
-}
-i386 {
- SUNW_1.1;
-}
-amd64 {
- SUNW_1.1;
-}
diff --git a/usr/src/lib/pkcs11/pkcs11_softtoken/Makefile b/usr/src/lib/pkcs11/pkcs11_softtoken/Makefile
index 802b0ac99f..cdeea1697a 100644
--- a/usr/src/lib/pkcs11/pkcs11_softtoken/Makefile
+++ b/usr/src/lib/pkcs11/pkcs11_softtoken/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,17 +19,15 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/pkcs11/pkcs11_softtoken/Makefile
include $(SRC)/lib/Makefile.lib
SUBDIRS= $(MACH)
-
$(BUILD64)SUBDIRS += $(MACH64)
all := TARGET= all
@@ -42,11 +39,9 @@ lint := TARGET= lint
.KEEP_STATE:
-all check clean clobber install: spec .WAIT $(SUBDIRS)
-
-lint: $(SUBDIRS)
+all check clean clobber install lint: $(SUBDIRS)
-$(SUBDIRS) spec: FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
diff --git a/usr/src/lib/pkcs11/pkcs11_softtoken/common/mapfile-vers b/usr/src/lib/pkcs11/pkcs11_softtoken/common/mapfile-vers
new file mode 100644
index 0000000000..ae754147a7
--- /dev/null
+++ b/usr/src/lib/pkcs11/pkcs11_softtoken/common/mapfile-vers
@@ -0,0 +1,100 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNW_1.1 {
+ global:
+ C_CancelFunction;
+ C_CloseAllSessions;
+ C_CloseSession;
+ C_CopyObject;
+ C_CreateObject;
+ C_Decrypt;
+ C_DecryptDigestUpdate;
+ C_DecryptFinal;
+ C_DecryptInit;
+ C_DecryptUpdate;
+ C_DecryptVerifyUpdate;
+ C_DeriveKey;
+ C_DestroyObject;
+ C_Digest;
+ C_DigestEncryptUpdate;
+ C_DigestFinal;
+ C_DigestInit;
+ C_DigestKey;
+ C_DigestUpdate;
+ C_Encrypt;
+ C_EncryptFinal;
+ C_EncryptInit;
+ C_EncryptUpdate;
+ C_Finalize;
+ C_FindObjects;
+ C_FindObjectsFinal;
+ C_FindObjectsInit;
+ C_GenerateKey;
+ C_GenerateKeyPair;
+ C_GenerateRandom;
+ C_GetAttributeValue;
+ C_GetFunctionList;
+ C_GetFunctionStatus;
+ C_GetInfo;
+ C_GetMechanismInfo;
+ C_GetMechanismList;
+ C_GetObjectSize;
+ C_GetOperationState;
+ C_GetSessionInfo;
+ C_GetSlotInfo;
+ C_GetSlotList;
+ C_GetTokenInfo;
+ C_Initialize;
+ C_InitPIN;
+ C_InitToken;
+ C_Login;
+ C_Logout;
+ C_OpenSession;
+ C_SeedRandom;
+ C_SetAttributeValue;
+ C_SetOperationState;
+ C_SetPIN;
+ C_Sign;
+ C_SignEncryptUpdate;
+ C_SignFinal;
+ C_SignInit;
+ C_SignRecover;
+ C_SignRecoverInit;
+ C_SignUpdate;
+ C_UnwrapKey;
+ C_Verify;
+ C_VerifyFinal;
+ C_VerifyInit;
+ C_VerifyRecover;
+ C_VerifyRecoverInit;
+ C_VerifyUpdate;
+ C_WaitForSlotEvent;
+ C_WrapKey;
+ local:
+ *;
+};
diff --git a/usr/src/lib/pkcs11/pkcs11_softtoken/spec/Makefile b/usr/src/lib/pkcs11/pkcs11_softtoken/spec/Makefile
deleted file mode 100644
index ae13c35801..0000000000
--- a/usr/src/lib/pkcs11/pkcs11_softtoken/spec/Makefile
+++ /dev/null
@@ -1,28 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/pkcs11/pkcs11_softtoken/spec/Makefile.targ b/usr/src/lib/pkcs11/pkcs11_softtoken/spec/Makefile.targ
deleted file mode 100644
index d680607664..0000000000
--- a/usr/src/lib/pkcs11/pkcs11_softtoken/spec/Makefile.targ
+++ /dev/null
@@ -1,33 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-
-LIBRARY = pkcs11_softtoken.a
-VERS = .1
-
-OBJECTS = pkcs11_softtoken.o
-
-SPECCPP = -I.. -I../../include
diff --git a/usr/src/lib/pkcs11/pkcs11_softtoken/spec/amd64/Makefile b/usr/src/lib/pkcs11/pkcs11_softtoken/spec/amd64/Makefile
deleted file mode 100644
index 32915eba8b..0000000000
--- a/usr/src/lib/pkcs11/pkcs11_softtoken/spec/amd64/Makefile
+++ /dev/null
@@ -1,37 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-include $(SRC)/lib/Makefile.spec
-
diff --git a/usr/src/lib/pkcs11/pkcs11_softtoken/spec/i386/Makefile b/usr/src/lib/pkcs11/pkcs11_softtoken/spec/i386/Makefile
deleted file mode 100644
index a394286a55..0000000000
--- a/usr/src/lib/pkcs11/pkcs11_softtoken/spec/i386/Makefile
+++ /dev/null
@@ -1,33 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-
-include ../Makefile.targ
-
-include $(SRC)/lib/Makefile.lib
-
-include $(SRC)/lib/Makefile.spec
-
diff --git a/usr/src/lib/pkcs11/pkcs11_softtoken/spec/pkcs11_softtoken.spec b/usr/src/lib/pkcs11/pkcs11_softtoken/spec/pkcs11_softtoken.spec
deleted file mode 100644
index 03b6382f4e..0000000000
--- a/usr/src/lib/pkcs11/pkcs11_softtoken/spec/pkcs11_softtoken.spec
+++ /dev/null
@@ -1,501 +0,0 @@
-#ident "%Z%%M% %I% %E% SMI"
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-
-function C_Initialize
-include <security/cryptoki.h>
-declaration CK_RV C_Initialize (CK_VOID_PTR pInitArgs)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_Finalize
-include <security/cryptoki.h>
-declaration CK_RV C_Finalize (CK_VOID_PTR pReserved)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_GetInfo
-include <security/cryptoki.h>
-declaration CK_RV C_GetInfo (CK_INFO_PTR pInfo)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_GetFunctionList
-include <security/cryptoki.h>
-declaration CK_RV C_GetFunctionList (CK_FUNCTION_LIST_PTR_PTR ppFunctionList)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_GetSlotList
-include <security/cryptoki.h>
-declaration CK_RV C_GetSlotList (CK_BBOOL tokenPresent, CK_SLOT_ID_PTR pSlotList, CK_ULONG_PTR pulCount)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_GetSlotInfo
-include <security/cryptoki.h>
-declaration CK_RV C_GetSlotInfo (CK_SLOT_ID slotID, CK_SLOT_INFO_PTR pInfo)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_GetTokenInfo
-include <security/cryptoki.h>
-declaration CK_RV C_GetTokenInfo (CK_SLOT_ID slotID, CK_TOKEN_INFO_PTR pInfo)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_GetMechanismList
-include <security/cryptoki.h>
-declaration CK_RV C_GetMechanismList (CK_SLOT_ID slotID, CK_MECHANISM_TYPE_PTR pMechanismList, CK_ULONG_PTR pulCount)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_GetMechanismInfo
-include <security/cryptoki.h>
-declaration CK_RV C_GetMechanismInfo (CK_SLOT_ID slotID, CK_MECHANISM_TYPE type, CK_MECHANISM_INFO_PTR pInfo)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_InitToken
-include <security/cryptoki.h>
-declaration CK_RV C_InitToken (CK_SLOT_ID slotID, CK_UTF8CHAR_PTR pPin, CK_ULONG ulPinLen, CK_UTF8CHAR_PTR pLabel)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_InitPIN
-include <security/cryptoki.h>
-declaration CK_RV C_InitPIN (CK_SESSION_HANDLE hSession, CK_UTF8CHAR_PTR pPin, CK_ULONG ulPinLen)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_SetPIN
-include <security/cryptoki.h>
-declaration CK_RV C_SetPIN (CK_SESSION_HANDLE hSession, CK_UTF8CHAR_PTR pOldPin, CK_ULONG ulOldLen, CK_UTF8CHAR_PTR pNewPin, CK_ULONG ulNewLen)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_OpenSession
-include <security/cryptoki.h>
-declaration CK_RV C_OpenSession (CK_SLOT_ID slotID, CK_FLAGS flags, CK_VOID_PTR pApplication, CK_NOTIFY Notify, CK_SESSION_HANDLE_PTR phSession)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_CloseSession
-include <security/cryptoki.h>
-declaration CK_RV C_CloseSession (CK_SESSION_HANDLE hSession)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_CloseAllSessions
-include <security/cryptoki.h>
-declaration CK_RV C_CloseAllSessions (CK_SLOT_ID slotID)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_GetSessionInfo
-include <security/cryptoki.h>
-declaration CK_RV C_GetSessionInfo (CK_SESSION_HANDLE hSession, CK_SESSION_INFO_PTR pInfo)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_GetOperationState
-include <security/cryptoki.h>
-declaration CK_RV C_GetOperationState (CK_SESSION_HANDLE hSession, CK_BYTE_PTR pOperationState, CK_ULONG_PTR pulOperStateLen)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_SetOperationState
-include <security/cryptoki.h>
-declaration CK_RV C_SetOperationState (CK_SESSION_HANDLE hSession, CK_BYTE_PTR pOperationState, CK_ULONG ulOperationStateLen, CK_OBJECT_HANDLE hEncryptionKey, CK_OBJECT_HANDLE hAuthenticationKey)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_Login
-include <security/cryptoki.h>
-declaration CK_RV C_Login (CK_SESSION_HANDLE hSession, CK_USER_TYPE userType, CK_UTF8CHAR_PTR pPin, CK_ULONG ulPinLen)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_Logout
-include <security/cryptoki.h>
-declaration CK_RV C_Logout (CK_SESSION_HANDLE hSession)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_CreateObject
-include <security/cryptoki.h>
-declaration CK_RV C_CreateObject (CK_SESSION_HANDLE hSession, CK_ATTRIBUTE_PTR pTemplate, CK_ULONG ulCount, CK_OBJECT_HANDLE_PTR phObject)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_CopyObject
-include <security/cryptoki.h>
-declaration CK_RV C_CopyObject (CK_SESSION_HANDLE hSession, CK_OBJECT_HANDLE hObject, CK_ATTRIBUTE_PTR pTemplate, CK_ULONG ulCount, CK_OBJECT_HANDLE_PTR phNewObject)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_DestroyObject
-include <security/cryptoki.h>
-declaration CK_RV C_DestroyObject (CK_SESSION_HANDLE hSession, CK_OBJECT_HANDLE hObject)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_GetObjectSize
-include <security/cryptoki.h>
-declaration CK_RV C_GetObjectSize (CK_SESSION_HANDLE hSession, CK_OBJECT_HANDLE hObject, CK_ULONG_PTR pulSize)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_GetAttributeValue
-include <security/cryptoki.h>
-declaration CK_RV C_GetAttributeValue (CK_SESSION_HANDLE hSession, CK_OBJECT_HANDLE hObject, CK_ATTRIBUTE_PTR pTemplate, CK_ULONG ulCount)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_SetAttributeValue
-include <security/cryptoki.h>
-declaration CK_RV C_SetAttributeValue (CK_SESSION_HANDLE hSession, CK_OBJECT_HANDLE hObject, CK_ATTRIBUTE_PTR pTemplate, CK_ULONG ulCount)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_FindObjectsInit
-include <security/cryptoki.h>
-declaration CK_RV C_FindObjectsInit (CK_SESSION_HANDLE hSession, CK_ATTRIBUTE_PTR pTemplate, CK_ULONG ulCount)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_FindObjects
-include <security/cryptoki.h>
-declaration CK_RV C_FindObjects (CK_SESSION_HANDLE hSession, CK_OBJECT_HANDLE_PTR phObject, CK_ULONG ulMaxObjectCount, CK_ULONG_PTR pulObjectCount)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_FindObjectsFinal
-include <security/cryptoki.h>
-declaration CK_RV C_FindObjectsFinal (CK_SESSION_HANDLE hSession)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_EncryptInit
-include <security/cryptoki.h>
-declaration CK_RV C_EncryptInit (CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism, CK_OBJECT_HANDLE hKey)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_Encrypt
-include <security/cryptoki.h>
-declaration CK_RV C_Encrypt (CK_SESSION_HANDLE hSession, CK_BYTE_PTR pData, CK_ULONG ulDataLen, CK_BYTE_PTR pEncryptedData, CK_ULONG_PTR pulEncryptedDataLen)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_EncryptUpdate
-include <security/cryptoki.h>
-declaration CK_RV C_EncryptUpdate (CK_SESSION_HANDLE hSession, CK_BYTE_PTR pPart, CK_ULONG ulPartLen, CK_BYTE_PTR pEncryptedPart, CK_ULONG_PTR pulEncryptedPartLen)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_EncryptFinal
-include <security/cryptoki.h>
-declaration CK_RV C_EncryptFinal (CK_SESSION_HANDLE hSession, CK_BYTE_PTR pLastEncryptedPart, CK_ULONG_PTR pulLastEncPartLen)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_DecryptInit
-include <security/cryptoki.h>
-declaration CK_RV C_DecryptInit (CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism, CK_OBJECT_HANDLE hKey)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_Decrypt
-include <security/cryptoki.h>
-declaration CK_RV C_Decrypt (CK_SESSION_HANDLE hSession, CK_BYTE_PTR pEncryptedData, CK_ULONG ulEncryptedDataLen, CK_BYTE_PTR pData, CK_ULONG_PTR pulDataLen)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_DecryptUpdate
-include <security/cryptoki.h>
-declaration CK_RV C_DecryptUpdate (CK_SESSION_HANDLE hSession, CK_BYTE_PTR pEncryptedPart, CK_ULONG ulEncryptedPartLen, CK_BYTE_PTR pPart, CK_ULONG_PTR pulPartLen)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_DecryptFinal
-include <security/cryptoki.h>
-declaration CK_RV C_DecryptFinal (CK_SESSION_HANDLE hSession, CK_BYTE_PTR pLastPart, CK_ULONG_PTR pulLastPartLen)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_DigestInit
-include <security/cryptoki.h>
-declaration CK_RV C_DigestInit (CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_Digest
-include <security/cryptoki.h>
-declaration CK_RV C_Digest (CK_SESSION_HANDLE hSession, CK_BYTE_PTR pData, CK_ULONG ulDataLen, CK_BYTE_PTR pDigest, CK_ULONG_PTR pulDigestLen)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_DigestUpdate
-include <security/cryptoki.h>
-declaration CK_RV C_DigestUpdate (CK_SESSION_HANDLE hSession, CK_BYTE_PTR pPart, CK_ULONG ulPartLen)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_DigestKey
-include <security/cryptoki.h>
-declaration CK_RV C_DigestKey (CK_SESSION_HANDLE hSession, CK_OBJECT_HANDLE hKey)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_DigestFinal
-include <security/cryptoki.h>
-declaration CK_RV C_DigestFinal (CK_SESSION_HANDLE hSession, CK_BYTE_PTR pDigest, CK_ULONG_PTR pulDigestLen)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_SignInit
-include <security/cryptoki.h>
-declaration CK_RV C_SignInit (CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism, CK_OBJECT_HANDLE hKey)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_Sign
-include <security/cryptoki.h>
-declaration CK_RV C_Sign (CK_SESSION_HANDLE hSession, CK_BYTE_PTR pData, CK_ULONG ulDataLen, CK_BYTE_PTR pSignature, CK_ULONG_PTR pulSignatureLen)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_SignUpdate
-include <security/cryptoki.h>
-declaration CK_RV C_SignUpdate (CK_SESSION_HANDLE hSession, CK_BYTE_PTR pPart, CK_ULONG ulPartLen)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_SignFinal
-include <security/cryptoki.h>
-declaration CK_RV C_SignFinal (CK_SESSION_HANDLE hSession, CK_BYTE_PTR pSignature, CK_ULONG_PTR pulSignatureLen)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_SignRecoverInit
-include <security/cryptoki.h>
-declaration CK_RV C_SignRecoverInit (CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism, CK_OBJECT_HANDLE hKey)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_SignRecover
-include <security/cryptoki.h>
-declaration CK_RV C_SignRecover (CK_SESSION_HANDLE hSession, CK_BYTE_PTR pData, CK_ULONG ulDataLen, CK_BYTE_PTR pSignature, CK_ULONG_PTR pulSignatureLen)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_VerifyInit
-include <security/cryptoki.h>
-declaration CK_RV C_VerifyInit (CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism, CK_OBJECT_HANDLE hKey)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_Verify
-include <security/cryptoki.h>
-declaration CK_RV C_Verify (CK_SESSION_HANDLE hSession, CK_BYTE_PTR pData, CK_ULONG ulDataLen, CK_BYTE_PTR pSignature, CK_ULONG ulSignatureLen)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_VerifyUpdate
-include <security/cryptoki.h>
-declaration CK_RV C_VerifyUpdate (CK_SESSION_HANDLE hSession, CK_BYTE_PTR pPart, CK_ULONG ulPartLen)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_VerifyFinal
-include <security/cryptoki.h>
-declaration CK_RV C_VerifyFinal (CK_SESSION_HANDLE hSession, CK_BYTE_PTR pSignature, CK_ULONG ulSignatureLen)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_VerifyRecoverInit
-include <security/cryptoki.h>
-declaration CK_RV C_VerifyRecoverInit (CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism, CK_OBJECT_HANDLE hKey)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_VerifyRecover
-include <security/cryptoki.h>
-declaration CK_RV C_VerifyRecover (CK_SESSION_HANDLE hSession, CK_BYTE_PTR pSignature, CK_ULONG ulSignatureLen, CK_BYTE_PTR pData, CK_ULONG_PTR pulDataLen)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_DigestEncryptUpdate
-include <security/cryptoki.h>
-declaration CK_RV C_DigestEncryptUpdate (CK_SESSION_HANDLE hSession, CK_BYTE_PTR pPart, CK_ULONG ulPartLen, CK_BYTE_PTR pEncryptedPart, CK_ULONG_PTR pulEncryptedPartLen)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_DecryptDigestUpdate
-include <security/cryptoki.h>
-declaration CK_RV C_DecryptDigestUpdate (CK_SESSION_HANDLE hSession, CK_BYTE_PTR pEncryptedPart, CK_ULONG ulEncryptedPartLen, CK_BYTE_PTR pPart, CK_ULONG_PTR pulPartLen)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_SignEncryptUpdate
-include <security/cryptoki.h>
-declaration CK_RV C_SignEncryptUpdate (CK_SESSION_HANDLE hSession, CK_BYTE_PTR pPart, CK_ULONG ulPartLen, CK_BYTE_PTR pEncryptedPart, CK_ULONG_PTR pulEncryptedPartLen)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_DecryptVerifyUpdate
-include <security/cryptoki.h>
-declaration CK_RV C_DecryptVerifyUpdate (CK_SESSION_HANDLE hSession, CK_BYTE_PTR pEncryptedPart, CK_ULONG ulEncryptedPartLen, CK_BYTE_PTR pPart, CK_ULONG_PTR pulPartLen)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_GenerateKey
-include <security/cryptoki.h>
-declaration CK_RV C_GenerateKey (CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism, CK_ATTRIBUTE_PTR pTemplate, CK_ULONG ulCount, CK_OBJECT_HANDLE_PTR phKey)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_GenerateKeyPair
-include <security/cryptoki.h>
-declaration CK_RV C_GenerateKeyPair (CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism, CK_ATTRIBUTE_PTR pPublicKeyTemplate, CK_ULONG ulPubKeyAttrCnt, CK_ATTRIBUTE_PTR pPrivateKeyTemplate, CK_ULONG ulPrivateKeyAttrCnt, CK_OBJECT_HANDLE_PTR phPublicKey, CK_OBJECT_HANDLE_PTR phPrivateKey)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_WrapKey
-include <security/cryptoki.h>
-declaration CK_RV C_WrapKey (CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism, CK_OBJECT_HANDLE hWrappingKey, CK_OBJECT_HANDLE hKey, CK_BYTE_PTR pWrappedKey, CK_ULONG_PTR pulWrappedKeyLen)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_UnwrapKey
-include <security/cryptoki.h>
-declaration CK_RV C_UnwrapKey (CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism, CK_OBJECT_HANDLE hUnwrappingKey, CK_BYTE_PTR pWrappedKey, CK_ULONG ulWrappedKeyLen, CK_ATTRIBUTE_PTR pTemplate, CK_ULONG ulAttributeCount, CK_OBJECT_HANDLE_PTR phKey)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_DeriveKey
-include <security/cryptoki.h>
-declaration CK_RV C_DeriveKey (CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism, CK_OBJECT_HANDLE hBaseKey, CK_ATTRIBUTE_PTR pTemplate, CK_ULONG ulAttributeCount, CK_OBJECT_HANDLE_PTR phKey)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_SeedRandom
-include <security/cryptoki.h>
-declaration CK_RV C_SeedRandom (CK_SESSION_HANDLE hSession, CK_BYTE_PTR pSeed, CK_ULONG ulSeedLen)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_GenerateRandom
-include <security/cryptoki.h>
-declaration CK_RV C_GenerateRandom (CK_SESSION_HANDLE hSession, CK_BYTE_PTR RandomData, CK_ULONG ulRandomLen)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_GetFunctionStatus
-include <security/cryptoki.h>
-declaration CK_RV C_GetFunctionStatus (CK_SESSION_HANDLE hSession)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_CancelFunction
-include <security/cryptoki.h>
-declaration CK_RV C_CancelFunction (CK_SESSION_HANDLE hSession)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_WaitForSlotEvent
-include <security/cryptoki.h>
-declaration CK_RV C_WaitForSlotEvent (CK_FLAGS flags, CK_SLOT_ID_PTR pSlot, CK_VOID_PTR pRserved)
-version SUNW_1.1
-exception $return != 0
-end
diff --git a/usr/src/lib/pkcs11/pkcs11_softtoken/spec/sparc/Makefile b/usr/src/lib/pkcs11/pkcs11_softtoken/spec/sparc/Makefile
deleted file mode 100644
index 91a6e69e0e..0000000000
--- a/usr/src/lib/pkcs11/pkcs11_softtoken/spec/sparc/Makefile
+++ /dev/null
@@ -1,35 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-include $(SRC)/lib/Makefile.lib
-
-include $(SRC)/lib/Makefile.spec
-
diff --git a/usr/src/lib/pkcs11/pkcs11_softtoken/spec/sparcv9/Makefile b/usr/src/lib/pkcs11/pkcs11_softtoken/spec/sparcv9/Makefile
deleted file mode 100644
index 309d6fad83..0000000000
--- a/usr/src/lib/pkcs11/pkcs11_softtoken/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-include $(SRC)/lib/Makefile.spec
-
diff --git a/usr/src/lib/pkcs11/pkcs11_softtoken/spec/versions b/usr/src/lib/pkcs11/pkcs11_softtoken/spec/versions
deleted file mode 100644
index fa34bcefe7..0000000000
--- a/usr/src/lib/pkcs11/pkcs11_softtoken/spec/versions
+++ /dev/null
@@ -1,39 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-sparc {
- SUNW_1.1;
-}
-sparcv9 {
- SUNW_1.1;
-}
-i386 {
- SUNW_1.1;
-}
-amd64 {
- SUNW_1.1;
-}
diff --git a/usr/src/lib/pkcs11/pkcs11_softtoken_extra/Makefile b/usr/src/lib/pkcs11/pkcs11_softtoken_extra/Makefile
index a73985131f..cdeea1697a 100644
--- a/usr/src/lib/pkcs11/pkcs11_softtoken_extra/Makefile
+++ b/usr/src/lib/pkcs11/pkcs11_softtoken_extra/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,17 +19,15 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/pkcs11/pkcs11_softtoken_extra/Makefile
include $(SRC)/lib/Makefile.lib
SUBDIRS= $(MACH)
-
$(BUILD64)SUBDIRS += $(MACH64)
all := TARGET= all
@@ -42,11 +39,9 @@ lint := TARGET= lint
.KEEP_STATE:
-all check clean clobber install: spec .WAIT $(SUBDIRS)
-
-lint: $(SUBDIRS)
+all check clean clobber install lint: $(SUBDIRS)
-$(SUBDIRS) spec: FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
diff --git a/usr/src/lib/pkcs11/pkcs11_softtoken_extra/common/mapfile-vers b/usr/src/lib/pkcs11/pkcs11_softtoken_extra/common/mapfile-vers
new file mode 100644
index 0000000000..ae754147a7
--- /dev/null
+++ b/usr/src/lib/pkcs11/pkcs11_softtoken_extra/common/mapfile-vers
@@ -0,0 +1,100 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNW_1.1 {
+ global:
+ C_CancelFunction;
+ C_CloseAllSessions;
+ C_CloseSession;
+ C_CopyObject;
+ C_CreateObject;
+ C_Decrypt;
+ C_DecryptDigestUpdate;
+ C_DecryptFinal;
+ C_DecryptInit;
+ C_DecryptUpdate;
+ C_DecryptVerifyUpdate;
+ C_DeriveKey;
+ C_DestroyObject;
+ C_Digest;
+ C_DigestEncryptUpdate;
+ C_DigestFinal;
+ C_DigestInit;
+ C_DigestKey;
+ C_DigestUpdate;
+ C_Encrypt;
+ C_EncryptFinal;
+ C_EncryptInit;
+ C_EncryptUpdate;
+ C_Finalize;
+ C_FindObjects;
+ C_FindObjectsFinal;
+ C_FindObjectsInit;
+ C_GenerateKey;
+ C_GenerateKeyPair;
+ C_GenerateRandom;
+ C_GetAttributeValue;
+ C_GetFunctionList;
+ C_GetFunctionStatus;
+ C_GetInfo;
+ C_GetMechanismInfo;
+ C_GetMechanismList;
+ C_GetObjectSize;
+ C_GetOperationState;
+ C_GetSessionInfo;
+ C_GetSlotInfo;
+ C_GetSlotList;
+ C_GetTokenInfo;
+ C_Initialize;
+ C_InitPIN;
+ C_InitToken;
+ C_Login;
+ C_Logout;
+ C_OpenSession;
+ C_SeedRandom;
+ C_SetAttributeValue;
+ C_SetOperationState;
+ C_SetPIN;
+ C_Sign;
+ C_SignEncryptUpdate;
+ C_SignFinal;
+ C_SignInit;
+ C_SignRecover;
+ C_SignRecoverInit;
+ C_SignUpdate;
+ C_UnwrapKey;
+ C_Verify;
+ C_VerifyFinal;
+ C_VerifyInit;
+ C_VerifyRecover;
+ C_VerifyRecoverInit;
+ C_VerifyUpdate;
+ C_WaitForSlotEvent;
+ C_WrapKey;
+ local:
+ *;
+};
diff --git a/usr/src/lib/pkcs11/pkcs11_softtoken_extra/spec/Makefile b/usr/src/lib/pkcs11/pkcs11_softtoken_extra/spec/Makefile
deleted file mode 100644
index ae13c35801..0000000000
--- a/usr/src/lib/pkcs11/pkcs11_softtoken_extra/spec/Makefile
+++ /dev/null
@@ -1,28 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/pkcs11/pkcs11_softtoken_extra/spec/Makefile.targ b/usr/src/lib/pkcs11/pkcs11_softtoken_extra/spec/Makefile.targ
deleted file mode 100644
index 57f5ba5557..0000000000
--- a/usr/src/lib/pkcs11/pkcs11_softtoken_extra/spec/Makefile.targ
+++ /dev/null
@@ -1,33 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-
-LIBRARY = pkcs11_softtoken_extra.a
-VERS = .1
-
-OBJECTS = pkcs11_softtoken_extra.o
-
-SPECCPP = -I.. -I../../include
diff --git a/usr/src/lib/pkcs11/pkcs11_softtoken_extra/spec/amd64/Makefile b/usr/src/lib/pkcs11/pkcs11_softtoken_extra/spec/amd64/Makefile
deleted file mode 100644
index 9194680b04..0000000000
--- a/usr/src/lib/pkcs11/pkcs11_softtoken_extra/spec/amd64/Makefile
+++ /dev/null
@@ -1,32 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-include $(SRC)/lib/Makefile.spec
diff --git a/usr/src/lib/pkcs11/pkcs11_softtoken_extra/spec/i386/Makefile b/usr/src/lib/pkcs11/pkcs11_softtoken_extra/spec/i386/Makefile
deleted file mode 100644
index 07566df829..0000000000
--- a/usr/src/lib/pkcs11/pkcs11_softtoken_extra/spec/i386/Makefile
+++ /dev/null
@@ -1,30 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
diff --git a/usr/src/lib/pkcs11/pkcs11_softtoken_extra/spec/pkcs11_softtoken_extra.spec b/usr/src/lib/pkcs11/pkcs11_softtoken_extra/spec/pkcs11_softtoken_extra.spec
deleted file mode 100644
index 03b6382f4e..0000000000
--- a/usr/src/lib/pkcs11/pkcs11_softtoken_extra/spec/pkcs11_softtoken_extra.spec
+++ /dev/null
@@ -1,501 +0,0 @@
-#ident "%Z%%M% %I% %E% SMI"
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-
-function C_Initialize
-include <security/cryptoki.h>
-declaration CK_RV C_Initialize (CK_VOID_PTR pInitArgs)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_Finalize
-include <security/cryptoki.h>
-declaration CK_RV C_Finalize (CK_VOID_PTR pReserved)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_GetInfo
-include <security/cryptoki.h>
-declaration CK_RV C_GetInfo (CK_INFO_PTR pInfo)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_GetFunctionList
-include <security/cryptoki.h>
-declaration CK_RV C_GetFunctionList (CK_FUNCTION_LIST_PTR_PTR ppFunctionList)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_GetSlotList
-include <security/cryptoki.h>
-declaration CK_RV C_GetSlotList (CK_BBOOL tokenPresent, CK_SLOT_ID_PTR pSlotList, CK_ULONG_PTR pulCount)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_GetSlotInfo
-include <security/cryptoki.h>
-declaration CK_RV C_GetSlotInfo (CK_SLOT_ID slotID, CK_SLOT_INFO_PTR pInfo)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_GetTokenInfo
-include <security/cryptoki.h>
-declaration CK_RV C_GetTokenInfo (CK_SLOT_ID slotID, CK_TOKEN_INFO_PTR pInfo)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_GetMechanismList
-include <security/cryptoki.h>
-declaration CK_RV C_GetMechanismList (CK_SLOT_ID slotID, CK_MECHANISM_TYPE_PTR pMechanismList, CK_ULONG_PTR pulCount)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_GetMechanismInfo
-include <security/cryptoki.h>
-declaration CK_RV C_GetMechanismInfo (CK_SLOT_ID slotID, CK_MECHANISM_TYPE type, CK_MECHANISM_INFO_PTR pInfo)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_InitToken
-include <security/cryptoki.h>
-declaration CK_RV C_InitToken (CK_SLOT_ID slotID, CK_UTF8CHAR_PTR pPin, CK_ULONG ulPinLen, CK_UTF8CHAR_PTR pLabel)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_InitPIN
-include <security/cryptoki.h>
-declaration CK_RV C_InitPIN (CK_SESSION_HANDLE hSession, CK_UTF8CHAR_PTR pPin, CK_ULONG ulPinLen)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_SetPIN
-include <security/cryptoki.h>
-declaration CK_RV C_SetPIN (CK_SESSION_HANDLE hSession, CK_UTF8CHAR_PTR pOldPin, CK_ULONG ulOldLen, CK_UTF8CHAR_PTR pNewPin, CK_ULONG ulNewLen)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_OpenSession
-include <security/cryptoki.h>
-declaration CK_RV C_OpenSession (CK_SLOT_ID slotID, CK_FLAGS flags, CK_VOID_PTR pApplication, CK_NOTIFY Notify, CK_SESSION_HANDLE_PTR phSession)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_CloseSession
-include <security/cryptoki.h>
-declaration CK_RV C_CloseSession (CK_SESSION_HANDLE hSession)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_CloseAllSessions
-include <security/cryptoki.h>
-declaration CK_RV C_CloseAllSessions (CK_SLOT_ID slotID)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_GetSessionInfo
-include <security/cryptoki.h>
-declaration CK_RV C_GetSessionInfo (CK_SESSION_HANDLE hSession, CK_SESSION_INFO_PTR pInfo)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_GetOperationState
-include <security/cryptoki.h>
-declaration CK_RV C_GetOperationState (CK_SESSION_HANDLE hSession, CK_BYTE_PTR pOperationState, CK_ULONG_PTR pulOperStateLen)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_SetOperationState
-include <security/cryptoki.h>
-declaration CK_RV C_SetOperationState (CK_SESSION_HANDLE hSession, CK_BYTE_PTR pOperationState, CK_ULONG ulOperationStateLen, CK_OBJECT_HANDLE hEncryptionKey, CK_OBJECT_HANDLE hAuthenticationKey)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_Login
-include <security/cryptoki.h>
-declaration CK_RV C_Login (CK_SESSION_HANDLE hSession, CK_USER_TYPE userType, CK_UTF8CHAR_PTR pPin, CK_ULONG ulPinLen)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_Logout
-include <security/cryptoki.h>
-declaration CK_RV C_Logout (CK_SESSION_HANDLE hSession)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_CreateObject
-include <security/cryptoki.h>
-declaration CK_RV C_CreateObject (CK_SESSION_HANDLE hSession, CK_ATTRIBUTE_PTR pTemplate, CK_ULONG ulCount, CK_OBJECT_HANDLE_PTR phObject)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_CopyObject
-include <security/cryptoki.h>
-declaration CK_RV C_CopyObject (CK_SESSION_HANDLE hSession, CK_OBJECT_HANDLE hObject, CK_ATTRIBUTE_PTR pTemplate, CK_ULONG ulCount, CK_OBJECT_HANDLE_PTR phNewObject)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_DestroyObject
-include <security/cryptoki.h>
-declaration CK_RV C_DestroyObject (CK_SESSION_HANDLE hSession, CK_OBJECT_HANDLE hObject)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_GetObjectSize
-include <security/cryptoki.h>
-declaration CK_RV C_GetObjectSize (CK_SESSION_HANDLE hSession, CK_OBJECT_HANDLE hObject, CK_ULONG_PTR pulSize)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_GetAttributeValue
-include <security/cryptoki.h>
-declaration CK_RV C_GetAttributeValue (CK_SESSION_HANDLE hSession, CK_OBJECT_HANDLE hObject, CK_ATTRIBUTE_PTR pTemplate, CK_ULONG ulCount)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_SetAttributeValue
-include <security/cryptoki.h>
-declaration CK_RV C_SetAttributeValue (CK_SESSION_HANDLE hSession, CK_OBJECT_HANDLE hObject, CK_ATTRIBUTE_PTR pTemplate, CK_ULONG ulCount)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_FindObjectsInit
-include <security/cryptoki.h>
-declaration CK_RV C_FindObjectsInit (CK_SESSION_HANDLE hSession, CK_ATTRIBUTE_PTR pTemplate, CK_ULONG ulCount)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_FindObjects
-include <security/cryptoki.h>
-declaration CK_RV C_FindObjects (CK_SESSION_HANDLE hSession, CK_OBJECT_HANDLE_PTR phObject, CK_ULONG ulMaxObjectCount, CK_ULONG_PTR pulObjectCount)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_FindObjectsFinal
-include <security/cryptoki.h>
-declaration CK_RV C_FindObjectsFinal (CK_SESSION_HANDLE hSession)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_EncryptInit
-include <security/cryptoki.h>
-declaration CK_RV C_EncryptInit (CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism, CK_OBJECT_HANDLE hKey)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_Encrypt
-include <security/cryptoki.h>
-declaration CK_RV C_Encrypt (CK_SESSION_HANDLE hSession, CK_BYTE_PTR pData, CK_ULONG ulDataLen, CK_BYTE_PTR pEncryptedData, CK_ULONG_PTR pulEncryptedDataLen)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_EncryptUpdate
-include <security/cryptoki.h>
-declaration CK_RV C_EncryptUpdate (CK_SESSION_HANDLE hSession, CK_BYTE_PTR pPart, CK_ULONG ulPartLen, CK_BYTE_PTR pEncryptedPart, CK_ULONG_PTR pulEncryptedPartLen)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_EncryptFinal
-include <security/cryptoki.h>
-declaration CK_RV C_EncryptFinal (CK_SESSION_HANDLE hSession, CK_BYTE_PTR pLastEncryptedPart, CK_ULONG_PTR pulLastEncPartLen)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_DecryptInit
-include <security/cryptoki.h>
-declaration CK_RV C_DecryptInit (CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism, CK_OBJECT_HANDLE hKey)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_Decrypt
-include <security/cryptoki.h>
-declaration CK_RV C_Decrypt (CK_SESSION_HANDLE hSession, CK_BYTE_PTR pEncryptedData, CK_ULONG ulEncryptedDataLen, CK_BYTE_PTR pData, CK_ULONG_PTR pulDataLen)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_DecryptUpdate
-include <security/cryptoki.h>
-declaration CK_RV C_DecryptUpdate (CK_SESSION_HANDLE hSession, CK_BYTE_PTR pEncryptedPart, CK_ULONG ulEncryptedPartLen, CK_BYTE_PTR pPart, CK_ULONG_PTR pulPartLen)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_DecryptFinal
-include <security/cryptoki.h>
-declaration CK_RV C_DecryptFinal (CK_SESSION_HANDLE hSession, CK_BYTE_PTR pLastPart, CK_ULONG_PTR pulLastPartLen)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_DigestInit
-include <security/cryptoki.h>
-declaration CK_RV C_DigestInit (CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_Digest
-include <security/cryptoki.h>
-declaration CK_RV C_Digest (CK_SESSION_HANDLE hSession, CK_BYTE_PTR pData, CK_ULONG ulDataLen, CK_BYTE_PTR pDigest, CK_ULONG_PTR pulDigestLen)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_DigestUpdate
-include <security/cryptoki.h>
-declaration CK_RV C_DigestUpdate (CK_SESSION_HANDLE hSession, CK_BYTE_PTR pPart, CK_ULONG ulPartLen)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_DigestKey
-include <security/cryptoki.h>
-declaration CK_RV C_DigestKey (CK_SESSION_HANDLE hSession, CK_OBJECT_HANDLE hKey)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_DigestFinal
-include <security/cryptoki.h>
-declaration CK_RV C_DigestFinal (CK_SESSION_HANDLE hSession, CK_BYTE_PTR pDigest, CK_ULONG_PTR pulDigestLen)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_SignInit
-include <security/cryptoki.h>
-declaration CK_RV C_SignInit (CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism, CK_OBJECT_HANDLE hKey)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_Sign
-include <security/cryptoki.h>
-declaration CK_RV C_Sign (CK_SESSION_HANDLE hSession, CK_BYTE_PTR pData, CK_ULONG ulDataLen, CK_BYTE_PTR pSignature, CK_ULONG_PTR pulSignatureLen)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_SignUpdate
-include <security/cryptoki.h>
-declaration CK_RV C_SignUpdate (CK_SESSION_HANDLE hSession, CK_BYTE_PTR pPart, CK_ULONG ulPartLen)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_SignFinal
-include <security/cryptoki.h>
-declaration CK_RV C_SignFinal (CK_SESSION_HANDLE hSession, CK_BYTE_PTR pSignature, CK_ULONG_PTR pulSignatureLen)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_SignRecoverInit
-include <security/cryptoki.h>
-declaration CK_RV C_SignRecoverInit (CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism, CK_OBJECT_HANDLE hKey)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_SignRecover
-include <security/cryptoki.h>
-declaration CK_RV C_SignRecover (CK_SESSION_HANDLE hSession, CK_BYTE_PTR pData, CK_ULONG ulDataLen, CK_BYTE_PTR pSignature, CK_ULONG_PTR pulSignatureLen)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_VerifyInit
-include <security/cryptoki.h>
-declaration CK_RV C_VerifyInit (CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism, CK_OBJECT_HANDLE hKey)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_Verify
-include <security/cryptoki.h>
-declaration CK_RV C_Verify (CK_SESSION_HANDLE hSession, CK_BYTE_PTR pData, CK_ULONG ulDataLen, CK_BYTE_PTR pSignature, CK_ULONG ulSignatureLen)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_VerifyUpdate
-include <security/cryptoki.h>
-declaration CK_RV C_VerifyUpdate (CK_SESSION_HANDLE hSession, CK_BYTE_PTR pPart, CK_ULONG ulPartLen)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_VerifyFinal
-include <security/cryptoki.h>
-declaration CK_RV C_VerifyFinal (CK_SESSION_HANDLE hSession, CK_BYTE_PTR pSignature, CK_ULONG ulSignatureLen)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_VerifyRecoverInit
-include <security/cryptoki.h>
-declaration CK_RV C_VerifyRecoverInit (CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism, CK_OBJECT_HANDLE hKey)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_VerifyRecover
-include <security/cryptoki.h>
-declaration CK_RV C_VerifyRecover (CK_SESSION_HANDLE hSession, CK_BYTE_PTR pSignature, CK_ULONG ulSignatureLen, CK_BYTE_PTR pData, CK_ULONG_PTR pulDataLen)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_DigestEncryptUpdate
-include <security/cryptoki.h>
-declaration CK_RV C_DigestEncryptUpdate (CK_SESSION_HANDLE hSession, CK_BYTE_PTR pPart, CK_ULONG ulPartLen, CK_BYTE_PTR pEncryptedPart, CK_ULONG_PTR pulEncryptedPartLen)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_DecryptDigestUpdate
-include <security/cryptoki.h>
-declaration CK_RV C_DecryptDigestUpdate (CK_SESSION_HANDLE hSession, CK_BYTE_PTR pEncryptedPart, CK_ULONG ulEncryptedPartLen, CK_BYTE_PTR pPart, CK_ULONG_PTR pulPartLen)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_SignEncryptUpdate
-include <security/cryptoki.h>
-declaration CK_RV C_SignEncryptUpdate (CK_SESSION_HANDLE hSession, CK_BYTE_PTR pPart, CK_ULONG ulPartLen, CK_BYTE_PTR pEncryptedPart, CK_ULONG_PTR pulEncryptedPartLen)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_DecryptVerifyUpdate
-include <security/cryptoki.h>
-declaration CK_RV C_DecryptVerifyUpdate (CK_SESSION_HANDLE hSession, CK_BYTE_PTR pEncryptedPart, CK_ULONG ulEncryptedPartLen, CK_BYTE_PTR pPart, CK_ULONG_PTR pulPartLen)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_GenerateKey
-include <security/cryptoki.h>
-declaration CK_RV C_GenerateKey (CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism, CK_ATTRIBUTE_PTR pTemplate, CK_ULONG ulCount, CK_OBJECT_HANDLE_PTR phKey)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_GenerateKeyPair
-include <security/cryptoki.h>
-declaration CK_RV C_GenerateKeyPair (CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism, CK_ATTRIBUTE_PTR pPublicKeyTemplate, CK_ULONG ulPubKeyAttrCnt, CK_ATTRIBUTE_PTR pPrivateKeyTemplate, CK_ULONG ulPrivateKeyAttrCnt, CK_OBJECT_HANDLE_PTR phPublicKey, CK_OBJECT_HANDLE_PTR phPrivateKey)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_WrapKey
-include <security/cryptoki.h>
-declaration CK_RV C_WrapKey (CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism, CK_OBJECT_HANDLE hWrappingKey, CK_OBJECT_HANDLE hKey, CK_BYTE_PTR pWrappedKey, CK_ULONG_PTR pulWrappedKeyLen)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_UnwrapKey
-include <security/cryptoki.h>
-declaration CK_RV C_UnwrapKey (CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism, CK_OBJECT_HANDLE hUnwrappingKey, CK_BYTE_PTR pWrappedKey, CK_ULONG ulWrappedKeyLen, CK_ATTRIBUTE_PTR pTemplate, CK_ULONG ulAttributeCount, CK_OBJECT_HANDLE_PTR phKey)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_DeriveKey
-include <security/cryptoki.h>
-declaration CK_RV C_DeriveKey (CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism, CK_OBJECT_HANDLE hBaseKey, CK_ATTRIBUTE_PTR pTemplate, CK_ULONG ulAttributeCount, CK_OBJECT_HANDLE_PTR phKey)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_SeedRandom
-include <security/cryptoki.h>
-declaration CK_RV C_SeedRandom (CK_SESSION_HANDLE hSession, CK_BYTE_PTR pSeed, CK_ULONG ulSeedLen)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_GenerateRandom
-include <security/cryptoki.h>
-declaration CK_RV C_GenerateRandom (CK_SESSION_HANDLE hSession, CK_BYTE_PTR RandomData, CK_ULONG ulRandomLen)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_GetFunctionStatus
-include <security/cryptoki.h>
-declaration CK_RV C_GetFunctionStatus (CK_SESSION_HANDLE hSession)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_CancelFunction
-include <security/cryptoki.h>
-declaration CK_RV C_CancelFunction (CK_SESSION_HANDLE hSession)
-version SUNW_1.1
-exception $return != 0
-end
-
-function C_WaitForSlotEvent
-include <security/cryptoki.h>
-declaration CK_RV C_WaitForSlotEvent (CK_FLAGS flags, CK_SLOT_ID_PTR pSlot, CK_VOID_PTR pRserved)
-version SUNW_1.1
-exception $return != 0
-end
diff --git a/usr/src/lib/pkcs11/pkcs11_softtoken_extra/spec/sparc/Makefile b/usr/src/lib/pkcs11/pkcs11_softtoken_extra/spec/sparc/Makefile
deleted file mode 100644
index 558a47c627..0000000000
--- a/usr/src/lib/pkcs11/pkcs11_softtoken_extra/spec/sparc/Makefile
+++ /dev/null
@@ -1,29 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
diff --git a/usr/src/lib/pkcs11/pkcs11_softtoken_extra/spec/sparcv9/Makefile b/usr/src/lib/pkcs11/pkcs11_softtoken_extra/spec/sparcv9/Makefile
deleted file mode 100644
index 5b5f74b449..0000000000
--- a/usr/src/lib/pkcs11/pkcs11_softtoken_extra/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,31 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-include $(SRC)/lib/Makefile.spec
diff --git a/usr/src/lib/pkcs11/pkcs11_softtoken_extra/spec/versions b/usr/src/lib/pkcs11/pkcs11_softtoken_extra/spec/versions
deleted file mode 100644
index fa34bcefe7..0000000000
--- a/usr/src/lib/pkcs11/pkcs11_softtoken_extra/spec/versions
+++ /dev/null
@@ -1,39 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-sparc {
- SUNW_1.1;
-}
-sparcv9 {
- SUNW_1.1;
-}
-i386 {
- SUNW_1.1;
-}
-amd64 {
- SUNW_1.1;
-}
diff --git a/usr/src/lib/print/libhttp-core/Makefile.com b/usr/src/lib/print/libhttp-core/Makefile.com
index c027f93270..cfb8ae8730 100644
--- a/usr/src/lib/print/libhttp-core/Makefile.com
+++ b/usr/src/lib/print/libhttp-core/Makefile.com
@@ -34,22 +34,21 @@ ROOTLIBDIR = $(ROOT)/usr/lib/print
include ../../../Makefile.lib
include ../../../Makefile.rootfs
+SRCDIR = ../common
+
ROOTLIBDIR= $(ROOT)/usr/lib/print
ROOTLIBDIR64= $(ROOT)/usr/lib/print/$(MACH)
LIBS = $(DYNLIB)
-SRCS = $(OBJECTS:%.o = $(SRCDIR)/%.c)
-
$(LINTLIB):= SRCS = $(SRCDIR)/$(LINTSRC)
-SRCDIR = ../common
-MAPFILE = $(SRCDIR)/mapfile
-
CFLAGS += $(CCVERBOSE)
CPPFLAGS += -I$(SRCDIR)
CPPFLAGS += -I../../libpapi-common/common
-DYNFLAGS += -M $(MAPFILE)
+
+MAPFILES = $(SRCDIR)/mapfile
+
LDLIBS += -lsocket -lnsl -lc
.KEEP_STATE:
diff --git a/usr/src/lib/print/libipp-core/Makefile.com b/usr/src/lib/print/libipp-core/Makefile.com
index 56099a4aa9..2b16288cbe 100644
--- a/usr/src/lib/print/libipp-core/Makefile.com
+++ b/usr/src/lib/print/libipp-core/Makefile.com
@@ -32,21 +32,20 @@ OBJECTS = ipp.o ipp_types.o read.o strings.o write.o
include ../../../Makefile.lib
include ../../../Makefile.rootfs
+SRCDIR = ../common
+
ROOTLIBDIR= $(ROOT)/usr/lib
LIBS = $(DYNLIB)
-SRCS = $(OBJECTS:%.o = $(SRCDIR)/%.c)
-
$(LINTLIB):= SRCS = $(SRCDIR)/$(LINTSRC)
-SRCDIR = ../common
-MAPFILE = $(SRCDIR)/mapfile
-
CFLAGS += $(CCVERBOSE)
CPPFLAGS += -I$(SRCDIR)
CPPFLAGS += -I../../libpapi-common/common
-DYNFLAGS += -M $(MAPFILE)
+
+MAPFILES = $(SRCDIR)/mapfile
+
LDLIBS += -lpapi-common -lc
.KEEP_STATE:
diff --git a/usr/src/lib/print/libipp-listener/Makefile.com b/usr/src/lib/print/libipp-listener/Makefile.com
index 75672ad6d6..74db2efd60 100644
--- a/usr/src/lib/print/libipp-listener/Makefile.com
+++ b/usr/src/lib/print/libipp-listener/Makefile.com
@@ -39,23 +39,22 @@ OBJECTS = \
include ../../../Makefile.lib
include ../../../Makefile.rootfs
+SRCDIR = ../common
+
ROOTLIBDIR= $(ROOT)/usr/lib
LIBS = $(DYNLIB)
-SRCS = $(OBJECTS:%.o = $(SRCDIR)/%.c)
-
$(LINTLIB):= SRCS = $(SRCDIR)/$(LINTSRC)
-SRCDIR = ../common
-MAPFILE = $(SRCDIR)/mapfile
-
CFLAGS += $(CCVERBOSE)
CPPFLAGS += -DSOLARIS_PRIVATE_POST_0_9
CPPFLAGS += -I$(SRCDIR)
CPPFLAGS += -I../../libpapi-common/common
CPPFLAGS += -I../../libipp-core/common
-DYNFLAGS += -M $(MAPFILE)
+
+MAPFILES = $(SRCDIR)/mapfile
+
LDLIBS += -lipp-core -lpapi -lc
.KEEP_STATE:
diff --git a/usr/src/lib/print/libpapi-common/Makefile.com b/usr/src/lib/print/libpapi-common/Makefile.com
index 3d21ee6c40..f7669307d2 100644
--- a/usr/src/lib/print/libpapi-common/Makefile.com
+++ b/usr/src/lib/print/libpapi-common/Makefile.com
@@ -34,18 +34,17 @@ include ../../../Makefile.rootfs
ROOTLIBDIR= $(ROOT)/usr/lib
-LIBS = $(DYNLIB)
+SRCDIR = ../common
-SRCS = $(OBJECTS:%.o = $(SRCDIR)/%.c)
+LIBS = $(DYNLIB)
$(LINTLIB):= SRCS = $(SRCDIR)/$(LINTSRC)
-SRCDIR = ../common
-MAPFILE = $(SRCDIR)/mapfile
-
CFLAGS += $(CCVERBOSE)
CPPFLAGS += -I$(SRCDIR)
-DYNFLAGS += -M $(MAPFILE)
+
+MAPFILES = $(SRCDIR)/mapfile
+
LDLIBS += -lc
.KEEP_STATE:
diff --git a/usr/src/lib/print/libpapi-dynamic/Makefile.com b/usr/src/lib/print/libpapi-dynamic/Makefile.com
index a47484edd7..ae0c5d93e8 100644
--- a/usr/src/lib/print/libpapi-dynamic/Makefile.com
+++ b/usr/src/lib/print/libpapi-dynamic/Makefile.com
@@ -32,17 +32,15 @@ OBJECTS = job.o nss.o printer.o psm.o service.o
include ../../../Makefile.lib
include ../../../Makefile.rootfs
+SRCDIR = ../common
+
ROOTLIBDIR= $(ROOT)/usr/lib
LIBS = $(DYNLIB)
-SRCS = $(OBJECTS:%.o = $(SRCDIR)/%.c)
-
$(LINTLIB):= SRCS = $(SRCDIR)/$(LINTSRC)
-SRCDIR = ../common
-MAPFILE = $(SRCDIR)/mapfile
-DYNFLAGS += -M $(MAPFILE)
+MAPFILES = $(SRCDIR)/mapfile
CFLAGS += $(CCVERBOSE)
CPPFLAGS += -I$(SRCDIR)
diff --git a/usr/src/lib/print/libpapi-ipp/Makefile.com b/usr/src/lib/print/libpapi-ipp/Makefile.com
index 12c748773d..c141ab545e 100644
--- a/usr/src/lib/print/libpapi-ipp/Makefile.com
+++ b/usr/src/lib/print/libpapi-ipp/Makefile.com
@@ -1,5 +1,4 @@
#
-#
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
@@ -34,6 +33,8 @@ ROOTLIBDIR = $(ROOT)/usr/lib/print
include ../../../Makefile.lib
include ../../../Makefile.rootfs
+SRCDIR = ../common
+
ROOTLIBDIR= $(ROOT)/usr/lib/print
ROOTLIBDIR64= $(ROOT)/usr/lib/print/$(MACH)
@@ -43,19 +44,18 @@ $(EXTRALINKS): $(ROOTLINKS)
LIBS = $(DYNLIB)
-SRCS = $(OBJECTS:%.o = $(SRCDIR)/%.c)
-
$(LINTLIB):= SRCS = $(SRCDIR)/$(LINTSRC)
-SRCDIR = ../common
-MAPFILE = $(SRCDIR)/mapfile
-
CFLAGS += $(CCVERBOSE)
CPPFLAGS += -I$(SRCDIR)
CPPFLAGS += -I../../libpapi-common/common
CPPFLAGS += -I../../libipp-core/common
CPPFLAGS += -I../../libhttp-core/common
-DYNFLAGS += $(BDIRECT) -M $(MAPFILE)
+
+DYNFLAGS += $(BDIRECT)
+
+MAPFILES = $(SRCDIR)/mapfile
+
LDLIBS += -L$(ROOTLIBDIR) -R/usr/lib/print -lhttp-core -lmd5
LDLIBS += -lipp-core -lc
diff --git a/usr/src/lib/print/libpapi-lpd/Makefile.com b/usr/src/lib/print/libpapi-lpd/Makefile.com
index eac0eddaac..2896f25913 100644
--- a/usr/src/lib/print/libpapi-lpd/Makefile.com
+++ b/usr/src/lib/print/libpapi-lpd/Makefile.com
@@ -34,6 +34,8 @@ OBJECTS = job.o library.o lpd-cancel.o lpd-job.o lpd-query.o printer.o \
include ../../../Makefile.lib
include ../../../Makefile.rootfs
+SRCDIR = ../common
+
ROOTLIBDIR= $(ROOT)/usr/lib/print
ROOTLIBDIR64= $(ROOT)/usr/lib/print/$(MACH)
@@ -43,17 +45,16 @@ $(EXTRALINKS): $(ROOTLINKS)
LIBS = $(DYNLIB)
-SRCS = $(OBJECTS:%.o = $(SRCDIR)/%.c)
-
$(LINTLIB):= SRCS = $(SRCDIR)/$(LINTSRC)
-SRCDIR = ../common
-MAPFILE = $(SRCDIR)/mapfile
-
CFLAGS += $(CCVERBOSE)
CPPFLAGS += -I$(SRCDIR)
CPPFLAGS += -I../../libpapi-common/common
-DYNFLAGS += $(BDIRECT) -M $(MAPFILE)
+
+DYNFLAGS += $(BDIRECT)
+
+MAPFILES = $(SRCDIR)/mapfile
+
LDLIBS += -lc
.KEEP_STATE:
diff --git a/usr/src/lib/print/libprint/Makefile.com b/usr/src/lib/print/libprint/Makefile.com
index 6b7e190b11..98415ad821 100644
--- a/usr/src/lib/print/libprint/Makefile.com
+++ b/usr/src/lib/print/libprint/Makefile.com
@@ -34,21 +34,18 @@ OBJECTS = \
include ../../../Makefile.lib
include ../../../Makefile.rootfs
+SRCDIR = ../common
+
ROOTLIBDIR= $(ROOT)/usr/lib
LIBS = $(DYNLIB)
-SRCS = $(OBJECTS:%.o = $(SRCDIR)/%.c)
-
$(LINTLIB):= SRCS = $(SRCDIR)/$(LINTSRC)
-SRCDIR = ../common
-MAPFILE = $(SRCDIR)/mapfile-vers
-
CFLAGS += $(CCVERBOSE)
CPPFLAGS += -I$(SRCDIR)
CPPFLAGS += -I../../head -D_REENTRANT
-DYNFLAGS += -M $(MAPFILE)
+
LDLIBS += -lnsl -lsocket -lc -lldap
diff --git a/usr/src/lib/print/mod_ipp/Makefile b/usr/src/lib/print/mod_ipp/Makefile
index 8531fb213f..2afbc75d45 100644
--- a/usr/src/lib/print/mod_ipp/Makefile
+++ b/usr/src/lib/print/mod_ipp/Makefile
@@ -48,7 +48,6 @@ LIBS = $(DYNLIB)
SRCS = $(OBJECTS:%.o = %.c)
-MMAPFILE = mapfile
CFLAGS += $(CCVERBOSE)
CPPFLAGS += -I../libipp-listener/common
@@ -56,7 +55,9 @@ CPPFLAGS += -I../libipp-core/common
CPPFLAGS += -I/usr/apache/include
CPPFLAGS += -DEAPI
ZDEFS = $(ZNODEFS)
-DYNFLAGS += -M$(MMAPFILE)
+
+MAPFILES = mapfile
+
LDLIBS += -lipp-listener -lipp-core -lpapi -lc
# SMF manifest
diff --git a/usr/src/lib/req.flg b/usr/src/lib/req.flg
index 743b8c3c6c..c7537ef5ba 100644
--- a/usr/src/lib/req.flg
+++ b/usr/src/lib/req.flg
@@ -3,9 +3,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -21,7 +20,7 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
@@ -32,11 +31,5 @@ echo_file usr/src/lib/Makefile.targ
echo_file usr/src/lib/Makefile.mach
echo_file usr/src/lib/Makefile.lib.64
echo_file usr/src/lib/Makefile.rootfs
-echo_file usr/src/lib/Makefile.spec
-echo_file usr/src/lib/Makefile.spec.arch
-echo_file usr/src/lib/Makefile.spec.psm
find_files "s.*" usr/src/lib/common
exec_file usr/src/cmd/req.flg
-echo_file usr/src/lib/abi/Makefile
-find_files "s.*" usr/src/lib/abi/apptrace
-exec_file usr/src/lib/abi/req.flg
diff --git a/usr/src/lib/rpcsec_gss/Makefile.com b/usr/src/lib/rpcsec_gss/Makefile.com
index a7a3531ed5..942aeb68bb 100644
--- a/usr/src/lib/rpcsec_gss/Makefile.com
+++ b/usr/src/lib/rpcsec_gss/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,7 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
@@ -34,9 +33,6 @@ OBJECTS=rpcsec_gss.o rpcsec_gss_misc.o rpcsec_gss_utils.o svc_rpcsec_gss.o
# include library definitions
include ../../Makefile.lib
-MAPFILE= ../mapfile-vers
-SRCS= $(OBJECTS:%.o=../%.c)
-
CPPFLAGS += -D_REENTRANT -I$(SRC)/uts/common/gssapi/include \
-I$(SRC)/uts/common
CFLAGS += $(XFFLAG)
@@ -46,7 +42,6 @@ LINTSRC= $(LINTLIB:%.ln=%)
LIBS = $(DYNLIB)
LDLIBS += -lgss -lnsl -lc
-DYNFLAGS += -M$(MAPFILE)
.KEEP_STATE:
@@ -60,5 +55,3 @@ include ../../Makefile.targ
pics/%.o: ../%.c
$(COMPILE.c) -o $@ $<
$(POST_PROCESS_O)
-
-$(DYNLIB) : $(MAPFILE)
diff --git a/usr/src/lib/sasl_plugins/Makefile b/usr/src/lib/sasl_plugins/Makefile
index 75276acb75..e32bd6d7e1 100644
--- a/usr/src/lib/sasl_plugins/Makefile
+++ b/usr/src/lib/sasl_plugins/Makefile
@@ -1,5 +1,25 @@
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
@@ -20,13 +40,11 @@ lint := TARGET= lint
.KEEP_STATE:
-all clean clobber install: $(SUBDIRS)
-
-lint: $(SUBDIRS)
+all clean clobber install lint: $(SUBDIRS)
install_h check:
-$(SUBDIRS) spec: FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
diff --git a/usr/src/lib/sasl_plugins/Makefile.com b/usr/src/lib/sasl_plugins/Makefile.com
index 4482f21022..4311d88ccb 100644
--- a/usr/src/lib/sasl_plugins/Makefile.com
+++ b/usr/src/lib/sasl_plugins/Makefile.com
@@ -1,5 +1,25 @@
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
@@ -13,12 +33,11 @@ include $(SRC)/lib/Makefile.lib
CPPFLAGS += -I$(SRC)/lib/libsasl/include
LIBS = $(DYNLIB)
-SRCS= $(PLUG_OBJS:%.o=../%.c) $(COMMONOBJS:%.o=../../%.c)
+SRCS= $(PLUG_OBJS:%.o=../%.c) \
+ $(COMMONOBJS:%.o=$(SRC)/lib/libsasl/plugin/%.c)
LDLIBS += -lsocket -lc $(PLUG_LIBS)
-SRCDIR= ..
-MAPDIR= ../spec/$(TRANSMACH)
-SPECMAPFILE= $(MAPDIR)/mapfile
+MAPFILES = ../../mapfile-vers
ROOTLIBDIR= $(ROOT)/usr/lib/sasl
ROOTLIBDIR64= $(ROOT)/usr/lib/sasl/$(MACH64)
diff --git a/usr/src/lib/sasl_plugins/Makefile.subdirs b/usr/src/lib/sasl_plugins/Makefile.subdirs
index cba9aa690b..68de866d06 100644
--- a/usr/src/lib/sasl_plugins/Makefile.subdirs
+++ b/usr/src/lib/sasl_plugins/Makefile.subdirs
@@ -1,5 +1,25 @@
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
@@ -17,11 +37,9 @@ install := TARGET= install
lint := TARGET= lint
.KEEP_STATE:
-all clean clobber install: spec .WAIT $(SUBDIRS)
-
-lint: $(SUBDIRS)
+all clean clobber install lint: $(SUBDIRS)
-$(SUBDIRS) spec: FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
diff --git a/usr/src/lib/sasl_plugins/cram/spec/Makefile b/usr/src/lib/sasl_plugins/cram/spec/Makefile
deleted file mode 100644
index 9e331dcd31..0000000000
--- a/usr/src/lib/sasl_plugins/cram/spec/Makefile
+++ /dev/null
@@ -1,10 +0,0 @@
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libsasl/plugins/cram/spec/Makefile
-#
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/sasl_plugins/cram/spec/Makefile.targ b/usr/src/lib/sasl_plugins/cram/spec/Makefile.targ
deleted file mode 100644
index 66db220e45..0000000000
--- a/usr/src/lib/sasl_plugins/cram/spec/Makefile.targ
+++ /dev/null
@@ -1,11 +0,0 @@
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-LIBRARY = crammd5.a
-VERS = .1
-
-OBJECTS = cram.o
diff --git a/usr/src/lib/sasl_plugins/cram/spec/amd64/Makefile b/usr/src/lib/sasl_plugins/cram/spec/amd64/Makefile
deleted file mode 100644
index 07e64367c4..0000000000
--- a/usr/src/lib/sasl_plugins/cram/spec/amd64/Makefile
+++ /dev/null
@@ -1,14 +0,0 @@
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-include $(SRC)/lib/Makefile.spec
diff --git a/usr/src/lib/sasl_plugins/cram/spec/cram.spec b/usr/src/lib/sasl_plugins/cram/spec/cram.spec
deleted file mode 100644
index 37538e788e..0000000000
--- a/usr/src/lib/sasl_plugins/cram/spec/cram.spec
+++ /dev/null
@@ -1,28 +0,0 @@
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libsasl/plugin/cram/spec/cram.spec
-#
-
-function sasl_client_plug_init
-include <sasl/saslplug.h>
-declaration int sasl_client_plug_init(const sasl_utils_t *utils, \
- int maxversion, int *out_version, \
- sasl_client_plug_t **pluglist, \
- int *plugcount)
-exception $return == SASL_FAIL
-version SUNWprivate_1.1
-end
-
-function sasl_server_plug_init
-include <sasl/saslplug.h>
-declaration int sasl_server_plug_init(const sasl_utils_t *utils, \
- int maxversion, int *out_version, \
- sasl_server_plug_t **pluglist, \
- int *plugcount)
-exception $return == SASL_FAIL
-version SUNWprivate_1.1
-end
diff --git a/usr/src/lib/sasl_plugins/cram/spec/i386/Makefile b/usr/src/lib/sasl_plugins/cram/spec/i386/Makefile
deleted file mode 100644
index 6306093f99..0000000000
--- a/usr/src/lib/sasl_plugins/cram/spec/i386/Makefile
+++ /dev/null
@@ -1,15 +0,0 @@
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libsasl/plugins/cram/spec/i386/Makefile
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
diff --git a/usr/src/lib/sasl_plugins/cram/spec/sparc/Makefile b/usr/src/lib/sasl_plugins/cram/spec/sparc/Makefile
deleted file mode 100644
index dcbd1f7c3c..0000000000
--- a/usr/src/lib/sasl_plugins/cram/spec/sparc/Makefile
+++ /dev/null
@@ -1,15 +0,0 @@
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libsasl/plugins/cram/spec/sparc/Makefile
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
diff --git a/usr/src/lib/sasl_plugins/cram/spec/sparcv9/Makefile b/usr/src/lib/sasl_plugins/cram/spec/sparcv9/Makefile
deleted file mode 100644
index 0c01722717..0000000000
--- a/usr/src/lib/sasl_plugins/cram/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,16 +0,0 @@
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libsasl/plugins/cram/spec/sparcv9/Makefile
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-include $(SRC)/lib/Makefile.spec
diff --git a/usr/src/lib/sasl_plugins/cram/spec/versions b/usr/src/lib/sasl_plugins/cram/spec/versions
deleted file mode 100644
index 6a318d48a3..0000000000
--- a/usr/src/lib/sasl_plugins/cram/spec/versions
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-sparc {
- SUNWprivate_1.1;
-}
-sparcv9 {
- SUNWprivate_1.1;
-}
-i386 {
- SUNWprivate_1.1;
-}
-amd64 {
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/sasl_plugins/digestmd5/spec/Makefile b/usr/src/lib/sasl_plugins/digestmd5/spec/Makefile
deleted file mode 100644
index 78e5a082a2..0000000000
--- a/usr/src/lib/sasl_plugins/digestmd5/spec/Makefile
+++ /dev/null
@@ -1,7 +0,0 @@
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/sasl_plugins/digestmd5/spec/Makefile.targ b/usr/src/lib/sasl_plugins/digestmd5/spec/Makefile.targ
deleted file mode 100644
index bd86aec418..0000000000
--- a/usr/src/lib/sasl_plugins/digestmd5/spec/Makefile.targ
+++ /dev/null
@@ -1,10 +0,0 @@
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-
-LIBRARY = digestmd5.a
-VERS = .1
-
-OBJECTS = digestmd5.o
diff --git a/usr/src/lib/sasl_plugins/digestmd5/spec/amd64/Makefile b/usr/src/lib/sasl_plugins/digestmd5/spec/amd64/Makefile
deleted file mode 100644
index 07e64367c4..0000000000
--- a/usr/src/lib/sasl_plugins/digestmd5/spec/amd64/Makefile
+++ /dev/null
@@ -1,14 +0,0 @@
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-include $(SRC)/lib/Makefile.spec
diff --git a/usr/src/lib/sasl_plugins/digestmd5/spec/digestmd5.spec b/usr/src/lib/sasl_plugins/digestmd5/spec/digestmd5.spec
deleted file mode 100644
index aaa78d87df..0000000000
--- a/usr/src/lib/sasl_plugins/digestmd5/spec/digestmd5.spec
+++ /dev/null
@@ -1,28 +0,0 @@
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libsasl/plugin/digestmd5/spec/digestmd5.spec
-#
-
-function sasl_client_plug_init
-include <sasl/saslplug.h>
-declaration int sasl_client_plug_init(const sasl_utils_t *utils, \
- int maxversion, int *out_version, \
- sasl_client_plug_t **pluglist, \
- int *plugcount)
-exception $return == SASL_FAIL
-version SUNWprivate_1.1
-end
-
-function sasl_server_plug_init
-include <sasl/saslplug.h>
-declaration int sasl_server_plug_init(const sasl_utils_t *utils, \
- int maxversion, int *out_version, \
- sasl_server_plug_t **pluglist, \
- int *plugcount)
-exception $return == SASL_FAIL
-version SUNWprivate_1.1
-end
diff --git a/usr/src/lib/sasl_plugins/digestmd5/spec/i386/Makefile b/usr/src/lib/sasl_plugins/digestmd5/spec/i386/Makefile
deleted file mode 100644
index 898bd186dc..0000000000
--- a/usr/src/lib/sasl_plugins/digestmd5/spec/i386/Makefile
+++ /dev/null
@@ -1,15 +0,0 @@
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libsasl/plugins/digestmd5/spec/i386/Makefile
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
diff --git a/usr/src/lib/sasl_plugins/digestmd5/spec/sparc/Makefile b/usr/src/lib/sasl_plugins/digestmd5/spec/sparc/Makefile
deleted file mode 100644
index d98d83e258..0000000000
--- a/usr/src/lib/sasl_plugins/digestmd5/spec/sparc/Makefile
+++ /dev/null
@@ -1,15 +0,0 @@
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libsasl/plugins/digestmd5/spec/sparc/Makefile
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
diff --git a/usr/src/lib/sasl_plugins/digestmd5/spec/sparcv9/Makefile b/usr/src/lib/sasl_plugins/digestmd5/spec/sparcv9/Makefile
deleted file mode 100644
index 63a659bc17..0000000000
--- a/usr/src/lib/sasl_plugins/digestmd5/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,16 +0,0 @@
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libsasl/plugins/digestmd5/spec/sparcv9/Makefile
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-include $(SRC)/lib/Makefile.spec
diff --git a/usr/src/lib/sasl_plugins/digestmd5/spec/versions b/usr/src/lib/sasl_plugins/digestmd5/spec/versions
deleted file mode 100644
index 6a318d48a3..0000000000
--- a/usr/src/lib/sasl_plugins/digestmd5/spec/versions
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-sparc {
- SUNWprivate_1.1;
-}
-sparcv9 {
- SUNWprivate_1.1;
-}
-i386 {
- SUNWprivate_1.1;
-}
-amd64 {
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/sasl_plugins/gssapi/spec/Makefile b/usr/src/lib/sasl_plugins/gssapi/spec/Makefile
deleted file mode 100644
index 78e5a082a2..0000000000
--- a/usr/src/lib/sasl_plugins/gssapi/spec/Makefile
+++ /dev/null
@@ -1,7 +0,0 @@
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/sasl_plugins/gssapi/spec/Makefile.targ b/usr/src/lib/sasl_plugins/gssapi/spec/Makefile.targ
deleted file mode 100644
index 0093ca71ad..0000000000
--- a/usr/src/lib/sasl_plugins/gssapi/spec/Makefile.targ
+++ /dev/null
@@ -1,10 +0,0 @@
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-
-LIBRARY = gssapi.a
-VERS = .1
-
-OBJECTS = gssapi.o
diff --git a/usr/src/lib/sasl_plugins/gssapi/spec/amd64/Makefile b/usr/src/lib/sasl_plugins/gssapi/spec/amd64/Makefile
deleted file mode 100644
index 07e64367c4..0000000000
--- a/usr/src/lib/sasl_plugins/gssapi/spec/amd64/Makefile
+++ /dev/null
@@ -1,14 +0,0 @@
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-include $(SRC)/lib/Makefile.spec
diff --git a/usr/src/lib/sasl_plugins/gssapi/spec/gssapi.spec b/usr/src/lib/sasl_plugins/gssapi/spec/gssapi.spec
deleted file mode 100644
index 937b4fcf47..0000000000
--- a/usr/src/lib/sasl_plugins/gssapi/spec/gssapi.spec
+++ /dev/null
@@ -1,28 +0,0 @@
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libsasl/plugin/gssapi/spec/gssapi.spec
-#
-
-function sasl_client_plug_init
-include <sasl/saslplug.h>
-declaration int sasl_client_plug_init(const sasl_utils_t *utils, \
- int maxversion, int *out_version, \
- sasl_client_plug_t **pluglist, \
- int *plugcount)
-exception $return == SASL_FAIL
-version SUNWprivate_1.1
-end
-
-function sasl_server_plug_init
-include <sasl/saslplug.h>
-declaration int sasl_server_plug_init(const sasl_utils_t *utils, \
- int maxversion, int *out_version, \
- sasl_server_plug_t **pluglist, \
- int *plugcount)
-exception $return == SASL_FAIL
-version SUNWprivate_1.1
-end
diff --git a/usr/src/lib/sasl_plugins/gssapi/spec/i386/Makefile b/usr/src/lib/sasl_plugins/gssapi/spec/i386/Makefile
deleted file mode 100644
index 5d849b6467..0000000000
--- a/usr/src/lib/sasl_plugins/gssapi/spec/i386/Makefile
+++ /dev/null
@@ -1,15 +0,0 @@
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libsasl/plugins/gssapi/spec/i386/Makefile
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
diff --git a/usr/src/lib/sasl_plugins/gssapi/spec/sparc/Makefile b/usr/src/lib/sasl_plugins/gssapi/spec/sparc/Makefile
deleted file mode 100644
index 0c9b8fa717..0000000000
--- a/usr/src/lib/sasl_plugins/gssapi/spec/sparc/Makefile
+++ /dev/null
@@ -1,15 +0,0 @@
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libsasl/plugins/gssapi/spec/sparc/Makefile
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
diff --git a/usr/src/lib/sasl_plugins/gssapi/spec/sparcv9/Makefile b/usr/src/lib/sasl_plugins/gssapi/spec/sparcv9/Makefile
deleted file mode 100644
index a7b2bf8e22..0000000000
--- a/usr/src/lib/sasl_plugins/gssapi/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,16 +0,0 @@
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libsasl/plugins/gssapi/spec/sparcv9/Makefile
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-include $(SRC)/lib/Makefile.spec
diff --git a/usr/src/lib/sasl_plugins/gssapi/spec/versions b/usr/src/lib/sasl_plugins/gssapi/spec/versions
deleted file mode 100644
index 6a318d48a3..0000000000
--- a/usr/src/lib/sasl_plugins/gssapi/spec/versions
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-sparc {
- SUNWprivate_1.1;
-}
-sparcv9 {
- SUNWprivate_1.1;
-}
-i386 {
- SUNWprivate_1.1;
-}
-amd64 {
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/sasl_plugins/mapfile-vers b/usr/src/lib/sasl_plugins/mapfile-vers
new file mode 100644
index 0000000000..57377c73f6
--- /dev/null
+++ b/usr/src/lib/sasl_plugins/mapfile-vers
@@ -0,0 +1,34 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNWprivate_1.1 {
+ global:
+ sasl_client_plug_init;
+ sasl_server_plug_init;
+ local:
+ *;
+};
diff --git a/usr/src/lib/sasl_plugins/plain/spec/Makefile b/usr/src/lib/sasl_plugins/plain/spec/Makefile
deleted file mode 100644
index 78e5a082a2..0000000000
--- a/usr/src/lib/sasl_plugins/plain/spec/Makefile
+++ /dev/null
@@ -1,7 +0,0 @@
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/sasl_plugins/plain/spec/Makefile.targ b/usr/src/lib/sasl_plugins/plain/spec/Makefile.targ
deleted file mode 100644
index 340888b209..0000000000
--- a/usr/src/lib/sasl_plugins/plain/spec/Makefile.targ
+++ /dev/null
@@ -1,10 +0,0 @@
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-
-LIBRARY = plain.a
-VERS = .1
-
-OBJECTS = plain.o
diff --git a/usr/src/lib/sasl_plugins/plain/spec/amd64/Makefile b/usr/src/lib/sasl_plugins/plain/spec/amd64/Makefile
deleted file mode 100644
index 07e64367c4..0000000000
--- a/usr/src/lib/sasl_plugins/plain/spec/amd64/Makefile
+++ /dev/null
@@ -1,14 +0,0 @@
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-include $(SRC)/lib/Makefile.spec
diff --git a/usr/src/lib/sasl_plugins/plain/spec/i386/Makefile b/usr/src/lib/sasl_plugins/plain/spec/i386/Makefile
deleted file mode 100644
index b15851e8d3..0000000000
--- a/usr/src/lib/sasl_plugins/plain/spec/i386/Makefile
+++ /dev/null
@@ -1,15 +0,0 @@
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libsasl/plugins/plain/spec/i386/Makefile
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
diff --git a/usr/src/lib/sasl_plugins/plain/spec/plain.spec b/usr/src/lib/sasl_plugins/plain/spec/plain.spec
deleted file mode 100644
index 8f6fc71926..0000000000
--- a/usr/src/lib/sasl_plugins/plain/spec/plain.spec
+++ /dev/null
@@ -1,28 +0,0 @@
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libsasl/plugin/login/spec/login.spec
-#
-
-function sasl_client_plug_init
-include <sasl/saslplug.h>
-declaration int sasl_client_plug_init(const sasl_utils_t *utils, \
- int maxversion, int *out_version, \
- sasl_client_plug_t **pluglist, \
- int *plugcount)
-exception $return == SASL_FAIL
-version SUNWprivate_1.1
-end
-
-function sasl_server_plug_init
-include <sasl/saslplug.h>
-declaration int sasl_server_plug_init(const sasl_utils_t *utils, \
- int maxversion, int *out_version, \
- sasl_server_plug_t **pluglist, \
- int *plugcount)
-exception $return == SASL_FAIL
-version SUNWprivate_1.1
-end
diff --git a/usr/src/lib/sasl_plugins/plain/spec/sparc/Makefile b/usr/src/lib/sasl_plugins/plain/spec/sparc/Makefile
deleted file mode 100644
index 8fdc1965c6..0000000000
--- a/usr/src/lib/sasl_plugins/plain/spec/sparc/Makefile
+++ /dev/null
@@ -1,15 +0,0 @@
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libsasl/plugins/plain/spec/sparc/Makefile
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
diff --git a/usr/src/lib/sasl_plugins/plain/spec/sparcv9/Makefile b/usr/src/lib/sasl_plugins/plain/spec/sparcv9/Makefile
deleted file mode 100644
index b000497abc..0000000000
--- a/usr/src/lib/sasl_plugins/plain/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,16 +0,0 @@
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libsasl/plugins/plain/spec/sparcv9/Makefile
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-include $(SRC)/lib/Makefile.spec
diff --git a/usr/src/lib/sasl_plugins/plain/spec/versions b/usr/src/lib/sasl_plugins/plain/spec/versions
deleted file mode 100644
index 6a318d48a3..0000000000
--- a/usr/src/lib/sasl_plugins/plain/spec/versions
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-sparc {
- SUNWprivate_1.1;
-}
-sparcv9 {
- SUNWprivate_1.1;
-}
-i386 {
- SUNWprivate_1.1;
-}
-amd64 {
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/udapl/libdat/Makefile b/usr/src/lib/udapl/libdat/Makefile
index a1a1284347..6c5caac2a0 100644
--- a/usr/src/lib/udapl/libdat/Makefile
+++ b/usr/src/lib/udapl/libdat/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,7 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
@@ -60,19 +59,17 @@ debug := TARGET= debug
.KEEP_STATE:
-all debug install: $(ROOTETCDATFILES) spec .WAIT $(SUBDIRS)
+all debug install: $(ROOTETCDATFILES) .WAIT $(SUBDIRS)
$(ROOTETCDATFILES): $(ROOTETCDAT)
-clean clobber: spec $(SUBDIRS)
-
-lint: $(SUBDIRS)
+clean clobber lint: $(SUBDIRS)
install_h: $(ROOTHDRDIR) .WAIT $(ROOTHDRS)
check: $(CHECKHDRS)
-spec $(SUBDIRS): FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
$(ROOTHDRDIR):
diff --git a/usr/src/lib/udapl/libdat/Makefile.com b/usr/src/lib/udapl/libdat/Makefile.com
index c82dd1da4c..22d7dc9e00 100644
--- a/usr/src/lib/udapl/libdat/Makefile.com
+++ b/usr/src/lib/udapl/libdat/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,7 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
@@ -47,8 +46,6 @@ LIBS = $(DYNLIB) $(LINTLIB)
LDLIBS += -lc
SRCDIR = ../common
-MAPDIR = $(SRC)/lib/udapl/libdat/spec/$(TRANSMACH)
-SPECMAPFILE = $(MAPDIR)/mapfile
CPPFLAGS += -I../include
CFLAGS += $(CCVERBOSE)
diff --git a/usr/src/lib/udapl/libdat/common/mapfile-vers b/usr/src/lib/udapl/libdat/common/mapfile-vers
new file mode 100644
index 0000000000..641e598455
--- /dev/null
+++ b/usr/src/lib/udapl/libdat/common/mapfile-vers
@@ -0,0 +1,104 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNW_1.1 {
+ global:
+ dat_cno_create;
+ dat_cno_free;
+ dat_cno_modify_agent;
+ dat_cno_query;
+ dat_cno_wait;
+ dat_cr_accept;
+ dat_cr_handoff;
+ dat_cr_query;
+ dat_cr_reject;
+ dat_ep_connect;
+ dat_ep_create;
+ dat_ep_create_with_srq;
+ dat_ep_disconnect;
+ dat_ep_dup_connect;
+ dat_ep_free;
+ dat_ep_get_status;
+ dat_ep_modify;
+ dat_ep_post_rdma_read;
+ dat_ep_post_rdma_write;
+ dat_ep_post_recv;
+ dat_ep_post_send;
+ dat_ep_query;
+ dat_ep_recv_query;
+ dat_ep_reset;
+ dat_ep_set_watermark;
+ dat_evd_clear_unwaitable;
+ dat_evd_create;
+ dat_evd_dequeue;
+ dat_evd_disable;
+ dat_evd_enable;
+ dat_evd_free;
+ dat_evd_modify_cno;
+ dat_evd_post_se;
+ dat_evd_query;
+ dat_evd_resize;
+ dat_evd_set_unwaitable;
+ dat_evd_wait;
+ dat_get_consumer_context;
+ dat_get_handle_type;
+ dat_ia_close;
+ dat_ia_openv;
+ dat_ia_query;
+ dat_lmr_create;
+ dat_lmr_free;
+ dat_lmr_query;
+ dat_lmr_sync_rdma_read;
+ dat_lmr_sync_rdma_write;
+ dat_psp_create;
+ dat_psp_create_any;
+ dat_psp_free;
+ dat_psp_query;
+ dat_pz_create;
+ dat_pz_free;
+ dat_pz_query;
+ dat_registry_add_provider;
+ dat_registry_list_providers;
+ dat_registry_remove_provider;
+ dat_rmr_bind;
+ dat_rmr_create;
+ dat_rmr_free;
+ dat_rmr_query;
+ dat_rsp_create;
+ dat_rsp_free;
+ dat_rsp_query;
+ dat_set_consumer_context;
+ dat_srq_create;
+ dat_srq_free;
+ dat_srq_post_recv;
+ dat_srq_query;
+ dat_srq_resize;
+ dat_srq_set_lw;
+ dat_strerror;
+ local:
+ *;
+};
diff --git a/usr/src/lib/udapl/libdat/spec/Makefile b/usr/src/lib/udapl/libdat/spec/Makefile
deleted file mode 100644
index 482099da3a..0000000000
--- a/usr/src/lib/udapl/libdat/spec/Makefile
+++ /dev/null
@@ -1,30 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/udapl/libdat/spec/Makefile
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/udapl/libdat/spec/Makefile.targ b/usr/src/lib/udapl/libdat/spec/Makefile.targ
deleted file mode 100644
index b0a6a088c9..0000000000
--- a/usr/src/lib/udapl/libdat/spec/Makefile.targ
+++ /dev/null
@@ -1,34 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# lib/udapl/libdat/spec/Makefile.targ
-
-LIBRARY = libdat.a
-VERS = .1
-
-OBJECTS = dat.o
-
diff --git a/usr/src/lib/udapl/libdat/spec/amd64/Makefile b/usr/src/lib/udapl/libdat/spec/amd64/Makefile
deleted file mode 100644
index ad5b7614b1..0000000000
--- a/usr/src/lib/udapl/libdat/spec/amd64/Makefile
+++ /dev/null
@@ -1,37 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/udapl/libdat/spec/amd64/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/udapl/libdat/spec/dat.spec b/usr/src/lib/udapl/libdat/spec/dat.spec
deleted file mode 100644
index ee3929de2e..0000000000
--- a/usr/src/lib/udapl/libdat/spec/dat.spec
+++ /dev/null
@@ -1,459 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/udapl/libdat/spec/dat.spec
-
-function dat_ia_query
-declaration DAT_RETURN dat_ia_query(DAT_IA_HANDLE, DAT_EVD_HANDLE*, DAT_IA_ATTR_MASK, DAT_IA_ATTR*, DAT_PROVIDER_ATTR_MASK, DAT_PROVIDER_ATTR*)
-include <dat/udat.h>
-version SUNW_1.1
-end
-
-function dat_registry_list_providers
-declaration DAT_RETURN dat_registry_list_providers(DAT_COUNT max_to_return, DAT_COUNT *entries_returned, DAT_PROVIDER_INFO *(dat_provider_list[]))
-include <dat/dat.h>
-version SUNW_1.1
-end
-
-function dat_ia_openv
-declaration DAT_RETURN dat_ia_openv(const DAT_NAME_PTR, DAT_COUNT, DAT_EVD_HANDLE *, DAT_IA_HANDLE *, DAT_UINT32, DAT_UINT32, DAT_BOOLEAN)
-include <dat/dat.h>
-version SUNW_1.1
-end
-
-function dat_ia_close
-declaration DAT_RETURN dat_ia_close(DAT_IA_HANDLE, DAT_CLOSE_FLAGS)
-include <dat/dat.h>
-version SUNW_1.1
-end
-
-function dat_registry_add_provider
-declaration DAT_RETURN dat_registry_add_provider(DAT_PROVIDER*, const DAT_PROVIDER_INFO*)
-include <dat/dat_registry.h>
-version SUNW_1.1
-end
-
-function dat_registry_remove_provider
-declaration DAT_RETURN dat_registry_remove_provider(DAT_PROVIDER*, const DAT_PROVIDER_INFO*)
-include <dat/dat_registry.h>
-version SUNW_1.1
-end
-
-function dat_strerror
-declaration DAT_RETURN dat_strerror(DAT_RETURN, const char **,const char **)
-include <dat/dat.h>
-version SUNW_1.1
-end
-
-function dat_set_consumer_context
-declaration DAT_RETURN dat_set_consumer_context(DAT_IA_HANDLE, DAT_CONTEXT)
-include <dat/dat.h>
-version SUNW_1.1
-end
-
-function dat_get_consumer_context
-declaration DAT_RETURN dat_get_consumer_context(DAT_IA_HANDLE, DAT_CONTEXT*)
-include <dat/dat.h>
-version SUNW_1.1
-end
-
-function dat_get_handle_type
-declaration DAT_RETURN dat_get_handle_type(DAT_IA_HANDLE, DAT_HANDLE_TYPE*)
-include <dat/dat.h>
-version SUNW_1.1
-end
-
-function dat_cr_query
-declaration DAT_RETURN dat_cr_query(DAT_CR_HANDLE, DAT_CR_PARAM_MASK, DAT_CR_PARAM*)
-include <dat/dat.h>
-version SUNW_1.1
-end
-
-function dat_cr_accept
-declaration DAT_RETURN dat_cr_accept(DAT_CR_HANDLE, DAT_EP_HANDLE, DAT_COUNT, const DAT_PVOID)
-include <dat/dat.h>
-version SUNW_1.1
-end
-
-function dat_cr_reject
-declaration DAT_RETURN dat_cr_reject(DAT_CR_HANDLE)
-include <dat/dat.h>
-version SUNW_1.1
-end
-
-function dat_cr_handoff
-declaration DAT_RETURN dat_cr_handoff(DAT_CR_HANDLE, DAT_CONN_QUAL)
-include <dat/dat.h>
-version SUNW_1.1
-end
-
-function dat_evd_create
-declaration DAT_RETURN dat_evd_create(DAT_IA_HANDLE, DAT_COUNT, DAT_CNO_HANDLE, DAT_EVD_FLAGS, DAT_EVD_HANDLE*)
-include <dat/udat.h>
-version SUNW_1.1
-end
-
-function dat_evd_modify_cno
-declaration DAT_RETURN dat_evd_modify_cno(DAT_EVD_HANDLE, DAT_CNO_HANDLE)
-include <dat/udat.h>
-version SUNW_1.1
-end
-
-function dat_evd_enable
-declaration DAT_RETURN dat_evd_enable(DAT_EVD_HANDLE)
-include <dat/udat.h>
-version SUNW_1.1
-end
-
-function dat_evd_wait
-declaration DAT_RETURN dat_evd_wait(DAT_EVD_HANDLE, DAT_TIMEOUT, DAT_COUNT, DAT_EVENT*, DAT_COUNT*)
-include <dat/udat.h>
-version SUNW_1.1
-end
-
-function dat_evd_disable
-declaration DAT_RETURN dat_evd_disable(DAT_EVD_HANDLE)
-include <dat/udat.h>
-version SUNW_1.1
-end
-
-function dat_evd_set_unwaitable
-declaration DAT_RETURN dat_evd_set_unwaitable(DAT_EVD_HANDLE)
-include <dat/udat.h>
-version SUNW_1.1
-end
-
-function dat_evd_clear_unwaitable
-declaration DAT_RETURN dat_evd_clear_unwaitable(DAT_EVD_HANDLE)
-include <dat/udat.h>
-version SUNW_1.1
-end
-
-function dat_evd_query
-declaration DAT_RETURN dat_evd_query(DAT_EVD_HANDLE, DAT_EVD_PARAM_MASK, DAT_EVD_PARAM*)
-include <dat/udat.h>
-version SUNW_1.1
-end
-
-function dat_evd_resize
-declaration DAT_RETURN dat_evd_resize(DAT_EVD_HANDLE, DAT_COUNT)
-include <dat/dat.h>
-version SUNW_1.1
-end
-
-function dat_evd_post_se
-declaration DAT_RETURN dat_evd_post_se(DAT_EVD_HANDLE, const DAT_EVENT*)
-include <dat/dat.h>
-version SUNW_1.1
-end
-
-function dat_evd_dequeue
-declaration DAT_RETURN dat_evd_dequeue(DAT_EVD_HANDLE, DAT_EVENT*)
-include <dat/dat.h>
-version SUNW_1.1
-end
-
-function dat_evd_free
-declaration DAT_RETURN dat_evd_free(DAT_EVD_HANDLE)
-include <dat/dat.h>
-version SUNW_1.1
-end
-
-function dat_ep_create
-declaration DAT_RETURN dat_ep_create(DAT_IA_HANDLE, DAT_PZ_HANDLE, DAT_EVD_HANDLE, DAT_EVD_HANDLE,DAT_EVD_HANDLE, const DAT_EP_ATTR*, DAT_EP_HANDLE*)
-include <dat/dat.h>
-version SUNW_1.1
-end
-
-function dat_ep_query
-declaration DAT_RETURN dat_ep_query(DAT_EP_HANDLE, DAT_EP_PARAM_MASK, DAT_EP_PARAM*)
-include <dat/dat.h>
-version SUNW_1.1
-end
-
-function dat_ep_modify
-declaration DAT_RETURN dat_ep_modify(DAT_EP_HANDLE, DAT_EP_PARAM_MASK, const DAT_EP_PARAM*)
-include <dat/dat.h>
-version SUNW_1.1
-end
-
-function dat_ep_connect
-declaration DAT_RETURN dat_ep_connect(DAT_EP_HANDLE, DAT_IA_ADDRESS_PTR, DAT_CONN_QUAL, DAT_TIMEOUT, DAT_COUNT, const DAT_PVOID, DAT_QOS, DAT_CONNECT_FLAGS)
-include <dat/dat.h>
-version SUNW_1.1
-end
-
-function dat_ep_dup_connect
-declaration DAT_RETURN dat_ep_dup_connect(DAT_EP_HANDLE, DAT_EP_HANDLE, DAT_TIMEOUT, DAT_COUNT, const DAT_PVOID, DAT_QOS)
-include <dat/dat.h>
-version SUNW_1.1
-end
-
-function dat_ep_disconnect
-declaration DAT_RETURN dat_ep_disconnect(DAT_EP_HANDLE, DAT_CLOSE_FLAGS)
-include <dat/dat.h>
-version SUNW_1.1
-end
-
-function dat_ep_post_send
-declaration DAT_RETURN dat_ep_post_send(DAT_EP_HANDLE, DAT_COUNT, DAT_LMR_TRIPLET*, DAT_DTO_COOKIE, DAT_COMPLETION_FLAGS)
-include <dat/dat.h>
-version SUNW_1.1
-end
-
-function dat_ep_post_recv
-declaration DAT_RETURN dat_ep_post_recv(DAT_EP_HANDLE, DAT_COUNT, DAT_LMR_TRIPLET*, DAT_DTO_COOKIE, DAT_COMPLETION_FLAGS)
-include <dat/dat.h>
-version SUNW_1.1
-end
-
-function dat_ep_post_rdma_read
-declaration DAT_RETURN dat_ep_post_rdma_read(DAT_EP_HANDLE, DAT_COUNT, DAT_LMR_TRIPLET*, DAT_DTO_COOKIE, const DAT_RMR_TRIPLET*, DAT_COMPLETION_FLAGS)
-include <dat/dat.h>
-version SUNW_1.1
-end
-
-function dat_ep_post_rdma_write
-declaration DAT_RETURN dat_ep_post_rdma_write(DAT_EP_HANDLE, DAT_COUNT, DAT_LMR_TRIPLET*, DAT_DTO_COOKIE, const DAT_RMR_TRIPLET*, DAT_COMPLETION_FLAGS)
-include <dat/dat.h>
-version SUNW_1.1
-end
-
-function dat_ep_get_status
-declaration DAT_RETURN dat_ep_get_status(DAT_EP_HANDLE, DAT_EP_STATE*, DAT_BOOLEAN*, DAT_BOOLEAN*)
-include <dat/dat.h>
-version SUNW_1.1
-end
-
-function dat_ep_free
-declaration DAT_RETURN dat_ep_free(DAT_EP_HANDLE)
-include <dat/dat.h>
-version SUNW_1.1
-end
-
-function dat_ep_reset
-declaration DAT_RETURN dat_ep_reset(DAT_EP_HANDLE)
-include <dat/dat.h>
-version SUNW_1.1
-end
-
-function dat_lmr_create
-declaration DAT_RETURN dat_lmr_create(DAT_IA_HANDLE, DAT_MEM_TYPE, DAT_REGION_DESCRIPTION, DAT_VLEN, DAT_PZ_HANDLE, DAT_MEM_PRIV_FLAGS, DAT_LMR_HANDLE*, DAT_LMR_CONTEXT*, DAT_RMR_CONTEXT*, DAT_VLEN*, DAT_VADDR*)
-include <dat/udat.h>
-version SUNW_1.1
-end
-
-function dat_lmr_query
-declaration DAT_RETURN dat_lmr_query(DAT_LMR_HANDLE, DAT_LMR_PARAM_MASK, DAT_LMR_PARAM*)
-include <dat/udat.h>
-version SUNW_1.1
-end
-
-function dat_lmr_free
-declaration DAT_RETURN dat_lmr_free(DAT_LMR_HANDLE)
-include <dat/dat.h>
-version SUNW_1.1
-end
-
-function dat_lmr_sync_rdma_read
-declaration DAT_RETURN dat_lmr_sync_rdma_read(DAT_IA_HANDLE, const DAT_LMR_TRIPLET*, DAT_VLEN)
-include <dat/dat.h>
-version SUNW_1.1
-end
-
-function dat_lmr_sync_rdma_write
-declaration DAT_RETURN dat_lmr_sync_rdma_write(DAT_IA_HANDLE, const DAT_LMR_TRIPLET*, DAT_VLEN)
-include <dat/dat.h>
-version SUNW_1.1
-end
-
-function dat_rmr_create
-declaration DAT_RETURN dat_rmr_create(DAT_PZ_HANDLE, DAT_RMR_HANDLE*)
-include <dat/dat.h>
-version SUNW_1.1
-end
-
-function dat_rmr_query
-declaration DAT_RETURN dat_rmr_query(DAT_RMR_HANDLE, DAT_RMR_PARAM_MASK, DAT_RMR_PARAM *)
-include <dat/dat.h>
-version SUNW_1.1
-end
-
-function dat_rmr_bind
-declaration DAT_RETURN dat_rmr_bind(DAT_RMR_HANDLE, const DAT_LMR_TRIPLET*, DAT_MEM_PRIV_FLAGS, DAT_EP_HANDLE, DAT_RMR_COOKIE, DAT_COMPLETION_FLAGS, DAT_RMR_CONTEXT*)
-include <dat/dat.h>
-version SUNW_1.1
-end
-
-function dat_rmr_free
-declaration DAT_RETURN dat_rmr_free(DAT_RMR_HANDLE)
-include <dat/dat.h>
-version SUNW_1.1
-end
-
-function dat_psp_create
-declaration DAT_RETURN dat_psp_create(DAT_IA_HANDLE, DAT_CONN_QUAL, DAT_EVD_HANDLE, DAT_PSP_FLAGS, DAT_PSP_HANDLE*)
-include <dat/dat.h>
-version SUNW_1.1
-end
-
-function dat_psp_create_any
-declaration DAT_RETURN dat_psp_create_any(DAT_IA_HANDLE, DAT_CONN_QUAL*, DAT_EVD_HANDLE, DAT_PSP_FLAGS, DAT_PSP_HANDLE*)
-include <dat/dat.h>
-version SUNW_1.1
-end
-
-function dat_psp_query
-declaration DAT_RETURN dat_psp_query(DAT_PSP_HANDLE, DAT_PSP_PARAM_MASK, DAT_PSP_PARAM*)
-include <dat/dat.h>
-version SUNW_1.1
-end
-
-function dat_psp_free
-declaration DAT_RETURN dat_psp_free(DAT_PSP_HANDLE)
-include <dat/dat.h>
-version SUNW_1.1
-end
-
-function dat_rsp_create
-declaration DAT_RETURN dat_rsp_create(DAT_IA_HANDLE, DAT_CONN_QUAL, DAT_EP_HANDLE, DAT_EVD_HANDLE, DAT_RSP_HANDLE*)
-include <dat/dat.h>
-version SUNW_1.1
-end
-
-function dat_rsp_query
-declaration DAT_RETURN dat_rsp_query(DAT_RSP_HANDLE, DAT_RSP_PARAM_MASK, DAT_RSP_PARAM*)
-include <dat/dat.h>
-version SUNW_1.1
-end
-
-function dat_rsp_free
-declaration DAT_RETURN dat_rsp_free(DAT_RSP_HANDLE)
-include <dat/dat.h>
-version SUNW_1.1
-end
-
-function dat_pz_create
-declaration DAT_RETURN dat_pz_create(DAT_IA_HANDLE, DAT_PZ_HANDLE*)
-include <dat/dat.h>
-version SUNW_1.1
-end
-
-function dat_pz_query
-declaration DAT_RETURN dat_pz_query(DAT_PZ_HANDLE, DAT_PZ_PARAM_MASK, DAT_PZ_PARAM*)
-include <dat/dat.h>
-version SUNW_1.1
-end
-
-function dat_pz_free
-declaration DAT_RETURN dat_pz_free(DAT_PZ_HANDLE)
-include <dat/dat.h>
-version SUNW_1.1
-end
-
-function dat_ep_create_with_srq
-declaration DAT_RETURN dat_ep_create_with_srq(DAT_IA_HANDLE, DAT_PZ_HANDLE, DAT_EVD_HANDLE, DAT_EVD_HANDLE, DAT_EVD_HANDLE, DAT_SRQ_HANDLE, DAT_EP_ATTR*, DAT_EP_HANDLE*)
-include <dat/dat.h>
-version SUNW_1.1
-end
-
-function dat_ep_recv_query
-declaration DAT_RETURN dat_ep_recv_query(DAT_EP_HANDLE, DAT_COUNT*, DAT_COUNT*)
-include <dat/dat.h>
-version SUNW_1.1
-end
-
-function dat_ep_set_watermark
-declaration DAT_RETURN dat_ep_set_watermark(DAT_EP_HANDLE, DAT_COUNT, DAT_COUNT)
-include <dat/dat.h>
-version SUNW_1.1
-end
-
-function dat_srq_create
-declaration DAT_RETURN dat_srq_create(DAT_IA_HANDLE, DAT_PZ_HANDLE, DAT_SRQ_ATTR*, DAT_SRQ_HANDLE*)
-include <dat/dat.h>
-version SUNW_1.1
-end
-
-function dat_srq_free
-declaration DAT_RETURN dat_srq_free(DAT_SRQ_HANDLE)
-include <dat/dat.h>
-version SUNW_1.1
-end
-
-function dat_srq_post_recv
-declaration DAT_RETURN dat_srq_post_recv(DAT_SRQ_HANDLE, DAT_COUNT, DAT_LMR_TRIPLET*, DAT_DTO_COOKIE)
-include <dat/dat.h>
-version SUNW_1.1
-end
-
-function dat_srq_query
-declaration DAT_RETURN dat_srq_query(DAT_SRQ_HANDLE, DAT_SRQ_PARAM_MASK, DAT_SRQ_PARAM*)
-include <dat/dat.h>
-version SUNW_1.1
-end
-
-function dat_srq_resize
-declaration DAT_RETURN dat_srq_resize(DAT_SRQ_HANDLE, DAT_COUNT)
-include <dat/dat.h>
-version SUNW_1.1
-end
-
-function dat_srq_set_lw
-declaration DAT_RETURN dat_srq_set_lw(DAT_SRQ_HANDLE, DAT_COUNT)
-include <dat/dat.h>
-version SUNW_1.1
-end
-
-function dat_cno_create
-declaration DAT_RETURN dat_cno_create(DAT_IA_HANDLE, DAT_OS_WAIT_PROXY_AGENT, DAT_CNO_HANDLE*)
-include <dat/udat.h>
-version SUNW_1.1
-end
-
-function dat_cno_modify_agent
-declaration DAT_RETURN dat_cno_modify_agent(DAT_CNO_HANDLE, DAT_OS_WAIT_PROXY_AGENT)
-include <dat/udat.h>
-version SUNW_1.1
-end
-
-function dat_cno_query
-declaration DAT_RETURN dat_cno_query(DAT_CNO_HANDLE, DAT_CNO_PARAM_MASK, DAT_CNO_PARAM*)
-include <dat/udat.h>
-version SUNW_1.1
-end
-
-function dat_cno_free
-declaration DAT_RETURN dat_cno_free(DAT_CNO_HANDLE)
-include <dat/udat.h>
-version SUNW_1.1
-end
-
-function dat_cno_wait
-declaration DAT_RETURN dat_cno_wait(DAT_CNO_HANDLE, DAT_TIMEOUT, DAT_EVD_HANDLE*)
-include <dat/udat.h>
-version SUNW_1.1
-end
diff --git a/usr/src/lib/udapl/libdat/spec/i386/Makefile b/usr/src/lib/udapl/libdat/spec/i386/Makefile
deleted file mode 100644
index 7f867f4940..0000000000
--- a/usr/src/lib/udapl/libdat/spec/i386/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/udapl/libdat/spec/i386/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/udapl/libdat/spec/sparc/Makefile b/usr/src/lib/udapl/libdat/spec/sparc/Makefile
deleted file mode 100644
index c0ff57a4e1..0000000000
--- a/usr/src/lib/udapl/libdat/spec/sparc/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/udapl/libdat/spec/sparc/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/udapl/libdat/spec/sparcv9/Makefile b/usr/src/lib/udapl/libdat/spec/sparcv9/Makefile
deleted file mode 100644
index f3153c8d17..0000000000
--- a/usr/src/lib/udapl/libdat/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,37 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/udapl/libdat/spec/sparcv9/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/udapl/libdat/spec/versions b/usr/src/lib/udapl/libdat/spec/versions
deleted file mode 100644
index d90eb74a51..0000000000
--- a/usr/src/lib/udapl/libdat/spec/versions
+++ /dev/null
@@ -1,41 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# vers file for libdat
-#
-
-sparc {
- SUNW_1.1;
-}
-sparcv9 {
- SUNW_1.1;
-}
-i386 {
- SUNW_1.1;
-}
-amd64 {
- SUNW_1.1;
-}
diff --git a/usr/src/lib/watchmalloc/Makefile b/usr/src/lib/watchmalloc/Makefile
index a7ee145acb..a25c865700 100644
--- a/usr/src/lib/watchmalloc/Makefile
+++ b/usr/src/lib/watchmalloc/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,16 +19,15 @@
# CDDL HEADER END
#
#
-# Copyright (c) 1996-1999 by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
-# lib/watchmalloc/Makefile
include ../Makefile.lib
-SUBDIRS= spec .WAIT $(MACH)
+SUBDIRS= $(MACH)
$(BUILD64)SUBDIRS += $(MACH64)
all := TARGET= all
diff --git a/usr/src/lib/watchmalloc/Makefile.com b/usr/src/lib/watchmalloc/Makefile.com
index 74f6b4221c..4c7eb9f66d 100644
--- a/usr/src/lib/watchmalloc/Makefile.com
+++ b/usr/src/lib/watchmalloc/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,12 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/watchmalloc/Makefile.com
LIBRARY = watchmalloc.a
VERS = .1
@@ -35,17 +33,14 @@ OBJECTS = malloc.o
# include library definitions
include ../../Makefile.lib
-MAPFILE = $(MAPDIR)/mapfile
-CLOBBERFILES += $(MAPFILE)
-
-SRCS = $(OBJECTS:%.o=../common/%.c)
+SRCDIR = ../common
LIBS = $(DYNLIB)
LDLIBS += -lc
CFLAGS += $(CCVERBOSE)
CFLAGS64 += $(CCVERBOSE)
CPPFLAGS += -D_REENTRANT -I../common
-DYNFLAGS += -M$(MAPFILE) $(ZINTERPOSE)
+DYNFLAGS += $(ZINTERPOSE)
.KEEP_STATE:
@@ -54,11 +49,6 @@ all: $(LIBS)
lint:
$(LINT.c) $(SRCS) $(LDLIBS)
-$(DYNLIB): $(MAPFILE)
-
-$(MAPFILE):
- @cd $(MAPDIR); $(MAKE) mapfile
-
# include library targets
include ../../Makefile.targ
diff --git a/usr/src/lib/watchmalloc/amd64/Makefile b/usr/src/lib/watchmalloc/amd64/Makefile
index bbaac16a41..b4a264fcbc 100644
--- a/usr/src/lib/watchmalloc/amd64/Makefile
+++ b/usr/src/lib/watchmalloc/amd64/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,13 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-MAPDIR= ../spec/amd64
include ../Makefile.com
include ../../Makefile.lib.64
diff --git a/usr/src/lib/watchmalloc/common/mapfile-vers b/usr/src/lib/watchmalloc/common/mapfile-vers
new file mode 100644
index 0000000000..0097c20482
--- /dev/null
+++ b/usr/src/lib/watchmalloc/common/mapfile-vers
@@ -0,0 +1,51 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNW_1.1 {
+ global:
+ calloc = NODIRECT;
+ cfree = NODIRECT;
+ _cfree = NODIRECT;
+ free = NODIRECT;
+ mallinfo = NODIRECT;
+ _mallinfo = NODIRECT;
+ malloc = NODIRECT;
+ mallopt = NODIRECT;
+ _mallopt = NODIRECT;
+ memalign = NODIRECT;
+ _memalign = NODIRECT;
+ realloc = NODIRECT;
+ valloc = NODIRECT;
+ _valloc = NODIRECT;
+};
+
+SUNWprivate_1.1 {
+ global:
+ SUNWprivate_1.1;
+ local:
+ *;
+};
diff --git a/usr/src/lib/watchmalloc/i386/Makefile b/usr/src/lib/watchmalloc/i386/Makefile
index 42e5e35db6..6a777cf0a2 100644
--- a/usr/src/lib/watchmalloc/i386/Makefile
+++ b/usr/src/lib/watchmalloc/i386/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
-# lib/watchmalloc/i386/Makefile
-MAPDIR= ../spec/i386
include ../Makefile.com
.KEEP_STATE:
diff --git a/usr/src/lib/watchmalloc/sparc/Makefile b/usr/src/lib/watchmalloc/sparc/Makefile
index 681956ef17..6a777cf0a2 100644
--- a/usr/src/lib/watchmalloc/sparc/Makefile
+++ b/usr/src/lib/watchmalloc/sparc/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
-# lib/watchmalloc/sparc/Makefile
-MAPDIR= ../spec/sparc
include ../Makefile.com
.KEEP_STATE:
diff --git a/usr/src/lib/watchmalloc/sparcv9/Makefile b/usr/src/lib/watchmalloc/sparcv9/Makefile
index ff5e5d1bc9..b4a264fcbc 100644
--- a/usr/src/lib/watchmalloc/sparcv9/Makefile
+++ b/usr/src/lib/watchmalloc/sparcv9/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
-# lib/watchmalloc/sparcv9/Makefile
-MAPDIR= ../spec/sparcv9
include ../Makefile.com
include ../../Makefile.lib.64
diff --git a/usr/src/lib/watchmalloc/spec/Makefile b/usr/src/lib/watchmalloc/spec/Makefile
deleted file mode 100644
index 3f613733f7..0000000000
--- a/usr/src/lib/watchmalloc/spec/Makefile
+++ /dev/null
@@ -1,30 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/watchmalloc/spec/Makefile
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/watchmalloc/spec/Makefile.targ b/usr/src/lib/watchmalloc/spec/Makefile.targ
deleted file mode 100644
index 7e345bfc53..0000000000
--- a/usr/src/lib/watchmalloc/spec/Makefile.targ
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libplot/plot/spec/Makefile.targ
-
-LIBRARY = watchmalloc.a
-VERS = .1
-
-OBJECTS = watchmalloc.o
-
-TRANSCPP =
-SPECCPP =
diff --git a/usr/src/lib/watchmalloc/spec/amd64/Makefile b/usr/src/lib/watchmalloc/spec/amd64/Makefile
deleted file mode 100644
index 2a38c1cba9..0000000000
--- a/usr/src/lib/watchmalloc/spec/amd64/Makefile
+++ /dev/null
@@ -1,42 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#amd64_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/watchmalloc/spec/i386/Makefile b/usr/src/lib/watchmalloc/spec/i386/Makefile
deleted file mode 100644
index b02839d2eb..0000000000
--- a/usr/src/lib/watchmalloc/spec/i386/Makefile
+++ /dev/null
@@ -1,42 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/watchmalloc/spec/i386/Makefile
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#i386_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/watchmalloc/spec/sparc/Makefile b/usr/src/lib/watchmalloc/spec/sparc/Makefile
deleted file mode 100644
index 42c85081f4..0000000000
--- a/usr/src/lib/watchmalloc/spec/sparc/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/watchmalloc/spec/sparc/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#sparc_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/watchmalloc/spec/sparcv9/Makefile b/usr/src/lib/watchmalloc/spec/sparcv9/Makefile
deleted file mode 100644
index 1e75e1e948..0000000000
--- a/usr/src/lib/watchmalloc/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,43 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/watchmalloc/spec/sparcv9/Makefile
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#sparcv9_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/watchmalloc/spec/versions b/usr/src/lib/watchmalloc/spec/versions
deleted file mode 100644
index 38a2cfc77a..0000000000
--- a/usr/src/lib/watchmalloc/spec/versions
+++ /dev/null
@@ -1,43 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-sparc {
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-sparcv9 {
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-i386 {
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-amd64 {
- SUNW_1.1;
- SUNWprivate_1.1;
-}
diff --git a/usr/src/lib/watchmalloc/spec/watchmalloc.spec b/usr/src/lib/watchmalloc/spec/watchmalloc.spec
deleted file mode 100644
index c4749f7561..0000000000
--- a/usr/src/lib/watchmalloc/spec/watchmalloc.spec
+++ /dev/null
@@ -1,115 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# lib/watchmalloc/spec/watchmalloc.spec
-
-function _cfree
-version SUNW_1.1
-binding nodirect
-end
-
-function _mallinfo
-version SUNW_1.1
-binding nodirect
-end
-
-function _mallopt
-version SUNW_1.1
-binding nodirect
-end
-
-function _memalign
-version SUNW_1.1
-binding nodirect
-end
-
-function _valloc
-version SUNW_1.1
-binding nodirect
-end
-
-function calloc
-include <stdlib.h>
-declaration void *calloc(size_t nelem, size_t elsize)
-version SUNW_1.1
-binding nodirect
-end
-
-function cfree
-include <stdlib.h>
-declaration void cfree(void *ptr, size_t nelem, size_t elsize)
-version SUNW_1.1
-binding nodirect
-end
-
-function free
-include <stdlib.h>
-declaration void free(void *ptr)
-version SUNW_1.1
-binding nodirect
-end
-
-function mallinfo
-include <malloc.h>
-declaration struct mallinfo mallinfo(void)
-version SUNW_1.1
-binding nodirect
-end
-
-function malloc
-include <stdlib.h>
-declaration void *malloc(size_t size)
-version SUNW_1.1
-binding nodirect
-end
-
-function mallopt
-include <malloc.h>
-declaration int mallopt(int cmd, int value)
-version SUNW_1.1
-binding nodirect
-end
-
-function memalign
-include <stdlib.h>
-declaration void *memalign(size_t alignment, size_t size)
-version SUNW_1.1
-binding nodirect
-end
-
-function realloc
-include <stdlib.h>
-declaration void *realloc(void *ptr, size_t size)
-version SUNW_1.1
-binding nodirect
-end
-
-function valloc
-include <stdlib.h>
-declaration void *valloc(size_t size)
-version SUNW_1.1
-binding nodirect
-end
diff --git a/usr/src/lib/wrsm/Makefile.com b/usr/src/lib/wrsm/Makefile.com
index b3ad184440..e926e87505 100644
--- a/usr/src/lib/wrsm/Makefile.com
+++ b/usr/src/lib/wrsm/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,7 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
@@ -51,7 +50,8 @@ RSMLINKSUNFIRE15K64 = $(RSMLIBSUNFIRE15K64)/$(LIBLINKS)
RSMLINKREL64 = ../../../../SUNW,Sun-Fire/lib/rsmlib/$(MACH64)/$(LIBLINKS)$(VERS)
RSMLINKS64= $(RSMLINKSUNFIRE15K64)
-SRCDIR = ..
+# There should be a mapfile here
+MAPFILES =
LIBS = $(DYNLIB)
SRCS = $(SRCDIR)/librsmwrsm.c $(SRCDIR)/wrsmlib.s
diff --git a/usr/src/stand/lib/Makefile.com b/usr/src/stand/lib/Makefile.com
index 8229b48949..4449d7ac78 100644
--- a/usr/src/stand/lib/Makefile.com
+++ b/usr/src/stand/lib/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,11 +19,13 @@
# CDDL HEADER END
#
#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
-#
+#
# ident "%Z%%M% %I% %E% SMI"
#
+
+#
# Common macro definitions and pattern rules for stand libraries.
# Basically just a trivial wrapper around $(SRC)/lib/Makefile.lib.
#
@@ -32,6 +33,7 @@
include $(SRC)/lib/Makefile.lib
include $(SRC)/stand/lib/Makefile.$(MACH)
+SRCDIR = .
LIBS += $(LIBRARY) $(LINTLIB)
CFLAGS += $(CCVERBOSE)
LDFLAGS = -r
diff --git a/usr/src/tools/findunref/exception_list b/usr/src/tools/findunref/exception_list
index 673ff8b4f0..8240de7ad7 100644
--- a/usr/src/tools/findunref/exception_list
+++ b/usr/src/tools/findunref/exception_list
@@ -130,8 +130,8 @@
./src/lib/gss_mechs/mech_dh/dh1024/mapfile-vers
./src/lib/gss_mechs/mech_dh/dh192/mapfile-vers
./src/lib/gss_mechs/mech_dh/dh640/mapfile-vers
-./src/lib/gss_mechs/mech_krb5/spec/krb5_clean.spec
-./src/lib/gss_mechs/mech_spnego/spec/clean.spec
+./src/lib/gss_mechs/mech_krb5/mapfile-vers-clean
+./src/lib/gss_mechs/mech_spnego/mapfile-vers-clean
./src/lib/pkcs11/pkcs11_softtoken/common/Makefile
./src/uts/common/Makefile
./src/uts/common/crypto/io/Makefile
diff --git a/usr/src/tools/tokenize/Makefile b/usr/src/tools/tokenize/Makefile
index 433574d652..976939c4f1 100644
--- a/usr/src/tools/tokenize/Makefile
+++ b/usr/src/tools/tokenize/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,7 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 1998-2003 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
@@ -40,6 +39,8 @@ include ../Makefile.tools
LIBS = $(DYNLIB)
+MAPFILES =
+
DYNFLAGS += -z interpose
LDLIBS = -lc -ldl
diff --git a/usr/src/ucblib/libcurses/Makefile b/usr/src/ucblib/libcurses/Makefile
index 53f9d7d216..e672661b7d 100644
--- a/usr/src/ucblib/libcurses/Makefile
+++ b/usr/src/ucblib/libcurses/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,17 +19,16 @@
# CDDL HEADER END
#
#
-# Copyright 1989-2002 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# The builds occur in ISA subdirectories.
-#
include ../Makefile.ucb
-SUBDIRS = spec .WAIT $(MACH) $(BUILD64) $(MACH64)
+SUBDIRS = $(MACH)
+$(BUILD64)SUBDIRS += $(MACH64)
# conditional assignments
install := TARGET= install
@@ -42,7 +40,7 @@ lint := TARGET= lint
all install clean clobber lint: $(SUBDIRS)
-$(MACH) $(MACH64) spec: FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
diff --git a/usr/src/ucblib/libcurses/Makefile.com b/usr/src/ucblib/libcurses/Makefile.com
index 58f1fb012a..6172001c28 100644
--- a/usr/src/ucblib/libcurses/Makefile.com
+++ b/usr/src/ucblib/libcurses/Makefile.com
@@ -1,11 +1,29 @@
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# ucblib/libcurses/Makefile.com
-#
LIBRARY= libcurses.a
VERS= .1
@@ -58,9 +76,6 @@ include $(SRC)/lib/Makefile.lib
ROOTLIBDIR= $(ROOT)/usr/ucblib
ROOTLIBDIR64= $(ROOT)/usr/ucblib/$(MACH64)
-MAPFILE= $(MAPDIR)/mapfile
-SRCS= $(OBJECTS:%.o=../%.c)
-
LIBS = $(DYNLIB) $(LINTLIB)
LINTSRC= $(LINTLIB:%.ln=%)
@@ -80,8 +95,8 @@ $(LINTLIB):= SRCS=../llib-lcurses
CFLAGS += $(CCVERBOSE)
CFLAGS64 += $(CCVERBOSE)
DYNFLAGS +=
-DYNFLAGS32 = -M$(MAPFILE) -R/usr/ucblib
-DYNFLAGS64 = -M$(MAPFILE) -R/usr/ucblib/$(MACH64)
+DYNFLAGS32 = -R/usr/ucblib
+DYNFLAGS64 = -R/usr/ucblib/$(MACH64)
LDLIBS += -ltermcap -lucb -lc
CPPFLAGS = -I$(ROOT)/usr/ucbinclude -I../../../lib/libc/inc $(CPPFLAGS.master)
@@ -92,11 +107,6 @@ all: $(LIBS)
lint: lintcheck
-$(DYNLIB): $(MAPFILE)
-
-$(MAPFILE):
- @cd $(MAPDIR); $(MAKE) mapfile
-
#
# Include library targets
#
diff --git a/usr/src/ucblib/libcurses/amd64/Makefile b/usr/src/ucblib/libcurses/amd64/Makefile
index 55925aa48f..121bc4c173 100644
--- a/usr/src/ucblib/libcurses/amd64/Makefile
+++ b/usr/src/ucblib/libcurses/amd64/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,13 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-MAPDIR= ../spec/amd64
include ../Makefile.com
include ../../../lib/Makefile.lib.64
diff --git a/usr/src/ucblib/libcurses/i386/Makefile b/usr/src/ucblib/libcurses/i386/Makefile
index 9557263181..7ec09c4a9c 100644
--- a/usr/src/ucblib/libcurses/i386/Makefile
+++ b/usr/src/ucblib/libcurses/i386/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# ucblib/libcurses/i386/Makefile
-MAPDIR= ../spec/i386
include ../Makefile.com
DYNFLAGS += $(DYNFLAGS32)
diff --git a/usr/src/ucblib/libcurses/mapfile-vers b/usr/src/ucblib/libcurses/mapfile-vers
new file mode 100644
index 0000000000..8acfa2d663
--- /dev/null
+++ b/usr/src/ucblib/libcurses/mapfile-vers
@@ -0,0 +1,181 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNW_1.1 {
+ global:
+ AL;
+ AL_PARM;
+ AM;
+ BC;
+ box;
+ BS;
+ BT;
+ CA;
+ CD;
+ CE;
+ CL;
+ CM;
+ COLS;
+ CR;
+ CS;
+ curscr;
+ DA;
+ DB;
+ DC;
+ Def_term;
+ delwin;
+ DL;
+ DL_PARM;
+ DM;
+ DO;
+ DOWN_PARM;
+ _echoit;
+ ED;
+ EI;
+ endwin;
+ _endwin;
+ EO;
+ getcap;
+ gettmode;
+ GT;
+ HC;
+ HO;
+ HZ;
+ IC;
+ idlok;
+ IM;
+ IN;
+ initscr;
+ IP;
+ K0;
+ K1;
+ K2;
+ K3;
+ K4;
+ K5;
+ K6;
+ K7;
+ K8;
+ K9;
+ KD;
+ KE;
+ KH;
+ KL;
+ KR;
+ KS;
+ KU;
+ LEFT_PARM;
+ LINES;
+ LL;
+ longname;
+ MA;
+ MI;
+ MS;
+ mvcur;
+ mvprintw;
+ mvscanw;
+ mvwin;
+ mvwprintw;
+ mvwscanw;
+ My_term;
+ NC;
+ ND;
+ newwin;
+ NL;
+ NONL;
+ normtty;
+ NS;
+ OS;
+ overlay;
+ overwrite;
+ PC;
+ _pfast;
+ printw;
+ _rawmode;
+ RC;
+ _res_flg;
+ RIGHT_PARM;
+ SC;
+ scanw;
+ scroll;
+ SE;
+ setterm;
+ SF;
+ SO;
+ SR;
+ stdscr;
+ subwin;
+ TA;
+ TE;
+ TI;
+ touchline;
+ touchwin;
+ _tty;
+ _tty_ch;
+ ttytype;
+ UC;
+ UE;
+ UL;
+ _unctrl;
+ UP;
+ UP_PARM;
+ UPPERCASE;
+ US;
+ VB;
+ VE;
+ VS;
+ waddch;
+ waddstr;
+ wclear;
+ wclrtobot;
+ wclrtoeol;
+ wdelch;
+ wdeleteln;
+ werase;
+ wgetch;
+ wgetstr;
+ winsch;
+ winsertln;
+ wmove;
+ wprintw;
+ wrefresh;
+ wscanw;
+ wstandend;
+ wstandout;
+ XB;
+ XN;
+ XS;
+ XT;
+ XX;
+};
+
+SUNWprivate_1.1 {
+ global:
+ _putchar;
+ local:
+ *;
+};
diff --git a/usr/src/ucblib/libcurses/sparc/Makefile b/usr/src/ucblib/libcurses/sparc/Makefile
index 35bd270df4..d88f114405 100644
--- a/usr/src/ucblib/libcurses/sparc/Makefile
+++ b/usr/src/ucblib/libcurses/sparc/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright 1997-2003 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# ucblib/libcurses/sparc/Makefile
-MAPDIR= ../spec/sparc
include ../Makefile.com
DYNFLAGS += $(DYNFLAGS32)
diff --git a/usr/src/ucblib/libcurses/sparcv9/Makefile b/usr/src/ucblib/libcurses/sparcv9/Makefile
index 890b579237..121bc4c173 100644
--- a/usr/src/ucblib/libcurses/sparcv9/Makefile
+++ b/usr/src/ucblib/libcurses/sparcv9/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-#pragma ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
-# ucblib/libcurses/sparcv9/Makefile
-MAPDIR= ../spec/sparcv9
include ../Makefile.com
include ../../../lib/Makefile.lib.64
diff --git a/usr/src/ucblib/libcurses/spec/Makefile b/usr/src/ucblib/libcurses/spec/Makefile
deleted file mode 100644
index bc7d0b29c6..0000000000
--- a/usr/src/ucblib/libcurses/spec/Makefile
+++ /dev/null
@@ -1,30 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# ucblib/libcurses/spec/Makefile
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/ucblib/libcurses/spec/Makefile.override b/usr/src/ucblib/libcurses/spec/Makefile.override
deleted file mode 100644
index 55d9f1c59c..0000000000
--- a/usr/src/ucblib/libcurses/spec/Makefile.override
+++ /dev/null
@@ -1,29 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-
-CPPFLAGS= -D$(MACH) -I$(ROOT)/usr/ucbinclude $(CPPFLAGS.master)
diff --git a/usr/src/ucblib/libcurses/spec/Makefile.targ b/usr/src/ucblib/libcurses/spec/Makefile.targ
deleted file mode 100644
index c69ad3c34a..0000000000
--- a/usr/src/ucblib/libcurses/spec/Makefile.targ
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# ucblib/libcurses/spec/Makefile.targ
-
-LIBRARY = libcurses.a
-VERS = .1
-
-OBJECTS = curses.o
-
-TRANSCPP =
-SPECCPP = -I$(ROOT)/usr/ucbinclude
diff --git a/usr/src/ucblib/libcurses/spec/amd64/Makefile b/usr/src/ucblib/libcurses/spec/amd64/Makefile
deleted file mode 100644
index 9207eb9774..0000000000
--- a/usr/src/ucblib/libcurses/spec/amd64/Makefile
+++ /dev/null
@@ -1,43 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#amd64_C_PICFLAGS = $(amd64_C_BIGPICFLAGS)
-
-include $(SRC)/lib/Makefile.spec
-include ../Makefile.override
-
-install: $(UCBLIB_ABILIB64)
diff --git a/usr/src/ucblib/libcurses/spec/curses.spec b/usr/src/ucblib/libcurses/spec/curses.spec
deleted file mode 100644
index 4f1a09301e..0000000000
--- a/usr/src/ucblib/libcurses/spec/curses.spec
+++ /dev/null
@@ -1,694 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-
-function initscr
-include <curses.h>
-declaration WINDOW *initscr(void)
-version SUNW_1.1
-end
-
-function newwin
-include <curses.h>
-declaration WINDOW *newwin(int nlines, int ncols, int begin_y, int begin_x)
-version SUNW_1.1
-end
-
-function subwin
-include <curses.h>
-declaration WINDOW *subwin(WINDOW *orig, int nlines, int ncols, \
- int begin_y, int begin_x)
-version SUNW_1.1
-end
-
-function longname
-include <curses.h>
-declaration char *longname(char *bp, char *def)
-version SUNW_1.1
-end
-
-function getcap
-include <curses.h>
-declaration char *getcap(char *name)
-version SUNW_1.1
-end
-
-function gettmode
-include <curses.h>
-declaration int gettmode(void)
-version SUNW_1.1
-end
-
-function idlok
-include <curses.h>
-declaration int idlok(WINDOW *win, bool bf)
-version SUNW_1.1
-end
-
-function wstandout
-include <curses.h>
-declaration char *wstandout(WINDOW *win)
-version SUNW_1.1
-end
-
-function wstandend
-include <curses.h>
-declaration char *wstandend(WINDOW *win)
-version SUNW_1.1
-end
-
-function box
-include <curses.h>
-declaration int box(WINDOW *win, char vert, char hor)
-version SUNW_1.1
-end
-
-function touchwin
-include <curses.h>
-declaration int touchwin(WINDOW *win)
-version SUNW_1.1
-end
-
-function touchline
-include <curses.h>
-declaration int touchline(WINDOW *win, int y, int sx, int ex)
-version SUNW_1.1
-end
-
-function mvcur
-include <curses.h>
-declaration int mvcur(int ly, int lx, int y, int x)
-version SUNW_1.1
-end
-
-function wmove
-include <curses.h>
-declaration int wmove(WINDOW *win, int y, int x)
-version SUNW_1.1
-end
-
-function scroll
-include <curses.h>
-declaration int scroll(WINDOW *win)
-version SUNW_1.1
-end
-
-function werase
-include <curses.h>
-declaration int werase(WINDOW *win)
-version SUNW_1.1
-end
-
-function wrefresh
-include <curses.h>
-declaration int wrefresh(WINDOW *win)
-version SUNW_1.1
-end
-
-function endwin
-include <curses.h>
-declaration int endwin(void)
-version SUNW_1.1
-end
-
-function mvwin
-include <curses.h>
-declaration int mvwin(WINDOW *win, int by, int bx)
-version SUNW_1.1
-end
-
-function delwin
-include <curses.h>
-declaration int delwin(WINDOW *win)
-version SUNW_1.1
-end
-
-function overlay
-include <curses.h>
-declaration int overlay(WINDOW *win1, WINDOW *win2)
-version SUNW_1.1
-end
-
-function overwrite
-include <curses.h>
-declaration int overwrite(WINDOW *win1, WINDOW *win2)
-version SUNW_1.1
-end
-
-function winsertln
-include <curses.h>
-declaration int winsertln(WINDOW *win)
-version SUNW_1.1
-end
-
-function wdeleteln
-include <curses.h>
-declaration int wdeleteln(WINDOW *win)
-version SUNW_1.1
-end
-
-function wgetstr
-include <curses.h>
-declaration int wgetstr(WINDOW *win, char *str)
-version SUNW_1.1
-end
-
-function wgetch
-include <curses.h>
-declaration int wgetch(WINDOW *win)
-version SUNW_1.1
-end
-
-function waddch
-include <curses.h>
-declaration int waddch(WINDOW *win, char c)
-version SUNW_1.1
-end
-
-function waddstr
-include <curses.h>
-declaration int waddstr(WINDOW *win, char *str)
-version SUNW_1.1
-end
-
-function winsch
-include <curses.h>
-declaration int winsch(WINDOW *win, char c)
-version SUNW_1.1
-end
-
-function wdelch
-include <curses.h>
-declaration int wdelch(WINDOW *win)
-version SUNW_1.1
-end
-
-function wclear
-include <curses.h>
-declaration int wclear(WINDOW *win)
-version SUNW_1.1
-end
-
-function wclrtobot
-include <curses.h>
-declaration int wclrtobot(WINDOW *win)
-version SUNW_1.1
-end
-
-function wclrtoeol
-include <curses.h>
-declaration int wclrtoeol(WINDOW *win)
-version SUNW_1.1
-end
-
-function printw
-include <curses.h>
-declaration int printw(char *fmt, ...)
-version SUNW_1.1
-end
-
-function wprintw
-include <curses.h>
-declaration int wprintw(WINDOW *win, char *fmt, ...)
-version SUNW_1.1
-end
-
-function mvprintw
-include <curses.h>
-declaration int mvprintw(int y, int x, char *fmt, ...)
-version SUNW_1.1
-end
-
-function mvwprintw
-include <curses.h>
-declaration int mvwprintw(WINDOW *win, int y, int x, char *fmt, ...)
-version SUNW_1.1
-end
-
-function scanw
-include <curses.h>
-declaration int scanw(char *fmt, ...)
-version SUNW_1.1
-end
-
-function wscanw
-include <curses.h>
-declaration int wscanw(WINDOW *win, char *fmt, ...)
-version SUNW_1.1
-end
-
-function mvscanw
-include <curses.h>
-declaration int mvscanw(int y, int x, char *fmt, ...)
-version SUNW_1.1
-end
-
-function mvwscanw
-include <curses.h>
-declaration int mvwscanw(WINDOW *win, int y, int x, char *fmt, ...)
-version SUNW_1.1
-end
-
-function setterm
-include <curses.h>
-declaration int setterm(char *type)
-version SUNW_1.1
-end
-
-data _unctrl
-version SUNW_1.1
-end
-
-data My_term
-version SUNW_1.1
-end
-
-data _echoit
-version SUNW_1.1
-end
-
-data _rawmode
-version SUNW_1.1
-end
-
-data _endwin
-version SUNW_1.1
-end
-
-data LINES
-version SUNW_1.1
-end
-
-data COLS
-version SUNW_1.1
-end
-
-data _tty_ch
-version SUNW_1.1
-end
-
-data _res_flg
-version SUNW_1.1
-end
-
-data _tty
-version SUNW_1.1
-end
-
-data stdscr
-version SUNW_1.1
-end
-
-data curscr
-version SUNW_1.1
-end
-
-data Def_term
-version SUNW_1.1
-end
-
-data ttytype
-version SUNW_1.1
-end
-
-# termcap capabilities (bool)
-data AM
-version SUNW_1.1
-end
-
-data BS
-version SUNW_1.1
-end
-
-data CA
-version SUNW_1.1
-end
-
-data DA
-version SUNW_1.1
-end
-
-data DB
-version SUNW_1.1
-end
-
-data EO
-version SUNW_1.1
-end
-
-data HC
-version SUNW_1.1
-end
-
-data HZ
-version SUNW_1.1
-end
-
-data IN
-version SUNW_1.1
-end
-
-data MI
-version SUNW_1.1
-end
-
-data MS
-version SUNW_1.1
-end
-
-data NC
-version SUNW_1.1
-end
-
-data NS
-version SUNW_1.1
-end
-
-data OS
-version SUNW_1.1
-end
-
-data UL
-version SUNW_1.1
-end
-
-data XB
-version SUNW_1.1
-end
-
-data XN
-version SUNW_1.1
-end
-
-data XT
-version SUNW_1.1
-end
-
-data XS
-version SUNW_1.1
-end
-
-data XX
-version SUNW_1.1
-end
-
-# termcap capabilities (char *)
-data AL
-version SUNW_1.1
-end
-
-data BC
-version SUNW_1.1
-end
-
-data BT
-version SUNW_1.1
-end
-
-data CD
-version SUNW_1.1
-end
-
-data CE
-version SUNW_1.1
-end
-
-data CL
-version SUNW_1.1
-end
-
-data CM
-version SUNW_1.1
-end
-
-data CR
-version SUNW_1.1
-end
-
-data CS
-version SUNW_1.1
-end
-
-data DC
-version SUNW_1.1
-end
-
-data DL
-version SUNW_1.1
-end
-
-data DM
-version SUNW_1.1
-end
-
-data DO
-version SUNW_1.1
-end
-
-data ED
-version SUNW_1.1
-end
-
-data EI
-version SUNW_1.1
-end
-
-data K0
-version SUNW_1.1
-end
-
-data K1
-version SUNW_1.1
-end
-
-data K2
-version SUNW_1.1
-end
-
-data K3
-version SUNW_1.1
-end
-
-data K4
-version SUNW_1.1
-end
-
-data K5
-version SUNW_1.1
-end
-
-data K6
-version SUNW_1.1
-end
-
-data K7
-version SUNW_1.1
-end
-
-data K8
-version SUNW_1.1
-end
-
-data K9
-version SUNW_1.1
-end
-
-data HO
-version SUNW_1.1
-end
-
-data IC
-version SUNW_1.1
-end
-
-data IM
-version SUNW_1.1
-end
-
-data IP
-version SUNW_1.1
-end
-
-data KD
-version SUNW_1.1
-end
-
-data KE
-version SUNW_1.1
-end
-
-data KH
-version SUNW_1.1
-end
-
-data KL
-version SUNW_1.1
-end
-
-data KR
-version SUNW_1.1
-end
-
-data KS
-version SUNW_1.1
-end
-
-data KU
-version SUNW_1.1
-end
-
-data LL
-version SUNW_1.1
-end
-
-data MA
-version SUNW_1.1
-end
-
-data ND
-version SUNW_1.1
-end
-
-data NL
-version SUNW_1.1
-end
-
-data RC
-version SUNW_1.1
-end
-
-data SC
-version SUNW_1.1
-end
-
-data SE
-version SUNW_1.1
-end
-
-data SF
-version SUNW_1.1
-end
-
-data SO
-version SUNW_1.1
-end
-
-data SR
-version SUNW_1.1
-end
-
-data TA
-version SUNW_1.1
-end
-
-data TE
-version SUNW_1.1
-end
-
-data TI
-version SUNW_1.1
-end
-
-data UC
-version SUNW_1.1
-end
-
-data UE
-version SUNW_1.1
-end
-
-data UP
-version SUNW_1.1
-end
-
-data US
-version SUNW_1.1
-end
-
-data VB
-version SUNW_1.1
-end
-
-data VS
-version SUNW_1.1
-end
-
-data VE
-version SUNW_1.1
-end
-
-data AL_PARM
-version SUNW_1.1
-end
-
-data DL_PARM
-version SUNW_1.1
-end
-
-data UP_PARM
-version SUNW_1.1
-end
-
-data DOWN_PARM
-version SUNW_1.1
-end
-
-data LEFT_PARM
-version SUNW_1.1
-end
-
-data RIGHT_PARM
-version SUNW_1.1
-end
-
-data PC
-version SUNW_1.1
-end
-
-# for tty modes
-data GT
-version SUNW_1.1
-end
-
-data NONL
-version SUNW_1.1
-end
-
-data UPPERCASE
-version SUNW_1.1
-end
-
-data normtty
-version SUNW_1.1
-end
-
-data _pfast
-version SUNW_1.1
-end
-
-function _putchar
-version SUNWprivate_1.1
-end
diff --git a/usr/src/ucblib/libcurses/spec/i386/Makefile b/usr/src/ucblib/libcurses/spec/i386/Makefile
deleted file mode 100644
index c9523cfe53..0000000000
--- a/usr/src/ucblib/libcurses/spec/i386/Makefile
+++ /dev/null
@@ -1,43 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# ucblib/libcurses/spec/i386/Makefile
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#i386_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-include ../Makefile.override
-
-install: $(UCBLIB_ABILIB)
diff --git a/usr/src/ucblib/libcurses/spec/sparc/Makefile b/usr/src/ucblib/libcurses/spec/sparc/Makefile
deleted file mode 100644
index 289ddb4ed3..0000000000
--- a/usr/src/ucblib/libcurses/spec/sparc/Makefile
+++ /dev/null
@@ -1,45 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# ucblib/libcurses/spec/sparc/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#sparc_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-include ../Makefile.override
-
-install: $(UCBLIB_ABILIB)
diff --git a/usr/src/ucblib/libcurses/spec/sparcv9/Makefile b/usr/src/ucblib/libcurses/spec/sparcv9/Makefile
deleted file mode 100644
index 52128c2902..0000000000
--- a/usr/src/ucblib/libcurses/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# ucblib/libcurses/spec/sparcv9/Makefile
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#sparcv9_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-include ../Makefile.override
-
-install: $(UCBLIB_ABILIB64)
diff --git a/usr/src/ucblib/libcurses/spec/versions b/usr/src/ucblib/libcurses/spec/versions
deleted file mode 100644
index 38a2cfc77a..0000000000
--- a/usr/src/ucblib/libcurses/spec/versions
+++ /dev/null
@@ -1,43 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-sparc {
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-sparcv9 {
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-i386 {
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-amd64 {
- SUNW_1.1;
- SUNWprivate_1.1;
-}
diff --git a/usr/src/ucblib/libdbm/Makefile b/usr/src/ucblib/libdbm/Makefile
index 8c94a6bcb1..eeb42a40c4 100644
--- a/usr/src/ucblib/libdbm/Makefile
+++ b/usr/src/ucblib/libdbm/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,17 +19,16 @@
# CDDL HEADER END
#
#
-# Copyright 1989-1999, 2002 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# The builds occur in isa subdirectories.
-#
include ../Makefile.ucb
-SUBDIRS = spec .WAIT $(MACH) $(BUILD64) $(MACH64)
+SUBDIRS = $(MACH)
+$(BUILD64)SUBDIRS += $(MACH64)
install := TARGET= install
clean := TARGET= clean
@@ -41,7 +39,7 @@ lint := TARGET= lint
all install clean clobber lint : $(SUBDIRS)
-$(MACH) $(MACH64) spec: FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
diff --git a/usr/src/ucblib/libdbm/Makefile.com b/usr/src/ucblib/libdbm/Makefile.com
index ac659af6d6..18157757c9 100644
--- a/usr/src/ucblib/libdbm/Makefile.com
+++ b/usr/src/ucblib/libdbm/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,13 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# ucblib/libdbm/Makefile.com
-#
LIBRARY= libdbm.a
VERS= .1
@@ -39,10 +36,6 @@ include $(SRC)/lib/Makefile.lib
ROOTLIBDIR= $(ROOT)/usr/ucblib
ROOTLIBDIR64= $(ROOT)/usr/ucblib/$(MACH64)
-MAPFILE= $(MAPDIR)/mapfile
-CLOBBERFILES += $(MAPFILE)
-SRCS= $(OBJECTS:%.o=../%.c)
-
LIBS = $(DYNLIB) $(LINTLIB)
LINTSRC= $(LINTLIB:%.ln=%)
@@ -60,7 +53,6 @@ $(ROOTLINTDIR64)/%: ../%
$(LINTLIB):= SRCS=../llib-ldbm
CFLAGS += $(CCVERBOSE)
-DYNFLAGS += -M$(MAPFILE)
LDLIBS += -lc
CPPFLAGS = -I$(ROOT)/usr/ucbinclude $(CPPFLAGS.master)
@@ -71,11 +63,6 @@ all: $(LIBS)
lint: lintcheck
-$(DYNLIB): $(MAPFILE)
-
-$(MAPFILE):
- @cd $(MAPDIR); $(MAKE) mapfile
-
#
# Include library targets
#
diff --git a/usr/src/ucblib/libdbm/amd64/Makefile b/usr/src/ucblib/libdbm/amd64/Makefile
index 15a2c25314..5b91d3c694 100644
--- a/usr/src/ucblib/libdbm/amd64/Makefile
+++ b/usr/src/ucblib/libdbm/amd64/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,13 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-MAPDIR= ../spec/amd64
include ../Makefile.com
include ../../../lib/Makefile.lib.64
diff --git a/usr/src/ucblib/libdbm/i386/Makefile b/usr/src/ucblib/libdbm/i386/Makefile
index cf1a8db8ea..e2080593d5 100644
--- a/usr/src/ucblib/libdbm/i386/Makefile
+++ b/usr/src/ucblib/libdbm/i386/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# ucblib/libdbm/i386/Makefile
-MAPDIR= ../spec/i386
include ../Makefile.com
BUILD.SO= $(CC) -o $@ $(GSHARED) $(DYNFLAGS) $(PICS) -L $(ROOT)/usr/ucblib $(LDLIBS)
diff --git a/usr/src/ucblib/libdbm/mapfile-vers b/usr/src/ucblib/libdbm/mapfile-vers
new file mode 100644
index 0000000000..1bed2b5763
--- /dev/null
+++ b/usr/src/ucblib/libdbm/mapfile-vers
@@ -0,0 +1,55 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNW_1.1 {
+ global:
+ bitno;
+ blkno;
+ dbmclose;
+ dbminit;
+ dbrdonly;
+ delete;
+ dirbuf;
+ dirf;
+ fetch;
+ firstkey;
+ hmask;
+ maxbno;
+ nextkey;
+ pagbuf;
+ pagf;
+ store;
+};
+
+SUNWprivate_1.1 {
+ global:
+ calchash;
+ hashinc;
+ makdatum;
+ local:
+ *;
+};
diff --git a/usr/src/ucblib/libdbm/sparc/Makefile b/usr/src/ucblib/libdbm/sparc/Makefile
index 1e40791671..e2a26e9aea 100644
--- a/usr/src/ucblib/libdbm/sparc/Makefile
+++ b/usr/src/ucblib/libdbm/sparc/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright 1997-2003 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# ucblib/libdbm/sparc/Makefile
-MAPDIR= ../spec/sparc
include ../Makefile.com
BUILD.SO= $(CC) -o $@ -G $(DYNFLAGS) $(PICS) -L $(ROOT)/usr/ucblib $(LDLIBS)
diff --git a/usr/src/ucblib/libdbm/sparcv9/Makefile b/usr/src/ucblib/libdbm/sparcv9/Makefile
index 81ff39f279..5b91d3c694 100644
--- a/usr/src/ucblib/libdbm/sparcv9/Makefile
+++ b/usr/src/ucblib/libdbm/sparcv9/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
-# ucblib/libdbm/sparcv9/Makefile
-MAPDIR= ../spec/sparcv9
include ../Makefile.com
include ../../../lib/Makefile.lib.64
diff --git a/usr/src/ucblib/libdbm/spec/Makefile b/usr/src/ucblib/libdbm/spec/Makefile
deleted file mode 100644
index f118e481cd..0000000000
--- a/usr/src/ucblib/libdbm/spec/Makefile
+++ /dev/null
@@ -1,30 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# ucblib/libdbm/spec/Makefile
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/ucblib/libdbm/spec/Makefile.targ b/usr/src/ucblib/libdbm/spec/Makefile.targ
deleted file mode 100644
index 6c412cdff2..0000000000
--- a/usr/src/ucblib/libdbm/spec/Makefile.targ
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# ucblib/libdbm/spec/Makefile.targ
-
-LIBRARY = libdbm.a
-VERS = .1
-
-OBJECTS = dbm.o
-
-TRANSCPP =
-SPECCPP = -I$(ROOT)/usr/ucbinclude
diff --git a/usr/src/ucblib/libdbm/spec/amd64/Makefile b/usr/src/ucblib/libdbm/spec/amd64/Makefile
deleted file mode 100644
index 6beb38aa0f..0000000000
--- a/usr/src/ucblib/libdbm/spec/amd64/Makefile
+++ /dev/null
@@ -1,42 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#amd64_C_PICFLAGS = $(amd64_C_BIGPICFLAGS)
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(UCBLIB_ABILIB64)
diff --git a/usr/src/ucblib/libdbm/spec/dbm.spec b/usr/src/ucblib/libdbm/spec/dbm.spec
deleted file mode 100644
index 8d19c7c51a..0000000000
--- a/usr/src/ucblib/libdbm/spec/dbm.spec
+++ /dev/null
@@ -1,128 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# ucblib/libdbm/spec/dbm.spec
-
-function delete
-include <dbm.h>
-declaration int delete(datum key)
-version SUNW_1.1
-exception $return < 0
-end
-
-function firstkey
-include <dbm.h>
-declaration datum firstkey(void)
-version SUNW_1.1
-exception $return.dptr == 0
-end
-
-function nextkey
-include <dbm.h>
-declaration datum nextkey(datum key)
-version SUNW_1.1
-exception $return.dptr == 0
-end
-
-function dbminit
-include <dbm.h>
-declaration int dbminit(char *file)
-version SUNW_1.1
-exception $return < 0
-end
-
-function dbmclose
-include <dbm.h>
-declaration int dbmclose(void)
-version SUNW_1.1
-exception $return < 0
-end
-
-function fetch
-include <dbm.h>
-declaration datum fetch(datum key)
-version SUNW_1.1
-exception $return.dptr == 0
-end
-
-function store
-include <dbm.h>
-declaration datum store(datum key, datum dat)
-version SUNW_1.1
-exception $return.dptr == 0
-end
-
-data bitno
-version SUNW_1.1
-end
-
-data blkno
-version SUNW_1.1
-end
-
-function calchash
-declaration long calchash(datum dat)
-version SUNWprivate_1.1
-end
-
-data dbrdonly
-version SUNW_1.1
-end
-
-data dirbuf
-version SUNW_1.1
-end
-
-data dirf
-version SUNW_1.1
-end
-
-function hashinc
-declaration long hashinc(long h)
-version SUNWprivate_1.1
-end
-
-data hmask
-version SUNW_1.1
-end
-
-function makdatum
-declaration datum makdatum(char *s, int l)
-version SUNWprivate_1.1
-end
-
-data pagbuf
-version SUNW_1.1
-end
-
-data pagf
-version SUNW_1.1
-end
-
-data maxbno
-version SUNW_1.1
-end
-
diff --git a/usr/src/ucblib/libdbm/spec/i386/Makefile b/usr/src/ucblib/libdbm/spec/i386/Makefile
deleted file mode 100644
index 826dad2e4b..0000000000
--- a/usr/src/ucblib/libdbm/spec/i386/Makefile
+++ /dev/null
@@ -1,42 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# ucblib/libdbm/spec/i386/Makefile
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#i386_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(UCBLIB_ABILIB)
diff --git a/usr/src/ucblib/libdbm/spec/sparc/Makefile b/usr/src/ucblib/libdbm/spec/sparc/Makefile
deleted file mode 100644
index c07b49c229..0000000000
--- a/usr/src/ucblib/libdbm/spec/sparc/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# /ucblib/libdbm/spec/sparc/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#sparc_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(UCBLIB_ABILIB)
diff --git a/usr/src/ucblib/libdbm/spec/sparcv9/Makefile b/usr/src/ucblib/libdbm/spec/sparcv9/Makefile
deleted file mode 100644
index e42e96a0ab..0000000000
--- a/usr/src/ucblib/libdbm/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,43 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# ucblib/libdbm/spec/sparcv9/Makefile
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#sparcv9_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(UCBLIB_ABILIB64)
diff --git a/usr/src/ucblib/libdbm/spec/versions b/usr/src/ucblib/libdbm/spec/versions
deleted file mode 100644
index 38a2cfc77a..0000000000
--- a/usr/src/ucblib/libdbm/spec/versions
+++ /dev/null
@@ -1,43 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-sparc {
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-sparcv9 {
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-i386 {
- SUNW_1.1;
- SUNWprivate_1.1;
-}
-amd64 {
- SUNW_1.1;
- SUNWprivate_1.1;
-}
diff --git a/usr/src/ucblib/librpcsoc/Makefile b/usr/src/ucblib/librpcsoc/Makefile
index d096da99ff..5259b54094 100644
--- a/usr/src/ucblib/librpcsoc/Makefile
+++ b/usr/src/ucblib/librpcsoc/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,24 +19,23 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# ucblib/librpcsoc/Makefile
-#
include $(SRC)/Makefile.master
-SUBDIRS = spec .WAIT $(MACH) $(BUILD64) $(MACH64)
+SUBDIRS = $(MACH)
+$(BUILD64)SUBDIRS += $(MACH64)
# install rule for install_h target
$(ROOTHDRDIR)/%: %
$(INS.file)
#conditional assignments
-all := TARGET=all
+all := TARGET= all
install := TARGET= install
clean := TARGET= clean
clobber := TARGET= clobber
@@ -45,7 +43,7 @@ lint := TARGET= lint
.KEEP_STATE:
-all: .WAIT $(SUBDIRS)
+all: $(SUBDIRS)
install: all .WAIT $(SUBDIRS)
@@ -53,7 +51,7 @@ install_h: $(ROOTHDRS)
clean clobber lint: $(SUBDIRS)
-$(MACH) $(MACH64) spec: FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
diff --git a/usr/src/ucblib/librpcsoc/Makefile.com b/usr/src/ucblib/librpcsoc/Makefile.com
index 574265d24a..b4f8320cad 100644
--- a/usr/src/ucblib/librpcsoc/Makefile.com
+++ b/usr/src/ucblib/librpcsoc/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,13 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# ucblib/librpcsoc/Makefile.com
-#
LIBRARY= librpcsoc.a
VERS = .1
@@ -39,10 +36,6 @@ OBJECTS= clnt_tcp.o clnt_udp.o getrpcport.o rtime.o svc_tcp.o svc_udp.o get_myad
# include library definitions
include $(SRC)/lib/Makefile.lib
-MAPFILE= $(MAPDIR)/mapfile
-CLOBBERFILES += $(MAPFILE)
-SRCS= $(OBJECTS:%.o=../%.c)
-
objs/%.o pics/%.o: ../%.c
$(COMPILE.c) -o $@ $<
$(POST_PROCESS_O)
@@ -51,7 +44,6 @@ LIBS = $(DYNLIB)
LDLIBS += -lnsl -lsocket -lc
CPPFLAGS += -DPORTMAP
-DYNFLAGS += -M $(MAPFILE)
ROOTLIBDIR= $(ROOT)/usr/ucblib
ROOTLIBDIR64= $(ROOT)/usr/ucblib/$(MACH64)
@@ -63,11 +55,6 @@ CPPFLAGS = -I$(ROOT)/usr/ucbinclude -I../../../lib/libc/inc $(CPPFLAGS.master)
.KEEP_STATE:
-$(DYNLIB): $(MAPFILE)
-
-$(MAPFILE):
- @cd $(MAPDIR); $(MAKE) mapfile
-
lint: lintcheck
# include library targets
diff --git a/usr/src/ucblib/librpcsoc/amd64/Makefile b/usr/src/ucblib/librpcsoc/amd64/Makefile
index 306722bed4..57275bc453 100644
--- a/usr/src/ucblib/librpcsoc/amd64/Makefile
+++ b/usr/src/ucblib/librpcsoc/amd64/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,13 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-MAPDIR= ../spec/amd64
include ../Makefile.com
include $(SRC)/lib/Makefile.lib.64
diff --git a/usr/src/ucblib/librpcsoc/i386/Makefile b/usr/src/ucblib/librpcsoc/i386/Makefile
index aff760668d..2912bdb172 100644
--- a/usr/src/ucblib/librpcsoc/i386/Makefile
+++ b/usr/src/ucblib/librpcsoc/i386/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/librpcsoc/i386/Makefile
-MAPDIR= ../spec/i386
include ../Makefile.com
DYNFLAGS += $(DYNFLAGS32)
diff --git a/usr/src/lib/libmd/spec/versions b/usr/src/ucblib/librpcsoc/mapfile-vers
index 5bfbaae1ed..17040f0871 100644
--- a/usr/src/lib/libmd/spec/versions
+++ b/usr/src/ucblib/librpcsoc/mapfile-vers
@@ -1,3 +1,4 @@
+#
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
@@ -22,16 +23,26 @@
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
+#
-sparc {
- SUNW_1.1;
-}
-sparcv9 {
+SUNW_1.1 {
+ global:
SUNW_1.1;
-}
-i386 {
- SUNW_1.1;
-}
-amd64 {
- SUNW_1.1;
-}
+} SUNW_0.7;
+
+SUNW_0.7 {
+ global:
+ clnttcp_create;
+ clntudp_bufcreate;
+ clntudp_create;
+ get_myaddress;
+ getrpcport;
+ rtime;
+ svcfd_create;
+ svctcp_create;
+ svcudp_bufcreate;
+ svcudp_create;
+ svcudp_enablecache;
+ local:
+ *;
+};
diff --git a/usr/src/ucblib/librpcsoc/sparc/Makefile b/usr/src/ucblib/librpcsoc/sparc/Makefile
index 26383e5faf..3dffb149aa 100644
--- a/usr/src/ucblib/librpcsoc/sparc/Makefile
+++ b/usr/src/ucblib/librpcsoc/sparc/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright 1998-2003 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# lib/librpcsoc/sparc/Makefile
-MAPDIR= ../spec/sparc
include ../Makefile.com
DYNFLAGS += $(DYNFLAGS32)
diff --git a/usr/src/ucblib/librpcsoc/sparcv9/Makefile b/usr/src/ucblib/librpcsoc/sparcv9/Makefile
index 87a5c694c2..57275bc453 100644
--- a/usr/src/ucblib/librpcsoc/sparcv9/Makefile
+++ b/usr/src/ucblib/librpcsoc/sparcv9/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# ucblib/librpcsoc/sparcv9/Makefile
-MAPDIR= ../spec/sparcv9
include ../Makefile.com
include $(SRC)/lib/Makefile.lib.64
diff --git a/usr/src/ucblib/librpcsoc/spec/Makefile b/usr/src/ucblib/librpcsoc/spec/Makefile
deleted file mode 100644
index 757104f257..0000000000
--- a/usr/src/ucblib/librpcsoc/spec/Makefile
+++ /dev/null
@@ -1,30 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# ucblib/librpcsoc/spec/Makefile
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/ucblib/librpcsoc/spec/Makefile.targ b/usr/src/ucblib/librpcsoc/spec/Makefile.targ
deleted file mode 100644
index 5f49b2e642..0000000000
--- a/usr/src/ucblib/librpcsoc/spec/Makefile.targ
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# ucblib/librpcsoc/spec/Makefile.targ
-
-LIBRARY = librpcsoc.a
-VERS = .1
-
-OBJECTS = rpcsoc.o
-
-TRANSCPP =
-SPECCPP = -DPORTMAP -I$(ROOT)/usr/ucbinclude
diff --git a/usr/src/ucblib/librpcsoc/spec/amd64/Makefile b/usr/src/ucblib/librpcsoc/spec/amd64/Makefile
deleted file mode 100644
index 6beb38aa0f..0000000000
--- a/usr/src/ucblib/librpcsoc/spec/amd64/Makefile
+++ /dev/null
@@ -1,42 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#amd64_C_PICFLAGS = $(amd64_C_BIGPICFLAGS)
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(UCBLIB_ABILIB64)
diff --git a/usr/src/ucblib/librpcsoc/spec/i386/Makefile b/usr/src/ucblib/librpcsoc/spec/i386/Makefile
deleted file mode 100644
index 9fa2f61309..0000000000
--- a/usr/src/ucblib/librpcsoc/spec/i386/Makefile
+++ /dev/null
@@ -1,42 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# ucblib/librpcsoc/spec/i386/Makefile
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#i386_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(UCBLIB_ABILIB)
diff --git a/usr/src/ucblib/librpcsoc/spec/rpcsoc.spec b/usr/src/ucblib/librpcsoc/spec/rpcsoc.spec
deleted file mode 100644
index e691dc6626..0000000000
--- a/usr/src/ucblib/librpcsoc/spec/rpcsoc.spec
+++ /dev/null
@@ -1,117 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-
-function clnttcp_create
-include <sys/types.h>
-include <rpc/rpc.h>
-declaration CLIENT *clnttcp_create(struct sockaddr_in *raddr, \
- rpcprog_t prog, rpcvers_t vers, \
- int *sockp, uint_t sendsz, uint_t recvsz)
-version SUNW_0.7
-end
-
-function clntudp_bufcreate
-include <sys/types.h>
-include <rpc/rpc.h>
-include <sys/time.h>
-declaration CLIENT *clntudp_bufcreate(struct sockaddr_in *raddr, \
- rpcprog_t program, \
- rpcvers_t version, \
- struct timeval wait, \
- int *sockp, \
- uint_t sendsz, \
- uint_t recvsz)
-version SUNW_0.7
-end
-
-function clntudp_create
-include <sys/types.h>
-include <rpc/rpc.h>
-include <sys/time.h>
-declaration CLIENT *clntudp_create(struct sockaddr_in *raddr, \
- rpcprog_t program, \
- rpcvers_t version, \
- struct timeval wait, \
- int *sockp)
-version SUNW_0.7
-end
-
-function get_myaddress
-include <sys/socket.h>
-declaration void get_myaddress(struct sockaddr_in *addr)
-version SUNW_0.7
-end
-
-function getrpcport
-include <rpc/rpc.h>
-include <sys/socket.h>
-declaration ushort_t getrpcport(char *host, \
- rpcprog_t prognum, \
- rpcvers_t versnum, \
- rpcprot_t proto)
-version SUNW_0.7
-end
-
-function rtime
-include <sys/socket.h>
-include <sys/time.h>
-declaration int rtime(struct sockaddr_in *addrp, \
- struct timeval *timep, struct timeval *timeout)
-version SUNW_0.7
-end
-
-function svcfd_create
-include <rpc/rpc.h>
-declaration SVCXPRT *svcfd_create(int fd, uint_t sendsize, uint_t recvsize)
-version SUNW_0.7
-end
-
-function svctcp_create
-include <rpc/rpc.h>
-declaration SVCXPRT *svctcp_create(int sock, \
- uint_t sendsize, uint_t recvsize)
-version SUNW_0.7
-end
-
-function svcudp_bufcreate
-include <rpc/rpc.h>
-declaration SVCXPRT *svcudp_bufcreate(int sock, \
- uint_t sendsz, uint_t recvsz)
-version SUNW_0.7
-end
-
-function svcudp_create
-include <rpc/rpc.h>
-declaration SVCXPRT *svcudp_create(int sock)
-version SUNW_0.7
-end
-
-function svcudp_enablecache
-include <rpc/rpc.h>
-declaration int svcudp_enablecache(SVCXPRT *transp, uint_t size)
-version SUNW_0.7
-end
diff --git a/usr/src/ucblib/librpcsoc/spec/sparc/Makefile b/usr/src/ucblib/librpcsoc/spec/sparc/Makefile
deleted file mode 100644
index 5f4541d4a8..0000000000
--- a/usr/src/ucblib/librpcsoc/spec/sparc/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# ucblib/librpcsoc/spec/sparc/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#sparc_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(UCBLIB_ABILIB)
diff --git a/usr/src/ucblib/librpcsoc/spec/sparcv9/Makefile b/usr/src/ucblib/librpcsoc/spec/sparcv9/Makefile
deleted file mode 100644
index ec392f306c..0000000000
--- a/usr/src/ucblib/librpcsoc/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,43 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# ucblib/librpcsoc/spec/sparcv9/Makefile
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#sparcv9_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(UCBLIB_ABILIB64)
diff --git a/usr/src/ucblib/librpcsoc/spec/versions b/usr/src/ucblib/librpcsoc/spec/versions
deleted file mode 100644
index d81db16460..0000000000
--- a/usr/src/ucblib/librpcsoc/spec/versions
+++ /dev/null
@@ -1,43 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-sparc {
- SUNW_1.1: {SUNW_0.7};
- SUNW_0.7;
-}
-sparcv9 {
- SUNW_1.1: {SUNW_0.7};
- SUNW_0.7;
-}
-i386 {
- SUNW_1.1: {SUNW_0.7};
- SUNW_0.7;
-}
-amd64 {
- SUNW_1.1: {SUNW_0.7};
- SUNW_0.7;
-}
diff --git a/usr/src/ucblib/libtermcap/Makefile b/usr/src/ucblib/libtermcap/Makefile
index c70d123c17..75b99dde09 100644
--- a/usr/src/ucblib/libtermcap/Makefile
+++ b/usr/src/ucblib/libtermcap/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,19 +19,16 @@
# CDDL HEADER END
#
#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright 1989-1997,2002 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# ucblib/libtermcap/Makefile
-#
-# The builds occur in isa subdirectories.
+# ident "%Z%%M% %I% %E% SMI"
#
include ../Makefile.ucb
-SUBDIRS = spec .WAIT $(MACH) $(BUILD64) $(MACH64)
+SUBDIRS = $(MACH)
+$(BUILD64)SUBDIRS += $(MACH64)
# conditional assignments
install := TARGET= install
@@ -44,7 +40,7 @@ lint := TARGET= lint
all install clean clobber lint : $(SUBDIRS)
-$(MACH) $(MACH64) spec: FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
diff --git a/usr/src/ucblib/libtermcap/Makefile.com b/usr/src/ucblib/libtermcap/Makefile.com
index af6729f0f7..4f98d37dfd 100644
--- a/usr/src/ucblib/libtermcap/Makefile.com
+++ b/usr/src/ucblib/libtermcap/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,13 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# ucblib/libtermcap/Makefile.com
-#
LIBRARY= libtermcap.a
VERS= .1
@@ -41,9 +38,6 @@ include $(SRC)/lib/Makefile.lib
ROOTLIBDIR= $(ROOT)/usr/ucblib
ROOTLIBDIR64= $(ROOT)/usr/ucblib/$(MACH64)
-MAPFILE= $(MAPDIR)/mapfile
-SRCS= $(OBJECTS:%.o=../%.c)
-
LIBS = $(DYNLIB) $(LINTLIB)
LINTSRC= $(LINTLIB:%.ln=%)
@@ -62,9 +56,6 @@ $(LINTLIB):= SRCS=../llib-ltermcap
CFLAGS += $(CCVERBOSE)
CFLAGS64 += $(CCVERBOSE)
-DYNFLAGS +=
-DYNFLAGS32 = -M$(MAPFILE)
-DYNFLAGS64 = -M$(MAPFILE)
LDLIBS += -lc
DEFS= -DCM_N -DCM_GT -DCM_B -DCM_D
@@ -76,11 +67,6 @@ all: $(LIBS)
lint: lintcheck
-$(DYNLIB): $(MAPFILE)
-
-$(MAPFILE):
- @cd $(MAPDIR); $(MAKE) mapfile
-
#
# Include library targets
#
diff --git a/usr/src/ucblib/libtermcap/amd64/Makefile b/usr/src/ucblib/libtermcap/amd64/Makefile
index 5834f4af40..5567585245 100644
--- a/usr/src/ucblib/libtermcap/amd64/Makefile
+++ b/usr/src/ucblib/libtermcap/amd64/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,13 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-MAPDIR= ../spec/amd64
include ../Makefile.com
include $(SRC)/lib/Makefile.lib.64
diff --git a/usr/src/ucblib/libtermcap/i386/Makefile b/usr/src/ucblib/libtermcap/i386/Makefile
index 91f52b2d58..e2080593d5 100644
--- a/usr/src/ucblib/libtermcap/i386/Makefile
+++ b/usr/src/ucblib/libtermcap/i386/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,17 +19,14 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# ucblib/libtermcap/i386/Makefile
-MAPDIR= ../spec/i386
include ../Makefile.com
-DYNFLAGS += $(DYNFLAGS32)
BUILD.SO= $(CC) -o $@ $(GSHARED) $(DYNFLAGS) $(PICS) -L $(ROOT)/usr/ucblib $(LDLIBS)
.KEEP_STATE:
diff --git a/usr/src/ucblib/libtermcap/mapfile-vers b/usr/src/ucblib/libtermcap/mapfile-vers
new file mode 100644
index 0000000000..9856c51159
--- /dev/null
+++ b/usr/src/ucblib/libtermcap/mapfile-vers
@@ -0,0 +1,42 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNW_1.1 {
+ global:
+ BC;
+ ospeed;
+ PC;
+ tgetent;
+ tgetflag;
+ tgetnum;
+ tgetstr;
+ tgoto;
+ tputs;
+ UP;
+ local:
+ *;
+};
diff --git a/usr/src/ucblib/libtermcap/sparc/Makefile b/usr/src/ucblib/libtermcap/sparc/Makefile
index d53ad322f5..e2a26e9aea 100644
--- a/usr/src/ucblib/libtermcap/sparc/Makefile
+++ b/usr/src/ucblib/libtermcap/sparc/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,17 +19,14 @@
# CDDL HEADER END
#
#
-# Copyright 1997-2003 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# ucblib/libtermcap/sparc/Makefile
-MAPDIR= ../spec/sparc
include ../Makefile.com
-DYNFLAGS += $(DYNFLAGS32)
BUILD.SO= $(CC) -o $@ -G $(DYNFLAGS) $(PICS) -L $(ROOT)/usr/ucblib $(LDLIBS)
.KEEP_STATE:
diff --git a/usr/src/ucblib/libtermcap/sparcv9/Makefile b/usr/src/ucblib/libtermcap/sparcv9/Makefile
index 57a580afe2..5567585245 100644
--- a/usr/src/ucblib/libtermcap/sparcv9/Makefile
+++ b/usr/src/ucblib/libtermcap/sparcv9/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright (c) 1997-1998 by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
-# ucblib/libtermcap/sparcv9/Makefile
-MAPDIR= ../spec/sparcv9
include ../Makefile.com
include $(SRC)/lib/Makefile.lib.64
diff --git a/usr/src/ucblib/libtermcap/spec/Makefile b/usr/src/ucblib/libtermcap/spec/Makefile
deleted file mode 100644
index a28a1fe9fe..0000000000
--- a/usr/src/ucblib/libtermcap/spec/Makefile
+++ /dev/null
@@ -1,30 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# ucblib/libtermcap/spec/Makefile
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/ucblib/libtermcap/spec/Makefile.targ b/usr/src/ucblib/libtermcap/spec/Makefile.targ
deleted file mode 100644
index 793f5f2aed..0000000000
--- a/usr/src/ucblib/libtermcap/spec/Makefile.targ
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# ucblib/libtermcap/spec/Makefile.targ
-
-LIBRARY = libtermcap.a
-VERS = .1
-
-OBJECTS = termcap.o
-
-TRANSCPP =
-SPECCPP = -I$(ROOT)/usr/ucbinclude
diff --git a/usr/src/ucblib/libtermcap/spec/amd64/Makefile b/usr/src/ucblib/libtermcap/spec/amd64/Makefile
deleted file mode 100644
index 6beb38aa0f..0000000000
--- a/usr/src/ucblib/libtermcap/spec/amd64/Makefile
+++ /dev/null
@@ -1,42 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#amd64_C_PICFLAGS = $(amd64_C_BIGPICFLAGS)
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(UCBLIB_ABILIB64)
diff --git a/usr/src/ucblib/libtermcap/spec/i386/Makefile b/usr/src/ucblib/libtermcap/spec/i386/Makefile
deleted file mode 100644
index 528526ce44..0000000000
--- a/usr/src/ucblib/libtermcap/spec/i386/Makefile
+++ /dev/null
@@ -1,42 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# ucblib/libtermcap/spec/i386/Makefile
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#i386_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(UCBLIB_ABILIB)
diff --git a/usr/src/ucblib/libtermcap/spec/sparc/Makefile b/usr/src/ucblib/libtermcap/spec/sparc/Makefile
deleted file mode 100644
index 7350d27138..0000000000
--- a/usr/src/ucblib/libtermcap/spec/sparc/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# ucblib/libtermcap/spec/sparc/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#sparc_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(UCBLIB_ABILIB)
diff --git a/usr/src/ucblib/libtermcap/spec/sparcv9/Makefile b/usr/src/ucblib/libtermcap/spec/sparcv9/Makefile
deleted file mode 100644
index ca7b152f8d..0000000000
--- a/usr/src/ucblib/libtermcap/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,43 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# ucblib/libtermcap/spec/sparcv9/Makefile
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#sparcv9_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: $(UCBLIB_ABILIB64)
diff --git a/usr/src/ucblib/libtermcap/spec/termcap.spec b/usr/src/ucblib/libtermcap/spec/termcap.spec
deleted file mode 100644
index c95df25ef6..0000000000
--- a/usr/src/ucblib/libtermcap/spec/termcap.spec
+++ /dev/null
@@ -1,75 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-
-function tgetent
-include <curses.h>
-include <term.h>
-declaration int tgetent(char *bp, char *name)
-version SUNW_1.1
-end
-
-function tgetflag
-declaration int tgetflag(char *id)
-version SUNW_1.1
-end
-
-function tgetnum
-declaration int tgetnum(char *id)
-version SUNW_1.1
-end
-
-function tgetstr
-declaration char *tgetstr(char *id, char **area)
-version SUNW_1.1
-end
-
-function tgoto
-declaration char *tgoto(char *CM, int destcol, int destline)
-version SUNW_1.1
-end
-
-function tputs
-declaration int tputs(char *cp, int affcnt, int (*)(char))
-version SUNW_1.1
-end
-
-
-data PC
-version SUNW_1.1
-end
-
-data UP
-version SUNW_1.1
-end
-
-data BC
-version SUNW_1.1
-end
-
-data ospeed
-version SUNW_1.1
-end
diff --git a/usr/src/ucblib/libtermcap/spec/versions b/usr/src/ucblib/libtermcap/spec/versions
deleted file mode 100644
index f7955484e7..0000000000
--- a/usr/src/ucblib/libtermcap/spec/versions
+++ /dev/null
@@ -1,39 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-sparc {
- SUNW_1.1;
-}
-sparcv9 {
- SUNW_1.1;
-}
-i386 {
- SUNW_1.1;
-}
-amd64 {
- SUNW_1.1;
-}
diff --git a/usr/src/ucblib/libucb/Makefile b/usr/src/ucblib/libucb/Makefile
index 60ae097c14..ebb837a4e3 100644
--- a/usr/src/ucblib/libucb/Makefile
+++ b/usr/src/ucblib/libucb/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,19 +19,16 @@
# CDDL HEADER END
#
#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright 1989-1999,2002 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# ucblib/libucb/Makefile
-#
-# The builds occur in isa subdirectories.
+# ident "%Z%%M% %I% %E% SMI"
#
include ../Makefile.ucb
-SUBDIRS = spec .WAIT $(MACH) $(BUILD64) $(MACH64)
+SUBDIRS = $(MACH)
+$(BUILD64)SUBDIRS += $(MACH64)
# conditional assignments
install := TARGET= install
@@ -44,7 +40,7 @@ lint := TARGET= lint
all install clean clobber lint : $(SUBDIRS)
-$(MACH) $(MACH64) spec: FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
diff --git a/usr/src/ucblib/libucb/Makefile.com b/usr/src/ucblib/libucb/Makefile.com
index 5075d43068..079a9a94d9 100644
--- a/usr/src/ucblib/libucb/Makefile.com
+++ b/usr/src/ucblib/libucb/Makefile.com
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# ucblib/libucb/Makefile.com
-# common part for i386/amd64/sparc/sparcv9
-#
LIBRARY= libucb.a
VERS= .1
@@ -85,8 +81,7 @@ include $(SRC)/lib/Makefile.lib
ROOTLIBDIR= $(ROOT)/usr/ucblib
ROOTLIBDIR64= $(ROOT)/usr/ucblib/$(MACH64)
-MAPFILE= $(MAPDIR)/mapfile
-MAPOPTS= $(MAPFILE:%=-M%)
+MAPFILES = ../port/mapfile-vers mapfile-vers
SRCS= $(PORTGENOBJS:%.o=../port/gen/%.c) \
$(PORTSTDIOOBJS:%.o=../port/stdio/%.c) \
@@ -110,7 +105,6 @@ $(LINTLIB):= SRCS=../port/llib-lucb
CFLAGS += $(CCVERBOSE)
CFLAGS64 += $(CCVERBOSE)
-DYNFLAGS += $(MAPOPTS)
LDLIBS += -lelf -lc
CPPFLAGS = -D$(MACH) -I$(ROOT)/usr/ucbinclude -I../inc \
@@ -130,27 +124,22 @@ all: $(LIBS)
lint: lintcheck
-$(DYNLIB): $(MAPFILE)
-
-$(MAPFILE):
- @cd $(MAPDIR); $(MAKE) mapfile
-
-objs/%.o pics/%.o: ../port/gen/%.c
+pics/%.o: ../port/gen/%.c
$(COMPILE.c) -o $@ $<
$(POST_PROCESS_O)
-objs/%.o pics/%.o: ../port/stdio/%.c
+pics/%.o: ../port/stdio/%.c
$(COMPILE.c) -o $@ $<
$(POST_PROCESS_O)
-objs/%.o pics/%.o: ../port/sys/%.c
+pics/%.o: ../port/sys/%.c
$(COMPILE.c) -o $@ $<
$(POST_PROCESS_O)
# shared (sparc/sparcv9/i386/amd64) platform-specific rule
-objs/%.o pics/%.o: sys/%.c
+pics/%.o: sys/%.c
$(COMPILE.c) -o $@ $<
$(POST_PROCESS_O)
-objs/%.o pics/%.o: ../$(MACH)/sys/%.s
+pics/%.o: ../$(MACH)/sys/%.s
$(BUILD.s)
$(POST_PROCESS_O)
diff --git a/usr/src/ucblib/libucb/amd64/Makefile b/usr/src/ucblib/libucb/amd64/Makefile
index a6b20549c9..99d85cfe7c 100644
--- a/usr/src/ucblib/libucb/amd64/Makefile
+++ b/usr/src/ucblib/libucb/amd64/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,7 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
@@ -28,8 +27,6 @@
SYSOBJS= signal.o
-MAPDIR= ../spec/amd64
-
include ../Makefile.com
include $(SRC)/lib/Makefile.lib.64
@@ -37,7 +34,7 @@ DYNFLAGS += $(DYNFLAGS64)
BUILD.SO= $(CC) $(CFLAGS) -o $@ -G $(DYNFLAGS) $(PICS) -L $(ROOT)/usr/lib/$(MACH64) $(LDLIBS)
# amd64-specific rule
-objs/%.o pics/%.o: ../$(MACH)/sys/%.c
+pics/%.o: ../$(MACH)/sys/%.c
$(COMPILE.c) -o $@ $<
$(POST_PROCESS_O)
diff --git a/usr/src/ucblib/libucb/amd64/mapfile-vers b/usr/src/ucblib/libucb/amd64/mapfile-vers
new file mode 100644
index 0000000000..5b41590128
--- /dev/null
+++ b/usr/src/ucblib/libucb/amd64/mapfile-vers
@@ -0,0 +1,98 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNW_1.1 {
+ global:
+ SUNW_1.1;
+} SUNW_0.7;
+
+SUNW_0.7 {
+ global:
+ alphasort;
+ bcmp;
+ bcopy;
+ bzero;
+ flock;
+ fopen;
+ fprintf;
+ freopen;
+ fstatfs;
+ ftime;
+ getdtablesize;
+ gethostid;
+ gethostname;
+ getpagesize;
+ getrusage = FUNCTION FILTER libc.so.1;
+ gettimeofday;
+ getwd;
+ index;
+ killpg;
+ mctl;
+ nice;
+ nlist;
+ printf;
+ psignal;
+ rand;
+ readdir;
+ reboot;
+ re_comp;
+ re_exec;
+ rindex;
+ scandir;
+ setbuffer;
+ sethostname;
+ setlinebuf;
+ setpgrp;
+ settimeofday;
+ sigblock;
+ siginterrupt;
+ signal;
+ sigpause;
+ sigsetmask;
+ sigstack;
+ sigvec;
+ sigvechandler;
+ sleep = FUNCTION FILTER libc.so.1;
+ sprintf;
+ srand;
+ statfs;
+ sys_siglist;
+ times;
+ ualarm = FUNCTION FILTER libc.so.1;
+ usignal;
+ usigpause;
+ usleep = FUNCTION FILTER libc.so.1;
+ vfprintf;
+ vprintf;
+ vsprintf;
+ wait3;
+ wait4;
+};
+
+SUNWprivate_1.1 {
+ global:
+};
diff --git a/usr/src/ucblib/libucb/i386/Makefile b/usr/src/ucblib/libucb/i386/Makefile
index 53067fd898..8edc02b3de 100644
--- a/usr/src/ucblib/libucb/i386/Makefile
+++ b/usr/src/ucblib/libucb/i386/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,20 +19,17 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# ucblib/libucb/i386/Makefile
SYSOBJS= \
signal.o
NOCTFOBJS=
-MAPDIR= ../spec/i386
-
include ../Makefile.com
DYNFLAGS += $(DYNFLAGS32)
diff --git a/usr/src/ucblib/libucb/i386/mapfile-vers b/usr/src/ucblib/libucb/i386/mapfile-vers
new file mode 100644
index 0000000000..7ca55e7ea4
--- /dev/null
+++ b/usr/src/ucblib/libucb/i386/mapfile-vers
@@ -0,0 +1,108 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNW_1.1 {
+ global:
+ alphasort64;
+ fopen64;
+ freopen64;
+ readdir64;
+ scandir64;
+} SUNW_0.7;
+
+SUNW_0.7 {
+ global:
+ alphasort;
+ bcmp;
+ bcopy;
+ bzero;
+ flock;
+ fopen;
+ fprintf;
+ freopen;
+ fstatfs;
+ ftime;
+ getdtablesize;
+ gethostid;
+ gethostname;
+ getpagesize;
+ getrusage = FUNCTION FILTER libc.so.1;
+ gettimeofday;
+ getwd;
+ index;
+ killpg;
+ longjmp = FUNCTION FILTER libc.so.1;
+ mctl;
+ nice;
+ nlist;
+ printf;
+ psignal;
+ rand;
+ readdir;
+ reboot;
+ re_comp;
+ re_exec;
+ rindex;
+ scandir;
+ setbuffer;
+ sethostname;
+ setjmp = FUNCTION FILTER libc.so.1;
+ setlinebuf;
+ setpgrp;
+ settimeofday;
+ sigblock;
+ siginterrupt;
+ signal;
+ sigpause;
+ sigsetmask;
+ sigstack;
+ sigvec;
+ sigvechandler;
+ sleep = FUNCTION FILTER libc.so.1;
+ sprintf;
+ srand;
+ statfs;
+ sys_siglist;
+ times;
+ ualarm = FUNCTION FILTER libc.so.1;
+ usignal;
+ usigpause;
+ usleep = FUNCTION FILTER libc.so.1;
+ vfprintf;
+ vprintf;
+ vsprintf;
+ wait3;
+ wait4;
+};
+
+SUNWprivate_1.1 {
+ global:
+ _longjmp = FUNCTION FILTER libc.so.1;
+ _setjmp = FUNCTION FILTER libc.so.1;
+ _syscall = FUNCTION FILTER libc.so.1;
+ _times = FUNCTION FILTER libc.so.1;
+};
diff --git a/usr/src/ucblib/libucb/port/mapfile-vers b/usr/src/ucblib/libucb/port/mapfile-vers
new file mode 100644
index 0000000000..36fed01e1c
--- /dev/null
+++ b/usr/src/ucblib/libucb/port/mapfile-vers
@@ -0,0 +1,60 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNW_1.3 {
+ global:
+ _siguhandler;
+} SUNW_1.2;
+
+# Due to mistakes made early in the history of this library, there are
+# no SUNW_1.2 symbols, but the version is now kept as a placeholder.
+# Don't add any symbols to this version.
+
+SUNW_1.2 {
+ global:
+ SUNW_1.2;
+} SUNW_1.1;
+
+SUNWprivate_1.1 {
+ global:
+ _doprnt;
+ _getarg;
+ _mkarglst;
+ _sigblock;
+ _siginterrupt;
+ _sigsetmask;
+ _sigstack;
+ _sigvec;
+ _sigvechandler;
+ ucbsigblock;
+ ucbsiginterrupt;
+ ucbsigpause;
+ ucbsigsetmask;
+ ucbsigvec;
+ local:
+ *;
+};
diff --git a/usr/src/ucblib/libucb/sparc/Makefile b/usr/src/ucblib/libucb/sparc/Makefile
index 4150e7b8b6..ceceefc9ba 100644
--- a/usr/src/ucblib/libucb/sparc/Makefile
+++ b/usr/src/ucblib/libucb/sparc/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,25 +19,23 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-# ucblib/libucb/sparc/Makefile
SYSOBJS= \
setjmp.o \
signal.o
-MAPDIR= ../spec/sparc
include ../Makefile.com
DYNFLAGS += $(DYNFLAGS32)
BUILD.s= $(AS) $(ASFLAGS) $< -o $@
# sparc-specific rule
-objs/%.o pics/%.o: sys/%.s
+pics/%.o: sys/%.s
$(BUILD.s)
$(POST_PROCESS_O)
diff --git a/usr/src/ucblib/libucb/sparc/mapfile-vers b/usr/src/ucblib/libucb/sparc/mapfile-vers
new file mode 100644
index 0000000000..0066c68ca2
--- /dev/null
+++ b/usr/src/ucblib/libucb/sparc/mapfile-vers
@@ -0,0 +1,108 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNW_1.1 {
+ global:
+ alphasort64;
+ fopen64;
+ freopen64;
+ readdir64;
+ scandir64;
+} SUNW_0.7;
+
+SUNW_0.7 {
+ global:
+ alphasort;
+ bcmp;
+ bcopy;
+ bzero;
+ flock;
+ fopen;
+ fprintf;
+ freopen;
+ fstatfs;
+ ftime;
+ getdtablesize;
+ gethostid;
+ gethostname;
+ getpagesize;
+ getrusage = FUNCTION FILTER libc.so.1;
+ gettimeofday;
+ getwd;
+ index;
+ killpg;
+ longjmp;
+ mctl;
+ nice;
+ nlist;
+ printf;
+ psignal;
+ rand;
+ readdir;
+ reboot;
+ re_comp;
+ re_exec;
+ rindex;
+ scandir;
+ setbuffer;
+ sethostname;
+ setjmp;
+ setlinebuf;
+ setpgrp;
+ settimeofday;
+ sigblock;
+ siginterrupt;
+ signal;
+ sigpause;
+ sigsetmask;
+ sigstack;
+ sigvec;
+ sigvechandler;
+ sleep = FUNCTION FILTER libc.so.1;
+ sprintf;
+ srand;
+ statfs;
+ sys_siglist;
+ times;
+ ualarm = FUNCTION FILTER libc.so.1;
+ usignal;
+ usigpause;
+ usleep = FUNCTION FILTER libc.so.1;
+ vfprintf;
+ vprintf;
+ vsprintf;
+ wait3;
+ wait4;
+};
+
+SUNWprivate_1.1 {
+ global:
+ _longjmp;
+ _setjmp;
+ __sigcleanup;
+ syscall = FUNCTION FILTER libc.so.1;
+};
diff --git a/usr/src/ucblib/libucb/sparcv9/Makefile b/usr/src/ucblib/libucb/sparcv9/Makefile
index a708a444bc..90e748660f 100644
--- a/usr/src/ucblib/libucb/sparcv9/Makefile
+++ b/usr/src/ucblib/libucb/sparcv9/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,19 +19,16 @@
# CDDL HEADER END
#
#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
-# ucblib/libucb/sparcv9/Makefile
SYSOBJS= \
setjmp.o \
signal.o
-MAPDIR= ../spec/sparcv9
-
include ../Makefile.com
include $(SRC)/lib/Makefile.lib.64
@@ -41,11 +37,11 @@ BUILD.SO= $(CC) $(CFLAGS) -o $@ -G $(DYNFLAGS) $(PICS) -L $(ROOT)/usr/lib/$(MACH
BUILD.s= $(AS) $(ASFLAGS) -xarch=v9 -D__sparcv9 $< -o $@
# sparcv9-specific rule
-objs/%.o pics/%.o: ../sparc/sys/%.c
+pics/%.o: ../sparc/sys/%.c
$(COMPILE.c) -o $@ $<
$(POST_PROCESS_O)
-objs/%.o pics/%.o: sys/%.s
+pics/%.o: sys/%.s
$(BUILD.s)
$(POST_PROCESS_O)
diff --git a/usr/src/ucblib/libucb/sparcv9/mapfile-vers b/usr/src/ucblib/libucb/sparcv9/mapfile-vers
new file mode 100644
index 0000000000..39dad7d2d7
--- /dev/null
+++ b/usr/src/ucblib/libucb/sparcv9/mapfile-vers
@@ -0,0 +1,103 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+SUNW_1.1 {
+ global:
+ alphasort;
+ bcmp;
+ bcopy;
+ bzero;
+ flock;
+ fopen;
+ fprintf;
+ freopen;
+ fstatfs;
+ ftime;
+ getdtablesize;
+ gethostid;
+ gethostname;
+ getpagesize;
+ getrusage = FUNCTION FILTER libc.so.1;
+ gettimeofday;
+ getwd;
+ index;
+ killpg;
+ longjmp;
+ mctl;
+ nice;
+ nlist;
+ printf;
+ psignal;
+ rand;
+ readdir;
+ reboot;
+ re_comp;
+ re_exec;
+ rindex;
+ scandir;
+ setbuffer;
+ sethostname;
+ setjmp;
+ setlinebuf;
+ setpgrp;
+ settimeofday;
+ sigblock;
+ siginterrupt;
+ signal;
+ sigpause;
+ sigsetmask;
+ sigstack;
+ sigvec;
+ sigvechandler;
+ sleep = FUNCTION FILTER libc.so.1;
+ sprintf;
+ srand;
+ statfs;
+ sys_siglist;
+ times;
+ ualarm = FUNCTION FILTER libc.so.1;
+ usignal;
+ usigpause;
+ usleep = FUNCTION FILTER libc.so.1;
+ vfprintf;
+ vprintf;
+ vsprintf;
+ wait3;
+ wait4;
+} SUNW_0.7;
+
+SUNW_0.7 {
+ global:
+ SUNW_0.7;
+};
+
+SUNWprivate_1.1 {
+ global:
+ _longjmp;
+ _setjmp;
+ __sigcleanup;
+};
diff --git a/usr/src/ucblib/libucb/spec/Makefile b/usr/src/ucblib/libucb/spec/Makefile
deleted file mode 100644
index 810d58ffb7..0000000000
--- a/usr/src/ucblib/libucb/spec/Makefile
+++ /dev/null
@@ -1,30 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# ucblib/libucb/spec/Makefile
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/ucblib/libucb/spec/Makefile.override b/usr/src/ucblib/libucb/spec/Makefile.override
deleted file mode 100644
index 55d9f1c59c..0000000000
--- a/usr/src/ucblib/libucb/spec/Makefile.override
+++ /dev/null
@@ -1,29 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-
-CPPFLAGS= -D$(MACH) -I$(ROOT)/usr/ucbinclude $(CPPFLAGS.master)
diff --git a/usr/src/ucblib/libucb/spec/Makefile.targ b/usr/src/ucblib/libucb/spec/Makefile.targ
deleted file mode 100644
index f3ccd86859..0000000000
--- a/usr/src/ucblib/libucb/spec/Makefile.targ
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# ucblib/libucb/spec/Makefile.targ
-
-LIBRARY = libucb.a
-VERS = .1
-
-OBJECTS = ucb.o
-
-TRANSCPP =
-SPECCPP = -I$(ROOT)/usr/ucbinclude
diff --git a/usr/src/ucblib/libucb/spec/amd64/Makefile b/usr/src/ucblib/libucb/spec/amd64/Makefile
deleted file mode 100644
index 9207eb9774..0000000000
--- a/usr/src/ucblib/libucb/spec/amd64/Makefile
+++ /dev/null
@@ -1,43 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#amd64_C_PICFLAGS = $(amd64_C_BIGPICFLAGS)
-
-include $(SRC)/lib/Makefile.spec
-include ../Makefile.override
-
-install: $(UCBLIB_ABILIB64)
diff --git a/usr/src/ucblib/libucb/spec/i386/Makefile b/usr/src/ucblib/libucb/spec/i386/Makefile
deleted file mode 100644
index cfea9bbb75..0000000000
--- a/usr/src/ucblib/libucb/spec/i386/Makefile
+++ /dev/null
@@ -1,43 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# ucblib/libucb/spec/i386/Makefile
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#i386_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-include ../Makefile.override
-
-install: $(UCBLIB_ABILIB)
diff --git a/usr/src/ucblib/libucb/spec/sparc/Makefile b/usr/src/ucblib/libucb/spec/sparc/Makefile
deleted file mode 100644
index 35c6dab469..0000000000
--- a/usr/src/ucblib/libucb/spec/sparc/Makefile
+++ /dev/null
@@ -1,45 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# ucblib/libucb/spec/sparc/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#sparc_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-include ../Makefile.override
-
-install: $(UCBLIB_ABILIB)
diff --git a/usr/src/ucblib/libucb/spec/sparcv9/Makefile b/usr/src/ucblib/libucb/spec/sparcv9/Makefile
deleted file mode 100644
index 7ea9199c8e..0000000000
--- a/usr/src/ucblib/libucb/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# ucblib/libucb/spec/sparcv9/Makefile
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#sparcv9_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-include ../Makefile.override
-
-install: $(UCBLIB_ABILIB64)
diff --git a/usr/src/ucblib/libucb/spec/ucb.spec b/usr/src/ucblib/libucb/spec/ucb.spec
deleted file mode 100644
index aead21f06c..0000000000
--- a/usr/src/ucblib/libucb/spec/ucb.spec
+++ /dev/null
@@ -1,565 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-function alphasort64
-include <sys/types.h>
-include <sys/dir.h>
-declaration int alphasort64(struct direct64 **d1, struct direct64 **d2)
-arch sparc i386
-version SUNW_1.1
-end
-
-function fopen64
-include <stdio.h>
-declaration FILE *fopen64(const char *file, const char *mode)
-arch sparc i386
-version SUNW_1.1
-end
-
-function freopen64
-include <stdio.h>
-declaration FILE *freopen64(const char *file, const char *mode, FILE *iop)
-arch sparc i386
-version SUNW_1.1
-end
-
-function readdir64
-include <sys/types.h>
-include <sys/dir.h>
-declaration struct direct64 *readdir64(DIR *dirp)
-arch sparc i386
-version SUNW_1.1
-end
-
-function scandir64
-include <sys/types.h>
-include <sys/dir.h>
-declaration int scandir64(char *dirname, struct direct64 *(*namelist[]), \
- int (*select)(struct direct64 *), \
- int (*dcomp)(struct direct64 **, struct direct64 **))
-arch sparc i386
-version SUNW_1.1
-end
-
-function alphasort
-include <sys/types.h>
-include <sys/dir.h>
-declaration int alphasort(struct direct **d1, struct direct **d2)
-version sparc=SUNW_0.7 i386=SUNW_0.7 amd64=SUNW_0.7 sparcv9=SUNW_1.1
-end
-
-function bcmp
-include <sys/types.h>
-include <strings.h>
-declaration int bcmp(const void *s1, const void *s2, size_t len)
-version sparc=SUNW_0.7 i386=SUNW_0.7 amd64=SUNW_0.7 sparcv9=SUNW_1.1
-end
-
-function bcopy
-include <sys/types.h>
-include <strings.h>
-declaration void bcopy(const void *s1, void *s2, size_t len)
-version sparc=SUNW_0.7 i386=SUNW_0.7 amd64=SUNW_0.7 sparcv9=SUNW_1.1
-end
-
-function bzero
-include <sys/types.h>
-include <strings.h>
-declaration void bzero(void *sp, size_t len)
-version sparc=SUNW_0.7 i386=SUNW_0.7 amd64=SUNW_0.7 sparcv9=SUNW_1.1
-end
-
-function flock
-include <sys/types.h>
-include <sys/file.h>
-include <fcntl.h>
-declaration int flock(int fd, int operation)
-version sparc=SUNW_0.7 i386=SUNW_0.7 amd64=SUNW_0.7 sparcv9=SUNW_1.1
-end
-
-function fopen
-include <stdio.h>
-declaration FILE *fopen(const char *file, const char *mode)
-version sparc=SUNW_0.7 i386=SUNW_0.7 amd64=SUNW_0.7 sparcv9=SUNW_1.1
-end
-
-function fprintf
-include <stdio.h>
-declaration int fprintf(FILE *iop, const char *format, ...)
-version sparc=SUNW_0.7 i386=SUNW_0.7 amd64=SUNW_0.7 sparcv9=SUNW_1.1
-end
-
-function freopen
-include <stdio.h>
-declaration FILE *freopen(const char *file, const char *mode, FILE *iop)
-version sparc=SUNW_0.7 i386=SUNW_0.7 amd64=SUNW_0.7 sparcv9=SUNW_1.1
-end
-
-function fstatfs
-include <sys/types.h>
-include <sys/vfs.h>
-declaration int fstatfs(int fd, struct statfs *buf)
-version sparc=SUNW_0.7 i386=SUNW_0.7 amd64=SUNW_0.7 sparcv9=SUNW_1.1
-end
-
-function ftime
-include <sys/types.h>
-include <sys/timeb.h>
-declaration int ftime(struct timeb *tp)
-version sparc=SUNW_0.7 i386=SUNW_0.7 amd64=SUNW_0.7 sparcv9=SUNW_1.1
-end
-
-function getdtablesize
-include <sys/types.h>
-include <sys/time.h>
-include <sys/resource.h>
-declaration int getdtablesize(void)
-version sparc=SUNW_0.7 i386=SUNW_0.7 amd64=SUNW_0.7 sparcv9=SUNW_1.1
-end
-
-function gethostid
-include <sys/types.h>
-include <sys/systeminfo.h>
-declaration long gethostid(void)
-version sparc=SUNW_0.7 i386=SUNW_0.7 amd64=SUNW_0.7 sparcv9=SUNW_1.1
-end
-
-function gethostname
-include <sys/types.h>
-include <sys/utsname.h>
-declaration int gethostname(char *name, int namelen)
-version sparc=SUNW_0.7 i386=SUNW_0.7 amd64=SUNW_0.7 sparcv9=SUNW_1.1
-end
-
-function getpagesize
-include <unistd.h>
-declaration int getpagesize(void)
-version sparc=SUNW_0.7 i386=SUNW_0.7 amd64=SUNW_0.7 sparcv9=SUNW_1.1
-end
-
-function getrusage extends libc/spec/gen.spec
-version sparc=SUNW_0.7 i386=SUNW_0.7 amd64=SUNW_0.7 sparcv9=SUNW_1.1
-filter libc.so.1
-end
-
-function gettimeofday
-include <sys/types.h>
-include <sys/time.h>
-declaration int gettimeofday(struct timeval *tp, void *tzp)
-version sparc=SUNW_0.7 i386=SUNW_0.7 amd64=SUNW_0.7 sparcv9=SUNW_1.1
-end
-
-function getwd
-include <stdlib.h>
-declaration char *getwd(char *pathname)
-version sparc=SUNW_0.7 i386=SUNW_0.7 amd64=SUNW_0.7 sparcv9=SUNW_1.1
-end
-
-function index
-include <strings.h>
-declaration char *index(char *sp, char c)
-version sparc=SUNW_0.7 i386=SUNW_0.7 amd64=SUNW_0.7 sparcv9=SUNW_1.1
-end
-
-function killpg
-include <sys/types.h>
-include <signal.h>
-declaration int killpg(int pgrp, int sig)
-version sparc=SUNW_0.7 i386=SUNW_0.7 amd64=SUNW_0.7 sparcv9=SUNW_1.1
-end
-
-function longjmp
-arch sparc sparcv9
-version sparc=SUNW_0.7 sparcv9=SUNW_1.1
-end
-
-function longjmp
-arch i386
-version i386=SUNW_0.7
-filter libc.so.1
-end
-
-function mctl
-include <sys/types.h>
-include <sys/mman.h>
-declaration int mctl(caddr_t addr, size_t len, int function, int arg)
-version sparc=SUNW_0.7 i386=SUNW_0.7 amd64=SUNW_0.7 sparcv9=SUNW_1.1
-end
-
-function nice
-include <sys/resource.h>
-declaration int nice(int incr)
-version sparc=SUNW_0.7 i386=SUNW_0.7 amd64=SUNW_0.7 sparcv9=SUNW_1.1
-end
-
-function nlist
-include <sys/types.h>
-include <nlist.h>
-declaration int nlist(const char *name, struct nlist *list)
-version sparc=SUNW_0.7 i386=SUNW_0.7 amd64=SUNW_0.7 sparcv9=SUNW_1.1
-end
-
-function printf
-include <stdio.h>
-declaration int printf(const char *format, ...)
-version sparc=SUNW_0.7 i386=SUNW_0.7 amd64=SUNW_0.7 sparcv9=SUNW_1.1
-end
-
-function psignal
-include <sys/types.h>
-declaration void psignal(unsigned int sig, char *s)
-version sparc=SUNW_0.7 i386=SUNW_0.7 amd64=SUNW_0.7 sparcv9=SUNW_1.1
-end
-
-function rand
-include <stdlib.h>
-declaration int rand(void)
-version sparc=SUNW_0.7 i386=SUNW_0.7 amd64=SUNW_0.7 sparcv9=SUNW_1.1
-end
-
-function re_comp
-include <sys/types.h>
-include <stdlib.h>
-declaration char *re_comp(char *sp)
-version sparc=SUNW_0.7 i386=SUNW_0.7 amd64=SUNW_0.7 sparcv9=SUNW_1.1
-end
-
-function re_exec
-include <sys/types.h>
-include <stdlib.h>
-declaration int re_exec(char *p1)
-version sparc=SUNW_0.7 i386=SUNW_0.7 amd64=SUNW_0.7 sparcv9=SUNW_1.1
-end
-
-function readdir
-include <sys/types.h>
-include <sys/dir.h>
-declaration struct direct *readdir(DIR *dirp)
-version sparc=SUNW_0.7 i386=SUNW_0.7 amd64=SUNW_0.7 sparcv9=SUNW_1.1
-end
-
-function reboot
-include <sys/types.h>
-declaration int reboot(int howto, char *bootargs)
-version sparc=SUNW_0.7 i386=SUNW_0.7 amd64=SUNW_0.7 sparcv9=SUNW_1.1
-end
-
-function rindex
-include <strings.h>
-declaration char *rindex(char *sp, char c)
-version sparc=SUNW_0.7 i386=SUNW_0.7 amd64=SUNW_0.7 sparcv9=SUNW_1.1
-end
-
-function scandir
-include <sys/dir.h>
-declaration int scandir(char *dirname, struct direct *(*namelist[]), \
- int (*)(struct direct *), \
- int (*)(struct direct **, struct direct **))
-version sparc=SUNW_0.7 i386=SUNW_0.7 amd64=SUNW_0.7 sparcv9=SUNW_1.1
-end
-
-function setbuffer
-declaration void setbuffer(FILE *iop, char *abuf, int asize)
-version sparc=SUNW_0.7 i386=SUNW_0.7 amd64=SUNW_0.7 sparcv9=SUNW_1.1
-end
-
-function sethostname
-declaration int sethostname(char *name, int namelen)
-version sparc=SUNW_0.7 i386=SUNW_0.7 amd64=SUNW_0.7 sparcv9=SUNW_1.1
-end
-
-function setjmp
-arch sparc sparcv9
-version sparc=SUNW_0.7 sparcv9=SUNW_1.1
-end
-
-function setjmp
-arch i386
-version i386=SUNW_0.7
-filter libc.so.1
-end
-
-function setlinebuf
-include <stdio.h>
-declaration int setlinebuf(FILE *iop)
-version sparc=SUNW_0.7 i386=SUNW_0.7 amd64=SUNW_0.7 sparcv9=SUNW_1.1
-end
-
-function setpgrp
-include <sys/types.h>
-include <unistd.h>
-declaration int setpgrp(pid_t pid1, pid_t pid2)
-version sparc=SUNW_0.7 i386=SUNW_0.7 amd64=SUNW_0.7 sparcv9=SUNW_1.1
-end
-
-function settimeofday
-declaration int settimeofday(struct timeval *tp, void *tzp)
-version sparc=SUNW_0.7 i386=SUNW_0.7 amd64=SUNW_0.7 sparcv9=SUNW_1.1
-end
-
-function sigblock
-declaration int sigblock(int mask)
-version sparc=SUNW_0.7 i386=SUNW_0.7 amd64=SUNW_0.7 sparcv9=SUNW_1.1
-end
-
-function siginterrupt
-declaration int siginterrupt(int sig, int flag)
-version sparc=SUNW_0.7 i386=SUNW_0.7 amd64=SUNW_0.7 sparcv9=SUNW_1.1
-end
-
-function signal
-declaration void (*signal(int s, void (*a)(int)))(int)
-version sparc=SUNW_0.7 i386=SUNW_0.7 amd64=SUNW_0.7 sparcv9=SUNW_1.1
-end
-
-function sigpause
-declaration int sigpause(int mask)
-version sparc=SUNW_0.7 i386=SUNW_0.7 amd64=SUNW_0.7 sparcv9=SUNW_1.1
-end
-
-function sigsetmask
-declaration int sigsetmask(int mask)
-version sparc=SUNW_0.7 i386=SUNW_0.7 amd64=SUNW_0.7 sparcv9=SUNW_1.1
-end
-
-function sigstack
-declaration int sigstack(struct sigstack *nss, struct sigstack *oss)
-version sparc=SUNW_0.7 i386=SUNW_0.7 amd64=SUNW_0.7 sparcv9=SUNW_1.1
-end
-
-function sigvec
-declaration int sigvec(int sig, struct sigvec *nvec, struct sigvec *ovec)
-version sparc=SUNW_0.7 i386=SUNW_0.7 amd64=SUNW_0.7 sparcv9=SUNW_1.1
-end
-
-function sigvechandler
-include <sys/types.h>
-include <signal.h>
-include <sys/siginfo.h>
-include <sys/ucontext.h>
-declaration int sigvechandler(int sig, siginfo_t *sip, ucontext_t *ucp)
-version sparc=SUNW_0.7 i386=SUNW_0.7 amd64=SUNW_0.7 sparcv9=SUNW_1.1
-end
-
-function sleep
-version sparc=SUNW_0.7 i386=SUNW_0.7 amd64=SUNW_0.7 sparcv9=SUNW_1.1
-filter libc.so.1
-end
-
-function sprintf
-include <stdio.h>
-declaration char *sprintf(const char *string, const char *format, ...)
-version sparc=SUNW_0.7 i386=SUNW_0.7 amd64=SUNW_0.7 sparcv9=SUNW_1.1
-end
-
-function srand
-include <stdlib.h>
-declaration void srand(unsigned int x)
-version sparc=SUNW_0.7 i386=SUNW_0.7 amd64=SUNW_0.7 sparcv9=SUNW_1.1
-end
-
-function statfs
-include <sys/vfs.h>
-declaration int statfs(char *path, struct statfs *buf)
-version sparc=SUNW_0.7 i386=SUNW_0.7 amd64=SUNW_0.7 sparcv9=SUNW_1.1
-end
-
-data sys_siglist
-version sparc=SUNW_0.7 i386=SUNW_0.7 amd64=SUNW_0.7 sparcv9=SUNW_1.1
-end
-
-data _siguhandler
-version SUNW_1.3
-end
-
-function times
-include <sys/time.h>
-include <sys/times.h>
-declaration clock_t times(struct tms *tmsp)
-version sparc=SUNW_0.7 i386=SUNW_0.7 amd64=SUNW_0.7 sparcv9=SUNW_1.1
-end
-
-function ualarm
-version sparc=SUNW_0.7 i386=SUNW_0.7 amd64=SUNW_0.7 sparcv9=SUNW_1.1
-filter libc.so.1
-end
-
-function usignal
-include <signal.h>
-declaration void (*usignal(int s, void (*a)(int)))(int)
-version sparc=SUNW_0.7 i386=SUNW_0.7 amd64=SUNW_0.7 sparcv9=SUNW_1.1
-end
-
-function usigpause
-include <signal.h>
-declaration int usigpause(int mask)
-version sparc=SUNW_0.7 i386=SUNW_0.7 amd64=SUNW_0.7 sparcv9=SUNW_1.1
-end
-
-function usleep
-version sparc=SUNW_0.7 i386=SUNW_0.7 amd64=SUNW_0.7 sparcv9=SUNW_1.1
-filter libc.so.1
-end
-
-function vfprintf
-include <stdarg.h>
-include <stdio.h>
-declaration int vfprintf(FILE *iop, const char *format, va_list ap)
-version sparc=SUNW_0.7 i386=SUNW_0.7 amd64=SUNW_0.7 sparcv9=SUNW_1.1
-end
-
-function vprintf
-include <stdio.h>
-include <stdarg.h>
-declaration int vprintf(const char *format, va_list ap)
-version sparc=SUNW_0.7 i386=SUNW_0.7 amd64=SUNW_0.7 sparcv9=SUNW_1.1
-end
-
-function vsprintf
-include <stdio.h>
-include <stdarg.h>
-declaration char *vsprintf(char *string, char *format, va_list ap)
-version sparc=SUNW_0.7 i386=SUNW_0.7 amd64=SUNW_0.7 sparcv9=SUNW_1.1
-end
-
-function wait3
-include <sys/types.h>
-include <sys/resource.h>
-include <sys/wait.h>
-declaration pid_t wait3(int *status, int options, struct rusage *rp)
-version sparc=SUNW_0.7 i386=SUNW_0.7 amd64=SUNW_0.7 sparcv9=SUNW_1.1
-end
-
-function wait4
-include <sys/types.h>
-include <sys/wait.h>
-include <sys/resource.h>
-declaration pid_t wait4(pid_t pid, int *status, int options, \
- struct rusage *rp)
-version sparc=SUNW_0.7 i386=SUNW_0.7 amd64=SUNW_0.7 sparcv9=SUNW_1.1
-end
-
-function _doprnt
-version SUNWprivate_1.1
-end
-
-function _getarg
-version SUNWprivate_1.1
-end
-
-function _longjmp
-arch sparc sparcv9
-version SUNWprivate_1.1
-end
-
-function _longjmp
-arch i386
-version SUNWprivate_1.1
-filter libc.so.1
-end
-
-function _mkarglst
-version SUNWprivate_1.1
-end
-
-function _setjmp
-arch sparc sparcv9
-version SUNWprivate_1.1
-end
-
-function _setjmp
-arch i386
-version SUNWprivate_1.1
-filter libc.so.1
-end
-
-function _sigblock
-version SUNWprivate_1.1
-end
-
-function _siginterrupt
-version SUNWprivate_1.1
-end
-
-function _sigsetmask
-version SUNWprivate_1.1
-end
-
-function _sigstack
-version SUNWprivate_1.1
-end
-
-function _sigvec
-version SUNWprivate_1.1
-end
-
-function _sigvechandler
-version SUNWprivate_1.1
-end
-
-function ucbsigblock
-version SUNWprivate_1.1
-end
-
-function ucbsiginterrupt
-version SUNWprivate_1.1
-end
-
-function ucbsigpause
-version SUNWprivate_1.1
-end
-
-function ucbsigsetmask
-version SUNWprivate_1.1
-end
-
-function ucbsigvec
-version SUNWprivate_1.1
-end
-
-function __sigcleanup
-arch sparc sparcv9
-version SUNWprivate_1.1
-end
-
-function syscall
-arch sparc
-version SUNWprivate_1.1
-filter libc.so.1
-end
-
-function _syscall
-arch i386
-version SUNWprivate_1.1
-filter libc.so.1
-end
-
-function _times
-arch i386
-version SUNWprivate_1.1
-filter libc.so.1
-end
diff --git a/usr/src/ucblib/libucb/spec/versions b/usr/src/ucblib/libucb/spec/versions
deleted file mode 100644
index 68c9b98bdc..0000000000
--- a/usr/src/ucblib/libucb/spec/versions
+++ /dev/null
@@ -1,60 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# Note: Even though the SUNW_1.2 version now contains no symbols
-# beyond what was present at Solaris 2.6, the SUNW_1.2 version MUST be
-# present. This is because applications built on 2.6 Beta
-# (when it did contain symbols explicitly) may depend on it.
-#
-
-sparc {
- SUNW_1.3: {SUNW_1.2}; # Solaris 10
- SUNW_1.2: {SUNW_1.1}; # see note above
- SUNW_1.1: {SUNW_0.7}; # Solaris ABI as of Solaris 2.6
- SUNW_0.7; # Solaris ABI as of Solaris 2.3
- SUNWprivate_1.1;
-}
-sparcv9 {
- SUNW_1.3: {SUNW_1.2};
- SUNW_1.2: {SUNW_1.1};
- SUNW_1.1: {SUNW_0.7};
- SUNW_0.7;
- SUNWprivate_1.1;
-}
-i386 {
- SUNW_1.3: {SUNW_1.2};
- SUNW_1.2: {SUNW_1.1};
- SUNW_1.1: {SUNW_0.7};
- SUNW_0.7;
- SUNWprivate_1.1;
-}
-amd64 {
- SUNW_1.3: {SUNW_1.2};
- SUNW_1.2: {SUNW_1.1};
- SUNW_1.1: {SUNW_0.7};
- SUNW_0.7;
- SUNWprivate_1.1;
-}
diff --git a/usr/src/xmod/xmod_files b/usr/src/xmod/xmod_files
index d40dfece4a..2b1c57989f 100644
--- a/usr/src/xmod/xmod_files
+++ b/usr/src/xmod/xmod_files
@@ -80,7 +80,7 @@ lib/libresolv2/dnssafe
../closed/lib/gss_mechs/mech_dh/dh640/mapfile-vers-export
../closed/lib/gss_mechs/mech_dummy/Makefile.export
../closed/lib/gss_mechs/mech_krb5/Makefile.export
-../closed/lib/gss_mechs/mech_krb5/spec/krb5_export.spec
+../closed/lib/gss_mechs/mech_krb5/mapfile-vers-export
../closed/lib/gss_mechs/mech_spnego/Makefile.export
-../closed/lib/gss_mechs/mech_spnego/spec/export.spec
+../closed/lib/gss_mechs/mech_spnego/mapfile-vers-export
../closed/lib/libgss/Makefile.export