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