summaryrefslogtreecommitdiff
path: root/usr/src/cmd/ksh
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/cmd/ksh')
-rw-r--r--usr/src/cmd/ksh/builtins/Makefile27
1 files changed, 25 insertions, 2 deletions
diff --git a/usr/src/cmd/ksh/builtins/Makefile b/usr/src/cmd/ksh/builtins/Makefile
index 69a86bbaae..bdf1665d8f 100644
--- a/usr/src/cmd/ksh/builtins/Makefile
+++ b/usr/src/cmd/ksh/builtins/Makefile
@@ -24,7 +24,9 @@
# Use is subject to license terms.
#
-SHELL=/usr/bin/ksh93
+#
+# Copyright 2010 Nexenta Systems, Inc. All rights reserved.
+#
PROG= alias
ALIASPROG= \
@@ -59,10 +61,28 @@ ALIASPROG= \
wait \
wc
+XPG4ALIASPROG= \
+ bg \
+ cd \
+ command \
+ fc \
+ fg \
+ getopts \
+ hash \
+ jobs \
+ kill \
+ read \
+ test \
+ type \
+ ulimit \
+ umask \
+ unalias \
+ wait
+
include ../../Makefile.cmd
$(SPARC_BLD)include ../../Makefile.cmd.64
-ROOTALIASPROG= $(ALIASPROG:%=$(ROOTBIN)/%)
+ROOTALIASPROG= $(ALIASPROG:%=$(ROOTBIN)/%) $(XPG4ALIASPROG:%=$(ROOTXPG4BIN)/%)
FILEMODE= 555
@@ -73,6 +93,9 @@ all: $(PROG)
$(ROOTBIN)/%: $(ROOTBIN)/alias
$(INS.link)
+$(ROOTXPG4BIN)/%: $(ROOTBIN)/alias
+ $(INS.link)
+
.KEEP_STATE:
# Set common AST build flags (e.g., needed to support the math stuff).