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