Makefile revision 03831d35f7499c87d51205817c93e9a8d42c4bae
9c49c394b4218cc9c743a372a8fcfb787f5ea8caAndreas Gustafsson# CDDL HEADER START
9c49c394b4218cc9c743a372a8fcfb787f5ea8caAndreas Gustafsson# The contents of this file are subject to the terms of the
9c49c394b4218cc9c743a372a8fcfb787f5ea8caAndreas Gustafsson# Common Development and Distribution License (the "License").
9c49c394b4218cc9c743a372a8fcfb787f5ea8caAndreas Gustafsson# You may not use this file except in compliance with the License.
9c49c394b4218cc9c743a372a8fcfb787f5ea8caAndreas Gustafsson# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9c49c394b4218cc9c743a372a8fcfb787f5ea8caAndreas Gustafsson# or http://www.opensolaris.org/os/licensing.
9c49c394b4218cc9c743a372a8fcfb787f5ea8caAndreas Gustafsson# See the License for the specific language governing permissions
9c49c394b4218cc9c743a372a8fcfb787f5ea8caAndreas Gustafsson# and limitations under the License.
9c49c394b4218cc9c743a372a8fcfb787f5ea8caAndreas Gustafsson# When distributing Covered Code, include this CDDL HEADER in each
9c49c394b4218cc9c743a372a8fcfb787f5ea8caAndreas Gustafsson# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
9c49c394b4218cc9c743a372a8fcfb787f5ea8caAndreas Gustafsson# If applicable, add the following below this CDDL HEADER, with the
9c49c394b4218cc9c743a372a8fcfb787f5ea8caAndreas Gustafsson# fields enclosed by brackets "[]" replaced with your own identifying
9c49c394b4218cc9c743a372a8fcfb787f5ea8caAndreas Gustafsson# information: Portions Copyright [yyyy] [name of copyright owner]
32147eb26f485d84feee9df8777da6b905deaea0Brian Wellington# CDDL HEADER END
9c49c394b4218cc9c743a372a8fcfb787f5ea8caAndreas Gustafsson# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
9c49c394b4218cc9c743a372a8fcfb787f5ea8caAndreas Gustafsson# Use is subject to license terms.
9c49c394b4218cc9c743a372a8fcfb787f5ea8caAndreas Gustafsson#pragma ident "%Z%%M% %I% %E% SMI"
9c49c394b4218cc9c743a372a8fcfb787f5ea8caAndreas Gustafsson# This makefile drives the production of the Starcat domain
9c49c394b4218cc9c743a372a8fcfb787f5ea8caAndreas Gustafsson# side Hot Plug Controller Driver.
9c49c394b4218cc9c743a372a8fcfb787f5ea8caAndreas Gustafsson# Starcat implementation architecture dependent
9c49c394b4218cc9c743a372a8fcfb787f5ea8caAndreas Gustafsson# Path to the base of the uts directory tree (usually /usr/src/uts).
9c49c394b4218cc9c743a372a8fcfb787f5ea8caAndreas Gustafsson# Define the module and object file sets.
9c49c394b4218cc9c743a372a8fcfb787f5ea8caAndreas GustafssonLINTS = $(SCHPC_OBJS:%.o=$(LINTS_DIR)/%.ln)
9c49c394b4218cc9c743a372a8fcfb787f5ea8caAndreas GustafssonROOTMODULE = $(ROOT_STARCAT_DRV_DIR)/$(MODULE)
9c49c394b4218cc9c743a372a8fcfb787f5ea8caAndreas Gustafsson# Include common rules.
9c49c394b4218cc9c743a372a8fcfb787f5ea8caAndreas Gustafssoninclude $(UTSBASE)/sun4u/starcat/Makefile.starcat
9c49c394b4218cc9c743a372a8fcfb787f5ea8caAndreas Gustafsson# Define targets
9c49c394b4218cc9c743a372a8fcfb787f5ea8caAndreas GustafssonINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
9c49c394b4218cc9c743a372a8fcfb787f5ea8caAndreas Gustafsson# lint pass one enforcement
9c49c394b4218cc9c743a372a8fcfb787f5ea8caAndreas Gustafsson# module dependencies
9c49c394b4218cc9c743a372a8fcfb787f5ea8caAndreas GustafssonLDFLAGS += -dy -Nmisc/mboxsc -Nmisc/hpcsvc -Ndrv/iosram
9c49c394b4218cc9c743a372a8fcfb787f5ea8caAndreas Gustafsson# Turn on doubleword alignment for 64 bit registers
9c49c394b4218cc9c743a372a8fcfb787f5ea8caAndreas Gustafsson# Include common targets.