xref: /illumos-gate/usr/src/lib/libmvec/i386_hwcap1/Makefile (revision 25c28e83beb90e7c80452a7c818c5e6f73a07dc8)
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 
16 TARGET_ARCH=	i386
17 
18 LIBRARY		= libmvec_hwcap1.a
19 VERS		= .1
20 
21 OBJECTS=	$(mvecOBJS)
22 
23 include ../Makefile.com
24 
25 CPPFLAGS	+= -D_CMOV_INSN -D_SSE_INSN -D_SSE2_INSN
26 MAPFILES	+= mapfile
27 CFLAGS		+= -xtarget=pentium_pro -xarch=sse2
28 
29 ROOTLIBDIR 	= $(ROOTFS_LIBDIR)/libmvec
30 
31 install: 	all $(ROOTLIBDIR) $(ROOTLIBS)
32 
33 include $(SRC)/lib/libm/Makefile.targ
34