9d26e4fc021e249c93c2861629cc665e4f5bd4d6Robert Mustacchi# CDDL HEADER START
9d26e4fc021e249c93c2861629cc665e4f5bd4d6Robert Mustacchi# The contents of this file are subject to the terms of the
9d26e4fc021e249c93c2861629cc665e4f5bd4d6Robert Mustacchi# Common Development and Distribution License (the "License").
9d26e4fc021e249c93c2861629cc665e4f5bd4d6Robert Mustacchi# You may not use this file except in compliance with the License.
9d26e4fc021e249c93c2861629cc665e4f5bd4d6Robert Mustacchi# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9d26e4fc021e249c93c2861629cc665e4f5bd4d6Robert Mustacchi# or http://www.opensolaris.org/os/licensing.
9d26e4fc021e249c93c2861629cc665e4f5bd4d6Robert Mustacchi# See the License for the specific language governing permissions
9d26e4fc021e249c93c2861629cc665e4f5bd4d6Robert Mustacchi# and limitations under the License.
9d26e4fc021e249c93c2861629cc665e4f5bd4d6Robert Mustacchi# When distributing Covered Code, include this CDDL HEADER in each
9d26e4fc021e249c93c2861629cc665e4f5bd4d6Robert Mustacchi# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
9d26e4fc021e249c93c2861629cc665e4f5bd4d6Robert Mustacchi# If applicable, add the following below this CDDL HEADER, with the
9d26e4fc021e249c93c2861629cc665e4f5bd4d6Robert Mustacchi# fields enclosed by brackets "[]" replaced with your own identifying
9d26e4fc021e249c93c2861629cc665e4f5bd4d6Robert Mustacchi# information: Portions Copyright [yyyy] [name of copyright owner]
9d26e4fc021e249c93c2861629cc665e4f5bd4d6Robert Mustacchi# CDDL HEADER END
9d26e4fc021e249c93c2861629cc665e4f5bd4d6Robert Mustacchi# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
9d26e4fc021e249c93c2861629cc665e4f5bd4d6Robert Mustacchi# Use is subject to license terms.
9d26e4fc021e249c93c2861629cc665e4f5bd4d6Robert Mustacchi# Copyright 2014 Garrett D'Amore <garrett@damore.org>
9d26e4fc021e249c93c2861629cc665e4f5bd4d6Robert Mustacchi# This makefile drives the production of the usbvc driver kernel module.
9d26e4fc021e249c93c2861629cc665e4f5bd4d6Robert Mustacchi# Path to the base of the uts directory tree (usually /usr/src/uts).
9d26e4fc021e249c93c2861629cc665e4f5bd4d6Robert Mustacchi# Define the module and object file sets.
9d26e4fc021e249c93c2861629cc665e4f5bd4d6Robert Mustacchi# Include common rules.
9d26e4fc021e249c93c2861629cc665e4f5bd4d6Robert Mustacchi# Define targets
9d26e4fc021e249c93c2861629cc665e4f5bd4d6Robert Mustacchi# Override defaults to build a unique, local modstubs.o.
9d26e4fc021e249c93c2861629cc665e4f5bd4d6Robert Mustacchi# Disable this because it is necessary for this driver
9d26e4fc021e249c93c2861629cc665e4f5bd4d6Robert Mustacchi# and it is surely safe
9d26e4fc021e249c93c2861629cc665e4f5bd4d6Robert Mustacchi# Default build targets.
9d26e4fc021e249c93c2861629cc665e4f5bd4d6Robert Mustacchi# Include common targets.
9d26e4fc021e249c93c2861629cc665e4f5bd4d6Robert Mustacchi# Defines for local commands.
9d26e4fc021e249c93c2861629cc665e4f5bd4d6Robert Mustacchi# lock_lint rules
9d26e4fc021e249c93c2861629cc665e4f5bd4d6Robert Mustacchi$(WARLOCK_OK): $(WARLOCK_OUT) $(WLCMD_DIR)/usbvc.wlcmd warlock_ddi.files
9d26e4fc021e249c93c2861629cc665e4f5bd4d6Robert Mustacchi $(WARLOCK) -c $(WLCMD_DIR)/usbvc.wlcmd $(WARLOCK_OUT) \
9d26e4fc021e249c93c2861629cc665e4f5bd4d6Robert Mustacchi%.ll: $(UTSBASE)/common/io/usb/clients/video/usbvc/%.c \
9d26e4fc021e249c93c2861629cc665e4f5bd4d6Robert Mustacchi $(UTSBASE)/common/sys/usb/clients/video/usbvc/usbvc_var.h
9d26e4fc021e249c93c2861629cc665e4f5bd4d6Robert Mustacchiwarlock_with_usba: $(WLCMD_DIR)/usbvc_with_usba.wlcmd $(WARLOCK_OUT) \
9d26e4fc021e249c93c2861629cc665e4f5bd4d6Robert Mustacchi usba_files ohci_files ehci_files uhci_files warlock_ddi.files
9d26e4fc021e249c93c2861629cc665e4f5bd4d6Robert Mustacchi $(WARLOCK) -c $(WLCMD_DIR)/usbvc_with_usba.wlcmd \