50 # Define targets
51 #
52 ALL_TARGET = $(BINARY) $(SRC_CONFILE)
53 LINT_TARGET = $(MODULE).lint
54 INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
55
56 #
57 # Overrides
58 #
59 LDFLAGS += -dy -Nmisc/fctl -Nmisc/scsi
60
61 #
62 # Lint tags
63 #
64 LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
65 LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
66 LINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
67
68 CERRWARN += -_gcc=-Wno-parentheses
69 CERRWARN += -_gcc=-Wno-switch
70 CERRWARN += -_gcc=-Wno-uninitialized
71
72 #
73 # Default build targets.
74 #
75 .KEEP_STATE:
76
77 def: $(DEF_DEPS)
78
79 all: $(ALL_DEPS)
80
81 clean: $(CLEAN_DEPS)
82
83 clobber: $(CLOBBER_DEPS)
84
85 lint: $(LINT_DEPS)
86
87 modlintlib: $(MODLINTLIB_DEPS)
88
89 clean.lint: $(CLEAN_LINT_DEPS)
90
|
50 # Define targets
51 #
52 ALL_TARGET = $(BINARY) $(SRC_CONFILE)
53 LINT_TARGET = $(MODULE).lint
54 INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
55
56 #
57 # Overrides
58 #
59 LDFLAGS += -dy -Nmisc/fctl -Nmisc/scsi
60
61 #
62 # Lint tags
63 #
64 LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
65 LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
66 LINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
67
68 CERRWARN += -_gcc=-Wno-parentheses
69 CERRWARN += -_gcc=-Wno-switch
70 CERRWARN += $(CNOWARN_UNINIT)
71
72 #
73 # Default build targets.
74 #
75 .KEEP_STATE:
76
77 def: $(DEF_DEPS)
78
79 all: $(ALL_DEPS)
80
81 clean: $(CLEAN_DEPS)
82
83 clobber: $(CLOBBER_DEPS)
84
85 lint: $(LINT_DEPS)
86
87 modlintlib: $(MODLINTLIB_DEPS)
88
89 clean.lint: $(CLEAN_LINT_DEPS)
90
|