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