Makefile revision 7c478bd95313f5f23a4c958a745db2134aa03244
3da473e3e96d2d054331b43519426a9b5f83cf4cBob Halley#
7cc0f69d173a2b67d0fbf03a8ef8926b74739b97Bob Halley# CDDL HEADER START
3da473e3e96d2d054331b43519426a9b5f83cf4cBob Halley#
3da473e3e96d2d054331b43519426a9b5f83cf4cBob Halley# The contents of this file are subject to the terms of the
3da473e3e96d2d054331b43519426a9b5f83cf4cBob Halley# Common Development and Distribution License, Version 1.0 only
7cc0f69d173a2b67d0fbf03a8ef8926b74739b97Bob Halley# (the "License"). You may not use this file except in compliance
3da473e3e96d2d054331b43519426a9b5f83cf4cBob Halley# with the License.
7cc0f69d173a2b67d0fbf03a8ef8926b74739b97Bob Halley#
3da473e3e96d2d054331b43519426a9b5f83cf4cBob Halley# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
3da473e3e96d2d054331b43519426a9b5f83cf4cBob Halley# or http://www.opensolaris.org/os/licensing.
3da473e3e96d2d054331b43519426a9b5f83cf4cBob Halley# See the License for the specific language governing permissions
3da473e3e96d2d054331b43519426a9b5f83cf4cBob Halley# and limitations under the License.
3da473e3e96d2d054331b43519426a9b5f83cf4cBob Halley#
3da473e3e96d2d054331b43519426a9b5f83cf4cBob Halley# When distributing Covered Code, include this CDDL HEADER in each
3da473e3e96d2d054331b43519426a9b5f83cf4cBob Halley# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
3da473e3e96d2d054331b43519426a9b5f83cf4cBob Halley# If applicable, add the following below this CDDL HEADER, with the
3da473e3e96d2d054331b43519426a9b5f83cf4cBob Halley# fields enclosed by brackets "[]" replaced with your own identifying
3da473e3e96d2d054331b43519426a9b5f83cf4cBob Halley# information: Portions Copyright [yyyy] [name of copyright owner]
3da473e3e96d2d054331b43519426a9b5f83cf4cBob Halley#
3da473e3e96d2d054331b43519426a9b5f83cf4cBob Halley# CDDL HEADER END
3da473e3e96d2d054331b43519426a9b5f83cf4cBob Halley#
3da473e3e96d2d054331b43519426a9b5f83cf4cBob Halley#
3da473e3e96d2d054331b43519426a9b5f83cf4cBob Halley# uts/intel/pm/Makefile
3da473e3e96d2d054331b43519426a9b5f83cf4cBob Halley#
3da473e3e96d2d054331b43519426a9b5f83cf4cBob Halley# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
7cc0f69d173a2b67d0fbf03a8ef8926b74739b97Bob Halley# Use is subject to license terms.
3da473e3e96d2d054331b43519426a9b5f83cf4cBob Halley#
3da473e3e96d2d054331b43519426a9b5f83cf4cBob Halley#pragma ident "%Z%%M% %I% %E% SMI"
3da473e3e96d2d054331b43519426a9b5f83cf4cBob Halley#
3da473e3e96d2d054331b43519426a9b5f83cf4cBob Halley# This makefile drives the production of the pm driver
3da473e3e96d2d054331b43519426a9b5f83cf4cBob Halley#
3da473e3e96d2d054331b43519426a9b5f83cf4cBob Halley# intel architecture dependent
3da473e3e96d2d054331b43519426a9b5f83cf4cBob Halley#
3da473e3e96d2d054331b43519426a9b5f83cf4cBob Halley
3da473e3e96d2d054331b43519426a9b5f83cf4cBob Halley#
3da473e3e96d2d054331b43519426a9b5f83cf4cBob Halley# Path to the base of the uts directory tree (usually /usr/src/uts).
3da473e3e96d2d054331b43519426a9b5f83cf4cBob Halley#
3da473e3e96d2d054331b43519426a9b5f83cf4cBob HalleyUTSBASE = ../..
3da473e3e96d2d054331b43519426a9b5f83cf4cBob Halley
3da473e3e96d2d054331b43519426a9b5f83cf4cBob Halley#
3da473e3e96d2d054331b43519426a9b5f83cf4cBob Halley# Define the module and object file sets.
3da473e3e96d2d054331b43519426a9b5f83cf4cBob Halley#
3da473e3e96d2d054331b43519426a9b5f83cf4cBob HalleyMODULE = pm
3da473e3e96d2d054331b43519426a9b5f83cf4cBob HalleyOBJECTS = $(PM_OBJS:%=$(OBJS_DIR)/%)
3da473e3e96d2d054331b43519426a9b5f83cf4cBob HalleyLINTS = $(PM_OBJS:%.o=$(LINTS_DIR)/%.ln)
3da473e3e96d2d054331b43519426a9b5f83cf4cBob HalleyROOTMODULE = $(USR_DRV_DIR)/$(MODULE)
3da473e3e96d2d054331b43519426a9b5f83cf4cBob HalleyCONF_SRCDIR = $(UTSBASE)/common/io
7cc0f69d173a2b67d0fbf03a8ef8926b74739b97Bob Halley
3da473e3e96d2d054331b43519426a9b5f83cf4cBob Halley#
3da473e3e96d2d054331b43519426a9b5f83cf4cBob Halley# Include common rules.
3da473e3e96d2d054331b43519426a9b5f83cf4cBob Halley#
3da473e3e96d2d054331b43519426a9b5f83cf4cBob Halleyinclude $(UTSBASE)/intel/Makefile.intel
3da473e3e96d2d054331b43519426a9b5f83cf4cBob Halley
3da473e3e96d2d054331b43519426a9b5f83cf4cBob Halley#
3da473e3e96d2d054331b43519426a9b5f83cf4cBob Halley# Define targets
3da473e3e96d2d054331b43519426a9b5f83cf4cBob Halley#
3da473e3e96d2d054331b43519426a9b5f83cf4cBob HalleyALL_TARGET = $(BINARY) $(SRC_CONFILE)
3da473e3e96d2d054331b43519426a9b5f83cf4cBob HalleyLINT_TARGET = $(MODULE).lint
3da473e3e96d2d054331b43519426a9b5f83cf4cBob HalleyINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
3da473e3e96d2d054331b43519426a9b5f83cf4cBob Halley
3da473e3e96d2d054331b43519426a9b5f83cf4cBob Halley#
3da473e3e96d2d054331b43519426a9b5f83cf4cBob Halley# Default build targets.
7cc0f69d173a2b67d0fbf03a8ef8926b74739b97Bob Halley#
3da473e3e96d2d054331b43519426a9b5f83cf4cBob Halley.KEEP_STATE:
7cc0f69d173a2b67d0fbf03a8ef8926b74739b97Bob Halley
3da473e3e96d2d054331b43519426a9b5f83cf4cBob Halleydef: $(DEF_DEPS)
3da473e3e96d2d054331b43519426a9b5f83cf4cBob Halley
3da473e3e96d2d054331b43519426a9b5f83cf4cBob Halleyall: $(ALL_DEPS)
3da473e3e96d2d054331b43519426a9b5f83cf4cBob Halley
3da473e3e96d2d054331b43519426a9b5f83cf4cBob Halleyclean: $(CLEAN_DEPS)
7cc0f69d173a2b67d0fbf03a8ef8926b74739b97Bob Halley
3da473e3e96d2d054331b43519426a9b5f83cf4cBob Halleyclobber: $(CLOBBER_DEPS)
7cc0f69d173a2b67d0fbf03a8ef8926b74739b97Bob Halley
3da473e3e96d2d054331b43519426a9b5f83cf4cBob Halleylint: $(LINT_DEPS)
3da473e3e96d2d054331b43519426a9b5f83cf4cBob Halley
3da473e3e96d2d054331b43519426a9b5f83cf4cBob Halleymodlintlib: $(MODLINTLIB_DEPS)
3da473e3e96d2d054331b43519426a9b5f83cf4cBob Halley
3da473e3e96d2d054331b43519426a9b5f83cf4cBob Halleyclean.lint: $(CLEAN_LINT_DEPS)
3da473e3e96d2d054331b43519426a9b5f83cf4cBob Halley
3da473e3e96d2d054331b43519426a9b5f83cf4cBob Halleyinstall: $(INSTALL_DEPS)
3da473e3e96d2d054331b43519426a9b5f83cf4cBob Halley
3da473e3e96d2d054331b43519426a9b5f83cf4cBob Halley#
3da473e3e96d2d054331b43519426a9b5f83cf4cBob Halley# Include common targets.
3da473e3e96d2d054331b43519426a9b5f83cf4cBob Halley#
3da473e3e96d2d054331b43519426a9b5f83cf4cBob Halleyinclude $(UTSBASE)/intel/Makefile.targ
3da473e3e96d2d054331b43519426a9b5f83cf4cBob Halley