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