Makefile revision bf56214c0556fa6864189c826d39dbe156bb22a0
5cd4555ad444fd391002ae32450572054369fd42Rob Austein# CDDL HEADER START
d4ef65050feac78554addf6e16a06c6e2e0bd331Brian Wellington# The contents of this file are subject to the terms of the
5c6b95ba1b2e35f8dd6b0a7f25aacba91fff3aa2Tinderbox User# Common Development and Distribution License (the "License").
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark 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
d4ef65050feac78554addf6e16a06c6e2e0bd331Brian Wellington# or http://www.opensolaris.org/os/licensing.
d4ef65050feac78554addf6e16a06c6e2e0bd331Brian Wellington# See the License for the specific language governing permissions
d4ef65050feac78554addf6e16a06c6e2e0bd331Brian Wellington# 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]
d4ef65050feac78554addf6e16a06c6e2e0bd331Brian Wellington# CDDL HEADER END
b5ad6dfea4cc3e7d1d322ac99f1e5a31096837c4Mark Andrews# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
c40265eba0c99708887d68e67901924065ba2514Brian Wellington# Use is subject to license terms.
c40265eba0c99708887d68e67901924065ba2514Brian Wellington#ident "%Z%%M% %I% %E% SMI"
c40265eba0c99708887d68e67901924065ba2514Brian Wellington# This makefile drives the production of the usbprn kernel driver.
c40265eba0c99708887d68e67901924065ba2514Brian Wellington# sparc architecture dependent
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein# Path to the base of the uts directory tree (usually /usr/src/uts).
c1a883f2e04d94e99c433b1f6cfd0c0338f4ed85Mark Andrews# Define the module and object file sets.
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein# Include common rules.
c40265eba0c99708887d68e67901924065ba2514Brian Wellington# lint pass one enforcement
c40265eba0c99708887d68e67901924065ba2514Brian Wellington# Define targets
a903095bf4512dae561c7f6fc7854a51bebf334aMark Andrews# For now, disable these lint checks; maintainers should endeavor
578e3196076b409c509c6c0a0873e7bfe54f4d61Evan Hunt# to investigate and remove these for maximum lint coverage.
c5223c9cb7c22620d5ee6611228673e95b48a270Mark Andrews# Please do not carry these forward to new Makefiles.
a903095bf4512dae561c7f6fc7854a51bebf334aMark Andrews# Include common targets.
a903095bf4512dae561c7f6fc7854a51bebf334aMark Andrews# Defines for local commands.
d0aebc5a55b6145297d94f8aee939852357c59fcMark Andrews# lock_lint rules
c40265eba0c99708887d68e67901924065ba2514Brian Wellington$(WARLOCK_OK): $(WARLOCK_OUT) $(WLCMD_DIR)/usbprn.wlcmd warlock_ddi.files
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein $(WARLOCK) -c $(WLCMD_DIR)/usbprn.wlcmd $(WARLOCK_OUT) \
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein%.ll: $(UTSBASE)/common/io/usb/clients/printer/%.c \
c40265eba0c99708887d68e67901924065ba2514Brian Wellington $(UTSBASE)/common/sys/usb/clients/printer/usbprn.h
a903095bf4512dae561c7f6fc7854a51bebf334aMark Andrewswarlock_with_usba: $(WLCMD_DIR)/usbprn_with_usba.wlcmd $(WARLOCK_OUT) \
a903095bf4512dae561c7f6fc7854a51bebf334aMark Andrews usba_files ohci_files ehci_files uhci_files warlock_ddi.files
a903095bf4512dae561c7f6fc7854a51bebf334aMark Andrews $(WARLOCK) -c $(WLCMD_DIR)/usbprn_with_usba.wlcmd \