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