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