63 #
64 LDFLAGS += -dy -Nstrmod/rpcmod -Nfs/nfs -Nmisc/rpcsec
65 LDFLAGS += -Nmisc/klmmod
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_STATIC_UNUSED
74 LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
75 LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
76 LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
77
78 CERRWARN += -_gcc=-Wno-parentheses
79 CERRWARN += -_gcc=-Wno-type-limits
80 CERRWARN += -_gcc=-Wno-unused-variable
81 CERRWARN += -_gcc=-Wno-unused-label
82 CERRWARN += -_gcc=-Wno-unused-function
83 CERRWARN += -_gcc=-Wno-uninitialized
84 CERRWARN += -_gcc=-Wno-switch
85
86 # needs work
87 SMATCH=off
88
89 #
90 # Default build targets.
91 #
92 .KEEP_STATE:
93
94 def: $(DEF_DEPS)
95
96 all: $(ALL_DEPS)
97
98 clean: $(CLEAN_DEPS)
99
100 clobber: $(CLOBBER_DEPS)
101
102 lint: $(LINT_DEPS)
103
|
63 #
64 LDFLAGS += -dy -Nstrmod/rpcmod -Nfs/nfs -Nmisc/rpcsec
65 LDFLAGS += -Nmisc/klmmod
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_STATIC_UNUSED
74 LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
75 LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
76 LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
77
78 CERRWARN += -_gcc=-Wno-parentheses
79 CERRWARN += -_gcc=-Wno-type-limits
80 CERRWARN += -_gcc=-Wno-unused-variable
81 CERRWARN += -_gcc=-Wno-unused-label
82 CERRWARN += -_gcc=-Wno-unused-function
83 CERRWARN += $(CNOWARN_UNINIT)
84 CERRWARN += -_gcc=-Wno-switch
85
86 # needs work
87 SMATCH=off
88
89 #
90 # Default build targets.
91 #
92 .KEEP_STATE:
93
94 def: $(DEF_DEPS)
95
96 all: $(ALL_DEPS)
97
98 clean: $(CLEAN_DEPS)
99
100 clobber: $(CLOBBER_DEPS)
101
102 lint: $(LINT_DEPS)
103
|