49 # Include common rules.
50 #
51 include $(UTSBASE)/intel/Makefile.intel
52
53 #
54 # Define targets
55 #
56 ALL_TARGET = $(BINARY) $(SRC_CONFILE)
57 LINT_TARGET = $(MODULE).lint
58 INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
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_ASSIGN_NARROW_CONV
67
68 CERRWARN += -_gcc=-Wno-parentheses
69 CERRWARN += -_gcc=-Wno-uninitialized
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)
87
88 clean.lint: $(CLEAN_LINT_DEPS)
89
|
49 # Include common rules.
50 #
51 include $(UTSBASE)/intel/Makefile.intel
52
53 #
54 # Define targets
55 #
56 ALL_TARGET = $(BINARY) $(SRC_CONFILE)
57 LINT_TARGET = $(MODULE).lint
58 INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
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_ASSIGN_NARROW_CONV
67
68 CERRWARN += -_gcc=-Wno-parentheses
69 CERRWARN += $(CNOWARN_UNINIT)
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)
87
88 clean.lint: $(CLEAN_LINT_DEPS)
89
|