52 # Define targets.
53 #
54 ALL_TARGET = $(BINARY) $(SRC_CONFILE)
55 LINT_TARGET = $(MODULE).lint
56 INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
57
58 #
59 # Note dependancy on misc/scsi.
60 #
61 LDFLAGS += -dy -N"misc/scsi"
62
63 #
64 # For now, disable these lint checks; maintainers should endeavor
65 # to investigate and remove these for maximum lint coverage.
66 # Please do not carry these forward to new Makefiles.
67 #
68 LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
69 LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
70
71 CERRWARN += -_gcc=-Wno-unused-label
72 CERRWARN += -_gcc=-Wno-uninitialized
73
74 #
75 # Default build targets.
76 #
77 .KEEP_STATE:
78
79 def: $(DEF_DEPS)
80
81 all: $(ALL_DEPS)
82
83 clean: $(CLEAN_DEPS)
84
85 clobber: $(CLOBBER_DEPS)
86
87 lint: $(LINT_DEPS)
88
89 modlintlib: $(MODLINTLIB_DEPS)
90
91 clean.lint: $(CLEAN_LINT_DEPS)
92
|
52 # Define targets.
53 #
54 ALL_TARGET = $(BINARY) $(SRC_CONFILE)
55 LINT_TARGET = $(MODULE).lint
56 INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
57
58 #
59 # Note dependancy on misc/scsi.
60 #
61 LDFLAGS += -dy -N"misc/scsi"
62
63 #
64 # For now, disable these lint checks; maintainers should endeavor
65 # to investigate and remove these for maximum lint coverage.
66 # Please do not carry these forward to new Makefiles.
67 #
68 LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
69 LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
70
71 CERRWARN += -_gcc=-Wno-unused-label
72 CERRWARN += $(CNOWARN_UNINIT)
73
74 #
75 # Default build targets.
76 #
77 .KEEP_STATE:
78
79 def: $(DEF_DEPS)
80
81 all: $(ALL_DEPS)
82
83 clean: $(CLEAN_DEPS)
84
85 clobber: $(CLOBBER_DEPS)
86
87 lint: $(LINT_DEPS)
88
89 modlintlib: $(MODLINTLIB_DEPS)
90
91 clean.lint: $(CLEAN_LINT_DEPS)
92
|