Makefile revision bb25c06cca41ca78e5fb87fbb8e81d55beb18c95
4de2612967d06c4fdbf524a62556a1e8118a006fxs#
4de2612967d06c4fdbf524a62556a1e8118a006fxs# CDDL HEADER START
4de2612967d06c4fdbf524a62556a1e8118a006fxs#
4de2612967d06c4fdbf524a62556a1e8118a006fxs# The contents of this file are subject to the terms of the
bb25c06cca41ca78e5fb87fbb8e81d55beb18c95jg# Common Development and Distribution License (the "License").
bb25c06cca41ca78e5fb87fbb8e81d55beb18c95jg# You may not use this file except in compliance with the License.
4de2612967d06c4fdbf524a62556a1e8118a006fxs#
4de2612967d06c4fdbf524a62556a1e8118a006fxs# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
4de2612967d06c4fdbf524a62556a1e8118a006fxs# or http://www.opensolaris.org/os/licensing.
4de2612967d06c4fdbf524a62556a1e8118a006fxs# See the License for the specific language governing permissions
4de2612967d06c4fdbf524a62556a1e8118a006fxs# and limitations under the License.
4de2612967d06c4fdbf524a62556a1e8118a006fxs#
4de2612967d06c4fdbf524a62556a1e8118a006fxs# When distributing Covered Code, include this CDDL HEADER in each
4de2612967d06c4fdbf524a62556a1e8118a006fxs# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
4de2612967d06c4fdbf524a62556a1e8118a006fxs# If applicable, add the following below this CDDL HEADER, with the
4de2612967d06c4fdbf524a62556a1e8118a006fxs# fields enclosed by brackets "[]" replaced with your own identifying
4de2612967d06c4fdbf524a62556a1e8118a006fxs# information: Portions Copyright [yyyy] [name of copyright owner]
4de2612967d06c4fdbf524a62556a1e8118a006fxs#
4de2612967d06c4fdbf524a62556a1e8118a006fxs# CDDL HEADER END
4de2612967d06c4fdbf524a62556a1e8118a006fxs#
4de2612967d06c4fdbf524a62556a1e8118a006fxs#
4de2612967d06c4fdbf524a62556a1e8118a006fxs# uts/intel/usbsprl/Makefile
bb25c06cca41ca78e5fb87fbb8e81d55beb18c95jg# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
4de2612967d06c4fdbf524a62556a1e8118a006fxs# Use is subject to license terms.
4de2612967d06c4fdbf524a62556a1e8118a006fxs#
bb25c06cca41ca78e5fb87fbb8e81d55beb18c95jg#ident "%Z%%M% %I% %E% SMI"
4de2612967d06c4fdbf524a62556a1e8118a006fxs#
4de2612967d06c4fdbf524a62556a1e8118a006fxs# This makefile drives the production of the PL2303 USB Serial
4de2612967d06c4fdbf524a62556a1e8118a006fxs# Adapter driver.
4de2612967d06c4fdbf524a62556a1e8118a006fxs#
4de2612967d06c4fdbf524a62556a1e8118a006fxs# Path to the base of the uts directory tree (usually /usr/src/uts).
4de2612967d06c4fdbf524a62556a1e8118a006fxs#
4de2612967d06c4fdbf524a62556a1e8118a006fxsUTSBASE = ../..
4de2612967d06c4fdbf524a62556a1e8118a006fxs
4de2612967d06c4fdbf524a62556a1e8118a006fxs#
4de2612967d06c4fdbf524a62556a1e8118a006fxs# Define the module and object file sets.
4de2612967d06c4fdbf524a62556a1e8118a006fxs#
4de2612967d06c4fdbf524a62556a1e8118a006fxsMODULE = usbsprl
4de2612967d06c4fdbf524a62556a1e8118a006fxsOBJECTS = $(USBSPRL_OBJS:%=$(OBJS_DIR)/%)
4de2612967d06c4fdbf524a62556a1e8118a006fxsLINTS = $(USBSPRL_OBJS:%.o=$(LINTS_DIR)/%.ln)
4de2612967d06c4fdbf524a62556a1e8118a006fxsROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
4de2612967d06c4fdbf524a62556a1e8118a006fxs
4de2612967d06c4fdbf524a62556a1e8118a006fxs#
4de2612967d06c4fdbf524a62556a1e8118a006fxs# Include common rules.
4de2612967d06c4fdbf524a62556a1e8118a006fxs#
4de2612967d06c4fdbf524a62556a1e8118a006fxsinclude $(UTSBASE)/intel/Makefile.intel
4de2612967d06c4fdbf524a62556a1e8118a006fxs
4de2612967d06c4fdbf524a62556a1e8118a006fxsLDFLAGS += -dy -Nmisc/usba -Nmisc/usbser
4de2612967d06c4fdbf524a62556a1e8118a006fxs
4de2612967d06c4fdbf524a62556a1e8118a006fxs#
4de2612967d06c4fdbf524a62556a1e8118a006fxs# Define targets
4de2612967d06c4fdbf524a62556a1e8118a006fxs#
4de2612967d06c4fdbf524a62556a1e8118a006fxsALL_TARGET = $(BINARY)
4de2612967d06c4fdbf524a62556a1e8118a006fxsLINT_TARGET = $(MODULE).lint
4de2612967d06c4fdbf524a62556a1e8118a006fxsINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
4de2612967d06c4fdbf524a62556a1e8118a006fxs
bb25c06cca41ca78e5fb87fbb8e81d55beb18c95jg#
bb25c06cca41ca78e5fb87fbb8e81d55beb18c95jg# For now, disable these lint checks; maintainers should endeavor
bb25c06cca41ca78e5fb87fbb8e81d55beb18c95jg# to investigate and remove these for maximum lint coverage.
bb25c06cca41ca78e5fb87fbb8e81d55beb18c95jg# Please do not carry these forward to new Makefiles.
bb25c06cca41ca78e5fb87fbb8e81d55beb18c95jg#
bb25c06cca41ca78e5fb87fbb8e81d55beb18c95jgLINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
bb25c06cca41ca78e5fb87fbb8e81d55beb18c95jg
4de2612967d06c4fdbf524a62556a1e8118a006fxs.KEEP_STATE:
4de2612967d06c4fdbf524a62556a1e8118a006fxs
4de2612967d06c4fdbf524a62556a1e8118a006fxsall: $(ALL_DEPS)
4de2612967d06c4fdbf524a62556a1e8118a006fxs
4de2612967d06c4fdbf524a62556a1e8118a006fxsdef: $(DEF_DEPS)
4de2612967d06c4fdbf524a62556a1e8118a006fxs
4de2612967d06c4fdbf524a62556a1e8118a006fxsclean: $(CLEAN_DEPS)
4de2612967d06c4fdbf524a62556a1e8118a006fxs
4de2612967d06c4fdbf524a62556a1e8118a006fxsclobber: $(CLOBBER_DEPS)
4de2612967d06c4fdbf524a62556a1e8118a006fxs
4de2612967d06c4fdbf524a62556a1e8118a006fxslint: $(LINT_DEPS)
4de2612967d06c4fdbf524a62556a1e8118a006fxs
4de2612967d06c4fdbf524a62556a1e8118a006fxsmodlintlib: $(MODLINTLIB_DEPS)
4de2612967d06c4fdbf524a62556a1e8118a006fxs
4de2612967d06c4fdbf524a62556a1e8118a006fxsclean.lint: $(CLEAN_LINT_DEPS)
4de2612967d06c4fdbf524a62556a1e8118a006fxs
4de2612967d06c4fdbf524a62556a1e8118a006fxsinstall: $(INSTALL_DEPS)
4de2612967d06c4fdbf524a62556a1e8118a006fxs
4de2612967d06c4fdbf524a62556a1e8118a006fxs#
4de2612967d06c4fdbf524a62556a1e8118a006fxs# Include common targets.
4de2612967d06c4fdbf524a62556a1e8118a006fxs#
4de2612967d06c4fdbf524a62556a1e8118a006fxsinclude $(UTSBASE)/intel/Makefile.targ