70 LDFLAGS += -dy -Nmisc/tlimod
71
72 #
73 # lint pass one enforcement
74 #
75 CFLAGS += $(CCVERBOSE)
76
77 #
78 # For now, disable these lint checks; maintainers should endeavor
79 # to investigate and remove these for maximum lint coverage.
80 # Please do not carry these forward to new Makefiles.
81 #
82 LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
83 LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
84 LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
85 LINTTAGS += -erroff=E_STATIC_UNUSED
86 LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
87 LINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
88
89 CERRWARN += -_gcc=-Wno-parentheses
90 CERRWARN += -_gcc=-Wno-uninitialized
91 CERRWARN += -_gcc=-Wno-switch
92 CERRWARN += -_gcc=-Wno-unused-variable
93 CERRWARN += -_gcc=-Wno-unused-label
94 CERRWARN += -_gcc=-Wno-unused-function
95
96 #
97 # Default build targets.
98 #
99 .KEEP_STATE:
100
101 def: $(DEF_DEPS)
102
103 all: $(ALL_DEPS)
104
105 clean: $(CLEAN_DEPS)
106
107 clobber: $(CLOBBER_DEPS)
108
109 lint: $(LINT_DEPS)
110
|
70 LDFLAGS += -dy -Nmisc/tlimod
71
72 #
73 # lint pass one enforcement
74 #
75 CFLAGS += $(CCVERBOSE)
76
77 #
78 # For now, disable these lint checks; maintainers should endeavor
79 # to investigate and remove these for maximum lint coverage.
80 # Please do not carry these forward to new Makefiles.
81 #
82 LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
83 LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
84 LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
85 LINTTAGS += -erroff=E_STATIC_UNUSED
86 LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
87 LINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
88
89 CERRWARN += -_gcc=-Wno-parentheses
90 CERRWARN += $(CNOWARN_UNINIT)
91 CERRWARN += -_gcc=-Wno-switch
92 CERRWARN += -_gcc=-Wno-unused-variable
93 CERRWARN += -_gcc=-Wno-unused-label
94 CERRWARN += -_gcc=-Wno-unused-function
95
96 #
97 # Default build targets.
98 #
99 .KEEP_STATE:
100
101 def: $(DEF_DEPS)
102
103 all: $(ALL_DEPS)
104
105 clean: $(CLEAN_DEPS)
106
107 clobber: $(CLOBBER_DEPS)
108
109 lint: $(LINT_DEPS)
110
|