summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xusr/src/build127
-rwxr-xr-xusr/src/build_bin_img108
-rwxr-xr-xusr/src/build_src_img93
-rw-r--r--usr/src/make_src/Make/Makefile34
-rw-r--r--usr/src/make_src/Make/bin/Makefile32
-rw-r--r--usr/src/make_src/Make/bin/make/Common.mk46
-rw-r--r--usr/src/make_src/Make/bin/make/Makefile32
-rw-r--r--usr/src/make_src/Make/bin/make/common/default.mk.file231
-rw-r--r--usr/src/make_src/Make/bin/make/make.svr4/Makefile38
-rw-r--r--usr/src/make_src/Make/bin/make/make.xpg4/Makefile36
-rw-r--r--usr/src/make_src/Make/bin/make/smake/Makefile30
-rw-r--r--usr/src/make_src/Make/bin/make/smake/src/Makefile50
-rw-r--r--usr/src/make_src/Make/bin/make/smake/src/Variant.mk155
-rw-r--r--usr/src/make_src/Make/lib/Lib.mk67
-rw-r--r--usr/src/make_src/Make/lib/Makefile39
-rw-r--r--usr/src/make_src/Make/lib/bsd/Makefile29
-rw-r--r--usr/src/make_src/Make/lib/bsd/src/Makefile49
-rw-r--r--usr/src/make_src/Make/lib/bsd/src/Variant.mk45
-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
-rw-r--r--usr/src/make_src/Make/lib/mksdmsi18n/Makefile30
-rw-r--r--usr/src/make_src/Make/lib/mksdmsi18n/src/Makefile46
-rw-r--r--usr/src/make_src/Make/lib/mksdmsi18n/src/Variant.mk52
-rw-r--r--usr/src/make_src/Make/lib/mksdmsi18n/src/lib/Makefile54
-rw-r--r--usr/src/make_src/Make/lib/mksdmsi18n/src/lib/version.mk30
-rw-r--r--usr/src/make_src/Make/lib/mksh/Makefile29
-rw-r--r--usr/src/make_src/Make/lib/mksh/src/Makefile50
-rw-r--r--usr/src/make_src/Make/lib/mksh/src/Variant.mk58
-rw-r--r--usr/src/make_src/Make/lib/mksh/src/libmksh.msg81
-rw-r--r--usr/src/make_src/Make/lib/vroot/Makefile29
-rw-r--r--usr/src/make_src/Make/lib/vroot/src/Makefile49
-rw-r--r--usr/src/make_src/Make/lib/vroot/src/Variant.mk71
-rw-r--r--usr/src/make_src/Make/lib/vroot/src/libvroot.msg38
-rw-r--r--usr/src/make_src/Makefile38
-rw-r--r--usr/src/make_src/exe/options.sh105
-rw-r--r--usr/src/make_src/exe/sanity-check.sh60
-rw-r--r--usr/src/make_src/exe/variant.sh55
-rw-r--r--usr/src/make_src/include/Makefile30
-rw-r--r--usr/src/make_src/rules/computed-options.mk37
-rw-r--r--usr/src/make_src/rules/derived.mk66
-rw-r--r--usr/src/make_src/rules/dmake.mk33
-rw-r--r--usr/src/make_src/rules/i18n-install.mk73
-rw-r--r--usr/src/make_src/rules/import.mk28
-rw-r--r--usr/src/make_src/rules/install.mk240
-rw-r--r--usr/src/make_src/rules/intel-S2.mk60
-rw-r--r--usr/src/make_src/rules/l10n-install.mk70
-rw-r--r--usr/src/make_src/rules/lib.mk131
-rw-r--r--usr/src/make_src/rules/libraries.mk62
-rw-r--r--usr/src/make_src/rules/master.mk109
-rw-r--r--usr/src/make_src/rules/recurse.mk58
-rw-r--r--usr/src/make_src/rules/singleton.mk63
-rw-r--r--usr/src/make_src/rules/solaris.mk55
-rw-r--r--usr/src/make_src/rules/sparc-S2.mk61
-rw-r--r--usr/src/make_src/rules/variant.mk45
55 files changed, 0 insertions, 3508 deletions
diff --git a/usr/src/build b/usr/src/build
deleted file mode 100755
index 967f5af..0000000
--- a/usr/src/build
+++ /dev/null
@@ -1,127 +0,0 @@
-#!/bin/csh -f
-#
-# 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.
-#
-# @(#)build 1.15 06/12/18
-#
-
-
-# This script compiles the "make" sources to produce a "make"
-# executable.
-#
-# See also "./README" for a description of its use.
-#
-#
-# Optional environment variables:
-#
-# name typical use description
-#
-# STUDIOBIN $STUDIOBIN/cc installation of the Sun Studio compilers
-# CC $CC -c x.c preferred C compiler
-# CCC $CCC -c x.cc preferred C++ compiler
-# MAKE $MAKE {target} preferred "make" executable
-# DESTDIR $DESTDIR/usr/ccs root of installation tree
-
-# Legal arguments are "clean", "all", and "install". The default
-# is "install".
-
-set erruse = 0
-
-if ( $#argv == 0 ) then
- set args = ( install )
-else if ( $#argv == 1 ) then
- if ( ( $argv[1] == clean ) || ( $argv[1] == all ) || ( $argv[1] == install ) ) then
- set args = ( $argv )
- else
- set erruse = 1
- endif
-else
- set erruse = 1
-endif
-
-if ( $erruse ) then
- echo 'usage: build [ clean | all | install ]'
- exit 0
-endif
-
-# Set up environment variables. User-supplied values are respected.
-# If the variable is not set by the user, a default is supplied.
-# If CC, CCC, or MAKE are not set, they are derived from STUDIOBIN
-
-if ( ! $?STUDIOBIN ) then
- setenv STUDIOBIN /opt/SUNWspro/bin
-endif
-
-if ( ! $?CC ) then
- setenv CC ${STUDIOBIN}/cc
-endif
-
-if ( ! $?CCC ) then
- setenv CCC ${STUDIOBIN}/CC
-endif
-
-if ( ! $?MAKE ) then
- setenv MAKE "${STUDIOBIN}/dmake -m serial"
-endif
-
-setenv CC64 $CC
-setenv CCC64 $CCC
-
-if ( ! $?DESTDIR ) then
- setenv DESTDIR ../../destdir/root_`uname -p`
-endif
-
-# Ensure that $DESTDIR exists, and is absolute.
-
-if ( ! -d $DESTDIR ) then
- mkdir -p $DESTDIR
-endif
-
-set p = `pwd`
-cd $DESTDIR
-setenv DESTDIR `pwd`
-cd $p
-
-cd ./make_src
-
-# Do the build itself, using .../make_src/Makefile.
-
-echo
-echo === starting build ===
-echo
-echo Using variables:
-echo
-echo ' 'CC = $CC
-echo ' 'CCC = $CCC
-echo ' 'DESTDIR = $DESTDIR
-echo ' 'MAKE = $MAKE
-echo ' 'STUDIOBIN = $STUDIOBIN
-echo
-$MAKE CC=${CC} CCC=${CCC} DESTDIR=${DESTDIR} MAKE=${MAKE} $args
-echo
-echo === build complete ===
-echo
-echo Binaries installed at $DESTDIR':'
-echo
-cd $DESTDIR
-find . -type f -print | sed 's/^/ /'
diff --git a/usr/src/build_bin_img b/usr/src/build_bin_img
deleted file mode 100755
index d48f75b..0000000
--- a/usr/src/build_bin_img
+++ /dev/null
@@ -1,108 +0,0 @@
-#!/bin/csh -f
-#
-# 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.
-#
-# @(#)build_bin_img 1.18 06/12/18
-#
-
-
-# This script creates a "tarball" distribution image of the "make" executable.
-#
-# See also "./README" for a description of its use.
-#
-#
-# Optional environment variables:
-#
-# name typical use description
-#
-# DESTDIR $DESTDIR/usr/ccs root of installation tree
-# BINIMGFILE $BINIMGFILE''.bz2 bzipped tarball image
-
-
-if ( $#argv > 0 ) then
- echo 'usage: build_bin_img'
- exit 0
-endif
-
-# Set up environment variables. User-supplied values are respected.
-# If the variable is not set by the user, a default is supplied.
-
-if ( ! $?DESTDIR ) then
- setenv DESTDIR ../../destdir/root_`uname -p`
-endif
-
-if ( ! $?BINIMGFILE ) then
- setenv BINIMGFILE ../../imgdir/devpro-make-open-bins-`/usr/bin/date -u +'%'Y'%'m'%'d`.`uname -p`.tar
-endif
-
-# Compile the sources to produce the "make" binaries. See "./README"
-# for details.
-
-./build
-
-# Ensure that the path to $BINIMGFILE exists, and is absolute.
-
-set t = $BINIMGFILE
-
-if ( Z$BINIMGFILE =~ Z*/* ) then
- set bifd = $t:h
- set bifn = $t:t
-else
- set bifd = .
- set bifn = $t
-endif
-
-mkdir -p $bifd
-
-set p = `pwd`
-cd $bifd
-setenv BINIMGFILE `pwd`/$bifn
-cd $p
-
-# Ensure that $DESTDIR is absolute.
-
-set p = `pwd`
-cd $DESTDIR
-setenv DESTDIR `pwd`
-cd $p
-
-echo
-echo === starting build of binary image ===
-echo
-echo Using variables:
-echo
-echo ' 'DESTDIR = $DESTDIR
-echo ' 'BINIMGFILE = $BINIMGFILE
-
-# Create and compress the "tarball".
-
-rm -f $BINIMGFILE $BINIMGFILE''.bz2
-
-tar cf $BINIMGFILE -C $DESTDIR .
-
-bzip2 $BINIMGFILE
-
-echo
-echo === build of binary image complete ===
-echo
-ls -l $BINIMGFILE''*
diff --git a/usr/src/build_src_img b/usr/src/build_src_img
deleted file mode 100755
index 212d6f0..0000000
--- a/usr/src/build_src_img
+++ /dev/null
@@ -1,93 +0,0 @@
-#!/bin/csh -f
-#
-# 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.
-#
-# @(#)build_src_img 1.13 06/12/13
-#
-
-
-# This script creates a "tarball" distribution image of the "make" source code.
-#
-# See also "./README" for a description of its use
-#
-#
-# Optional environment variables:
-#
-# name typical use description
-#
-# SRCIMGFILE $SRCIMGFILE''.bz2 bzipped tarball image
-
-if ( $#argv > 0 ) then
- echo 'usage: build_src_img'
- exit 0
-endif
-
-# Set up environment variable. User-supplied value is respected.
-# If the variable is not set by the user, a default is supplied.
-
-if ( ! $?SRCIMGFILE ) then
- setenv SRCIMGFILE ../../imgdir/devpro-make-src-`/usr/bin/date -u +'%'Y'%'m'%'d`.tar
-endif
-
-# Ensure that the path to $SRCIMGFILE exists, and is absolute.
-
-set t = $SRCIMGFILE
-
-if ( Z$t =~ Z*/* ) then
- set sifd = $t:h
- set sifn = $t:t
-else
- set sifd = .
- set sifn = $t
-endif
-
-if ( ! -d $sifd ) then
- mkdir -p $sifd
-endif
-
-set p = `pwd`
-cd $sifd
-setenv SRCIMGFILE `pwd`/$sifn
-cd $p
-
-echo
-echo === starting build of source image ===
-echo
-echo Using variable:
-echo
-echo ' 'SRCIMGFILE = $SRCIMGFILE
-
-# Create and compress the "tarball".
-
-cd ../..
-
-rm -f $SRCIMGFILE $SRCIMGFILE''.bz2
-
-tar cf $SRCIMGFILE ./README ./ReleaseNotes ./usr/src
-
-bzip2 $SRCIMGFILE
-
-echo
-echo === build of source image complete ===
-echo
-ls -l $SRCIMGFILE''*
diff --git a/usr/src/make_src/Make/Makefile b/usr/src/make_src/Make/Makefile
deleted file mode 100644
index 886d661..0000000
--- a/usr/src/make_src/Make/Makefile
+++ /dev/null
@@ -1,34 +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.21 06/12/12
-#
-
-TOP = ..
-
-SUBDIRS= lib \
- bin \
- localize \
- man
-
-include ${TOP}/rules/recurse.mk
diff --git a/usr/src/make_src/Make/bin/Makefile b/usr/src/make_src/Make/bin/Makefile
deleted file mode 100644
index a210f0e..0000000
--- a/usr/src/make_src/Make/bin/Makefile
+++ /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 (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.16 06/12/12
-#
-
-TOP = ../..
-
-# SUBDIRS = make maketool rxm rxs
-SUBDIRS = make rxm rxs
-
-include $(TOP)/rules/recurse.mk
diff --git a/usr/src/make_src/Make/bin/make/Common.mk b/usr/src/make_src/Make/bin/make/Common.mk
deleted file mode 100644
index bf00849..0000000
--- a/usr/src/make_src/Make/bin/make/Common.mk
+++ /dev/null
@@ -1,46 +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.
-#
-# @(#)Common.mk 1.3 06/12/12
-#
-
-TOP = ../../../../..
-include $(TOP)/rules/master.mk
-
-PKG_TOP = $(TOP)/Make
-
-LIBBSD_DIR = $(PKG_TOP)/libbsd
-LIBBSD = $(LIBBSD_DIR)/$(VARIANT)/libbsd.a
-
-LIBMKSDMSI18N_DIR = $(PKG_TOP)/libmksdmsi18n
-LIBMKSDMSI18N = $(LIBMKSDMSI18N_DIR)/$(VARIANT)/libmksdmsi18n.a
-
-LIBMKSH_DIR = $(PKG_TOP)/libmksh
-LIBMKSH = $(LIBMKSH_DIR)/$(VARIANT)/libmksh.a
-
-LIBVROOT_DIR = $(PKG_TOP)/libvroot
-LIBVROOT = $(LIBVROOT_DIR)/$(VARIANT)/libvroot.a
-
-SRC = ../src
-include $(TOP)/rules/derived.mk
-
diff --git a/usr/src/make_src/Make/bin/make/Makefile b/usr/src/make_src/Make/bin/make/Makefile
deleted file mode 100644
index 58d212c..0000000
--- a/usr/src/make_src/Make/bin/make/Makefile
+++ /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 (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 1997 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# @(#)Makefile 1.7 06/12/12
-#
-
-TOP = ../../..
-
-#SUBDIRS = dmake localize
-SUBDIRS = smake make.xpg4 make.svr4
-
-include $(TOP)/rules/recurse.mk
diff --git a/usr/src/make_src/Make/bin/make/common/default.mk.file b/usr/src/make_src/Make/bin/make/common/default.mk.file
deleted file mode 100644
index 6128d35..0000000
--- a/usr/src/make_src/Make/bin/make/common/default.mk.file
+++ /dev/null
@@ -1,231 +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 1993 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# @(#)default.mk.file 1.4 06/12/12
-#
-
-SUFFIXES = .o .c .c~ .cc .cc~ .s .s~ .S .S~ .ln .f .f~ .F .F~ .l .l~ \
- .mod .mod~ .sym .def .def~ .p .p~ .r .r~ .y .y~ .h .h~ .sh .sh~ \
- .cps .cps~
-.SUFFIXES: $(SUFFIXES)
-
-# OUTPUT_OPTION should be defined to "-o $@" when
-# the default rules are used for non-local files.
-OUTPUT_OPTION=
-
-# C language section.
-CC=cc
-CFLAGS=
-CPPFLAGS=
-LINT=lint
-LINTFLAGS=
-COMPILE.c=$(CC) $(CFLAGS) $(CPPFLAGS) -target $(TARGET_ARCH:-%=%) -c
-LINK.c=$(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -target $(TARGET_ARCH:-%=%)
-LINT.c=$(LINT) $(LINTFLAGS) $(CPPFLAGS) $(TARGET_ARCH)
-.c:
- $(LINK.c) -o $@ $< $(LDLIBS)
-.c.ln:
- $(LINT.c) $(OUTPUT_OPTION) -i $<
-.c.o:
- $(COMPILE.c) $(OUTPUT_OPTION) $<
-.c.a:
- $(COMPILE.c) -o $% $<
- $(AR) $(ARFLAGS) $@ $%
- $(RM) $%
-
-# C language section. yacc.
-YACC=yacc
-YFLAGS=
-YACC.y=$(YACC) $(YFLAGS)
-.y:
- $(YACC.y) $<
- $(LINK.c) -o $@ y.tab.c $(LDLIBS)
- $(RM) y.tab.c
-.y.c:
- $(YACC.y) $<
- mv y.tab.c $@
-.y.ln:
- $(YACC.y) $<
- $(LINT.c) -o $@ -i y.tab.c
- $(RM) y.tab.c
-.y.o:
- $(YACC.y) $<
- $(COMPILE.c) -o $@ y.tab.c
- $(RM) y.tab.c
-
-# C language section. lex.
-LEX=lex
-LFLAGS=
-LEX.l=$(LEX) $(LFLAGS) -t
-.l:
- $(RM) $*.c
- $(LEX.l) $< > $*.c
- $(LINK.c) -o $@ $*.c -ll $(LDLIBS)
- $(RM) $*.c
-.l.c :
- $(RM) $@
- $(LEX.l) $< > $@
-.l.ln:
- $(RM) $*.c
- $(LEX.l) $< > $*.c
- $(LINT.c) -o $@ -i $*.c
- $(RM) $*.c
-.l.o:
- $(RM) $*.c
- $(LEX.l) $< > $*.c
- $(COMPILE.c) -o $@ $*.c
- $(RM) $*.c
-
-# C++ language section.
-CCC=CC
-CCFLAGS=
-COMPILE.cc=$(CCC) $(CCFLAGS) $(CPPFLAGS) $(TARGET_ARCH) -c
-LINK.cc=$(CCC) $(CCFLAGS) $(CPPFLAGS) $(LDFLAGS) $(TARGET_ARCH)
-.cc:
- $(LINK.cc) -o $@ $< $(LDLIBS)
-.cc.o:
- $(COMPILE.cc) $(OUTPUT_OPTION) $<
-.cc.a:
- $(COMPILE.cc) -o $% $<
- $(AR) $(ARFLAGS) $@ $%
- $(RM) $%
-
-# FORTRAN section.
-FC=f77
-FFLAGS=
-COMPILE.f=$(FC) $(FFLAGS) $(TARGET_ARCH) -c
-LINK.f=$(FC) $(FFLAGS) $(LDFLAGS) $(TARGET_ARCH)
-COMPILE.F=$(FC) $(FFLAGS) $(CPPFLAGS) $(TARGET_ARCH) -c
-LINK.F=$(FC) $(FFLAGS) $(CPPFLAGS) $(LDFLAGS) $(TARGET_ARCH)
-.f:
- $(LINK.f) -o $@ $< $(LDLIBS)
-.f.o:
- $(COMPILE.f) $(OUTPUT_OPTION) $<
-.f.a:
- $(COMPILE.f) -o $% $<
- $(AR) $(ARFLAGS) $@ $%
- $(RM) $%
-.F:
- $(LINK.F) -o $@ $< $(LDLIBS)
-.F.o:
- $(COMPILE.F) $(OUTPUT_OPTION) $<
-.F.a:
- $(COMPILE.F) -o $% $<
- $(AR) $(ARFLAGS) $@ $%
- $(RM) $%
-
-# FORTRAN section. ratfor.
-RFLAGS=
-COMPILE.r=$(FC) $(FFLAGS) $(RFLAGS) $(TARGET_ARCH) -c
-LINK.r=$(FC) $(FFLAGS) $(RFLAGS) $(LDFLAGS) $(TARGET_ARCH)
-.r:
- $(LINK.r) -o $@ $< $(LDLIBS)
-.r.o:
- $(COMPILE.r) $(OUTPUT_OPTION) $<
-.r.a:
- $(COMPILE.r) -o $% $<
- $(AR) $(ARFLAGS) $@ $%
- $(RM) $%
-
-# Modula-2 section.
-M2C=m2c
-M2FLAGS=
-MODFLAGS=
-DEFFLAGS=
-COMPILE.def=$(M2C) $(M2FLAGS) $(DEFFLAGS) $(TARGET_ARCH)
-COMPILE.mod=$(M2C) $(M2FLAGS) $(MODFLAGS) $(TARGET_ARCH)
-.def.sym:
- $(COMPILE.def) -o $@ $<
-.mod:
- $(COMPILE.mod) -o $@ -e $@ $<
-.mod.o:
- $(COMPILE.mod) -o $@ $<
-.mod.a:
- $(COMPILE.mod) -o $% $<
- $(AR) $(ARFLAGS) $@ $%
- $(RM) $%
-
-# Pascal section.
-PC=pc
-PFLAGS=
-COMPILE.p=$(PC) $(PFLAGS) $(CPPFLAGS) $(TARGET_ARCH) -c
-LINK.p=$(PC) $(PFLAGS) $(CPPFLAGS) $(LDFLAGS) $(TARGET_ARCH)
-.p:
- $(LINK.p) -o $@ $< $(LDLIBS)
-.p.o:
- $(COMPILE.p) $(OUTPUT_OPTION) $<
-.p.a:
- $(COMPILE.p) -o $% $<
- $(AR) $(ARFLAGS) $@ $%
- $(RM) $%
-
-# Assembly section.
-AS=as
-ASFLAGS=
-COMPILE.s=$(AS) $(ASFLAGS) $(TARGET_MACH)
-COMPILE.S=$(CC) $(ASFLAGS) $(CPPFLAGS) $(TARGET_ARCH) -c
-.s.o:
- $(COMPILE.s) -o $@ $<
-.s.a:
- $(COMPILE.s) -o $% $<
- $(AR) $(ARFLAGS) $@ $%
- $(RM) $%
-.S.o:
- $(COMPILE.S) -o $@ $<
-.S.a:
- $(COMPILE.S) -o $% $<
- $(AR) $(ARFLAGS) $@ $%
- $(RM) $%
-
-# Shell section.
-.sh:
- $(RM) $@
- cat $< > $@
- chmod +x $@
-
-# NeWS section
-CPS=cps
-CPSFLAGS=
-.cps.h:
- $(CPS) $(CPSFLAGS) $*.cps
-
-# Miscellaneous section.
-LD=ld
-LDFLAGS=
-LDLIBS=
-MAKE=make
-RM=rm -f
-AR=ar
-ARFLAGS=rv
-GET=/usr/sccs/get
-GFLAGS=
-
-markfile.o: markfile
- echo "static char _sccsid[] = \"`grep @'(#)' markfile`\";" > markfile.c
- cc -c markfile.c
- $(RM) markfile.c
-
-SCCSFLAGS=
-SCCSGETFLAGS=-s
-.SCCS_GET:
- sccs $(SCCSFLAGS) get $(SCCSGETFLAGS) $@ -G$@
diff --git a/usr/src/make_src/Make/bin/make/make.svr4/Makefile b/usr/src/make_src/Make/bin/make/make.svr4/Makefile
deleted file mode 100644
index 96000a3..0000000
--- a/usr/src/make_src/Make/bin/make/make.svr4/Makefile
+++ /dev/null
@@ -1,38 +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 2001 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# @(#)Makefile 1.6 06/12/12
-#
-
-TOP=../../../..
-include $(TOP)/rules/master.mk
-
-all clean clobber l10n_install:
-
-install:
- $(INSTALL) -d $(DESTDIR)/usr/lib
- $(INSTALL) -d $(DESTDIR)/usr/ccs/lib
- rm -f $(DESTDIR)/usr/lib/svr4.make
- rm -f $(DESTDIR)/usr/ccs/lib/svr4.make
- ln $(DESTDIR)/usr/ccs/bin/make $(DESTDIR)/usr/lib/svr4.make
- (cd $(DESTDIR)/usr/ccs/lib; ln -s ../../lib/svr4.make svr4.make)
diff --git a/usr/src/make_src/Make/bin/make/make.xpg4/Makefile b/usr/src/make_src/Make/bin/make/make.xpg4/Makefile
deleted file mode 100644
index 6688c9d..0000000
--- a/usr/src/make_src/Make/bin/make/make.xpg4/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 (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.2 06/12/12
-#
-# @(#)Makefile 1.1 95/06/29 SMI
-
-TOP=../../../..
-include $(TOP)/rules/master.mk
-
-all clean clobber l10n_install:
-
-install:
- $(INSTALL) -d $(DESTDIR)/usr/xpg4/bin
- rm -f $(DESTDIR)/usr/xpg4/bin/make
- ln $(DESTDIR)/usr/ccs/bin/make $(DESTDIR)/usr/xpg4/bin/make
diff --git a/usr/src/make_src/Make/bin/make/smake/Makefile b/usr/src/make_src/Make/bin/make/smake/Makefile
deleted file mode 100644
index 0cf0d68..0000000
--- a/usr/src/make_src/Make/bin/make/smake/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 (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
-#
-
-TOP = ../../../..
-include $(TOP)/rules/variant.mk
-include $(TOP)/rules/derived.mk
-
diff --git a/usr/src/make_src/Make/bin/make/smake/src/Makefile b/usr/src/make_src/Make/bin/make/smake/src/Makefile
deleted file mode 100644
index bdefefc..0000000
--- a/usr/src/make_src/Make/bin/make/smake/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.3 06/12/12
-#
-
-# Generic makefile for use in src directories. Knows how to make common things
-# in the right $(VARIANT) directory.
-
-#TOP = ../../../../..
-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/bin/make/smake/src/Variant.mk b/usr/src/make_src/Make/bin/make/smake/src/Variant.mk
deleted file mode 100644
index c2e5f64..0000000
--- a/usr/src/make_src/Make/bin/make/smake/src/Variant.mk
+++ /dev/null
@@ -1,155 +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.36 06/12/12
-#
-
-TOP = ../../../../..
-include $(TOP)/rules/master.mk
-include $(TOP)/Make/lib/Lib.mk
-
-# RELEASE_VER should be "Generic" for FCS. Otherwise it should be overridden
-# to display build number - "Build XX", patch number - "Patch XXXXXX-XX", etc.
-
-PKG_TOP = ../../../..
-PROG = make
-PACKAGE = SUNWspro
-PRODVER = 11
-PRODVER_V = SunOS 5.11
-RELEASE_VER = Generic
-DATE:sh = date '+%B %Y'
-
-VERSTRING = RELEASE VERSION $(PRODVER_V) $(RELEASE_VER) $(DATE)
-
-MORE_SRC = \
- ar.cc \
- depvar.cc \
- doname.cc \
- dosys.cc \
- files.cc \
- globals.cc \
- implicit.cc \
- macro.cc \
- main.cc \
- misc.cc \
- nse_printdep.cc \
- read.cc \
- read2.cc \
- rep.cc \
- state.cc
-
-CPPFLAGS += -I$(PKG_TOP)/include
-
-LDLIB += \
- -lnsl \
- -lsocket \
- -lw
-
-HDRS_DIR = $(PKG_TOP)/include/mk
-HDRS_LIST = $(HDRS_DIR)/copyright.h $(HDRS_DIR)/defs.h
-
-.INIT: $(HDRS_LIST)
-
-SRCS = $(PROG).cc $(MORE_SRC)
-OBJS = $(SRCS:%.cc=%.o)
-
-LIB += -lintl -lm
-
-all install:: $(PROG)
-
-$(PROG): $(OBJS)
- $(CCC) $(CCFLAGS) $(LDFLAGS) -o $@ \
- $(OBJS) $(LIB) $(I18LIB) $(LDLIB)
- /bin/sh $(TOP)/exe/sanity-check.sh $(TOP) $(PROG)
-
-clean:
- $(RM) $(OBJS) $(PROG)
-
-
-include $(TOP)/rules/computed-options.mk
-
-#
-# This LIB macro must be declared after the include's above
-#
-LIB = \
- $(LIBMKSH) \
- $(LIBMKSDMSI18N) \
- $(LIBBSD) \
- $(LIBVROOT)
-
-%.o: ../../common/%.cc
- $(COMPILE.cc) $(OUTPUT_OPTION) $<
-
-depvar.o nse.o nse_printdep.o := CPPFLAGS += -DSUNOS4_AND_AFTER
-
-LDFLAGS += -xildoff -norunpath
-
-install:: install-make-hdrs install-make-bin
-
-IHDR = make.rules.file
-VIHDR = svr4.make.rules.file
-HDR = ${PKG_TOP}/bin/make/common/make.rules.file
-VHDR = ${PKG_TOP}/bin/make/common/svr4.make.rules.file
-HDRSDIR = $(DESTDIR)/usr/share/lib/make
-HDRFILE = make.rules
-VHDRFILE = svr4.make.rules
-SMAKEDIR = $(DESTDIR)/usr/ccs/bin
-
-install-make-bin: make
- $(INSTALL) -d $(SMAKEDIR)
- $(INSTALL) make $(SMAKEDIR)
- mcs -d $(SMAKEDIR)/make
- mcs -a '@(#)$(VERSTRING)' $(SMAKEDIR)/make
-
-install-make-hdrs: $(HDR) $(VHDR)
- $(INSTALL) -d $(HDRSDIR)
- $(INSTALL) -m 0444 $(HDR) $(HDRSDIR)
- mv -f $(HDRSDIR)/$(IHDR) $(HDRSDIR)/$(HDRFILE)
- $(INSTALL) -m 0444 $(VHDR) $(HDRSDIR)
- mv -f $(HDRSDIR)/$(VIHDR) $(HDRSDIR)/$(VHDRFILE)
-
-
-#
-# i18n stuff
-#
-MAKE_MSG = SUNW_SPRO_MAKE.msg
-#I18N_DIRS = ../../common ../../../../lib/bsd/src ../../../../lib/mksh/src ../../../../lib/vroot/src
-I18N_DIRS = ../../common
-TEXTDOMAIN = SUNW_SPRO_MAKE
-APPPATH = $(PKG_TOP)/bin/make/smake/$(VARIANT)
-LIB_DESTDIR = $(DESTDIR)/usr/lib
-CAT_DESTDIR = $(LIB_DESTDIR)/locale/C/LC_MESSAGES
-
-$(CAT_DESTDIR):
- $(INSTALL) -d $@
-
-msg_catalogs: $(CAT_DESTDIR) .WAIT MAKE_MSG
- cp $(APPPATH)/$(TEXTDOMAIN).msg $(CAT_DESTDIR)
-
-MAKE_MSG:
- $(GENMSG) -l $(SRC)/genmsg.project -o $(TEXTDOMAIN).msg `find $(I18N_DIRS) \( -name '*.cc' -o -name '*.c' -o -name '*.y' -o -name '*.h' \) -print | grep -v /SCCS/`
- rm -f *.cc.new
-
-i18n_install: msg_catalogs
-
-FRC:
diff --git a/usr/src/make_src/Make/lib/Lib.mk b/usr/src/make_src/Make/lib/Lib.mk
deleted file mode 100644
index 2bf2147..0000000
--- a/usr/src/make_src/Make/lib/Lib.mk
+++ /dev/null
@@ -1,67 +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 2001 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# @(#)Lib.mk 1.13 06/12/12
-#
-
-# Definitions of the libraries supplied by make/dmake.
-# You must correctly define TOP before including this file!
-
-MAKE_TOP = $(TOP)/Make
-
-LIBBSD_DIR = $(MAKE_TOP)/lib/bsd
-LIBBSD = $(LIBBSD_DIR)/$(VARIANT)/libbsd.a
-
-LIBDMRXM_DIR = $(MAKE_TOP)/lib/dmrxm
-LIBDMRXM = $(LIBDMRXM_DIR)/$(VARIANT)/libdmrxm.a
-
-LIBDMRXS_DIR = $(MAKE_TOP)/lib/dmrxs
-LIBDMRXS = $(LIBDMRXS_DIR)/$(VARIANT)/libdmrxs.a
-
-LIBMAKESTATE_DIR = $(MAKE_TOP)/lib/makestate
-LIBMAKESTATE = $(LIBMAKESTATE_DIR)/$(VARIANT)/libmakestate.a
-
-LIBMKSDMSI18N_DIR = $(MAKE_TOP)/lib/mksdmsi18n
-LIBMKSDMSI18N = $(LIBMKSDMSI18N_DIR)/$(VARIANT)/libmksdmsi18n.a
-
-LIBMKSH_DIR = $(MAKE_TOP)/lib/mksh
-LIBMKSH = $(LIBMKSH_DIR)/$(VARIANT)/libmksh.a
-
-LIBVROOT_DIR = $(MAKE_TOP)/lib/vroot
-LIBVROOT = $(LIBVROOT_DIR)/$(VARIANT)/libvroot.a
-
-LIBDM_DIR = $(MAKE_TOP)/lib/dm
-LIBDM = $(LIBDM_DIR)/$(VARIANT)/libdm.a
-
-LIBDMCONF_DIR = $(MAKE_TOP)/lib/dmconf
-LIBDMCONF = $(LIBDMCONF_DIR)/$(VARIANT)/libdmconf.a
-
-LIBDMRC_DIR = $(MAKE_TOP)/lib/dmrc
-LIBDMRC = $(LIBDMRC_DIR)/$(VARIANT)/libdmrc.a
-
-LIBDMTHREAD_DIR = $(MAKE_TOP)/lib/dmthread
-LIBDMTHREAD = $(LIBDMTHREAD_DIR)/$(VARIANT)/libdmthread.a
-
-LIBRX_DIR = $(MAKE_TOP)/lib/rx
-LIBRX = $(LIBRX_DIR)/$(VARIANT)/librx.a
-
diff --git a/usr/src/make_src/Make/lib/Makefile b/usr/src/make_src/Make/lib/Makefile
deleted file mode 100644
index 0e0d489..0000000
--- a/usr/src/make_src/Make/lib/Makefile
+++ /dev/null
@@ -1,39 +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.8 06/12/12
-#
-# @(#)Makefile 1.4 96/03/16 SMI
-
-TOP = ../..
-
-SUBDIRS = \
- makestate \
- bsd \
- dmrxm \
- dmrxs \
- mksdmsi18n \
- mksh \
- vroot
-
-include $(TOP)/rules/recurse.mk
diff --git a/usr/src/make_src/Make/lib/bsd/Makefile b/usr/src/make_src/Make/lib/bsd/Makefile
deleted file mode 100644
index fd663cd..0000000
--- a/usr/src/make_src/Make/lib/bsd/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 (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
-#
-
-TOP = ../../..
-include $(TOP)/rules/variant.mk
-include $(TOP)/rules/derived.mk
diff --git a/usr/src/make_src/Make/lib/bsd/src/Makefile b/usr/src/make_src/Make/lib/bsd/src/Makefile
deleted file mode 100644
index 299c46d..0000000
--- a/usr/src/make_src/Make/lib/bsd/src/Makefile
+++ /dev/null
@@ -1,49 +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.3 06/12/12
-#
-
-# 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/bsd/src/Variant.mk b/usr/src/make_src/Make/lib/bsd/src/Variant.mk
deleted file mode 100644
index 650ee3e..0000000
--- a/usr/src/make_src/Make/lib/bsd/src/Variant.mk
+++ /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 (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.
-#
-# @(#)Variant.mk 1.13 06/12/12
-#
-
-TOP = ../../../..
-include ${TOP}/rules/master.mk
-
-PKG_TOP = $(TOP)/Make
-CPPFLAGS += -I${PKG_TOP}/include
-MSG_FILE = libbsd.msg
-I18N_DIRS = $(SRC)
-
-CCSRCS = bsd.cc
-CSRCS =
-
-HDRS_DIR = ${PKG_TOP}/include/bsd
-
-.INIT: ${HDRS_DIR}/bsd.h
-
-LIBNAME = libbsd.a
-
-include ${TOP}/rules/lib.mk
-
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)
diff --git a/usr/src/make_src/Make/lib/mksdmsi18n/Makefile b/usr/src/make_src/Make/lib/mksdmsi18n/Makefile
deleted file mode 100644
index c9d8161..0000000
--- a/usr/src/make_src/Make/lib/mksdmsi18n/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 (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
-#
-
-TOP = ../../..
-include $(TOP)/rules/variant.mk
-include $(TOP)/rules/derived.mk
-
diff --git a/usr/src/make_src/Make/lib/mksdmsi18n/src/Makefile b/usr/src/make_src/Make/lib/mksdmsi18n/src/Makefile
deleted file mode 100644
index f27801b..0000000
--- a/usr/src/make_src/Make/lib/mksdmsi18n/src/Makefile
+++ /dev/null
@@ -1,46 +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.10 06/12/12
-#
-
-TOP = ../../../..
-include $(TOP)/rules/master.mk
-
-SUBDIRS = lib
-include $(TOP)/rules/recurse.mk
-include $(SRC)/lib/version.mk
-
-PKG_TOP = $(TOP)/Make
-CPPFLAGS += -I$(PKG_TOP)/include
-
-CCSRCS = libmksdmsi18n_init.cc
-
-LIBNAME = libmksdmsi18n.a
-
-#
-# Pass in the version number for the i18n message catalog.
-#
-libmksdmsi18n_init.o := CPPFLAGS += -DI18N_VERSION=$(VERSION)
-
-include $(TOP)/rules/lib.mk
diff --git a/usr/src/make_src/Make/lib/mksdmsi18n/src/Variant.mk b/usr/src/make_src/Make/lib/mksdmsi18n/src/Variant.mk
deleted file mode 100644
index 1faef99..0000000
--- a/usr/src/make_src/Make/lib/mksdmsi18n/src/Variant.mk
+++ /dev/null
@@ -1,52 +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 1997 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# @(#)Variant.mk 1.4 06/12/12
-#
-
-TOP = ../../../..
-include $(TOP)/rules/master.mk
-#include $(TOP)/rules/dmake.mk
-
-#SUBDIRS = $(SRC)/lib
-#include $(TOP)/rules/recurse.mk
-
-CCSRCS = \
- libmksdmsi18n_init.cc
-
-CSRCS =
-
-include $(SRC)/lib/version.mk
-
-libmksdmsi18n_init.o := CPPFLAGS += -DI18N_VERSION=$(VERSION)
-
-#PKG_TOP = $(TOP)/Make
-#CPPFLAGS += -I$(PKG_TOP)/include
-
-LIBNAME = libmksdmsi18n.a
-MSG_FILE = libmksdmsi18n.msg
-I18N_DIRS = $(SRC)
-
-include $(TOP)/Make/lib/Lib.mk
-include $(TOP)/rules/lib.mk
-
diff --git a/usr/src/make_src/Make/lib/mksdmsi18n/src/lib/Makefile b/usr/src/make_src/Make/lib/mksdmsi18n/src/lib/Makefile
deleted file mode 100644
index 73399b1..0000000
--- a/usr/src/make_src/Make/lib/mksdmsi18n/src/lib/Makefile
+++ /dev/null
@@ -1,54 +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.7 06/12/12
-#
-
-include version.mk
-
-TOP = ../../../../..
-PKG_TOP = $(TOP)/Make
-PKG_LIB_TOP = $(PKG_TOP)/lib
-I18N_LIBS = bsd dmrxm dmrxs mksh vroot
-I18N_DIRS = $(I18N_LIBS:%=$(PKG_LIB_TOP)/%/src)
-SRC = .
-APPPATH = .
-LIBNAME = libmksdmsi18n
-TEXTDOMAIN = $(LIBNAME)_$(VERSION)
-MSG_FILE = $(TEXTDOMAIN).msg
-
-all clean:
-install: catalogs .WAIT i18n_install
-
-#
-# This is a hack until the top level makefiles for i18n/l10n message catalogs
-# are better organized and written.
-# This "catalogs" target was cp'ed from $(TOP)/rules/lib.mk
-#
-catalogs:
- $(GENMSG) -l $(SRC)/genmsg.project -o $(MSG_FILE) `find $(I18N_DIRS) \( -name '*.cc' -o -name '*.c' -o -name '*.y' \) -print | grep -v /SCCS/`
- rm -f *.cc.new
-
-include $(PKG_TOP)/prodver.mk
-include $(TOP)/rules/i18n-install.mk
-
diff --git a/usr/src/make_src/Make/lib/mksdmsi18n/src/lib/version.mk b/usr/src/make_src/Make/lib/mksdmsi18n/src/lib/version.mk
deleted file mode 100644
index aaad8d8..0000000
--- a/usr/src/make_src/Make/lib/mksdmsi18n/src/lib/version.mk
+++ /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 (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 1995 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# @(#)version.mk 1.2 06/12/12
-#
-
-# A version number is needed to version the i18n catalog file
-
-VERSION = 1
-
diff --git a/usr/src/make_src/Make/lib/mksh/Makefile b/usr/src/make_src/Make/lib/mksh/Makefile
deleted file mode 100644
index fd663cd..0000000
--- a/usr/src/make_src/Make/lib/mksh/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 (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
-#
-
-TOP = ../../..
-include $(TOP)/rules/variant.mk
-include $(TOP)/rules/derived.mk
diff --git a/usr/src/make_src/Make/lib/mksh/src/Makefile b/usr/src/make_src/Make/lib/mksh/src/Makefile
deleted file mode 100644
index ebed78f..0000000
--- a/usr/src/make_src/Make/lib/mksh/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.3 06/12/12
-#
-
-# Generic makefile for use in src directories. Knows how to make common things
-# in the right $(VARIANT) directory.
-
-#TOP = ../../../..
-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/mksh/src/Variant.mk b/usr/src/make_src/Make/lib/mksh/src/Variant.mk
deleted file mode 100644
index 427ba54..0000000
--- a/usr/src/make_src/Make/lib/mksh/src/Variant.mk
+++ /dev/null
@@ -1,58 +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 2002 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# @(#)Variant.mk 1.19 06/12/12
-#
-
-TOP = ../../../..
-include $(TOP)/rules/master.mk
-include $(TOP)/rules/dmake.mk
-
-PKG_TOP = $(TOP)/Make
-CPPFLAGS += -I$(PKG_TOP)/include
-
-CCSRCS = \
- dosys.cc \
- globals.cc \
- i18n.cc \
- macro.cc \
- misc.cc \
- mksh.cc \
- read.cc
-
-HDRS_DIR = $(PKG_TOP)/include/mksh
-HDRS_LIST = $(HDRS_DIR)/defs.h \
- $(CCSRCS:%.cc=$(HDRS_DIR)/%.h) \
- $(CSRCS:%.c=$(HDRS_DIR)/%.h)
-
-.INIT: $(HDRS_LIST)
-
-LIBNAME = libmksh.a
-MSG_FILE = libmksh.msg
-I18N_DIRS = $(SRC)
-
-#CPPFLAGS += -DTEAMWARE_MAKE_CMN -DDISTRIBUTED
-
-include $(TOP)/Make/lib/Lib.mk
-include $(TOP)/rules/lib.mk
-
diff --git a/usr/src/make_src/Make/lib/mksh/src/libmksh.msg b/usr/src/make_src/Make/lib/mksh/src/libmksh.msg
deleted file mode 100644
index d1994aa..0000000
--- a/usr/src/make_src/Make/lib/mksh/src/libmksh.msg
+++ /dev/null
@@ -1,81 +0,0 @@
-
-$quote "
-
-
-$set 1
-$
-$ 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.
-$
-$ @(#)libmksh.msg 1.2 06/12/12
-$
-89 "ulimit() failed: %s"
-90 "Couldn't open standard out temp file `%s': %s"
-91 "Couldn't open standard error temp file `%s': %s"
-92 "Could not load `/usr/bin/nice': %s"
-93 "Could not load Shell from `%s': %s"
-94 "fork failed: %s"
-95 "Command `%s' has more than %d arguments"
-96 "Cannot load command `%s': %s"
-97 "fork failed: %s"
-98 "wait() failed: %s"
-99 "Could not open filter file for -X"
-100 "Could not stat filter file for -X"
-101 "\n**** Error: Directory %s Target %s:\n%s\n"
-102 "**** Error: Directory %s Target %s\n"
-103 "*** Error code %d"
-104 "*** Error code %d"
-105 "*** Signal %d"
-106 "*** Signal %d"
-107 " - core dumped"
-108 " - core dumped"
-109 " (ignored)"
-110 " (ignored)"
-111 "Could not run command `%s' for :sh transformation"
-112 "The command `%s' returned status `%d'"
-113 "Loop detected when expanding macro value `%s'"
-114 "'$' at end of string `%s'"
-115 "'$' at end of line"
-116 "Unmatched `%c' in string `%s'"
-117 "Premature EOF"
-118 "Unmatched `%c' on line"
-119 "Illegal macro reference `%s'"
-120 "= missing from replacement macro reference"
-121 "= missing from replacement macro reference"
-122 "%% missing from replacement macro reference"
-123 "%% missing from replacement macro reference"
-124 "Too many %% in pattern"
-125 "Conditional macro `%s' referenced on line %d"
-126 "Out of memory"
-127 "Error %d"
-128 "mksh: Fatal error: "
-129 "Current working directory %s\n"
-131 "mksh: Fatal error in reader: "
-133 "Current working directory %s\n"
-134 "mksh: Warning: "
-135 "Current working directory %s\n"
-136 "Internal error. Unknown prop type %d"
-137 "`cd %s' failed, and conversion of %s to automounter pathname also failed"
-138 "`cd %s' and `cd %s' both failed"
-139 "The following command caused the error:\n%s\n"
-140 "Error reading `%s': Premature EOF"
-141 "Error reading `%s': %s"
diff --git a/usr/src/make_src/Make/lib/vroot/Makefile b/usr/src/make_src/Make/lib/vroot/Makefile
deleted file mode 100644
index fd663cd..0000000
--- a/usr/src/make_src/Make/lib/vroot/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 (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
-#
-
-TOP = ../../..
-include $(TOP)/rules/variant.mk
-include $(TOP)/rules/derived.mk
diff --git a/usr/src/make_src/Make/lib/vroot/src/Makefile b/usr/src/make_src/Make/lib/vroot/src/Makefile
deleted file mode 100644
index 299c46d..0000000
--- a/usr/src/make_src/Make/lib/vroot/src/Makefile
+++ /dev/null
@@ -1,49 +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.3 06/12/12
-#
-
-# 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/vroot/src/Variant.mk b/usr/src/make_src/Make/lib/vroot/src/Variant.mk
deleted file mode 100644
index b276156..0000000
--- a/usr/src/make_src/Make/lib/vroot/src/Variant.mk
+++ /dev/null
@@ -1,71 +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.
-#
-# @(#)Variant.mk 1.28 06/12/12
-#
-
-TOP = ../../../..
-include $(TOP)/rules/master.mk
-include $(TOP)/rules/dmake.mk
-
-PKG_TOP = $(TOP)/Make
-CPPFLAGS += -I$(PKG_TOP)/include
-
-CCSRCS = \
- access.cc \
- args.cc \
- chdir.cc \
- chmod.cc \
- chown.cc \
- chroot.cc \
- creat.cc \
- execve.cc \
- lock.cc \
- lstat.cc \
- mkdir.cc \
- mount.cc \
- open.cc \
- readlink.cc \
- report.cc \
- rmdir.cc \
- stat.cc \
- statfs.cc \
- truncate.cc \
- unlink.cc \
- unmount.cc \
- utimes.cc \
- vroot.cc \
- setenv.cc
-
-
-HDRS_DIR = $(PKG_TOP)/include/vroot
-
-.INIT: $(HDRS_DIR)/args.h $(HDRS_DIR)/report.h $(HDRS_DIR)/vroot.h
-
-LIBNAME = libvroot.a
-MSG_FILE = libvroot.msg
-I18N_DIRS = $(SRC)
-
-include $(TOP)/Make/lib/Lib.mk
-include $(TOP)/rules/lib.mk
-
diff --git a/usr/src/make_src/Make/lib/vroot/src/libvroot.msg b/usr/src/make_src/Make/lib/vroot/src/libvroot.msg
deleted file mode 100644
index f3a805f..0000000
--- a/usr/src/make_src/Make/lib/vroot/src/libvroot.msg
+++ /dev/null
@@ -1,38 +0,0 @@
-
-$quote "
-
-
-$set 1
-$
-$ 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.
-$
-$ @(#)libvroot.msg 1.2 06/12/12
-$
-142 "file_lock: file %s is already locked.\n"
-143 "file_lock: will periodically check the lockfile %s for two minutes.\n"
-144 "Current working directory %s\n"
-145 "Could not lock file `%s'; "
-146 " failed - "
-147 "Couldn't write to %s"
-148 "Cannot open `%s' for writing\n"
-149 "Cannot open %s for writing\n"
diff --git a/usr/src/make_src/Makefile b/usr/src/make_src/Makefile
deleted file mode 100644
index f12aeac..0000000
--- a/usr/src/make_src/Makefile
+++ /dev/null
@@ -1,38 +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 2002 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# @(#)Makefile 1.65 06/12/12
-#
-
-TOP = .
-include $(TOP)/rules/master.mk
-
-# Default build variables
-CC=cc
-CCC=CC
-CC64=$(CC)
-CCC64=$(CCC)
-
-SUBDIRS = Make
-
-include $(TOP)/rules/recurse.mk
diff --git a/usr/src/make_src/exe/options.sh b/usr/src/make_src/exe/options.sh
deleted file mode 100644
index 738e6c2..0000000
--- a/usr/src/make_src/exe/options.sh
+++ /dev/null
@@ -1,105 +0,0 @@
-#! /bin/sh
-#
-# 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 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# @(#)options.sh 1.27 06/12/12
-#
-
-##-----------------------------------------------------------------
-## Build options
-## TeamWare can be built with different options:
-## OPTION DEFAULT SWITCH
-## -g debugging OFF debug-$variant.opt
-## -g & -DDEBUG debugging OFF DEBUG-$variant.opt
-## licensing enabled ON no_license.opt
-## build source browser info OFF sb-$variant.opt
-## usage tracking enabled OFF usage_tracking.opt
-##
-## Note that those with $variant in their names are variant-specific.
-##
-## To change the default value of any option, create a file in $(TOP) with the
-## name of the switch. E.g., to create a workspace with debugging enabled,
-## create the file
-## $(TOP)/debug.opt
-## before doing a make. The make need not be done for the entire workspace.
-##
-## Switches are set in places where they are needed.
-##
-## Note that the ability to disable licensing is commented out in the places
-## where it is (currently, Jan 24 1996, used): lib/{cli,mgui}/src/Makefile
-## so that we don't accidentally ship with licensing disabled. You also will have
-## to manually make the switch in $(TOP)/exe executable.
-
-
-echo '# This file is generated by $(TOP)/exe/options.sh'
-echo "# *** DO NOT EDIT THIS FILE DIRECTLY ***"
-
-TOP=$1
-VARIANT=$2
-
-echo " "
-echo "# Debug options"
-echo "#"
-if [ -f $TOP/DEBUG-$VARIANT.opt ]; then
- echo CFLAGS +=-g
- echo CCFLAGS +=-g
- echo CPPFLAGS += -DDEBUG
- echo DEBUGLIB = -g
- echo 'MOTIF_LD_RUN_PATH += -R$(CCR_ROOT_AUX)/$(VARIANT)/lib:$(CCR_ROOT)/$(VARIANT)/lib'
-elif [ -f $TOP/debug-$VARIANT.opt ]; then
- echo CFLAGS +=-g
- echo CCFLAGS +=-g
- echo DEBUGLIB = -g
- echo 'MOTIF_LD_RUN_PATH += -R$(CCR_ROOT_AUX)/$(VARIANT)/lib:$(CCR_ROOT)/$(VARIANT)/lib'
-else
- echo CFLAGS +=-O
- echo CCFLAGS +=-O
- echo CPPFLAGS += -DNDEBUG
- echo LDFLAGS += -norunpath -i -s
- echo BDYNAMIC = -Bdynamic
- echo BSTATIC = -Bstatic
-fi
-
-if [ -f $TOP/no_license.opt ]; then
- echo " "
- echo "# Licensing options"
- echo "#"
- echo -DTW_LICENSE
-fi
-
-if [ -f $TOP/sb-$VARIANT.opt ]; then
- echo " "
- echo "# Source Browser options"
- echo "#"
- echo CFLAGS += -sb
- echo CCFLAGS += -sb
-fi
-
-if [ -f $TOP/usage_tracking.opt ]; then
- echo " "
- echo "# Usage tracking options"
- echo "#"
- echo CPPFLAGS += -DUSAGE_TRACKING
-fi
-
-echo CCFLAGS += -D_FILE_OFFSET_BITS=64
diff --git a/usr/src/make_src/exe/sanity-check.sh b/usr/src/make_src/exe/sanity-check.sh
deleted file mode 100644
index f59def8..0000000
--- a/usr/src/make_src/exe/sanity-check.sh
+++ /dev/null
@@ -1,60 +0,0 @@
-#! /bin/sh
-#
-# 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.
-#
-# @(#)sanity-check.sh 1.6 06/12/12
-#
-
-# Run a sanity check on $1. Sanity is loosely defined as "ok to ship to a customer".
-# Currently checks for the following:
-# no forbidden RPATH
-# no forbidden shared libraries
-# Since sanity is only important for those things we ship to customers, don't
-# check it on debugging builds.
-
-top=$1
-variant=`/bin/sh $top/exe/variant.sh`
-if [ -f $top/debug-$variant.opt ]; then
- exit 0
-fi
-
-prog=$2
-status=0
-
-/usr/ccs/bin/dump -Lv $prog \
- | /bin/grep RPATH | \
- /bin/egrep 'net|export|set' > /dev/null
-if [ $? -eq 0 ]; then
- echo Error: $prog has forbidden RPATH
- /usr/ccs/bin/dump -Lv $prog | /bin/grep RPATH
- status=1
-fi
-
-/bin/ldd $prog |/bin/egrep 'libC|libsunmath|net|export|set' > /dev/null
-if [ $? -eq 0 ]; then
- echo Error: $prog has forbidden libraries
- /bin/ldd $prog |/bin/egrep 'libC|libsunmath|net|export|set'
- status=2
-fi
-
-exit $status
diff --git a/usr/src/make_src/exe/variant.sh b/usr/src/make_src/exe/variant.sh
deleted file mode 100644
index d2fdaa1..0000000
--- a/usr/src/make_src/exe/variant.sh
+++ /dev/null
@@ -1,55 +0,0 @@
-#!/bin/sh
-#
-# 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.
-#
-# @(#)variant.sh 1.3 06/12/12
-#
-
-
-
-# Author: Achut Reddy
-# Date: Fri Nov 4 12:00:24 PST 1994
-
-# Handle HP-UX separately
-sys=`uname -s`
-case $sys in
-HP-UX)
- echo hp-ux
- exit 0;
- ;;
-esac
-
-mach=`(mach || uname -p) 2> /dev/null`
-case $mach in
-i?86)
- mach=intel ;;
-esac
-
-rel=`uname -r`
-case $rel in
-5*) os=S2;;
-4*) os=S1;;
-*) os=UNKNOWN;;
-esac
-
-echo ${mach}-${os}
diff --git a/usr/src/make_src/include/Makefile b/usr/src/make_src/include/Makefile
deleted file mode 100644
index 94af94e..0000000
--- a/usr/src/make_src/include/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 (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.4 06/12/12
-#
-
-TOP = ../..
-SUBDIRS = avo
-
-include $(TOP)/rules/recurse.mk
diff --git a/usr/src/make_src/rules/computed-options.mk b/usr/src/make_src/rules/computed-options.mk
deleted file mode 100644
index 3c7d1ba..0000000
--- a/usr/src/make_src/rules/computed-options.mk
+++ /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 (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.
-#
-# @(#)computed-options.mk 1.3 06/12/12
-#
-
-#
-# Including this file causes re-computation of the options used during a build
-#
-
-$(TOP)/rules/options-$(VARIANT).mk: $(TOP)/exe/options.sh FORCE
- /bin/rm -f $(TOP)/rules/options-$(VARIANT).mk
- /bin/sh $(TOP)/exe/options.sh $(TOP) $(VARIANT) > $(TOP)/rules/options-$(VARIANT).mk
-
-FORCE:
-
-include $(TOP)/rules/options-$(VARIANT).mk
diff --git a/usr/src/make_src/rules/derived.mk b/usr/src/make_src/rules/derived.mk
deleted file mode 100644
index 89fd719..0000000
--- a/usr/src/make_src/rules/derived.mk
+++ /dev/null
@@ -1,66 +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.
-#
-# @(#)derived.mk 1.15 06/12/12
-#
-
-# Include this makefile in directories which contain source whose derived
-# files are to be built in ../<variant>.
-
-# The source directory must contain a makefile with these contents:
-#
-# TOP = <as appropriate>
-# include $(TOP)/rules/master.mk
-# SRC = <as appripriate>
-# include $(TOP)/rules/variant.mk
-#
-# The source directory must also contain a makefile named "Derived.mk"
-# which is used to build the derived files.
-#
-# TOP is defined as a relative path to the root of the workspace
-# SRC is defined as a relative path from the derived files' directory to the
-# source files' directory, and is typically ../src.
-
-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
-
-all install clean test l10n_install i18n_install: $(VARIANT) $(V9_VARIANT)
-
-SRC = ../src
-MFLAGS += SRC=$(SRC)
-
-# Conditional is in place so a "make" from the top level will work on partial
-# source heirarchies.
-$(VARIANT) $(V9_VARIANT): FRC
- if [ ! -d $@ ]; then \
- mkdir $@ ; \
- fi
- cd $@; $(MAKE) $(MFLAGS) -f $(SRC)/Variant.mk RELEASE_VER="$(RELEASE_VER)" DESTDIR=$(DESTDIR) V9FLAGS="$(V9FLAGS)" VAR_DIR=$(VAR_DIR) CC=$(CC) CCC=$(CCC) $(TARG);
-
-FRC:
diff --git a/usr/src/make_src/rules/dmake.mk b/usr/src/make_src/rules/dmake.mk
deleted file mode 100644
index 7ca8548..0000000
--- a/usr/src/make_src/rules/dmake.mk
+++ /dev/null
@@ -1,33 +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.
-#
-# @(#)dmake.mk 1.8 06/12/12
-#
-
-AVO_DM_LIBS = $(LIBDM)
-AVO_DMCONF_LIBS = $(LIBDMCONF)
-AVO_DMRC_LIBS = $(LIBDMRC)
-AVO_DMTHREAD_LIBS = $(LIBDMTHREAD)
-AVO_PUBDMSI18N_LIBS = $(LIBPUBDMSI18N)
-AVO_RX_LIBS = $(LIBRX)
-
diff --git a/usr/src/make_src/rules/i18n-install.mk b/usr/src/make_src/rules/i18n-install.mk
deleted file mode 100644
index 06e90fb..0000000
--- a/usr/src/make_src/rules/i18n-install.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 1997 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# @(#)i18n-install.mk 1.23 06/12/12
-#
-
-include $(TOP)/rules/master.mk
-
-#
-# Included Makefile that installs i18n message catalogs.
-#
-# Before including this Makefile the following variables should be set:
-# PACKAGE name of the package being installed
-# replaced by PRODVER in order to install multiple pkgs in
-# a single path. --emk 2/96
-#
-# TEXTDOMAIN name of default textdomain used by gettext() calls
-# APPPATH location to find the msg file
-#
-
-PRODVER = usr
-
-LIB_DESTDIR = $(DESTDIR)/$(PRODVER)/lib
-CAT_DESTDIR = $(LIB_DESTDIR)/locale/C/LC_MESSAGES
-HELP_DIR = help
-HELP_SYML_INST_DIR = $(LIB_DESTDIR)
-HELP_SYML_PTS_TO_DIR = ./locale/C
-LANG_DIR = $(LIB_DESTDIR)/local/C
-
-#i18n_install: $(CAT_DESTDIR) .WAIT msg_catalogs help_symlink
-i18n_install:
-i18n_gui_install: $(CAT_DESTDIR) .WAIT gui_msg_catalogs help_symlink
-
-$(CAT_DESTDIR):
- $(INSTALL) -d $@
-
-#
-# Find the message catalog in the $VAriant dir
-# install the files into the package's destination.
-#
-
-msg_catalogs: FRC
- cp $(APPPATH)/$(TEXTDOMAIN).msg $(CAT_DESTDIR)
-
-gui_msg_catalogs: FRC
- cp $(APPPATH)/$(TEXTDOMAIN).po $(CAT_DESTDIR)
-
-help_symlink: FRC
-# @ if [! -d $(LANG_DIR)/$(HELP_DIR) ]; then \
-# cd $(LANG_DIR); ln -s LC_MESSAGES $(HELP_DIR) \
-# fi \
-
-FRC:
diff --git a/usr/src/make_src/rules/import.mk b/usr/src/make_src/rules/import.mk
deleted file mode 100644
index 6c3a6de..0000000
--- a/usr/src/make_src/rules/import.mk
+++ /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 (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.
-#
-# @(#)import.mk 1.25 06/12/12
-#
-# @(#)import.mk 1.8 96/04/16 SMI
-
-VIDEO_VER = 1.0
diff --git a/usr/src/make_src/rules/install.mk b/usr/src/make_src/rules/install.mk
deleted file mode 100644
index aa28359..0000000
--- a/usr/src/make_src/rules/install.mk
+++ /dev/null
@@ -1,240 +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 1998 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# @(#)install.mk 1.53 06/12/12
-#
-
-#
-# This is an included Makefile that contains the standard
-# install lines for a program.
-#
-# INCLUDE THIS ONLY AFTER INCLUDING $(TOP)/rules/master.mk
-#
-# Before including this Makefile the following variables should be set:
-# PROG the name of the program
-# PROG_DIR bin || etc, lowest level directory for executables
-# LIB_DIR usually just lib; destination for libraries,
-# non-localized bitmaps, etc.
-# LICENSE_DIR_SRC where LICENSE_DIR will link to
-# DESTDIR destination directory for the install
-# PACKAGE name of the package containing the program
-#
-# PACKAGE is now being overridden by PRODVER for installation
-# purposes since multiple packages are being installed
-# into a single install path below PRODVER 2/96 --emk
-#
-# HELP_INFO optionally set to a list of .info files to install
-# HELP_INFO is initially set in gui.Makefile
-# RES_FILE optionally set name by which resource file is
-# known to the app itself (e.g. XCodeManager).
-# CDE_RES_FILE optionally set name of resource file for CDE guis
-# (e.g. XCodeManager.cde).
-# NCDE_RES_FILE optionally set name of resource file for motif guis
-# PWI_FILE optionally set name of PWI configuration file for guis
-# Installed in RES_DIR
-#
-# This install technique uses make's dependencies to decide whether
-# or not to install something. If the installed file is more recent
-# than the one in the source heirarchy, then no install will occur.
-#
-# The INST_PROG definition makes this install rule work for makefiles
-# that build more than one program, e.g. several scripts that share
-# the same source directory. To work, this install.Makefile must be
-# included after the "all" target has been defined but before the
-# rules used to build the programs to be installed. (see trans/scripts)
-#
-# For makefiles that build only one program, this install.Makefile can
-# be included at the end, after the rules used to build the program.
-# (see bin.cc.Makefile).
-
-#
-# The references to PROG_DIR below must be $$ references because
-# PROG_DIR is conditionally set in the CodeManager/etc/diff3_merge
-# Makefile. But, if it is conditional, the implicit target for
-# $(DESTDIR)/$(PROG_DIR) doesn't work. Make returns that it doesn't
-# know how to build that target.
-#
-# I made changes to add PROG_DIR=<value> in all the makefiles which include
-# install.mk. This is needed because of the assignment to
-# PGK_DIR_PROG_DIR. SYML_DIR is still conditional and set according to
-# to which target is being built. it would be nice to set PROG_DIR by
-# default, but to do this, the reference in the PKG_DIR_PROG_DIR assignment
-# must be re-done... LK
-#
-
-PKG_DIR = $(DESTDIR)/$(PRODVER)
-LOCALE_PATH = lib/locale/C
-HELP_DIR = $(PKG_DIR)/$(LOCALE_PATH)/LC_MESSAGES
-PWI_PATH = $(LOCALE_PATH)/pwi_config
-PWI_DIR = $(PKG_DIR)/$(PWI_PATH)
-LICENSE_DIR = $(DESTDIR)/license_dir
-PKG_DIR_PROG_DIR = $(DESTDIR)/$(PRODVER)/$(PROG_DIR)
-PKG_DIR_LIB_DIR = $(DESTDIR)/$(PRODVER)/$(LIB_DIR)
-CDE_RES_DIR = $(DESTDIR)/$(PRODVER)/$(LOCALE_PATH)/app-defaults/CDE
-NCDE_RES_DIR = $(DESTDIR)/$(PRODVER)/$(LOCALE_PATH)/app-defaults/non-CDE
-INST_PROG = $(PROG:%=$(PKG_DIR_PROG_DIR)/%)
-INST_LIB = $(LIBSS:%=$(PKG_DIR_LIB_DIR)/%)
-#
-# INST_HELP is the list of .info files to be installed
-#
-INST_HELP = $(HELP_INFO:%=$(HELP_DIR)/%)
-
-#
-INST_SYMLINK = /bin/csh $(TOOLS_PATH)/inst_symlink
-
-# INSTALLING PERSISTENT PROCESSES:
-#
-# If the macro INST_PERSIST is set to TRUE, move a copy of $(PROG) out of
-# the way into a unique name so it doesn't clobber the last version moved.
-#
-# A way to make this conditional in the individual Makefiles is to include
-# something like this in the Makefile which needs to install a persistent
-# process:
-#
-# INST_PERSIST = $(SWTEAM_PERSIST)
-#
-# Where SWTEAM_PERSIST is set in your .cshrc or .login to TRUE. This allows
-# it to be turned off and on on a global scale, and still only apply to those
-# executables which have INST_PERSIST set in their Makefiles.
-#
-
-#install:: \
-# $(PKG_DIR_PROG_DIR) \
-# .WAIT \
-# $(PKG_DIR_LIB_DIR) \
-# .WAIT \
-# $(HELP_DIR) \
-# .WAIT \
-# $(PWI_DIR) \
-# .WAIT \
-# $(PWI_DIR)/$(PWI_FILE) \
-# .WAIT \
-# symlinks \
-# $(LICENSE_DIR) \
-# $(CDE_RES_DIR) \
-# $(NCDE_RES_DIR) \
-# .WAIT \
-# $(INST_PROG) \
-# $(INST_LIB) \
-# $(INST_HELP) \
-# $$(INST_ABOX_ABOX) \
-# $$(INST_ABOX_ADDR) \
-# $(CDE_RES_DIR)/$(RES_FILE) \
-# $(NCDE_RES_DIR)/$(RES_FILE) \
-# .WAIT \
-# post-install
-
-#
-# Empty rule here; packages can add their own functionality.
-#
-post-install:: FRC
-
-#
-# Number of earlier versions to save.
-#
-SAVE_NUM = 1
-
-$(PKG_DIR_PROG_DIR)/%: %
- @if [ "$(INST_PERSIST)" = "TRUE" -a -f $@ ]; then \
- while [ `ls $@.* | wc -l` -gt $(SAVE_NUM) ]; do \
- echo "rm -f `ls $@.* | head -1`";\
- rm -f `ls $@.* | head -1`;\
- done; \
- echo "mv -f $@ $@.`date +%m.%d.%H.%M`"; \
- mv -f $@ $@.`date +%m.%d.%H.%M`; \
- fi
- echo "$(INSTALL) $< $@"
- $(INSTALL) $< $@
-
-
-#
-# Don't put the dependency upon $(PKG_DIR_PROG_DIR) on the
-# $(PKG_DIR_PROG_DIR)/% target line because it causes the executables to be
-# installed twice regardless of their relation to the current executable
-#
-$(PKG_DIR_PROG_DIR):
- @if [ ! -d $@ ]; then \
- $(INSTALL) -d $@; \
- fi; \
-
-$(PKG_DIR_LIB_DIR):
- @if [ ! -d $@ ]; then \
- $(INSTALL) -d $@; \
- fi; \
-
-#
-# Install the help files listed in $(INST_HELP). Each of the files
-# listed in $(INST_HELP) lives in directory $(HELP_DIR).
-#
-# Needs to be able to support HELP_INFO with values in current directory
-# as well as info files from other directories.
-#
-$(HELP_DIR)/%.info: %.info
- $(INSTALL) $< $@
-
-$(HELP_DIR)/%.info: $(TOP)/libgui/%.info
- $(INSTALL) $< $(HELP_DIR)/$(@F)
-
-$(HELP_DIR):
- @if [ ! -d $(HELP_DIR) ]; then \
- $(INSTALL) -d $@; \
- fi
-
-$(PWI_DIR):
- @if [ ! -d $(PWI_DIR) ]; then \
- $(INSTALL) -d $@; \
- fi
-
-#
-# hack in license_dir link -- probably outta be in symlinks section
-#
-$(LICENSE_DIR):
- echo "$(INST_SYMLINK) $(LICENSE_DIR_SRC) $(DESTDIR) license_dir"
- $(INST_SYMLINK) $(LICENSE_DIR_SRC) $(DESTDIR) license_dir
-
-$(PWI_DIR)/$(PWI_FILE): $(SRC)/$(PWI_FILE)
- @if [ "$(PWI_FILE)" != "" ]; then \
- $(INSTALL) -m 0444 $(SRC)/$(PWI_FILE) $@; \
- fi
-
-$(CDE_RES_DIR)/$(RES_FILE): $(CDE_RES_FILE)
- @if [ "$(CDE_RES_FILE)" != "" ]; then \
- $(INSTALL) -m0444 $(CDE_RES_FILE) $(CDE_RES_DIR)/$(RES_FILE); \
- fi
-
-$(NCDE_RES_DIR)/$(RES_FILE): $(NCDE_RES_FILE)
- @if [ "$(NCDE_RES_FILE)" != "" ]; then \
- $(INSTALL) -m0444 $(NCDE_RES_FILE) $(NCDE_RES_DIR)/$(RES_FILE); \
- fi
-
-$(CDE_RES_DIR):
- @if [ "$(CDE_RES_FILE)" != "" ]; then \
- $(INSTALL) -d $@; \
- fi
-
-$(NCDE_RES_DIR):
- @if [ "$(NCDE_RES_FILE)" != "" ]; then \
- $(INSTALL) -d $@; \
- fi
-
-FRC:
diff --git a/usr/src/make_src/rules/intel-S2.mk b/usr/src/make_src/rules/intel-S2.mk
deleted file mode 100644
index daa77cc..0000000
--- a/usr/src/make_src/rules/intel-S2.mk
+++ /dev/null
@@ -1,60 +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.
-#
-# @(#)intel-S2.mk 1.16 06/12/12
-#
-
-include $(TOP)/rules/solaris.mk
-
-# Please keep each list alphabetically sorted.
-
-#
-# Make variables
-#
-
-#
-# Paths
-#
-TOOLS_PATH = $(TOP)/exe
-
-#
-# Programs
-#
-
-#
-# Flags
-#
-CPPFLAGS += -DSUN5_0 -DSYSV -Dx86
-
-#
-# amd64-S2 Flags
-#
-amd64-S2 := V9FLAGS = -O -xarch=amd64
-amd64-S2 := VAR_DIR = /amd64
-
-#
-# This is temporary until both 32- and 64-bit stuff are to be compiled
-# with the same compiler.
-#
-amd64-S2 := CC = $(CC64)
-amd64-S2 := CCC = $(CCC64)
diff --git a/usr/src/make_src/rules/l10n-install.mk b/usr/src/make_src/rules/l10n-install.mk
deleted file mode 100644
index 9050cf2..0000000
--- a/usr/src/make_src/rules/l10n-install.mk
+++ /dev/null
@@ -1,70 +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 1998 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# @(#)l10n-install.mk 1.7 06/12/12
-#
-
-# READ-THIS-PART:
-# Since L10N_SRCS are derived sources files, the make target
-# "make_l10n_install" script MUST be executed after a
-# complete build of the integration workspace. The make_l10n_install
-# scripts resides in the TOOLS_PATH directory.
-#
-
-L10N_SCRIPT = /bin/csh $(TOOLS_PATH)/inst_l10n
-
-
-# Before including this Makefile the following variables should be set:
-#
-#
-# DESTDIR the destination workspace where the L10N_SRCS will
-# be installed.
-# SOURCE_WS the source workspace from which the files will be
-# installed.
-# L10N_SRCS sources that need to be installed in the above
-# DESTDIR.
-# L10N_SCRIPT the script that will install the files under
-# sccs control in the destination directory
-# workspace.
-# TOOLS_PATH location for the L10N_SCRIPT
-#
-#
-
-ALL_USAGE = "Usage: make DESTDIR=<value> SOURCE_WS=<value> l10n_install"
-CWD:sh = pwd
-
-l10n_install:: l10n_install_usage FRC
- @$(L10N_SCRIPT) $(DESTDIR) $(SOURCE_WS) $(CWD) \
- $(L10N_SRCS)
-FRC:
-
-l10n_install_usage: FRC
- @if [ "$(DESTDIR)" = "" -o "$(SOURCE_WS)" = "" ]; then \
- echo $(ALL_USAGE); \
- exit 1; \
- fi;
- @if [ "$(CWD)" = "" ]; then \
- echo $(ALL_USAGE); \
- exit 1; \
- fi
-FRC:
diff --git a/usr/src/make_src/rules/lib.mk b/usr/src/make_src/rules/lib.mk
deleted file mode 100644
index f38f9aa..0000000
--- a/usr/src/make_src/rules/lib.mk
+++ /dev/null
@@ -1,131 +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 2006 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# @(#)lib.mk 1.33 06/12/12
-#
-
-#
-# This Makefile contains common rules for building libraries.
-# It expects the following variables to be defined:
-#
-# LIBNAME the name of the library being built
-# CCSRCS C++ source files
-# CSRCS C source files
-# BIGCSRCS C++ source files with .C suffix (so checkgettext isn't run)
-#
-
-CCOBJS = $(CCSRCS:%.cc=%.o)
-COBJS = $(CSRCS:%.c=%.o)
-BIGCOBJS = $(BIGCSRCS:%.C=%.o)
-
-OBJS += $(CCOBJS) $(COBJS) $(BIGCOBJS)
-
-L10N_SRCS = $(LIBNAME)_srrcat.po messages.po
-
-#
-# Is this '[d]make' connected to a terminal?
-#
-TTY :sh= if test -t 2; then echo true; else echo false; fi
-
-#
-# This complicated set of commands determine if there are
-# any .o files in the library that no longer belong there.
-# If so, the library must be removed and rebuilt from scratch.
-# If the old .o files are left in the library, then a program that
-# references a routine in one of these .o files will still build
-# until the library gets completely rebuilt, in which case it will
-# no longer build.
-# In addition, because $? macro is used in the command that builds
-# this library, command dependency checking is disabled. Even if
-# this command changes, the library won't be rebuilt. The library's
-# list of dependencies appear in a separate command, which is subject
-# to command dependency checking (echo to /dev/null), to ensure that
-# the library rebuilt when its list of dependencies change.
-#
-
-# XD_INCLS is defined in rules/motif-lib.mk and will
-# be empty if not called from motif-lib.mk
-
-$(LIBNAME): $(OBJS)
- @echo "Building $(LIBNAME)" > \
- `$(TTY) && test -t 0 && tty || echo /dev/null`
- @echo $(OBJS) > /dev/null
- @?ar t $(LIBNAME) | sed -e /__.SYMDEF/d | sort > ar.t.$$$$; \
- for i in $(OBJS); do \
- echo $$i; \
- done | sort | comm -23 ar.t.$$$$ - > extras.$$$$; \
- if [ -s extras.$$$$ ]; then \
- echo rm -f $(LIBNAME); \
- rm -f $(LIBNAME); \
- echo ar rv $(LIBNAME) $(OBJS); \
- ar rv $(LIBNAME) $(OBJS); \
- else \
- echo ar crv $(LIBNAME) $?; \
- ar crv $(LIBNAME) $?; \
- fi; \
- rm -f ar.t.$$$$ extras.$$$$
- @if [ -f $(RANLIB) ]; then \
- echo $(RANLIB) $(LIBNAME); \
- $(RANLIB) $(LIBNAME); \
- fi
-
-#all install:: $(LIBNAME) catalogs
-###all install:: $(LIBNAME)
-all: $(LIBNAME)
-
-install: $(LIBNAME)
-
-#all:: $(LIBNAME)
-#
-#install:: all catalogs
-
-clean::
- $(RM) $(OBJS) $(LIBNAME) $(CLEANFILES) $(CATALOG)
-
-# temporarily install catalogs here - will move to l10n-install later
-# when mesg files are versioned
-LIB_DESTDIR = $(DESTDIR)/$(PRODVER)/lib
-CAT_DESTDIR = $(LIB_DESTDIR)/locale/C/LC_MESSAGES
-
-#also temporary, until I find a variant specific place to find this tool
-COMPMSG =
-
-catalogs::
- $(GENMSG) -l $(SRC)/genmsg.project -o $(MSG_FILE) `find $(I18N_DIRS) \( -name '*.cc' -o -name '*.c' -o -name '*.y' -o -name '*.h' \) -print | grep -v /SCCS/`
- rm -f *.cc.new
-# @ if [ -f $(SRC)/$(MSG_FILE) ]; then \
-# echo "running compmsg on $(MSG_FILE)"; \
-# $(COMPMSG) -n $(SRC)/$(MSG_FILE) $(MSG_FILE); \
-# fi
-
-
-# @ if [ ! -d $(CAT_DESTDIR) ]; then \
-# $(INSTALL) -d $@ \
-# fi
-# cp $(MSG_FILE) $(CAT_DESTDIR)
-
-FRC:
-
-include $(TOP)/rules/l10n-install.mk
-
-include $(TOP)/rules/computed-options.mk
diff --git a/usr/src/make_src/rules/libraries.mk b/usr/src/make_src/rules/libraries.mk
deleted file mode 100644
index b2d4c46..0000000
--- a/usr/src/make_src/rules/libraries.mk
+++ /dev/null
@@ -1,62 +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.
-#
-# @(#)libraries.mk 1.9 06/12/12
-#
-
-# This file defines make variables for libraries libraries which
-# are provided in both debuggable (-g) and optimized (-O) forms.
-#
-# See $(TOP)/exe/build-debuglib, rules/{singleton, motif-app}.mk,
-
-# Please keep both of the following lists alphabetized.
-
-# These libraries exist in both -g and non-g forms.
-#
-LIBDM = -ldm$(DEBUGLIB)
-LIBDMCONF = -ldmconf$(DEBUGLIB)
-LIBDMRC = -ldmrc$(DEBUGLIB)
-LIBDMTHREAD = -ldmthread$(DEBUGLIB)
-LIBLICMOTIF = -llicmotif$(DEBUGLIB)
-LIBLICTXT = -llictxt$(DEBUGLIB)
-LIBMGUI = -lmgui$(DEBUGLIB)
-LIBPSDEFS = -lpsdefs$(DEBUGLIB)
-LIBPSWIDGETS = -lPsWidgets$(DEBUGLIB)
-LIBPSUTILS = -lPsUtils$(DEBUGLIB)
-LIBPUBDMSI18N = -lpubdmsi18n$(DEBUGLIB)
-LIBPWICLIENT = -lpwiclient$(DEBUGLIB)
-LIBPWITOOLBOX = -lpwitoolbox$(DEBUGLIB)
-LIBRX = -lrx$(DEBUGLIB)
-LIBUTIL = -lutil$(DEBUGLIB)
-LIBXDCLASS = -lxdclass$(DEBUGLIB)
-
-# These libraries exist only in non-g form. That does *not* mean that they are
-# not *compiled* without -g., only that they don't exist in a libXXX-g.a form.
-#
-LIBLOG = -llog
-LIBMSSPKG = -lmsspkg
-LIBPATHUTILS = -lpathutils
-LIBPSCCHART = -lpscchart
-LIBPSCHART = -lpschart
-LIBTIMELINE = -ltimeline
-LIBXPM = $(BSTATIC) -lXpm $(BDYNAMIC)
diff --git a/usr/src/make_src/rules/master.mk b/usr/src/make_src/rules/master.mk
deleted file mode 100644
index eae7f19..0000000
--- a/usr/src/make_src/rules/master.mk
+++ /dev/null
@@ -1,109 +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 2006 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# @(#)master.mk 1.142 06/12/12
-#
-
-include $(TOP)/rules/variant.mk
-
-.KEEP_STATE_FILE: .make.state_${VARIANT}
-
-include $(TOP)/rules/$(VARIANT).mk
-#include $(TOP)/lib/Lib.mk
-
-#include $(TOP)/rules/libraries.mk
-
-DESTDIR =
-
-#
-# Default target to build if no target is specified.
-# All Makefiles should either define an "all" target, or set
-# DEFAULT_TARGET to the default target
-#
-DEFAULT_TARGET = all
-default_target: $$(DEFAULT_TARGET)
-
-#Tools needed for i18n
-GENMSG = genmsg
-
-##-----------------------------------------------------------------
-
-CHMOD = /bin/chmod
-LEX = /usr/ccs/bin/lex
-MV = /bin/mv
-RANLIB = /bin/ranlib
-YACC = /usr/ccs/bin/yacc
-
-##-----------------------------------------------------------------
-
-CPPFLAGS += -DINTER \
- -I$(TOP)/include
-
-LINTFLAGS += -buxz
-
-
-#LIB += $(LIBCMM) $(LIBSCCS) $(LIBUTIL) -lw
-
-##-----------------------------------------------------------------
-## Rules for building derived files from $(SRC)
-##
-## Run check_catgets before compiling to see if there are any strings that need
-## i18n attention.
-##
-## Use .C extension for derrived source files (e.g., yacc output) and on any
-## others on which you don't want to first run check_catgets.
-
-%.o: $(SRC)/%.cc
- $(COMPILE.cc) $(OUTPUT_OPTION) $<
-
-%.o:$(SRC)/%.C
- $(COMPILE.cc) $(OUTPUT_OPTION) $<
-
-%.o:$(SRC)/%.c
- $(COMPILE.c) $(OUTPUT_OPTION) $<
-
-### Generate preprocessor output
-CPP.c = $(CC) $(CFLAGS) $(CINCLS) -E
-CPP.cc = $(CCC) $(CCFLAGS) $(CCINCLS) -E
-
-%.E: $(SRC)/%.cc
- $(CPP.cc) $(CPPFLAGS) $(SRC)/$(@:%.E=%.cc) > $*.E
-
-%.E:$(SRC)/%.C
- $(CPP.cc) $(CPPFLAGS) $(SRC)/$(@:%.E=%.C) > $*.E
-
-%.E:$(SRC)/%.c
- $(CPP.c) $(CPPFLAGS) $(SRC)/$(@:%.E=%.c) > $*.E
-
-### Lex and yacc
-%.cc: $(SRC)/%.y
- $(RM) $*.cc $*.h
- $(YACC) $(YFLAGS) $(SRC)/$*.y
- $(MV) y.tab.c $*.cc
- $(MV) y.tab.h $*.h
- $(CHMOD) a-w $*.cc $*.h
-
-%.C: $(SRC)/%.l
- $(RM) $*.C
- $(LEX) $(LEXOPT) $(SRC)/$*.l > $*.C
- $(CHMOD) a-w $@
diff --git a/usr/src/make_src/rules/recurse.mk b/usr/src/make_src/rules/recurse.mk
deleted file mode 100644
index d0963ad..0000000
--- a/usr/src/make_src/rules/recurse.mk
+++ /dev/null
@@ -1,58 +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 2002 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# @(#)recurse.mk 1.15 06/12/12
-#
-
-# Include this Makefile in directories which simply cd down a level
-# and continue the build.
-#
-# The SUBDIRS macro must be set before including recurse.Makefile
-# The OTHER_TARGS macro can be set to process targets other than
-# directories.
-
-all := TARG = all
-install := TARG = install
-clean := TARG = clean
-l10n_install := TARG = l10n_install
-i18n_install := TARG = i18n_install
-
-# Are we _really_ using OTHER_TARGS???
-#all install clean l10n_install: $(SUBDIRS) $(OTHER_TARGS)
-all install clean l10n_install i18n_install:: $(SUBDIRS) $(OTHER_TARGS)
-
-# Conditional is in place so a "make" from the top level will work on partial
-# source heirarchies.
-#
-# "MAKEFILE" can be set by makes driving this one to cause a particular
-# makefile to be used. E.g., MAKEFILE=-f foo.mk
-#
-$(SUBDIRS): FRC
- @if [ -d $@ ]; then \
- echo "cd $@; $(MAKE) $(MAKEFILE) $(MFLAGS) CC=$(CC) CCC=$(CCC) DESTDIR=$(DESTDIR) $(TARG)"; \
- cd $@; $(MAKE) $(MAKEFILE) $(MFLAGS) CC=$(CC) CCC=$(CCC) DESTDIR=$(DESTDIR) $(TARG); \
- fi
-
-FRC:
-
-
diff --git a/usr/src/make_src/rules/singleton.mk b/usr/src/make_src/rules/singleton.mk
deleted file mode 100644
index 3dda8b6..0000000
--- a/usr/src/make_src/rules/singleton.mk
+++ /dev/null
@@ -1,63 +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.
-#
-# @(#)singleton.mk 1.64 06/12/12
-#
-
-# This is an included Makefile for a program that consists of a single C++
-# source file and is built with the standard Avocet library.
-
-# Before including this Makefile the following variables should be set:
-# TOP the path from the including Makefile to this one
-# PROG the name of the program
-# DESTDIR destination directory for the install
-#
-# All other information is derived from PROG.
-
-SRCS = $(PROG).cc $(MORE_SRC)
-OBJS = $(SRCS:%.cc=%.o)
-
-LIB += $(LIBCLI) $(LIBLICTXT) -lintl -lm
-
-##-----------------------------------------------------------------
-
-all install:: $(PROG)
-
-include $(TOP)/rules/verstring.mk
-
-$(PROG): $(OBJS)
- @echo "#pragma ident \"@(#)$(VERSTRING1)\"" > timestamp.c
- @echo $(VERSTRING2) >> timestamp.c
- cc -w -c timestamp.c
- $(CCC) $(CCFLAGS) $(LDFLAGS) timestamp.o -o $@ \
- $(OBJS) $(LIB) $(I18LIB) $(LDLIB)
- /bin/sh $(TOP)/exe/sanity-check.sh $(TOP) $(PROG)
-
-clean:
- $(RM) $(OBJS) $(PROG)
-
-PROG_DIR = bin
-
-include $(TOP)/rules/install.mk
-
-include $(TOP)/rules/computed-options.mk
diff --git a/usr/src/make_src/rules/solaris.mk b/usr/src/make_src/rules/solaris.mk
deleted file mode 100644
index d5ef1a4..0000000
--- a/usr/src/make_src/rules/solaris.mk
+++ /dev/null
@@ -1,55 +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 2006 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# @(#)solaris.mk 1.19 06/12/12
-#
-
-# Please keep each list alphabetically sorted.
-
-#
-# Make variables
-#
-OPENWINHOME = /usr/openwin
-
-#
-# Paths
-#
-#LD_LIBRARY_PATH = /usr/dt/lib:$(OPENWINHOME)/lib
-#
-SWHOME =
-
-#
-# Programs
-#
-#CC = cc
-INSTALL = /usr/ucb/install
-RPCGEN = /usr/5bin/rpcgen
-
-#
-# Flags
-#
-CPPFLAGS += -compat=4
-I18LIB = -lintl
-LDFLAGS += -compat=4 -staticlib=libC
-LEXOPT = -tw
-MOTIF_LD_RUN_PATH = /usr/dt/lib:/usr/openwin/lib
diff --git a/usr/src/make_src/rules/sparc-S2.mk b/usr/src/make_src/rules/sparc-S2.mk
deleted file mode 100644
index d1fb437..0000000
--- a/usr/src/make_src/rules/sparc-S2.mk
+++ /dev/null
@@ -1,61 +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 1998 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# @(#)sparc-S2.mk 1.13 06/12/12
-#
-
-include $(TOP)/rules/solaris.mk
-
-# Please keep each list alphabetically sorted.
-
-#
-# Make variables
-#
-
-#
-# Paths
-#
-TOOLS_PATH = $(TOP)/exe
-
-#
-# Programs
-#
-
-#
-# Flags
-#
-CPPFLAGS += -DSUN5_0 -DSYSV
-
-#
-# v9 Flags
-#
-sparcv9 := V9FLAGS = -xarch=v9
-sparcv9 := VAR_DIR = /sparcv9
-
-#
-# This is temporary until both 32- and 64-bit stuff are to be compiled
-# with the same compiler. Currently 32-bit should use 4.2 compiler
-# but 64-bit should use 5.0 compiler.
-#
-sparcv9 := CC = $(CC64)
-sparcv9 := CCC = $(CCC64)
diff --git a/usr/src/make_src/rules/variant.mk b/usr/src/make_src/rules/variant.mk
deleted file mode 100644
index d5fa217..0000000
--- a/usr/src/make_src/rules/variant.mk
+++ /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 (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.
-#
-# @(#)variant.mk 1.2 06/12/12
-#
-VARIANT:sh=if [ `uname -r | cut -d . -f1` = 4 ] ; \
-then echo sparc-S1 ; \
-elif [ `uname -s` = HP-UX ] ; \
-then echo hp-ux ; \
-else if [ `uname -p` = sparc ] ; \
- then \
- echo sparc-S2 ; \
- elif [ `uname -p` = i386 ] ; \
- then \
- echo intel-S2 ; \
- elif [ `uname -p` = ppc ] ; \
- then \
- echo ppc-S2 ; \
- else \
- echo "UNKNOWN OS" ; \
- exit 1 ; \
- fi ; \
-fi
-
-