42 ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
43 CONF_SRCDIR = $(UTSBASE)/common/io/dr_sas
44
45 #
46 # Include common rules.
47 #
48 include $(UTSBASE)/intel/Makefile.intel
49
50 #
51 # Define targets
52 #
53 ALL_TARGET = $(BINARY) $(CONFMOD)
54 LINT_TARGET = $(MODULE).lint
55 INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
56
57 #
58 # Kernel Module Dependencies
59 #
60 LDFLAGS += -dy -Nmisc/scsi
61
62 #
63 # Default build targets.
64 #
65 .KEEP_STATE:
66
67 def: $(DEF_DEPS)
68
69 all: $(ALL_DEPS)
70
71 clean: $(CLEAN_DEPS)
72
73 clobber: $(CLOBBER_DEPS)
74
75 lint: $(LINT_DEPS)
76
77 modlintlib: $(MODLINTLIB_DEPS)
78
79 clean.lint: $(CLEAN_LINT_DEPS)
80
81 install: $(INSTALL_DEPS)
|
42 ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
43 CONF_SRCDIR = $(UTSBASE)/common/io/dr_sas
44
45 #
46 # Include common rules.
47 #
48 include $(UTSBASE)/intel/Makefile.intel
49
50 #
51 # Define targets
52 #
53 ALL_TARGET = $(BINARY) $(CONFMOD)
54 LINT_TARGET = $(MODULE).lint
55 INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
56
57 #
58 # Kernel Module Dependencies
59 #
60 LDFLAGS += -dy -Nmisc/scsi
61
62 CERRWARN += -_gcc=-Wno-unused-label
63 CERRWARN += -_gcc=-Wno-switch
64 CERRWARN += -_gcc=-Wno-uninitialized
65
66 #
67 # Default build targets.
68 #
69 .KEEP_STATE:
70
71 def: $(DEF_DEPS)
72
73 all: $(ALL_DEPS)
74
75 clean: $(CLEAN_DEPS)
76
77 clobber: $(CLOBBER_DEPS)
78
79 lint: $(LINT_DEPS)
80
81 modlintlib: $(MODLINTLIB_DEPS)
82
83 clean.lint: $(CLEAN_LINT_DEPS)
84
85 install: $(INSTALL_DEPS)
|