Makefile.targ (6a634c9dca3093f3922e4b7ab826d7bdf17bf78e) | Makefile.targ (34ae5cdf42c9fd8bc75aedb3a91cc2fba8d5182c) |
---|---|
1# 2# CDDL HEADER START 3# 4# The contents of this file are subject to the terms of the 5# Common Development and Distribution License (the "License"). 6# You may not use this file except in compliance with the License. 7# 8# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE --- 98 unchanged lines hidden (view full) --- 107# with release, version and machine set as follows: 108# 109# release: contents of $(RELEASE) (Spaces replaced by '_') 110# version: contents of $(PATCHID) (Spaces replaced by '_') 111# machine: contents of $(UNAME_M) 112# 113# Build environment information is only contained in the comment section. 114# | 1# 2# CDDL HEADER START 3# 4# The contents of this file are subject to the terms of the 5# Common Development and Distribution License (the "License"). 6# You may not use this file except in compliance with the License. 7# 8# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE --- 98 unchanged lines hidden (view full) --- 107# with release, version and machine set as follows: 108# 109# release: contents of $(RELEASE) (Spaces replaced by '_') 110# version: contents of $(PATCHID) (Spaces replaced by '_') 111# machine: contents of $(UNAME_M) 112# 113# Build environment information is only contained in the comment section. 114# |
115# The version string, normally the variable VERSION, is set to display 116# environmental information temporarily while in development because 117# it provides a little more useful information. 118# 119VERSION_STRING = ($(ECHO) $$LOGNAME [\`basename $$CODEMGR_WS\`] \\\c; date +%D) 120$(INTERNAL_RELEASE_BUILD)VERSION_STRING = $(ECHO) $(PATCHID) | |
121 122$(OBJS_DIR)/vers.o: $(OBJECTS) 123 $(COMPILE.c) -DUTS_RELEASE=\"`$(ECHO) $(RELEASE) | sed -e 's/ /_/g'`\" \ | 115 116$(OBJS_DIR)/vers.o: $(OBJECTS) 117 $(COMPILE.c) -DUTS_RELEASE=\"`$(ECHO) $(RELEASE) | sed -e 's/ /_/g'`\" \ |
124 -DUTS_VERSION=\"`$(VERSION_STRING) | sed -e 's/ /_/g'`\" \ | 118 -DUTS_VERSION=\"`$(ECHO) $(PATCHID) | sed -e 's/ /_/g'`\" \ |
125 -DUTS_PLATFORM=\"$(UNAME_M)\" -o $@ $(SRC)/uts/common/os/vers.c 126 $(CTFCONVERT_O) 127 $(POST_PROCESS_O) 128 129$(LINTS_DIR)/vers.ln: $(SRC)/uts/common/os/vers.c 130 @($(LHEAD) $(LINT.c) -DUTS_RELEASE=\"\" -DUTS_VERSION=\"\" \ 131 -DUTS_PLATFORM=\"\" $(SRC)/uts/common/os/vers.c $(LTAIL)) 132 --- 373 unchanged lines hidden --- | 119 -DUTS_PLATFORM=\"$(UNAME_M)\" -o $@ $(SRC)/uts/common/os/vers.c 120 $(CTFCONVERT_O) 121 $(POST_PROCESS_O) 122 123$(LINTS_DIR)/vers.ln: $(SRC)/uts/common/os/vers.c 124 @($(LHEAD) $(LINT.c) -DUTS_RELEASE=\"\" -DUTS_VERSION=\"\" \ 125 -DUTS_PLATFORM=\"\" $(SRC)/uts/common/os/vers.c $(LTAIL)) 126 --- 373 unchanged lines hidden --- |