72
73 INC_PATH += -I$(UTSBASE)/common/fs/zfs
74 INC_PATH += -I$(UTSBASE)/common/fs/zfs/lua
75 INC_PATH += -I$(SRC)/common
76 INC_PATH += -I$(COMMONBASE)/zfs
77
78 C99LMODE= -Xc99=%all
79
80 #
81 # For now, disable these lint checks; maintainers should endeavor
82 # to investigate and remove these for maximum lint coverage.
83 # Please do not carry these forward to new Makefiles.
84 #
85 LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
86 LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
87 LINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
88 LINTTAGS += -erroff=E_STATIC_UNUSED
89 LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
90 LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
91
92 CERRWARN += -_gcc=-Wno-type-limits
93 CERRWARN += -_gcc=-Wno-switch
94 CERRWARN += -_gcc=-Wno-parentheses
95 CERRWARN += -_gcc=-Wno-unused-variable
96 CERRWARN += -_gcc=-Wno-unused-function
97 CERRWARN += -_gcc=-Wno-unused-label
98
99 #
100 # Default build targets.
101 #
102 .KEEP_STATE:
103
104 def: $(DEF_DEPS)
105
106 all: $(ALL_DEPS)
107
108 clean: $(CLEAN_DEPS)
109
110 clobber: $(CLOBBER_DEPS)
111
|
72
73 INC_PATH += -I$(UTSBASE)/common/fs/zfs
74 INC_PATH += -I$(UTSBASE)/common/fs/zfs/lua
75 INC_PATH += -I$(SRC)/common
76 INC_PATH += -I$(COMMONBASE)/zfs
77
78 C99LMODE= -Xc99=%all
79
80 #
81 # For now, disable these lint checks; maintainers should endeavor
82 # to investigate and remove these for maximum lint coverage.
83 # Please do not carry these forward to new Makefiles.
84 #
85 LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
86 LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
87 LINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
88 LINTTAGS += -erroff=E_STATIC_UNUSED
89 LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
90 LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
91
92 CERRWARN += -_gcc=-Wno-array-bounds
93 CERRWARN += -_gcc=-Wno-type-limits
94 CERRWARN += -_gcc=-Wno-switch
95 CERRWARN += -_gcc=-Wno-parentheses
96 CERRWARN += -_gcc=-Wno-unused-variable
97 CERRWARN += -_gcc=-Wno-unused-function
98 CERRWARN += -_gcc=-Wno-unused-label
99
100 #
101 # Default build targets.
102 #
103 .KEEP_STATE:
104
105 def: $(DEF_DEPS)
106
107 all: $(ALL_DEPS)
108
109 clean: $(CLEAN_DEPS)
110
111 clobber: $(CLOBBER_DEPS)
112
|