93 #
94 LDFLAGS += -dy -N misc/mac -N drv/ip
95
96 # Lint flag
97 #
98 LINTFLAGS += $(XGE_CFLAGS) -Xc99=%all
99
100 #
101 # For now, disable these lint checks; maintainers should endeavor
102 # to investigate and remove these for maximum lint coverage.
103 # Please do not carry these forward to new Makefiles.
104 #
105 LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
106 LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
107 LINTTAGS += -erroff=E_STATIC_UNUSED
108
109 CERRWARN += -_gcc=-Wno-parentheses
110 CERRWARN += -_gcc=-Wno-unused-variable
111 CERRWARN += -_gcc=-Wno-unused-label
112 CERRWARN += -_gcc=-Wno-empty-body
113 CERRWARN += -_gcc=-Wno-uninitialized
114
115 #
116 #
117 # Default build targets.
118 #
119 .KEEP_STATE:
120
121 def: $(DEF_DEPS)
122
123 all: $(ALL_DEPS)
124
125 clean: $(CLEAN_DEPS)
126
127 clobber: $(CLOBBER_DEPS)
128
129 lint: $(LINT_DEPS)
130
131 modlintlib: $(MODLINTLIB_DEPS)
132
133 clean.lint: $(CLEAN_LINT_DEPS)
|
93 #
94 LDFLAGS += -dy -N misc/mac -N drv/ip
95
96 # Lint flag
97 #
98 LINTFLAGS += $(XGE_CFLAGS) -Xc99=%all
99
100 #
101 # For now, disable these lint checks; maintainers should endeavor
102 # to investigate and remove these for maximum lint coverage.
103 # Please do not carry these forward to new Makefiles.
104 #
105 LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
106 LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
107 LINTTAGS += -erroff=E_STATIC_UNUSED
108
109 CERRWARN += -_gcc=-Wno-parentheses
110 CERRWARN += -_gcc=-Wno-unused-variable
111 CERRWARN += -_gcc=-Wno-unused-label
112 CERRWARN += -_gcc=-Wno-empty-body
113 CERRWARN += $(CNOWARN_UNINIT)
114
115 #
116 #
117 # Default build targets.
118 #
119 .KEEP_STATE:
120
121 def: $(DEF_DEPS)
122
123 all: $(ALL_DEPS)
124
125 clean: $(CLEAN_DEPS)
126
127 clobber: $(CLOBBER_DEPS)
128
129 lint: $(LINT_DEPS)
130
131 modlintlib: $(MODLINTLIB_DEPS)
132
133 clean.lint: $(CLEAN_LINT_DEPS)
|