Makefile revision d29f5a711240f866521445b1656d114da090335e
5347c0fcb04eaea19d9f39795646239f487c6207Tinderbox User# CDDL HEADER START
5347c0fcb04eaea19d9f39795646239f487c6207Tinderbox User# The contents of this file are subject to the terms of the
5347c0fcb04eaea19d9f39795646239f487c6207Tinderbox User# Common Development and Distribution License (the "License").
5347c0fcb04eaea19d9f39795646239f487c6207Tinderbox User# You may not use this file except in compliance with the License.
1bc5499c2a0fc5d2b11849e97cdd6305a64eb242Evan Hunt# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
1bc5499c2a0fc5d2b11849e97cdd6305a64eb242Evan Hunt# See the License for the specific language governing permissions
1bc5499c2a0fc5d2b11849e97cdd6305a64eb242Evan Hunt# and limitations under the License.
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt# When distributing Covered Code, include this CDDL HEADER in each
cd32f419a8a5432fbb139f56ee73cbf68b9350ccTinderbox User# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1bc5499c2a0fc5d2b11849e97cdd6305a64eb242Evan Hunt# If applicable, add the following below this CDDL HEADER, with the
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic Updater# fields enclosed by brackets "[]" replaced with your own identifying
1bc5499c2a0fc5d2b11849e97cdd6305a64eb242Evan Hunt# information: Portions Copyright [yyyy] [name of copyright owner]
1bc5499c2a0fc5d2b11849e97cdd6305a64eb242Evan Hunt# CDDL HEADER END
1bc5499c2a0fc5d2b11849e97cdd6305a64eb242Evan Hunt# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
1bc5499c2a0fc5d2b11849e97cdd6305a64eb242Evan Hunt# Use is subject to license terms.
1bc5499c2a0fc5d2b11849e97cdd6305a64eb242Evan Hunt# This makefile drives the production of the uhci driver kernel module.
1bc5499c2a0fc5d2b11849e97cdd6305a64eb242Evan Hunt# Path to the base of the uts directory tree (usually /usr/src/uts).
dec590a3deb8e87380a8bd3a77d535dba3729bf6Tinderbox User# Define the module and object file sets.
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox UserCONF_SRCDIR = $(UTSBASE)/common/io/usb/hcd/uhci
1bc5499c2a0fc5d2b11849e97cdd6305a64eb242Evan Hunt# Include common rules.
1bc5499c2a0fc5d2b11849e97cdd6305a64eb242Evan Hunt# Define targets
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic UpdaterINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User# Override defaults to build a unique, local modstubs.o.
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User# For now, disable these lint checks; maintainers should endeavor
6f1205897504b8f50b1785975482c995888dd630Tinderbox User# to investigate and remove these for maximum lint coverage.
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User# Please do not carry these forward to new Makefiles.
6ea2385360e9e2167e65f9286447da9eea189457Tinderbox User# Default build targets.
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User# Include common targets.
1bc5499c2a0fc5d2b11849e97cdd6305a64eb242Evan Hunt# Defines for local commands.
1bc5499c2a0fc5d2b11849e97cdd6305a64eb242Evan Hunt# lock_lint rules
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic UpdaterUSBA_FILES = $(USBA_OBJS:%.o= -l ../usba/%.ll)
1bc5499c2a0fc5d2b11849e97cdd6305a64eb242Evan Hunt$(WARLOCK_OK): $(WARLOCK_OUT) $(WLCMD_DIR)/uhci.wlcmd warlock_ddi.files \