From 7b07063d906859b2be1e88791f801b3c96e432f6 Mon Sep 17 00:00:00 2001 From: Igor Kozhukhov Date: Sat, 24 Oct 2015 19:18:16 +0300 Subject: 6383 update AWK to use /usr/bin/nawk and update $(AWK) where it's possible Reviewed by: Toomas Soome Reviewed by: Josef 'Jeff' Sipek Reviewed by: Albert Lee Approved by: Robert Mustacchi --- usr/src/lib/libsqlite/Makefile.com | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'usr/src/lib/libsqlite/Makefile.com') diff --git a/usr/src/lib/libsqlite/Makefile.com b/usr/src/lib/libsqlite/Makefile.com index e45f1767dc..b2712a24d6 100644 --- a/usr/src/lib/libsqlite/Makefile.com +++ b/usr/src/lib/libsqlite/Makefile.com @@ -1,6 +1,7 @@ # # Copyright 2008 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. +# Copyright 2015 Igor Kozhukhov # # Make the SO name unlikely to conflict with any other @@ -219,7 +220,7 @@ opcodes.h: $(SRCDIR)/vdbe.c echo '/* Automatically generated file. Do not edit */' > $@ ; \ grep '^case OP_' $(SRCDIR)/vdbe.c | \ sed -e 's/://' | \ - awk '{printf "#define %-30s %3d\n", $$2, ++cnt}' >> $@ + $(AWK) '{printf "#define %-30s %3d\n", $$2, ++cnt}' >> $@ opcodes.c: $(SRCDIR)/vdbe.c @echo "Generating $@"; \ -- cgit v1.2.3