f93d33e24fdf76eb2558168f018b8992bcfc5681Andreas Gustafsson# CDDL HEADER START
f93d33e24fdf76eb2558168f018b8992bcfc5681Andreas Gustafsson# The contents of this file are subject to the terms of the
f93d33e24fdf76eb2558168f018b8992bcfc5681Andreas Gustafsson# Common Development and Distribution License (the "License").
f93d33e24fdf76eb2558168f018b8992bcfc5681Andreas Gustafsson# You may not use this file except in compliance with the License.
15a44745412679c30a6d022733925af70a38b715David Lawrence# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
15a44745412679c30a6d022733925af70a38b715David Lawrence# See the License for the specific language governing permissions
15a44745412679c30a6d022733925af70a38b715David Lawrence# and limitations under the License.
15a44745412679c30a6d022733925af70a38b715David Lawrence# When distributing Covered Code, include this CDDL HEADER in each
15a44745412679c30a6d022733925af70a38b715David Lawrence# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15a44745412679c30a6d022733925af70a38b715David Lawrence# If applicable, add the following below this CDDL HEADER, with the
f93d33e24fdf76eb2558168f018b8992bcfc5681Andreas Gustafsson# fields enclosed by brackets "[]" replaced with your own identifying
f93d33e24fdf76eb2558168f018b8992bcfc5681Andreas Gustafsson# information: Portions Copyright [yyyy] [name of copyright owner]
9c3531d72aeaad6c5f01efe6a1c82023e1379e4dDavid Lawrence# CDDL HEADER END
f93d33e24fdf76eb2558168f018b8992bcfc5681Andreas Gustafsson# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
1a69a1a78cfaa86f3b68bbc965232b7876d4da2aDavid Lawrence# Use is subject to license terms.
1a69a1a78cfaa86f3b68bbc965232b7876d4da2aDavid Lawrence# Build and link kmdb
1a69a1a78cfaa86f3b68bbc965232b7876d4da2aDavid LawrenceROOT_MISC_DIR_64 = $(ROOT_MISC_DIR)/$(SUBDIR64)
1a69a1a78cfaa86f3b68bbc965232b7876d4da2aDavid LawrenceSTANDLIBS += $(ROOT)/usr/lib/amd64/libstanddisasm.so
1a69a1a78cfaa86f3b68bbc965232b7876d4da2aDavid LawrenceSTANDLIBS += $(ROOT)/usr/lib/amd64/libstandsaveargs.so
f93d33e24fdf76eb2558168f018b8992bcfc5681Andreas GustafssonINCDIRS += $(SRC)/uts/i86pc $(SRC)/common/dis/i386
7a184cd4e5a54a4e530f9bff8a4e46be392d0b52Brian Wellington $(LINT) $(ALLLINTFLAGS) $(KMDBOBJS:%.o=%.ln) $(PROMOBJS:%.o=%.ln)
f93d33e24fdf76eb2558168f018b8992bcfc5681Andreas Gustafsson $(LINT) $(LINTFLAGS) $(KMDBOBJS:%.o=%.ln)
f93d33e24fdf76eb2558168f018b8992bcfc5681Andreas Gustafsson $(LINT) $(LINTFLAGS) $(PROMOBJS:%.o=%.ln)
f93d33e24fdf76eb2558168f018b8992bcfc5681Andreas Gustafssonkmdb_context_off.h: ../../kmdb/kmdb_context_off.in
f93d33e24fdf76eb2558168f018b8992bcfc5681Andreas Gustafsson $(OFFSETS_CREATE) <../../kmdb/kmdb_context_off.in >$@
fb01226bcd598c36b5edc566489c890c39f03ed3Brian Wellington# Installation targets