Makefile revision 489b7c4ab76ae8df137fbfcc2214f7baa52883a0
0af902c0df86a1ddfa54f68b4cf0fab7b469d4e7Mark Andrews# CDDL HEADER START
f202f2587b9ba4753afba49b796f599cc12b4d0fAndreas Gustafsson# The contents of this file are subject to the terms of the
1124950b35ae05a12e804e670607fe5ba775cb4aTinderbox User# Common Development and Distribution License (the "License").
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# You may not use this file except in compliance with the License.
ec5347e2c775f027573ce5648b910361aa926c01Automatic Updater# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
f202f2587b9ba4753afba49b796f599cc12b4d0fAndreas Gustafsson# or http://www.opensolaris.org/os/licensing.
f202f2587b9ba4753afba49b796f599cc12b4d0fAndreas Gustafsson# See the License for the specific language governing permissions
f202f2587b9ba4753afba49b796f599cc12b4d0fAndreas Gustafsson# and limitations under the License.
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# When distributing Covered Code, include this CDDL HEADER in each
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# If applicable, add the following below this CDDL HEADER, with the
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# fields enclosed by brackets "[]" replaced with your own identifying
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# information: Portions Copyright [yyyy] [name of copyright owner]
f202f2587b9ba4753afba49b796f599cc12b4d0fAndreas Gustafsson# CDDL HEADER END
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
1753d3c4d74241a847794f7e7cfd94cc79be6600Evan Hunt# Use is subject to license terms.
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein# This makefile drives the production of the usb_ia driver kernel module.
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein# Path to the base of the uts directory tree (usually /usr/src/uts).
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein# Define the module and object file sets.
0e27506ce3135f9bd49e12564ad0e15256135118Automatic Updater# Include common rules.
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein# Define targets
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein# Override defaults to build a unique, local modstubs.o.
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein# Default build targets.
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein# Include common targets.
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein# Defines for local commands.
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein# lock_lint rules
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinUSBA_FILES = $(USBA_WITHOUT_WUSB_OBJS:%.o=../usba/%.ll)
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein$(WARLOCK_OK): $(WARLOCK_OUT) $(WLCMD_DIR)/usb_ia.wlcmd warlock_ddi.files
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein $(WARLOCK) -c $(WLCMD_DIR)/usb_ia.wlcmd $(WARLOCK_OUT) \
3b9d9ad58b2d85a10960819f5c7a4606b33e9ab2Evan Huntwarlock_with_usba: $(WLCMD_DIR)/usb_ia_with_usba.wlcmd $(WARLOCK_OUT) \
3b9d9ad58b2d85a10960819f5c7a4606b33e9ab2Evan Hunt usba_files ohci_files ehci_files uhci_files warlock_ddi.files
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein $(WARLOCK) -c $(WLCMD_DIR)/usb_ia_with_usba.wlcmd \