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