Makefile revision 7c478bd95313f5f23a4c958a745db2134aa03244
2dc5db0eb0ba6672fb1c23875e2a964e59c24cd1Tinderbox User# CDDL HEADER START
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews# The contents of this file are subject to the terms of the
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews# Common Development and Distribution License, Version 1.0 only
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews# (the "License"). You may not use this file except in compliance
9c49c394b4218cc9c743a372a8fcfb787f5ea8caAndreas Gustafsson# with the License.
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt# See the License for the specific language governing permissions
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt# and limitations under the License.
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein# When distributing Covered Code, include this CDDL HEADER in each
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt# If applicable, add the following below this CDDL HEADER, with the
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein# fields enclosed by brackets "[]" replaced with your own identifying
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt# information: Portions Copyright [yyyy] [name of copyright owner]
072440df4f65033eb058c06f2cc72be450606720Jeremy Reed# CDDL HEADER END
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein# Use is subject to license terms.
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein# ident "%Z%%M% %I% %E% SMI"
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinEXTN_CPPFLAGS= -D_CMOV_INSN -D_SSE_INSN -D_SSE2_INSN -D_MMX_INSN -D_SYSC_INSN
030aac3dbc57f99bad1d251b0783890ff0369952Automatic Updater# Defining this means build targets will first try to use source from this
d60212e03fbef1d3dd7f7eb05c0545cc373cb9fcAutomatic Updater# directory before falling back to unoptimized i386 source.
a9f68291c8db8111b88442635a04dfd35221411bAutomatic Updater# Currently, the only differences between hwcap1 and hwcap2 are the kernel entry
5fa46bc91672ef5737aee6f99763161511566c24Tinderbox User# method (hwcap1 uses "sysenter" and hwcap2 uses "syscall"), and sse2 vs sse
938440694b33cd752e9e4b71a526368b4811c177Tinderbox User# in the optimized assembler routines. Neither difference merits splitting the
c10fda07d68c04221c2d552dc71a2de1352074cbTinderbox User# source. So for now, build libc_hwcap2 with the optimized sources for
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews# libc_hwcap1.