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