42 #
43 # Include common rules.
44 #
45 include $(UTSBASE)/intel/Makefile.intel
46
47 #
48 # Define targets
49 #
50 ALL_TARGET = $(BINARY) $(CONFMOD)
51 LINT_TARGET = $(MODULE).lint
52 INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
53
54 #
55 # For now, disable these lint checks; maintainers should endeavor
56 # to investigate and remove these for maximum lint coverage.
57 # Please do not carry these forward to new Makefiles.
58 #
59 LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
60 LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
61
62 CERRWARN += -_gcc=-Wno-uninitialized
63 CERRWARN += -_gcc=-Wno-switch
64
65 # needs work
66 SMATCH=off
67
68 #
69 # Default build targets.
70 #
71 .KEEP_STATE:
72
73 def: $(DEF_DEPS)
74
75 all: $(ALL_DEPS)
76
77 clean: $(CLEAN_DEPS)
78
79 clobber: $(CLOBBER_DEPS)
80
81 lint: $(LINT_DEPS)
82
|
42 #
43 # Include common rules.
44 #
45 include $(UTSBASE)/intel/Makefile.intel
46
47 #
48 # Define targets
49 #
50 ALL_TARGET = $(BINARY) $(CONFMOD)
51 LINT_TARGET = $(MODULE).lint
52 INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
53
54 #
55 # For now, disable these lint checks; maintainers should endeavor
56 # to investigate and remove these for maximum lint coverage.
57 # Please do not carry these forward to new Makefiles.
58 #
59 LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
60 LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
61
62 CERRWARN += $(CNOWARN_UNINIT)
63 CERRWARN += -_gcc=-Wno-switch
64
65 # needs work
66 SMATCH=off
67
68 #
69 # Default build targets.
70 #
71 .KEEP_STATE:
72
73 def: $(DEF_DEPS)
74
75 all: $(ALL_DEPS)
76
77 clean: $(CLEAN_DEPS)
78
79 clobber: $(CLOBBER_DEPS)
80
81 lint: $(LINT_DEPS)
82
|