123
124 # instr_size needs a special header
125 $(OBJS_DIR)/instr_size.o := EXTRA_OPTIONS = -I$(SRC)/common/dis/i386
126 $(OBJS_DIR)/instr_size.ln := EXTRA_OPTIONS = -I$(SRC)/common/dis/i386
127
128 CFLAGS += -DDIS_MEM
129
130 #
131 # For now, disable these lint checks; maintainers should endeavor
132 # to investigate and remove these for maximum lint coverage.
133 # Please do not carry these forward to new Makefiles.
134 #
135 LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
136 LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
137 LINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
138 LINTTAGS += -erroff=E_STATIC_UNUSED
139 LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
140 LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
141
142 CERRWARN += -_gcc=-Wno-parentheses
143 CERRWARN += -_gcc=-Wno-uninitialized
144 CERRWARN += -_gcc=-Wno-char-subscripts
145 CERRWARN += -_gcc=-Wno-unused-variable
146 CERRWARN += -_gcc=-Wno-unused-function
147 CERRWARN += -_gcc=-Wno-unused-label
148 CERRWARN += -_gcc=-Wno-type-limits
149 CERRWARN += -_gcc=-Wno-clobbered
150 CERRWARN += -_gcc=-Wno-unused-value
151 CERRWARN += -_gcc=-Wno-empty-body
152
153 # needs work
154 SMATCH=off
155
156 # Ensure that lint sees 'struct cpu' containing a fully declared
157 # embedded 'struct machcpu'
158 #
159 LINTFLAGS += -D_MACHDEP -I../../i86pc
160
161 #
162 # Default build targets.
163 #
|
123
124 # instr_size needs a special header
125 $(OBJS_DIR)/instr_size.o := EXTRA_OPTIONS = -I$(SRC)/common/dis/i386
126 $(OBJS_DIR)/instr_size.ln := EXTRA_OPTIONS = -I$(SRC)/common/dis/i386
127
128 CFLAGS += -DDIS_MEM
129
130 #
131 # For now, disable these lint checks; maintainers should endeavor
132 # to investigate and remove these for maximum lint coverage.
133 # Please do not carry these forward to new Makefiles.
134 #
135 LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
136 LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
137 LINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
138 LINTTAGS += -erroff=E_STATIC_UNUSED
139 LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
140 LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
141
142 CERRWARN += -_gcc=-Wno-parentheses
143 CERRWARN += $(CNOWARN_UNINIT)
144 CERRWARN += -_gcc=-Wno-char-subscripts
145 CERRWARN += -_gcc=-Wno-unused-variable
146 CERRWARN += -_gcc=-Wno-unused-function
147 CERRWARN += -_gcc=-Wno-unused-label
148 CERRWARN += -_gcc=-Wno-type-limits
149 CERRWARN += -_gcc=-Wno-clobbered
150 CERRWARN += -_gcc=-Wno-unused-value
151 CERRWARN += -_gcc=-Wno-empty-body
152
153 # needs work
154 SMATCH=off
155
156 # Ensure that lint sees 'struct cpu' containing a fully declared
157 # embedded 'struct machcpu'
158 #
159 LINTFLAGS += -D_MACHDEP -I../../i86pc
160
161 #
162 # Default build targets.
163 #
|