51 #
52
53
54 #
55 # Define targets
56 #
57 ALL_TARGET = $(BINARY)
58 LINT_TARGET = $(MODULE).lint
59 INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
60
61 LDFLAGS += -dy -Ndrv/ip
62
63 #
64 # For now, disable these lint checks; maintainers should endeavor
65 # to investigate and remove these for maximum lint coverage.
66 # Please do not carry these forward to new Makefiles.
67 #
68 LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
69 LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
70
71 CERRWARN += -_gcc=-Wno-uninitialized
72
73 #
74 # Default build targets.
75 #
76 .KEEP_STATE:
77
78 def: $(DEF_DEPS)
79
80 all: $(ALL_DEPS)
81
82 clean: $(CLEAN_DEPS)
83
84 clobber: $(CLOBBER_DEPS)
85
86 lint: $(LINT_DEPS)
87
88 modlintlib: $(MODLINTLIB_DEPS)
89
90 clean.lint: $(CLEAN_LINT_DEPS)
91
|
51 #
52
53
54 #
55 # Define targets
56 #
57 ALL_TARGET = $(BINARY)
58 LINT_TARGET = $(MODULE).lint
59 INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
60
61 LDFLAGS += -dy -Ndrv/ip
62
63 #
64 # For now, disable these lint checks; maintainers should endeavor
65 # to investigate and remove these for maximum lint coverage.
66 # Please do not carry these forward to new Makefiles.
67 #
68 LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
69 LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
70
71 CERRWARN += $(CNOWARN_UNINIT)
72
73 #
74 # Default build targets.
75 #
76 .KEEP_STATE:
77
78 def: $(DEF_DEPS)
79
80 all: $(ALL_DEPS)
81
82 clean: $(CLEAN_DEPS)
83
84 clobber: $(CLOBBER_DEPS)
85
86 lint: $(LINT_DEPS)
87
88 modlintlib: $(MODLINTLIB_DEPS)
89
90 clean.lint: $(CLEAN_LINT_DEPS)
91
|