Makefile revision bf56214c0556fa6864189c826d39dbe156bb22a0
c0550b01024b910b8c1468811c0ea663b10b1372Trond Norbye# CDDL HEADER START
c0550b01024b910b8c1468811c0ea663b10b1372Trond Norbye# The contents of this file are subject to the terms of the
59b6a8c0cc6ef741a7180504b3c371e67c2aa338Knut Anders Hatlen# Common Development and Distribution License (the "License").
c0550b01024b910b8c1468811c0ea663b10b1372Trond Norbye# You may not use this file except in compliance with the License.
c0550b01024b910b8c1468811c0ea663b10b1372Trond Norbye# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
c0550b01024b910b8c1468811c0ea663b10b1372Trond Norbye# See the License for the specific language governing permissions
c0550b01024b910b8c1468811c0ea663b10b1372Trond Norbye# and limitations under the License.
c0550b01024b910b8c1468811c0ea663b10b1372Trond Norbye# When distributing Covered Code, include this CDDL HEADER in each
c0550b01024b910b8c1468811c0ea663b10b1372Trond Norbye# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
c0550b01024b910b8c1468811c0ea663b10b1372Trond Norbye# If applicable, add the following below this CDDL HEADER, with the
c0550b01024b910b8c1468811c0ea663b10b1372Trond Norbye# fields enclosed by brackets "[]" replaced with your own identifying
c0550b01024b910b8c1468811c0ea663b10b1372Trond Norbye# information: Portions Copyright [yyyy] [name of copyright owner]
c0550b01024b910b8c1468811c0ea663b10b1372Trond Norbye# CDDL HEADER END
14a41f02433890d19b2f871156271e3388cd0845Jens Elkner# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
14a41f02433890d19b2f871156271e3388cd0845Jens Elkner# Use is subject to license terms.
14a41f02433890d19b2f871156271e3388cd0845Jens Elkner#ident "%Z%%M% %I% %E% SMI"
14a41f02433890d19b2f871156271e3388cd0845Jens Elkner# This makefile drives the production of Abstract Control Model of
59b6a8c0cc6ef741a7180504b3c371e67c2aa338Knut Anders Hatlen# USB Communication Devices Class dirver.
14a41f02433890d19b2f871156271e3388cd0845Jens Elkner# Path to the base of the uts directory tree (usually /usr/src/uts).
c0550b01024b910b8c1468811c0ea663b10b1372Trond Norbye# Define the module and object file sets.
59b6a8c0cc6ef741a7180504b3c371e67c2aa338Knut Anders Hatlen# Include common rules.
59b6a8c0cc6ef741a7180504b3c371e67c2aa338Knut Anders Hatlen# Define targets
59b6a8c0cc6ef741a7180504b3c371e67c2aa338Knut Anders Hatlen# For now, disable these lint checks; maintainers should endeavor
59b6a8c0cc6ef741a7180504b3c371e67c2aa338Knut Anders Hatlen# to investigate and remove these for maximum lint coverage.
14a41f02433890d19b2f871156271e3388cd0845Jens Elkner# Please do not carry these forward to new Makefiles.
59b6a8c0cc6ef741a7180504b3c371e67c2aa338Knut Anders Hatlen# Include common targets.
59b6a8c0cc6ef741a7180504b3c371e67c2aa338Knut Anders Hatlen# Defines for local commands.
59b6a8c0cc6ef741a7180504b3c371e67c2aa338Knut Anders HatlenWARLOCK_CMD = $(WLCMD_DIR)/$(MODULE).wlcmd
59b6a8c0cc6ef741a7180504b3c371e67c2aa338Knut Anders HatlenUSBSER_FILES = $(USBSER_OBJS:%.o=../usbser/%.ll)
59b6a8c0cc6ef741a7180504b3c371e67c2aa338Knut Anders HatlenUHCI_FILES = $(UHCI_OBJS:%.o=../uhci/%.ll)
59b6a8c0cc6ef741a7180504b3c371e67c2aa338Knut Anders HatlenOHCI_FILES = $(OHCI_OBJS:%.o=../ohci/%.ll)
59b6a8c0cc6ef741a7180504b3c371e67c2aa338Knut Anders Hatlen$(WARLOCK_OK): warlock_with_usbser warlock_with_usba
59b6a8c0cc6ef741a7180504b3c371e67c2aa338Knut Anders Hatlen%.ll: $(UTSBASE)/common/io/usb/clients/usbser/usbsacm/%.c
14a41f02433890d19b2f871156271e3388cd0845Jens Elknerwarlock_with_usbser: $(WARLOCK_OUT) usbser_files warlock_ddi.files \
59b6a8c0cc6ef741a7180504b3c371e67c2aa338Knut Anders Hatlenwarlock_with_usba: $(WLCMD_DIR)/usbsacm_with_usba.wlcmd $(WARLOCK_OUT) \
14a41f02433890d19b2f871156271e3388cd0845Jens Elkner usbser_files usba_files ohci_files uhci_files ehci_files \
14a41f02433890d19b2f871156271e3388cd0845Jens Elkner $(WARLOCK) -c $(WLCMD_DIR)/usbsacm_with_usba.wlcmd \