4 # This file and its contents are supplied under the terms of the
5 # Common Development and Distribution License ("CDDL"), version 1.0.
6 # You may only use this file in accordance with the terms of version
9 # A full copy of the text of the CDDL should have accompanied this
10 # source. A copy of the CDDL is also available via the Internet at
11 # http://www.illumos.org/license/CDDL.
16 # Copyright 2015 Nexenta Systems, Inc. All rights reserved.
20 # Paths to the base of the uts directory trees
25 # Define the module and object file sets.
28 OBJECTS
= $(NVME_OBJS
:%=$(OBJS_DIR
)/%)
29 LINTS
= $(NVME_OBJS
:%.o
=$(LINTS_DIR
)/%.ln
)
30 ROOTMODULE
= $(ROOT_DRV_DIR
)/$(MODULE
)
31 CONF_SRCDIR
= $(UTSBASE
)/common
/io
/nvme
33 # Include common rules.
35 include $(UTSBASE
)/intel
/Makefile.intel
40 ALL_TARGET
= $(BINARY
)
41 LINT_TARGET
= $(MODULE
).lint
42 INSTALL_TARGET
= $(BINARY
) $(ROOTMODULE
) $(ROOT_CONFFILE
)
45 # Driver depends on blkdev
47 LDFLAGS
+= -dy
-N drv
/blkdev
-N misc
/sata
50 # Default build targets.
60 clobber: $(CLOBBER_DEPS
)
64 modlintlib
: $(MODLINTLIB_DEPS
)
66 clean.lint
: $(CLEAN_LINT_DEPS
)
68 install: $(INSTALL_DEPS
)
71 # Include common targets.
73 include $(UTSBASE
)/intel
/Makefile.targ