Makefile revision e2c88f0c2610f16de7b639746b40dea5f3e2256e
0d63ce2b32a9e1cc8ed71d4d92536c44d66a530avenki# CDDL HEADER START
0d63ce2b32a9e1cc8ed71d4d92536c44d66a530avenki# The contents of this file are subject to the terms of the
0d63ce2b32a9e1cc8ed71d4d92536c44d66a530avenki# Common Development and Distribution License (the "License").
0d63ce2b32a9e1cc8ed71d4d92536c44d66a530avenki# You may not use this file except in compliance with the License.
0d63ce2b32a9e1cc8ed71d4d92536c44d66a530avenki# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
0d63ce2b32a9e1cc8ed71d4d92536c44d66a530avenki# See the License for the specific language governing permissions
0d63ce2b32a9e1cc8ed71d4d92536c44d66a530avenki# and limitations under the License.
0d63ce2b32a9e1cc8ed71d4d92536c44d66a530avenki# When distributing Covered Code, include this CDDL HEADER in each
0d63ce2b32a9e1cc8ed71d4d92536c44d66a530avenki# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
0d63ce2b32a9e1cc8ed71d4d92536c44d66a530avenki# If applicable, add the following below this CDDL HEADER, with the
0d63ce2b32a9e1cc8ed71d4d92536c44d66a530avenki# fields enclosed by brackets "[]" replaced with your own identifying
0d63ce2b32a9e1cc8ed71d4d92536c44d66a530avenki# information: Portions Copyright [yyyy] [name of copyright owner]
0d63ce2b32a9e1cc8ed71d4d92536c44d66a530avenki# CDDL HEADER END
0d63ce2b32a9e1cc8ed71d4d92536c44d66a530avenki# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
0d63ce2b32a9e1cc8ed71d4d92536c44d66a530avenki# Use is subject to license terms.
0d63ce2b32a9e1cc8ed71d4d92536c44d66a530avenki# Copyright 2014 Garrett D'Amore <garrett@damore.org>
0d63ce2b32a9e1cc8ed71d4d92536c44d66a530avenki# This makefile drives the production of the usb_ia driver kernel module.
0d63ce2b32a9e1cc8ed71d4d92536c44d66a530avenki# sparc architecture dependent
0d63ce2b32a9e1cc8ed71d4d92536c44d66a530avenki# Path to the base of the uts directory tree (usually /usr/src/uts).
0d63ce2b32a9e1cc8ed71d4d92536c44d66a530avenki# Define the module and object file sets.
34f1a571c0d0c682a4a70b97b1e62430aa630559Michael BergknoffLINTS = $(USB_IA_OBJS:%.o=$(LINTS_DIR)/%.ln)
0d63ce2b32a9e1cc8ed71d4d92536c44d66a530avenki# Include common rules.
0d63ce2b32a9e1cc8ed71d4d92536c44d66a530avenki# lint pass one enforcement
0d63ce2b32a9e1cc8ed71d4d92536c44d66a530avenki# depends on misc/usba
0d63ce2b32a9e1cc8ed71d4d92536c44d66a530avenki# Define targets
0d63ce2b32a9e1cc8ed71d4d92536c44d66a530avenki# Include common targets.
0d63ce2b32a9e1cc8ed71d4d92536c44d66a530avenki# Defines for local commands.
817697f4a28f704a2d88ace09406d985aa3a8549Kelly Moyer# lock_lint rules
817697f4a28f704a2d88ace09406d985aa3a8549Kelly Moyer$(WARLOCK_OK): $(WARLOCK_OUT) $(WLCMD_DIR)/usb_ia.wlcmd warlock_ddi.files
817697f4a28f704a2d88ace09406d985aa3a8549Kelly Moyer $(WARLOCK) -c $(WLCMD_DIR)/usb_ia.wlcmd $(WARLOCK_OUT) \
817697f4a28f704a2d88ace09406d985aa3a8549Kelly Moyerwarlock_with_usba: $(WLCMD_DIR)/usb_ia_with_usba.wlcmd $(WARLOCK_OUT) \
817697f4a28f704a2d88ace09406d985aa3a8549Kelly Moyer usba_files ohci_files ehci_files uhci_files warlock_ddi.files
817697f4a28f704a2d88ace09406d985aa3a8549Kelly Moyer $(WARLOCK) -c $(WLCMD_DIR)/usb_ia_with_usba.wlcmd \