Makefile revision 4ebb14b236958cfe1ef4ff3b7a50216d9e51f997
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# CDDL HEADER START
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# 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.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# See the License for the specific language governing permissions
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# and limitations under the License.
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User# When distributing Covered Code, include this CDDL HEADER in each
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# If applicable, add the following below this CDDL HEADER, with the
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# fields enclosed by brackets "[]" replaced with your own identifying
cd32f419a8a5432fbb139f56ee73cbf68b9350ccTinderbox User# information: Portions Copyright [yyyy] [name of copyright owner]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# CDDL HEADER END
cd32f419a8a5432fbb139f56ee73cbf68b9350ccTinderbox User# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# Use is subject to license terms.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein#ident "%Z%%M% %I% %E% SMI"
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# This makefile drives the production of the usbprn kernel driver.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# sparc architecture dependent
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User# Path to the base of the uts directory tree (usually /usr/src/uts).
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User# Define the module and object file sets.
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt# Include common rules.
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt# lint pass one enforcement
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User# Define targets
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User# For now, disable these lint checks; maintainers should endeavor
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User# to investigate and remove these for maximum lint coverage.
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt# Please do not carry these forward to new Makefiles.
363b21045b718d06d414784c96193dc9a233e8c5Tinderbox User# Include common targets.
33c9436ef1a43d3c0fc3d9be9b4b0509daa83223Tinderbox User# Defines for local commands.
33c9436ef1a43d3c0fc3d9be9b4b0509daa83223Tinderbox User# lock_lint rules
8a48b6b9b6fa8486f24b22d1972b2b6ebb36a4a4Tinderbox User cd $(WLCMD_DIR); $(TEST) -f $@ || $(SCCS) get $@
8a48b6b9b6fa8486f24b22d1972b2b6ebb36a4a4Tinderbox User$(WARLOCK_OK): $(WARLOCK_OUT) usbprn.wlcmd warlock_ddi.files
8a48b6b9b6fa8486f24b22d1972b2b6ebb36a4a4Tinderbox User $(WARLOCK) -c $(WLCMD_DIR)/usbprn.wlcmd $(WARLOCK_OUT) \
3ca1a32241189d1e02e59f6b56399eb9b40f2aafTinderbox User%.ll: $(UTSBASE)/common/io/usb/clients/printer/%.c \
3ca1a32241189d1e02e59f6b56399eb9b40f2aafTinderbox User $(UTSBASE)/common/sys/usb/clients/printer/usbprn.h
8a48b6b9b6fa8486f24b22d1972b2b6ebb36a4a4Tinderbox Userwarlock_with_usba: usbprn_with_usba.wlcmd $(WARLOCK_OUT) usba_files \
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User ohci_files ehci_files uhci_files warlock_ddi.files
8a48b6b9b6fa8486f24b22d1972b2b6ebb36a4a4Tinderbox User $(WARLOCK) -c $(WLCMD_DIR)/usbprn_with_usba.wlcmd \