2N/A#
2N/A# CDDL HEADER START
2N/A#
2N/A# The contents of this file are subject to the terms of the
2N/A# Common Development and Distribution License (the "License").
2N/A# You may not use this file except in compliance with the License.
2N/A#
2N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2N/A# or http://www.opensolaris.org/os/licensing.
2N/A# See the License for the specific language governing permissions
2N/A# and limitations under the License.
2N/A#
2N/A# When distributing Covered Code, include this CDDL HEADER in each
2N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2N/A# If applicable, add the following below this CDDL HEADER, with the
2N/A# fields enclosed by brackets "[]" replaced with your own identifying
2N/A# information: Portions Copyright [yyyy] [name of copyright owner]
2N/A#
2N/A# CDDL HEADER END
2N/A#
2N/A#
2N/A# Copyright (c) 2004, 2011, Oracle and/or its affiliates. All rights reserved.
2N/A#
2N/A
2N/ALIBCBASE= ../i386
2N/A
2N/ALIBRARY= libc_hwcap2.a
2N/A
2N/A# Symbol capabilities objects for i386_hwcap2.
2N/AEXTPICS = ../capabilities/hrt/i386_hwcap2/pics/symcap.o
2N/A
2N/Ainclude ../Makefile.com
2N/A
2N/AEXTN_CPPFLAGS= $(EXTN_CPPFLAGS_i386_hwcap2)
2N/AEXTN_CFLAGS= $(EXTN_CFLAGS_i386)
2N/AEXTN_DYNFLAGS= -M mapfile
2N/A
2N/A# Defining this means build targets will first try to use source from this
2N/A# directory before falling back to unoptimized i386 source.
2N/A#
2N/A# Currently, the only differences between hwcap1 and hwcap2 are the kernel entry
2N/A# method (hwcap1 uses "sysenter" and hwcap2 uses "syscall"), and sse2 vs sse
2N/A# in the optimized assembler routines. Neither difference merits splitting the
2N/A# source. So for now, build libc_hwcap2 with the optimized sources for
2N/A# libc_hwcap1.
2N/A#
2N/AOPTIMIZED_LIBCBASE=../i386_hwcap1
2N/A
2N/Ainclude ../i386/Makefile.com