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