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