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