50 ALL_TARGET = $(BINARY) $(SRC_CONFFILE)
51 LINT_TARGET = $(MODULE).lint
52 INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
53
54 #
55 # Linkage dependencies
56 #
57 LDFLAGS += -dy -Ndrv/ip
58
59 INC_PATH += -I$(UTSBASE)/common/io/bpf
60
61 #
62 # For now, disable these lint checks; maintainers should endeavor
63 # to investigate and remove these for maximum lint coverage.
64 # Please do not carry these forward to new Makefiles.
65 #
66 LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
67 LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
68 LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
69
70 CERRWARN += -_gcc=-Wno-uninitialized
71
72 # needs work
73 $(OBJS_DIR)/spdsockddi.o := SMOFF += index_overflow
74 $(OBJS_DIR)/spdsock.o := SMOFF += no_if_block
75
76 #
77 # Default build targets.
78 #
79 .KEEP_STATE:
80
81 def: $(DEF_DEPS)
82
83 all: $(ALL_DEPS) $(SISCHECK_DEPS)
84
85 clean: $(CLEAN_DEPS) $(SISCLEAN_DEPS)
86
87 clobber: $(CLOBBER_DEPS) $(SISCLEAN_DEPS)
88
89 lint: $(LINT_DEPS)
90
|
50 ALL_TARGET = $(BINARY) $(SRC_CONFFILE)
51 LINT_TARGET = $(MODULE).lint
52 INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
53
54 #
55 # Linkage dependencies
56 #
57 LDFLAGS += -dy -Ndrv/ip
58
59 INC_PATH += -I$(UTSBASE)/common/io/bpf
60
61 #
62 # For now, disable these lint checks; maintainers should endeavor
63 # to investigate and remove these for maximum lint coverage.
64 # Please do not carry these forward to new Makefiles.
65 #
66 LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
67 LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
68 LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
69
70 CERRWARN += $(CNOWARN_UNINIT)
71
72 # needs work
73 $(OBJS_DIR)/spdsockddi.o := SMOFF += index_overflow
74 $(OBJS_DIR)/spdsock.o := SMOFF += no_if_block
75
76 #
77 # Default build targets.
78 #
79 .KEEP_STATE:
80
81 def: $(DEF_DEPS)
82
83 all: $(ALL_DEPS) $(SISCHECK_DEPS)
84
85 clean: $(CLEAN_DEPS) $(SISCLEAN_DEPS)
86
87 clobber: $(CLOBBER_DEPS) $(SISCLEAN_DEPS)
88
89 lint: $(LINT_DEPS)
90
|