Print this page
include build stamp in unix

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/Makefile.targ
          +++ new/usr/src/uts/Makefile.targ
↓ open down ↓ 116 lines elided ↑ open up ↑
 117  117  # it provides a little more useful information.
 118  118  #
 119  119  VERSION_STRING  = ($(ECHO) $$LOGNAME [\`basename $$CODEMGR_WS\`] \\\c; date +%D)
 120  120  $(INTERNAL_RELEASE_BUILD)VERSION_STRING = $(ECHO) $(PATCHID)
 121  121  
 122  122  $(OBJS_DIR)/vers.o: $(OBJECTS)
 123  123          $(COMPILE.c) -DUTS_RELEASE=\"`$(ECHO) $(RELEASE) | sed -e 's/ /_/g'`\" \
 124  124              -DUTS_VERSION=\"`$(VERSION_STRING) | sed -e 's/ /_/g'`\" \
 125  125              -DUTS_PLATFORM=\"$(UNAME_M)\" -o $@ $(SRC)/uts/common/os/vers.c
 126  126          $(CTFCONVERT_O)
      127 +        $(PROCESS_BUILDSTAMP) $@
 127  128          $(POST_PROCESS_O)
 128  129  
 129  130  $(LINTS_DIR)/vers.ln: $(SRC)/uts/common/os/vers.c
 130  131          @($(LHEAD) $(LINT.c) -DUTS_RELEASE=\"\" -DUTS_VERSION=\"\" \
 131  132              -DUTS_PLATFORM=\"\" $(SRC)/uts/common/os/vers.c $(LTAIL))
 132  133  
 133  134  #
 134  135  #       Installation targets and rules:
 135  136  #
 136  137  $(ROOT_MOD_DIR) $(USR_MOD_DIR):
↓ open down ↓ 369 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX