57 #
58 ALL_TARGET = $(BINARY)
59 LINT_TARGET = $(MODULE).lint
60 INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
61
62 #
63 # Overrides.
64 #
65 CFLAGS += $(CCVERBOSE)
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_PTRDIFF_OVERFLOW
74 LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
75
76 CERRWARN += -_gcc=-Wno-parentheses
77 CERRWARN += -_gcc=-Wno-uninitialized
78
79 #
80 # Default build targets.
81 #
82 .KEEP_STATE:
83
84 def: $(DEF_DEPS)
85
86 all: $(ALL_DEPS)
87
88 clean: $(CLEAN_DEPS)
89
90 clobber: $(CLOBBER_DEPS)
91
92 lint: $(LINT_DEPS)
93
94 modlintlib: $(MODLINTLIB_DEPS)
95
96 clean.lint: $(CLEAN_LINT_DEPS)
97
|
57 #
58 ALL_TARGET = $(BINARY)
59 LINT_TARGET = $(MODULE).lint
60 INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
61
62 #
63 # Overrides.
64 #
65 CFLAGS += $(CCVERBOSE)
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_PTRDIFF_OVERFLOW
74 LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
75
76 CERRWARN += -_gcc=-Wno-parentheses
77 CERRWARN += $(CNOWARN_UNINIT)
78
79 #
80 # Default build targets.
81 #
82 .KEEP_STATE:
83
84 def: $(DEF_DEPS)
85
86 all: $(ALL_DEPS)
87
88 clean: $(CLEAN_DEPS)
89
90 clobber: $(CLOBBER_DEPS)
91
92 lint: $(LINT_DEPS)
93
94 modlintlib: $(MODLINTLIB_DEPS)
95
96 clean.lint: $(CLEAN_LINT_DEPS)
97
|