108
109 #
110 # For now, disable these lint checks; maintainers should endeavor
111 # to investigate and remove these for maximum lint coverage.
112 # Please do not carry these forward to new Makefiles.
113 #
114 LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
115 LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
116 LINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
117 LINTTAGS += -erroff=E_STATIC_UNUSED
118 LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
119 LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
120
121 CERRWARN += -_gcc=-Wno-unused-label
122 CERRWARN += -_gcc=-Wno-unused-variable
123 CERRWARN += -_gcc=-Wno-unused-value
124 CERRWARN += -_gcc=-Wno-unused-function
125 CERRWARN += -_gcc=-Wno-parentheses
126 CERRWARN += -_gcc=-Wno-switch
127 CERRWARN += -_gcc=-Wno-type-limits
128 CERRWARN += -_gcc=-Wno-uninitialized
129 CERRWARN += -_gcc=-Wno-clobbered
130 CERRWARN += -_gcc=-Wno-empty-body
131
132
133 # Ensure that lint sees 'struct cpu' containing a fully declared
134 # embedded 'struct machcpu'.
135 #
136 LINTFLAGS += -D_MACHDEP -I../../sun4 -I../../$(PLATFORM) -I../../sfmmu
137
138 #
139 # Default build targets.
140 #
141 .KEEP_STATE:
142
143 .PARALLEL: $(LIBSTUBS)
144
145 def: $(DEF_DEPS)
146
147 all: $(ALL_DEPS)
148
|
108
109 #
110 # For now, disable these lint checks; maintainers should endeavor
111 # to investigate and remove these for maximum lint coverage.
112 # Please do not carry these forward to new Makefiles.
113 #
114 LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
115 LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
116 LINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
117 LINTTAGS += -erroff=E_STATIC_UNUSED
118 LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
119 LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
120
121 CERRWARN += -_gcc=-Wno-unused-label
122 CERRWARN += -_gcc=-Wno-unused-variable
123 CERRWARN += -_gcc=-Wno-unused-value
124 CERRWARN += -_gcc=-Wno-unused-function
125 CERRWARN += -_gcc=-Wno-parentheses
126 CERRWARN += -_gcc=-Wno-switch
127 CERRWARN += -_gcc=-Wno-type-limits
128 CERRWARN += $(CNOWARN_UNINIT)
129 CERRWARN += -_gcc=-Wno-clobbered
130 CERRWARN += -_gcc=-Wno-empty-body
131
132
133 # Ensure that lint sees 'struct cpu' containing a fully declared
134 # embedded 'struct machcpu'.
135 #
136 LINTFLAGS += -D_MACHDEP -I../../sun4 -I../../$(PLATFORM) -I../../sfmmu
137
138 #
139 # Default build targets.
140 #
141 .KEEP_STATE:
142
143 .PARALLEL: $(LIBSTUBS)
144
145 def: $(DEF_DEPS)
146
147 all: $(ALL_DEPS)
148
|