summaryrefslogtreecommitdiff
path: root/usr/src/lib/libcontract
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/lib/libcontract')
-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
12 files changed, 109 insertions, 694 deletions
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;
-}