Print this page
3735 should include an empty make variable in the default CFLAGS/CCFLAGS
3844 the build should make source-level debugging easier
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Garrett D'Amore <garrett@damore.org>


 198 
 199 CFLAGS          = -xchip=ultra $(CCABS32) $(CCREGSYM)
 200 CFLAGS          += $(CC_XARCH)
 201 CFLAGS          += $(COPTIMIZE)
 202 CFLAGS          += $(EXTRA_CFLAGS)
 203 CFLAGS          += $(XAOPT)
 204 CFLAGS          += $(INLINES) -D_ASM_INLINES
 205 CFLAGS          += $(CCMODE)
 206 CFLAGS          += $(SPACEFLAG)
 207 CFLAGS          += $(CERRWARN)
 208 CFLAGS          += $(CTF_FLAGS_$(CLASS))
 209 CFLAGS          += $(C99MODE)
 210 CFLAGS          += $(CCUNBOUND)
 211 CFLAGS          += $(CCNOAUTOINLINE)
 212 CFLAGS          += $(CCSTATICSYM)
 213 CFLAGS          += $(CC32BITCALLERS)
 214 CFLAGS          += $(IROPTFLAG)
 215 CFLAGS          += $(CGLOBALSTATIC)
 216 CFLAGS          += -xregs=no%float
 217 CFLAGS          += -xstrconst


 218 
 219 ASFLAGS         += $(AS_XARCH)
 220 
 221 AS_INC_PATH     += -I$(DSF_DIR)/$(OBJS_DIR)
 222 
 223 LINT_KMODS      += $(GENUNIX_KMODS)
 224 
 225 LINT_DEFS = -m64
 226 
 227 #
 228 #       The following must be defined for all implementations:
 229 #
 230 #       MAPFILE:                ld mapfile for the build of kernel/unix.
 231 #       MODSTUBS:               Module stubs source file.
 232 #       GENCONST_SRC:           genconst.c
 233 #       OFFSETS:                offsets.in
 234 #       PLATFORM_OFFSETS:       Platform specific mach_offsets.in
 235 #       FDOFFSETS:              fd_offsets.in
 236 #
 237 MAPFILE          = $(UTSBASE)/sun4/conf/Mapfile




 198 
 199 CFLAGS          = -xchip=ultra $(CCABS32) $(CCREGSYM)
 200 CFLAGS          += $(CC_XARCH)
 201 CFLAGS          += $(COPTIMIZE)
 202 CFLAGS          += $(EXTRA_CFLAGS)
 203 CFLAGS          += $(XAOPT)
 204 CFLAGS          += $(INLINES) -D_ASM_INLINES
 205 CFLAGS          += $(CCMODE)
 206 CFLAGS          += $(SPACEFLAG)
 207 CFLAGS          += $(CERRWARN)
 208 CFLAGS          += $(CTF_FLAGS_$(CLASS))
 209 CFLAGS          += $(C99MODE)
 210 CFLAGS          += $(CCUNBOUND)
 211 CFLAGS          += $(CCNOAUTOINLINE)
 212 CFLAGS          += $(CCSTATICSYM)
 213 CFLAGS          += $(CC32BITCALLERS)
 214 CFLAGS          += $(IROPTFLAG)
 215 CFLAGS          += $(CGLOBALSTATIC)
 216 CFLAGS          += -xregs=no%float
 217 CFLAGS          += -xstrconst
 218 CFLAGS          += $(CSOURCEDEBUGFLAGS)
 219 CFLAGS          += $(CUSERFLAGS)
 220 
 221 ASFLAGS         += $(AS_XARCH)
 222 
 223 AS_INC_PATH     += -I$(DSF_DIR)/$(OBJS_DIR)
 224 
 225 LINT_KMODS      += $(GENUNIX_KMODS)
 226 
 227 LINT_DEFS = -m64
 228 
 229 #
 230 #       The following must be defined for all implementations:
 231 #
 232 #       MAPFILE:                ld mapfile for the build of kernel/unix.
 233 #       MODSTUBS:               Module stubs source file.
 234 #       GENCONST_SRC:           genconst.c
 235 #       OFFSETS:                offsets.in
 236 #       PLATFORM_OFFSETS:       Platform specific mach_offsets.in
 237 #       FDOFFSETS:              fd_offsets.in
 238 #
 239 MAPFILE          = $(UTSBASE)/sun4/conf/Mapfile