Print this page
6648 illumos build should be explicit about C standards
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/lib/libc/sparcv9/Makefile.com
+++ new/usr/src/lib/libc/sparcv9/Makefile.com
1 1 #
2 2 # CDDL HEADER START
3 3 #
4 4 # The contents of this file are subject to the terms of the
5 5 # Common Development and Distribution License (the "License").
6 6 # You may not use this file except in compliance with the License.
7 7 #
8 8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 9 # or http://www.opensolaris.org/os/licensing.
10 10 # See the License for the specific language governing permissions
11 11 # and limitations under the License.
12 12 #
13 13 # When distributing Covered Code, include this CDDL HEADER in each
14 14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 15 # If applicable, add the following below this CDDL HEADER, with the
16 16 # fields enclosed by brackets "[]" replaced with your own identifying
17 17 # information: Portions Copyright [yyyy] [name of copyright owner]
18 18 #
19 19 # CDDL HEADER END
20 20 #
21 21 #
22 22 # Copyright 2016 Gary Mills
23 23 # Copyright (c) 1989, 2010, Oracle and/or its affiliates. All rights reserved.
24 24 # Copyright (c) 2015, Joyent, Inc. All rights reserved.
25 25 # Copyright (c) 2013, OmniTI Computer Consulting, Inc. All rights reserved.
26 26 # Copyright 2013 Garrett D'Amore <garrett@damore.org>
27 27 #
28 28 # Copyright 2011 Nexenta Systems, Inc. All rights reserved.
29 29 # Use is subject to license terms.
30 30 #
31 31
32 32 LIBCDIR= $(SRC)/lib/libc
33 33 LIB_PIC= libc_pic.a
34 34 VERS= .1
35 35 CPP= /usr/lib/cpp
36 36 TARGET_ARCH= sparc
37 37
38 38 # objects are grouped by source directory
39 39
40 40 # Symbol capabilities objects.
41 41 EXTPICS= \
42 42 $(LIBCDIR)/capabilities/sun4u/sparcv9/pics/symcap.o \
43 43 $(LIBCDIR)/capabilities/sun4u-opl/sparcv9/pics/symcap.o \
44 44 $(LIBCDIR)/capabilities/sun4u-us3-hwcap1/sparcv9/pics/symcap.o \
45 45 $(LIBCDIR)/capabilities/sun4u-us3-hwcap2/sparcv9/pics/symcap.o \
46 46 $(LIBCDIR)/capabilities/sun4v-hwcap1/sparcv9/pics/symcap.o \
47 47 $(LIBCDIR)/capabilities/sun4v-hwcap2/sparcv9/pics/symcap.o
48 48
49 49 # local objects
50 50 STRETS=
51 51
52 52 CRTOBJS= \
53 53 __align_cpy_2.o \
54 54 __align_cpy_4.o \
55 55 __align_cpy_8.o \
56 56 _ftou.o \
57 57 cerror.o
58 58
59 59 DYNOBJS=
60 60
61 61 FPOBJS= \
62 62 _D_cplx_div.o \
63 63 _D_cplx_div_ix.o \
64 64 _D_cplx_div_rx.o \
65 65 _D_cplx_mul.o \
66 66 _F_cplx_div.o \
67 67 _F_cplx_div_ix.o \
68 68 _F_cplx_div_rx.o \
69 69 _F_cplx_mul.o \
70 70 _Q_add.o \
71 71 _Q_cmp.o \
72 72 _Q_cmpe.o \
73 73 _Q_cplx_div.o \
74 74 _Q_cplx_div_ix.o \
75 75 _Q_cplx_div_rx.o \
76 76 _Q_cplx_lr_div.o \
77 77 _Q_cplx_lr_div_ix.o \
78 78 _Q_cplx_lr_div_rx.o \
79 79 _Q_cplx_lr_mul.o \
80 80 _Q_cplx_mul.o \
81 81 _Q_div.o \
82 82 _Q_dtoq.o \
83 83 _Q_fcc.o \
84 84 _Q_itoq.o \
85 85 _Q_mul.o \
86 86 _Q_neg.o \
87 87 _Q_qtod.o \
88 88 _Q_qtoi.o \
89 89 _Q_qtos.o \
90 90 _Q_qtou.o \
91 91 _Q_scl.o \
92 92 _Q_sqrt.o \
93 93 _Q_stoq.o \
94 94 _Q_sub.o \
95 95 _Q_utoq.o
96 96
97 97 FPOBJS64= \
98 98 _Qp_qtox.o \
99 99 _Qp_qtoux.o \
100 100 _Qp_xtoq.o \
101 101 _Qp_uxtoq.o \
102 102 __dtoul.o \
103 103 __ftoul.o
104 104
105 105 FPASMOBJS= \
106 106 _Q_get_rp_rd.o \
107 107 __quad_mag64.o \
108 108 fpgetmask.o \
109 109 fpgetrnd.o \
110 110 fpgetsticky.o \
111 111 fpsetmask.o \
112 112 fpsetrnd.o \
113 113 fpsetsticky.o
114 114
115 115 $(__GNUC)FPASMOBJS += \
116 116 __quad.o
117 117
118 118 ATOMICOBJS= \
119 119 atomic.o
120 120
121 121 CHACHAOBJS= \
122 122 chacha.o
123 123
124 124 XATTROBJS= \
125 125 xattr_common.o
126 126
127 127 COMOBJS= \
128 128 bcmp.o \
129 129 bcopy.o \
130 130 bsearch.o \
131 131 bzero.o \
132 132 memccpy.o \
133 133 qsort.o \
134 134 strtol.o \
135 135 strtoul.o \
136 136 strtoll.o \
137 137 strtoull.o
138 138
139 139 GENOBJS= \
140 140 _getsp.o \
141 141 _xregs_clrptr.o \
142 142 abs.o \
143 143 alloca.o \
144 144 arc4random.o \
145 145 arc4random_uniform.o \
146 146 ascii_strcasecmp.o \
147 147 byteorder.o \
148 148 cuexit.o \
149 149 ecvt.o \
150 150 getctxt.o \
151 151 lock.o \
152 152 makectxt.o \
153 153 memchr.o \
154 154 memcmp.o \
155 155 new_list.o \
156 156 setjmp.o \
157 157 siginfolst.o \
158 158 siglongjmp.o \
159 159 smt_pause.o \
160 160 sparc_data.o \
161 161 strchr.o \
162 162 strcmp.o \
163 163 strlcpy.o \
164 164 strncmp.o \
165 165 strncpy.o \
166 166 strnlen.o \
167 167 swapctxt.o \
168 168 sync_instruction_memory.o
169 169
170 170 # Preserved solely to ease maintenance of 32-bit and 64-bit library builds
171 171 # This macro should ALWAYS be empty; native APIs are already 'large file'.
172 172 COMSYSOBJS64=
173 173
174 174 SYSOBJS64=
175 175
176 176 COMSYSOBJS= \
177 177 __clock_timer.o \
178 178 __getloadavg.o \
179 179 __rusagesys.o \
180 180 __signotify.o \
181 181 __sigrt.o \
182 182 __time.o \
183 183 _lgrp_home_fast.o \
184 184 _lgrpsys.o \
185 185 _nfssys.o \
186 186 _portfs.o \
187 187 _pset.o \
188 188 _rpcsys.o \
189 189 _sigaction.o \
190 190 _so_accept.o \
191 191 _so_bind.o \
192 192 _so_connect.o \
193 193 _so_getpeername.o \
194 194 _so_getsockname.o \
195 195 _so_getsockopt.o \
196 196 _so_listen.o \
197 197 _so_recv.o \
198 198 _so_recvfrom.o \
199 199 _so_recvmsg.o \
200 200 _so_send.o \
201 201 _so_sendmsg.o \
202 202 _so_sendto.o \
203 203 _so_setsockopt.o \
204 204 _so_shutdown.o \
205 205 _so_socket.o \
206 206 _so_socketpair.o \
207 207 _sockconfig.o \
208 208 acct.o \
209 209 acl.o \
210 210 adjtime.o \
211 211 alarm.o \
212 212 brk.o \
213 213 chdir.o \
214 214 chroot.o \
215 215 cladm.o \
216 216 close.o \
217 217 execve.o \
218 218 exit.o \
219 219 facl.o \
220 220 fchdir.o \
221 221 fchroot.o \
222 222 fdsync.o \
223 223 fpathconf.o \
224 224 fstatfs.o \
225 225 fstatvfs.o \
226 226 getcpuid.o \
227 227 getdents.o \
228 228 getegid.o \
229 229 geteuid.o \
230 230 getgid.o \
231 231 getgroups.o \
232 232 gethrtime.o \
233 233 getitimer.o \
234 234 getmsg.o \
235 235 getpid.o \
236 236 getpmsg.o \
237 237 getppid.o \
238 238 getrandom.o \
239 239 getrlimit.o \
240 240 getuid.o \
241 241 gtty.o \
242 242 install_utrap.o \
243 243 ioctl.o \
244 244 kaio.o \
245 245 kill.o \
246 246 llseek.o \
247 247 lseek.o \
248 248 memcntl.o \
249 249 mincore.o \
250 250 mmap.o \
251 251 mmapobjsys.o \
252 252 modctl.o \
253 253 mount.o \
254 254 mprotect.o \
255 255 munmap.o \
256 256 nice.o \
257 257 ntp_adjtime.o \
258 258 ntp_gettime.o \
259 259 p_online.o \
260 260 pathconf.o \
261 261 pause.o \
262 262 pcsample.o \
263 263 pipe2.o \
264 264 pollsys.o \
265 265 pread.o \
266 266 preadv.o \
267 267 priocntlset.o \
268 268 processor_bind.o \
269 269 processor_info.o \
270 270 profil.o \
271 271 putmsg.o \
272 272 putpmsg.o \
273 273 pwrite.o \
274 274 pwritev.o \
275 275 read.o \
276 276 readv.o \
277 277 resolvepath.o \
278 278 seteguid.o \
279 279 setgid.o \
280 280 setgroups.o \
281 281 setitimer.o \
282 282 setreid.o \
283 283 setrlimit.o \
284 284 setuid.o \
285 285 sigaltstk.o \
286 286 sigprocmsk.o \
287 287 sigsendset.o \
288 288 sigsuspend.o \
289 289 statfs.o \
290 290 statvfs.o \
291 291 stty.o \
292 292 sync.o \
293 293 sysconfig.o \
294 294 sysfs.o \
295 295 sysinfo.o \
296 296 syslwp.o \
297 297 times.o \
298 298 ulimit.o \
299 299 umask.o \
300 300 umount2.o \
301 301 utssys.o \
302 302 uucopy.o \
303 303 vhangup.o \
304 304 waitid.o \
305 305 write.o \
306 306 writev.o \
307 307 yield.o
308 308
309 309 SYSOBJS= \
310 310 __clock_gettime.o \
311 311 __getcontext.o \
312 312 __uadmin.o \
313 313 _lwp_mutex_unlock.o \
314 314 _stack_grow.o \
315 315 door.o \
316 316 forkx.o \
317 317 forkallx.o \
318 318 gettimeofday.o \
319 319 sparc_utrap_install.o \
320 320 syscall.o \
321 321 tls_get_addr.o \
322 322 uadmin.o \
323 323 umount.o \
324 324 uname.o \
325 325 vforkx.o
326 326
327 327 # Preserved solely to ease maintenance of 32-bit and 64-bit library builds
328 328 # This macro should ALWAYS be empty; native APIs are already 'large file'.
329 329 PORTGEN64=
330 330
331 331 # objects from source under $(LIBCDIR)/port
332 332 PORTFP= \
333 333 __flt_decim.o \
334 334 __flt_rounds.o \
335 335 __tbl_10_b.o \
336 336 __tbl_10_h.o \
337 337 __tbl_10_s.o \
338 338 __tbl_2_b.o \
339 339 __tbl_2_h.o \
340 340 __tbl_2_s.o \
341 341 __tbl_fdq.o \
342 342 __tbl_tens.o \
343 343 __x_power.o \
344 344 _base_sup.o \
345 345 aconvert.o \
346 346 decimal_bin.o \
347 347 double_decim.o \
348 348 econvert.o \
349 349 fconvert.o \
350 350 file_decim.o \
351 351 finite.o \
352 352 fp_data.o \
353 353 func_decim.o \
354 354 gconvert.o \
355 355 hex_bin.o \
356 356 ieee_globals.o \
357 357 pack_float.o \
358 358 sigfpe.o \
359 359 string_decim.o
360 360
361 361 PORTGEN= \
362 362 _env_data.o \
363 363 _xftw.o \
364 364 a64l.o \
365 365 abort.o \
366 366 addsev.o \
367 367 ascii_strncasecmp.o \
368 368 assert.o \
369 369 attrat.o \
370 370 atof.o \
371 371 atoi.o \
372 372 atol.o \
373 373 atoll.o \
374 374 attropen.o \
375 375 atexit.o \
376 376 atfork.o \
377 377 basename.o \
378 378 calloc.o \
379 379 catgets.o \
380 380 catopen.o \
381 381 cfgetispeed.o \
382 382 cfgetospeed.o \
383 383 cfree.o \
384 384 cfsetispeed.o \
385 385 cfsetospeed.o \
386 386 cftime.o \
387 387 clock.o \
388 388 closedir.o \
389 389 closefrom.o \
390 390 confstr.o \
391 391 crypt.o \
392 392 csetlen.o \
393 393 ctime.o \
394 394 ctime_r.o \
395 395 daemon.o \
396 396 deflt.o \
397 397 directio.o \
398 398 dirname.o \
399 399 div.o \
400 400 drand48.o \
401 401 dup.o \
402 402 env_data.o \
403 403 err.o \
404 404 errno.o \
405 405 euclen.o \
406 406 event_port.o \
407 407 execvp.o \
408 408 explicit_bzero.o \
409 409 fattach.o \
410 410 fdetach.o \
411 411 fdopendir.o \
412 412 ffs.o \
413 413 flock.o \
414 414 fls.o \
415 415 fmtmsg.o \
416 416 ftime.o \
417 417 ftok.o \
418 418 ftw.o \
419 419 gcvt.o \
420 420 getauxv.o \
421 421 getcwd.o \
422 422 getdate_err.o \
423 423 getdtblsize.o \
424 424 getentropy.o \
425 425 getenv.o \
426 426 getexecname.o \
427 427 getgrnam.o \
428 428 getgrnam_r.o \
429 429 gethostid.o \
430 430 gethostname.o \
431 431 gethz.o \
432 432 getisax.o \
433 433 getloadavg.o \
434 434 getlogin.o \
435 435 getmntent.o \
436 436 getnetgrent.o \
437 437 get_nprocs.o \
438 438 getopt.o \
439 439 getopt_long.o \
440 440 getpagesize.o \
441 441 getpw.o \
442 442 getpwnam.o \
443 443 getpwnam_r.o \
444 444 getrusage.o \
445 445 getspent.o \
446 446 getspent_r.o \
447 447 getsubopt.o \
448 448 gettxt.o \
449 449 getusershell.o \
450 450 getut.o \
451 451 getutx.o \
452 452 getvfsent.o \
453 453 getwd.o \
454 454 getwidth.o \
455 455 getxby_door.o \
456 456 gtxt.o \
457 457 hsearch.o \
458 458 iconv.o \
459 459 imaxabs.o \
460 460 imaxdiv.o \
461 461 index.o \
462 462 initgroups.o \
463 463 insque.o \
464 464 isaexec.o \
465 465 isastream.o \
466 466 isatty.o \
467 467 killpg.o \
468 468 klpdlib.o \
469 469 l64a.o \
470 470 lckpwdf.o \
471 471 lconstants.o \
472 472 ldivide.o \
473 473 lexp10.o \
474 474 lfind.o \
475 475 lfmt.o \
476 476 lfmt_log.o \
477 477 lldiv.o \
478 478 llog10.o \
479 479 lltostr.o \
480 480 lmath.o \
481 481 localtime.o \
482 482 lsearch.o \
483 483 madvise.o \
484 484 malloc.o \
485 485 memalign.o \
486 486 memmem.o \
487 487 mkdev.o \
488 488 mkdtemp.o \
489 489 mkfifo.o \
490 490 mkstemp.o \
491 491 mktemp.o \
492 492 mlock.o \
493 493 mlockall.o \
494 494 mon.o \
495 495 msync.o \
496 496 munlock.o \
497 497 munlockall.o \
498 498 ndbm.o \
499 499 nftw.o \
500 500 nlspath_checks.o \
501 501 nsparse.o \
502 502 nss_common.o \
503 503 nss_dbdefs.o \
504 504 nss_deffinder.o \
505 505 opendir.o \
506 506 opt_data.o \
507 507 perror.o \
508 508 pfmt.o \
509 509 pfmt_data.o \
510 510 pfmt_print.o \
511 511 pipe.o \
512 512 plock.o \
513 513 poll.o \
514 514 posix_fadvise.o \
515 515 posix_fallocate.o \
516 516 posix_madvise.o \
517 517 posix_memalign.o \
518 518 priocntl.o \
519 519 privlib.o \
520 520 priv_str_xlate.o \
521 521 psiginfo.o \
522 522 psignal.o \
523 523 pt.o \
524 524 putpwent.o \
525 525 putspent.o \
526 526 raise.o \
527 527 rand.o \
528 528 random.o \
529 529 rctlops.o \
530 530 readdir.o \
531 531 readdir_r.o \
532 532 realpath.o \
533 533 reboot.o \
534 534 regexpr.o \
535 535 remove.o \
536 536 rewinddir.o \
537 537 rindex.o \
538 538 scandir.o \
539 539 seekdir.o \
540 540 select.o \
541 541 setlabel.o \
542 542 setpriority.o \
543 543 settimeofday.o \
544 544 sh_locks.o \
545 545 sigflag.o \
546 546 siglist.o \
547 547 sigsend.o \
548 548 sigsetops.o \
549 549 ssignal.o \
550 550 stack.o \
551 551 stpcpy.o \
552 552 stpncpy.o \
553 553 str2sig.o \
554 554 strcase_charmap.o \
555 555 strcat.o \
556 556 strchrnul.o \
557 557 strcspn.o \
558 558 strdup.o \
559 559 strerror.o \
560 560 strlcat.o \
561 561 strncat.o \
562 562 strndup.o \
563 563 strpbrk.o \
564 564 strrchr.o \
565 565 strsep.o \
566 566 strsignal.o \
567 567 strspn.o \
568 568 strstr.o \
569 569 strtod.o \
570 570 strtoimax.o \
571 571 strtok.o \
572 572 strtok_r.o \
573 573 strtoumax.o \
574 574 swab.o \
575 575 swapctl.o \
576 576 sysconf.o \
577 577 syslog.o \
578 578 tcdrain.o \
579 579 tcflow.o \
580 580 tcflush.o \
581 581 tcgetattr.o \
582 582 tcgetpgrp.o \
583 583 tcgetsid.o \
584 584 tcsendbreak.o \
585 585 tcsetattr.o \
586 586 tcsetpgrp.o \
587 587 tell.o \
588 588 telldir.o \
589 589 tfind.o \
590 590 time_data.o \
591 591 time_gdata.o \
592 592 tls_data.o \
593 593 truncate.o \
594 594 tsdalloc.o \
595 595 tsearch.o \
596 596 ttyname.o \
597 597 ttyslot.o \
598 598 ualarm.o \
599 599 ucred.o \
600 600 valloc.o \
601 601 vlfmt.o \
602 602 vpfmt.o \
603 603 waitpid.o \
604 604 walkstack.o \
605 605 wdata.o \
606 606 xgetwidth.o \
607 607 xpg4.o \
608 608 xpg6.o
609 609
610 610 PORTPRINT_W= \
611 611 doprnt_w.o
612 612
613 613 PORTPRINT= \
614 614 asprintf.o \
615 615 doprnt.o \
616 616 fprintf.o \
617 617 printf.o \
618 618 snprintf.o \
619 619 sprintf.o \
620 620 vfprintf.o \
621 621 vprintf.o \
622 622 vsnprintf.o \
623 623 vsprintf.o \
624 624 vwprintf.o \
625 625 wprintf.o
626 626
627 627 # Preserved solely to ease maintenance of 32-bit and 64-bit library builds
628 628 # This macro should ALWAYS be empty; native APIs are already 'large file'.
629 629 PORTSTDIO64=
630 630
631 631 PORTSTDIO_W= \
632 632 doscan_w.o
633 633
634 634 PORTSTDIO= \
635 635 __extensions.o \
636 636 _endopen.o \
637 637 _filbuf.o \
638 638 _findbuf.o \
639 639 _flsbuf.o \
640 640 _wrtchk.o \
641 641 clearerr.o \
642 642 ctermid.o \
643 643 ctermid_r.o \
644 644 cuserid.o \
645 645 data.o \
646 646 doscan.o \
647 647 fdopen.o \
648 648 feof.o \
649 649 ferror.o \
650 650 fgetc.o \
651 651 fgets.o \
652 652 fileno.o \
653 653 flockf.o \
654 654 flush.o \
655 655 fopen.o \
656 656 fpos.o \
657 657 fputc.o \
658 658 fputs.o \
659 659 fread.o \
660 660 fseek.o \
661 661 fseeko.o \
662 662 ftell.o \
663 663 ftello.o \
664 664 fwrite.o \
665 665 getc.o \
666 666 getchar.o \
667 667 getline.o \
668 668 getpass.o \
669 669 gets.o \
670 670 getw.o \
671 671 popen.o \
672 672 putc.o \
673 673 putchar.o \
674 674 puts.o \
675 675 putw.o \
676 676 rewind.o \
677 677 scanf.o \
678 678 setbuf.o \
679 679 setbuffer.o \
680 680 setvbuf.o \
681 681 system.o \
682 682 tempnam.o \
683 683 tmpfile.o \
684 684 tmpnam_r.o \
685 685 ungetc.o \
686 686 mse.o \
687 687 vscanf.o \
688 688 vwscanf.o \
689 689 wscanf.o
690 690
691 691 PORTI18N= \
692 692 getwchar.o \
693 693 putwchar.o \
694 694 putws.o \
695 695 strtows.o \
696 696 wcsnlen.o \
697 697 wcstoimax.o \
698 698 wcstol.o \
699 699 wcstoul.o \
700 700 wcswcs.o \
701 701 wscat.o \
702 702 wschr.o \
703 703 wscmp.o \
704 704 wscpy.o \
705 705 wscspn.o \
706 706 wsdup.o \
707 707 wslen.o \
708 708 wsncat.o \
709 709 wsncmp.o \
710 710 wsncpy.o \
711 711 wspbrk.o \
712 712 wsprintf.o \
713 713 wsrchr.o \
714 714 wsscanf.o \
715 715 wsspn.o \
716 716 wstod.o \
717 717 wstok.o \
718 718 wstol.o \
719 719 wstoll.o \
720 720 wsxfrm.o \
721 721 wmemchr.o \
722 722 wmemcmp.o \
723 723 wmemcpy.o \
724 724 wmemmove.o \
725 725 wmemset.o \
726 726 wcsstr.o \
727 727 gettext.o \
728 728 gettext_real.o \
729 729 gettext_util.o \
730 730 gettext_gnu.o \
731 731 plural_parser.o \
732 732 wdresolve.o \
733 733 _ctype.o \
734 734 isascii.o \
735 735 toascii.o
736 736
737 737 PORTI18N_COND= \
738 738 wcstol_longlong.o \
739 739 wcstoul_longlong.o
740 740
741 741 PORTLOCALE= \
742 742 big5.o \
743 743 btowc.o \
744 744 collate.o \
745 745 collcmp.o \
746 746 euc.o \
747 747 fnmatch.o \
748 748 fgetwc.o \
749 749 fgetws.o \
750 750 fix_grouping.o \
751 751 fputwc.o \
752 752 fputws.o \
753 753 fwide.o \
754 754 gb18030.o \
755 755 gb2312.o \
756 756 gbk.o \
757 757 getdate.o \
758 758 isdigit.o \
759 759 iswctype.o \
760 760 ldpart.o \
761 761 lmessages.o \
762 762 lnumeric.o \
763 763 lmonetary.o \
764 764 localeconv.o \
765 765 localeimpl.o \
766 766 mbftowc.o \
767 767 mblen.o \
768 768 mbrlen.o \
769 769 mbrtowc.o \
770 770 mbsinit.o \
771 771 mbsnrtowcs.o \
772 772 mbsrtowcs.o \
773 773 mbstowcs.o \
774 774 mbtowc.o \
775 775 mskanji.o \
776 776 nextwctype.o \
777 777 nl_langinfo.o \
778 778 none.o \
779 779 regcomp.o \
780 780 regfree.o \
781 781 regerror.o \
782 782 regexec.o \
783 783 rune.o \
784 784 runetype.o \
785 785 setlocale.o \
786 786 setrunelocale.o \
787 787 strcasecmp.o \
788 788 strcasestr.o \
789 789 strcoll.o \
790 790 strfmon.o \
791 791 strftime.o \
792 792 strncasecmp.o \
793 793 strptime.o \
794 794 strxfrm.o \
795 795 table.o \
796 796 timelocal.o \
797 797 tolower.o \
798 798 towlower.o \
799 799 ungetwc.o \
800 800 utf8.o \
801 801 wcrtomb.o \
802 802 wcscasecmp.o \
803 803 wcscoll.o \
804 804 wcsftime.o \
805 805 wcsnrtombs.o \
806 806 wcsrtombs.o \
807 807 wcstombs.o \
808 808 wcswidth.o \
809 809 wcsxfrm.o \
810 810 wctob.o \
811 811 wctomb.o \
812 812 wctrans.o \
813 813 wctype.o \
814 814 wcwidth.o \
815 815 wscol.o
816 816
817 817 AIOOBJS= \
818 818 aio.o \
819 819 aio_alloc.o \
820 820 posix_aio.o
821 821
822 822 RTOBJS= \
823 823 clock_timer.o \
824 824 mqueue.o \
825 825 pos4obj.o \
826 826 sched.o \
827 827 sem.o \
828 828 shm.o \
829 829 sigev_thread.o
830 830
831 831 TPOOLOBJS= \
832 832 thread_pool.o
833 833
834 834 THREADSOBJS= \
835 835 alloc.o \
836 836 assfail.o \
837 837 cancel.o \
838 838 door_calls.o \
839 839 tmem.o \
840 840 pthr_attr.o \
841 841 pthr_barrier.o \
842 842 pthr_cond.o \
843 843 pthr_mutex.o \
844 844 pthr_rwlock.o \
845 845 pthread.o \
846 846 rwlock.o \
847 847 scalls.o \
848 848 sema.o \
849 849 sigaction.o \
850 850 spawn.o \
851 851 synch.o \
852 852 tdb_agent.o \
853 853 thr.o \
854 854 thread_interface.o \
855 855 tls.o \
856 856 tsd.o
857 857
858 858 THREADSMACHOBJS= \
859 859 machdep.o
860 860
861 861 THREADSASMOBJS= \
862 862 asm_subr.o
863 863
864 864 UNICODEOBJS= \
865 865 u8_textprep.o \
866 866 uconv.o
867 867
868 868 UNWINDMACHOBJS= \
869 869 unwind.o
870 870
871 871 UNWINDASMOBJS= \
872 872 unwind_frame.o
873 873
874 874 # Preserved solely to ease maintenance of 32-bit and 64-bit library builds
875 875 # This macro should ALWAYS be empty; native APIs are already 'large file'.
876 876 PORTSYS64=
877 877
878 878 PORTSYS= \
879 879 _autofssys.o \
880 880 access.o \
881 881 acctctl.o \
882 882 bsd_signal.o \
883 883 chmod.o \
884 884 chown.o \
885 885 corectl.o \
886 886 eventfd.o \
887 887 epoll.o \
888 888 exacctsys.o \
889 889 execl.o \
890 890 execle.o \
891 891 execv.o \
892 892 fcntl.o \
893 893 getpagesizes.o \
894 894 getpeerucred.o \
895 895 inst_sync.o \
896 896 issetugid.o \
897 897 label.o \
898 898 link.o \
899 899 lockf.o \
900 900 lwp.o \
901 901 lwp_cond.o \
902 902 lwp_rwlock.o \
903 903 lwp_sigmask.o \
904 904 meminfosys.o \
905 905 mkdir.o \
906 906 mknod.o \
907 907 msgsys.o \
908 908 nfssys.o \
909 909 open.o \
910 910 pgrpsys.o \
911 911 posix_sigwait.o \
912 912 ppriv.o \
913 913 psetsys.o \
914 914 rctlsys.o \
915 915 readlink.o \
916 916 rename.o \
917 917 sbrk.o \
918 918 semsys.o \
919 919 set_errno.o \
920 920 sharefs.o \
921 921 shmsys.o \
922 922 sidsys.o \
923 923 siginterrupt.o \
924 924 signal.o \
925 925 signalfd.o \
926 926 sigpending.o \
927 927 sigstack.o \
928 928 stat.o \
929 929 symlink.o \
930 930 tasksys.o \
931 931 time.o \
932 932 time_util.o \
933 933 timerfd.o \
934 934 ucontext.o \
935 935 unlink.o \
936 936 ustat.o \
937 937 utimesys.o \
938 938 zone.o
939 939
940 940 PORTREGEX= \
941 941 glob.o \
942 942 regcmp.o \
943 943 regex.o \
944 944 wordexp.o
945 945
946 946 VALUES= values-Xa.o
947 947
948 948 MOSTOBJS= \
949 949 $(STRETS) \
950 950 $(CRTOBJS) \
951 951 $(DYNOBJS) \
952 952 $(FPOBJS) \
953 953 $(FPOBJS64) \
954 954 $(FPASMOBJS) \
955 955 $(ATOMICOBJS) \
956 956 $(CHACHAOBJS) \
957 957 $(XATTROBJS) \
958 958 $(COMOBJS) \
959 959 $(GENOBJS) \
960 960 $(PRFOBJS) \
961 961 $(PORTFP) \
962 962 $(PORTGEN) \
963 963 $(PORTGEN64) \
964 964 $(PORTI18N) \
965 965 $(PORTI18N_COND) \
966 966 $(PORTLOCALE) \
967 967 $(PORTPRINT) \
968 968 $(PORTPRINT_W) \
969 969 $(PORTREGEX) \
970 970 $(PORTSTDIO) \
971 971 $(PORTSTDIO64) \
972 972 $(PORTSTDIO_W) \
973 973 $(PORTSYS) \
974 974 $(PORTSYS64) \
975 975 $(AIOOBJS) \
976 976 $(RTOBJS) \
977 977 $(TPOOLOBJS) \
978 978 $(THREADSOBJS) \
979 979 $(THREADSMACHOBJS) \
980 980 $(THREADSASMOBJS) \
981 981 $(UNICODEOBJS) \
982 982 $(UNWINDMACHOBJS) \
983 983 $(UNWINDASMOBJS) \
984 984 $(COMSYSOBJS) \
985 985 $(SYSOBJS) \
986 986 $(COMSYSOBJS64) \
987 987 $(SYSOBJS64) \
988 988 $(VALUES)
989 989
990 990 TRACEOBJS= \
991 991 plockstat.o
992 992
993 993 # NOTE: libc.so.1 must be linked with the minimal crti.o and crtn.o
994 994 # modules whose source is provided in the $(SRC)/lib/common directory.
995 995 # This must be done because otherwise the Sun C compiler would insert
996 996 # its own versions of these modules and those versions contain code
997 997 # to call out to C++ initialization functions. Such C++ initialization
998 998 # functions can call back into libc before thread initialization is
999 999 # complete and this leads to segmentation violations and other problems.
1000 1000 # Since libc contains no C++ code, linking with the minimal crti.o and
1001 1001 # crtn.o modules is safe and avoids the problems described above.
1002 1002 OBJECTS= $(CRTI) $(MOSTOBJS) $(CRTN)
1003 1003 CRTSRCS= ../../common/sparcv9
1004 1004
1005 1005 # include common library definitions
1006 1006 include $(SRC)/lib/Makefile.lib
1007 1007 include $(SRC)/lib/Makefile.lib.64
1008 1008
1009 1009 # we need to override the default SONAME here because we might
1010 1010 # be building a variant object (still libc.so.1, but different filename)
1011 1011 SONAME = libc.so.1
1012 1012
1013 1013 CFLAGS64 += $(CCVERBOSE)
1014 1014
1015 1015 # This is necessary to avoid problems with calling _ex_unwind().
1016 1016 # We probably don't want any inlining anyway.
1017 1017 CFLAGS64 += -xinline=
1018 1018
1019 1019 CERRWARN += -_gcc=-Wno-parentheses
1020 1020 CERRWARN += -_gcc=-Wno-switch
1021 1021 CERRWARN += -_gcc=-Wno-uninitialized
1022 1022 CERRWARN += -_gcc=-Wno-unused-value
1023 1023 CERRWARN += -_gcc=-Wno-unused-label
1024 1024 CERRWARN += -_gcc=-Wno-unused-variable
1025 1025 CERRWARN += -_gcc=-Wno-type-limits
1026 1026 CERRWARN += -_gcc=-Wno-char-subscripts
1027 1027 CERRWARN += -_gcc=-Wno-clobbered
1028 1028 CERRWARN += -_gcc=-Wno-unused-function
1029 1029 CERRWARN += -_gcc=-Wno-address
1030 1030
1031 1031 # Setting THREAD_DEBUG = -DTHREAD_DEBUG (make THREAD_DEBUG=-DTHREAD_DEBUG ...)
1032 1032 # enables ASSERT() checking in the threads portion of the library.
1033 1033 # This is automatically enabled for DEBUG builds, not for non-debug builds.
1034 1034 THREAD_DEBUG =
1035 1035 $(NOT_RELEASE_BUILD)THREAD_DEBUG = -DTHREAD_DEBUG
1036 1036
1037 1037 # Make string literals read-only to save memory.
1038 1038 CFLAGS64 += $(XSTRCONST)
1039 1039
1040 1040 ALTPICS= $(TRACEOBJS:%=pics/%)
1041 1041
1042 1042 $(DYNLIB) := BUILD.SO = $(LD) -o $@ -G $(DYNFLAGS) $(PICS) $(ALTPICS) $(EXTPICS)
1043 1043
1044 1044 MAPFILES = $(LIBCDIR)/port/mapfile-vers
1045 1045
1046 1046 sparcv9_C_PICFLAGS= -K PIC
1047 1047 CFLAGS64 += $(EXTN_CFLAGS)
1048 1048 CPPFLAGS= -D_REENTRANT -Dsparc $(EXTN_CPPFLAGS) $(THREAD_DEBUG) \
1049 1049 -I$(LIBCBASE)/inc -I$(LIBCDIR)/inc $(CPPFLAGS.master)
1050 1050 ASFLAGS= $(EXTN_ASFLAGS) -K PIC -P -D__STDC__ -D_ASM -D__sparcv9 $(CPPFLAGS) \
1051 1051 $(sparcv9_AS_XARCH)
1052 1052
1053 1053 # As a favor to the dtrace syscall provider, libc still calls the
1054 1054 # old syscall traps that have been obsoleted by the *at() interfaces.
1055 1055 # Delete this to compile libc using only the new *at() system call traps
1056 1056 CPPFLAGS += -D_RETAIN_OLD_SYSCALLS
1057 1057
1058 1058 # Inform the run-time linker about libc specialized initialization
1059 1059 RTLDINFO = -z rtldinfo=tls_rtldinfo
1060 1060 DYNFLAGS += $(RTLDINFO)
1061 1061
1062 1062 # Force libc's internal references to be resolved immediately upon loading
1063 1063 # in order to avoid critical region problems. Since almost all libc symbols
1064 1064 # are marked 'protected' in the mapfiles, this is a minimal set (15 to 20).
1065 1065 DYNFLAGS += -znow
1066 1066
1067 1067 DYNFLAGS += $(EXTN_DYNFLAGS)
1068 1068
1069 1069 BUILD.s= $(AS) $(ASFLAGS) $< -o $@
1070 1070
1071 1071 # Override this top level flag so the compiler builds in its native
1072 1072 # C99 mode. This has been enabled to support the complex arithmetic
1073 1073 # added to libc.
1074 1074 C99MODE= $(C99_ENABLE)
1075 1075
1076 1076 # libc method of building an archive
1077 1077 # The "$(GREP) -v ' L '" part is necessary only until
1078 1078 # lorder is fixed to ignore thread-local variables.
1079 1079 BUILD.AR= $(RM) $@ ; \
1080 1080 $(AR) q $@ `$(LORDER) $(MOSTOBJS:%=$(DIR)/%) | $(GREP) -v ' L ' | $(TSORT)`
1081 1081
1082 1082 # extra files for the clean target
1083 1083 CLEANFILES= \
1084 1084 $(LIBCDIR)/port/gen/errlst.c \
1085 1085 $(LIBCDIR)/port/gen/new_list.c \
1086 1086 assym.h \
1087 1087 genassym \
1088 1088 pics/crti.o \
1089 1089 pics/crtn.o \
1090 1090 $(ALTPICS)
1091 1091
1092 1092 CLOBBERFILES += $(LIB_PIC)
1093 1093
1094 1094 # list of C source for lint
1095 1095 SRCS= \
1096 1096 $(ATOMICOBJS:%.o=$(SRC)/common/atomic/%.c) \
1097 1097 $(XATTROBJS:%.o=$(SRC)/common/xattr/%.c) \
1098 1098 $(COMOBJS:%.o=$(SRC)/common/util/%.c) \
1099 1099 $(PORTFP:%.o=$(LIBCDIR)/port/fp/%.c) \
1100 1100 $(PORTGEN:%.o=$(LIBCDIR)/port/gen/%.c) \
1101 1101 $(PORTI18N:%.o=$(LIBCDIR)/port/i18n/%.c) \
1102 1102 $(PORTLOCALE:%.o=$(LIBCDIR)/port/locale/%.c) \
1103 1103 $(PORTPRINT:%.o=$(LIBCDIR)/port/print/%.c) \
1104 1104 $(PORTREGEX:%.o=$(LIBCDIR)/port/regex/%.c) \
1105 1105 $(PORTSTDIO:%.o=$(LIBCDIR)/port/stdio/%.c) \
1106 1106 $(PORTSYS:%.o=$(LIBCDIR)/port/sys/%.c) \
1107 1107 $(AIOOBJS:%.o=$(LIBCDIR)/port/aio/%.c) \
1108 1108 $(RTOBJS:%.o=$(LIBCDIR)/port/rt/%.c) \
1109 1109 $(TPOOLOBJS:%.o=$(LIBCDIR)/port/tpool/%.c) \
1110 1110 $(THREADSOBJS:%.o=$(LIBCDIR)/port/threads/%.c) \
1111 1111 $(THREADSMACHOBJS:%.o=$(LIBCDIR)/$(MACH)/threads/%.c) \
1112 1112 $(UNICODEOBJS:%.o=$(SRC)/common/unicode/%.c) \
1113 1113 $(UNWINDMACHOBJS:%.o=$(LIBCDIR)/port/unwind/%.c) \
1114 1114 $(FPOBJS:%.o=$(LIBCDIR)/$(MACH)/fp/%.c) \
1115 1115 $(FPOBJS64:%.o=$(LIBCBASE)/fp/%.c) \
1116 1116 $(LIBCBASE)/crt/_ftou.c \
1117 1117 $(LIBCBASE)/gen/_xregs_clrptr.c \
1118 1118 $(LIBCBASE)/gen/byteorder.c \
1119 1119 $(LIBCBASE)/gen/ecvt.c \
1120 1120 $(LIBCBASE)/gen/getctxt.c \
1121 1121 $(LIBCBASE)/gen/makectxt.c \
1122 1122 $(LIBCBASE)/gen/siginfolst.c \
1123 1123 $(LIBCBASE)/gen/siglongjmp.c \
1124 1124 $(LIBCBASE)/gen/swapctxt.c
1125 1125
1126 1126 # conditional assignments
1127 1127 $(DYNLIB) := CRTI = crti.o
1128 1128 $(DYNLIB) := CRTN = crtn.o
1129 1129
1130 1130 # Files which need the threads .il inline template
1131 1131 TIL= \
1132 1132 aio.o \
1133 1133 alloc.o \
1134 1134 assfail.o \
1135 1135 atexit.o \
1136 1136 atfork.o \
1137 1137 cancel.o \
1138 1138 door_calls.o \
1139 1139 err.o \
1140 1140 errno.o \
1141 1141 getctxt.o \
1142 1142 lwp.o \
1143 1143 ma.o \
1144 1144 machdep.o \
1145 1145 posix_aio.o \
1146 1146 pthr_attr.o \
1147 1147 pthr_barrier.o \
1148 1148 pthr_cond.o \
1149 1149 pthr_mutex.o \
1150 1150 pthr_rwlock.o \
1151 1151 pthread.o \
1152 1152 rand.o \
1153 1153 rwlock.o \
1154 1154 scalls.o \
1155 1155 sched.o \
1156 1156 sema.o \
1157 1157 sigaction.o \
1158 1158 sigev_thread.o \
1159 1159 spawn.o \
1160 1160 stack.o \
1161 1161 swapctxt.o \
1162 1162 synch.o \
1163 1163 tdb_agent.o \
1164 1164 thr.o \
1165 1165 thread_interface.o \
1166 1166 thread_pool.o \
1167 1167 tls.o \
1168 1168 tsd.o \
1169 1169 unwind.o
1170 1170
1171 1171 $(TIL:%=pics/%) := CFLAGS64 += $(LIBCBASE)/threads/sparcv9.il
1172 1172
1173 1173 # Files in fp, port/fp subdirectories that need base.il inline template
1174 1174 IL= \
1175 1175 __flt_decim.o \
1176 1176 decimal_bin.o
1177 1177
1178 1178 $(IL:%=pics/%) := CFLAGS64 += $(LIBCBASE)/fp/base.il
1179 1179
1180 1180 # Files in fp subdirectory which need __quad.il inline template
1181 1181 QIL= \
1182 1182 _Q_add.o \
1183 1183 _Q_cmp.o \
1184 1184 _Q_cmpe.o \
1185 1185 _Q_div.o \
1186 1186 _Q_dtoq.o \
1187 1187 _Q_fcc.o \
1188 1188 _Q_mul.o \
1189 1189 _Q_qtod.o \
1190 1190 _Q_qtoi.o \
1191 1191 _Q_qtos.o \
1192 1192 _Q_qtou.o \
1193 1193 _Q_sqrt.o \
1194 1194 _Q_stoq.o \
1195 1195 _Q_sub.o \
1196 1196 _Qp_qtox.o \
1197 1197 _Qp_qtoux.o
1198 1198
1199 1199 $(QIL:%=pics/%) := CFLAGS64 += $(LIBCDIR)/$(MACH)/fp/__quad.il
1200 1200 pics/_Qp%.o := CFLAGS64 += -I$(LIBCDIR)/$(MACH)/fp
1201 1201 pics/_Q%.o := sparcv9_COPTFLAG = -xO4 -xchip=ultra
1202 1202
1203 1203 # Files in crt subdirectory which need muldiv64.il inline template
1204 1204 #CIL= mul64.o divrem64.o
1205 1205 #$(CIL:%=pics/%) := CFLAGS += $(LIBCBASE)/crt/mul64.il
1206 1206
1207 1207 # large-file-aware components that should be built large
1208 1208
1209 1209 #$(COMSYSOBJS64:%=pics/%) := \
1210 1210 # CPPFLAGS += -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
1211 1211
1212 1212 #$(SYSOBJS64:%=pics/%) := \
1213 1213 # CPPFLAGS += -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
1214 1214
1215 1215 #$(PORTGEN64:%=pics/%) := \
1216 1216 # CPPFLAGS += -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
1217 1217
1218 1218 #$(PORTSTDIO64:%=pics/%) := \
1219 1219 # CPPFLAGS += -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
1220 1220
1221 1221 #$(PORTSYS64:%=pics/%) := \
1222 1222 # CPPFLAGS += -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
1223 1223
1224 1224 $(PORTSTDIO_W:%=pics/%) := \
1225 1225 CPPFLAGS += -D_WIDE
1226 1226
1227 1227 $(PORTPRINT_W:%=pics/%) := \
1228 1228 CPPFLAGS += -D_WIDE
1229 1229
1230 1230 $(PORTI18N_COND:%=pics/%) := \
1231 1231 CPPFLAGS += -D_WCS_LONGLONG
1232 1232
1233 1233 pics/arc4random.o := CPPFLAGS += -I$(SRC)/common/crypto/chacha
1234 1234
1235 1235 # Files which need extra optimization
1236 1236 pics/getenv.o := sparcv9_COPTFLAG = -xO4
1237 1237
1238 1238 .KEEP_STATE:
1239 1239
1240 1240 all: $(LIBS) $(LIB_PIC)
1241 1241
1242 1242 lint := CPPFLAGS += -I$(LIBCDIR)/$(MACH)/fp
1243 1243 lint := CPPFLAGS += -D_MSE_INT_H -D_LCONV_C99
1244 1244 lint := LINTFLAGS64 += -mn
1245 1245
1246 1246 lint:
1247 1247 @echo $(LINT.c) ... $(LDLIBS)
1248 1248 @$(LINT.c) $(SRCS) $(LDLIBS)
1249 1249
1250 1250 $(LINTLIB):= SRCS=$(LIBCDIR)/port/llib-lc
1251 1251 $(LINTLIB):= CPPFLAGS += -D_MSE_INT_H
1252 1252 $(LINTLIB):= LINTFLAGS64=-nvx -m64
1253 1253
1254 1254 # object files that depend on inline template
1255 1255 $(TIL:%=pics/%): $(LIBCBASE)/threads/sparcv9.il
1256 1256 $(IL:%=pics/%): $(LIBCBASE)/fp/base.il
1257 1257 $(QIL:%=pics/%): $(LIBCDIR)/$(MACH)/fp/__quad.il
1258 1258 #$(CIL:%=pics/%): $(LIBCBASE)/crt/muldiv64.il
1259 1259
1260 1260 # include common libc targets
1261 1261 include $(LIBCDIR)/Makefile.targ
1262 1262
1263 1263 # We need to strip out all CTF and DOF data from the static library
1264 1264 $(LIB_PIC) := DIR = pics
1265 1265 $(LIB_PIC): pics $$(PICS)
1266 1266 $(BUILD.AR)
1267 1267 $(MCS) -d -n .SUNW_ctf $@ > /dev/null 2>&1
1268 1268 $(MCS) -d -n .SUNW_dof $@ > /dev/null 2>&1
1269 1269 $(AR) -ts $@ > /dev/null
1270 1270 $(POST_PROCESS_A)
1271 1271
1272 1272 # special cases
1273 1273 #$(STRETS:%=pics/%): crt/stret.s
1274 1274 # $(AS) $(ASFLAGS) -DSTRET$(@F:stret%.o=%) crt/stret.s -o $@
1275 1275 # $(POST_PROCESS_O)
1276 1276
1277 1277 #crt/_rtbootld.s: crt/_rtboot.s crt/_rtld.c
1278 1278 # $(CC) $(CPPFLAGS) -O -S -K pic crt/_rtld.c -o crt/_rtld.s
1279 1279 # $(CAT) crt/_rtboot.s crt/_rtld.s > $@
1280 1280 # $(RM) crt/_rtld.s
1281 1281
1282 1282 ASSYMDEP_OBJS= \
1283 1283 _lwp_mutex_unlock.o \
1284 1284 _stack_grow.o \
1285 1285 asm_subr.o \
1286 1286 setjmp.o \
1287 1287 smt_pause.o \
1288 1288 tls_get_addr.o \
1289 1289 unwind_frame.o \
1290 1290 vforkx.o
1291 1291
1292 1292 $(ASSYMDEP_OBJS:%=pics/%) := CPPFLAGS += -I.
↓ open down ↓ |
1292 lines elided |
↑ open up ↑ |
1293 1293
1294 1294 $(ASSYMDEP_OBJS:%=pics/%): assym.h
1295 1295
1296 1296 # assym.h build rules
1297 1297
1298 1298 assym.h := CFLAGS64 += -g
1299 1299
1300 1300 GENASSYM_C = $(LIBCDIR)/$(MACH)/genassym.c
1301 1301
1302 1302 genassym: $(GENASSYM_C)
1303 - $(NATIVECC) -I$(LIBCBASE)/inc -I$(LIBCDIR)/inc \
1303 + $(NATIVECC) $(NATIVE_CFLAGS) -I$(LIBCBASE)/inc -I$(LIBCDIR)/inc \
1304 1304 $(CPPFLAGS.native) -o $@ $(GENASSYM_C)
1305 1305
1306 1306 OFFSETS = $(LIBCDIR)/$(MACH)/offsets.in
1307 1307
1308 1308 assym.h: $(OFFSETS) genassym
1309 1309 $(OFFSETS_CREATE) <$(OFFSETS) >$@
1310 1310 ./genassym >>$@
1311 1311
1312 1312 # derived C source and related explicit dependencies
1313 1313 $(LIBCDIR)/port/gen/new_list.c: $(LIBCDIR)/port/gen/errlist $(LIBCDIR)/port/gen/errlist.awk
1314 1314 cd $(LIBCDIR)/port/gen; pwd; $(AWK) -f errlist.awk < errlist
1315 1315
1316 1316 pics/new_list.o: $(LIBCDIR)/port/gen/new_list.c
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX