Print this page
XXX Remove nawk(1)

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/Makefile.rules
          +++ new/usr/src/uts/common/Makefile.rules
↓ open down ↓ 1571 lines elided ↑ open up ↑
1572 1572  #
1573 1573  # SVM
1574 1574  #
1575 1575  
1576 1576  MD_XDR_CSRC     =       $(UTSBASE)/common/io/lvm/md
1577 1577  MD_XDR_XSRC     =       $(UTSBASE)/common/sys/lvm
1578 1578  RPCGENFLAGS     +=      -C -M -D_KERNEL -DSYSV
1579 1579  
1580 1580  $(MD_XDR_CSRC)/meta_basic_xdr.c:        $(MD_XDR_XSRC)/meta_basic.x
1581 1581          $(RPCGEN) $(RPCGENFLAGS) -c -i 100 $(MD_XDR_XSRC)/meta_basic.x | \
1582      -        nawk '{sub(/^#include "(\.\.\/\.\.\/)/,"#include \"\.\.\/\.\.\/\.\.\/\.\.\/"); print $$0}'  | \
1583      -        nawk '{sub(/meta_basic.h/, "md_basic.h"); print $$0}' >$@
     1582 +        /usr/xpg4/bin/awk '{sub(/^#include "(\.\.\/\.\.\/)/,"#include \"\.\.\/\.\.\/\.\.\/\.\.\/"); print $$0}'  | \
     1583 +        /usr/xpg4/bin/awk '{sub(/meta_basic.h/, "md_basic.h"); print $$0}' >$@
1584 1584  
1585 1585  $(MD_XDR_CSRC)/metamed_xdr.c:   $(MD_XDR_XSRC)/metamed.x
1586 1586          $(RPCGEN) $(RPCGENFLAGS) -c -i 100 $(MD_XDR_XSRC)/metamed.x |  \
1587      -        nawk '{sub(/^#include "(\.\.\/\.\.\/)/,"#include \"\.\.\/\.\.\/\.\.\/\.\.\/"); print $$0}' | \
1588      -        nawk '{sub(/metamed.h/, "mdmed.h"); print $$0}' >$@
     1587 +        /usr/xpg4/bin/awk '{sub(/^#include "(\.\.\/\.\.\/)/,"#include \"\.\.\/\.\.\/\.\.\/\.\.\/"); print $$0}' | \
     1588 +        /usr/xpg4/bin/awk '{sub(/metamed.h/, "mdmed.h"); print $$0}' >$@
1589 1589  
1590 1590  #
1591 1591  #       Section 1b:     Lint `objects'
1592 1592  #
1593 1593  $(LINTS_DIR)/%.ln:              $(COMMONBASE)/crypto/aes/%.c
1594 1594          @($(LHEAD) $(LINT.c) $< $(LTAIL))
1595 1595  
1596 1596  $(LINTS_DIR)/%.ln:              $(COMMONBASE)/crypto/arcfour/%.c
1597 1597          @($(LHEAD) $(LINT.c) $< $(LTAIL))
1598 1598  
↓ open down ↓ 1119 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX