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