summaryrefslogtreecommitdiff
path: root/usr/src/make_src/Make/lib/makestate
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/make_src/Make/lib/makestate')
-rw-r--r--usr/src/make_src/Make/lib/makestate/Makefile48
-rw-r--r--usr/src/make_src/Make/lib/makestate/src/Makefile50
-rw-r--r--usr/src/make_src/Make/lib/makestate/src/Variant.mk73
3 files changed, 0 insertions, 171 deletions
diff --git a/usr/src/make_src/Make/lib/makestate/Makefile b/usr/src/make_src/Make/lib/makestate/Makefile
deleted file mode 100644
index 9c1ddf0..0000000
--- a/usr/src/make_src/Make/lib/makestate/Makefile
+++ /dev/null
@@ -1,48 +0,0 @@
-#
-# 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 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# @(#)Makefile 1.7 06/12/12
-#
-
-TOP = ../../..
-include $(TOP)/rules/variant.mk
-
-V9_VARIANT :sh= \
-if [ -x /usr/bin/isalist ] ; \
-then \
- for f in `/usr/bin/isalist` ; \
- do \
- if [ "$f" = sparcv9 ] ; \
- then \
- echo sparcv9 ; \
- break ; \
- fi ; \
- if [ "$f" = amd64 ] ; \
- then \
- echo amd64-S2 ; \
- break ; \
- fi ; \
- done ; \
-fi
-
-include $(TOP)/rules/derived.mk
diff --git a/usr/src/make_src/Make/lib/makestate/src/Makefile b/usr/src/make_src/Make/lib/makestate/src/Makefile
deleted file mode 100644
index 21e239d..0000000
--- a/usr/src/make_src/Make/lib/makestate/src/Makefile
+++ /dev/null
@@ -1,50 +0,0 @@
-#
-# 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 1996 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# @(#)Makefile 1.5 06/12/12
-#
-# @(#)Makefile 1.1 96/03/11 SMI
-
-# Generic makefile for use in src directories. Knows how to make common things
-# in the right $(VARIANT) directory.
-
-include $(TOP)/rules/variant.mk
-
-all := TARG = all
-install := TARG = install
-clean := TARG = clean
-test := TARG = test
-l10n_install := TARG = l10n_install
-i18n_install := TARG = i18n_install
-
-SRC = ../src
-MFLAGS += SRC=$(SRC)
-
-# See $(TOP)/rules/master.mk for how these are built.
-%.h %.cc %.C %.E %.o all install clean test l10n_install i18n_install: FRC
- @ if [ ! -d ../$(VARIANT) ]; then \
- mkdir ../$(VARIANT) ; \
- fi
- cd ../$(VARIANT); $(MAKE) $(MFLAGS) -f $(SRC)/Variant.mk DESTDIR=$(DESTDIR) $@
-
-FRC:
diff --git a/usr/src/make_src/Make/lib/makestate/src/Variant.mk b/usr/src/make_src/Make/lib/makestate/src/Variant.mk
deleted file mode 100644
index 26971d5..0000000
--- a/usr/src/make_src/Make/lib/makestate/src/Variant.mk
+++ /dev/null
@@ -1,73 +0,0 @@
-#
-# 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 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# @(#)Variant.mk 1.12 06/12/12
-#
-
-TOP = ../../../..
-
-%.o: $(SRC)/%.c
- $(COMPILE.c) $(OUTPUT_OPTION) $<
-
-include $(TOP)/rules/master.mk
-
-PKG_TOP = $(TOP)/Make
-
-CSRCS = \
- ld_file.c \
- lock.c
-
-LIBNAME = libmakestate.a
-DLIBNAME = libmakestate.so.1
-MSG_FILE = libmakestate.msg
-I18N_DIRS = $(SRC)
-
-CFLAGS += $(V9FLAGS) -KPIC -DTEXT_DOMAIN=\"SUNW_OST_OSLIB\"
-CPPFLAGS=
-
-#include $(TOP)/Make/lib/Lib.mk
-include $(TOP)/rules/lib.mk
-
-POUND_SIGN:sh= echo \#
-RELEASE= 5.11
-VERSION= $(RELEASE_VER)
-PATCHID= $(VERSION)
-DATE:sh = date '+%B %Y'
-RELEASE_DATE= $(DATE)
-PATCH_DATE= $(RELEASE_DATE)
-RELEASE_CM= "@($(POUND_SIGN))RELEASE VERSION SunOS $(RELEASE) $(PATCHID) $(PATCH_DATE)"
-
-PROCESS_COMMENT= mcs -a $(RELEASE_CM)
-POST_PROCESS_SO= $(PROCESS_COMMENT) $@
-
-$(DLIBNAME) : $(LIBNAME)
- $(CC) $(V9FLAGS) -o $@ -dy -G -ztext -h $@ ld_file.o lock.o -lelf
- mcs -d $@
- ${POST_PROCESS_SO}
-
-all: $(DLIBNAME)
-
-install: all
- ${INSTALL} -d ${DESTDIR}/usr/lib$(VAR_DIR)
- ${RM} ${DESTDIR}/usr/lib$(VAR_DIR)/$(DLIBNAME)
- ${INSTALL} $(DLIBNAME) ${DESTDIR}/usr/lib$(VAR_DIR)