95 #
96 # Everybody need to know how to create a modstubs.o built with the
97 # appropriate flags and located in the appropriate location.
98 #
99 $(MODSTUBS_O): $(MODSTUBS)
100 $(COMPILE.s) -o $@ $(MODSTUBS)
101
102 $(LINTS_DIR)/modstubs.ln: $(MODSTUBS)
103 @($(LHEAD) $(LINT.s) $(MODSTUBS) $(LTAIL))
104
105 #
106 # Build the source file which contains the kernel's utsname,
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 #
119 VERSION_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'`\" \
124 -DUTS_VERSION=\"`$(VERSION_STRING) | 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
133 #
134 # Installation targets and rules:
135 #
136 $(ROOT_MOD_DIR) $(USR_MOD_DIR):
137 -$(INS.dir)
138
139 $(ROOT_MOD_DIRS_32): $(ROOT_MOD_DIR)
140 -$(INS.dir)
141
142 $(USR_MOD_DIRS_32): $(USR_MOD_DIR)
143 -$(INS.dir)
144
|
95 #
96 # Everybody need to know how to create a modstubs.o built with the
97 # appropriate flags and located in the appropriate location.
98 #
99 $(MODSTUBS_O): $(MODSTUBS)
100 $(COMPILE.s) -o $@ $(MODSTUBS)
101
102 $(LINTS_DIR)/modstubs.ln: $(MODSTUBS)
103 @($(LHEAD) $(LINT.s) $(MODSTUBS) $(LTAIL))
104
105 #
106 # Build the source file which contains the kernel's utsname,
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
116 $(OBJS_DIR)/vers.o: $(OBJECTS)
117 $(COMPILE.c) -DUTS_RELEASE=\"`$(ECHO) $(RELEASE) | sed -e 's/ /_/g'`\" \
118 -DUTS_VERSION=\"`$(ECHO) $(PATCHID) | sed -e 's/ /_/g'`\" \
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
127 #
128 # Installation targets and rules:
129 #
130 $(ROOT_MOD_DIR) $(USR_MOD_DIR):
131 -$(INS.dir)
132
133 $(ROOT_MOD_DIRS_32): $(ROOT_MOD_DIR)
134 -$(INS.dir)
135
136 $(USR_MOD_DIRS_32): $(USR_MOD_DIR)
137 -$(INS.dir)
138
|