kernel: remove unused utsname_set_machine()
[unleashed.git] / usr / src / uts / sparc / scsi_vhci / Makefile
blobc775d18ccd2d5dbeb79c1f2a17feb5aa0d4b10bc
2 # CDDL HEADER START
4 # The contents of this file are subject to the terms of the
5 # Common Development and Distribution License (the "License").
6 # You may not use this file except in compliance with the License.
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 # or http://www.opensolaris.org/os/licensing.
10 # See the License for the specific language governing permissions
11 # and limitations under the License.
13 # When distributing Covered Code, include this CDDL HEADER in each
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 # If applicable, add the following below this CDDL HEADER, with the
16 # fields enclosed by brackets "[]" replaced with your own identifying
17 # information: Portions Copyright [yyyy] [name of copyright owner]
19 # CDDL HEADER END
23 # Copyright 2007 Sun Microsystems, Inc. All rights reserved.
24 # Use is subject to license terms.
28 # This makefile drives the production of SCSI vHCI Driver
29 # sparc architecture dependent
33 # Paths to the base of the uts directory trees
35 UTSBASE = ../..
38 # Define the module and object file sets.
40 MODULE = scsi_vhci
41 OBJECTS = $(SCSI_VHCI_OBJS:%=$(OBJS_DIR)/%)
42 ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
43 CONF_SRCDIR = $(UTSBASE)/common/io/scsi/adapters/scsi_vhci
46 # Include common rules.
48 include $(UTSBASE)/sparc/Makefile.sparc
50 CERRWARN += -Wno-parentheses
51 CERRWARN += -Wno-uninitialized
52 CERRWARN += -Wno-unused-label
55 # Define targets.
57 ALL_TARGET = $(BINARY) $(SRC_CONFFILE)
58 INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
61 # Note dependancy on misc/scsi.
63 LDFLAGS += -dy -N"misc/scsi"
66 # Default build targets.
68 .KEEP_STATE:
70 def: $(DEF_DEPS)
72 all: $(ALL_DEPS)
74 clean: $(CLEAN_DEPS)
76 clobber: $(CLOBBER_DEPS)
78 install: $(INSTALL_DEPS)
81 # Include common targets.
83 include $(UTSBASE)/sparc/Makefile.targ