62 #
63 # lint pass one enforcement
64 #
65 CFLAGS += $(CCVERBOSE)
66
67 #
68 # Turn on doubleword alignment for 64 bit registers
69 #
70 CFLAGS += -dalign
71
72 #
73 # For now, disable these lint checks; maintainers should endeavor
74 # to investigate and remove these for maximum lint coverage.
75 # Please do not carry these forward to new Makefiles.
76 #
77 LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
78 LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
79 LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
80
81 CERRWARN += -_gcc=-Wno-type-limits
82 CERRWARN += -_gcc=-Wno-uninitialized
83
84 #
85 # Default build targets.
86 #
87 .KEEP_STATE:
88
89 def: $(DEF_DEPS)
90
91 all: $(ALL_DEPS)
92
93 clean: $(CLEAN_DEPS)
94
95 clobber: $(CLOBBER_DEPS)
96
97 lint: $(LINT_DEPS)
98
99 modlintlib: $(MODLINTLIB_DEPS)
100
101 clean.lint: $(CLEAN_LINT_DEPS)
102
|
62 #
63 # lint pass one enforcement
64 #
65 CFLAGS += $(CCVERBOSE)
66
67 #
68 # Turn on doubleword alignment for 64 bit registers
69 #
70 CFLAGS += -dalign
71
72 #
73 # For now, disable these lint checks; maintainers should endeavor
74 # to investigate and remove these for maximum lint coverage.
75 # Please do not carry these forward to new Makefiles.
76 #
77 LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
78 LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
79 LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
80
81 CERRWARN += -_gcc=-Wno-type-limits
82 CERRWARN += $(CNOWARN_UNINIT)
83
84 #
85 # Default build targets.
86 #
87 .KEEP_STATE:
88
89 def: $(DEF_DEPS)
90
91 all: $(ALL_DEPS)
92
93 clean: $(CLEAN_DEPS)
94
95 clobber: $(CLOBBER_DEPS)
96
97 lint: $(LINT_DEPS)
98
99 modlintlib: $(MODLINTLIB_DEPS)
100
101 clean.lint: $(CLEAN_LINT_DEPS)
102
|