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