xref: /illumos-gate/usr/src/lib/libm/Makefile.com (revision fc8ae2ec4282de7ec96f48e11078345f3dc0ac3d)
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) $(LINTLIB)
504
505LINTERROFF	= -erroff=E_FUNC_SET_NOT_USED
506LINTERROFF	+= -erroff=E_FUNC_RET_ALWAYS_IGNOR2
507LINTERROFF	+= -erroff=E_FUNC_RET_MAYBE_IGNORED2
508LINTERROFF	+= -erroff=E_IMPL_CONV_RETURN
509LINTERROFF	+= -erroff=E_NAME_MULTIPLY_DEF2
510LINTFLAGS	+= $(LINTERROFF)
511LINTFLAGS64	+= $(LINTERROFF)
512LINTFLAGS64	+= -errchk=longptr64
513
514CFLAGS		+= $(C_BIGPICFLAGS)
515CFLAGS64	+= $(C_BIGPICFLAGS)
516
517m9x_IL		= $(LIBMDIR)/common/m9x/__fenv_$(TARGET_ARCH).il
518
519SRCS_LD_i386_amd64 = \
520	../common/LD/finitel.c \
521	../common/LD/isnanl.c \
522	../common/LD/nextafterl.c
523
524SRCS_LD = \
525	$(SRCS_LD_i386_$(TARGET_ARCH)) \
526	../common/LD/__cosl.c \
527	../common/LD/__lgammal.c \
528	../common/LD/__poly_libmq.c \
529	../common/LD/__rem_pio2l.c \
530	../common/LD/__sincosl.c \
531	../common/LD/__sinl.c \
532	../common/LD/__tanl.c \
533	../common/LD/_TBL_cosl.c \
534	../common/LD/_TBL_ipio2l.c \
535	../common/LD/_TBL_sinl.c \
536	../common/LD/_TBL_tanl.c \
537	../common/LD/acoshl.c \
538	../common/LD/asinhl.c \
539	../common/LD/atan2pil.c \
540	../common/LD/atanhl.c \
541	../common/LD/cbrtl.c \
542	../common/LD/coshl.c \
543	../common/LD/cosl.c \
544	../common/LD/erfl.c \
545	../common/LD/gammal.c \
546	../common/LD/gammal_r.c \
547	../common/LD/hypotl.c \
548	../common/LD/j0l.c \
549	../common/LD/j1l.c \
550	../common/LD/jnl.c \
551	../common/LD/lgammal.c \
552	../common/LD/lgammal_r.c \
553	../common/LD/log1pl.c \
554	../common/LD/logbl.c \
555	../common/LD/scalbl.c \
556	../common/LD/signgaml.c \
557	../common/LD/significandl.c \
558	../common/LD/sincosl.c \
559	../common/LD/sincospil.c \
560	../common/LD/sinhl.c \
561	../common/LD/sinl.c \
562	../common/LD/sinpil.c \
563	../common/LD/tanhl.c \
564	../common/LD/tanl.c
565
566SRCS_LD_i386 = \
567	$(SRCS_LD)
568
569SRCS_R_amd64 = \
570	../common/R/__tanf.c \
571	../common/R/isnanf.c \
572	../common/R/__cosf.c \
573	../common/R/__sincosf.c \
574	../common/R/__sinf.c \
575	../common/R/acosf.c \
576	../common/R/asinf.c \
577	../common/R/atan2f.c \
578	../common/R/copysignf.c \
579	../common/R/exp10f.c \
580	../common/R/exp2f.c \
581	../common/R/expm1f.c \
582	../common/R/fabsf.c \
583	../common/R/hypotf.c \
584	../common/R/ilogbf.c \
585	../common/R/log10f.c \
586	../common/R/log2f.c \
587	../common/R/nextafterf.c \
588	../common/R/powf.c \
589	../common/R/rintf.c \
590	../common/R/scalbnf.c
591
592# sparc + sparcv9
593SRCS_R_sparc = \
594	../common/R/__tanf.c \
595	../common/R/__cosf.c \
596	../common/R/__sincosf.c \
597	../common/R/__sinf.c \
598	../common/R/isnanf.c \
599	../common/R/acosf.c \
600	../common/R/asinf.c \
601	../common/R/atan2f.c \
602	../common/R/copysignf.c \
603	../common/R/exp10f.c \
604	../common/R/exp2f.c \
605	../common/R/expm1f.c \
606	../common/R/fabsf.c \
607	../common/R/fmodf.c \
608	../common/R/hypotf.c \
609	../common/R/ilogbf.c \
610	../common/R/log10f.c \
611	../common/R/log2f.c \
612	../common/R/nextafterf.c \
613	../common/R/powf.c \
614	../common/R/remainderf.c \
615	../common/R/rintf.c \
616	../common/R/scalbnf.c
617
618SRCS_R = \
619	$(SRCS_R_$(MACH)) \
620	$(SRCS_R_$(TARGET_ARCH)) \
621	../common/R/_TBL_r_atan_.c \
622	../common/R/acoshf.c \
623	../common/R/asinhf.c \
624	../common/R/atan2pif.c \
625	../common/R/atanf.c \
626	../common/R/atanhf.c \
627	../common/R/besself.c \
628	../common/R/cbrtf.c \
629	../common/R/cosf.c \
630	../common/R/coshf.c \
631	../common/R/erff.c \
632	../common/R/expf.c \
633	../common/R/floorf.c \
634	../common/R/gammaf.c \
635	../common/R/gammaf_r.c \
636	../common/R/lgammaf.c \
637	../common/R/lgammaf_r.c \
638	../common/R/log1pf.c \
639	../common/R/logbf.c \
640	../common/R/logf.c \
641	../common/R/scalbf.c \
642	../common/R/signgamf.c \
643	../common/R/significandf.c \
644	../common/R/sinf.c \
645	../common/R/sinhf.c \
646	../common/R/sincosf.c \
647	../common/R/sincospif.c \
648	../common/R/sqrtf.c \
649	../common/R/tanf.c \
650	../common/R/tanhf.c
651
652SRCS_Q = \
653	../common/Q/_TBL_atanl.c \
654	../common/Q/_TBL_expl.c \
655	../common/Q/_TBL_expm1l.c \
656	../common/Q/_TBL_logl.c \
657	../common/Q/finitel.c \
658	../common/Q/isnanl.c \
659	../common/Q/__cosl.c \
660	../common/Q/__lgammal.c \
661	../common/Q/__poly_libmq.c \
662	../common/Q/__rem_pio2l.c \
663	../common/Q/__sincosl.c \
664	../common/Q/__sinl.c \
665	../common/Q/__tanl.c \
666	../common/Q/_TBL_cosl.c \
667	../common/Q/_TBL_ipio2l.c \
668	../common/Q/_TBL_sinl.c \
669	../common/Q/_TBL_tanl.c \
670	../common/Q/acoshl.c \
671	../common/Q/acosl.c \
672	../common/Q/asinhl.c \
673	../common/Q/asinl.c \
674	../common/Q/atan2l.c \
675	../common/Q/atan2pil.c \
676	../common/Q/atanhl.c \
677	../common/Q/atanl.c \
678	../common/Q/cbrtl.c \
679	../common/Q/copysignl.c \
680	../common/Q/coshl.c \
681	../common/Q/cosl.c \
682	../common/Q/erfl.c \
683	../common/Q/exp10l.c \
684	../common/Q/exp2l.c \
685	../common/Q/expl.c \
686	../common/Q/expm1l.c \
687	../common/Q/fabsl.c \
688	../common/Q/floorl.c \
689	../common/Q/fmodl.c \
690	../common/Q/gammal.c \
691	../common/Q/gammal_r.c \
692	../common/Q/hypotl.c \
693	../common/Q/ieee_funcl.c \
694	../common/Q/ilogbl.c \
695	../common/Q/j0l.c \
696	../common/Q/j1l.c \
697	../common/Q/jnl.c \
698	../common/Q/lgammal.c \
699	../common/Q/lgammal_r.c \
700	../common/Q/log10l.c \
701	../common/Q/log1pl.c \
702	../common/Q/log2l.c \
703	../common/Q/logbl.c \
704	../common/Q/logl.c \
705	../common/Q/nextafterl.c \
706	../common/Q/powl.c \
707	../common/Q/remainderl.c \
708	../common/Q/rintl.c \
709	../common/Q/rndintl.c \
710	../common/Q/scalbl.c \
711	../common/Q/scalbnl.c \
712	../common/Q/signgaml.c \
713	../common/Q/significandl.c \
714	../common/Q/sincosl.c \
715	../common/Q/sincospil.c \
716	../common/Q/sinhl.c \
717	../common/Q/sinl.c \
718	../common/Q/sinpil.c \
719	../common/Q/sqrtl.c \
720	../common/Q/tanhl.c \
721	../common/Q/tanl.c
722
723SRCS_Q_sparc = \
724	$(SRCS_Q)
725
726SRCS_complex = \
727	../common/complex/cabs.c \
728	../common/complex/cabsf.c \
729	../common/complex/cabsl.c \
730	../common/complex/cacos.c \
731	../common/complex/cacosf.c \
732	../common/complex/cacosh.c \
733	../common/complex/cacoshf.c \
734	../common/complex/cacoshl.c \
735	../common/complex/cacosl.c \
736	../common/complex/carg.c \
737	../common/complex/cargf.c \
738	../common/complex/cargl.c \
739	../common/complex/casin.c \
740	../common/complex/casinf.c \
741	../common/complex/casinh.c \
742	../common/complex/casinhf.c \
743	../common/complex/casinhl.c \
744	../common/complex/casinl.c \
745	../common/complex/catan.c \
746	../common/complex/catanf.c \
747	../common/complex/catanh.c \
748	../common/complex/catanhf.c \
749	../common/complex/catanhl.c \
750	../common/complex/catanl.c \
751	../common/complex/ccos.c \
752	../common/complex/ccosf.c \
753	../common/complex/ccosh.c \
754	../common/complex/ccoshf.c \
755	../common/complex/ccoshl.c \
756	../common/complex/ccosl.c \
757	../common/complex/cexp.c \
758	../common/complex/cexpf.c \
759	../common/complex/cexpl.c \
760	../common/complex/cimag.c \
761	../common/complex/cimagf.c \
762	../common/complex/cimagl.c \
763	../common/complex/clog.c \
764	../common/complex/clogf.c \
765	../common/complex/clogl.c \
766	../common/complex/conj.c \
767	../common/complex/conjf.c \
768	../common/complex/conjl.c \
769	../common/complex/cpow.c \
770	../common/complex/cpowf.c \
771	../common/complex/cpowl.c \
772	../common/complex/cproj.c \
773	../common/complex/cprojf.c \
774	../common/complex/cprojl.c \
775	../common/complex/creal.c \
776	../common/complex/crealf.c \
777	../common/complex/creall.c \
778	../common/complex/csin.c \
779	../common/complex/csinf.c \
780	../common/complex/csinh.c \
781	../common/complex/csinhf.c \
782	../common/complex/csinhl.c \
783	../common/complex/csinl.c \
784	../common/complex/csqrt.c \
785	../common/complex/csqrtf.c \
786	../common/complex/csqrtl.c \
787	../common/complex/ctan.c \
788	../common/complex/ctanf.c \
789	../common/complex/ctanh.c \
790	../common/complex/ctanhf.c \
791	../common/complex/ctanhl.c \
792	../common/complex/ctanl.c \
793	../common/complex/k_atan2.c \
794	../common/complex/k_atan2l.c \
795	../common/complex/k_cexp.c \
796	../common/complex/k_cexpl.c \
797	../common/complex/k_clog_r.c \
798	../common/complex/k_clog_rl.c
799
800SRCS_m9x_i386 = \
801	../common/m9x/__fex_sse.c \
802	../common/m9x/feprec.c \
803	../common/m9x/__fex_i386.c
804
805SRCS_m9x_i386_i386 = \
806	../common/m9x/lroundf.c
807
808SRCS_m9x_i386_amd64 = \
809	../common/m9x/llrint.c \
810	../common/m9x/llrintf.c \
811	../common/m9x/llrintl.c \
812	../common/m9x/nexttowardl.c \
813	../common/m9x/remquo.c \
814	../common/m9x/remquof.c \
815	../common/m9x/round.c \
816	../common/m9x/roundl.c \
817	../common/m9x/scalbln.c \
818	../common/m9x/scalblnf.c \
819	../common/m9x/scalblnl.c \
820	../common/m9x/trunc.c \
821	../common/m9x/truncl.c
822
823# sparc
824SRCS_m9x_sparc_sparc = \
825	../common/m9x/lrint.c \
826	../common/m9x/lrintf.c \
827	../common/m9x/lrintl.c \
828	../common/m9x/lround.c \
829	../common/m9x/lroundf.c \
830	../common/m9x/lroundl.c
831
832SRCS_m9x_sparc = \
833	../common/m9x/__fex_sparc.c \
834	../common/m9x/llrint.c \
835	../common/m9x/llrintf.c \
836	../common/m9x/llrintl.c \
837	../common/m9x/nexttowardl.c \
838	../common/m9x/remquo.c \
839	../common/m9x/remquof.c \
840	../common/m9x/remquol.c \
841	../common/m9x/round.c \
842	../common/m9x/roundl.c \
843	../common/m9x/scalbln.c \
844	../common/m9x/scalblnf.c \
845	../common/m9x/scalblnl.c \
846	../common/m9x/trunc.c \
847	../common/m9x/truncl.c
848
849SRCS_m9x = \
850	$(SRCS_m9x_$(MACH)) \
851	$(SRCS_m9x_sparc_$(TARGET_ARCH)) \
852	$(SRCS_m9x_i386_$(TARGET_ARCH)) \
853	../common/m9x/__fex_hdlr.c \
854	../common/m9x/__fex_sym.c \
855	../common/m9x/fdim.c \
856	../common/m9x/fdimf.c \
857	../common/m9x/fdiml.c \
858	../common/m9x/feexcept.c \
859	../common/m9x/fenv.c \
860	../common/m9x/feround.c \
861	../common/m9x/fex_handler.c \
862	../common/m9x/fex_log.c \
863	../common/m9x/fma.c \
864	../common/m9x/fmaf.c \
865	../common/m9x/fmal.c \
866	../common/m9x/fmax.c \
867	../common/m9x/fmaxf.c \
868	../common/m9x/fmaxl.c \
869	../common/m9x/fmin.c \
870	../common/m9x/fminf.c \
871	../common/m9x/fminl.c \
872	../common/m9x/frexp.c \
873	../common/m9x/frexpf.c \
874	../common/m9x/frexpl.c \
875	../common/m9x/ldexp.c \
876	../common/m9x/ldexpf.c \
877	../common/m9x/ldexpl.c \
878	../common/m9x/llround.c \
879	../common/m9x/llroundf.c \
880	../common/m9x/llroundl.c \
881	../common/m9x/modf.c \
882	../common/m9x/modff.c \
883	../common/m9x/modfl.c \
884	../common/m9x/nan.c \
885	../common/m9x/nanf.c \
886	../common/m9x/nanl.c \
887	../common/m9x/nearbyint.c \
888	../common/m9x/nearbyintf.c \
889	../common/m9x/nearbyintl.c \
890	../common/m9x/nexttoward.c \
891	../common/m9x/nexttowardf.c \
892	../common/m9x/roundf.c \
893	../common/m9x/tgamma.c \
894	../common/m9x/tgammaf.c \
895	../common/m9x/tgammal.c \
896	../common/m9x/truncf.c
897
898SRCS_C_sparc = \
899	../common/C/__tan.c \
900	../common/C/_TBL_atan.c \
901	../common/C/_TBL_exp2.c \
902	../common/C/_TBL_log.c \
903	../common/C/_TBL_log2.c \
904	../common/C/_TBL_tan.c \
905	../common/C/acos.c \
906	../common/C/asin.c \
907	../common/C/atan.c \
908	../common/C/atan2.c \
909	../common/C/ceil.c \
910	../common/C/cos.c \
911	../common/C/exp.c \
912	../common/C/exp10.c \
913	../common/C/exp2.c \
914	../common/C/expm1.c \
915	../common/C/floor.c \
916	../common/C/fmod.c \
917	../common/C/hypot.c \
918	../common/C/ilogb.c \
919	../common/C/isnan.c \
920	../common/C/log.c \
921	../common/C/log10.c \
922	../common/C/log2.c \
923	../common/C/pow.c \
924	../common/C/remainder.c \
925	../common/C/rint.c \
926	../common/C/scalbn.c \
927	../common/C/sin.c \
928	../common/C/sincos.c \
929	../common/C/tan.c
930
931SRCS_i386_i386 	= \
932	../common/C/__libx_errno.c
933
934SRCS_sparc_sparc = \
935	$(SRCS_i386_i386)
936
937SRCS_sparc_sparcv9 = \
938	../common/C/copysign.c \
939	../common/C/fabs.c \
940	../common/C/nextafter.c
941
942SRCS_i386_amd64 = \
943	../common/C/_TBL_atan.c \
944	../common/C/_TBL_exp2.c \
945	../common/C/_TBL_log.c \
946	../common/C/_TBL_log2.c \
947	../common/C/__tan.c \
948	../common/C/_TBL_tan.c \
949	../common/C/copysign.c \
950	../common/C/exp.c \
951	../common/C/fabs.c \
952	../common/C/ilogb.c \
953	../common/C/isnan.c \
954	../common/C/nextafter.c \
955	../common/C/rint.c \
956	../common/C/scalbn.c \
957	../common/C/acos.c \
958	../common/C/asin.c \
959	../common/C/atan.c \
960	../common/C/atan2.c \
961	../common/C/ceil.c \
962	../common/C/cos.c \
963	../common/C/exp10.c \
964	../common/C/exp2.c \
965	../common/C/expm1.c \
966	../common/C/floor.c \
967	../common/C/hypot.c \
968	../common/C/log.c \
969	../common/C/log10.c \
970	../common/C/log2.c \
971	../common/C/pow.c \
972	../common/C/sin.c \
973	../common/C/sincos.c \
974	../common/C/tan.c
975
976SRCS_C = \
977	$(SRCS_C_$(MACH)) \
978	$(SRCS_C_i386_$(TARGET_ARCH)) \
979	../common/C/__cos.c \
980	../common/C/__lgamma.c \
981	../common/C/__rem_pio2.c \
982	../common/C/__rem_pio2m.c \
983	../common/C/__sin.c \
984	../common/C/__sincos.c \
985	../common/C/__xpg6.c \
986	../common/C/_lib_version.c \
987	../common/C/_SVID_error.c \
988	../common/C/_TBL_ipio2.c \
989	../common/C/_TBL_sin.c \
990	../common/C/acosh.c \
991	../common/C/asinh.c \
992	../common/C/atan2pi.c \
993	../common/C/atanh.c \
994	../common/C/cbrt.c \
995	../common/C/cosh.c \
996	../common/C/erf.c \
997	../common/C/gamma.c \
998	../common/C/gamma_r.c \
999	../common/C/j0.c \
1000	../common/C/j1.c \
1001	../common/C/jn.c \
1002	../common/C/lgamma.c \
1003	../common/C/lgamma_r.c \
1004	../common/C/log1p.c \
1005	../common/C/logb.c \
1006	../common/C/matherr.c \
1007	../common/C/scalb.c \
1008	../common/C/signgam.c \
1009	../common/C/significand.c \
1010	../common/C/sincospi.c \
1011	../common/C/sinh.c \
1012	../common/C/sqrt.c \
1013	../common/C/tanh.c
1014
1015SRCS	= \
1016	$(SRCS_Q_$(MACH)) \
1017	$(SRCS_LD_$(MACH)) \
1018	$(SRCS_R) \
1019	$(SRCS_complex) \
1020	$(SRCS_C)
1021
1022.KEEP_STATE:
1023
1024all:	$(LIBS)
1025
1026lint:	lintcheck
1027
1028