53 #
54 MODSTUBS_DIR = .
55 $(MODSTUBS_O) := AS_CPPFLAGS += -DROOTNEX_MODULE
56
57 CLEANFILES += $(MODSTUBS_O)
58
59 #
60 # Define targets
61 #
62 ALL_TARGET = $(BINARY)
63 LINT_TARGET = $(MODULE).lint
64 INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
65
66 #
67 # lint pass one enforcement
68 #
69 CFLAGS += $(CCVERBOSE)
70 CERRWARN += -_gcc=-Wno-switch
71 CERRWARN += -_gcc=-Wno-unused-variable
72 CERRWARN += -_gcc=-Wno-parentheses
73 CERRWARN += -_gcc=-Wno-uninitialized
74
75 #
76 # For now, disable these lint checks; maintainers should endeavor
77 # to investigate and remove these for maximum lint coverage.
78 # Please do not carry these forward to new Makefiles.
79 #
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)
91
92 all: $(ALL_DEPS)
93
|
53 #
54 MODSTUBS_DIR = .
55 $(MODSTUBS_O) := AS_CPPFLAGS += -DROOTNEX_MODULE
56
57 CLEANFILES += $(MODSTUBS_O)
58
59 #
60 # Define targets
61 #
62 ALL_TARGET = $(BINARY)
63 LINT_TARGET = $(MODULE).lint
64 INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
65
66 #
67 # lint pass one enforcement
68 #
69 CFLAGS += $(CCVERBOSE)
70 CERRWARN += -_gcc=-Wno-switch
71 CERRWARN += -_gcc=-Wno-unused-variable
72 CERRWARN += -_gcc=-Wno-parentheses
73 CERRWARN += $(CNOWARN_UNINIT)
74
75 #
76 # For now, disable these lint checks; maintainers should endeavor
77 # to investigate and remove these for maximum lint coverage.
78 # Please do not carry these forward to new Makefiles.
79 #
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)
91
92 all: $(ALL_DEPS)
93
|