Makefile revision 1ae0874509b6811fdde1dfd46f0d93fd09867a3f
f07bfd5a05d43a6d11f7cd442f085149092dea88pjrm# CDDL HEADER START
f07bfd5a05d43a6d11f7cd442f085149092dea88pjrm# The contents of this file are subject to the terms of the
f07bfd5a05d43a6d11f7cd442f085149092dea88pjrm# Common Development and Distribution License (the "License").
f07bfd5a05d43a6d11f7cd442f085149092dea88pjrm# You may not use this file except in compliance with the License.
f07bfd5a05d43a6d11f7cd442f085149092dea88pjrm# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
fefed98e624e5b375661d137181340caa08440e3johanengelen# See the License for the specific language governing permissions
f07bfd5a05d43a6d11f7cd442f085149092dea88pjrm# and limitations under the License.
f07bfd5a05d43a6d11f7cd442f085149092dea88pjrm# When distributing Covered Code, include this CDDL HEADER in each
f07bfd5a05d43a6d11f7cd442f085149092dea88pjrm# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
f07bfd5a05d43a6d11f7cd442f085149092dea88pjrm# If applicable, add the following below this CDDL HEADER, with the
f07bfd5a05d43a6d11f7cd442f085149092dea88pjrm# fields enclosed by brackets "[]" replaced with your own identifying
64caa91f2899a6648503a75dc7310841955b74fdJucaBlues# information: Portions Copyright [yyyy] [name of copyright owner]
f07bfd5a05d43a6d11f7cd442f085149092dea88pjrm# CDDL HEADER END
d431763a9ec8059aa4962688de8144319969fb0fjohanengelen# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
d90df4b5134fecb1e7248afbf601bae9d55682c6johanengelen# Use is subject to license terms.
d90df4b5134fecb1e7248afbf601bae9d55682c6johanengelen#ident "%Z%%M% %I% %E% SMI"
f07bfd5a05d43a6d11f7cd442f085149092dea88pjrm# Uncomment the following line to enable trap accounting. A DTLB translation
f07bfd5a05d43a6d11f7cd442f085149092dea88pjrm# will be added for the trap table, and each handler installed by KMDB will use
f07bfd5a05d43a6d11f7cd442f085149092dea88pjrm# its padding to keep a trap count. See kaif_handlers.s.
f07bfd5a05d43a6d11f7cd442f085149092dea88pjrm# NOTE: not currently supported by the sun4v fast miss handlers. See
f07bfd5a05d43a6d11f7cd442f085149092dea88pjrm# ../../../sparc/v9/kmdb/kaif_handlers.s to verify before use.
f07bfd5a05d43a6d11f7cd442f085149092dea88pjrm#TRAPCOUNT = -DKMDB_TRAPCOUNT
f07bfd5a05d43a6d11f7cd442f085149092dea88pjrmCPPFLAGS += -I../../../sparc/mdb -I.. -I$(SRC)/uts/sun4 -I$(SRC)/uts/sun4v
f07bfd5a05d43a6d11f7cd442f085149092dea88pjrmCPPFLAGS += -I$(SRC)/cmd/mdb/sparc/v9 -I$(SRC)/cmd/mdb/sparc/v9/kmdb
79291918d036d77d586b6eba265d8d2ac0a7fee5cilixASFLAGS += -xarch=v9v -I$(SRC)/uts/sun4 -I$(SRC)/uts/sun4v $(TRAPCOUNT)
6d4d113f18776c07a193beeab77046b475858945johanengelenASFLAGS += -I$(SRC)/cmd/mdb/sparc/v9 -I$(SRC)/cmd/mdb/sparc/v9/kmdb
f07bfd5a05d43a6d11f7cd442f085149092dea88pjrm# lint rules
f84b3e8cf4811cb3ce6c33fb7341d0e836be583cjohanengelen $(LINT) $(ALLLINTFLAGS) $(KMDBOBJS:%.o=%.ln) $(PROMOBJS:%.o=%.ln)
7073d105e612f7dc898c292742bee9655d2a51b2johanengelen $(OFFSETS_CREATE) <../../../sparc/kmdb/kaif_off.in >$@
7073d105e612f7dc898c292742bee9655d2a51b2johanengelenkmdb_context_off.h: ../../../sparc/kmdb/kmdb_context_off.in
f07bfd5a05d43a6d11f7cd442f085149092dea88pjrm $(OFFSETS_CREATE) <../../../sparc/kmdb/kmdb_context_off.in >$@
f07bfd5a05d43a6d11f7cd442f085149092dea88pjrm# Dynamic rules for object construction
$(LINT.c) -c $<
$(LINT.s) -c $<
$(LINT.s) -c $<
$(LINT.c) -c $<
$(LINT.s) -c $<
-$(INS.dir.root.sys)
$(INS.file)
$(INS.file)