65 #
66 INC_PATH += -I$(UTSBASE)/common/io/bpf
67
68 #
69 # For now, disable these lint checks; maintainers should endeavor
70 # to investigate and remove these for maximum lint coverage.
71 # Please do not carry these forward to new Makefiles.
72 #
73 LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
74 LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
75 LINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
76 LINTTAGS += -erroff=E_STATIC_UNUSED
77 LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
78 LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
79
80 CERRWARN += -_gcc=-Wno-parentheses
81 CERRWARN += -_gcc=-Wno-unused-label
82 CERRWARN += -_gcc=-Wno-unused-function
83 CERRWARN += -_gcc=-Wno-unused-variable
84 CERRWARN += -_gcc=-Wno-switch
85 CERRWARN += -_gcc=-Wno-uninitialized
86 CERRWARN += -_gcc=-Wno-type-limits
87
88 #
89 # Depends on md5 and swrand (for SCTP). SCTP needs to depend on
90 # swrand as it needs random numbers early on during boot before
91 # kCF subsystem can load swrand.
92 #
93 LDFLAGS += -dy -Nmisc/md5 -Ncrypto/swrand -Nmisc/hook -Nmisc/neti
94
95 #
96 # Default build targets.
97 #
98 .KEEP_STATE:
99
100 def: $(DEF_DEPS)
101
102 all: $(ALL_DEPS) $(SISCHECK_DEPS)
103
104 clean: $(CLEAN_DEPS) $(SISCLEAN_DEPS)
105
|
65 #
66 INC_PATH += -I$(UTSBASE)/common/io/bpf
67
68 #
69 # For now, disable these lint checks; maintainers should endeavor
70 # to investigate and remove these for maximum lint coverage.
71 # Please do not carry these forward to new Makefiles.
72 #
73 LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
74 LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
75 LINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
76 LINTTAGS += -erroff=E_STATIC_UNUSED
77 LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
78 LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
79
80 CERRWARN += -_gcc=-Wno-parentheses
81 CERRWARN += -_gcc=-Wno-unused-label
82 CERRWARN += -_gcc=-Wno-unused-function
83 CERRWARN += -_gcc=-Wno-unused-variable
84 CERRWARN += -_gcc=-Wno-switch
85 CERRWARN += $(CNOWARN_UNINIT)
86 CERRWARN += -_gcc=-Wno-type-limits
87
88 #
89 # Depends on md5 and swrand (for SCTP). SCTP needs to depend on
90 # swrand as it needs random numbers early on during boot before
91 # kCF subsystem can load swrand.
92 #
93 LDFLAGS += -dy -Nmisc/md5 -Ncrypto/swrand -Nmisc/hook -Nmisc/neti
94
95 #
96 # Default build targets.
97 #
98 .KEEP_STATE:
99
100 def: $(DEF_DEPS)
101
102 all: $(ALL_DEPS) $(SISCHECK_DEPS)
103
104 clean: $(CLEAN_DEPS) $(SISCLEAN_DEPS)
105
|