xref: /illumos-gate/usr/src/lib/libmvec/i386_hwcap1/Makefile (revision 16d8656330ae5622ec32e5007f62145ebafdc50f)
1#
2# This file and its contents are supplied under the terms of the
3# Common Development and Distribution License ("CDDL"), version 1.0.
4# You may only use this file in accordance with the terms of version
5# 1.0 of the CDDL.
6#
7# A full copy of the text of the CDDL should have accompanied this
8# source.  A copy of the CDDL is also available via the Internet at
9# http://www.illumos.org/license/CDDL.
10#
11
12#
13# Copyright 2011 Nexenta Systems, Inc.  All rights reserved.
14#
15
16TARGET_ARCH=	i386
17
18LIBRARY		= libmvec_hwcap1.a
19VERS		= .1
20
21OBJECTS=	$(mvecOBJS)
22
23include ../Makefile.com
24
25CPPFLAGS	+= -D_CMOV_INSN -D_SSE_INSN -D_SSE2_INSN
26MAPFILES	+= mapfile
27CFLAGS		+= -xtarget=pentium_pro -xarch=sse2
28
29ROOTLIBDIR 	= $(ROOTFS_LIBDIR)/libmvec
30
31install: 	all $(ROOTLIBDIR) $(ROOTLIBS)
32
33include $(SRC)/lib/libm/Makefile.targ
34