40 #
41 # Define the module and object file sets.
42 #
43 MODULE = ixgbe
44 OBJECTS = $(IXGBE_OBJS:%=$(OBJS_DIR)/%)
45 OBJECTS += $(IXGBE_INTC_OBJS:%=$(OBJS_DIR)/%)
46 LINTS = $(IXGBE_OBJS:%.o=$(LINTS_DIR)/%.ln)
47 ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
48 CONF_SRCDIR = $(UTSBASE)/common/io/ixgbe
49
50 #
51 # Include common rules.
52 #
53 include $(UTSBASE)/intel/Makefile.intel
54
55 INC_PATH += -I$(UTSBASE)/common/io/ixgbe
56 INC_PATH += -I$(UTSBASE)/common/io/ixgbe/core
57
58 CERRWARN += -_gcc=-Wno-parentheses
59 CERRWARN += -_gcc=-Wno-switch
60 CERRWARN += -_gcc=-Wno-uninitialized
61 CERRWARN += -_gcc=-Wno-unused-value
62 CERRWARN += -_cc=-erroff=E_STATEMENT_NOT_REACHED
63
64 # 3rd party code
65 SMOFF += all_func_returns
66
67 #
68 # Define targets
69 #
70 ALL_TARGET = $(BINARY) $(CONFMOD)
71 LINT_TARGET = $(MODULE).lint
72 INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
73
74 #
75 # Driver depends on MAC
76 #
77 LDFLAGS += -dy -N misc/mac
78 MAPFILES += ddi mac random kernel
79
80 #
|
40 #
41 # Define the module and object file sets.
42 #
43 MODULE = ixgbe
44 OBJECTS = $(IXGBE_OBJS:%=$(OBJS_DIR)/%)
45 OBJECTS += $(IXGBE_INTC_OBJS:%=$(OBJS_DIR)/%)
46 LINTS = $(IXGBE_OBJS:%.o=$(LINTS_DIR)/%.ln)
47 ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
48 CONF_SRCDIR = $(UTSBASE)/common/io/ixgbe
49
50 #
51 # Include common rules.
52 #
53 include $(UTSBASE)/intel/Makefile.intel
54
55 INC_PATH += -I$(UTSBASE)/common/io/ixgbe
56 INC_PATH += -I$(UTSBASE)/common/io/ixgbe/core
57
58 CERRWARN += -_gcc=-Wno-parentheses
59 CERRWARN += -_gcc=-Wno-switch
60 CERRWARN += $(CNOWARN_UNINIT)
61 CERRWARN += -_gcc=-Wno-unused-value
62 CERRWARN += -_cc=-erroff=E_STATEMENT_NOT_REACHED
63
64 # 3rd party code
65 SMOFF += all_func_returns
66
67 #
68 # Define targets
69 #
70 ALL_TARGET = $(BINARY) $(CONFMOD)
71 LINT_TARGET = $(MODULE).lint
72 INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
73
74 #
75 # Driver depends on MAC
76 #
77 LDFLAGS += -dy -N misc/mac
78 MAPFILES += ddi mac random kernel
79
80 #
|