Print this page
XXX Remove nawk(1)
*** 168,178 ****
$(OBJS_DIR)/%.o: $(SRC)/common/atomic/sparcv9/%.s
$(COMPILE.s) -o $@ $<
$(OBJS_DIR)/dtracestubs.s: $(UNIX_O) $(LIBS)
$(NM) -u $(UNIX_O) $(LIBS) | $(GREP) __dtrace_probe_ | $(SORT) | \
! $(UNIQ) | $(NAWK) '{ \
printf("\t.global %s\n\t.type %s, #function\n%s:\n", \
$$1, $$1, $$1); }' > $(OBJS_DIR)/dtracestubs.s
$(DTRACESTUBS): $(DTRACESTUBS_O)
$(BUILD.SO) $(DTRACESTUBS_O)
--- 168,178 ----
$(OBJS_DIR)/%.o: $(SRC)/common/atomic/sparcv9/%.s
$(COMPILE.s) -o $@ $<
$(OBJS_DIR)/dtracestubs.s: $(UNIX_O) $(LIBS)
$(NM) -u $(UNIX_O) $(LIBS) | $(GREP) __dtrace_probe_ | $(SORT) | \
! $(UNIQ) | $(AWK) '{ \
printf("\t.global %s\n\t.type %s, #function\n%s:\n", \
$$1, $$1, $$1); }' > $(OBJS_DIR)/dtracestubs.s
$(DTRACESTUBS): $(DTRACESTUBS_O)
$(BUILD.SO) $(DTRACESTUBS_O)