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