Makefile revision bb25c06cca41ca78e5fb87fbb8e81d55beb18c95
d73ae94e59c019f5cc3221ee0a0012d02091b40egc#
d73ae94e59c019f5cc3221ee0a0012d02091b40egc# CDDL HEADER START
d73ae94e59c019f5cc3221ee0a0012d02091b40egc#
d73ae94e59c019f5cc3221ee0a0012d02091b40egc# The contents of this file are subject to the terms of the
d73ae94e59c019f5cc3221ee0a0012d02091b40egc# Common Development and Distribution License (the "License").
d73ae94e59c019f5cc3221ee0a0012d02091b40egc# You may not use this file except in compliance with the License.
d73ae94e59c019f5cc3221ee0a0012d02091b40egc#
d73ae94e59c019f5cc3221ee0a0012d02091b40egc# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
d73ae94e59c019f5cc3221ee0a0012d02091b40egc# or http://www.opensolaris.org/os/licensing.
d73ae94e59c019f5cc3221ee0a0012d02091b40egc# See the License for the specific language governing permissions
d73ae94e59c019f5cc3221ee0a0012d02091b40egc# and limitations under the License.
d73ae94e59c019f5cc3221ee0a0012d02091b40egc#
d73ae94e59c019f5cc3221ee0a0012d02091b40egc# When distributing Covered Code, include this CDDL HEADER in each
d73ae94e59c019f5cc3221ee0a0012d02091b40egc# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
d73ae94e59c019f5cc3221ee0a0012d02091b40egc# If applicable, add the following below this CDDL HEADER, with the
d73ae94e59c019f5cc3221ee0a0012d02091b40egc# fields enclosed by brackets "[]" replaced with your own identifying
d73ae94e59c019f5cc3221ee0a0012d02091b40egc# information: Portions Copyright [yyyy] [name of copyright owner]
d73ae94e59c019f5cc3221ee0a0012d02091b40egc#
d73ae94e59c019f5cc3221ee0a0012d02091b40egc# CDDL HEADER END
d73ae94e59c019f5cc3221ee0a0012d02091b40egc#
d73ae94e59c019f5cc3221ee0a0012d02091b40egc#
d73ae94e59c019f5cc3221ee0a0012d02091b40egc# uts/intel/ptsl/Makefile
d73ae94e59c019f5cc3221ee0a0012d02091b40egc#
489b7c4ab76ae8df137fbfcc2214f7baa52883a0Raymond Chen# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
d73ae94e59c019f5cc3221ee0a0012d02091b40egc# Use is subject to license terms.
d73ae94e59c019f5cc3221ee0a0012d02091b40egc#
e2c88f0c2610f16de7b639746b40dea5f3e2256eGarrett D'Amore#ident "%Z%%M% %I% %E% SMI"
e2c88f0c2610f16de7b639746b40dea5f3e2256eGarrett D'Amore#
d73ae94e59c019f5cc3221ee0a0012d02091b40egc# This makefile drives the production of the ptsl driver
d73ae94e59c019f5cc3221ee0a0012d02091b40egc#
d73ae94e59c019f5cc3221ee0a0012d02091b40egc# intel architecture dependent
d73ae94e59c019f5cc3221ee0a0012d02091b40egc#
d73ae94e59c019f5cc3221ee0a0012d02091b40egc
d73ae94e59c019f5cc3221ee0a0012d02091b40egc#
d73ae94e59c019f5cc3221ee0a0012d02091b40egc# Path to the base of the uts directory tree (usually /usr/src/uts).
d73ae94e59c019f5cc3221ee0a0012d02091b40egc#
d73ae94e59c019f5cc3221ee0a0012d02091b40egcUTSBASE = ../..
d73ae94e59c019f5cc3221ee0a0012d02091b40egc
d73ae94e59c019f5cc3221ee0a0012d02091b40egc#
d73ae94e59c019f5cc3221ee0a0012d02091b40egc# Define the module and object file sets.
d73ae94e59c019f5cc3221ee0a0012d02091b40egc#
d73ae94e59c019f5cc3221ee0a0012d02091b40egcMODULE = ptsl
d73ae94e59c019f5cc3221ee0a0012d02091b40egcOBJECTS = $(PTSL_OBJS:%=$(OBJS_DIR)/%)
d73ae94e59c019f5cc3221ee0a0012d02091b40egcLINTS = $(PTSL_OBJS:%.o=$(LINTS_DIR)/%.ln)
d73ae94e59c019f5cc3221ee0a0012d02091b40egcROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
d73ae94e59c019f5cc3221ee0a0012d02091b40egcCONF_SRCDIR = $(UTSBASE)/common/io
d73ae94e59c019f5cc3221ee0a0012d02091b40egc
d73ae94e59c019f5cc3221ee0a0012d02091b40egc#
d73ae94e59c019f5cc3221ee0a0012d02091b40egc# Include common rules.
d73ae94e59c019f5cc3221ee0a0012d02091b40egc#
d73ae94e59c019f5cc3221ee0a0012d02091b40egcinclude $(UTSBASE)/intel/Makefile.intel
d73ae94e59c019f5cc3221ee0a0012d02091b40egc
d73ae94e59c019f5cc3221ee0a0012d02091b40egc#
d73ae94e59c019f5cc3221ee0a0012d02091b40egc# Define targets
d73ae94e59c019f5cc3221ee0a0012d02091b40egc#
d73ae94e59c019f5cc3221ee0a0012d02091b40egcALL_TARGET = $(BINARY) $(SRC_CONFILE)
d73ae94e59c019f5cc3221ee0a0012d02091b40egcLINT_TARGET = $(MODULE).lint
d73ae94e59c019f5cc3221ee0a0012d02091b40egcINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
d73ae94e59c019f5cc3221ee0a0012d02091b40egc
d73ae94e59c019f5cc3221ee0a0012d02091b40egc#
d73ae94e59c019f5cc3221ee0a0012d02091b40egc# For now, disable these lint checks; maintainers should endeavor
d73ae94e59c019f5cc3221ee0a0012d02091b40egc# to investigate and remove these for maximum lint coverage.
d73ae94e59c019f5cc3221ee0a0012d02091b40egc# Please do not carry these forward to new Makefiles.
d73ae94e59c019f5cc3221ee0a0012d02091b40egc#
d73ae94e59c019f5cc3221ee0a0012d02091b40egcLINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
d73ae94e59c019f5cc3221ee0a0012d02091b40egcLINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
d73ae94e59c019f5cc3221ee0a0012d02091b40egc
d73ae94e59c019f5cc3221ee0a0012d02091b40egc#
d73ae94e59c019f5cc3221ee0a0012d02091b40egc# Default build targets.
d73ae94e59c019f5cc3221ee0a0012d02091b40egc#
d73ae94e59c019f5cc3221ee0a0012d02091b40egc.KEEP_STATE:
d73ae94e59c019f5cc3221ee0a0012d02091b40egc
d73ae94e59c019f5cc3221ee0a0012d02091b40egcdef: $(DEF_DEPS)
d73ae94e59c019f5cc3221ee0a0012d02091b40egc
d73ae94e59c019f5cc3221ee0a0012d02091b40egcall: $(ALL_DEPS)
d73ae94e59c019f5cc3221ee0a0012d02091b40egc
d73ae94e59c019f5cc3221ee0a0012d02091b40egcclean: $(CLEAN_DEPS)
d73ae94e59c019f5cc3221ee0a0012d02091b40egc
d73ae94e59c019f5cc3221ee0a0012d02091b40egcclobber: $(CLOBBER_DEPS)
d73ae94e59c019f5cc3221ee0a0012d02091b40egc
d73ae94e59c019f5cc3221ee0a0012d02091b40egclint: $(LINT_DEPS)
d73ae94e59c019f5cc3221ee0a0012d02091b40egc
d73ae94e59c019f5cc3221ee0a0012d02091b40egcmodlintlib: $(MODLINTLIB_DEPS)
d73ae94e59c019f5cc3221ee0a0012d02091b40egc
d73ae94e59c019f5cc3221ee0a0012d02091b40egcclean.lint: $(CLEAN_LINT_DEPS)
d73ae94e59c019f5cc3221ee0a0012d02091b40egc
d73ae94e59c019f5cc3221ee0a0012d02091b40egcinstall: $(INSTALL_DEPS)
d73ae94e59c019f5cc3221ee0a0012d02091b40egc
d73ae94e59c019f5cc3221ee0a0012d02091b40egc#
d73ae94e59c019f5cc3221ee0a0012d02091b40egc# Include common targets.
d73ae94e59c019f5cc3221ee0a0012d02091b40egc#
d73ae94e59c019f5cc3221ee0a0012d02091b40egcinclude $(UTSBASE)/intel/Makefile.targ
d73ae94e59c019f5cc3221ee0a0012d02091b40egc