1*b0e1d44eSYuri Pankov# 2*b0e1d44eSYuri Pankov# This file and its contents are supplied under the terms of the 3*b0e1d44eSYuri Pankov# Common Development and Distribution License ("CDDL"), version 1.0. 4*b0e1d44eSYuri Pankov# You may only use this file in accordance with the terms of version 5*b0e1d44eSYuri Pankov# 1.0 of the CDDL. 6*b0e1d44eSYuri Pankov# 7*b0e1d44eSYuri Pankov# A full copy of the text of the CDDL should have accompanied this 8*b0e1d44eSYuri Pankov# source. A copy of the CDDL is also available via the Internet at 9*b0e1d44eSYuri Pankov# http://www.illumos.org/license/CDDL. 10*b0e1d44eSYuri Pankov# 11*b0e1d44eSYuri Pankov 12*b0e1d44eSYuri Pankov# 13*b0e1d44eSYuri Pankov# Copyright 2016 Nexenta Systems, Inc. 14*b0e1d44eSYuri Pankov# 15*b0e1d44eSYuri Pankov 16*b0e1d44eSYuri PankovUTSBASE= $(SRC)/uts 17*b0e1d44eSYuri Pankov 18*b0e1d44eSYuri PankovMODULE= pvscsi 19*b0e1d44eSYuri PankovOBJECTS= $(PVSCSI_OBJS:%=$(OBJS_DIR)/%) 20*b0e1d44eSYuri PankovLINTS= $(PVSCSI_OBJS:%.o=$(LINTS_DIR)/%.ln) 21*b0e1d44eSYuri PankovROOTMODULE= $(ROOT_DRV_DIR)/$(MODULE) 22*b0e1d44eSYuri Pankov 23*b0e1d44eSYuri Pankovinclude $(UTSBASE)/intel/Makefile.intel 24*b0e1d44eSYuri Pankov 25*b0e1d44eSYuri PankovALL_TARGET= $(BINARY) 26*b0e1d44eSYuri PankovLINT_TARGET= $(MODULE).lint 27*b0e1d44eSYuri PankovINSTALL_TARGET= $(BINARY) $(ROOTMODULE) 28*b0e1d44eSYuri Pankov 29*b0e1d44eSYuri PankovLDFLAGS += -dy -N misc/scsi 30*b0e1d44eSYuri Pankov 31*b0e1d44eSYuri PankovLINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN 32*b0e1d44eSYuri Pankov 33*b0e1d44eSYuri Pankov.KEEP_STATE: 34*b0e1d44eSYuri Pankov 35*b0e1d44eSYuri Pankovdef: $(DEF_DEPS) 36*b0e1d44eSYuri Pankov 37*b0e1d44eSYuri Pankovall: $(ALL_DEPS) 38*b0e1d44eSYuri Pankov 39*b0e1d44eSYuri Pankovclean.lint: $(CLEAN_LINT_DEPS) 40*b0e1d44eSYuri Pankov 41*b0e1d44eSYuri Pankovclean: $(CLEAN_DEPS) 42*b0e1d44eSYuri Pankov 43*b0e1d44eSYuri Pankovclobber: $(CLOBBER_DEPS) 44*b0e1d44eSYuri Pankov 45*b0e1d44eSYuri Pankovinstall: $(INSTALL_DEPS) 46*b0e1d44eSYuri Pankov 47*b0e1d44eSYuri Pankovlint: $(LINT_DEPS) 48*b0e1d44eSYuri Pankov 49*b0e1d44eSYuri Pankovmodlintlib: $(MODLINTLIB_DEPS) 50*b0e1d44eSYuri Pankov 51*b0e1d44eSYuri Pankovinclude $(UTSBASE)/intel/Makefile.targ 52