50 include $(UTSBASE)/intel/Makefile.intel
51
52 #
53 # Define targets
54 #
55 ALL_TARGET = $(BINARY) $(CONFMOD)
56 LINT_TARGET = $(MODULE).lint
57 INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
58
59 #
60 # Overrides.
61 #
62 DEBUG_FLGS =
63 DEBUG_DEFS += $(DEBUG_FLGS)
64 LDFLAGS += -dy -Nmisc/dadk -Nmisc/strategy -Nmisc/cmlb
65
66 # Larger than 1TB VTOC support
67 CPPFLAGS += -D_EXTVTOC
68
69 CERRWARN += -_gcc=-Wno-unused-function
70 CERRWARN += -_gcc=-Wno-uninitialized
71 CERRWARN += -_gcc=-Wno-parentheses
72 CERRWARN += -_gcc=-Wno-type-limits
73
74 #
75 # For now, disable these lint checks; maintainers should endeavor
76 # to investigate and remove these for maximum lint coverage.
77 # Please do not carry these forward to new Makefiles.
78 #
79 LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
80 LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
81 LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
82 LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
83 LINTTAGS += -erroff=E_STATIC_UNUSED
84
85 #
86 # Default build targets.
87 #
88 .KEEP_STATE:
89
90 def: $(DEF_DEPS)
|
50 include $(UTSBASE)/intel/Makefile.intel
51
52 #
53 # Define targets
54 #
55 ALL_TARGET = $(BINARY) $(CONFMOD)
56 LINT_TARGET = $(MODULE).lint
57 INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
58
59 #
60 # Overrides.
61 #
62 DEBUG_FLGS =
63 DEBUG_DEFS += $(DEBUG_FLGS)
64 LDFLAGS += -dy -Nmisc/dadk -Nmisc/strategy -Nmisc/cmlb
65
66 # Larger than 1TB VTOC support
67 CPPFLAGS += -D_EXTVTOC
68
69 CERRWARN += -_gcc=-Wno-unused-function
70 CERRWARN += $(CNOWARN_UNINIT)
71 CERRWARN += -_gcc=-Wno-parentheses
72 CERRWARN += -_gcc=-Wno-type-limits
73
74 #
75 # For now, disable these lint checks; maintainers should endeavor
76 # to investigate and remove these for maximum lint coverage.
77 # Please do not carry these forward to new Makefiles.
78 #
79 LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
80 LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
81 LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
82 LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
83 LINTTAGS += -erroff=E_STATIC_UNUSED
84
85 #
86 # Default build targets.
87 #
88 .KEEP_STATE:
89
90 def: $(DEF_DEPS)
|