69 #
70 # lint pass one enforcement
71 #
72 CFLAGS += $(CCVERBOSE)
73
74 #
75 # cpu-module-specific flags
76 #
77 CPPFLAGS += -DCPU_MODULE -DSPITFIRE
78 AS_CPPFLAGS += -DCPU_MODULE -DSPITFIRE
79
80 #
81 # For now, disable these lint checks; maintainers should endeavor
82 # to investigate and remove these for maximum lint coverage.
83 # Please do not carry these forward to new Makefiles.
84 #
85 LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
86 LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
87 LINTTAGS += -erroff=E_BAD_FORMAT_STR2
88
89 CERRWARN += -_gcc=-Wno-uninitialized
90
91 #
92 # Default build targets.
93 #
94 .KEEP_STATE:
95
96 def: $(DEF_DEPS)
97
98 all: $(ALL_DEPS)
99
100 clean: $(CLEAN_DEPS)
101
102 clobber: $(CLOBBER_DEPS)
103
104 lint: $(LINT_DEPS)
105
106 modlintlib: $(MODLINTLIB_DEPS)
107
108 clean.lint: $(CLEAN_LINT_DEPS)
109
|
69 #
70 # lint pass one enforcement
71 #
72 CFLAGS += $(CCVERBOSE)
73
74 #
75 # cpu-module-specific flags
76 #
77 CPPFLAGS += -DCPU_MODULE -DSPITFIRE
78 AS_CPPFLAGS += -DCPU_MODULE -DSPITFIRE
79
80 #
81 # For now, disable these lint checks; maintainers should endeavor
82 # to investigate and remove these for maximum lint coverage.
83 # Please do not carry these forward to new Makefiles.
84 #
85 LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
86 LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
87 LINTTAGS += -erroff=E_BAD_FORMAT_STR2
88
89 CERRWARN += $(CNOWARN_UNINIT)
90
91 #
92 # Default build targets.
93 #
94 .KEEP_STATE:
95
96 def: $(DEF_DEPS)
97
98 all: $(ALL_DEPS)
99
100 clean: $(CLEAN_DEPS)
101
102 clobber: $(CLOBBER_DEPS)
103
104 lint: $(LINT_DEPS)
105
106 modlintlib: $(MODLINTLIB_DEPS)
107
108 clean.lint: $(CLEAN_LINT_DEPS)
109
|