8354 sync regcomp(3C) with upstream (fix make catalog)
[unleashed/tickless.git] / usr / src / lib / libc / i386_hwcap2 / Makefile
blob3b3d13651bfba645f0f0a7544ab6c118d5ffbed6
2 # CDDL HEADER START
4 # The contents of this file are subject to the terms of the
5 # Common Development and Distribution License, Version 1.0 only
6 # (the "License"). You may not use this file except in compliance
7 # with the License.
9 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10 # or http://www.opensolaris.org/os/licensing.
11 # See the License for the specific language governing permissions
12 # and limitations under the License.
14 # When distributing Covered Code, include this CDDL HEADER in each
15 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16 # If applicable, add the following below this CDDL HEADER, with the
17 # fields enclosed by brackets "[]" replaced with your own identifying
18 # information: Portions Copyright [yyyy] [name of copyright owner]
20 # CDDL HEADER END
23 # Copyright 2004 Sun Microsystems, Inc. All rights reserved.
24 # Use is subject to license terms.
26 # ident "%Z%%M% %I% %E% SMI"
28 # lib/libc/i386_hwcap2/Makefile
31 LIBCBASE= ../i386
33 LIBRARY= libc_hwcap2.a
35 EXTN_CPPFLAGS= -D_CMOV_INSN -D_SSE_INSN -D_SSE2_INSN -D_MMX_INSN -D_SYSC_INSN
36 EXTN_CFLAGS= -xtarget=pentium_pro
37 EXTN_DYNFLAGS= -M mapfile
39 # Defining this means build targets will first try to use source from this
40 # directory before falling back to unoptimized i386 source.
42 # Currently, the only differences between hwcap1 and hwcap2 are the kernel entry
43 # method (hwcap1 uses "sysenter" and hwcap2 uses "syscall"), and sse2 vs sse
44 # in the optimized assembler routines. Neither difference merits splitting the
45 # source. So for now, build libc_hwcap2 with the optimized sources for
46 # libc_hwcap1.
48 OPTIMIZED_LIBCBASE=../i386_hwcap1
50 include ../i386/Makefile.com