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