summaryrefslogtreecommitdiff
path: root/usr/src/cmd/ast/Makefile
diff options
context:
space:
mode:
authorAndy Fiddaman <omnios@citrus-it.co.uk>2020-12-27 17:47:37 +0000
committerAndy Fiddaman <omnios@citrus-it.co.uk>2021-01-30 17:13:33 +0000
commitb30d193948be5a7794d7ae3ba0ed9c2f72c88e0f (patch)
tree6a37e590faffb9bb9af66887de645c546445036c /usr/src/cmd/ast/Makefile
parentdf36e06d12cbf655ddf22339ef8c39fa2b83ebf8 (diff)
downloadillumos-gate-b30d193948be5a7794d7ae3ba0ed9c2f72c88e0f.tar.gz
13405 ksh93 update to 2012-08-01
13434 sh: mishandles backslash as last character of a block of input 11750 ksh mkdir builtin doesn't honor special file permissions 9199 ksh93 builtin *grep -v mishandles blank lines, blows up libgcrypt-config 6756 sh (and ksh) have issues with ${1+"$@"} 6520 ksh: sleep could wait forever 4860 ksh93: core in printf 3791 /bin/sh's builtin 'rm' busted: 'rm -f' without arguments returns error 1047 ksh overwrites child core files 880 ksh93 coredumps on 'unset' 499 "interrupted system call" when using "tee" builtin in ksh Reviewed by: Robert Mustacchi <rm@fingolfin.org> Reviewed by: Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org> Reviewed by: Dominik Hassler <hadfl@omnios.org> Approved by: Rich Lowe <richlowe@richlowe.net>
Diffstat (limited to 'usr/src/cmd/ast/Makefile')
-rw-r--r--usr/src/cmd/ast/Makefile81
1 files changed, 50 insertions, 31 deletions
diff --git a/usr/src/cmd/ast/Makefile b/usr/src/cmd/ast/Makefile
index 501bcfb4b5..82a3c7dc22 100644
--- a/usr/src/cmd/ast/Makefile
+++ b/usr/src/cmd/ast/Makefile
@@ -1,48 +1,67 @@
#
-# CDDL HEADER START
+# This file and its contents are supplied under the terms of the
+# Common Development and Distribution License ("CDDL"), version 1.0.
+# You may only use this file in accordance with the terms of version
+# 1.0 of the CDDL.
#
-# 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
+# A full copy of the text of the CDDL should have accompanied this
+# source. A copy of the CDDL is also available via the Internet at
+# http://www.illumos.org/license/CDDL.
#
+
#
-# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright 2021 OmniOS Community Edition (OmniOSce) Association.
#
-SHELL=/usr/bin/ksh93
+# Note that these AST components deliver installed headers to /usr/include/ast/
+# but nothing else in gate depends on these to build, and serveral of them are
+# auto-generated. The install_h target is deliberately not wired into
+# 'cmdheaders' in usr/src/Makefile as that would significantly increase the
+# time taken to run the 'setup' target. Instead, sub-components automatically
+# install header files as part of the 'install' target.
-include ../Makefile.cmd
+include $(SRC)/Makefile.master
-SUBDIRS= \
- msgcc
+all := TARGET= all
+clean := TARGET= clean
+clobber := TARGET= clobber
+_msg := TARGET= _msg
+install := TARGET= install
+install_h := TARGET= install_h
+# The _feature target is used to initially populate and to update the
+# FEATURE files for each component. It is not run as part of a normal
+# build.
+_feature := TARGET= _feature install
-all := TARGET = all
-install := TARGET = install
-clean := TARGET = clean
-clobber := TARGET = clobber
-lint := TARGET = lint
+SUBDIRS= \
+ tools \
+ libast \
+ libcmd \
+ libdll \
+ libpp \
+ libshell \
+ libsum \
+ ksh \
+ msgcc \
+ shcomp
.KEEP_STATE:
+.PARALLEL: $(SUBDIRS)
-all install clean clobber lint: $(SUBDIRS)
+all clean clobber install install_h _msg _feature: $(SUBDIRS)
-$(SUBDIRS): FRC
+$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
-include ../Makefile.targ
+libast: tools
+libcmd: libsum libast
+libdll: libast
+libpp: libast
+libshell: libast libcmd libdll
+libsum: libast
+
+shcomp: libshell
+msgcc: libast libpp
+ksh: libshell shcomp