summaryrefslogtreecommitdiff
path: root/usr/src/lib/libadm
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/lib/libadm')
-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/libadm/spec/Makefile)16
-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/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
14 files changed, 311 insertions, 1033 deletions
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/libadm/spec/Makefile b/usr/src/lib/libadm/amd64/mapfile-vers
index 4367acf239..1eb0fcea63 100644
--- a/usr/src/lib/libadm/spec/Makefile
+++ b/usr/src/lib/libadm/amd64/mapfile-vers
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in 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
#
-#ident "%Z%%M% %I% %E% SMI"
#
-# 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"
#
-# lib/libadm/spec/Makefile
-include $(SRC)/lib/Makefile.spec.arch
+# 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.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;
-}