Makefile revision 7c478bd95313f5f23a4c958a745db2134aa03244
9c49c394b4218cc9c743a372a8fcfb787f5ea8caAndreas Gustafsson#
2dc5db0eb0ba6672fb1c23875e2a964e59c24cd1Tinderbox User# CDDL HEADER START
9c49c394b4218cc9c743a372a8fcfb787f5ea8caAndreas Gustafsson#
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.
2eeb74d1cf5355dd98f6d507a10086e16bb08c4bTinderbox User#
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
83a28ca274521e15086fc39febde507bcc4e145eMark Andrews# or http://www.opensolaris.org/os/licensing.
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt# See the License for the specific language governing permissions
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt# and limitations under the License.
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt#
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]
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein#
072440df4f65033eb058c06f2cc72be450606720Jeremy Reed# CDDL HEADER END
a8f6b2aa46f882c7c680b7bdab1dfb78a76787eaMark Andrews#
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein#
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein# Use is subject to license terms.
072440df4f65033eb058c06f2cc72be450606720Jeremy Reed#
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein# ident "%Z%%M% %I% %E% SMI"
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein#
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein# lib/libc/i386_hwcap2/Makefile
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein#
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein
704e6c8876907aac0bf7380effca8bca400d4acdMark AndrewsLIBCBASE= ../i386
704e6c8876907aac0bf7380effca8bca400d4acdMark Andrews
704e6c8876907aac0bf7380effca8bca400d4acdMark AndrewsLIBRARY= libc_hwcap2.a
704e6c8876907aac0bf7380effca8bca400d4acdMark Andrews
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinEXTN_CPPFLAGS= -D_CMOV_INSN -D_SSE_INSN -D_SSE2_INSN -D_MMX_INSN -D_SYSC_INSN
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinEXTN_CFLAGS= -xtarget=pentium_pro
26e2a07a0b6a3b1eccef82ba31270d0c54ad4f06Mark AndrewsEXTN_DYNFLAGS= -M mapfile
c1a883f2e04d94e99c433b1f6cfd0c0338f4ed85Mark Andrews
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.
1b892cf691dd0907e0e75774df102dd4d92dd877Automatic Updater#
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.
2dc5db0eb0ba6672fb1c23875e2a964e59c24cd1Tinderbox User#
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinOPTIMIZED_LIBCBASE=../i386_hwcap1
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austeininclude ../i386/Makefile.com
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein