Makefile revision bf56214c0556fa6864189c826d39dbe156bb22a0
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
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# information: Portions Copyright [yyyy] [name of copyright owner]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# CDDL HEADER END
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# Use is subject to license terms.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein#ident "%Z%%M% %I% %E% SMI"
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# This makefile drives the production of the Prolific USB Serial
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User# Adapter driver.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# Path to the base of the uts directory tree (usually /usr/src/uts).
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# Define the module and object file sets.
af40ebed6257e4ac1996144530b3de317cf4da11Tinderbox User# Include common rules.
af40ebed6257e4ac1996144530b3de317cf4da11Tinderbox User# lint pass one enforcement
af40ebed6257e4ac1996144530b3de317cf4da11Tinderbox User# Define targets
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# For now, disable these lint checks; maintainers should endeavor
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt# to investigate and remove these for maximum lint coverage.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# Please do not carry these forward to new Makefiles.
2b4d1b54f6ca406b8233d9e6fea9593df6dad035Tinderbox User# Include common targets.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# Defines for local commands.
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox UserUSBSER_FILES = $(USBSER_OBJS:%.o=../usbser/%.ll)
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User$(WARLOCK_OK): warlock_with_usbser warlock_with_usba
44d0f0256fbdce130a18655023c3b06bacacbd61Automatic Updater%.ll: $(UTSBASE)/common/io/usb/clients/usbser/usbsprl/%.c
bbbf2e27d3a981163dab139497d6b2dc85449db0Tinderbox Userwarlock_with_usbser: $(WARLOCK_OUT) usbser_files warlock_ddi.files \
bbbf2e27d3a981163dab139497d6b2dc85449db0Tinderbox User $(WARLOCK) -c $(WARLOCK_CMD) $(WARLOCK_OUT) \
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User $(USBSER_FILES) -l ../warlock/ddi_dki_impl.ll
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox Userwarlock_with_usba: $(WLCMD_DIR)/usbsprl_with_usba.wlcmd $(WARLOCK_OUT) \
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User usbser_files usba_files ohci_files uhci_files ehci_files \
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User $(WARLOCK) -c $(WLCMD_DIR)/usbsprl_with_usba.wlcmd \