46 # Define targets
47 #
48 ALL_TARGET = $(BINARY)
49 LINT_TARGET = $(MODULE).lint
50 INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
51
52 #
53 # Overrides.
54 #
55
56 #
57 # lint pass one enforcement
58 #
59 CFLAGS += $(CCVERBOSE)
60
61 CERRWARN += -_gcc=-Wno-switch
62 CERRWARN += -_gcc=-Wno-parentheses
63 CERRWARN += -_gcc=-Wno-type-limits
64 CERRWARN += -_gcc=-Wno-unused-label
65 CERRWARN += -_gcc=-Wno-unused-function
66 CERRWARN += -_gcc=-Wno-uninitialized
67 CERRWARN += -_gcc=-Wno-unused-value
68
69 # needs work
70 SMATCH=off
71
72 #
73 # depends on misc/ibtl and misc/ibmf
74 #
75 LDFLAGS += -dy -Nmisc/ibtl -Nmisc/ibmf -Ndrv/ip
76
77 #
78 # For now, disable these lint checks; maintainers should endeavor
79 # to investigate and remove these for maximum lint coverage.
80 # Please do not carry these forward to new Makefiles.
81 #
82 LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
83 LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
84 LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
85 LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
86 LINTTAGS += -erroff=E_STATIC_UNUSED
|
46 # Define targets
47 #
48 ALL_TARGET = $(BINARY)
49 LINT_TARGET = $(MODULE).lint
50 INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
51
52 #
53 # Overrides.
54 #
55
56 #
57 # lint pass one enforcement
58 #
59 CFLAGS += $(CCVERBOSE)
60
61 CERRWARN += -_gcc=-Wno-switch
62 CERRWARN += -_gcc=-Wno-parentheses
63 CERRWARN += -_gcc=-Wno-type-limits
64 CERRWARN += -_gcc=-Wno-unused-label
65 CERRWARN += -_gcc=-Wno-unused-function
66 CERRWARN += $(CNOWARN_UNINIT)
67 CERRWARN += -_gcc=-Wno-unused-value
68
69 # needs work
70 SMATCH=off
71
72 #
73 # depends on misc/ibtl and misc/ibmf
74 #
75 LDFLAGS += -dy -Nmisc/ibtl -Nmisc/ibmf -Ndrv/ip
76
77 #
78 # For now, disable these lint checks; maintainers should endeavor
79 # to investigate and remove these for maximum lint coverage.
80 # Please do not carry these forward to new Makefiles.
81 #
82 LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
83 LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
84 LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
85 LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
86 LINTTAGS += -erroff=E_STATIC_UNUSED
|