15cff7825Smh# 25cff7825Smh# CDDL HEADER START 35cff7825Smh# 45cff7825Smh# The contents of this file are subject to the terms of the 55cff7825Smh# Common Development and Distribution License (the "License"). 65cff7825Smh# You may not use this file except in compliance with the License. 75cff7825Smh# 85cff7825Smh# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 95cff7825Smh# or http://www.opensolaris.org/os/licensing. 105cff7825Smh# See the License for the specific language governing permissions 115cff7825Smh# and limitations under the License. 125cff7825Smh# 135cff7825Smh# When distributing Covered Code, include this CDDL HEADER in each 145cff7825Smh# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 155cff7825Smh# If applicable, add the following below this CDDL HEADER, with the 165cff7825Smh# fields enclosed by brackets "[]" replaced with your own identifying 175cff7825Smh# information: Portions Copyright [yyyy] [name of copyright owner] 185cff7825Smh# 195cff7825Smh# CDDL HEADER END 205cff7825Smh# 215cff7825Smh# 225cff7825Smh# Copyright 2007 Sun Microsystems, Inc. All rights reserved. 235cff7825Smh# Use is subject to license terms. 245cff7825Smh# 255cff7825Smh 26843e1988SjohnlevLIBCBASE= ../i386 275cff7825Smh 28843e1988SjohnlevLIBRARY= libc_hwcap3.a 295cff7825Smh 30843e1988SjohnlevEXTN_CPPFLAGS= -D_CMOV_INSN -D_SSE_INSN -D_MMX_INSN 31843e1988SjohnlevEXTN_CFLAGS= -xtarget=pentium_pro 32*85f4cb87SRichard LoweEXTN_DYNFLAGS= -Wl,-Mmapfile 335cff7825Smh 34843e1988Sjohnlev# Defining this means build targets will first try to use source from this 35843e1988Sjohnlev# directory before falling back to unoptimized i386 source. 365cff7825Smh# 37843e1988Sjohnlev# Currently, the only differences between hwcap3 and hwcap1 is the kernel entry 38843e1988Sjohnlev# method (hwcap1 uses "sysenter" and hwcap2 uses "syscall" while hwcap3 uses 39843e1988Sjohnlev# "int 0x91". So for now, build libc_hwcap3 with the optimized sources for 40843e1988Sjohnlev# libc_hwcap1. 415cff7825Smh# 42843e1988SjohnlevOPTIMIZED_LIBCBASE=../i386_hwcap1 435cff7825Smh 44843e1988Sjohnlevinclude ../i386/Makefile.com 45