46
47 #
48 # Define targets
49 #
50 ALL_TARGET = $(BINARY) $(CONFMOD) $(ITUMOD)
51 LINT_TARGET = $(MODULE).lint
52 INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
53
54 #
55 # header file directories
56 #
57 INCS += -I$(SRC)/uts/common/
58
59 #
60 # Lint tags
61 #
62 LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
63 LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
64 LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
65
66 CERRWARN += -_gcc=-Wno-uninitialized
67
68 # needs work
69 $(OBJS_DIR)/fctl.o := SMOFF += all_func_returns,deref_check
70
71 #
72 # Default build targets.
73 #
74 .KEEP_STATE:
75
76 def: $(DEF_DEPS)
77
78 all: $(ALL_DEPS)
79
80 clean: $(CLEAN_DEPS)
81
82 clobber: $(CLOBBER_DEPS)
83
84 lint: $(LINT_DEPS)
85
86 modlintlib: $(MODLINTLIB_DEPS)
|
46
47 #
48 # Define targets
49 #
50 ALL_TARGET = $(BINARY) $(CONFMOD) $(ITUMOD)
51 LINT_TARGET = $(MODULE).lint
52 INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
53
54 #
55 # header file directories
56 #
57 INCS += -I$(SRC)/uts/common/
58
59 #
60 # Lint tags
61 #
62 LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
63 LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
64 LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
65
66 CERRWARN += $(CNOWARN_UNINIT)
67
68 # needs work
69 $(OBJS_DIR)/fctl.o := SMOFF += all_func_returns,deref_check
70
71 #
72 # Default build targets.
73 #
74 .KEEP_STATE:
75
76 def: $(DEF_DEPS)
77
78 all: $(ALL_DEPS)
79
80 clean: $(CLEAN_DEPS)
81
82 clobber: $(CLOBBER_DEPS)
83
84 lint: $(LINT_DEPS)
85
86 modlintlib: $(MODLINTLIB_DEPS)
|