46 CONF_SRCDIR = $(UTSBASE)/common/io/ib/ibnex
47
48 #
49 # Include common rules.
50 #
51 include $(UTSBASE)/sparc/Makefile.sparc
52
53 #
54 # Define targets
55 #
56 ALL_TARGET = $(BINARY) $(SRC_CONFILE)
57 LINT_TARGET = $(MODULE).lint
58 INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
59
60 #
61 # Overrides.
62 #
63 ALL_BUILDS = $(ALL_BUILDSONLY64)
64 DEF_BUILDS = $(DEF_BUILDSONLY64)
65
66 CERRWARN += -_gcc=-Wno-uninitialized
67
68 #
69 # lint pass one enforcement
70 #
71 CFLAGS += $(CCVERBOSE)
72
73 #
74 # For now, disable these lint checks; maintainers should endeavor
75 # to investigate and remove these for maximum lint coverage.
76 # Please do not carry these forward to new Makefiles.
77 #
78 LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
79 LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
80 LINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
81 LINTTAGS += -erroff=E_STATIC_UNUSED
82 LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
83 LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
84
85 #
86 # depends on misc/ibtl
|
46 CONF_SRCDIR = $(UTSBASE)/common/io/ib/ibnex
47
48 #
49 # Include common rules.
50 #
51 include $(UTSBASE)/sparc/Makefile.sparc
52
53 #
54 # Define targets
55 #
56 ALL_TARGET = $(BINARY) $(SRC_CONFILE)
57 LINT_TARGET = $(MODULE).lint
58 INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
59
60 #
61 # Overrides.
62 #
63 ALL_BUILDS = $(ALL_BUILDSONLY64)
64 DEF_BUILDS = $(DEF_BUILDSONLY64)
65
66 CERRWARN += $(CNOWARN_UNINIT)
67
68 #
69 # lint pass one enforcement
70 #
71 CFLAGS += $(CCVERBOSE)
72
73 #
74 # For now, disable these lint checks; maintainers should endeavor
75 # to investigate and remove these for maximum lint coverage.
76 # Please do not carry these forward to new Makefiles.
77 #
78 LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
79 LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
80 LINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
81 LINTTAGS += -erroff=E_STATIC_UNUSED
82 LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
83 LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
84
85 #
86 # depends on misc/ibtl
|