import less(1)
[unleashed/tickless.git] / usr / src / uts / intel / skd / Makefile
blobaf7c9a761d710c0407c1f1b1fbcebd104af28057
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.
18 # uts/intel/skd/Makefile
20 # This makefile drives the production of the skd module, which supports
21 # the sTec S112x PCIe SSD card.
23 # intel architecture dependent
27 # Paths to the base of the uts directory trees
29 UTSBASE = ../..
32 # Define the module and object file sets.
34 MODULE = skd
35 OBJECTS = $(SKD_OBJS:%=$(OBJS_DIR)/%)
36 ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
37 CONF_SRCDIR = $(UTSBASE)/common/io/skd
40 # Include common rules.
42 include $(UTSBASE)/intel/Makefile.intel
45 # Define targets
47 ALL_TARGET = $(BINARY) $(CONFMOD)
48 INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
51 # Driver depends on blkdev
53 LDFLAGS += -dy -N drv/blkdev
56 # Overrides
58 # For now, disable these compiler warnigns; maintainers should endeavor
59 # investigate and remove these for maximum coverage. Please do not carry
60 # these forward to new Makefiles.
61 CERRWARN += -Wno-format
62 CERRWARN += -Wno-format-extra-args
65 # Default build targets.
67 .KEEP_STATE:
69 def: $(DEF_DEPS)
71 all: $(ALL_DEPS)
73 clean: $(CLEAN_DEPS)
75 clobber: $(CLOBBER_DEPS)
77 install: $(INSTALL_DEPS)
80 # Include common targets.
82 include $(UTSBASE)/intel/Makefile.targ