Print this page
XXX Remove nawk(1)

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/lvm/rpc.metamhd/sparc/Makefile
          +++ new/usr/src/cmd/lvm/rpc.metamhd/sparc/Makefile
↓ open down ↓ 15 lines elided ↑ open up ↑
  16   16  # If applicable, add the following below this CDDL HEADER, with the
  17   17  # fields enclosed by brackets "[]" replaced with your own identifying
  18   18  # information: Portions Copyright [yyyy] [name of copyright owner]
  19   19  #
  20   20  # CDDL HEADER END
  21   21  #
  22   22  #
  23   23  # Copyright 1996, 2001-2003 Sun Microsystems, Inc.  All rights reserved.
  24   24  # Use is subject to license terms.
  25   25  #
  26      -# ident "%Z%%M% %I%     %E% SMI"
  27      -#
  28   26  # Makefile for logical volume management 
  29   27  #
  30   28  
  31   29  PROG= rpc.metamhd 
  32   30  
  33   31  RPCMOD = metamhd
  34   32  
  35   33  DERIVED_FILES = \
  36   34                  $(RPCMOD)_svc.c \
  37   35                  $(RPCMOD)_xdr.c \
↓ open down ↓ 80 lines elided ↑ open up ↑
 118  116  metamhd_svc.c: $(SRC)/head/metamhd.x
 119  117          $(CP) $(SRC)/head/metamhd.x .
 120  118          $(RPCGEN) $(RPCGENFLAGS_SERVER) metamhd.x -o $@
 121  119          ${RM} metamhd.x
 122  120  
 123  121  metamhd_xdr.c: $(SRC)/head/metamhd.x
 124  122          $(RPCGEN) $(RPCGENFLAGS) -c $(SRC)/head/metamhd.x -o $@
 125  123  
 126  124  mhdx_xdr.c: $(SRC)/uts/common/sys/lvm/mhdx.x
 127  125          $(RPCGEN) $(RPCGENFLAGS) -c $(SRC)/uts/common/sys/lvm/mhdx.x | \
 128      -        nawk '{sub(/uts\/common\/sys\/lvm/, "head") ; print $$0}' >$@
      126 +        /usr/xpg4/bin/awk '{sub(/uts\/common\/sys\/lvm/, "head") ; print $$0}' >$@
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX