48 #
49 # Include common rules.
50 #
51 include $(UTSBASE)/i86pc/Makefile.i86pc
52
53 #
54 # Define targets
55 #
56 ALL_TARGET = $(BINARY)
57 LINT_TARGET = $(MODULE).lint
58 INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
59
60 DEBUG_FLGS =
61 $(NOT_RELEASE_BUILD)DEBUG_DEFS += $(DEBUG_FLGS)
62
63 #
64 # Depends on ACPI CA interpreter
65 #
66 LDFLAGS += -dy -N misc/acpica
67
68 CFLAGS += -Dbug1157974 -Dbug1155030
69
70 #
71 # For now, disable these lint checks; maintainers should endeavor
72 # to investigate and remove these for maximum lint coverage.
73 # Please do not carry these forward to new Makefiles.
74 #
75 LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
76 LINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
77 LINTTAGS += -erroff=E_STATIC_UNUSED
78 LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
79
80 CERRWARN += -_gcc=-Wno-parentheses
81 CERRWARN += -_gcc=-Wno-uninitialized
82 CERRWARN += -_gcc=-Wno-unused-function
83 CERRWARN += -_gcc=-Wno-unused-variable
84 CERRWARN += -_gcc=-Wno-empty-body
85
86 #
87 # Default build targets.
88 #
89 .KEEP_STATE:
90
91 def: $(DEF_DEPS)
92
93 all: $(ALL_DEPS)
94
95 clean: $(CLEAN_DEPS)
96
97 clobber: $(CLOBBER_DEPS)
98
99 lint: $(LINT_DEPS)
100
101 modlintlib: $(MODLINTLIB_DEPS)
102
103 clean.lint: $(CLEAN_LINT_DEPS)
104
|
48 #
49 # Include common rules.
50 #
51 include $(UTSBASE)/i86pc/Makefile.i86pc
52
53 #
54 # Define targets
55 #
56 ALL_TARGET = $(BINARY)
57 LINT_TARGET = $(MODULE).lint
58 INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
59
60 DEBUG_FLGS =
61 $(NOT_RELEASE_BUILD)DEBUG_DEFS += $(DEBUG_FLGS)
62
63 #
64 # Depends on ACPI CA interpreter
65 #
66 LDFLAGS += -dy -N misc/acpica
67
68 #
69 # For now, disable these lint checks; maintainers should endeavor
70 # to investigate and remove these for maximum lint coverage.
71 # Please do not carry these forward to new Makefiles.
72 #
73 LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
74 LINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
75 LINTTAGS += -erroff=E_STATIC_UNUSED
76 LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
77
78 CERRWARN += -_gcc=-Wno-uninitialized
79
80 #
81 # Default build targets.
82 #
83 .KEEP_STATE:
84
85 def: $(DEF_DEPS)
86
87 all: $(ALL_DEPS)
88
89 clean: $(CLEAN_DEPS)
90
91 clobber: $(CLOBBER_DEPS)
92
93 lint: $(LINT_DEPS)
94
95 modlintlib: $(MODLINTLIB_DEPS)
96
97 clean.lint: $(CLEAN_LINT_DEPS)
98
|