Print this page
XXX Remove nawk(1)

@@ -20,12 +20,10 @@
 #
 #
 # Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
-# ident "%Z%%M% %I%     %E% SMI"
-#
 
 LIBRARY=        libmeta.a 
 VERS=           .1 
 COMMON =        $(SRC)/common/lvm
 

@@ -158,39 +156,39 @@
         $(COMPILE.c) -o $@ $<
         $(POST_PROCESS_O)
 
 mdiox_xdr.c: $(SRC)/uts/common/sys/lvm/mdiox.x
         $(RPCGEN) $(RPCGENFLAGS) -c -i 100 $(SRC)/uts/common/sys/lvm/mdiox.x | \
-        nawk '{sub(/uts\/common\/sys\/lvm/, "head"); print $$0}' >$@
+        /usr/xpg4/bin/awk  '{sub(/uts\/common\/sys\/lvm/, "head"); print $$0}' >$@
 
 meta_basic_xdr.c: $(SRC)/uts/common/sys/lvm/meta_basic.x
         $(RPCGEN) $(RPCGENFLAGS) -c $(SRC)/uts/common/sys/lvm/meta_basic.x | \
-        nawk '{sub(/uts\/common\/sys\/lvm/, "head"); print $$0}' >$@
+        /usr/xpg4/bin/awk '{sub(/uts\/common\/sys\/lvm/, "head"); print $$0}' >$@
 
 metad_clnt.c: $(SRC)/head/metad.x 
         $(RPCGEN) $(RPCGENFLAGS) -l $(SRC)/head/metad.x -o $@
 
 metad_xdr.c: $(SRC)/head/metad.x
         $(RPCGEN) $(RPCGENFLAGS) -c $(SRC)/head/metad.x -o $@
 
 metamed_clnt.c: $(SRC)/uts/common/sys/lvm/metamed.x
         $(RPCGEN) $(RPCGENFLAGS) -l $(SRC)/uts/common/sys/lvm/metamed.x | \
-        nawk '{sub(/uts\/common\/sys\/lvm/, "head"); print $$0}' >$@
+        /usr/xpg4/bin/awk '{sub(/uts\/common\/sys\/lvm/, "head"); print $$0}' >$@
 
 metamed_xdr.c: $(SRC)/uts/common/sys/lvm/metamed.x 
         $(RPCGEN) $(RPCGENFLAGS) -c $(SRC)/uts/common/sys/lvm/metamed.x | \
-        nawk '{sub(/uts\/common\/sys\/lvm/, "head"); print $$0}' >$@
+        /usr/xpg4/bin/awk '{sub(/uts\/common\/sys\/lvm/, "head"); print $$0}' >$@
 
 metamhd_clnt.c: $(SRC)/head/metamhd.x 
         $(RPCGEN) $(RPCGENFLAGS) -l $(SRC)/head/metamhd.x -o $@
 
 metamhd_xdr.c: $(SRC)/head/metamhd.x 
         $(RPCGEN) $(RPCGENFLAGS) -c $(SRC)/head/metamhd.x -o $@
 
 mhdx_xdr.c: $(SRC)/uts/common/sys/lvm/mhdx.x
         $(RPCGEN) $(RPCGENFLAGS) -c $(SRC)/uts/common/sys/lvm/mhdx.x | \
-        nawk '{sub(/uts\/common\/sys\/lvm/, "head"); print $$0}' >$@
+        /usr/xpg4/bin/awk '{sub(/uts\/common\/sys\/lvm/, "head"); print $$0}' >$@
 
 mdmn_commd_xdr.c: $(SRC)/uts/common/sys/lvm/mdmn_commd.x
         $(RPCGEN) -c $(SRC)/uts/common/sys/lvm/mdmn_commd.x -o $@
 
 $(DCFILE):= XGETFLAGS = -c TRANSLATION_NOTE_LC_TIME -t