summaryrefslogtreecommitdiff
path: root/usr/src/make_src/Make/bin/make
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/make_src/Make/bin/make')
-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
8 files changed, 0 insertions, 618 deletions
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: