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