67 CLEANFILES += $(MODSTUBS_O)
68
69 #
70 # depends_on
71 #
72 LDFLAGS += -dy -Nmisc/tlimod
73
74 #
75 # For now, disable these lint checks; maintainers should endeavor
76 # to investigate and remove these for maximum lint coverage.
77 # Please do not carry these forward to new Makefiles.
78 #
79 LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
80 LINTTAGS += -erroff=E_STATIC_UNUSED
81 LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
82 LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
83 LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
84 LINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
85
86 CERRWARN += -_gcc=-Wno-parentheses
87 CERRWARN += -_gcc=-Wno-uninitialized
88 CERRWARN += -_gcc=-Wno-switch
89 CERRWARN += -_gcc=-Wno-unused-variable
90 CERRWARN += -_gcc=-Wno-unused-label
91 CERRWARN += -_gcc=-Wno-unused-function
92
93 # needs work
94 SMOFF += all_func_returns,indenting,no_if_block,deref_check
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)
|
67 CLEANFILES += $(MODSTUBS_O)
68
69 #
70 # depends_on
71 #
72 LDFLAGS += -dy -Nmisc/tlimod
73
74 #
75 # For now, disable these lint checks; maintainers should endeavor
76 # to investigate and remove these for maximum lint coverage.
77 # Please do not carry these forward to new Makefiles.
78 #
79 LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
80 LINTTAGS += -erroff=E_STATIC_UNUSED
81 LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
82 LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
83 LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
84 LINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
85
86 CERRWARN += -_gcc=-Wno-parentheses
87 CERRWARN += $(CNOWARN_UNINIT)
88 CERRWARN += -_gcc=-Wno-switch
89 CERRWARN += -_gcc=-Wno-unused-variable
90 CERRWARN += -_gcc=-Wno-unused-label
91 CERRWARN += -_gcc=-Wno-unused-function
92
93 # needs work
94 SMOFF += all_func_returns,indenting,no_if_block,deref_check
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)
|