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