57 ALL_TARGET = $(BINARY)
58 LINT_TARGET = $(MODULE).lint
59 INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
60
61 #
62 # Overrides.
63 #
64 MODSTUBS_DIR = $(OBJS_DIR)
65 $(MODSTUBS_O) := AS_CPPFLAGS +=
66 CLEANFILES += $(MODSTUBS_O)
67
68 CFLAGS += $(CCVERBOSE)
69
70 #
71 # For now, disable these lint checks; maintainers should endeavor
72 # to investigate and remove these for maximum lint coverage.
73 # Please do not carry these forward to new Makefiles.
74 #
75 LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
76
77 CERRWARN += -_gcc=-Wno-uninitialized
78 CERRWARN += -_gcc=-Wno-parentheses
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)
|
57 ALL_TARGET = $(BINARY)
58 LINT_TARGET = $(MODULE).lint
59 INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
60
61 #
62 # Overrides.
63 #
64 MODSTUBS_DIR = $(OBJS_DIR)
65 $(MODSTUBS_O) := AS_CPPFLAGS +=
66 CLEANFILES += $(MODSTUBS_O)
67
68 CFLAGS += $(CCVERBOSE)
69
70 #
71 # For now, disable these lint checks; maintainers should endeavor
72 # to investigate and remove these for maximum lint coverage.
73 # Please do not carry these forward to new Makefiles.
74 #
75 LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
76
77 CERRWARN += $(CNOWARN_UNINIT)
78 CERRWARN += -_gcc=-Wno-parentheses
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)
|