49 # Include common rules.
50 #
51 include $(UTSBASE)/intel/Makefile.intel
52
53 #
54 # Define targets
55 #
56 ALL_TARGET = $(BINARY) $(SRC_CONFILE)
57 LINT_TARGET = $(MODULE).lint
58 INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) $(ROOT_CONFFILE)
59
60 CINLINEFLAGS = -xinline=tcp_set_ws_value
61
62 CFLAGS += $(CINLINEFLAGS)
63
64 CERRWARN += -_gcc=-Wno-parentheses
65 CERRWARN += -_gcc=-Wno-unused-label
66 CERRWARN += -_gcc=-Wno-unused-function
67 CERRWARN += -_gcc=-Wno-unused-variable
68 CERRWARN += -_gcc=-Wno-switch
69 CERRWARN += -_gcc=-Wno-uninitialized
70 CERRWARN += -_gcc=-Wno-type-limits
71
72 # false positives
73 SMOFF += index_overflow
74
75 # need work still
76 $(OBJS_DIR)/igmp.o := SMOFF += shift_to_zero
77 $(OBJS_DIR)/tnet.o := SMOFF += shift_to_zero
78 SMOFF += signed,all_func_returns
79 SMOFF += signed_integer_overflow_check
80
81 #
82 # To get the BPF header files included by ipnet.h
83 #
84 INC_PATH += -I$(UTSBASE)/common/io/bpf
85
86 #
87 # Depends on md5 and swrand (for SCTP). SCTP needs to depend on
88 # swrand as it needs random numbers early on during boot before
89 # kCF subsystem can load swrand.
|
49 # Include common rules.
50 #
51 include $(UTSBASE)/intel/Makefile.intel
52
53 #
54 # Define targets
55 #
56 ALL_TARGET = $(BINARY) $(SRC_CONFILE)
57 LINT_TARGET = $(MODULE).lint
58 INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) $(ROOT_CONFFILE)
59
60 CINLINEFLAGS = -xinline=tcp_set_ws_value
61
62 CFLAGS += $(CINLINEFLAGS)
63
64 CERRWARN += -_gcc=-Wno-parentheses
65 CERRWARN += -_gcc=-Wno-unused-label
66 CERRWARN += -_gcc=-Wno-unused-function
67 CERRWARN += -_gcc=-Wno-unused-variable
68 CERRWARN += -_gcc=-Wno-switch
69 CERRWARN += $(CNOWARN_UNINIT)
70 CERRWARN += -_gcc=-Wno-type-limits
71
72 # false positives
73 SMOFF += index_overflow
74
75 # need work still
76 $(OBJS_DIR)/igmp.o := SMOFF += shift_to_zero
77 $(OBJS_DIR)/tnet.o := SMOFF += shift_to_zero
78 SMOFF += signed,all_func_returns
79 SMOFF += signed_integer_overflow_check
80
81 #
82 # To get the BPF header files included by ipnet.h
83 #
84 INC_PATH += -I$(UTSBASE)/common/io/bpf
85
86 #
87 # Depends on md5 and swrand (for SCTP). SCTP needs to depend on
88 # swrand as it needs random numbers early on during boot before
89 # kCF subsystem can load swrand.
|