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