Makefile revision dc0093f44ee4fac928e006850f8ed53f68277af5
1c3191528684f3dd93ebb122298c2f8ebfc6d397Mark Andrews# CDDL HEADER START
1c3191528684f3dd93ebb122298c2f8ebfc6d397Mark Andrews# The contents of this file are subject to the terms of the
1c3191528684f3dd93ebb122298c2f8ebfc6d397Mark Andrews# Common Development and Distribution License (the "License").
1c3191528684f3dd93ebb122298c2f8ebfc6d397Mark Andrews# You may not use this file except in compliance with the License.
1c3191528684f3dd93ebb122298c2f8ebfc6d397Mark Andrews# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
1c3191528684f3dd93ebb122298c2f8ebfc6d397Mark Andrews# See the License for the specific language governing permissions
1c3191528684f3dd93ebb122298c2f8ebfc6d397Mark Andrews# and limitations under the License.
1c3191528684f3dd93ebb122298c2f8ebfc6d397Mark Andrews# When distributing Covered Code, include this CDDL HEADER in each
1c3191528684f3dd93ebb122298c2f8ebfc6d397Mark Andrews# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1c3191528684f3dd93ebb122298c2f8ebfc6d397Mark Andrews# If applicable, add the following below this CDDL HEADER, with the
1c3191528684f3dd93ebb122298c2f8ebfc6d397Mark Andrews# fields enclosed by brackets "[]" replaced with your own identifying
1c3191528684f3dd93ebb122298c2f8ebfc6d397Mark Andrews# information: Portions Copyright [yyyy] [name of copyright owner]
1c3191528684f3dd93ebb122298c2f8ebfc6d397Mark Andrews# CDDL HEADER END
854d0238dbc2908490197984b3b9d558008a53dfMark Andrews# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
854d0238dbc2908490197984b3b9d558008a53dfMark Andrews# Use is subject to license terms.
1c3191528684f3dd93ebb122298c2f8ebfc6d397Mark Andrews#ident "%Z%%M% %I% %E% SMI"
5dcb42f5bbd41da02a0b32a11a1912f7b90686a8Andreas GustafssonROOT_MISC_DIR = $(ROOT)/platform/sun4u/kernel/misc
1c3191528684f3dd93ebb122298c2f8ebfc6d397Mark AndrewsSTANDLIBS += $(ROOT)/usr/lib/sparcv9/libstanddisasm.so
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson $(FINDFP) -x kaif_resume -x kaif_trap_common $@
1c3191528684f3dd93ebb122298c2f8ebfc6d397Mark Andrews# Uncomment the following line to enable trap accounting. A DTLB translation
1c3191528684f3dd93ebb122298c2f8ebfc6d397Mark Andrews# will be added for the trap table, and each handler installed by KMDB will use
1c3191528684f3dd93ebb122298c2f8ebfc6d397Mark Andrews# its padding to keep a trap count. See kaif_handlers.s.
1c3191528684f3dd93ebb122298c2f8ebfc6d397Mark Andrews#TRAPCOUNT = -DKMDB_TRAPCOUNT
1c3191528684f3dd93ebb122298c2f8ebfc6d397Mark AndrewsCPPFLAGS += -I../../../sparc/mdb -I.. -I$(SRC)/uts/sun4 -I$(SRC)/uts/sun4u $(TRAPCOUNT)
1c3191528684f3dd93ebb122298c2f8ebfc6d397Mark AndrewsCPPFLAGS += -I$(SRC)/cmd/mdb/sparc/v9 -I$(SRC)/cmd/mdb/sparc/v9/kmdb
1c3191528684f3dd93ebb122298c2f8ebfc6d397Mark AndrewsASFLAGS += -I$(SRC)/uts/sun4 -I$(SRC)/uts/sun4u $(TRAPCOUNT)
1c3191528684f3dd93ebb122298c2f8ebfc6d397Mark AndrewsASFLAGS += -I$(SRC)/cmd/mdb/sparc/v9 -I$(SRC)/cmd/mdb/sparc/v9/kmdb
d981ca645597116d227a48bf37cc5edc061c854dBob Halley $(LINT) $(ALLLINTFLAGS) $(KMDBOBJS:%.o=%.ln) $(PROMOBJS:%.o=%.ln)
1c3191528684f3dd93ebb122298c2f8ebfc6d397Mark Andrews $(OFFSETS_CREATE) <../../../sparc/kmdb/kaif_off.in >$@
1c3191528684f3dd93ebb122298c2f8ebfc6d397Mark Andrewskmdb_context_off.h: ../../../sparc/kmdb/kmdb_context_off.in
1c3191528684f3dd93ebb122298c2f8ebfc6d397Mark Andrews $(OFFSETS_CREATE) <../../../sparc/kmdb/kmdb_context_off.in >$@
1c3191528684f3dd93ebb122298c2f8ebfc6d397Mark Andrews# Dynamic rules for object construction
$(LINT.s) -c $<
$(LINT.c) -c $<
$(LINT.c) -c $<
$(LINT.s) -c $<
$(LINT.c) -c $<
$(LINT.s) -c $<
$(LINT.c) -c $<
$(LINT.c) -c $<
$(LINT.s) -c $<
$(LINT.s) -c $<
$(LINT.c) -c $<
-$(INS.dir.root.sys)
$(INS.file)
$(INS.file)