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