63 #
64 # Define dependencies on specfs, rpcmod, and rpcsec
65 #
66 LDFLAGS += -dy -N fs/specfs -N strmod/rpcmod -N misc/rpcsec
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_SUPPRESSION_DIRECTIVE_UNUSED
76 LINTTAGS += -erroff=E_STATIC_UNUSED
77 LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
78 LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
79
80 CERRWARN += -_gcc=-Wno-parentheses
81 CERRWARN += -_gcc=-Wno-unused-label
82 CERRWARN += -_gcc=-Wno-type-limits
83 CERRWARN += -_gcc=-Wno-uninitialized
84 CERRWARN += -_gcc=-Wno-switch
85 CERRWARN += -_gcc=-Wno-unused-function
86 CERRWARN += -_gcc=-Wno-unused-variable
87 CERRWARN += -_gcc=-Wno-empty-body
88
89 # needs work
90 SMATCH=off
91
92 #
93 # Default build targets.
94 #
95 .KEEP_STATE:
96
97 def: $(DEF_DEPS)
98
99 all: $(ALL_DEPS)
100
101 clean: $(CLEAN_DEPS)
102
103 clobber: $(CLOBBER_DEPS)
|
63 #
64 # Define dependencies on specfs, rpcmod, and rpcsec
65 #
66 LDFLAGS += -dy -N fs/specfs -N strmod/rpcmod -N misc/rpcsec
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_SUPPRESSION_DIRECTIVE_UNUSED
76 LINTTAGS += -erroff=E_STATIC_UNUSED
77 LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
78 LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
79
80 CERRWARN += -_gcc=-Wno-parentheses
81 CERRWARN += -_gcc=-Wno-unused-label
82 CERRWARN += -_gcc=-Wno-type-limits
83 CERRWARN += $(CNOWARN_UNINIT)
84 CERRWARN += -_gcc=-Wno-switch
85 CERRWARN += -_gcc=-Wno-unused-function
86 CERRWARN += -_gcc=-Wno-unused-variable
87 CERRWARN += -_gcc=-Wno-empty-body
88
89 # needs work
90 SMATCH=off
91
92 #
93 # Default build targets.
94 #
95 .KEEP_STATE:
96
97 def: $(DEF_DEPS)
98
99 all: $(ALL_DEPS)
100
101 clean: $(CLEAN_DEPS)
102
103 clobber: $(CLOBBER_DEPS)
|