45 #
46 # Include common rules.
47 #
48 include $(UTSBASE)/intel/Makefile.intel
49
50 #
51 # Define targets
52 #
53 ALL_TARGET = $(BINARY)
54 LINT_TARGET = $(MODULE).lint
55 INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
56
57 #
58 # Driver depends on GLDv3 & wifi kernel support module.
59 #
60 LDFLAGS += -dy -Nmisc/mac -Nmisc/net80211
61
62 LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
63
64 CERRWARN += -_gcc=-Wno-unused-variable
65 CERRWARN += -_gcc=-Wno-unused-function
66 CERRWARN += -_gcc=-Wno-uninitialized
67 CERRWARN += -_gcc=-Wno-char-subscripts
68 CERRWARN += -_gcc=-Wno-empty-body
69
70 #
71 # Default build targets.
72 #
73 .KEEP_STATE:
74
75 def: $(DEF_DEPS)
76
77 all: $(ALL_DEPS)
78
79 clean: $(CLEAN_DEPS)
80
81 clobber: $(CLOBBER_DEPS)
82
83 lint: $(LINT_DEPS)
84
85 modlintlib: $(MODLINTLIB_DEPS)
86
87 clean.lint: $(CLEAN_LINT_DEPS)
88
|
45 #
46 # Include common rules.
47 #
48 include $(UTSBASE)/intel/Makefile.intel
49
50 #
51 # Define targets
52 #
53 ALL_TARGET = $(BINARY)
54 LINT_TARGET = $(MODULE).lint
55 INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
56
57 #
58 # Driver depends on GLDv3 & wifi kernel support module.
59 #
60 LDFLAGS += -dy -Nmisc/mac -Nmisc/net80211
61
62 LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
63
64 CERRWARN += -_gcc=-Wno-unused-variable
65 CERRWARN += -_gcc=-Wno-uninitialized
66 CERRWARN += -_gcc=-Wno-char-subscripts
67
68 #
69 # Default build targets.
70 #
71 .KEEP_STATE:
72
73 def: $(DEF_DEPS)
74
75 all: $(ALL_DEPS)
76
77 clean: $(CLEAN_DEPS)
78
79 clobber: $(CLOBBER_DEPS)
80
81 lint: $(LINT_DEPS)
82
83 modlintlib: $(MODLINTLIB_DEPS)
84
85 clean.lint: $(CLEAN_LINT_DEPS)
86
|