Print this page
XXX Remove nawk(1)


 145 
 146 $(OBJS_DIR)/%.o:                $(UTSBASE)/sun4v/io/n2rng/%.c
 147         $(COMPILE.c) -o $@ $<
 148         $(CTFCONVERT_O)
 149 
 150 $(OBJS_DIR)/%.o:                $(UTSBASE)/sun4v/io/%.s
 151         $(COMPILE.s) -o $@ $<
 152 
 153 $(OBJS_DIR)/%.o:                $(UTSBASE)/sun4v/io/n2rng/%.s
 154         $(COMPILE.s) -o $@ $<
 155 
 156 $(OBJS_DIR)/%.o:                $(SRC)/common/atomic/sparcv9/%.s
 157         $(COMPILE.s) -o $@ $<
 158 
 159 $(OBJS_DIR)/%.o:                $(SRC)/common/crypto/arcfour/sun4v/%.c
 160         $(COMPILE.c) -o $@ $<
 161         $(CTFCONVERT_O)
 162 
 163 $(OBJS_DIR)/dtracestubs.s:      $(UNIX_O) $(LIBS)
 164         $(NM) -u $(UNIX_O) $(LIBS) | $(GREP) __dtrace_probe_ | $(SORT) | \
 165             $(UNIQ) | $(NAWK) '{ \
 166             printf("\t.global %s\n\t.type %s, #function\n%s:\n", \
 167             $$1, $$1, $$1); }' > $(OBJS_DIR)/dtracestubs.s
 168 
 169 $(DTRACESTUBS): $(DTRACESTUBS_O)
 170         $(BUILD.SO) $(DTRACESTUBS_O)
 171 
 172 #
 173 #       Section 1b: Lint `object' build rules
 174 #
 175 $(LINTS_DIR)/%.ln:              $(UTSBASE)/sun4v/cpu/%.c
 176         @($(LHEAD) $(LINT.c) $< $(LTAIL))
 177 
 178 $(LINTS_DIR)/%.ln:              $(UTSBASE)/sun4v/cpu/%.s
 179         @($(LHEAD) $(LINT.s) $< $(LTAIL))
 180 
 181 $(LINTS_DIR)/%.ln:              $(UTSBASE)/sun4v/io/%.c
 182         @($(LHEAD) $(LINT.c) $< $(LTAIL))
 183 
 184 $(LINTS_DIR)/%.ln:              $(UTSBASE)/sun4v/io/%.s
 185         @($(LHEAD) $(LINT.s) $< $(LTAIL))




 145 
 146 $(OBJS_DIR)/%.o:                $(UTSBASE)/sun4v/io/n2rng/%.c
 147         $(COMPILE.c) -o $@ $<
 148         $(CTFCONVERT_O)
 149 
 150 $(OBJS_DIR)/%.o:                $(UTSBASE)/sun4v/io/%.s
 151         $(COMPILE.s) -o $@ $<
 152 
 153 $(OBJS_DIR)/%.o:                $(UTSBASE)/sun4v/io/n2rng/%.s
 154         $(COMPILE.s) -o $@ $<
 155 
 156 $(OBJS_DIR)/%.o:                $(SRC)/common/atomic/sparcv9/%.s
 157         $(COMPILE.s) -o $@ $<
 158 
 159 $(OBJS_DIR)/%.o:                $(SRC)/common/crypto/arcfour/sun4v/%.c
 160         $(COMPILE.c) -o $@ $<
 161         $(CTFCONVERT_O)
 162 
 163 $(OBJS_DIR)/dtracestubs.s:      $(UNIX_O) $(LIBS)
 164         $(NM) -u $(UNIX_O) $(LIBS) | $(GREP) __dtrace_probe_ | $(SORT) | \
 165             $(UNIQ) | $(AWK) '{ \
 166             printf("\t.global %s\n\t.type %s, #function\n%s:\n", \
 167             $$1, $$1, $$1); }' > $(OBJS_DIR)/dtracestubs.s
 168 
 169 $(DTRACESTUBS): $(DTRACESTUBS_O)
 170         $(BUILD.SO) $(DTRACESTUBS_O)
 171 
 172 #
 173 #       Section 1b: Lint `object' build rules
 174 #
 175 $(LINTS_DIR)/%.ln:              $(UTSBASE)/sun4v/cpu/%.c
 176         @($(LHEAD) $(LINT.c) $< $(LTAIL))
 177 
 178 $(LINTS_DIR)/%.ln:              $(UTSBASE)/sun4v/cpu/%.s
 179         @($(LHEAD) $(LINT.s) $< $(LTAIL))
 180 
 181 $(LINTS_DIR)/%.ln:              $(UTSBASE)/sun4v/io/%.c
 182         @($(LHEAD) $(LINT.c) $< $(LTAIL))
 183 
 184 $(LINTS_DIR)/%.ln:              $(UTSBASE)/sun4v/io/%.s
 185         @($(LHEAD) $(LINT.s) $< $(LTAIL))