summaryrefslogtreecommitdiff
path: root/usr/src/lib/libsmedia/plugins/pcmem
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/lib/libsmedia/plugins/pcmem')
-rw-r--r--usr/src/lib/libsmedia/plugins/pcmem/amd64/Makefile9
-rw-r--r--usr/src/lib/libsmedia/plugins/pcmem/common/mapfile-vers (renamed from usr/src/lib/libsmedia/plugins/pcmem/spec/versions)33
-rw-r--r--usr/src/lib/libsmedia/plugins/pcmem/i386/Makefile14
-rw-r--r--usr/src/lib/libsmedia/plugins/pcmem/sparc/Makefile14
-rw-r--r--usr/src/lib/libsmedia/plugins/pcmem/sparcv9/Makefile14
-rw-r--r--usr/src/lib/libsmedia/plugins/pcmem/spec/Makefile30
-rw-r--r--usr/src/lib/libsmedia/plugins/pcmem/spec/Makefile.targ35
-rw-r--r--usr/src/lib/libsmedia/plugins/pcmem/spec/amd64/Makefile44
-rw-r--r--usr/src/lib/libsmedia/plugins/pcmem/spec/i386/Makefile44
-rw-r--r--usr/src/lib/libsmedia/plugins/pcmem/spec/sm_pcmem.spec69
-rw-r--r--usr/src/lib/libsmedia/plugins/pcmem/spec/sparc/Makefile45
-rw-r--r--usr/src/lib/libsmedia/plugins/pcmem/spec/sparcv9/Makefile45
12 files changed, 36 insertions, 360 deletions
diff --git a/usr/src/lib/libsmedia/plugins/pcmem/amd64/Makefile b/usr/src/lib/libsmedia/plugins/pcmem/amd64/Makefile
index 58b8e02555..fb4ba5994f 100644
--- a/usr/src/lib/libsmedia/plugins/pcmem/amd64/Makefile
+++ b/usr/src/lib/libsmedia/plugins/pcmem/amd64/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,12 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
-MAPDIR= ../spec/amd64
-
include ../Makefile.targ
include ../../../../Makefile.lib
include ../../../../Makefile.targ
diff --git a/usr/src/lib/libsmedia/plugins/pcmem/spec/versions b/usr/src/lib/libsmedia/plugins/pcmem/common/mapfile-vers
index bdf810a5ef..98459fec6d 100644
--- a/usr/src/lib/libsmedia/plugins/pcmem/spec/versions
+++ b/usr/src/lib/libsmedia/plugins/pcmem/common/mapfile-vers
@@ -1,13 +1,9 @@
#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -22,15 +18,22 @@
#
# CDDL HEADER END
#
-#pragma ident "%Z%%M% %I% %E% SMI"
#
-# vers file for libmedia
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libsmedia/plugins/pcmem/spec versions file
-sparc {
- SUNWprivate_1.1;
-}
-i386 {
- SUNWprivate_1.1;
-}
+SUNWprivate_1.1 {
+ global:
+ _m_device_type;
+ _m_free_device_info;
+ _m_get_device_info;
+ _m_get_media_info;
+ _m_media_format;
+ _m_media_format_track;
+ _m_version_no;
+ local:
+ *;
+};
diff --git a/usr/src/lib/libsmedia/plugins/pcmem/i386/Makefile b/usr/src/lib/libsmedia/plugins/pcmem/i386/Makefile
index 7f7cdf740e..988437ada2 100644
--- a/usr/src/lib/libsmedia/plugins/pcmem/i386/Makefile
+++ b/usr/src/lib/libsmedia/plugins/pcmem/i386/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright (c) 1997-2001 by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-#pragma ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libsmedia/plugins/pcmem/i386/Makefile
-
-MAPDIR= ../spec/i386
include ../Makefile.targ
include ../../../../Makefile.lib
diff --git a/usr/src/lib/libsmedia/plugins/pcmem/sparc/Makefile b/usr/src/lib/libsmedia/plugins/pcmem/sparc/Makefile
index 71091c72f7..eed569e3d1 100644
--- a/usr/src/lib/libsmedia/plugins/pcmem/sparc/Makefile
+++ b/usr/src/lib/libsmedia/plugins/pcmem/sparc/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libmedia/plugins/pcmem/sparc/Makefile
-
-MAPDIR= ../spec/sparc
include ../Makefile.targ
include ../../../../Makefile.lib
diff --git a/usr/src/lib/libsmedia/plugins/pcmem/sparcv9/Makefile b/usr/src/lib/libsmedia/plugins/pcmem/sparcv9/Makefile
index c9e0ee0c8a..fb4ba5994f 100644
--- a/usr/src/lib/libsmedia/plugins/pcmem/sparcv9/Makefile
+++ b/usr/src/lib/libsmedia/plugins/pcmem/sparcv9/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,14 +19,11 @@
# CDDL HEADER END
#
#
-# Copyright (c) 1997-1999 by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
#
-#pragma ident "%Z%%M% %I% %E% SMI"
+# ident "%Z%%M% %I% %E% SMI"
#
-# lib/libmedia/plugins/pcmem/sparcv9/Makefile
-
-MAPDIR= ../spec/sparcv9
include ../Makefile.targ
include ../../../../Makefile.lib
diff --git a/usr/src/lib/libsmedia/plugins/pcmem/spec/Makefile b/usr/src/lib/libsmedia/plugins/pcmem/spec/Makefile
deleted file mode 100644
index 6ce491ea74..0000000000
--- a/usr/src/lib/libsmedia/plugins/pcmem/spec/Makefile
+++ /dev/null
@@ -1,30 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libmedia/plugins/pcmem/spec/Makefile
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/libsmedia/plugins/pcmem/spec/Makefile.targ b/usr/src/lib/libsmedia/plugins/pcmem/spec/Makefile.targ
deleted file mode 100644
index 94650b8956..0000000000
--- a/usr/src/lib/libsmedia/plugins/pcmem/spec/Makefile.targ
+++ /dev/null
@@ -1,35 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libmedia/spec/plugins/pcmem/Makefile.targ
-
-LIBRARY = sm_pcmem.a
-VERS = .1
-
-OBJECTS = sm_pcmem.o
-
-SPECCPP =
diff --git a/usr/src/lib/libsmedia/plugins/pcmem/spec/amd64/Makefile b/usr/src/lib/libsmedia/plugins/pcmem/spec/amd64/Makefile
deleted file mode 100644
index 65f7fce23f..0000000000
--- a/usr/src/lib/libsmedia/plugins/pcmem/spec/amd64/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#amd64_C_PICFLAGS = $(amd64_C_BIGPICFLAGS)
-
-include $(SRC)/lib/Makefile.spec
-
-install: all
diff --git a/usr/src/lib/libsmedia/plugins/pcmem/spec/i386/Makefile b/usr/src/lib/libsmedia/plugins/pcmem/spec/i386/Makefile
deleted file mode 100644
index 62e294ae5a..0000000000
--- a/usr/src/lib/libsmedia/plugins/pcmem/spec/i386/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libmedia/plugins/pcmem/spec/i386/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#i386_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: all
diff --git a/usr/src/lib/libsmedia/plugins/pcmem/spec/sm_pcmem.spec b/usr/src/lib/libsmedia/plugins/pcmem/spec/sm_pcmem.spec
deleted file mode 100644
index 703655385a..0000000000
--- a/usr/src/lib/libsmedia/plugins/pcmem/spec/sm_pcmem.spec
+++ /dev/null
@@ -1,69 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libsmedia/plugins/pcmem/spec/sm_pcmem.spec
-
-function _m_device_type
-declaration int32_t _m_device_type(ushort_t ctype, ushort_t mtype)
-version SUNWprivate_1.1
-errno EIO
-end
-
-function _m_version_no
-declaration int32_t _m_version_no(void)
-version SUNWprivate_1.1
-errno EIO
-end
-
-function _m_get_media_info
-declaration int32_t _m_get_media_info(int32_t fd, void *ip)
-version SUNWprivate_1.1
-errno EIO
-end
-
-function _m_get_device_info
-declaration int32_t _m_get_device_info(int32_t fd, void *ip)
-version SUNWprivate_1.1
-errno EIO
-end
-
-function _m_free_device_info
-declaration int32_t _m_free_device_info(int32_t fd, void *ip)
-version SUNWprivate_1.1
-errno EIO
-end
-
-function _m_media_format
-declaration int32_t _m_media_format(int32_t fd, void *ip)
-version SUNWprivate_1.1
-errno EIO
-end
-
-function _m_media_format_track
-declaration int32_t _m_media_format_track(int32_t fd, void *ip)
-version SUNWprivate_1.1
-errno EIO
-end
diff --git a/usr/src/lib/libsmedia/plugins/pcmem/spec/sparc/Makefile b/usr/src/lib/libsmedia/plugins/pcmem/spec/sparc/Makefile
deleted file mode 100644
index 20d205ce9e..0000000000
--- a/usr/src/lib/libsmedia/plugins/pcmem/spec/sparc/Makefile
+++ /dev/null
@@ -1,45 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libmedia/plugins/pcmem/spec/sparc/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-
-# Uncomment the following if the linker complains
-#sparc_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: all
-
diff --git a/usr/src/lib/libsmedia/plugins/pcmem/spec/sparcv9/Makefile b/usr/src/lib/libsmedia/plugins/pcmem/spec/sparcv9/Makefile
deleted file mode 100644
index 18ea5ae534..0000000000
--- a/usr/src/lib/libsmedia/plugins/pcmem/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,45 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libmedia/plugins/pcmem/spec/sparcv9/Makefile
-
-.KEEP_STATE:
-
-include ../Makefile.targ
-
-# Add arch specific objects here
-OBJECTS +=
-
-include $(SRC)/lib/Makefile.lib
-include $(SRC)/lib/Makefile.lib.64
-
-# Uncomment the following if the linker complains
-#sparc_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-install: all