xref: /titanic_50/usr/src/lib/libm/i386/Makefile (revision 25c28e83beb90e7c80452a7c818c5e6f73a07dc8)
1*25c28e83SPiotr Jasiukajtis#
2*25c28e83SPiotr Jasiukajtis# This file and its contents are supplied under the terms of the
3*25c28e83SPiotr Jasiukajtis# Common Development and Distribution License ("CDDL"), version 1.0.
4*25c28e83SPiotr Jasiukajtis# You may only use this file in accordance with the terms of version
5*25c28e83SPiotr Jasiukajtis# 1.0 of the CDDL.
6*25c28e83SPiotr Jasiukajtis#
7*25c28e83SPiotr Jasiukajtis# A full copy of the text of the CDDL should have accompanied this
8*25c28e83SPiotr Jasiukajtis# source.  A copy of the CDDL is also available via the Internet at
9*25c28e83SPiotr Jasiukajtis# http://www.illumos.org/license/CDDL.
10*25c28e83SPiotr Jasiukajtis#
11*25c28e83SPiotr Jasiukajtis
12*25c28e83SPiotr Jasiukajtis#
13*25c28e83SPiotr Jasiukajtis# Copyright 2011 Nexenta Systems, Inc.  All rights reserved.
14*25c28e83SPiotr Jasiukajtis#
15*25c28e83SPiotr Jasiukajtis
16*25c28e83SPiotr JasiukajtisTARGET_ARCH=	i386
17*25c28e83SPiotr Jasiukajtisinclude ../Makefile.com
18*25c28e83SPiotr Jasiukajtis
19*25c28e83SPiotr Jasiukajtis#
20*25c28e83SPiotr Jasiukajtis# Without this option GCC will place floats into x87 (or wider) floating point
21*25c28e83SPiotr Jasiukajtis# registers, ending up with better-than-ieee precision.
22*25c28e83SPiotr Jasiukajtis#
23*25c28e83SPiotr JasiukajtisCFLAGS		+= -_gcc=-ffloat-store
24*25c28e83SPiotr Jasiukajtis$(OBJS_M9XSSE)	:= CFLAGS += -xarch=sse2
25*25c28e83SPiotr Jasiukajtis
26*25c28e83SPiotr Jasiukajtisinstall: 	all $(ROOTLIBS) $(ROOTLINKS) $(ROOTLINT)
27*25c28e83SPiotr Jasiukajtis
28*25c28e83SPiotr Jasiukajtisinclude ../Makefile.targ
29