Makefile revision bb25c06cca41ca78e5fb87fbb8e81d55beb18c95
a8f1a69ef0da383f9b413c3043a74084e23b75c2mental#
a8f1a69ef0da383f9b413c3043a74084e23b75c2mental# CDDL HEADER START
a8f1a69ef0da383f9b413c3043a74084e23b75c2mental#
a8f1a69ef0da383f9b413c3043a74084e23b75c2mental# The contents of this file are subject to the terms of the
a8f1a69ef0da383f9b413c3043a74084e23b75c2mental# Common Development and Distribution License (the "License").
a8f1a69ef0da383f9b413c3043a74084e23b75c2mental# You may not use this file except in compliance with the License.
a8f1a69ef0da383f9b413c3043a74084e23b75c2mental#
a8f1a69ef0da383f9b413c3043a74084e23b75c2mental# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
a8f1a69ef0da383f9b413c3043a74084e23b75c2mental# or http://www.opensolaris.org/os/licensing.
a8f1a69ef0da383f9b413c3043a74084e23b75c2mental# See the License for the specific language governing permissions
a8f1a69ef0da383f9b413c3043a74084e23b75c2mental# and limitations under the License.
a8f1a69ef0da383f9b413c3043a74084e23b75c2mental#
a8f1a69ef0da383f9b413c3043a74084e23b75c2mental# When distributing Covered Code, include this CDDL HEADER in each
a8f1a69ef0da383f9b413c3043a74084e23b75c2mental# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
a8f1a69ef0da383f9b413c3043a74084e23b75c2mental# If applicable, add the following below this CDDL HEADER, with the
a8f1a69ef0da383f9b413c3043a74084e23b75c2mental# fields enclosed by brackets "[]" replaced with your own identifying
a8f1a69ef0da383f9b413c3043a74084e23b75c2mental# information: Portions Copyright [yyyy] [name of copyright owner]
a8f1a69ef0da383f9b413c3043a74084e23b75c2mental#
a8f1a69ef0da383f9b413c3043a74084e23b75c2mental# CDDL HEADER END
a8f1a69ef0da383f9b413c3043a74084e23b75c2mental#
a8f1a69ef0da383f9b413c3043a74084e23b75c2mental#
a8f1a69ef0da383f9b413c3043a74084e23b75c2mental# uts/intel/ptsl/Makefile
a8f1a69ef0da383f9b413c3043a74084e23b75c2mental#
a8f1a69ef0da383f9b413c3043a74084e23b75c2mental# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
a8f1a69ef0da383f9b413c3043a74084e23b75c2mental# Use is subject to license terms.
a8f1a69ef0da383f9b413c3043a74084e23b75c2mental#
a8f1a69ef0da383f9b413c3043a74084e23b75c2mental#ident "%Z%%M% %I% %E% SMI"
a8f1a69ef0da383f9b413c3043a74084e23b75c2mental#
a8f1a69ef0da383f9b413c3043a74084e23b75c2mental# This makefile drives the production of the ptsl driver
a8f1a69ef0da383f9b413c3043a74084e23b75c2mental#
a8f1a69ef0da383f9b413c3043a74084e23b75c2mental# intel architecture dependent
a8f1a69ef0da383f9b413c3043a74084e23b75c2mental#
a8f1a69ef0da383f9b413c3043a74084e23b75c2mental
a8f1a69ef0da383f9b413c3043a74084e23b75c2mental#
a8f1a69ef0da383f9b413c3043a74084e23b75c2mental# Path to the base of the uts directory tree (usually /usr/src/uts).
a8f1a69ef0da383f9b413c3043a74084e23b75c2mental#
a8f1a69ef0da383f9b413c3043a74084e23b75c2mentalUTSBASE = ../..
a8f1a69ef0da383f9b413c3043a74084e23b75c2mental
a8f1a69ef0da383f9b413c3043a74084e23b75c2mental#
a8f1a69ef0da383f9b413c3043a74084e23b75c2mental# Define the module and object file sets.
a8f1a69ef0da383f9b413c3043a74084e23b75c2mental#
a8f1a69ef0da383f9b413c3043a74084e23b75c2mentalMODULE = ptsl
a8f1a69ef0da383f9b413c3043a74084e23b75c2mentalOBJECTS = $(PTSL_OBJS:%=$(OBJS_DIR)/%)
a8f1a69ef0da383f9b413c3043a74084e23b75c2mentalLINTS = $(PTSL_OBJS:%.o=$(LINTS_DIR)/%.ln)
a8f1a69ef0da383f9b413c3043a74084e23b75c2mentalROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
a8f1a69ef0da383f9b413c3043a74084e23b75c2mentalCONF_SRCDIR = $(UTSBASE)/common/io
a8f1a69ef0da383f9b413c3043a74084e23b75c2mental
a8f1a69ef0da383f9b413c3043a74084e23b75c2mental#
a8f1a69ef0da383f9b413c3043a74084e23b75c2mental# Include common rules.
a8f1a69ef0da383f9b413c3043a74084e23b75c2mental#
a8f1a69ef0da383f9b413c3043a74084e23b75c2mentalinclude $(UTSBASE)/intel/Makefile.intel
a8f1a69ef0da383f9b413c3043a74084e23b75c2mental
a8f1a69ef0da383f9b413c3043a74084e23b75c2mental#
a8f1a69ef0da383f9b413c3043a74084e23b75c2mental# Define targets
a8f1a69ef0da383f9b413c3043a74084e23b75c2mental#
a8f1a69ef0da383f9b413c3043a74084e23b75c2mentalALL_TARGET = $(BINARY) $(SRC_CONFILE)
a8f1a69ef0da383f9b413c3043a74084e23b75c2mentalLINT_TARGET = $(MODULE).lint
a8f1a69ef0da383f9b413c3043a74084e23b75c2mentalINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
a8f1a69ef0da383f9b413c3043a74084e23b75c2mental
a8f1a69ef0da383f9b413c3043a74084e23b75c2mental#
a8f1a69ef0da383f9b413c3043a74084e23b75c2mental# For now, disable these lint checks; maintainers should endeavor
a8f1a69ef0da383f9b413c3043a74084e23b75c2mental# to investigate and remove these for maximum lint coverage.
a8f1a69ef0da383f9b413c3043a74084e23b75c2mental# Please do not carry these forward to new Makefiles.
a8f1a69ef0da383f9b413c3043a74084e23b75c2mental#
a8f1a69ef0da383f9b413c3043a74084e23b75c2mentalLINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
a8f1a69ef0da383f9b413c3043a74084e23b75c2mentalLINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
a8f1a69ef0da383f9b413c3043a74084e23b75c2mental
a8f1a69ef0da383f9b413c3043a74084e23b75c2mental#
a8f1a69ef0da383f9b413c3043a74084e23b75c2mental# Default build targets.
a8f1a69ef0da383f9b413c3043a74084e23b75c2mental#
.KEEP_STATE:
def: $(DEF_DEPS)
all: $(ALL_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