36fe4a92b52649b0979d6a13212f4cea730d19c7egillett#
36fe4a92b52649b0979d6a13212f4cea730d19c7egillett# CDDL HEADER START
36fe4a92b52649b0979d6a13212f4cea730d19c7egillett#
36fe4a92b52649b0979d6a13212f4cea730d19c7egillett# The contents of this file are subject to the terms of the
500b1e787b108592a37e3d54dc9b5e676de5386dAlan Adamson, SD OSSD# Common Development and Distribution License (the "License").
500b1e787b108592a37e3d54dc9b5e676de5386dAlan Adamson, SD OSSD# You may not use this file except in compliance with the License.
36fe4a92b52649b0979d6a13212f4cea730d19c7egillett#
36fe4a92b52649b0979d6a13212f4cea730d19c7egillett# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
36fe4a92b52649b0979d6a13212f4cea730d19c7egillett# or http://www.opensolaris.org/os/licensing.
36fe4a92b52649b0979d6a13212f4cea730d19c7egillett# See the License for the specific language governing permissions
36fe4a92b52649b0979d6a13212f4cea730d19c7egillett# and limitations under the License.
36fe4a92b52649b0979d6a13212f4cea730d19c7egillett#
36fe4a92b52649b0979d6a13212f4cea730d19c7egillett# When distributing Covered Code, include this CDDL HEADER in each
36fe4a92b52649b0979d6a13212f4cea730d19c7egillett# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
36fe4a92b52649b0979d6a13212f4cea730d19c7egillett# If applicable, add the following below this CDDL HEADER, with the
36fe4a92b52649b0979d6a13212f4cea730d19c7egillett# fields enclosed by brackets "[]" replaced with your own identifying
36fe4a92b52649b0979d6a13212f4cea730d19c7egillett# information: Portions Copyright [yyyy] [name of copyright owner]
36fe4a92b52649b0979d6a13212f4cea730d19c7egillett#
36fe4a92b52649b0979d6a13212f4cea730d19c7egillett# CDDL HEADER END
36fe4a92b52649b0979d6a13212f4cea730d19c7egillett#
36fe4a92b52649b0979d6a13212f4cea730d19c7egillett#
500b1e787b108592a37e3d54dc9b5e676de5386dAlan Adamson, SD OSSD# Copyright 2010 Sun Microsystems, Inc. All rights reserved.
36fe4a92b52649b0979d6a13212f4cea730d19c7egillett# Use is subject to license terms.
36fe4a92b52649b0979d6a13212f4cea730d19c7egillett#
36fe4a92b52649b0979d6a13212f4cea730d19c7egillett
36fe4a92b52649b0979d6a13212f4cea730d19c7egillettMODULE = intr.so
36fe4a92b52649b0979d6a13212f4cea730d19c7egillettMDBTGT = kvm
36fe4a92b52649b0979d6a13212f4cea730d19c7egillett
36fe4a92b52649b0979d6a13212f4cea730d19c7egillettMODSRCS = intr.c
36fe4a92b52649b0979d6a13212f4cea730d19c7egillett
36fe4a92b52649b0979d6a13212f4cea730d19c7egillettMDB_DIR= $(ROOT)/usr/lib/mdb/kvm/sparcv9
36fe4a92b52649b0979d6a13212f4cea730d19c7egillettMDB_INTR=intr.so
36fe4a92b52649b0979d6a13212f4cea730d19c7egillettMDB_PCIPSY=pcipsy.so
36fe4a92b52649b0979d6a13212f4cea730d19c7egillettMDB_PCISCH=pcisch.so
36fe4a92b52649b0979d6a13212f4cea730d19c7egillettMDB_PX=px.so
500b1e787b108592a37e3d54dc9b5e676de5386dAlan Adamson, SD OSSDMDB_NIUMX=niumx.so
36fe4a92b52649b0979d6a13212f4cea730d19c7egillett
36fe4a92b52649b0979d6a13212f4cea730d19c7egillettKMDB_DIR= $(ROOT)/kernel/kmdb/sparcv9
36fe4a92b52649b0979d6a13212f4cea730d19c7egillettKMDB_INTR=intr
36fe4a92b52649b0979d6a13212f4cea730d19c7egillettKMDB_PCIPSY=pcipsy
36fe4a92b52649b0979d6a13212f4cea730d19c7egillettKMDB_PCISCH=pcisch
36fe4a92b52649b0979d6a13212f4cea730d19c7egillettKMDB_PX=px
500b1e787b108592a37e3d54dc9b5e676de5386dAlan Adamson, SD OSSDKMDB_NIUMX=niumx
36fe4a92b52649b0979d6a13212f4cea730d19c7egillett
36fe4a92b52649b0979d6a13212f4cea730d19c7egillettinclude ../../../../Makefile.cmd
36fe4a92b52649b0979d6a13212f4cea730d19c7egillettinclude ../../../../Makefile.cmd.64
36fe4a92b52649b0979d6a13212f4cea730d19c7egillettinclude ../../Makefile.sparcv9
36fe4a92b52649b0979d6a13212f4cea730d19c7egillettinclude ../../../Makefile.module
36fe4a92b52649b0979d6a13212f4cea730d19c7egillett
36fe4a92b52649b0979d6a13212f4cea730d19c7egillettCPPFLAGS += -I$(SRC)/uts/common
36fe4a92b52649b0979d6a13212f4cea730d19c7egillettCPPFLAGS += -I$(SRC)/uts/sun4
36fe4a92b52649b0979d6a13212f4cea730d19c7egillettCPPFLAGS += -I$(SRC)/uts/sun4/io/px
36fe4a92b52649b0979d6a13212f4cea730d19c7egillettCPPFLAGS += -I$(SRC)/uts/sun4u
500b1e787b108592a37e3d54dc9b5e676de5386dAlan Adamson, SD OSSDCPPFLAGS += -I$(SRC)/uts/sun4v/io/niumx
36fe4a92b52649b0979d6a13212f4cea730d19c7egillettCPPFLAGS += -I$(SRC)/uts/sparc/v9
36fe4a92b52649b0979d6a13212f4cea730d19c7egillett
36fe4a92b52649b0979d6a13212f4cea730d19c7egillettMODSRCS_DIR = ../../../sparc/modules/intr
36fe4a92b52649b0979d6a13212f4cea730d19c7egillett
36fe4a92b52649b0979d6a13212f4cea730d19c7egillettinstall: all
36fe4a92b52649b0979d6a13212f4cea730d19c7egillett -$(RM) $(MDB_DIR)/$(MDB_PCIPSY)
36fe4a92b52649b0979d6a13212f4cea730d19c7egillett -$(RM) $(MDB_DIR)/$(MDB_PCISCH)
36fe4a92b52649b0979d6a13212f4cea730d19c7egillett -$(RM) $(MDB_DIR)/$(MDB_PX)
500b1e787b108592a37e3d54dc9b5e676de5386dAlan Adamson, SD OSSD -$(RM) $(MDB_DIR)/$(MDB_NIUMX)
36fe4a92b52649b0979d6a13212f4cea730d19c7egillett -cd $(MDB_DIR); $(SYMLINK) $(MDB_INTR) $(MDB_PCIPSY)
36fe4a92b52649b0979d6a13212f4cea730d19c7egillett -cd $(MDB_DIR); $(SYMLINK) $(MDB_INTR) $(MDB_PCISCH)
36fe4a92b52649b0979d6a13212f4cea730d19c7egillett -cd $(MDB_DIR); $(SYMLINK) $(MDB_INTR) $(MDB_PX)
500b1e787b108592a37e3d54dc9b5e676de5386dAlan Adamson, SD OSSD -cd $(MDB_DIR); $(SYMLINK) $(MDB_INTR) $(MDB_NIUMX)
36fe4a92b52649b0979d6a13212f4cea730d19c7egillett -$(RM) $(KMDB_DIR)/$(KMDB_PCIPSY)
36fe4a92b52649b0979d6a13212f4cea730d19c7egillett -$(RM) $(KMDB_DIR)/$(KMDB_PCISCH)
36fe4a92b52649b0979d6a13212f4cea730d19c7egillett -$(RM) $(KMDB_DIR)/$(KMDB_PX)
500b1e787b108592a37e3d54dc9b5e676de5386dAlan Adamson, SD OSSD -$(RM) $(KMDB_DIR)/$(KMDB_NIUMX)
36fe4a92b52649b0979d6a13212f4cea730d19c7egillett -cd $(KMDB_DIR); $(SYMLINK) $(KMDB_INTR) $(KMDB_PCIPSY)
36fe4a92b52649b0979d6a13212f4cea730d19c7egillett -cd $(KMDB_DIR); $(SYMLINK) $(KMDB_INTR) $(KMDB_PCISCH)
36fe4a92b52649b0979d6a13212f4cea730d19c7egillett -cd $(KMDB_DIR); $(SYMLINK) $(KMDB_INTR) $(KMDB_PX)
500b1e787b108592a37e3d54dc9b5e676de5386dAlan Adamson, SD OSSD -cd $(KMDB_DIR); $(SYMLINK) $(KMDB_INTR) $(KMDB_NIUMX)