70 # lint pass one enforcement
71 #
72 CFLAGS += -DSOLARIS
73 #
74 #ALL_BUILDS = $(ALL_BUILDS64)
75 #DEF_BUILDS = $(DEF_BUILDS64)
76 #CLEANLINTFILES += $(LINT64_FILES)
77 #
78 LINTFLAGS += -DSOLARIS
79 #
80 # STREAMS, DDI API limitations and other ON header file definitions such as ethernet.h
81 # force us to turn off these lint checks.
82 #
83 LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
84 LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
85 LINTTAGS += -erroff=E_FALSE_LOGICAL_EXPR
86
87 CERRWARN += -_gcc=-Wno-unused-label
88 CERRWARN += -_gcc=-Wno-parentheses
89 CERRWARN += -_gcc=-Wno-switch
90 CERRWARN += -_gcc=-Wno-uninitialized
91 CERRWARN += -_gcc=-Wno-type-limits
92
93 # needs work
94 SMATCH=off
95
96 #
97 # Driver depends on mac & IP
98 #
99 LDFLAGS += -dy -N misc/mac -N drv/ip
100
101 #
102 # Default build targets.
103 #
104 .KEEP_STATE:
105
106 def: $(DEF_DEPS)
107
108 all: $(ALL_DEPS)
109
110 clean: $(CLEAN_DEPS)
|
70 # lint pass one enforcement
71 #
72 CFLAGS += -DSOLARIS
73 #
74 #ALL_BUILDS = $(ALL_BUILDS64)
75 #DEF_BUILDS = $(DEF_BUILDS64)
76 #CLEANLINTFILES += $(LINT64_FILES)
77 #
78 LINTFLAGS += -DSOLARIS
79 #
80 # STREAMS, DDI API limitations and other ON header file definitions such as ethernet.h
81 # force us to turn off these lint checks.
82 #
83 LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
84 LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
85 LINTTAGS += -erroff=E_FALSE_LOGICAL_EXPR
86
87 CERRWARN += -_gcc=-Wno-unused-label
88 CERRWARN += -_gcc=-Wno-parentheses
89 CERRWARN += -_gcc=-Wno-switch
90 CERRWARN += $(CNOWARN_UNINIT)
91 CERRWARN += -_gcc=-Wno-type-limits
92
93 # needs work
94 SMATCH=off
95
96 #
97 # Driver depends on mac & IP
98 #
99 LDFLAGS += -dy -N misc/mac -N drv/ip
100
101 #
102 # Default build targets.
103 #
104 .KEEP_STATE:
105
106 def: $(DEF_DEPS)
107
108 all: $(ALL_DEPS)
109
110 clean: $(CLEAN_DEPS)
|