diff options
Diffstat (limited to 'usr/src/make_src/Make')
31 files changed, 0 insertions, 1701 deletions
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" |