Print this page
XXX Remove nawk(1)

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/i86pc/Makefile.rules
          +++ new/usr/src/uts/i86pc/Makefile.rules
↓ open down ↓ 298 lines elided ↑ open up ↑
 299  299  
 300  300  $(OBJS_DIR)/%.o:                $(SRC)/common/atomic/$(ATOMIC_SUBDIR)/%.s
 301  301          $(COMPILE.s) -o $@ $<
 302  302  
 303  303  #
 304  304  # dtrace stubs
 305  305  #
 306  306  
 307  307  $(OBJS_DIR)/dtracestubs.s:      $(UNIX_O) $(LIBS)
 308  308          $(NM) -u $(UNIX_O) $(LIBS) | $(GREP) __dtrace_probe_ | $(SORT) | \
 309      -            $(UNIQ) | $(NAWK) '{ \
      309 +            $(UNIQ) | $(AWK) '{ \
 310  310              printf("\t.globl %s\n\t.type %s,@function\n%s:\n", \
 311  311              $$1, $$1, $$1); }' > $(OBJS_DIR)/dtracestubs.s
 312  312  
 313  313  $(DTRACESTUBS): $(DTRACESTUBS_O)
 314  314          $(BUILD.SO) $(DTRACESTUBS_O)
 315  315  
 316  316  #
 317  317  #       Section 1b: Lint `object' build rules
 318  318  #
 319  319  $(LINTS_DIR)/%.ln:              $(UTSBASE)/i86pc/conf/%.c
↓ open down ↓ 153 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX