50
51 #
52 # Overrides.
53 #
54 CFLAGS += $(CCVERBOSE)
55 $(RELEASE_BUILD)CFLAGS += -xinline=auto -xcrossfile
56 $(RELEASE_BUILD)COPTIMIZE = -xO5
57 LDFLAGS += -dy -N misc/mac
58 INC_PATH += -I$(UTSBASE)/common/io/bpf
59
60 #
61 # For now, disable these lint checks; maintainers should endeavor
62 # to investigate and remove these for maximum lint coverage.
63 # Please do not carry these forward to new Makefiles.
64 #
65 LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
66 LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
67 LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
68 LINTTAGS += -erroff=E_STATIC_UNUSED
69
70 CERRWARN += -_gcc=-Wno-uninitialized
71
72 #
73 # Default build targets.
74 #
75 .KEEP_STATE:
76
77 def: $(DEF_DEPS)
78
79 all: $(ALL_DEPS)
80
81 clean: $(CLEAN_DEPS)
82
83 clobber: $(CLOBBER_DEPS)
84
85 lint: $(LINT_DEPS)
86
87 modlintlib: $(MODLINTLIB_DEPS)
88
89 clean.lint: $(CLEAN_LINT_DEPS)
90
|
50
51 #
52 # Overrides.
53 #
54 CFLAGS += $(CCVERBOSE)
55 $(RELEASE_BUILD)CFLAGS += -xinline=auto -xcrossfile
56 $(RELEASE_BUILD)COPTIMIZE = -xO5
57 LDFLAGS += -dy -N misc/mac
58 INC_PATH += -I$(UTSBASE)/common/io/bpf
59
60 #
61 # For now, disable these lint checks; maintainers should endeavor
62 # to investigate and remove these for maximum lint coverage.
63 # Please do not carry these forward to new Makefiles.
64 #
65 LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
66 LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
67 LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
68 LINTTAGS += -erroff=E_STATIC_UNUSED
69
70 CERRWARN += $(CNOWARN_UNINIT)
71
72 #
73 # Default build targets.
74 #
75 .KEEP_STATE:
76
77 def: $(DEF_DEPS)
78
79 all: $(ALL_DEPS)
80
81 clean: $(CLEAN_DEPS)
82
83 clobber: $(CLOBBER_DEPS)
84
85 lint: $(LINT_DEPS)
86
87 modlintlib: $(MODLINTLIB_DEPS)
88
89 clean.lint: $(CLEAN_LINT_DEPS)
90
|