1# 2# CDDL HEADER START 3# 4# The contents of this file are subject to the terms of the 5# Common Development and Distribution License, Version 1.0 only 6# (the "License"). You may not use this file except in compliance 7# with the License. 8# 9# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 10# or http://www.opensolaris.org/os/licensing. 11# See the License for the specific language governing permissions 12# and limitations under the License. 13# 14# When distributing Covered Code, include this CDDL HEADER in each 15# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 16# If applicable, add the following below this CDDL HEADER, with the 17# fields enclosed by brackets "[]" replaced with your own identifying 18# information: Portions Copyright [yyyy] [name of copyright owner] 19# 20# CDDL HEADER END 21# 22# 23# Copyright 2004 Sun Microsystems, Inc. All rights reserved. 24# Use is subject to license terms. 25# 26#ident "%Z%%M% %I% %E% SMI" 27 28SRCS = bits.c \ 29 dis_tables.c \ 30 inteldis.c \ 31 kvm_ia32dep.c \ 32 mdb_ia32util.c \ 33 proc_ia32dep.c 34 35%.o: ../../mdb/%.c 36 $(COMPILE.c) $< 37 $(CTFCONVERT_O) 38 39%.o: $(SRC)/common/dis/i386/%.c 40 $(COMPILE.c) $< 41 $(CTFCONVERT_O) 42 43%.ln: ../../mdb/%.c 44 $(LINT.c) -c $< 45 46%.ln: $(SRC)/common/dis/i386/%.c 47 $(LINT.c) -c $< 48 49include ../../../../Makefile.cmd 50include ../../Makefile.ia32 51include ../../../Makefile.mdb 52 53CPPFLAGS += -I../../mdb -I$(SRC)/common/dis/i386 -DDIS_TEXT 54 55install: all $(ISAEXEC) $(ROOTPROG32) $(ROOTLINK32) 56 -$(RM) $(ROOTPROG) 57 -$(LN) $(ISAEXEC) $(ROOTPROG) 58 -$(RM) $(ROOTLINK) 59 -$(LN) $(ISAEXEC) $(ROOTLINK) 60