xref: /illumos-gate/usr/src/lib/libm/Makefile.com (revision ddb365bfc9e868ad24ccdcb0dc91af18b10df082)
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
16LIBRARY		= libm.a
17VERS		= .2
18
19LIBMDIR		= $(SRC)/lib/libm
20
21m9xsseOBJS_i386	= \
22		__fex_hdlr.o \
23		__fex_i386.o \
24		__fex_sse.o \
25		__fex_sym.o \
26		fex_log.o
27
28m9xsseOBJS	= $(m9xsseOBJS_$(TARGET_ARCH))
29
30m9xOBJS_amd64	= \
31		__fex_sse.o \
32		feprec.o
33
34m9xOBJS_sparc	= \
35		lrint.o \
36		lrintf.o \
37		lrintl.o \
38		lround.o \
39		lroundf.o \
40		lroundl.o
41
42m9xOBJS_i386	= \
43		__fex_sse.o \
44		feprec.o \
45		lrint.o \
46		lrintf.o \
47		lrintl.o \
48		lround.o \
49		lroundf.o \
50		lroundl.o
51
52#
53# lrint.o, lrintf.o, lrintl.o, lround.o, lroundf.o & lroundl.o are 32-bit only
54#
55m9xOBJS		= \
56		$(m9xOBJS_$(TARGET_ARCH)) \
57		__fex_$(MACH).o \
58		__fex_hdlr.o \
59		__fex_sym.o \
60		fdim.o \
61		fdimf.o \
62		fdiml.o \
63		feexcept.o \
64		fenv.o \
65		feround.o \
66		fex_handler.o \
67		fex_log.o \
68		fma.o \
69		fmaf.o \
70		fmal.o \
71		fmax.o \
72		fmaxf.o \
73		fmaxl.o \
74		fmin.o \
75		fminf.o \
76		fminl.o \
77		frexp.o \
78		frexpf.o \
79		frexpl.o \
80		ldexp.o \
81		ldexpf.o \
82		ldexpl.o \
83		llrint.o \
84		llrintf.o \
85		llrintl.o \
86		llround.o \
87		llroundf.o \
88		llroundl.o \
89		modf.o \
90		modff.o \
91		modfl.o \
92		nan.o \
93		nanf.o \
94		nanl.o \
95		nearbyint.o \
96		nearbyintf.o \
97		nearbyintl.o \
98		nexttoward.o \
99		nexttowardf.o \
100		nexttowardl.o \
101		remquo.o \
102		remquof.o \
103		remquol.o \
104		round.o \
105		roundf.o \
106		roundl.o \
107		scalbln.o \
108		scalblnf.o \
109		scalblnl.o \
110		tgamma.o \
111		tgammaf.o \
112		tgammal.o \
113		trunc.o \
114		truncf.o \
115		truncl.o
116
117OBJS_M9XSSE	= $(m9xsseOBJS:%=pics/%)
118
119COBJS_i386	= \
120		__libx_errno.o
121
122COBJS_sparc	= \
123		$(COBJS_i386) \
124		_TBL_atan.o \
125		_TBL_exp2.o \
126		_TBL_log.o \
127		_TBL_log2.o \
128		_TBL_tan.o \
129		__tan.o \
130		__tanf.o
131
132#
133# atan2pi.o and sincospi.o is for internal use only
134#
135
136COBJS_amd64 = \
137		_TBL_atan.o \
138		_TBL_exp2.o \
139		_TBL_log.o \
140		_TBL_log2.o \
141		__tan.o \
142		__tanf.o \
143		_TBL_tan.o \
144		copysign.o \
145		exp.o \
146		fabs.o \
147		fmod.o \
148		ilogb.o \
149		isnan.o \
150		nextafter.o \
151		remainder.o \
152		rint.o \
153		scalbn.o
154
155COBJS_sparcv9 = $(COBJS_amd64)
156
157COBJS		= \
158		$(COBJS_$(TARGET_ARCH)) \
159		__cos.o \
160		__lgamma.o \
161		__rem_pio2.o \
162		__rem_pio2m.o \
163		__sin.o \
164		__sincos.o \
165		__xpg6.o \
166		_lib_version.o \
167		_SVID_error.o \
168		_TBL_ipio2.o \
169		_TBL_sin.o \
170		acos.o \
171		acosh.o \
172		asin.o \
173		asinh.o \
174		atan.o \
175		atan2.o \
176		atan2pi.o \
177		atanh.o \
178		cbrt.o \
179		ceil.o \
180		cos.o \
181		cosh.o \
182		erf.o \
183		exp10.o \
184		exp2.o \
185		expm1.o \
186		floor.o \
187		gamma.o \
188		gamma_r.o \
189		hypot.o \
190		j0.o \
191		j1.o \
192		jn.o \
193		lgamma.o \
194		lgamma_r.o \
195		log.o \
196		log10.o \
197		log1p.o \
198		log2.o \
199		logb.o \
200		matherr.o \
201		pow.o \
202		scalb.o \
203		signgam.o \
204		significand.o \
205		sin.o \
206		sincos.o \
207		sincospi.o \
208		sinh.o \
209		sqrt.o \
210		tan.o \
211		tanh.o
212
213#
214# LSARC/2003/658 adds isnanl
215#
216QOBJS_sparc	= \
217		_TBL_atanl.o \
218		_TBL_expl.o \
219		_TBL_expm1l.o \
220		_TBL_logl.o \
221		finitel.o \
222		isnanl.o
223
224QOBJS_sparcv9	= $(QOBJS_sparc)
225
226QOBJS_amd64	= \
227		finitel.o \
228		isnanl.o
229
230#
231# atan2pil.o, ieee_funcl.o, rndintl.o, sinpil.o, sincospil.o
232# are for internal use only
233#
234# LSARC/2003/279 adds the following:
235#		gammal.o	1
236#		gammal_r.o	1
237#		j0l.o		2
238#		j1l.o		2
239#		jnl.o		2
240#		lgammal_r.o	1
241#		scalbl.o	1
242#		significandl.o	1
243#
244QOBJS		= \
245		$(QOBJS_$(TARGET_ARCH)) \
246		__cosl.o \
247		__lgammal.o \
248		__poly_libmq.o \
249		__rem_pio2l.o \
250		__sincosl.o \
251		__sinl.o \
252		__tanl.o \
253		_TBL_cosl.o \
254		_TBL_ipio2l.o \
255		_TBL_sinl.o \
256		_TBL_tanl.o \
257		acoshl.o \
258		acosl.o \
259		asinhl.o \
260		asinl.o \
261		atan2l.o \
262		atan2pil.o \
263		atanhl.o \
264		atanl.o \
265		cbrtl.o \
266		copysignl.o \
267		coshl.o \
268		cosl.o \
269		erfl.o \
270		exp10l.o \
271		exp2l.o \
272		expl.o \
273		expm1l.o \
274		fabsl.o \
275		floorl.o \
276		fmodl.o \
277		gammal.o \
278		gammal_r.o \
279		hypotl.o \
280		ieee_funcl.o \
281		ilogbl.o \
282		j0l.o \
283		j1l.o \
284		jnl.o \
285		lgammal.o \
286		lgammal_r.o \
287		log10l.o \
288		log1pl.o \
289		log2l.o \
290		logbl.o \
291		logl.o \
292		nextafterl.o \
293		powl.o \
294		remainderl.o \
295		rintl.o \
296		rndintl.o \
297		scalbl.o \
298		scalbnl.o \
299		signgaml.o \
300		significandl.o \
301		sincosl.o \
302		sincospil.o \
303		sinhl.o \
304		sinl.o \
305		sinpil.o \
306		sqrtl.o \
307		tanhl.o \
308		tanl.o
309
310#
311# LSARC/2003/658 adds isnanf
312#
313ROBJS_sparc	= \
314		__cosf.o \
315		__sincosf.o \
316		__sinf.o \
317		isnanf.o
318
319ROBJS_sparcv9	= $(ROBJS_sparc)
320
321ROBJS_amd64	= \
322		isnanf.o \
323		__cosf.o \
324		__sincosf.o \
325		__sinf.o
326
327#
328# atan2pif.o, sincosf.o, sincospif.o are for internal use only
329#
330# LSARC/2003/279 adds the following:
331#		besself.o	6
332#		scalbf.o	1
333#		gammaf.o	1
334#		gammaf_r.o	1
335#		lgammaf_r.o	1
336#		significandf.o	1
337#
338ROBJS		= \
339		$(ROBJS_$(TARGET_ARCH)) \
340		_TBL_r_atan_.o \
341		acosf.o \
342		acoshf.o \
343		asinf.o \
344		asinhf.o \
345		atan2f.o \
346		atan2pif.o \
347		atanf.o \
348		atanhf.o \
349		besself.o \
350		cbrtf.o \
351		copysignf.o \
352		cosf.o \
353		coshf.o \
354		erff.o \
355		exp10f.o \
356		exp2f.o \
357		expf.o \
358		expm1f.o \
359		fabsf.o \
360		floorf.o \
361		fmodf.o \
362		gammaf.o \
363		gammaf_r.o \
364		hypotf.o \
365		ilogbf.o \
366		lgammaf.o \
367		lgammaf_r.o \
368		log10f.o \
369		log1pf.o \
370		log2f.o \
371		logbf.o \
372		logf.o \
373		nextafterf.o \
374		powf.o \
375		remainderf.o \
376		rintf.o \
377		scalbf.o \
378		scalbnf.o \
379		signgamf.o \
380		significandf.o \
381		sinf.o \
382		sinhf.o \
383		sincosf.o \
384		sincospif.o \
385		sqrtf.o \
386		tanf.o \
387		tanhf.o
388
389#
390# LSARC/2003/658 adds isnanf/isnanl
391#
392
393SOBJS_sparc	= \
394		copysign.o \
395		exp.o \
396		fabs.o \
397		fmod.o \
398		ilogb.o \
399		isnan.o \
400		nextafter.o \
401		remainder.o \
402		rint.o \
403		scalbn.o
404
405SOBJS_i386	= \
406		__reduction.o \
407		finitef.o \
408		finitel.o \
409		isnanf.o \
410		isnanl.o \
411		$(SOBJS_sparc)
412
413SOBJS_amd64	= \
414		__swapFLAGS.o
415#		_xtoll.o \
416#		_xtoull.o \
417
418
419SOBJS		= \
420		$(SOBJS_$(TARGET_ARCH))
421
422complexOBJS	= \
423		cabs.o \
424		cabsf.o \
425		cabsl.o \
426		cacos.o \
427		cacosf.o \
428		cacosh.o \
429		cacoshf.o \
430		cacoshl.o \
431		cacosl.o \
432		carg.o \
433		cargf.o \
434		cargl.o \
435		casin.o \
436		casinf.o \
437		casinh.o \
438		casinhf.o \
439		casinhl.o \
440		casinl.o \
441		catan.o \
442		catanf.o \
443		catanh.o \
444		catanhf.o \
445		catanhl.o \
446		catanl.o \
447		ccos.o \
448		ccosf.o \
449		ccosh.o \
450		ccoshf.o \
451		ccoshl.o \
452		ccosl.o \
453		cexp.o \
454		cexpf.o \
455		cexpl.o \
456		cimag.o \
457		cimagf.o \
458		cimagl.o \
459		clog.o \
460		clogf.o \
461		clogl.o \
462		conj.o \
463		conjf.o \
464		conjl.o \
465		cpow.o \
466		cpowf.o \
467		cpowl.o \
468		cproj.o \
469		cprojf.o \
470		cprojl.o \
471		creal.o \
472		crealf.o \
473		creall.o \
474		csin.o \
475		csinf.o \
476		csinh.o \
477		csinhf.o \
478		csinhl.o \
479		csinl.o \
480		csqrt.o \
481		csqrtf.o \
482		csqrtl.o \
483		ctan.o \
484		ctanf.o \
485		ctanh.o \
486		ctanhf.o \
487		ctanhl.o \
488		ctanl.o \
489		k_atan2.o \
490		k_atan2l.o \
491		k_cexp.o \
492		k_cexpl.o \
493		k_clog_r.o \
494		k_clog_rl.o
495
496OBJECTS		= $(COBJS) $(ROBJS) $(QOBJS) $(SOBJS) $(m9xOBJS) $(complexOBJS)
497
498include		$(SRC)/lib/Makefile.lib
499include		$(LIBMDIR)/Makefile.libm.com
500include		$(SRC)/lib/Makefile.rootfs
501
502SRCDIR		= ../common/
503LIBS		= $(DYNLIB)
504
505CFLAGS		+= $(C_BIGPICFLAGS)
506CFLAGS64	+= $(C_BIGPICFLAGS)
507
508SRCS_LD_i386_amd64 = \
509	../common/LD/finitel.c \
510	../common/LD/isnanl.c \
511	../common/LD/nextafterl.c
512
513SRCS_LD = \
514	$(SRCS_LD_i386_$(TARGET_ARCH)) \
515	../common/LD/__cosl.c \
516	../common/LD/__lgammal.c \
517	../common/LD/__poly_libmq.c \
518	../common/LD/__rem_pio2l.c \
519	../common/LD/__sincosl.c \
520	../common/LD/__sinl.c \
521	../common/LD/__tanl.c \
522	../common/LD/_TBL_cosl.c \
523	../common/LD/_TBL_ipio2l.c \
524	../common/LD/_TBL_sinl.c \
525	../common/LD/_TBL_tanl.c \
526	../common/LD/acoshl.c \
527	../common/LD/asinhl.c \
528	../common/LD/atan2pil.c \
529	../common/LD/atanhl.c \
530	../common/LD/cbrtl.c \
531	../common/LD/coshl.c \
532	../common/LD/cosl.c \
533	../common/LD/erfl.c \
534	../common/LD/gammal.c \
535	../common/LD/gammal_r.c \
536	../common/LD/hypotl.c \
537	../common/LD/j0l.c \
538	../common/LD/j1l.c \
539	../common/LD/jnl.c \
540	../common/LD/lgammal.c \
541	../common/LD/lgammal_r.c \
542	../common/LD/log1pl.c \
543	../common/LD/logbl.c \
544	../common/LD/scalbl.c \
545	../common/LD/signgaml.c \
546	../common/LD/significandl.c \
547	../common/LD/sincosl.c \
548	../common/LD/sincospil.c \
549	../common/LD/sinhl.c \
550	../common/LD/sinl.c \
551	../common/LD/sinpil.c \
552	../common/LD/tanhl.c \
553	../common/LD/tanl.c
554
555SRCS_LD_i386 = \
556	$(SRCS_LD)
557
558SRCS_R_amd64 = \
559	../common/R/__tanf.c \
560	../common/R/isnanf.c \
561	../common/R/__cosf.c \
562	../common/R/__sincosf.c \
563	../common/R/__sinf.c \
564	../common/R/acosf.c \
565	../common/R/asinf.c \
566	../common/R/atan2f.c \
567	../common/R/copysignf.c \
568	../common/R/exp10f.c \
569	../common/R/exp2f.c \
570	../common/R/expm1f.c \
571	../common/R/fabsf.c \
572	../common/R/hypotf.c \
573	../common/R/ilogbf.c \
574	../common/R/log10f.c \
575	../common/R/log2f.c \
576	../common/R/nextafterf.c \
577	../common/R/powf.c \
578	../common/R/rintf.c \
579	../common/R/scalbnf.c
580
581# sparc + sparcv9
582SRCS_R_sparc = \
583	../common/R/__tanf.c \
584	../common/R/__cosf.c \
585	../common/R/__sincosf.c \
586	../common/R/__sinf.c \
587	../common/R/isnanf.c \
588	../common/R/acosf.c \
589	../common/R/asinf.c \
590	../common/R/atan2f.c \
591	../common/R/copysignf.c \
592	../common/R/exp10f.c \
593	../common/R/exp2f.c \
594	../common/R/expm1f.c \
595	../common/R/fabsf.c \
596	../common/R/fmodf.c \
597	../common/R/hypotf.c \
598	../common/R/ilogbf.c \
599	../common/R/log10f.c \
600	../common/R/log2f.c \
601	../common/R/nextafterf.c \
602	../common/R/powf.c \
603	../common/R/remainderf.c \
604	../common/R/rintf.c \
605	../common/R/scalbnf.c
606
607SRCS_R = \
608	$(SRCS_R_$(MACH)) \
609	$(SRCS_R_$(TARGET_ARCH)) \
610	../common/R/_TBL_r_atan_.c \
611	../common/R/acoshf.c \
612	../common/R/asinhf.c \
613	../common/R/atan2pif.c \
614	../common/R/atanf.c \
615	../common/R/atanhf.c \
616	../common/R/besself.c \
617	../common/R/cbrtf.c \
618	../common/R/cosf.c \
619	../common/R/coshf.c \
620	../common/R/erff.c \
621	../common/R/expf.c \
622	../common/R/floorf.c \
623	../common/R/gammaf.c \
624	../common/R/gammaf_r.c \
625	../common/R/lgammaf.c \
626	../common/R/lgammaf_r.c \
627	../common/R/log1pf.c \
628	../common/R/logbf.c \
629	../common/R/logf.c \
630	../common/R/scalbf.c \
631	../common/R/signgamf.c \
632	../common/R/significandf.c \
633	../common/R/sinf.c \
634	../common/R/sinhf.c \
635	../common/R/sincosf.c \
636	../common/R/sincospif.c \
637	../common/R/sqrtf.c \
638	../common/R/tanf.c \
639	../common/R/tanhf.c
640
641SRCS_Q = \
642	../common/Q/_TBL_atanl.c \
643	../common/Q/_TBL_expl.c \
644	../common/Q/_TBL_expm1l.c \
645	../common/Q/_TBL_logl.c \
646	../common/Q/finitel.c \
647	../common/Q/isnanl.c \
648	../common/Q/__cosl.c \
649	../common/Q/__lgammal.c \
650	../common/Q/__poly_libmq.c \
651	../common/Q/__rem_pio2l.c \
652	../common/Q/__sincosl.c \
653	../common/Q/__sinl.c \
654	../common/Q/__tanl.c \
655	../common/Q/_TBL_cosl.c \
656	../common/Q/_TBL_ipio2l.c \
657	../common/Q/_TBL_sinl.c \
658	../common/Q/_TBL_tanl.c \
659	../common/Q/acoshl.c \
660	../common/Q/acosl.c \
661	../common/Q/asinhl.c \
662	../common/Q/asinl.c \
663	../common/Q/atan2l.c \
664	../common/Q/atan2pil.c \
665	../common/Q/atanhl.c \
666	../common/Q/atanl.c \
667	../common/Q/cbrtl.c \
668	../common/Q/copysignl.c \
669	../common/Q/coshl.c \
670	../common/Q/cosl.c \
671	../common/Q/erfl.c \
672	../common/Q/exp10l.c \
673	../common/Q/exp2l.c \
674	../common/Q/expl.c \
675	../common/Q/expm1l.c \
676	../common/Q/fabsl.c \
677	../common/Q/floorl.c \
678	../common/Q/fmodl.c \
679	../common/Q/gammal.c \
680	../common/Q/gammal_r.c \
681	../common/Q/hypotl.c \
682	../common/Q/ieee_funcl.c \
683	../common/Q/ilogbl.c \
684	../common/Q/j0l.c \
685	../common/Q/j1l.c \
686	../common/Q/jnl.c \
687	../common/Q/lgammal.c \
688	../common/Q/lgammal_r.c \
689	../common/Q/log10l.c \
690	../common/Q/log1pl.c \
691	../common/Q/log2l.c \
692	../common/Q/logbl.c \
693	../common/Q/logl.c \
694	../common/Q/nextafterl.c \
695	../common/Q/powl.c \
696	../common/Q/remainderl.c \
697	../common/Q/rintl.c \
698	../common/Q/rndintl.c \
699	../common/Q/scalbl.c \
700	../common/Q/scalbnl.c \
701	../common/Q/signgaml.c \
702	../common/Q/significandl.c \
703	../common/Q/sincosl.c \
704	../common/Q/sincospil.c \
705	../common/Q/sinhl.c \
706	../common/Q/sinl.c \
707	../common/Q/sinpil.c \
708	../common/Q/sqrtl.c \
709	../common/Q/tanhl.c \
710	../common/Q/tanl.c
711
712SRCS_Q_sparc = \
713	$(SRCS_Q)
714
715SRCS_complex = \
716	../common/complex/cabs.c \
717	../common/complex/cabsf.c \
718	../common/complex/cabsl.c \
719	../common/complex/cacos.c \
720	../common/complex/cacosf.c \
721	../common/complex/cacosh.c \
722	../common/complex/cacoshf.c \
723	../common/complex/cacoshl.c \
724	../common/complex/cacosl.c \
725	../common/complex/carg.c \
726	../common/complex/cargf.c \
727	../common/complex/cargl.c \
728	../common/complex/casin.c \
729	../common/complex/casinf.c \
730	../common/complex/casinh.c \
731	../common/complex/casinhf.c \
732	../common/complex/casinhl.c \
733	../common/complex/casinl.c \
734	../common/complex/catan.c \
735	../common/complex/catanf.c \
736	../common/complex/catanh.c \
737	../common/complex/catanhf.c \
738	../common/complex/catanhl.c \
739	../common/complex/catanl.c \
740	../common/complex/ccos.c \
741	../common/complex/ccosf.c \
742	../common/complex/ccosh.c \
743	../common/complex/ccoshf.c \
744	../common/complex/ccoshl.c \
745	../common/complex/ccosl.c \
746	../common/complex/cexp.c \
747	../common/complex/cexpf.c \
748	../common/complex/cexpl.c \
749	../common/complex/cimag.c \
750	../common/complex/cimagf.c \
751	../common/complex/cimagl.c \
752	../common/complex/clog.c \
753	../common/complex/clogf.c \
754	../common/complex/clogl.c \
755	../common/complex/conj.c \
756	../common/complex/conjf.c \
757	../common/complex/conjl.c \
758	../common/complex/cpow.c \
759	../common/complex/cpowf.c \
760	../common/complex/cpowl.c \
761	../common/complex/cproj.c \
762	../common/complex/cprojf.c \
763	../common/complex/cprojl.c \
764	../common/complex/creal.c \
765	../common/complex/crealf.c \
766	../common/complex/creall.c \
767	../common/complex/csin.c \
768	../common/complex/csinf.c \
769	../common/complex/csinh.c \
770	../common/complex/csinhf.c \
771	../common/complex/csinhl.c \
772	../common/complex/csinl.c \
773	../common/complex/csqrt.c \
774	../common/complex/csqrtf.c \
775	../common/complex/csqrtl.c \
776	../common/complex/ctan.c \
777	../common/complex/ctanf.c \
778	../common/complex/ctanh.c \
779	../common/complex/ctanhf.c \
780	../common/complex/ctanhl.c \
781	../common/complex/ctanl.c \
782	../common/complex/k_atan2.c \
783	../common/complex/k_atan2l.c \
784	../common/complex/k_cexp.c \
785	../common/complex/k_cexpl.c \
786	../common/complex/k_clog_r.c \
787	../common/complex/k_clog_rl.c
788
789SRCS_m9x_i386 = \
790	../common/m9x/__fex_sse.c \
791	../common/m9x/feprec.c \
792	../common/m9x/__fex_i386.c
793
794SRCS_m9x_i386_i386 = \
795	../common/m9x/lroundf.c
796
797SRCS_m9x_i386_amd64 = \
798	../common/m9x/llrint.c \
799	../common/m9x/llrintf.c \
800	../common/m9x/llrintl.c \
801	../common/m9x/nexttowardl.c \
802	../common/m9x/remquo.c \
803	../common/m9x/remquof.c \
804	../common/m9x/round.c \
805	../common/m9x/roundl.c \
806	../common/m9x/scalbln.c \
807	../common/m9x/scalblnf.c \
808	../common/m9x/scalblnl.c \
809	../common/m9x/trunc.c \
810	../common/m9x/truncl.c
811
812# sparc
813SRCS_m9x_sparc_sparc = \
814	../common/m9x/lrint.c \
815	../common/m9x/lrintf.c \
816	../common/m9x/lrintl.c \
817	../common/m9x/lround.c \
818	../common/m9x/lroundf.c \
819	../common/m9x/lroundl.c
820
821SRCS_m9x_sparc = \
822	../common/m9x/__fex_sparc.c \
823	../common/m9x/llrint.c \
824	../common/m9x/llrintf.c \
825	../common/m9x/llrintl.c \
826	../common/m9x/nexttowardl.c \
827	../common/m9x/remquo.c \
828	../common/m9x/remquof.c \
829	../common/m9x/remquol.c \
830	../common/m9x/round.c \
831	../common/m9x/roundl.c \
832	../common/m9x/scalbln.c \
833	../common/m9x/scalblnf.c \
834	../common/m9x/scalblnl.c \
835	../common/m9x/trunc.c \
836	../common/m9x/truncl.c
837
838SRCS_m9x = \
839	$(SRCS_m9x_$(MACH)) \
840	$(SRCS_m9x_sparc_$(TARGET_ARCH)) \
841	$(SRCS_m9x_i386_$(TARGET_ARCH)) \
842	../common/m9x/__fex_hdlr.c \
843	../common/m9x/__fex_sym.c \
844	../common/m9x/fdim.c \
845	../common/m9x/fdimf.c \
846	../common/m9x/fdiml.c \
847	../common/m9x/feexcept.c \
848	../common/m9x/fenv.c \
849	../common/m9x/feround.c \
850	../common/m9x/fex_handler.c \
851	../common/m9x/fex_log.c \
852	../common/m9x/fma.c \
853	../common/m9x/fmaf.c \
854	../common/m9x/fmal.c \
855	../common/m9x/fmax.c \
856	../common/m9x/fmaxf.c \
857	../common/m9x/fmaxl.c \
858	../common/m9x/fmin.c \
859	../common/m9x/fminf.c \
860	../common/m9x/fminl.c \
861	../common/m9x/frexp.c \
862	../common/m9x/frexpf.c \
863	../common/m9x/frexpl.c \
864	../common/m9x/ldexp.c \
865	../common/m9x/ldexpf.c \
866	../common/m9x/ldexpl.c \
867	../common/m9x/llround.c \
868	../common/m9x/llroundf.c \
869	../common/m9x/llroundl.c \
870	../common/m9x/modf.c \
871	../common/m9x/modff.c \
872	../common/m9x/modfl.c \
873	../common/m9x/nan.c \
874	../common/m9x/nanf.c \
875	../common/m9x/nanl.c \
876	../common/m9x/nearbyint.c \
877	../common/m9x/nearbyintf.c \
878	../common/m9x/nearbyintl.c \
879	../common/m9x/nexttoward.c \
880	../common/m9x/nexttowardf.c \
881	../common/m9x/roundf.c \
882	../common/m9x/tgamma.c \
883	../common/m9x/tgammaf.c \
884	../common/m9x/tgammal.c \
885	../common/m9x/truncf.c
886
887SRCS_C_sparc = \
888	../common/C/__tan.c \
889	../common/C/_TBL_atan.c \
890	../common/C/_TBL_exp2.c \
891	../common/C/_TBL_log.c \
892	../common/C/_TBL_log2.c \
893	../common/C/_TBL_tan.c \
894	../common/C/acos.c \
895	../common/C/asin.c \
896	../common/C/atan.c \
897	../common/C/atan2.c \
898	../common/C/ceil.c \
899	../common/C/cos.c \
900	../common/C/exp.c \
901	../common/C/exp10.c \
902	../common/C/exp2.c \
903	../common/C/expm1.c \
904	../common/C/floor.c \
905	../common/C/fmod.c \
906	../common/C/hypot.c \
907	../common/C/ilogb.c \
908	../common/C/isnan.c \
909	../common/C/log.c \
910	../common/C/log10.c \
911	../common/C/log2.c \
912	../common/C/pow.c \
913	../common/C/remainder.c \
914	../common/C/rint.c \
915	../common/C/scalbn.c \
916	../common/C/sin.c \
917	../common/C/sincos.c \
918	../common/C/tan.c
919
920SRCS_i386_i386	= \
921	../common/C/__libx_errno.c
922
923SRCS_sparc_sparc = \
924	$(SRCS_i386_i386)
925
926SRCS_sparc_sparcv9 = \
927	../common/C/copysign.c \
928	../common/C/fabs.c \
929	../common/C/nextafter.c
930
931SRCS_i386_amd64 = \
932	../common/C/_TBL_atan.c \
933	../common/C/_TBL_exp2.c \
934	../common/C/_TBL_log.c \
935	../common/C/_TBL_log2.c \
936	../common/C/__tan.c \
937	../common/C/_TBL_tan.c \
938	../common/C/copysign.c \
939	../common/C/exp.c \
940	../common/C/fabs.c \
941	../common/C/ilogb.c \
942	../common/C/isnan.c \
943	../common/C/nextafter.c \
944	../common/C/rint.c \
945	../common/C/scalbn.c \
946	../common/C/acos.c \
947	../common/C/asin.c \
948	../common/C/atan.c \
949	../common/C/atan2.c \
950	../common/C/ceil.c \
951	../common/C/cos.c \
952	../common/C/exp10.c \
953	../common/C/exp2.c \
954	../common/C/expm1.c \
955	../common/C/floor.c \
956	../common/C/hypot.c \
957	../common/C/log.c \
958	../common/C/log10.c \
959	../common/C/log2.c \
960	../common/C/pow.c \
961	../common/C/sin.c \
962	../common/C/sincos.c \
963	../common/C/tan.c
964
965SRCS_C = \
966	$(SRCS_C_$(MACH)) \
967	$(SRCS_C_i386_$(TARGET_ARCH)) \
968	../common/C/__cos.c \
969	../common/C/__lgamma.c \
970	../common/C/__rem_pio2.c \
971	../common/C/__rem_pio2m.c \
972	../common/C/__sin.c \
973	../common/C/__sincos.c \
974	../common/C/__xpg6.c \
975	../common/C/_lib_version.c \
976	../common/C/_SVID_error.c \
977	../common/C/_TBL_ipio2.c \
978	../common/C/_TBL_sin.c \
979	../common/C/acosh.c \
980	../common/C/asinh.c \
981	../common/C/atan2pi.c \
982	../common/C/atanh.c \
983	../common/C/cbrt.c \
984	../common/C/cosh.c \
985	../common/C/erf.c \
986	../common/C/gamma.c \
987	../common/C/gamma_r.c \
988	../common/C/j0.c \
989	../common/C/j1.c \
990	../common/C/jn.c \
991	../common/C/lgamma.c \
992	../common/C/lgamma_r.c \
993	../common/C/log1p.c \
994	../common/C/logb.c \
995	../common/C/matherr.c \
996	../common/C/scalb.c \
997	../common/C/signgam.c \
998	../common/C/significand.c \
999	../common/C/sincospi.c \
1000	../common/C/sinh.c \
1001	../common/C/sqrt.c \
1002	../common/C/tanh.c
1003
1004SRCS	= \
1005	$(SRCS_Q_$(MACH)) \
1006	$(SRCS_LD_$(MACH)) \
1007	$(SRCS_R) \
1008	$(SRCS_complex) \
1009	$(SRCS_C)
1010
1011.KEEP_STATE:
1012
1013all:	$(LIBS)
1014