54 INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
55
56 #
57 # header file directories
58 #
59 INCS += -I$(SRC)/uts/common/
60
61 #
62 # Overrides
63 #
64 LDFLAGS += -dy -Ndrv/fcp -Nmisc/fctl -Nmisc/scsi
65
66 #
67 # Lint tags
68 #
69 LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
70 LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
71 LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
72 LINTTAGS += -erroff=E_STATIC_UNUSED
73
74 CERRWARN += -_gcc=-Wno-uninitialized
75 CERRWARN += -_gcc=-Wno-unused-function
76
77 # needs work
78 $(OBJS_DIR)/fp.o := SMOFF += all_func_returns,deref_check
79
80 #
81 # Default build targets.
82 #
83 .KEEP_STATE:
84
85 def: $(DEF_DEPS)
86
87 all: $(ALL_DEPS)
88
89 clean: $(CLEAN_DEPS)
90
91 clobber: $(CLOBBER_DEPS)
92
93 lint: $(LINT_DEPS)
94
|
54 INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
55
56 #
57 # header file directories
58 #
59 INCS += -I$(SRC)/uts/common/
60
61 #
62 # Overrides
63 #
64 LDFLAGS += -dy -Ndrv/fcp -Nmisc/fctl -Nmisc/scsi
65
66 #
67 # Lint tags
68 #
69 LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
70 LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
71 LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
72 LINTTAGS += -erroff=E_STATIC_UNUSED
73
74 CERRWARN += $(CNOWARN_UNINIT)
75 CERRWARN += -_gcc=-Wno-unused-function
76
77 # needs work
78 $(OBJS_DIR)/fp.o := SMOFF += all_func_returns,deref_check
79
80 #
81 # Default build targets.
82 #
83 .KEEP_STATE:
84
85 def: $(DEF_DEPS)
86
87 all: $(ALL_DEPS)
88
89 clean: $(CLEAN_DEPS)
90
91 clobber: $(CLOBBER_DEPS)
92
93 lint: $(LINT_DEPS)
94
|