Makefile revision 4ebb14b236958cfe1ef4ff3b7a50216d9e51f997
a31148363f598def767ac48c5d82e1572e44b935Gerry Liu# CDDL HEADER START
a31148363f598def767ac48c5d82e1572e44b935Gerry Liu# The contents of this file are subject to the terms of the
a31148363f598def767ac48c5d82e1572e44b935Gerry Liu# Common Development and Distribution License (the "License").
a31148363f598def767ac48c5d82e1572e44b935Gerry Liu# You may not use this file except in compliance with the License.
a31148363f598def767ac48c5d82e1572e44b935Gerry Liu# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
a31148363f598def767ac48c5d82e1572e44b935Gerry Liu# See the License for the specific language governing permissions
a31148363f598def767ac48c5d82e1572e44b935Gerry Liu# and limitations under the License.
a31148363f598def767ac48c5d82e1572e44b935Gerry Liu# When distributing Covered Code, include this CDDL HEADER in each
a31148363f598def767ac48c5d82e1572e44b935Gerry Liu# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
a31148363f598def767ac48c5d82e1572e44b935Gerry Liu# If applicable, add the following below this CDDL HEADER, with the
a31148363f598def767ac48c5d82e1572e44b935Gerry Liu# fields enclosed by brackets "[]" replaced with your own identifying
a31148363f598def767ac48c5d82e1572e44b935Gerry Liu# information: Portions Copyright [yyyy] [name of copyright owner]
a31148363f598def767ac48c5d82e1572e44b935Gerry Liu# CDDL HEADER END
a31148363f598def767ac48c5d82e1572e44b935Gerry Liu# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
a31148363f598def767ac48c5d82e1572e44b935Gerry Liu# Use is subject to license terms.
a31148363f598def767ac48c5d82e1572e44b935Gerry Liu#ident "%Z%%M% %I% %E% SMI"
a31148363f598def767ac48c5d82e1572e44b935Gerry Liu# This makefile drives the production of the Keyspan USB Serial
a31148363f598def767ac48c5d82e1572e44b935Gerry Liu# Adapter driver.
a31148363f598def767ac48c5d82e1572e44b935Gerry Liu# Path to the base of the uts directory tree (usually /usr/src/uts).
a31148363f598def767ac48c5d82e1572e44b935Gerry Liu# Define the module and object file sets.
a31148363f598def767ac48c5d82e1572e44b935Gerry LiuLINTS = $(USBSER_KEYSPAN_OBJS:%.o=$(LINTS_DIR)/%.ln)
a31148363f598def767ac48c5d82e1572e44b935Gerry Liu# Include common rules.
a31148363f598def767ac48c5d82e1572e44b935Gerry Liu# lint pass one enforcement
a31148363f598def767ac48c5d82e1572e44b935Gerry LiuLDFLAGS += -dy -Nmisc/usba -Nmisc/usbser -Nmisc/usbs49_fw
a31148363f598def767ac48c5d82e1572e44b935Gerry Liu# Define targets
a31148363f598def767ac48c5d82e1572e44b935Gerry Liu# For now, disable these lint checks; maintainers should endeavor
a31148363f598def767ac48c5d82e1572e44b935Gerry Liu# to investigate and remove these for maximum lint coverage.
7014882c6a3672fd0e5d60200af8643ae53c5928Richard Lowe# Please do not carry these forward to new Makefiles.
a31148363f598def767ac48c5d82e1572e44b935Gerry Liu# Include common targets.
a31148363f598def767ac48c5d82e1572e44b935Gerry Liu# Defines for local commands.
%.wlcmd:
$(TOUCH) $@
$(WARLOCK_CMD)
$(USBSER_FILES) \