39 #
40 # Define the module and object file sets.
41 #
42 MODULE = ixgbe
43 OBJECTS = $(IXGBE_OBJS:%=$(OBJS_DIR)/%)
44 OBJECTS += $(IXGBE_INTC_OBJS:%=$(OBJS_DIR)/%)
45 LINTS = $(IXGBE_OBJS:%.o=$(LINTS_DIR)/%.ln)
46 ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
47 CONF_SRCDIR = $(UTSBASE)/common/io/ixgbe
48
49 #
50 # Include common rules.
51 #
52 include $(UTSBASE)/sparc/Makefile.sparc
53
54 INC_PATH += -I$(UTSBASE)/common/io/ixgbe
55 INC_PATH += -I$(UTSBASE)/common/io/ixgbe/core
56
57 CERRWARN += -_gcc=-Wno-parentheses
58 CERRWARN += -_gcc=-Wno-switch
59 CERRWARN += -_gcc=-Wno-uninitialized
60 CERRWARN += -_gcc=-Wno-unused-value
61 CERRWARN += -_cc=-erroff=E_STATEMENT_NOT_REACHED
62
63 #
64 # Define targets
65 #
66 ALL_TARGET = $(BINARY) $(SRC_CONFFILE)
67 LINT_TARGET = $(MODULE).lint
68 INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
69
70 #
71 # Override defaults
72 #
73 INC_PATH += -I$(CONF_SRCDIR)
74
75 #
76 # lint pass one enforcement
77 #
78 CFLAGS += $(CCVERBOSE)
79
|
39 #
40 # Define the module and object file sets.
41 #
42 MODULE = ixgbe
43 OBJECTS = $(IXGBE_OBJS:%=$(OBJS_DIR)/%)
44 OBJECTS += $(IXGBE_INTC_OBJS:%=$(OBJS_DIR)/%)
45 LINTS = $(IXGBE_OBJS:%.o=$(LINTS_DIR)/%.ln)
46 ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
47 CONF_SRCDIR = $(UTSBASE)/common/io/ixgbe
48
49 #
50 # Include common rules.
51 #
52 include $(UTSBASE)/sparc/Makefile.sparc
53
54 INC_PATH += -I$(UTSBASE)/common/io/ixgbe
55 INC_PATH += -I$(UTSBASE)/common/io/ixgbe/core
56
57 CERRWARN += -_gcc=-Wno-parentheses
58 CERRWARN += -_gcc=-Wno-switch
59 CERRWARN += $(CNOWARN_UNINIT)
60 CERRWARN += -_gcc=-Wno-unused-value
61 CERRWARN += -_cc=-erroff=E_STATEMENT_NOT_REACHED
62
63 #
64 # Define targets
65 #
66 ALL_TARGET = $(BINARY) $(SRC_CONFFILE)
67 LINT_TARGET = $(MODULE).lint
68 INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
69
70 #
71 # Override defaults
72 #
73 INC_PATH += -I$(CONF_SRCDIR)
74
75 #
76 # lint pass one enforcement
77 #
78 CFLAGS += $(CCVERBOSE)
79
|