Makefile revision 7c478bd95313f5f23a4c958a745db2134aa03244
529a6b5224d751504027293a766a4c8b81241869Brian Wellington# CDDL HEADER START
862a026a7d752fbc8b376df6f7a9080d7c778b49Brian Wellington# The contents of this file are subject to the terms of the
862a026a7d752fbc8b376df6f7a9080d7c778b49Brian Wellington# Common Development and Distribution License, Version 1.0 only
862a026a7d752fbc8b376df6f7a9080d7c778b49Brian Wellington# (the "License"). You may not use this file except in compliance
677045ed612e1c26a32b5700479e26c25bcede58Brian Wellington# with the License.
677045ed612e1c26a32b5700479e26c25bcede58Brian Wellington# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
febf5f8b55abb2e6e840488a29a5ef4e20654f67David Lawrence# See the License for the specific language governing permissions
c34bdef6bd197a04990e52469ad68481532dd35aAndreas Gustafsson# and limitations under the License.
c34bdef6bd197a04990e52469ad68481532dd35aAndreas Gustafsson# When distributing Covered Code, include this CDDL HEADER in each
05f6d0c0381d19eec721e11f6fd88caef25dacd8Andreas Gustafsson# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
c9b176a5281c8232eec0f2056ce10ea249afc4a3Mark Andrews# If applicable, add the following below this CDDL HEADER, with the
dc2c974dcf954a0a238d1afb886c445d06b1aa8bBrian Wellington# fields enclosed by brackets "[]" replaced with your own identifying
a32738e3e4ed9619c8ace22cd119e6769176b22cAndreas Gustafsson# information: Portions Copyright [yyyy] [name of copyright owner]
a32738e3e4ed9619c8ace22cd119e6769176b22cAndreas Gustafsson# CDDL HEADER END
6dc130c7c95107748fff5f767161c2bb742f9f87Brian Wellington# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
49855f0856a0f6f9fed80af88faddf38f3e74eefAndreas Gustafsson# Use is subject to license terms.
49855f0856a0f6f9fed80af88faddf38f3e74eefAndreas Gustafsson#ident "%Z%%M% %I% %E% SMI"
dc2c974dcf954a0a238d1afb886c445d06b1aa8bBrian Wellington# In the mdb world, mdb_ks is delivered as a dmod, albeit one with special
dc2c974dcf954a0a238d1afb886c445d06b1aa8bBrian Wellington# powers. Various other dmods use symbols provided by mdb_ks, through the
d4ab9cd94f0fe0cf24ba36d21240215ae648c8d5James Brister# magic of dynamic linking. In the kmdb world, however, things are different.
d4ab9cd94f0fe0cf24ba36d21240215ae648c8d5James Brister# kmdb dmods are not allowed to consume symbols exported by anything other
d4ab9cd94f0fe0cf24ba36d21240215ae648c8d5James Brister# than the kmdb module. In order to allow other kmdb dmods to use the mdb_ks
d4ab9cd94f0fe0cf24ba36d21240215ae648c8d5James Brister# symbols, we link mdb_ks into kmdb.
9bef4575d71a084edf59ac681e53e35ae1b72166Andreas Gustafsson# We are not actually hardwiring some dependency on sun4u, we just need to
9bef4575d71a084edf59ac681e53e35ae1b72166Andreas Gustafsson# include sys/param.h with _MACHDEP defined, and this forces the inclusion of
9bef4575d71a084edf59ac681e53e35ae1b72166Andreas Gustafsson# machparam.h, even though we don't use anything there. This is a temporary
87f4c7933fd2962cca3b9b7e046327f3c6306b84Andreas Gustafsson# kludge until we invent -DDONTINCLUDEMACHPARAM or something.