summaryrefslogtreecommitdiff
path: root/usr/src/lib/libresolv2/dnssafe
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/lib/libresolv2/dnssafe')
-rw-r--r--usr/src/lib/libresolv2/dnssafe/Makefile32
-rw-r--r--usr/src/lib/libresolv2/dnssafe/Makefile.com28
-rw-r--r--usr/src/lib/libresolv2/dnssafe/amd64/Makefile24
-rw-r--r--usr/src/lib/libresolv2/dnssafe/mapfile-vers36
-rw-r--r--usr/src/lib/libresolv2/dnssafe/spec/Makefile8
-rw-r--r--usr/src/lib/libresolv2/dnssafe/spec/Makefile.targ12
-rw-r--r--usr/src/lib/libresolv2/dnssafe/spec/amd64/Makefile26
-rw-r--r--usr/src/lib/libresolv2/dnssafe/spec/dnssafe.spec23
-rw-r--r--usr/src/lib/libresolv2/dnssafe/spec/i386/Makefile26
-rw-r--r--usr/src/lib/libresolv2/dnssafe/spec/sparc/Makefile26
-rw-r--r--usr/src/lib/libresolv2/dnssafe/spec/sparcv9/Makefile27
-rw-r--r--usr/src/lib/libresolv2/dnssafe/spec/versions19
12 files changed, 106 insertions, 181 deletions
diff --git a/usr/src/lib/libresolv2/dnssafe/Makefile b/usr/src/lib/libresolv2/dnssafe/Makefile
index 03fb3d5f5b..7363b2c344 100644
--- a/usr/src/lib/libresolv2/dnssafe/Makefile
+++ b/usr/src/lib/libresolv2/dnssafe/Makefile
@@ -1,15 +1,35 @@
#
-# Copyright (c) 1999 by Sun Microsystems, Inc.
-# All rights reserved.
+# CDDL HEADER START
#
-#pragma ident "%Z%%M% %I% %E% SMI"
+# 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"
#
-# lib/libresolv2/dnssafe/Makefile
include ../../../Makefile.master
include ../../Makefile.lib
-SUBDIRS= spec $(MACH) $(BUILD64) $(MACH64)
+SUBDIRS = $(MACH)
+$(BUILD64)SUBDIRS += $(MACH64)
all := TARGET= all
clean := TARGET= clean
@@ -42,7 +62,7 @@ install_h: $(ROOTHDRS)
check: $(CHECKHDRS)
-$(MACH) $(MACH64) spec: FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
_msg: $(MSGDOMAIN) $(POFILE)
diff --git a/usr/src/lib/libresolv2/dnssafe/Makefile.com b/usr/src/lib/libresolv2/dnssafe/Makefile.com
index c3c12e49bd..ec11476c81 100644
--- a/usr/src/lib/libresolv2/dnssafe/Makefile.com
+++ b/usr/src/lib/libresolv2/dnssafe/Makefile.com
@@ -1,11 +1,29 @@
#
+# 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"
#
-# lib/libresolv2/dnssafe/Makefile.com
-#
LIBRARY= dnssafe.a
VERS= .1
@@ -43,11 +61,11 @@ LIBNAME= $(LIBRARY:%.a=%)
LIBS= $(DYNLIB)
LDLIBS += -lmd -lresolv -lc
-MAPDIR = ../spec/$(TRANSMACH)
-SPECMAPFILE = $(MAPDIR)/mapfile
+MAPFILES = ../mapfile-vers
+
SRCDIR= ../../common/dnssafe
SRCS= $(DSTOBJS:%.o=../../common/dst/%.c) \
- $(DNSSAFEOBJS:%o=$(SRCDIR)/%.c)
+ $(DNSSAFEOBJS:%.o=$(SRCDIR)/%.c)
ROOTLIBDIR= $(ROOT)/usr/lib/dns
ROOTLIBDIR64= $(ROOT)/usr/lib/dns/$(MACH64)
diff --git a/usr/src/lib/libresolv2/dnssafe/amd64/Makefile b/usr/src/lib/libresolv2/dnssafe/amd64/Makefile
index 2b37434e6b..8df6381cfa 100644
--- a/usr/src/lib/libresolv2/dnssafe/amd64/Makefile
+++ b/usr/src/lib/libresolv2/dnssafe/amd64/Makefile
@@ -1,12 +1,30 @@
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# 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"
#
-MAPDIR= ../spec/amd64
-
include ../Makefile.com
include ../../../Makefile.lib.64
diff --git a/usr/src/lib/libresolv2/dnssafe/mapfile-vers b/usr/src/lib/libresolv2/dnssafe/mapfile-vers
new file mode 100644
index 0000000000..8da7def4ba
--- /dev/null
+++ b/usr/src/lib/libresolv2/dnssafe/mapfile-vers
@@ -0,0 +1,36 @@
+#
+# 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"
+#
+
+SUNWprivate_1.1 {
+ global:
+ dst_bsafe_init;
+ dst_eay_dss_init;
+ dst_md5_hmac_init;
+ dst_rsaref_init;
+ local:
+ *;
+};
diff --git a/usr/src/lib/libresolv2/dnssafe/spec/Makefile b/usr/src/lib/libresolv2/dnssafe/spec/Makefile
deleted file mode 100644
index 8ad8521042..0000000000
--- a/usr/src/lib/libresolv2/dnssafe/spec/Makefile
+++ /dev/null
@@ -1,8 +0,0 @@
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libresolv2/dnssafe/spec/Makefile
-
-include $(SRC)/lib/Makefile.spec.arch
diff --git a/usr/src/lib/libresolv2/dnssafe/spec/Makefile.targ b/usr/src/lib/libresolv2/dnssafe/spec/Makefile.targ
deleted file mode 100644
index 84dd50716e..0000000000
--- a/usr/src/lib/libresolv2/dnssafe/spec/Makefile.targ
+++ /dev/null
@@ -1,12 +0,0 @@
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libresolv2/dnssafe/spec/Makefile.targ
-
-LIBRARY = dnssafe.a
-VERS = .1
-
-OBJECTS = dnssafe.o
-
diff --git a/usr/src/lib/libresolv2/dnssafe/spec/amd64/Makefile b/usr/src/lib/libresolv2/dnssafe/spec/amd64/Makefile
deleted file mode 100644
index 84ccf3ca89..0000000000
--- a/usr/src/lib/libresolv2/dnssafe/spec/amd64/Makefile
+++ /dev/null
@@ -1,26 +0,0 @@
-#
-# 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
-
-# No public interface, so don't install spec libraries in the proto area
-INS.abilib=
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libresolv2/dnssafe/spec/dnssafe.spec b/usr/src/lib/libresolv2/dnssafe/spec/dnssafe.spec
deleted file mode 100644
index 55b7a26fe0..0000000000
--- a/usr/src/lib/libresolv2/dnssafe/spec/dnssafe.spec
+++ /dev/null
@@ -1,23 +0,0 @@
-#
-# Copyright (c) 1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# lib/libresolv2/dnssafe/spec/dnssafe.spec
-
-function dst_bsafe_init
-version SUNWprivate_1.1
-end
-
-function dst_eay_dss_init
-version SUNWprivate_1.1
-end
-
-function dst_md5_hmac_init
-version SUNWprivate_1.1
-end
-
-function dst_rsaref_init
-version SUNWprivate_1.1
-end
diff --git a/usr/src/lib/libresolv2/dnssafe/spec/i386/Makefile b/usr/src/lib/libresolv2/dnssafe/spec/i386/Makefile
deleted file mode 100644
index d60f7c85f9..0000000000
--- a/usr/src/lib/libresolv2/dnssafe/spec/i386/Makefile
+++ /dev/null
@@ -1,26 +0,0 @@
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libresolv2/dnssafe/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
-#sparc_C_PICFLAGS = -K PIC
-
-include $(SRC)/lib/Makefile.spec
-
-# No public interface, so don't install spec libraries in the proto area
-INS.abilib=
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libresolv2/dnssafe/spec/sparc/Makefile b/usr/src/lib/libresolv2/dnssafe/spec/sparc/Makefile
deleted file mode 100644
index 6046f459ec..0000000000
--- a/usr/src/lib/libresolv2/dnssafe/spec/sparc/Makefile
+++ /dev/null
@@ -1,26 +0,0 @@
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libresolv2/dnssafe/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
-
-# No public interface, so don't install spec libraries in the proto area
-INS.abilib=
-
-install: $(ROOTABILIB)
diff --git a/usr/src/lib/libresolv2/dnssafe/spec/sparcv9/Makefile b/usr/src/lib/libresolv2/dnssafe/spec/sparcv9/Makefile
deleted file mode 100644
index e405d11dc7..0000000000
--- a/usr/src/lib/libresolv2/dnssafe/spec/sparcv9/Makefile
+++ /dev/null
@@ -1,27 +0,0 @@
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-# lib/libresolv2/dnssafe/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
-
-# No public interface, so don't install spec libraries in the proto area
-INS.abilib=
-
-install: $(ROOTABILIB64)
diff --git a/usr/src/lib/libresolv2/dnssafe/spec/versions b/usr/src/lib/libresolv2/dnssafe/spec/versions
deleted file mode 100644
index 6a318d48a3..0000000000
--- a/usr/src/lib/libresolv2/dnssafe/spec/versions
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Copyright 2004 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;
-}