Makefile revision 90f050286227cf4c4f8aa425555d04723d331d48
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland# CDDL HEADER START
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland# The contents of this file are subject to the terms of the
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland# Common Development and Distribution License (the "License").
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland# You may not use this file except in compliance with the License.
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland# or http://www.opensolaris.org/os/licensing.
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland# See the License for the specific language governing permissions
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland# and limitations under the License.
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland# When distributing Covered Code, include this CDDL HEADER in each
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland# If applicable, add the following below this CDDL HEADER, with the
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland# fields enclosed by brackets "[]" replaced with your own identifying
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland# information: Portions Copyright [yyyy] [name of copyright owner]
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland# CDDL HEADER END
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland# Use is subject to license terms.
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland#ident "%Z%%M% %I% %E% SMI"
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland# This makefile drives the production of Abstract Control Model of
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland# USB Communication Devices Class dirver.
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland# Path to the base of the uts directory tree (usually /usr/src/uts).
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland# Define the module and object file sets.
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah WaterlandLINTS = $(USBSACM_OBJS:%.o=$(LINTS_DIR)/%.ln)
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland# Include common rules.
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland# Define targets
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland# For now, disable these lint checks; maintainers should endeavor
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland# to investigate and remove these for maximum lint coverage.
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland# Please do not carry these forward to new Makefiles.
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland# Include common targets.
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland# Defines for local commands.
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah WaterlandUSBSER_FILES = $(USBSER_OBJS:%.o=../usbser/%.ll)
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland cd $(WLCMD_DIR); $(TEST) -f $@ || $(SCCS) get $@
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland$(WARLOCK_OK): warlock_with_usbser warlock_with_usba
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland%.ll: $(UTSBASE)/common/io/usb/clients/usbser/usbsacm/%.c
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterlandwarlock_with_usbser: $(WARLOCK_OUT) usbser_files warlock_ddi.files \
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland $(WARLOCK) -c $(WLCMD_DIR)/$(WARLOCK_CMD) $(WARLOCK_OUT) \
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland $(USBSER_FILES) -l ../warlock/ddi_dki_impl.ll
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterlandwarlock_with_usba: usbsacm_with_usba.wlcmd $(WARLOCK_OUT) usbser_files \
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland usba_files ohci_files uhci_files ehci_files warlock_ddi.files
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland $(WARLOCK) -c $(WLCMD_DIR)/usbsacm_with_usba.wlcmd \
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland $(USBA_FILES) $(OHCI_FILES) $(EHCI_FILES) $(UHCI_FILES) \