summaryrefslogtreecommitdiff
path: root/usr/src/lib/libzfs/spec
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/lib/libzfs/spec')
-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.spec341
-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
8 files changed, 578 insertions, 0 deletions
diff --git a/usr/src/lib/libzfs/spec/Makefile b/usr/src/lib/libzfs/spec/Makefile
new file mode 100644
index 0000000000..2cb984bfc9
--- /dev/null
+++ b/usr/src/lib/libzfs/spec/Makefile
@@ -0,0 +1,28 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License, Version 1.0 only
+# (the "License"). You may not use this file except in compliance
+# with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL 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
new file mode 100644
index 0000000000..5af8faa767
--- /dev/null
+++ b/usr/src/lib/libzfs/spec/Makefile.targ
@@ -0,0 +1,31 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License, Version 1.0 only
+# (the "License"). You may not use this file except in compliance
+# with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL 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
new file mode 100644
index 0000000000..98db1f9271
--- /dev/null
+++ b/usr/src/lib/libzfs/spec/amd64/Makefile
@@ -0,0 +1,35 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License, Version 1.0 only
+# (the "License"). You may not use this file except in compliance
+# with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL 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
new file mode 100644
index 0000000000..6256c68c81
--- /dev/null
+++ b/usr/src/lib/libzfs/spec/i386/Makefile
@@ -0,0 +1,34 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License, Version 1.0 only
+# (the "License"). You may not use this file except in compliance
+# with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL 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
new file mode 100644
index 0000000000..a8949c9636
--- /dev/null
+++ b/usr/src/lib/libzfs/spec/libzfs.spec
@@ -0,0 +1,341 @@
+#
+# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License, Version 1.0 only
+# (the "License"). You may not use this file except in compliance
+# with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL 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"
+
+function zfs_backup
+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_get_name
+version SUNWprivate_1.1
+end
+
+function zfs_get_type
+version SUNWprivate_1.1
+end
+
+function zfs_init
+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_root
+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_prop_column_name
+version SUNWprivate_1.1
+end
+
+function zfs_prop_column_format
+version SUNWprivate_1.1
+end
+
+function zfs_prop_column_subopts
+version SUNWprivate_1.1
+end
+
+function zfs_prop_column_short_subopts
+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_refresh_properties
+version SUNWprivate_1.1
+end
+
+function zfs_rename
+version SUNWprivate_1.1
+end
+
+function zfs_restore
+version SUNWprivate_1.1
+end
+
+function zfs_rollback
+version SUNWprivate_1.1
+end
+
+function zfs_set_error_handler
+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_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_import
+version SUNWprivate_1.1
+end
+
+function zpool_get_config
+version SUNWprivate_1.1
+end
+
+function zpool_get_guid
+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_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_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_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
diff --git a/usr/src/lib/libzfs/spec/sparc/Makefile b/usr/src/lib/libzfs/spec/sparc/Makefile
new file mode 100644
index 0000000000..6256c68c81
--- /dev/null
+++ b/usr/src/lib/libzfs/spec/sparc/Makefile
@@ -0,0 +1,34 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License, Version 1.0 only
+# (the "License"). You may not use this file except in compliance
+# with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL 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
new file mode 100644
index 0000000000..98db1f9271
--- /dev/null
+++ b/usr/src/lib/libzfs/spec/sparcv9/Makefile
@@ -0,0 +1,35 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License, Version 1.0 only
+# (the "License"). You may not use this file except in compliance
+# with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL 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
new file mode 100644
index 0000000000..0cbdf7e792
--- /dev/null
+++ b/usr/src/lib/libzfs/spec/versions
@@ -0,0 +1,40 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License, Version 1.0 only
+# (the "License"). You may not use this file except in compliance
+# with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL 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;
+}