Makefile revision bb25c06cca41ca78e5fb87fbb8e81d55beb18c95
015a6ef6781cc3ceba8ad3bfbae98449b6002a1fSaurabh Misra# CDDL HEADER START
015a6ef6781cc3ceba8ad3bfbae98449b6002a1fSaurabh Misra# The contents of this file are subject to the terms of the
015a6ef6781cc3ceba8ad3bfbae98449b6002a1fSaurabh Misra# Common Development and Distribution License (the "License").
015a6ef6781cc3ceba8ad3bfbae98449b6002a1fSaurabh Misra# You may not use this file except in compliance with the License.
015a6ef6781cc3ceba8ad3bfbae98449b6002a1fSaurabh Misra# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
015a6ef6781cc3ceba8ad3bfbae98449b6002a1fSaurabh Misra# See the License for the specific language governing permissions
015a6ef6781cc3ceba8ad3bfbae98449b6002a1fSaurabh Misra# and limitations under the License.
015a6ef6781cc3ceba8ad3bfbae98449b6002a1fSaurabh Misra# When distributing Covered Code, include this CDDL HEADER in each
015a6ef6781cc3ceba8ad3bfbae98449b6002a1fSaurabh Misra# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
015a6ef6781cc3ceba8ad3bfbae98449b6002a1fSaurabh Misra# If applicable, add the following below this CDDL HEADER, with the
015a6ef6781cc3ceba8ad3bfbae98449b6002a1fSaurabh Misra# fields enclosed by brackets "[]" replaced with your own identifying
015a6ef6781cc3ceba8ad3bfbae98449b6002a1fSaurabh Misra# information: Portions Copyright [yyyy] [name of copyright owner]
015a6ef6781cc3ceba8ad3bfbae98449b6002a1fSaurabh Misra# CDDL HEADER END
015a6ef6781cc3ceba8ad3bfbae98449b6002a1fSaurabh Misra# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
5e8715b93d1d651ab2805b5e6e98b17df49fa92fGary Mills# Use is subject to license terms.
5e8715b93d1d651ab2805b5e6e98b17df49fa92fGary Mills# This makefile drives the production of the scsa2usb driver
5e8715b93d1d651ab2805b5e6e98b17df49fa92fGary Mills# kernel module. sparc architecture dependent
5e8715b93d1d651ab2805b5e6e98b17df49fa92fGary Mills#ident "%Z%%M% %I% %E% SMI"
5e8715b93d1d651ab2805b5e6e98b17df49fa92fGary Mills# Path to the base of the uts directory tree (usually /usr/src/uts).
5e8715b93d1d651ab2805b5e6e98b17df49fa92fGary Mills# Define the module and object file sets.
5e8715b93d1d651ab2805b5e6e98b17df49fa92fGary Mills# Include common rules.
015a6ef6781cc3ceba8ad3bfbae98449b6002a1fSaurabh Misra# lint pass one enforcement
015a6ef6781cc3ceba8ad3bfbae98449b6002a1fSaurabh Misra# Define targets
015a6ef6781cc3ceba8ad3bfbae98449b6002a1fSaurabh MisraINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
015a6ef6781cc3ceba8ad3bfbae98449b6002a1fSaurabh Misra# For now, disable these lint checks; maintainers should endeavor
015a6ef6781cc3ceba8ad3bfbae98449b6002a1fSaurabh Misra# to investigate and remove these for maximum lint coverage.
015a6ef6781cc3ceba8ad3bfbae98449b6002a1fSaurabh Misra# Please do not carry these forward to new Makefiles.
015a6ef6781cc3ceba8ad3bfbae98449b6002a1fSaurabh Misra# Include common targets.
015a6ef6781cc3ceba8ad3bfbae98449b6002a1fSaurabh Misra# Defines for local commands.
015a6ef6781cc3ceba8ad3bfbae98449b6002a1fSaurabh Misra# lock_lint rules
015a6ef6781cc3ceba8ad3bfbae98449b6002a1fSaurabh Misrawarlock: $(MODULE).ok $(WARLOCK_OBJECTS) warlock_with_usba
0eb090a7674ebcdcb1c35501097edeb5f2395459Saurabh Misrascsa2usb.ok: $(WARLOCK_OBJECTS) scsa2usb.wlcmd warlock_ddi.files \
015a6ef6781cc3ceba8ad3bfbae98449b6002a1fSaurabh Misra $(WARLOCK) -c scsa2usb.wlcmd $(WARLOCK_OBJECTS) \
015a6ef6781cc3ceba8ad3bfbae98449b6002a1fSaurabh Misra $(UTSBASE)/common/sys/usb/clients/mass_storage/usb_bulkonly.h \
015a6ef6781cc3ceba8ad3bfbae98449b6002a1fSaurabh Misra $(UTSBASE)/common/sys/usb/clients/mass_storage/usb_cbi.h \
015a6ef6781cc3ceba8ad3bfbae98449b6002a1fSaurabh Misrawarlock_with_usba: scsa2usb.wlcmd $(WARLOCK_OBJECTS) usba_files \
015a6ef6781cc3ceba8ad3bfbae98449b6002a1fSaurabh Misra ohci_files ehci_files uhci_files warlock_ddi.files sd.files st.files