8322 nl: misleading-indentation
[unleashed/tickless.git] / usr / src / uts / intel / nvme / Makefile
blobba340fa1007671c2cc3fe0d0e55040b23e9f7555
2 # CDDL HEADER START
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
7 # 1.0 of the CDDL.
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.
13 # CDDL HEADER END
16 # Copyright 2015 Nexenta Systems, Inc. All rights reserved.
20 # Paths to the base of the uts directory trees
22 UTSBASE = ../..
25 # Define the module and object file sets.
27 MODULE = nvme
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
38 # Define targets
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.
52 .KEEP_STATE:
54 def: $(DEF_DEPS)
56 all: $(ALL_DEPS)
58 clean: $(CLEAN_DEPS)
60 clobber: $(CLOBBER_DEPS)
62 lint: $(LINT_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