Makefile revision bb25c06cca41ca78e5fb87fbb8e81d55beb18c95
85fc7dbf8f928aea2a6fddde85a77950f69284ddvboxsync#
85fc7dbf8f928aea2a6fddde85a77950f69284ddvboxsync# CDDL HEADER START
ecd27a5c936b5767a6c08e21e204f2d4340ec926vboxsync#
85fc7dbf8f928aea2a6fddde85a77950f69284ddvboxsync# The contents of this file are subject to the terms of the
85fc7dbf8f928aea2a6fddde85a77950f69284ddvboxsync# Common Development and Distribution License (the "License").
85fc7dbf8f928aea2a6fddde85a77950f69284ddvboxsync# You may not use this file except in compliance with the License.
85fc7dbf8f928aea2a6fddde85a77950f69284ddvboxsync#
85fc7dbf8f928aea2a6fddde85a77950f69284ddvboxsync# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
85fc7dbf8f928aea2a6fddde85a77950f69284ddvboxsync# or http://www.opensolaris.org/os/licensing.
85fc7dbf8f928aea2a6fddde85a77950f69284ddvboxsync# See the License for the specific language governing permissions
85fc7dbf8f928aea2a6fddde85a77950f69284ddvboxsync# and limitations under the License.
85fc7dbf8f928aea2a6fddde85a77950f69284ddvboxsync#
85fc7dbf8f928aea2a6fddde85a77950f69284ddvboxsync# When distributing Covered Code, include this CDDL HEADER in each
85fc7dbf8f928aea2a6fddde85a77950f69284ddvboxsync# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
85fc7dbf8f928aea2a6fddde85a77950f69284ddvboxsync# If applicable, add the following below this CDDL HEADER, with the
85fc7dbf8f928aea2a6fddde85a77950f69284ddvboxsync# fields enclosed by brackets "[]" replaced with your own identifying
85fc7dbf8f928aea2a6fddde85a77950f69284ddvboxsync# information: Portions Copyright [yyyy] [name of copyright owner]
85fc7dbf8f928aea2a6fddde85a77950f69284ddvboxsync#
85fc7dbf8f928aea2a6fddde85a77950f69284ddvboxsync# CDDL HEADER END
85fc7dbf8f928aea2a6fddde85a77950f69284ddvboxsync#
85fc7dbf8f928aea2a6fddde85a77950f69284ddvboxsync#
85fc7dbf8f928aea2a6fddde85a77950f69284ddvboxsync#
85fc7dbf8f928aea2a6fddde85a77950f69284ddvboxsync# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
85fc7dbf8f928aea2a6fddde85a77950f69284ddvboxsync# Use is subject to license terms.
85fc7dbf8f928aea2a6fddde85a77950f69284ddvboxsync#
85fc7dbf8f928aea2a6fddde85a77950f69284ddvboxsync# uts/intel/usbsksp/Makefile
85fc7dbf8f928aea2a6fddde85a77950f69284ddvboxsync
85fc7dbf8f928aea2a6fddde85a77950f69284ddvboxsync#ident "%Z%%M% %I% %E% SMI"
85fc7dbf8f928aea2a6fddde85a77950f69284ddvboxsync#
85fc7dbf8f928aea2a6fddde85a77950f69284ddvboxsync# This makefile drives the production of the Keyspan USB Serial
85fc7dbf8f928aea2a6fddde85a77950f69284ddvboxsync# Adapter driver.
85fc7dbf8f928aea2a6fddde85a77950f69284ddvboxsync#
85fc7dbf8f928aea2a6fddde85a77950f69284ddvboxsync# Path to the base of the uts directory tree (usually /usr/src/uts).
85fc7dbf8f928aea2a6fddde85a77950f69284ddvboxsync#
85fc7dbf8f928aea2a6fddde85a77950f69284ddvboxsyncUTSBASE = ../..
85fc7dbf8f928aea2a6fddde85a77950f69284ddvboxsync
85fc7dbf8f928aea2a6fddde85a77950f69284ddvboxsync#
85fc7dbf8f928aea2a6fddde85a77950f69284ddvboxsync# Define the module and object file sets.
85fc7dbf8f928aea2a6fddde85a77950f69284ddvboxsync#
85fc7dbf8f928aea2a6fddde85a77950f69284ddvboxsyncMODULE = usbsksp
85fc7dbf8f928aea2a6fddde85a77950f69284ddvboxsyncOBJECTS = $(USBSER_KEYSPAN_OBJS:%=$(OBJS_DIR)/%)
85fc7dbf8f928aea2a6fddde85a77950f69284ddvboxsyncLINTS = $(USBSER_KEYSPAN_OBJS:%.o=$(LINTS_DIR)/%.ln)
85fc7dbf8f928aea2a6fddde85a77950f69284ddvboxsyncROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
85fc7dbf8f928aea2a6fddde85a77950f69284ddvboxsync
85fc7dbf8f928aea2a6fddde85a77950f69284ddvboxsync#
85fc7dbf8f928aea2a6fddde85a77950f69284ddvboxsync# Include common rules.
85fc7dbf8f928aea2a6fddde85a77950f69284ddvboxsync#
85fc7dbf8f928aea2a6fddde85a77950f69284ddvboxsyncinclude $(UTSBASE)/intel/Makefile.intel
85fc7dbf8f928aea2a6fddde85a77950f69284ddvboxsync
85fc7dbf8f928aea2a6fddde85a77950f69284ddvboxsyncLDFLAGS += -dy -Nmisc/usba -Nmisc/usbser -Nmisc/usbs49_fw
#
# Define targets
#
ALL_TARGET = $(BINARY)
LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
# For now, disable these lint checks; maintainers should endeavor
# to investigate and remove these for maximum lint coverage.
# Please do not carry these forward to new Makefiles.
#
LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
.KEEP_STATE:
all: $(ALL_DEPS)
def: $(DEF_DEPS)
clean: $(CLEAN_DEPS);
clobber: $(CLOBBER_DEPS);
lint: $(LINT_DEPS)
modlintlib: $(MODLINTLIB_DEPS)
clean.lint: $(CLEAN_LINT_DEPS)
install: $(INSTALL_DEPS)
#
# Include common targets.
#
include $(UTSBASE)/intel/Makefile.targ