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