b1ad3f99d0b864a8d2787ff732dd2c01f626f2d6vboxsync# CDDL HEADER START
b1ad3f99d0b864a8d2787ff732dd2c01f626f2d6vboxsync# The contents of this file are subject to the terms of the
b1ad3f99d0b864a8d2787ff732dd2c01f626f2d6vboxsync# Common Development and Distribution License (the "License").
c58f1213e628a545081c70e26c6b67a841cff880vboxsync# You may not use this file except in compliance with the License.
b1ad3f99d0b864a8d2787ff732dd2c01f626f2d6vboxsync# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
b1ad3f99d0b864a8d2787ff732dd2c01f626f2d6vboxsync# See the License for the specific language governing permissions
b1ad3f99d0b864a8d2787ff732dd2c01f626f2d6vboxsync# and limitations under the License.
b1ad3f99d0b864a8d2787ff732dd2c01f626f2d6vboxsync# When distributing Covered Code, include this CDDL HEADER in each
b1ad3f99d0b864a8d2787ff732dd2c01f626f2d6vboxsync# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
b1ad3f99d0b864a8d2787ff732dd2c01f626f2d6vboxsync# If applicable, add the following below this CDDL HEADER, with the
b1ad3f99d0b864a8d2787ff732dd2c01f626f2d6vboxsync# fields enclosed by brackets "[]" replaced with your own identifying
b1ad3f99d0b864a8d2787ff732dd2c01f626f2d6vboxsync# information: Portions Copyright [yyyy] [name of copyright owner]
b1ad3f99d0b864a8d2787ff732dd2c01f626f2d6vboxsync# CDDL HEADER END
23ff0a80f28ba27da3cb458face82665fe65e96cvboxsync# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
23ff0a80f28ba27da3cb458face82665fe65e96cvboxsync# Use is subject to license terms.
23ff0a80f28ba27da3cb458face82665fe65e96cvboxsync# Copyright 2014 Garrett D'Amore <garrett@damore.org>
23ff0a80f28ba27da3cb458face82665fe65e96cvboxsync# This makefile drives the production of the Keyspan USB Serial
23ff0a80f28ba27da3cb458face82665fe65e96cvboxsync# Adapter driver.
b1ad3f99d0b864a8d2787ff732dd2c01f626f2d6vboxsync# Path to the base of the uts directory tree (usually /usr/src/uts).
b1ad3f99d0b864a8d2787ff732dd2c01f626f2d6vboxsync# Define the module and object file sets.
b1ad3f99d0b864a8d2787ff732dd2c01f626f2d6vboxsyncLINTS = $(USBSER_KEYSPAN_OBJS:%.o=$(LINTS_DIR)/%.ln)
b1ad3f99d0b864a8d2787ff732dd2c01f626f2d6vboxsync# Include common rules.
23ff0a80f28ba27da3cb458face82665fe65e96cvboxsyncLDFLAGS += -dy -Nmisc/usba -Nmisc/usbser -Nmisc/usbs49_fw
b1ad3f99d0b864a8d2787ff732dd2c01f626f2d6vboxsync# Define targets
b1ad3f99d0b864a8d2787ff732dd2c01f626f2d6vboxsync# Include common targets.
e43d0b86db65e202efb63f0fc5fce1f981267a32vboxsync# Defines for local commands.
23ff0a80f28ba27da3cb458face82665fe65e96cvboxsync$(WARLOCK_OK): warlock_with_usba warlock_with_usbser
23ff0a80f28ba27da3cb458face82665fe65e96cvboxsync%.ll: $(UTSBASE)/common/io/usb/clients/usbser/usbser_keyspan/%.c
23ff0a80f28ba27da3cb458face82665fe65e96cvboxsyncwarlock_with_usbser: $(WARLOCK_OUT) usbser_files warlock_ddi.files \
23ff0a80f28ba27da3cb458face82665fe65e96cvboxsync usba_files ohci_files uhci_files ehci_files warlock_ddi.files
23ff0a80f28ba27da3cb458face82665fe65e96cvboxsync $(WARLOCK) -c $(WLCMD_DIR)/usbser_keyspan_with_usba.wlcmd \