Makefile revision 7c478bd95313f5f23a4c958a745db2134aa03244
10139N/A#
10139N/A# CDDL HEADER START
10139N/A#
19024N/A# The contents of this file are subject to the terms of the
10139N/A# Common Development and Distribution License, Version 1.0 only
10139N/A# (the "License"). You may not use this file except in compliance
10139N/A# with the License.
17185N/A#
10139N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
17178N/A# or http://www.opensolaris.org/os/licensing.
18603N/A# See the License for the specific language governing permissions
17178N/A# and limitations under the License.
10139N/A#
10139N/A# When distributing Covered Code, include this CDDL HEADER in each
20840N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
10139N/A# If applicable, add the following below this CDDL HEADER, with the
18761N/A# fields enclosed by brackets "[]" replaced with your own identifying
10139N/A# information: Portions Copyright [yyyy] [name of copyright owner]
10139N/A#
18616N/A# CDDL HEADER END
10139N/A#
18580N/A#
10139N/A# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
12773N/A# Use is subject to license terms.
12773N/A#
12773N/A#ident "%Z%%M% %I% %E% SMI"
18739N/A
10139N/A#
10139N/A# In the mdb world, mdb_ks is delivered as a dmod, albeit one with special
10139N/A# powers. Various other dmods use symbols provided by mdb_ks, through the
18739N/A# magic of dynamic linking. In the kmdb world, however, things are different.
11875N/A# kmdb dmods are not allowed to consume symbols exported by anything other
17733N/A# than the kmdb module. In order to allow other kmdb dmods to use the mdb_ks
16924N/A# symbols, we link mdb_ks into kmdb.
17657N/A#
19024N/A
19024N/AMODULE = mdb_ks.so
19024N/AMDBTGT = kvm
19024N/A
20325N/AMODSRCS = mdb_ks.c
20325N/A
10139N/Ainclude ../../../../Makefile.cmd
10139N/Ainclude ../../../../Makefile.cmd.64
10139N/Ainclude ../../Makefile.sparcv9
10139N/Ainclude ../../../Makefile.module
10139N/Ainclude ../../../Makefile.mdb_ks
10139N/A
10139N/A#
10139N/A# We are not actually hardwiring some dependency on sun4u, we just need to
10139N/A# include sys/param.h with _MACHDEP defined, and this forces the inclusion of
10139N/A# machparam.h, even though we don't use anything there. This is a temporary
10139N/A# kludge until we invent -DDONTINCLUDEMACHPARAM or something.
10139N/A#
10139N/ACPPFLAGS += -I$(SRC)/uts/sun4u
10139N/A