Makefile revision dc0093f44ee4fac928e006850f8ed53f68277af5
b0e8629055a766d4555a005a283c2889a5974945Mark Andrews# CDDL HEADER START
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# The contents of this file are subject to the terms of the
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# Common Development and Distribution License (the "License").
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# You may not use this file except in compliance with the License.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# See the License for the specific language governing permissions
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# and limitations under the License.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# When distributing Covered Code, include this CDDL HEADER in each
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# If applicable, add the following below this CDDL HEADER, with the
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# fields enclosed by brackets "[]" replaced with your own identifying
f4429c1c31ec32f05125baab1adcc4f09863f7afMark Andrews# information: Portions Copyright [yyyy] [name of copyright owner]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# CDDL HEADER END
e21a2904f02a03fa06b6db04d348f65fe9c67b2bMark Andrews# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# Use is subject to license terms.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein#ident "%Z%%M% %I% %E% SMI"
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# Build and link kmdb
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein%.o: ../../kmdb/%.c
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein%.o: ../../mdb/%.c
92554adb458c7b336e5390c5c9fbf2fcc1276524Mark AndrewsSTANDLIBS += $(ROOT)/usr/lib/amd64/libstanddisasm.so
92554adb458c7b336e5390c5c9fbf2fcc1276524Mark AndrewsINCDIRS += $(SRC)/uts/i86pc $(SRC)/common/dis/i386
92554adb458c7b336e5390c5c9fbf2fcc1276524Mark Andrews $(LINT) $(ALLLINTFLAGS) $(KMDBOBJS:%.o=%.ln) $(PROMOBJS:%.o=%.ln)
f4429c1c31ec32f05125baab1adcc4f09863f7afMark Andrewskmdb_context_off.h: ../../kmdb/kmdb_context_off.in
f4429c1c31ec32f05125baab1adcc4f09863f7afMark Andrews $(OFFSETS_CREATE) <../../kmdb/kmdb_context_off.in >$@
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# Installation targets