58
59 #
60 # Overrides.
61 #
62 MODSTUBS_DIR = $(OBJS_DIR)
63 $(MODSTUBS_O) := AS_CPPFLAGS += -DPROC_MODULE
64 CLEANFILES += $(MODSTUBS_O)
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-switch
78 CERRWARN += -_gcc=-Wno-uninitialized
79
80 #
81 # Default build targets.
82 #
83 .KEEP_STATE:
84
85 def: $(DEF_DEPS)
86
87 all: $(ALL_DEPS)
88
89 clean: $(CLEAN_DEPS)
90
91 clobber: $(CLOBBER_DEPS)
92
93 lint: $(LINT_DEPS)
94
95 modlintlib: $(MODLINTLIB_DEPS)
96
97 clean.lint: $(CLEAN_LINT_DEPS)
98
|
58
59 #
60 # Overrides.
61 #
62 MODSTUBS_DIR = $(OBJS_DIR)
63 $(MODSTUBS_O) := AS_CPPFLAGS += -DPROC_MODULE
64 CLEANFILES += $(MODSTUBS_O)
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-switch
78 CERRWARN += $(CNOWARN_UNINIT)
79
80 #
81 # Default build targets.
82 #
83 .KEEP_STATE:
84
85 def: $(DEF_DEPS)
86
87 all: $(ALL_DEPS)
88
89 clean: $(CLEAN_DEPS)
90
91 clobber: $(CLOBBER_DEPS)
92
93 lint: $(LINT_DEPS)
94
95 modlintlib: $(MODLINTLIB_DEPS)
96
97 clean.lint: $(CLEAN_LINT_DEPS)
98
|