Makefile revision 489b7c4ab76ae8df137fbfcc2214f7baa52883a0
5cd4555ad444fd391002ae32450572054369fd42Rob Austein# CDDL HEADER START
d4ef65050feac78554addf6e16a06c6e2e0bd331Brian Wellington# The contents of this file are subject to the terms of the
d60212e03fbef1d3dd7f7eb05c0545cc373cb9fcAutomatic Updater# 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
c40265eba0c99708887d68e67901924065ba2514Brian Wellington# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
c40265eba0c99708887d68e67901924065ba2514Brian Wellington# Use is subject to license terms.
c40265eba0c99708887d68e67901924065ba2514Brian Wellington# This makefile drives the production of the Prolific USB Serial
c40265eba0c99708887d68e67901924065ba2514Brian Wellington# Adapter driver.
c40265eba0c99708887d68e67901924065ba2514Brian Wellington# Path to the base of the uts directory tree (usually /usr/src/uts).
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein# Define the module and object file sets.
d60212e03fbef1d3dd7f7eb05c0545cc373cb9fcAutomatic UpdaterLINTS = $(USBSPRL_OBJS:%.o=$(LINTS_DIR)/%.ln)
f5d30e2864e048a42c4dc1134993ae7efdb5d6c3Mark Andrews# Include common rules.
a903095bf4512dae561c7f6fc7854a51bebf334aMark Andrews# Define targets
a903095bf4512dae561c7f6fc7854a51bebf334aMark Andrews# Include common targets.
a903095bf4512dae561c7f6fc7854a51bebf334aMark Andrews# Defines for local commands.
a903095bf4512dae561c7f6fc7854a51bebf334aMark AndrewsUSBSER_FILES = $(USBSER_OBJS:%.o=../usbser/%.ll)
a903095bf4512dae561c7f6fc7854a51bebf334aMark AndrewsUSBA_FILES = $(USBA_WITHOUT_WUSB_OBJS:%.o=../usba/%.ll)
c40265eba0c99708887d68e67901924065ba2514Brian Wellington$(WARLOCK_OK): warlock_with_usba warlock_with_usbser
c40265eba0c99708887d68e67901924065ba2514Brian Wellington%.ll: $(UTSBASE)/common/io/usb/clients/usbser/usbsprl/%.c
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austeinwarlock_with_usbser: $(WARLOCK_OUT) usbser_files warlock_ddi.files \
a903095bf4512dae561c7f6fc7854a51bebf334aMark Andrewswarlock_with_usba: $(WARLOCK_OUT) usbser_files \
a903095bf4512dae561c7f6fc7854a51bebf334aMark Andrews $(WLCMD_DIR)/usbsprl_with_usba.wlcmd usba_files ohci_files uhci_files \
a903095bf4512dae561c7f6fc7854a51bebf334aMark Andrews $(WARLOCK) -c $(WLCMD_DIR)/usbsprl_with_usba.wlcmd \