xref: /titanic_41/usr/src/cmd/mdb/sparc/v9/intr/Makefile (revision 500b1e787b108592a37e3d54dc9b5e676de5386d)
136fe4a92Segillett#
236fe4a92Segillett# CDDL HEADER START
336fe4a92Segillett#
436fe4a92Segillett# The contents of this file are subject to the terms of the
5*500b1e78SAlan Adamson, SD OSSD# Common Development and Distribution License (the "License").
6*500b1e78SAlan Adamson, SD OSSD# You may not use this file except in compliance with the License.
736fe4a92Segillett#
836fe4a92Segillett# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
936fe4a92Segillett# or http://www.opensolaris.org/os/licensing.
1036fe4a92Segillett# See the License for the specific language governing permissions
1136fe4a92Segillett# and limitations under the License.
1236fe4a92Segillett#
1336fe4a92Segillett# When distributing Covered Code, include this CDDL HEADER in each
1436fe4a92Segillett# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1536fe4a92Segillett# If applicable, add the following below this CDDL HEADER, with the
1636fe4a92Segillett# fields enclosed by brackets "[]" replaced with your own identifying
1736fe4a92Segillett# information: Portions Copyright [yyyy] [name of copyright owner]
1836fe4a92Segillett#
1936fe4a92Segillett# CDDL HEADER END
2036fe4a92Segillett#
2136fe4a92Segillett#
22*500b1e78SAlan Adamson, SD OSSD# Copyright 2010 Sun Microsystems, Inc.  All rights reserved.
2336fe4a92Segillett# Use is subject to license terms.
2436fe4a92Segillett#
2536fe4a92Segillett
2636fe4a92SegillettMODULE = intr.so
2736fe4a92SegillettMDBTGT = kvm
2836fe4a92Segillett
2936fe4a92SegillettMODSRCS = intr.c
3036fe4a92Segillett
3136fe4a92SegillettMDB_DIR= $(ROOT)/usr/lib/mdb/kvm/sparcv9
3236fe4a92SegillettMDB_INTR=intr.so
3336fe4a92SegillettMDB_PCIPSY=pcipsy.so
3436fe4a92SegillettMDB_PCISCH=pcisch.so
3536fe4a92SegillettMDB_PX=px.so
36*500b1e78SAlan Adamson, SD OSSDMDB_NIUMX=niumx.so
3736fe4a92Segillett
3836fe4a92SegillettKMDB_DIR= $(ROOT)/kernel/kmdb/sparcv9
3936fe4a92SegillettKMDB_INTR=intr
4036fe4a92SegillettKMDB_PCIPSY=pcipsy
4136fe4a92SegillettKMDB_PCISCH=pcisch
4236fe4a92SegillettKMDB_PX=px
43*500b1e78SAlan Adamson, SD OSSDKMDB_NIUMX=niumx
4436fe4a92Segillett
4536fe4a92Segillettinclude ../../../../Makefile.cmd
4636fe4a92Segillettinclude ../../../../Makefile.cmd.64
4736fe4a92Segillettinclude ../../Makefile.sparcv9
4836fe4a92Segillettinclude ../../../Makefile.module
4936fe4a92Segillett
5036fe4a92SegillettCPPFLAGS += -I$(SRC)/uts/common
5136fe4a92SegillettCPPFLAGS += -I$(SRC)/uts/sun4
5236fe4a92SegillettCPPFLAGS += -I$(SRC)/uts/sun4/io/px
5336fe4a92SegillettCPPFLAGS += -I$(SRC)/uts/sun4u
54*500b1e78SAlan Adamson, SD OSSDCPPFLAGS += -I$(SRC)/uts/sun4v/io/niumx
5536fe4a92SegillettCPPFLAGS += -I$(SRC)/uts/sparc/v9
5636fe4a92Segillett
5736fe4a92SegillettMODSRCS_DIR = ../../../sparc/modules/intr
5836fe4a92Segillett
5936fe4a92Segillettinstall: all
6036fe4a92Segillett	-$(RM) $(MDB_DIR)/$(MDB_PCIPSY)
6136fe4a92Segillett	-$(RM) $(MDB_DIR)/$(MDB_PCISCH)
6236fe4a92Segillett	-$(RM) $(MDB_DIR)/$(MDB_PX)
63*500b1e78SAlan Adamson, SD OSSD	-$(RM) $(MDB_DIR)/$(MDB_NIUMX)
6436fe4a92Segillett	-cd $(MDB_DIR); $(SYMLINK) $(MDB_INTR) $(MDB_PCIPSY)
6536fe4a92Segillett	-cd $(MDB_DIR); $(SYMLINK) $(MDB_INTR) $(MDB_PCISCH)
6636fe4a92Segillett	-cd $(MDB_DIR); $(SYMLINK) $(MDB_INTR) $(MDB_PX)
67*500b1e78SAlan Adamson, SD OSSD	-cd $(MDB_DIR); $(SYMLINK) $(MDB_INTR) $(MDB_NIUMX)
6836fe4a92Segillett	-$(RM) $(KMDB_DIR)/$(KMDB_PCIPSY)
6936fe4a92Segillett	-$(RM) $(KMDB_DIR)/$(KMDB_PCISCH)
7036fe4a92Segillett	-$(RM) $(KMDB_DIR)/$(KMDB_PX)
71*500b1e78SAlan Adamson, SD OSSD	-$(RM) $(KMDB_DIR)/$(KMDB_NIUMX)
7236fe4a92Segillett	-cd $(KMDB_DIR); $(SYMLINK) $(KMDB_INTR) $(KMDB_PCIPSY)
7336fe4a92Segillett	-cd $(KMDB_DIR); $(SYMLINK) $(KMDB_INTR) $(KMDB_PCISCH)
7436fe4a92Segillett	-cd $(KMDB_DIR); $(SYMLINK) $(KMDB_INTR) $(KMDB_PX)
75*500b1e78SAlan Adamson, SD OSSD	-cd $(KMDB_DIR); $(SYMLINK) $(KMDB_INTR) $(KMDB_NIUMX)
76