Makefile revision bb25c06cca41ca78e5fb87fbb8e81d55beb18c95
f808c858fa61e7769218966759510a8b1190dfcfraf#
f808c858fa61e7769218966759510a8b1190dfcfraf# CDDL HEADER START
f808c858fa61e7769218966759510a8b1190dfcfraf#
f808c858fa61e7769218966759510a8b1190dfcfraf# The contents of this file are subject to the terms of the
f808c858fa61e7769218966759510a8b1190dfcfraf# Common Development and Distribution License (the "License").
f808c858fa61e7769218966759510a8b1190dfcfraf# You may not use this file except in compliance with the License.
f808c858fa61e7769218966759510a8b1190dfcfraf#
f808c858fa61e7769218966759510a8b1190dfcfraf# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
f808c858fa61e7769218966759510a8b1190dfcfraf# or http://www.opensolaris.org/os/licensing.
f808c858fa61e7769218966759510a8b1190dfcfraf# See the License for the specific language governing permissions
f808c858fa61e7769218966759510a8b1190dfcfraf# and limitations under the License.
f808c858fa61e7769218966759510a8b1190dfcfraf#
f808c858fa61e7769218966759510a8b1190dfcfraf# When distributing Covered Code, include this CDDL HEADER in each
f808c858fa61e7769218966759510a8b1190dfcfraf# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
f808c858fa61e7769218966759510a8b1190dfcfraf# If applicable, add the following below this CDDL HEADER, with the
f808c858fa61e7769218966759510a8b1190dfcfraf# fields enclosed by brackets "[]" replaced with your own identifying
f808c858fa61e7769218966759510a8b1190dfcfraf# information: Portions Copyright [yyyy] [name of copyright owner]
f808c858fa61e7769218966759510a8b1190dfcfraf#
f808c858fa61e7769218966759510a8b1190dfcfraf# CDDL HEADER END
f808c858fa61e7769218966759510a8b1190dfcfraf#
f808c858fa61e7769218966759510a8b1190dfcfraf#
cd3e933325e68e23516a196a8fea7f49b1e497c3Ali Bahrami# uts/intel/telmod/Makefile
f808c858fa61e7769218966759510a8b1190dfcfraf#
bfed486ad8de8b8ebc6345a8e10accae08bf2f45Ali Bahrami# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
bfed486ad8de8b8ebc6345a8e10accae08bf2f45Ali Bahrami# Use is subject to license terms.
bfed486ad8de8b8ebc6345a8e10accae08bf2f45Ali Bahrami#
bfed486ad8de8b8ebc6345a8e10accae08bf2f45Ali Bahrami#ident "%Z%%M% %I% %E% SMI"
bfed486ad8de8b8ebc6345a8e10accae08bf2f45Ali Bahrami#
bfed486ad8de8b8ebc6345a8e10accae08bf2f45Ali Bahrami# This makefile drives the production of the telmod streams kernel
bfed486ad8de8b8ebc6345a8e10accae08bf2f45Ali Bahrami# module.
bfed486ad8de8b8ebc6345a8e10accae08bf2f45Ali Bahrami#
bfed486ad8de8b8ebc6345a8e10accae08bf2f45Ali Bahrami# intel architecture dependent
bfed486ad8de8b8ebc6345a8e10accae08bf2f45Ali Bahrami#
bfed486ad8de8b8ebc6345a8e10accae08bf2f45Ali Bahrami
bfed486ad8de8b8ebc6345a8e10accae08bf2f45Ali Bahrami#
bfed486ad8de8b8ebc6345a8e10accae08bf2f45Ali Bahrami# Path to the base of the uts directory tree (usually /usr/src/uts).
f808c858fa61e7769218966759510a8b1190dfcfraf#
f808c858fa61e7769218966759510a8b1190dfcfrafUTSBASE = ../..
cd3e933325e68e23516a196a8fea7f49b1e497c3Ali Bahrami
cd3e933325e68e23516a196a8fea7f49b1e497c3Ali Bahrami#
f808c858fa61e7769218966759510a8b1190dfcfraf# Define the module and object file sets.
f808c858fa61e7769218966759510a8b1190dfcfraf#
f808c858fa61e7769218966759510a8b1190dfcfrafMODULE = telmod
f808c858fa61e7769218966759510a8b1190dfcfrafOBJECTS = $(TELMOD_OBJS:%=$(OBJS_DIR)/%)
f808c858fa61e7769218966759510a8b1190dfcfrafLINTS = $(TELMOD_OBJS:%.o=$(LINTS_DIR)/%.ln)
f808c858fa61e7769218966759510a8b1190dfcfrafROOTMODULE = $(USR_STRMOD_DIR)/$(MODULE)
f808c858fa61e7769218966759510a8b1190dfcfraf
f808c858fa61e7769218966759510a8b1190dfcfraf#
f808c858fa61e7769218966759510a8b1190dfcfraf# Include common rules.
f808c858fa61e7769218966759510a8b1190dfcfraf#
cd3e933325e68e23516a196a8fea7f49b1e497c3Ali Bahramiinclude $(UTSBASE)/intel/Makefile.intel
f808c858fa61e7769218966759510a8b1190dfcfraf
f808c858fa61e7769218966759510a8b1190dfcfraf#
f808c858fa61e7769218966759510a8b1190dfcfraf# Define targets
f808c858fa61e7769218966759510a8b1190dfcfraf#
f808c858fa61e7769218966759510a8b1190dfcfrafALL_TARGET = $(BINARY)
f808c858fa61e7769218966759510a8b1190dfcfrafLINT_TARGET = $(MODULE).lint
f808c858fa61e7769218966759510a8b1190dfcfrafINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
cd3e933325e68e23516a196a8fea7f49b1e497c3Ali Bahrami
f808c858fa61e7769218966759510a8b1190dfcfraf#
f808c858fa61e7769218966759510a8b1190dfcfraf# For now, disable these lint checks; maintainers should endeavor
f808c858fa61e7769218966759510a8b1190dfcfraf# to investigate and remove these for maximum lint coverage.
f808c858fa61e7769218966759510a8b1190dfcfraf# Please do not carry these forward to new Makefiles.
f808c858fa61e7769218966759510a8b1190dfcfraf#
fa03b00a436afdcf824024c08b7a443559cb6ebfjbeckLINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
f808c858fa61e7769218966759510a8b1190dfcfrafLINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
f808c858fa61e7769218966759510a8b1190dfcfraf
f808c858fa61e7769218966759510a8b1190dfcfraf#
f808c858fa61e7769218966759510a8b1190dfcfraf# Default build targets.
f808c858fa61e7769218966759510a8b1190dfcfraf#
f808c858fa61e7769218966759510a8b1190dfcfraf.KEEP_STATE:
f808c858fa61e7769218966759510a8b1190dfcfraf
f808c858fa61e7769218966759510a8b1190dfcfrafdef: $(DEF_DEPS)
f808c858fa61e7769218966759510a8b1190dfcfraf
f808c858fa61e7769218966759510a8b1190dfcfrafall: $(ALL_DEPS)
f808c858fa61e7769218966759510a8b1190dfcfraf
f808c858fa61e7769218966759510a8b1190dfcfrafclean: $(CLEAN_DEPS)
fa03b00a436afdcf824024c08b7a443559cb6ebfjbeck
f808c858fa61e7769218966759510a8b1190dfcfrafclobber: $(CLOBBER_DEPS)
f808c858fa61e7769218966759510a8b1190dfcfraf
f808c858fa61e7769218966759510a8b1190dfcfraflint: $(LINT_DEPS)
cd3e933325e68e23516a196a8fea7f49b1e497c3Ali Bahrami
f808c858fa61e7769218966759510a8b1190dfcfrafmodlintlib: $(MODLINTLIB_DEPS)
f808c858fa61e7769218966759510a8b1190dfcfraf
f808c858fa61e7769218966759510a8b1190dfcfrafclean.lint: $(CLEAN_LINT_DEPS)
f808c858fa61e7769218966759510a8b1190dfcfraf
f808c858fa61e7769218966759510a8b1190dfcfrafinstall: $(INSTALL_DEPS)
f808c858fa61e7769218966759510a8b1190dfcfraf
f808c858fa61e7769218966759510a8b1190dfcfraf#
f808c858fa61e7769218966759510a8b1190dfcfraf# Include common targets.
f808c858fa61e7769218966759510a8b1190dfcfraf#
f808c858fa61e7769218966759510a8b1190dfcfrafinclude $(UTSBASE)/intel/Makefile.targ
f808c858fa61e7769218966759510a8b1190dfcfraf