Print this page
XXX Remove nawk(1)


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




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