summaryrefslogtreecommitdiff
path: root/usr/src/lib/libxcurses2/Makefile
diff options
context:
space:
mode:
authorIgor Kozhukhov <ikozhukhov@gmail.com>2015-10-24 19:18:16 +0300
committerRobert Mustacchi <rm@joyent.com>2015-11-02 11:48:29 -0800
commit7b07063d906859b2be1e88791f801b3c96e432f6 (patch)
treeea1f793d08332a8f795713f5433a12ddb1622bf0 /usr/src/lib/libxcurses2/Makefile
parentae24175b2b25e9fb4bfd9ac0648b57e0735b6651 (diff)
downloadillumos-joyent-7b07063d906859b2be1e88791f801b3c96e432f6.tar.gz
6383 update AWK to use /usr/bin/nawk and update $(AWK) where it's possible
Reviewed by: Toomas Soome <tsoome@me.com> Reviewed by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net> Reviewed by: Albert Lee <trisk@omniti.com> Approved by: Robert Mustacchi <rm@joyent.com>
Diffstat (limited to 'usr/src/lib/libxcurses2/Makefile')
-rw-r--r--usr/src/lib/libxcurses2/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/usr/src/lib/libxcurses2/Makefile b/usr/src/lib/libxcurses2/Makefile
index c0a3e45bbb..d99a9628c8 100644
--- a/usr/src/lib/libxcurses2/Makefile
+++ b/usr/src/lib/libxcurses2/Makefile
@@ -21,6 +21,7 @@
#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
+# Copyright 2015 Igor Kozhukhov <ikozhukhov@gmail.com>
#
include ../Makefile.lib
@@ -83,13 +84,13 @@ $(SUBDIRS): $(GENERATED)
# mknames.awk defines functions so needs nawk
$(NAMES) : src/libc/xcurses/mknames.awk src/libc/xcurses/caps
$(RM) $(NAMES)
- cd src/libc/xcurses; $(NAWK) -f mknames.awk caps
+ cd src/libc/xcurses; $(AWK) -f mknames.awk caps
h/term.h : src/libc/xcurses/mkterm.awk src/libc/xcurses/caps
$(RM) $@
- cd src/libc/xcurses; $(NAWK) -f mkterm.awk caps > term.h
+ cd src/libc/xcurses; $(AWK) -f mkterm.awk caps > term.h
$(MV) src/libc/xcurses/term.h h/term.h
src/libc/xcurses/keyindex.c : src/libc/xcurses/mkkey.awk src/libc/xcurses/caps
$(RM) $@
- cd src/libc/xcurses; $(NAWK) -f mkkey.awk caps > keyindex.c
+ cd src/libc/xcurses; $(AWK) -f mkkey.awk caps > keyindex.c