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