30 OBJECTS = $(CXGBE_COM_OBJS:%=$(OBJS_DIR)/%) \
31 $(CXGBE_FW_OBJS:%=$(OBJS_DIR)/%) \
32 $(CXGBE_NEX_OBJS:%=$(OBJS_DIR)/%)
33 LINTS = $(CXGBE_COM_OBJS:%.o=$(LINTS_DIR)/%.ln) \
34 $(CXGBE_FW_OBJS:%.o=$(LINTS_DIR)/%.ln) \
35 $(CXGBE_NEX_OBJS:%.o=$(LINTS_DIR)/%.ln)
36 ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
37
38 #
39 # Include common rules
40 #
41 include $(UTSBASE)/intel/Makefile.intel
42
43 #
44 # Define targets
45 #
46 ALL_TARGET = $(BINARY)
47 LINT_TARGET = $(MODULE).lint
48 INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
49
50 CFLAGS += -g -I$(UTSBASE)/common/io/cxgbe -I$(UTSBASE)/common/io/cxgbe/common \
51 -I$(UTSBASE)/common/io/cxgbe/t4nex -I$(UTSBASE)/common/io/cxgbe/shared \
52 -I$(UTSBASE)/common/io/cxgbe/firmware
53
54 #
55 # Driver depends
56 #
57 LDFLAGS += -dy -N misc/mac -N drv/ip
58
59 #
60 # Lint
61 #
62 LINTFLAGS += -I$(UTSBASE)/common/io/cxgbe -I$(UTSBASE)/common/io/cxgbe/common \
63 -I$(UTSBASE)/common/io/cxgbe/t4nex -I$(UTSBASE)/common/io/cxgbe/shared \
64 -I$(UTSBASE)/common/io/cxgbe/firmware
65 LINTFLAGS += -Xc99=%all
66
67 #
68 # A lot of these come from the fact that there are static inlines and
69 # that this driver leverages various C99 and some GNU C extensions.
70 #
|
30 OBJECTS = $(CXGBE_COM_OBJS:%=$(OBJS_DIR)/%) \
31 $(CXGBE_FW_OBJS:%=$(OBJS_DIR)/%) \
32 $(CXGBE_NEX_OBJS:%=$(OBJS_DIR)/%)
33 LINTS = $(CXGBE_COM_OBJS:%.o=$(LINTS_DIR)/%.ln) \
34 $(CXGBE_FW_OBJS:%.o=$(LINTS_DIR)/%.ln) \
35 $(CXGBE_NEX_OBJS:%.o=$(LINTS_DIR)/%.ln)
36 ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
37
38 #
39 # Include common rules
40 #
41 include $(UTSBASE)/intel/Makefile.intel
42
43 #
44 # Define targets
45 #
46 ALL_TARGET = $(BINARY)
47 LINT_TARGET = $(MODULE).lint
48 INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
49
50 CFLAGS += -I$(UTSBASE)/common/io/cxgbe -I$(UTSBASE)/common/io/cxgbe/common \
51 -I$(UTSBASE)/common/io/cxgbe/t4nex -I$(UTSBASE)/common/io/cxgbe/shared \
52 -I$(UTSBASE)/common/io/cxgbe/firmware
53
54 #
55 # Driver depends
56 #
57 LDFLAGS += -dy -N misc/mac -N drv/ip
58
59 #
60 # Lint
61 #
62 LINTFLAGS += -I$(UTSBASE)/common/io/cxgbe -I$(UTSBASE)/common/io/cxgbe/common \
63 -I$(UTSBASE)/common/io/cxgbe/t4nex -I$(UTSBASE)/common/io/cxgbe/shared \
64 -I$(UTSBASE)/common/io/cxgbe/firmware
65 LINTFLAGS += -Xc99=%all
66
67 #
68 # A lot of these come from the fact that there are static inlines and
69 # that this driver leverages various C99 and some GNU C extensions.
70 #
|