40 ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
41 CONF_SRCDIR = $(UTSBASE)/common/io/comstar/lu/stmf_sbd
42
43 #
44 # Include common rules.
45 #
46 include ../Makefile.$(ARCHDIR)
47
48 #
49 # Define targets
50 #
51 ALL_TARGET = $(BINARY) $(SRC_CONFILE)
52 LINT_TARGET = $(MODULE).lint
53 INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
54
55 #
56 # Overrides and depends_on
57 #
58 MODSTUBS_DIR = $(OBJS_DIR)
59 LDFLAGS += -dy -Ndrv/stmf -Nfs/zfs
60
61 INC_PATH += -I$(UTSBASE)/common/fs/zfs
62
63 C99MODE= -xc99=%all
64 C99LMODE= -Xc99=%all
65
66 #
67 # For now, disable these lint checks; maintainers should endeavor
68 # to investigate and remove these for maximum lint coverage.
69 #
70 LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
71
72 CERRWARN += -_gcc=-Wno-switch
73 CERRWARN += -_gcc=-Wno-parentheses
74 CERRWARN += -_gcc=-Wno-unused-label
75 CERRWARN += -_gcc=-Wno-uninitialized
76
77 #
78 # Default build targets.
79 #
|
40 ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
41 CONF_SRCDIR = $(UTSBASE)/common/io/comstar/lu/stmf_sbd
42
43 #
44 # Include common rules.
45 #
46 include ../Makefile.$(ARCHDIR)
47
48 #
49 # Define targets
50 #
51 ALL_TARGET = $(BINARY) $(SRC_CONFILE)
52 LINT_TARGET = $(MODULE).lint
53 INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
54
55 #
56 # Overrides and depends_on
57 #
58 MODSTUBS_DIR = $(OBJS_DIR)
59 LDFLAGS += -dy -Ndrv/stmf -Nfs/zfs
60 LINTTAGS += -L$(LINT_LIB_DIR) -lstmf -lzfs
61
62 INC_PATH += -I$(UTSBASE)/common/fs/zfs
63
64 C99MODE= -xc99=%all
65 C99LMODE= -Xc99=%all
66
67 #
68 # For now, disable these lint checks; maintainers should endeavor
69 # to investigate and remove these for maximum lint coverage.
70 #
71 LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
72
73 CERRWARN += -_gcc=-Wno-switch
74 CERRWARN += -_gcc=-Wno-parentheses
75 CERRWARN += -_gcc=-Wno-unused-label
76 CERRWARN += -_gcc=-Wno-uninitialized
77
78 #
79 # Default build targets.
80 #
|