26 #
27 # Define the module and object file sets.
28 #
29 MODULE = cxgbe
30 OBJECTS = $(CXGBE_OBJS:%=$(OBJS_DIR)/%)
31 LINTS = $(CXGBE_OBJS:%.o=$(LINTS_DIR)/%.ln)
32 ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
33
34 #
35 # Include common rules
36 #
37 include $(UTSBASE)/intel/Makefile.intel
38
39 #
40 # Define targets
41 #
42 ALL_TARGET = $(BINARY)
43 LINT_TARGET = $(MODULE).lint
44 INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
45
46 CFLAGS += -g -I$(UTSBASE)/common/io/cxgbe -I$(UTSBASE)/common/io/cxgbe/common \
47 -I$(UTSBASE)/common/io/cxgbe/t4nex -I$(UTSBASE)/common/io/cxgbe/shared
48
49 #
50 # Driver depends
51 #
52 LDFLAGS += -dy -N misc/mac -N drv/ip
53
54 #
55 # Lint
56 #
57 LINTFLAGS += -I$(UTSBASE)/common/io/cxgbe -I$(UTSBASE)/common/io/cxgbe/common \
58 -I$(UTSBASE)/common/io/cxgbe/t4nex -I$(UTSBASE)/common/io/cxgbe/shared
59 LINTFLAGS += -Xc99=%all
60
61 #
62 # Default build targets.
63 #
64 .KEEP_STATE:
65
66 def: $(DEF_DEPS)
|
26 #
27 # Define the module and object file sets.
28 #
29 MODULE = cxgbe
30 OBJECTS = $(CXGBE_OBJS:%=$(OBJS_DIR)/%)
31 LINTS = $(CXGBE_OBJS:%.o=$(LINTS_DIR)/%.ln)
32 ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
33
34 #
35 # Include common rules
36 #
37 include $(UTSBASE)/intel/Makefile.intel
38
39 #
40 # Define targets
41 #
42 ALL_TARGET = $(BINARY)
43 LINT_TARGET = $(MODULE).lint
44 INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
45
46 CFLAGS += -I$(UTSBASE)/common/io/cxgbe -I$(UTSBASE)/common/io/cxgbe/common \
47 -I$(UTSBASE)/common/io/cxgbe/t4nex -I$(UTSBASE)/common/io/cxgbe/shared
48
49 #
50 # Driver depends
51 #
52 LDFLAGS += -dy -N misc/mac -N drv/ip
53
54 #
55 # Lint
56 #
57 LINTFLAGS += -I$(UTSBASE)/common/io/cxgbe -I$(UTSBASE)/common/io/cxgbe/common \
58 -I$(UTSBASE)/common/io/cxgbe/t4nex -I$(UTSBASE)/common/io/cxgbe/shared
59 LINTFLAGS += -Xc99=%all
60
61 #
62 # Default build targets.
63 #
64 .KEEP_STATE:
65
66 def: $(DEF_DEPS)
|