Makefile revision 7c478bd95313f5f23a4c958a745db2134aa03244
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# See the License for the specific language governing permissions 2N/A# and limitations under the License. 2N/A# When distributing Covered Code, include this CDDL HEADER in each 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# Copyright 2004 Sun Microsystems, Inc. All rights reserved. 2N/A# Use is subject to license terms. 2N/A#ident "%Z%%M% %I% %E% SMI" 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# 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.