7017 integrate pvscsi
[unleashed.git] / usr / src / uts / intel / pvscsi / Makefile
blob5ea943cfaa510390fa310b4b63f0f31a59b09779
2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"), version 1.0.
4 # You may only use this file in accordance with the terms of version
5 # 1.0 of the CDDL.
7 # A full copy of the text of the CDDL should have accompanied this
8 # source. A copy of the CDDL is also available via the Internet at
9 # http://www.illumos.org/license/CDDL.
13 # Copyright 2016 Nexenta Systems, Inc.
16 UTSBASE= $(SRC)/uts
18 MODULE= pvscsi
19 OBJECTS= $(PVSCSI_OBJS:%=$(OBJS_DIR)/%)
20 LINTS= $(PVSCSI_OBJS:%.o=$(LINTS_DIR)/%.ln)
21 ROOTMODULE= $(ROOT_DRV_DIR)/$(MODULE)
23 include $(UTSBASE)/intel/Makefile.intel
25 ALL_TARGET= $(BINARY)
26 LINT_TARGET= $(MODULE).lint
27 INSTALL_TARGET= $(BINARY) $(ROOTMODULE)
29 LDFLAGS += -dy -N misc/scsi
31 LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
33 .KEEP_STATE:
35 def: $(DEF_DEPS)
37 all: $(ALL_DEPS)
39 clean.lint: $(CLEAN_LINT_DEPS)
41 clean: $(CLEAN_DEPS)
43 clobber: $(CLOBBER_DEPS)
45 install: $(INSTALL_DEPS)
47 lint: $(LINT_DEPS)
49 modlintlib: $(MODLINTLIB_DEPS)
51 include $(UTSBASE)/intel/Makefile.targ