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>


 172 
 173 CFLAGS          = -xchip=ultra $(CCABS32) $(CCREGSYM)
 174 CFLAGS          += $(CC_XARCH)
 175 CFLAGS          += $(COPTIMIZE)
 176 CFLAGS          += $(EXTRA_CFLAGS)
 177 CFLAGS          += $(XAOPT)
 178 CFLAGS          += $(INLINES) -D_ASM_INLINES
 179 CFLAGS          += $(CCMODE)
 180 CFLAGS          += $(SPACEFLAG)
 181 CFLAGS          += $(CERRWARN)
 182 CFLAGS          += $(CTF_FLAGS_$(CLASS))
 183 CFLAGS          += $(C99MODE)
 184 CFLAGS          += $(CCUNBOUND)
 185 CFLAGS          += $(CCNOAUTOINLINE)
 186 CFLAGS          += $(CCSTATICSYM)
 187 CFLAGS          += $(CC32BITCALLERS)
 188 CFLAGS          += $(IROPTFLAG)
 189 CFLAGS          += $(CGLOBALSTATIC)
 190 CFLAGS          += -xregs=no%float
 191 CFLAGS          += -xstrconst



 192 CPPFLAGS        += -DGLREG
 193 
 194 ASFLAGS         += $(AS_XARCH) -DGLREG
 195 
 196 AS_INC_PATH     += -I$(DSF_DIR)/$(OBJS_DIR)
 197 
 198 LINT_KMODS      += $(GENUNIX_KMODS)
 199 
 200 LINT_DEFS       = -m64
 201 
 202 #
 203 #       The following must be defined for all implementations:
 204 #
 205 #       MAPFILE:                ld mapfile for the build of kernel/unix.
 206 #       MODSTUBS:               Module stubs source file.
 207 #       GENCONST_SRC:           genconst.c
 208 #       OFFSETS:                offsets.in
 209 #       PLATFORM_OFFSETS:       Platform specific mach_offsets.in
 210 #       FDOFFSETS:              fd_offsets.in
 211 #




 172 
 173 CFLAGS          = -xchip=ultra $(CCABS32) $(CCREGSYM)
 174 CFLAGS          += $(CC_XARCH)
 175 CFLAGS          += $(COPTIMIZE)
 176 CFLAGS          += $(EXTRA_CFLAGS)
 177 CFLAGS          += $(XAOPT)
 178 CFLAGS          += $(INLINES) -D_ASM_INLINES
 179 CFLAGS          += $(CCMODE)
 180 CFLAGS          += $(SPACEFLAG)
 181 CFLAGS          += $(CERRWARN)
 182 CFLAGS          += $(CTF_FLAGS_$(CLASS))
 183 CFLAGS          += $(C99MODE)
 184 CFLAGS          += $(CCUNBOUND)
 185 CFLAGS          += $(CCNOAUTOINLINE)
 186 CFLAGS          += $(CCSTATICSYM)
 187 CFLAGS          += $(CC32BITCALLERS)
 188 CFLAGS          += $(IROPTFLAG)
 189 CFLAGS          += $(CGLOBALSTATIC)
 190 CFLAGS          += -xregs=no%float
 191 CFLAGS          += -xstrconst
 192 CFLAGS          += $(CSOURCEDEBUGFLAGS)
 193 CFLAGS          += $(CUSERFLAGS)
 194 
 195 CPPFLAGS        += -DGLREG
 196 
 197 ASFLAGS         += $(AS_XARCH) -DGLREG
 198 
 199 AS_INC_PATH     += -I$(DSF_DIR)/$(OBJS_DIR)
 200 
 201 LINT_KMODS      += $(GENUNIX_KMODS)
 202 
 203 LINT_DEFS       = -m64
 204 
 205 #
 206 #       The following must be defined for all implementations:
 207 #
 208 #       MAPFILE:                ld mapfile for the build of kernel/unix.
 209 #       MODSTUBS:               Module stubs source file.
 210 #       GENCONST_SRC:           genconst.c
 211 #       OFFSETS:                offsets.in
 212 #       PLATFORM_OFFSETS:       Platform specific mach_offsets.in
 213 #       FDOFFSETS:              fd_offsets.in
 214 #