1f3a44f2fd7f9fee00b80c7ddcf1028ea145f91drbb# CDDL HEADER START
b9b69856aec9ea58ea1b1e5aff669e8eaf2ebce4rbb# The contents of this file are subject to the terms of the
b9b69856aec9ea58ea1b1e5aff669e8eaf2ebce4rbb# Common Development and Distribution License (the "License").
1f3a44f2fd7f9fee00b80c7ddcf1028ea145f91drbb# You may not use this file except in compliance with the License.
1f3a44f2fd7f9fee00b80c7ddcf1028ea145f91drbb# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
1f3a44f2fd7f9fee00b80c7ddcf1028ea145f91drbb# See the License for the specific language governing permissions
68bcde9c52e9e749482df2800dbdff09559115e0chuck# and limitations under the License.
43ea154f46345c9722c2b25b2b9f5086ec79eaeeorlikowski# When distributing Covered Code, include this CDDL HEADER in each
43ea154f46345c9722c2b25b2b9f5086ec79eaeeorlikowski# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
0c233c76f21b358f4a0d81e0f956339ca727c14cchuck# If applicable, add the following below this CDDL HEADER, with the
0c233c76f21b358f4a0d81e0f956339ca727c14cchuck# fields enclosed by brackets "[]" replaced with your own identifying
0c233c76f21b358f4a0d81e0f956339ca727c14cchuck# information: Portions Copyright [yyyy] [name of copyright owner]
0c233c76f21b358f4a0d81e0f956339ca727c14cchuck# CDDL HEADER END
0c233c76f21b358f4a0d81e0f956339ca727c14cchuck# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
53c2eb831bfe47860e3f5ec9190b15cb92f15181chuck# Use is subject to license terms.
c1635d9f723f28fed4b95e5d9693e554a79e8d77orlikowski# Copyright 2014 Garrett D'Amore <garrett@damore.org>
c1635d9f723f28fed4b95e5d9693e554a79e8d77orlikowski# This makefile drives the production of the usbvc kernel driver.
4f7dd0949d92462a8adc31eee8aff266eea55204chuck# sparc architecture dependent
75b3ed55173b29dbdf9e2fb6ec5462bfceee21aechuck# Path to the base of the uts directory tree (usually /usr/src/uts).
0c233c76f21b358f4a0d81e0f956339ca727c14cchuck# Define the module and object file sets.
68bcde9c52e9e749482df2800dbdff09559115e0chuck# Include common rules.
68bcde9c52e9e749482df2800dbdff09559115e0chuck# lint pass one enforcement
68bcde9c52e9e749482df2800dbdff09559115e0chuck# depends on misc/usba
68bcde9c52e9e749482df2800dbdff09559115e0chuck# Define targets
0c233c76f21b358f4a0d81e0f956339ca727c14cchuck# Disable this because it is necessary for this driver
68bcde9c52e9e749482df2800dbdff09559115e0chuck# and it is surely safe
68bcde9c52e9e749482df2800dbdff09559115e0chuck# Include common targets.
68bcde9c52e9e749482df2800dbdff09559115e0chuck# Defines for local commands.
68bcde9c52e9e749482df2800dbdff09559115e0chuck# lock_lint rules
68bcde9c52e9e749482df2800dbdff09559115e0chuck$(WARLOCK_OK): $(WARLOCK_OUT) $(WLCMD_DIR)/usbvc.wlcmd warlock_ddi.files
68bcde9c52e9e749482df2800dbdff09559115e0chuck $(WARLOCK) -c $(WLCMD_DIR)/usbvc.wlcmd $(WARLOCK_OUT) \
68bcde9c52e9e749482df2800dbdff09559115e0chuck%.ll: $(UTSBASE)/common/io/usb/clients/video/usbvc/%.c \
68bcde9c52e9e749482df2800dbdff09559115e0chuck $(UTSBASE)/common/sys/usb/clients/video/usbvc/usbvc_var.h
68bcde9c52e9e749482df2800dbdff09559115e0chuckwarlock_with_usba: $(WLCMD_DIR)/usbvc_with_usba.wlcmd $(WARLOCK_OUT) \
68bcde9c52e9e749482df2800dbdff09559115e0chuck usba_files ohci_files ehci_files uhci_files warlock_ddi.files