Makefile revision 4de2612967d06c4fdbf524a62556a1e8118a006f
4de2612967d06c4fdbf524a62556a1e8118a006fxs#
4de2612967d06c4fdbf524a62556a1e8118a006fxs# CDDL HEADER START
4de2612967d06c4fdbf524a62556a1e8118a006fxs#
4de2612967d06c4fdbf524a62556a1e8118a006fxs# The contents of this file are subject to the terms of the
4de2612967d06c4fdbf524a62556a1e8118a006fxs# Common Development and Distribution License, Version 1.0 only
4de2612967d06c4fdbf524a62556a1e8118a006fxs# (the "License"). You may not use this file except in compliance
4de2612967d06c4fdbf524a62556a1e8118a006fxs# 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
4de2612967d06c4fdbf524a62556a1e8118a006fxs# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
4de2612967d06c4fdbf524a62556a1e8118a006fxs# Use is subject to license terms.
4de2612967d06c4fdbf524a62556a1e8118a006fxs#
4de2612967d06c4fdbf524a62556a1e8118a006fxs#pragma 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
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