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