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