Print this page
XXX Remove nawk(1)

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/sun4v/Makefile.rules
          +++ new/usr/src/uts/sun4v/Makefile.rules
↓ open down ↓ 154 lines elided ↑ open up ↑
 155  155  
 156  156  $(OBJS_DIR)/%.o:                $(SRC)/common/atomic/sparcv9/%.s
 157  157          $(COMPILE.s) -o $@ $<
 158  158  
 159  159  $(OBJS_DIR)/%.o:                $(SRC)/common/crypto/arcfour/sun4v/%.c
 160  160          $(COMPILE.c) -o $@ $<
 161  161          $(CTFCONVERT_O)
 162  162  
 163  163  $(OBJS_DIR)/dtracestubs.s:      $(UNIX_O) $(LIBS)
 164  164          $(NM) -u $(UNIX_O) $(LIBS) | $(GREP) __dtrace_probe_ | $(SORT) | \
 165      -            $(UNIQ) | $(NAWK) '{ \
      165 +            $(UNIQ) | $(AWK) '{ \
 166  166              printf("\t.global %s\n\t.type %s, #function\n%s:\n", \
 167  167              $$1, $$1, $$1); }' > $(OBJS_DIR)/dtracestubs.s
 168  168  
 169  169  $(DTRACESTUBS): $(DTRACESTUBS_O)
 170  170          $(BUILD.SO) $(DTRACESTUBS_O)
 171  171  
 172  172  #
 173  173  #       Section 1b: Lint `object' build rules
 174  174  #
 175  175  $(LINTS_DIR)/%.ln:              $(UTSBASE)/sun4v/cpu/%.c
↓ open down ↓ 100 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX