Print this page
6648 illumos build should be explicit about C standards


 167         @($(LHEAD) $(LINT.c) $< $(LTAIL))
 168 
 169 #       See note above.
 170 
 171 $(LINTS_DIR)/dtrace_subr.ln:    $(UTSBASE)/i86pc/os/dtrace_subr.c
 172         @($(LHEAD) $(LINT.c) $(UTSBASE)/i86pc/os/dtrace_subr.c $(LTAIL))
 173 
 174 #
 175 # stuff for dboot
 176 #
 177 # This is different from i86pc - uses 64 bit compiler for 64 bit
 178 #
 179 # Note that we *don't* want to use the definitions that have been augmented
 180 # by various bits of the context of the kernel build environment; so we
 181 # start constructing flags and things afresh.
 182 
 183 DBOOT_OBJS_DIR= dboot/$(OBJS_DIR)
 184 
 185 DBOOT_XARCH_32 = $(i386_XARCH)
 186 DBOOT_XARCH_64 = $(amd64_XARCH)
 187 DBOOT_CFLAGS = $(DBOOT_XARCH_$(CLASS)) $(CERRWARN) $(CCNOAUTOINLINE) -O

 188 
 189 DBOOT_AS_XARCH_32 = $(i386_AS_XARCH)
 190 DBOOT_AS_XARCH_64 = $(amd64_AS_XARCH)
 191 DBOOT_ASFLAGS = $(DBOOT_AS_XARCH_$(CLASS)) -P -D_ASM
 192 
 193 DBOOT_LINTFLAGS_i86xpv  = $(LINTFLAGS_i386_$(CLASS)) $(LINTTAGS_i386_$(CLASS))
 194 
 195 $(DBOOT_OBJS_DIR)/%.o:          $(UTSBASE)/common/xen/os/%.c
 196         $(CC) $(DBOOT_CFLAGS) $(DBOOT_DEFS) $(DBOOT_CC_INCL) -c -o $@ $<
 197 
 198 $(DBOOT_OBJS_DIR)/%.o:          $(UTSBASE)/i86xpv/boot/%.c
 199         $(CC) $(DBOOT_CFLAGS) $(DBOOT_DEFS) $(DBOOT_CC_INCL) -c -o $@ $<
 200 
 201 $(DBOOT_OBJS_DIR)/%.o:          $(UTSBASE)/i86pc/boot/%.c
 202         $(CC) $(DBOOT_CFLAGS) $(DBOOT_DEFS) $(DBOOT_CC_INCL) -c -o $@ $<
 203 
 204 $(DBOOT_OBJS_DIR)/%.o:          $(UTSBASE)/i86pc/dboot/%.c
 205         $(CC) $(DBOOT_CFLAGS)  $(DBOOT_DEFS) $(DBOOT_CC_INCL) -c -o $@ $<
 206 
 207 $(DBOOT_OBJS_DIR)/%.o:          $(COMMONBASE)/util/%.c




 167         @($(LHEAD) $(LINT.c) $< $(LTAIL))
 168 
 169 #       See note above.
 170 
 171 $(LINTS_DIR)/dtrace_subr.ln:    $(UTSBASE)/i86pc/os/dtrace_subr.c
 172         @($(LHEAD) $(LINT.c) $(UTSBASE)/i86pc/os/dtrace_subr.c $(LTAIL))
 173 
 174 #
 175 # stuff for dboot
 176 #
 177 # This is different from i86pc - uses 64 bit compiler for 64 bit
 178 #
 179 # Note that we *don't* want to use the definitions that have been augmented
 180 # by various bits of the context of the kernel build environment; so we
 181 # start constructing flags and things afresh.
 182 
 183 DBOOT_OBJS_DIR= dboot/$(OBJS_DIR)
 184 
 185 DBOOT_XARCH_32 = $(i386_XARCH)
 186 DBOOT_XARCH_64 = $(amd64_XARCH)
 187 DBOOT_CFLAGS = $(DBOOT_XARCH_$(CLASS)) $(C99MODE) $(CERRWARN) \
 188     $(CCNOAUTOINLINE) -O
 189 
 190 DBOOT_AS_XARCH_32 = $(i386_AS_XARCH)
 191 DBOOT_AS_XARCH_64 = $(amd64_AS_XARCH)
 192 DBOOT_ASFLAGS = $(DBOOT_AS_XARCH_$(CLASS)) -P -D_ASM
 193 
 194 DBOOT_LINTFLAGS_i86xpv  = $(LINTFLAGS_i386_$(CLASS)) $(LINTTAGS_i386_$(CLASS))
 195 
 196 $(DBOOT_OBJS_DIR)/%.o:          $(UTSBASE)/common/xen/os/%.c
 197         $(CC) $(DBOOT_CFLAGS) $(DBOOT_DEFS) $(DBOOT_CC_INCL) -c -o $@ $<
 198 
 199 $(DBOOT_OBJS_DIR)/%.o:          $(UTSBASE)/i86xpv/boot/%.c
 200         $(CC) $(DBOOT_CFLAGS) $(DBOOT_DEFS) $(DBOOT_CC_INCL) -c -o $@ $<
 201 
 202 $(DBOOT_OBJS_DIR)/%.o:          $(UTSBASE)/i86pc/boot/%.c
 203         $(CC) $(DBOOT_CFLAGS) $(DBOOT_DEFS) $(DBOOT_CC_INCL) -c -o $@ $<
 204 
 205 $(DBOOT_OBJS_DIR)/%.o:          $(UTSBASE)/i86pc/dboot/%.c
 206         $(CC) $(DBOOT_CFLAGS)  $(DBOOT_DEFS) $(DBOOT_CC_INCL) -c -o $@ $<
 207 
 208 $(DBOOT_OBJS_DIR)/%.o:          $(COMMONBASE)/util/%.c