Print this page
XXX Remove nawk(1)
*** 465,484 ****
{ print $0 } \
' > $@
mdiox.h: ../uts/common/sys/lvm/mdiox.x
$(RPCGEN) $(RPCGENFLAGS) ../uts/common/sys/lvm/mdiox.x | \
! nawk '{sub(/sys\/lvm\/md_mhdx/, "mhdx"); print $$0}' | \
! nawk '{sub(/sys\/lvm\/md_basic/, "meta_basic"); print $$0}' | \
awk '/<synch.h>/ { print "#ifdef _REENTRANT"; print $$0; print "#endif\t/* _REENTRANT */"; next } \
/<thread.h>/ { print "#ifdef _REENTRANT"; print $$0; print "#endif\t/* _REENTRANT */"; next } \
{ print $0 } \
' > $@
metamed.h: ../uts/common/sys/lvm/metamed.x
$(RPCGEN) $(RPCGENFLAGS) ../uts/common/sys/lvm/metamed.x | \
! nawk '{sub(/sys\/lvm\/md_basic/, "meta_basic"); print $$0}' | \
awk '/<synch.h>/ { print "#ifdef _REENTRANT"; print $$0; print "#endif\t/* _REENTRANT */"; next } \
/<thread.h>/ { print "#ifdef _REENTRANT"; print $$0; print "#endif\t/* _REENTRANT */"; next } \
{ print $0 } \
' > $@
--- 465,484 ----
{ print $0 } \
' > $@
mdiox.h: ../uts/common/sys/lvm/mdiox.x
$(RPCGEN) $(RPCGENFLAGS) ../uts/common/sys/lvm/mdiox.x | \
! /usr/xpg4/bin/awk '{sub(/sys\/lvm\/md_mhdx/, "mhdx"); print $$0}' | \
! /usr/xpg4/bin/awk '{sub(/sys\/lvm\/md_basic/, "meta_basic"); print $$0}' | \
awk '/<synch.h>/ { print "#ifdef _REENTRANT"; print $$0; print "#endif\t/* _REENTRANT */"; next } \
/<thread.h>/ { print "#ifdef _REENTRANT"; print $$0; print "#endif\t/* _REENTRANT */"; next } \
{ print $0 } \
' > $@
metamed.h: ../uts/common/sys/lvm/metamed.x
$(RPCGEN) $(RPCGENFLAGS) ../uts/common/sys/lvm/metamed.x | \
! /usr/xpg4/bin/awk '{sub(/sys\/lvm\/md_basic/, "meta_basic"); print $$0}' | \
awk '/<synch.h>/ { print "#ifdef _REENTRANT"; print $$0; print "#endif\t/* _REENTRANT */"; next } \
/<thread.h>/ { print "#ifdef _REENTRANT"; print $$0; print "#endif\t/* _REENTRANT */"; next } \
{ print $0 } \
' > $@