58 ALL_TARGET = $(BINARY)
59 LINT_TARGET = $(MODULE).lint
60 INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
61
62 #
63 # Overrides.
64 #
65 MODSTUBS_DIR = $(OBJS_DIR)
66 $(MODSTUBS_O) := AS_CPPFLAGS +=
67 CLEANFILES += $(MODSTUBS_O)
68
69 #
70 # For now, disable these lint checks; maintainers should endeavor
71 # to investigate and remove these for maximum lint coverage.
72 # Please do not carry these forward to new Makefiles.
73 #
74 LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
75 LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
76
77 CERRWARN += -_gcc=-Wno-parentheses
78 CERRWARN += -_gcc=-Wno-uninitialized
79
80 # needs work
81 $(OBJS_DIR)/door_sys.o := SMOFF += deref_check
82
83 #
84 # Default build targets.
85 #
86 .KEEP_STATE:
87
88 def: $(DEF_DEPS)
89
90 all: $(ALL_DEPS)
91
92 clean: $(CLEAN_DEPS)
93
94 clobber: $(CLOBBER_DEPS)
95
96 lint: $(LINT_DEPS)
97
98 modlintlib: $(MODLINTLIB_DEPS)
|
58 ALL_TARGET = $(BINARY)
59 LINT_TARGET = $(MODULE).lint
60 INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
61
62 #
63 # Overrides.
64 #
65 MODSTUBS_DIR = $(OBJS_DIR)
66 $(MODSTUBS_O) := AS_CPPFLAGS +=
67 CLEANFILES += $(MODSTUBS_O)
68
69 #
70 # For now, disable these lint checks; maintainers should endeavor
71 # to investigate and remove these for maximum lint coverage.
72 # Please do not carry these forward to new Makefiles.
73 #
74 LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
75 LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
76
77 CERRWARN += -_gcc=-Wno-parentheses
78 CERRWARN += $(CNOWARN_UNINIT)
79
80 # needs work
81 $(OBJS_DIR)/door_sys.o := SMOFF += deref_check
82
83 #
84 # Default build targets.
85 #
86 .KEEP_STATE:
87
88 def: $(DEF_DEPS)
89
90 all: $(ALL_DEPS)
91
92 clean: $(CLEAN_DEPS)
93
94 clobber: $(CLOBBER_DEPS)
95
96 lint: $(LINT_DEPS)
97
98 modlintlib: $(MODLINTLIB_DEPS)
|