Makefile revision 489b7c4ab76ae8df137fbfcc2214f7baa52883a0
18401a720312d3253374719e5b0c96ab0b9b9eb8Christian Maeder# CDDL HEADER START
18401a720312d3253374719e5b0c96ab0b9b9eb8Christian Maeder# The contents of this file are subject to the terms of the
98890889ffb2e8f6f722b00e265a211f13b5a861Corneliu-Claudiu Prodescu# Common Development and Distribution License (the "License").
18401a720312d3253374719e5b0c96ab0b9b9eb8Christian Maeder# You may not use this file except in compliance with the License.
18401a720312d3253374719e5b0c96ab0b9b9eb8Christian Maeder# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
18401a720312d3253374719e5b0c96ab0b9b9eb8Christian Maeder# or http://www.opensolaris.org/os/licensing.
f3a94a197960e548ecd6520bb768cb0d547457bbChristian Maeder# See the License for the specific language governing permissions
18401a720312d3253374719e5b0c96ab0b9b9eb8Christian Maeder# and limitations under the License.
18401a720312d3253374719e5b0c96ab0b9b9eb8Christian Maeder# When distributing Covered Code, include this CDDL HEADER in each
18401a720312d3253374719e5b0c96ab0b9b9eb8Christian Maeder# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
18401a720312d3253374719e5b0c96ab0b9b9eb8Christian Maeder# If applicable, add the following below this CDDL HEADER, with the
18401a720312d3253374719e5b0c96ab0b9b9eb8Christian Maeder# fields enclosed by brackets "[]" replaced with your own identifying
843d87ca68327b956c435a16c1663e3593630253Christian Maeder# information: Portions Copyright [yyyy] [name of copyright owner]
f78ff42037086a58af7b785eabcda899f5d30de5Christian Maeder# CDDL HEADER END
4fb19f237193a3bd6778f8aee3b6dd8da5856665Christian Maeder# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
4fb19f237193a3bd6778f8aee3b6dd8da5856665Christian Maeder# Use is subject to license terms.
ac19f8695aa1b2d2d1cd1319da2530edd8f46a96Christian Maeder# This makefile drives the production of the Keyspan USB Serial
9e0472be46104307b974fe5079bf5cc9e94a1a96Christian Maeder# Adapter driver.
72b9099aeec0762bae4546db3bc4b48721027bf4Christian Maeder# Path to the base of the uts directory tree (usually /usr/src/uts).
f78ff42037086a58af7b785eabcda899f5d30de5Christian Maeder# Define the module and object file sets.
f78ff42037086a58af7b785eabcda899f5d30de5Christian MaederOBJECTS = $(USBSER_KEYSPAN_OBJS:%=$(OBJS_DIR)/%)
72b9099aeec0762bae4546db3bc4b48721027bf4Christian MaederLINTS = $(USBSER_KEYSPAN_OBJS:%.o=$(LINTS_DIR)/%.ln)
ac19f8695aa1b2d2d1cd1319da2530edd8f46a96Christian MaederWARLOCK_OUT = $(USBSER_KEYSPAN_OBJS:%.o=%.ll)
f78ff42037086a58af7b785eabcda899f5d30de5Christian Maeder# Include common rules.
843d87ca68327b956c435a16c1663e3593630253Christian MaederLDFLAGS += -dy -Nmisc/usba -Nmisc/usbser -Nmisc/usbs49_fw
843d87ca68327b956c435a16c1663e3593630253Christian Maeder# Define targets
TEST = test
$(TOUCH) $@
$(WARLOCK_CMD)
$(USBSER_FILES) \