10Sstevel@tonic-gate# 20Sstevel@tonic-gate# CDDL HEADER START 30Sstevel@tonic-gate# 40Sstevel@tonic-gate# The contents of this file are subject to the terms of the 52179Sahl# Common Development and Distribution License (the "License"). 62179Sahl# You may not use this file except in compliance with the License. 70Sstevel@tonic-gate# 80Sstevel@tonic-gate# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 90Sstevel@tonic-gate# or http://www.opensolaris.org/os/licensing. 100Sstevel@tonic-gate# See the License for the specific language governing permissions 110Sstevel@tonic-gate# and limitations under the License. 120Sstevel@tonic-gate# 130Sstevel@tonic-gate# When distributing Covered Code, include this CDDL HEADER in each 140Sstevel@tonic-gate# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 150Sstevel@tonic-gate# If applicable, add the following below this CDDL HEADER, with the 160Sstevel@tonic-gate# fields enclosed by brackets "[]" replaced with your own identifying 170Sstevel@tonic-gate# information: Portions Copyright [yyyy] [name of copyright owner] 180Sstevel@tonic-gate# 190Sstevel@tonic-gate# CDDL HEADER END 200Sstevel@tonic-gate# 210Sstevel@tonic-gate# 222179Sahl# Copyright 2006 Sun Microsystems, Inc. All rights reserved. 230Sstevel@tonic-gate# Use is subject to license terms. 240Sstevel@tonic-gate# 25*2522Sraf# ident "%Z%%M% %I% %E% SMI" 26*2522Sraf# 270Sstevel@tonic-gate 280Sstevel@tonic-gateASFLAGS += $(AS_PICFLAGS) -P -D_ASM 290Sstevel@tonic-gate 302179SahlMACHOBJS = dis_tables.o 310Sstevel@tonic-gateDLIBSRCS = regs.d 320Sstevel@tonic-gate 330Sstevel@tonic-gateinclude ../Makefile.com 340Sstevel@tonic-gate 352179SahlSRCS += $(SRC)/common/dis/i386/dis_tables.c 360Sstevel@tonic-gateCPPFLAGS += -I$(SRC)/common/dis/i386 370Sstevel@tonic-gate 380Sstevel@tonic-gateLINTFLAGS += -erroff=E_BAD_PTR_CAST_ALIGN 390Sstevel@tonic-gate 400Sstevel@tonic-gateCLEANFILES += regs.sed regs.d 410Sstevel@tonic-gate 420Sstevel@tonic-gate%.sed: %.sed.in 430Sstevel@tonic-gate $(COMPILE.cpp) -D_KERNEL $< | \ 440Sstevel@tonic-gate tr -d ' ' | tr '@' ' ' | tr '"' '@' | grep '^s/' > $@ 450Sstevel@tonic-gate 460Sstevel@tonic-gate../$(MACH)/regs.d: regs.sed regs.d.in 470Sstevel@tonic-gate sed -f regs.sed < regs.d.in > $@ 480Sstevel@tonic-gate 490Sstevel@tonic-gatepics/%.o: $(SRC)/common/dis/i386/%.c 500Sstevel@tonic-gate $(COMPILE.c) -o $@ $< 510Sstevel@tonic-gate $(POST_PROCESS_O) 520Sstevel@tonic-gate 530Sstevel@tonic-gateinstall yydebug: all $(ROOTLIBS) $(ROOTLINKS) $(ROOTLINT) \ 540Sstevel@tonic-gate $(ROOTDLIBS) $(ROOTDOBJS) 55