Makefile revision 7c478bd95313f5f23a4c958a745db2134aa03244
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox User#
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox User# CDDL HEADER START
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox User#
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox User# The contents of this file are subject to the terms of the
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox User# Common Development and Distribution License, Version 1.0 only
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox User# (the "License"). You may not use this file except in compliance
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox User# with the License.
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox User#
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox User# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox User# or http://www.opensolaris.org/os/licensing.
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox User# See the License for the specific language governing permissions
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox User# and limitations under the License.
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox User#
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox User# When distributing Covered Code, include this CDDL HEADER in each
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox User# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox User# If applicable, add the following below this CDDL HEADER, with the
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox User# fields enclosed by brackets "[]" replaced with your own identifying
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox User# information: Portions Copyright [yyyy] [name of copyright owner]
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox User#
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox User# CDDL HEADER END
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox User#
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox User#
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox User# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox User# Use is subject to license terms.
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox User#
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox User# ident "%Z%%M% %I% %E% SMI"
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox User#
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox User
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox UserASFLAGS += $(AS_PICFLAGS) -P -D_ASM
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox User
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox UserMAPDIR = ../spec/amd64
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox UserMACHOBJS = dis_tables.o dt_asmsubr.o
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox User
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox Userinclude ../Makefile.com
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox Userinclude ../../Makefile.lib.64
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox User
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox UserSRCS += $(SRC)/common/dis/i386/dis_tables.c ../$(MACH)/dt_asmsubr.s
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox UserCPPFLAGS += -I$(SRC)/common/dis/i386
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox UserCPPFLAGS += -D_ELF64
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox User
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox UserLINTFLAGS64 += -erroff=E_BAD_PTR_CAST_ALIGN
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox User
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox Userpics/%.o: $(SRC)/common/dis/i386/%.c
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox User $(COMPILE.c) -o $@ $<
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox User $(POST_PROCESS_O)
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox User
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox Userinstall yydebug: all $(ROOTLIBS64) $(ROOTLINKS64) $(ROOTLINT64) \
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox User $(ROOTDLIBS) $(ROOTDOBJS64)
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox User