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
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.
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
26 LINT_TARGET
= $(MODULE
).lint
27 INSTALL_TARGET
= $(BINARY
) $(ROOTMODULE
)
29 LDFLAGS
+= -dy
-N misc
/scsi
31 LINTTAGS
+= -erroff
=E_BAD_PTR_CAST_ALIGN
39 clean.lint
: $(CLEAN_LINT_DEPS
)
43 clobber: $(CLOBBER_DEPS
)
45 install: $(INSTALL_DEPS
)
49 modlintlib
: $(MODLINTLIB_DEPS
)
51 include $(UTSBASE
)/intel
/Makefile.targ