49
50 #
51 # Define targets
52 #
53 ALL_TARGET = $(BINARY)
54 LINT_TARGET = $(MODULE).lint
55 INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
56
57 #
58 # lint pass one enforcement
59 #
60 CFLAGS += $(CCVERBOSE)
61
62 #
63 # For now, disable these lint checks; maintainers should endeavor
64 # to investigate and remove these for maximum lint coverage.
65 # Please do not carry these forward to new Makefiles.
66 #
67 LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
68
69 CERRWARN += -_gcc=-Wno-uninitialized
70
71 #
72 # Default build targets.
73 #
74 .KEEP_STATE:
75
76 def: $(DEF_DEPS)
77
78 all: $(ALL_DEPS)
79
80 clean: $(CLEAN_DEPS)
81
82 clobber: $(CLOBBER_DEPS)
83
84 lint: $(LINT_DEPS)
85
86 modlintlib: $(MODLINTLIB_DEPS)
87
88 clean.lint: $(CLEAN_LINT_DEPS)
89
|
49
50 #
51 # Define targets
52 #
53 ALL_TARGET = $(BINARY)
54 LINT_TARGET = $(MODULE).lint
55 INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
56
57 #
58 # lint pass one enforcement
59 #
60 CFLAGS += $(CCVERBOSE)
61
62 #
63 # For now, disable these lint checks; maintainers should endeavor
64 # to investigate and remove these for maximum lint coverage.
65 # Please do not carry these forward to new Makefiles.
66 #
67 LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
68
69 CERRWARN += $(CNOWARN_UNINIT)
70
71 #
72 # Default build targets.
73 #
74 .KEEP_STATE:
75
76 def: $(DEF_DEPS)
77
78 all: $(ALL_DEPS)
79
80 clean: $(CLEAN_DEPS)
81
82 clobber: $(CLOBBER_DEPS)
83
84 lint: $(LINT_DEPS)
85
86 modlintlib: $(MODLINTLIB_DEPS)
87
88 clean.lint: $(CLEAN_LINT_DEPS)
89
|