Makefile revision 4ebb14b236958cfe1ef4ff3b7a50216d9e51f997
3b4098640dd85040270f39b9a5ee5e22de99d3d6Mark Andrews# CDDL HEADER START
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# The contents of this file are subject to the terms of the
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# Common Development and Distribution License (the "License").
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# You may not use this file except in compliance with the License.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# See the License for the specific language governing permissions
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# and limitations under the License.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# When distributing Covered Code, include this CDDL HEADER in each
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# If applicable, add the following below this CDDL HEADER, with the
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# fields enclosed by brackets "[]" replaced with your own identifying
47012ae6dbf18a2503d7b33c1c9583dc38625cb7Mark Andrews# information: Portions Copyright [yyyy] [name of copyright owner]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# CDDL HEADER END
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# Use is subject to license terms.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein#ident "%Z%%M% %I% %E% SMI"
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# This makefile drives the production of the scsa2usb driver
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# kernel module. intel architecture dependent
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# Path to the base of the uts directory tree (usually /usr/src/uts).
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# Define the module and object file sets.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# Include common rules.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# Define targets
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob AusteinINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# Override defaults to build a unique, local modstubs.o.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# For now, disable these lint checks; maintainers should endeavor
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# to investigate and remove these for maximum lint coverage.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# Please do not carry these forward to new Makefiles.
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# Default build targets.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# Include common targets.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# Defines for local commands.
47012ae6dbf18a2503d7b33c1c9583dc38625cb7Mark Andrews# lock_lint rules
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein cd $(WLCMD_DIR); $(TEST) -f $@ || $(SCCS) get $@
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein$(WARLOCK_OK): $(WARLOCK_OUT) scsa2usb.wlcmd warlock_ddi.files \
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein $(WARLOCK) -c $(WLCMD_DIR)/scsa2usb.wlcmd $(WARLOCK_OUT) \
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein $(UTSBASE)/common/sys/usb/clients/mass_storage/usb_bulkonly.h \
47012ae6dbf18a2503d7b33c1c9583dc38625cb7Mark Andrews $(UTSBASE)/common/sys/usb/clients/mass_storage/usb_cbi.h \
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein ohci_files ehci_files uhci_files warlock_ddi.files sd.files st.files \
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein $(WARLOCK) -c $(WLCMD_DIR)/scsa2usb_with_usba.wlcmd \