Print this page
11528 Makefile.noget can get gone
11529 Use -Wno-maybe-initialized
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
↓ open down ↓ |
13 lines elided |
↑ open up ↑ |
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 -# Copyright 2016 Joyent, Inc.
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 \
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 427 cfgetispeed.o \
428 428 cfgetospeed.o \
429 429 cfree.o \
430 430 cfsetispeed.o \
431 431 cfsetospeed.o \
432 432 cftime.o \
433 433 clock.o \
434 434 closedir.o \
435 435 closefrom.o \
436 436 confstr.o \
437 437 crypt.o \
438 438 csetlen.o \
439 439 ctime.o \
440 440 ctime_r.o \
441 441 daemon.o \
442 442 deflt.o \
443 443 directio.o \
444 444 dirname.o \
445 445 div.o \
446 446 drand48.o \
447 447 dup.o \
448 448 env_data.o \
449 449 err.o \
450 450 errno.o \
451 451 euclen.o \
452 452 event_port.o \
453 453 execvp.o \
454 454 explicit_bzero.o \
455 455 fattach.o \
456 456 fdetach.o \
457 457 fdopendir.o \
458 458 ffs.o \
459 459 flock.o \
460 460 fls.o \
461 461 fmtmsg.o \
462 462 freezero.o \
463 463 ftime.o \
464 464 ftok.o \
465 465 fts.o \
466 466 ftw.o \
467 467 gcvt.o \
468 468 get_nprocs.o \
469 469 getauxv.o \
470 470 getcwd.o \
471 471 getdate_err.o \
472 472 getdtblsize.o \
473 473 getentropy.o \
474 474 getenv.o \
475 475 getexecname.o \
476 476 getgrnam.o \
477 477 getgrnam_r.o \
478 478 gethostid.o \
479 479 gethostname.o \
480 480 gethz.o \
481 481 getisax.o \
482 482 getloadavg.o \
483 483 getlogin.o \
484 484 getmntent.o \
485 485 getnetgrent.o \
486 486 getopt.o \
487 487 getopt_long.o \
488 488 getpagesize.o \
489 489 getpw.o \
490 490 getpwnam.o \
491 491 getpwnam_r.o \
492 492 getrusage.o \
493 493 getspent.o \
494 494 getspent_r.o \
495 495 getsubopt.o \
496 496 gettxt.o \
497 497 getusershell.o \
498 498 getut.o \
499 499 getutx.o \
500 500 getvfsent.o \
501 501 getwd.o \
502 502 getwidth.o \
503 503 getxby_door.o \
504 504 gtxt.o \
505 505 hsearch.o \
506 506 iconv.o \
507 507 imaxabs.o \
508 508 imaxdiv.o \
509 509 index.o \
510 510 initgroups.o \
511 511 insque.o \
512 512 isaexec.o \
513 513 isastream.o \
514 514 isatty.o \
515 515 killpg.o \
516 516 klpdlib.o \
517 517 l64a.o \
518 518 lckpwdf.o \
519 519 lconstants.o \
520 520 ldivide.o \
521 521 lexp10.o \
522 522 lfind.o \
523 523 lfmt.o \
524 524 lfmt_log.o \
525 525 llabs.o \
526 526 lldiv.o \
527 527 llog10.o \
528 528 lltostr.o \
529 529 localtime.o \
530 530 lsearch.o \
531 531 madvise.o \
532 532 malloc.o \
533 533 memalign.o \
534 534 memmem.o \
535 535 memset_s.o \
536 536 mkdev.o \
537 537 mkdtemp.o \
538 538 mkfifo.o \
539 539 mkstemp.o \
540 540 mktemp.o \
541 541 mlock.o \
542 542 mlockall.o \
543 543 mon.o \
544 544 msync.o \
545 545 munlock.o \
546 546 munlockall.o \
547 547 ndbm.o \
548 548 nftw.o \
549 549 nlspath_checks.o \
550 550 nsparse.o \
551 551 nss_common.o \
552 552 nss_dbdefs.o \
553 553 nss_deffinder.o \
554 554 opendir.o \
555 555 opt_data.o \
556 556 perror.o \
557 557 pfmt.o \
558 558 pfmt_data.o \
559 559 pfmt_print.o \
560 560 pipe.o \
561 561 plock.o \
562 562 poll.o \
563 563 posix_fadvise.o \
564 564 posix_fallocate.o \
565 565 posix_madvise.o \
566 566 posix_memalign.o \
567 567 priocntl.o \
568 568 priv_str_xlate.o \
569 569 privlib.o \
570 570 psecflags.o \
571 571 psiginfo.o \
572 572 psignal.o \
573 573 pt.o \
574 574 putpwent.o \
575 575 putspent.o \
576 576 raise.o \
577 577 rand.o \
578 578 random.o \
579 579 rctlops.o \
580 580 readdir.o \
581 581 readdir_r.o \
582 582 reallocarray.o \
583 583 recallocarray.o \
584 584 realpath.o \
585 585 reboot.o \
586 586 regexpr.o \
587 587 remove.o \
588 588 rewinddir.o \
589 589 rindex.o \
590 590 scandir.o \
591 591 seekdir.o \
592 592 select.o \
593 593 set_constraint_handler_s.o \
594 594 setlabel.o \
595 595 setpriority.o \
596 596 settimeofday.o \
597 597 sh_locks.o \
598 598 sigflag.o \
599 599 siglist.o \
600 600 sigsend.o \
601 601 sigsetops.o \
602 602 ssignal.o \
603 603 stack.o \
604 604 stpcpy.o \
605 605 stpncpy.o \
606 606 str2sig.o \
607 607 strcase_charmap.o \
608 608 strcat.o \
609 609 strchrnul.o \
610 610 strcspn.o \
611 611 strdup.o \
612 612 strerror.o \
613 613 strlcat.o \
614 614 strncat.o \
615 615 strndup.o \
616 616 strpbrk.o \
617 617 strrchr.o \
618 618 strsep.o \
619 619 strsignal.o \
620 620 strspn.o \
621 621 strstr.o \
622 622 strtod.o \
623 623 strtoimax.o \
624 624 strtok.o \
625 625 strtok_r.o \
626 626 strtonum.o \
627 627 strtoumax.o \
628 628 swab.o \
629 629 swapctl.o \
630 630 sysconf.o \
631 631 syslog.o \
632 632 tcdrain.o \
633 633 tcflow.o \
634 634 tcflush.o \
635 635 tcgetattr.o \
636 636 tcgetpgrp.o \
637 637 tcgetsid.o \
638 638 tcsendbreak.o \
639 639 tcsetattr.o \
640 640 tcsetpgrp.o \
641 641 tell.o \
642 642 telldir.o \
643 643 tfind.o \
644 644 time_data.o \
645 645 time_gdata.o \
646 646 timespec_get.o \
647 647 tls_data.o \
648 648 truncate.o \
649 649 tsdalloc.o \
650 650 tsearch.o \
651 651 ttyname.o \
652 652 ttyslot.o \
653 653 ualarm.o \
654 654 ucred.o \
655 655 valloc.o \
656 656 vlfmt.o \
657 657 vpfmt.o \
658 658 waitpid.o \
659 659 walkstack.o \
660 660 wdata.o \
661 661 xgetwidth.o \
662 662 xpg4.o \
663 663 xpg6.o
664 664
665 665 PORTINET= \
666 666 inet_lnaof.o \
667 667 inet_makeaddr.o \
668 668 inet_network.o \
669 669 inet_ntoa.o \
670 670 inet_ntop.o \
671 671 inet_pton.o
672 672
673 673 PORTPRINT_W= \
674 674 doprnt_w.o
675 675
676 676 PORTPRINT= \
677 677 asprintf.o \
678 678 doprnt.o \
679 679 fprintf.o \
680 680 printf.o \
681 681 snprintf.o \
682 682 sprintf.o \
683 683 vfprintf.o \
684 684 vprintf.o \
685 685 vsnprintf.o \
686 686 vsprintf.o \
687 687 vwprintf.o \
688 688 wprintf.o
689 689
690 690 # c89 variants to support 32-bit size of c89 u/intmax_t (32-bit libc only)
691 691 PORTPRINT_C89= \
692 692 vfprintf_c89.o \
693 693 vprintf_c89.o \
694 694 vsnprintf_c89.o \
695 695 vsprintf_c89.o \
696 696 vwprintf_c89.o
697 697
698 698 PORTSTDIO_C89= \
699 699 vscanf_c89.o \
700 700 vwscanf_c89.o
701 701
702 702 # portable stdio objects that contain large file interfaces.
703 703 # Note: fopen64 is a special case, as we build it small.
704 704 PORTSTDIO64= \
705 705 fopen64.o \
706 706 fpos64.o
707 707
708 708 PORTSTDIO_W= \
709 709 doscan_w.o
710 710
711 711 PORTSTDIO= \
712 712 __extensions.o \
713 713 _endopen.o \
714 714 _filbuf.o \
715 715 _findbuf.o \
716 716 _flsbuf.o \
717 717 _wrtchk.o \
718 718 clearerr.o \
719 719 ctermid.o \
720 720 ctermid_r.o \
721 721 cuserid.o \
722 722 data.o \
723 723 doscan.o \
724 724 fdopen.o \
725 725 feof.o \
726 726 ferror.o \
727 727 fgetc.o \
728 728 fgets.o \
729 729 fileno.o \
730 730 flockf.o \
731 731 flush.o \
732 732 fopen.o \
733 733 fpos.o \
734 734 fputc.o \
735 735 fputs.o \
736 736 fread.o \
737 737 fseek.o \
738 738 fseeko.o \
739 739 ftell.o \
740 740 ftello.o \
741 741 fwrite.o \
742 742 getc.o \
743 743 getchar.o \
744 744 getline.o \
745 745 getpass.o \
746 746 gets.o \
747 747 getw.o \
748 748 popen.o \
749 749 putc.o \
750 750 putchar.o \
751 751 puts.o \
752 752 putw.o \
753 753 rewind.o \
754 754 scanf.o \
755 755 setbuf.o \
756 756 setbuffer.o \
757 757 setvbuf.o \
758 758 system.o \
759 759 tempnam.o \
760 760 tmpfile.o \
761 761 tmpnam_r.o \
762 762 ungetc.o \
763 763 mse.o \
764 764 vscanf.o \
765 765 vwscanf.o \
766 766 wscanf.o
767 767
768 768 PORTI18N= \
769 769 getwchar.o \
770 770 putwchar.o \
771 771 putws.o \
772 772 strtows.o \
773 773 wcsnlen.o \
774 774 wcstoimax.o \
775 775 wcstol.o \
776 776 wcstoul.o \
777 777 wcswcs.o \
778 778 wscat.o \
779 779 wschr.o \
780 780 wscmp.o \
781 781 wscpy.o \
782 782 wscspn.o \
783 783 wsdup.o \
784 784 wslen.o \
785 785 wsncat.o \
786 786 wsncmp.o \
787 787 wsncpy.o \
788 788 wspbrk.o \
789 789 wsprintf.o \
790 790 wsrchr.o \
791 791 wsscanf.o \
792 792 wsspn.o \
793 793 wstod.o \
794 794 wstok.o \
795 795 wstol.o \
796 796 wstoll.o \
797 797 wsxfrm.o \
798 798 wmemchr.o \
799 799 wmemcmp.o \
800 800 wmemcpy.o \
801 801 wmemmove.o \
802 802 wmemset.o \
803 803 wcsstr.o \
804 804 gettext.o \
805 805 gettext_real.o \
806 806 gettext_util.o \
807 807 gettext_gnu.o \
808 808 plural_parser.o \
809 809 wdresolve.o \
810 810 _ctype.o \
811 811 isascii.o \
812 812 toascii.o
813 813
814 814 PORTI18N_COND= \
815 815 wcstol_longlong.o \
816 816 wcstoul_longlong.o
817 817
818 818 PORTLOCALE= \
819 819 big5.o \
820 820 btowc.o \
821 821 collate.o \
822 822 collcmp.o \
823 823 euc.o \
824 824 fnmatch.o \
825 825 fgetwc.o \
826 826 fgetws.o \
827 827 fix_grouping.o \
828 828 fputwc.o \
829 829 fputws.o \
830 830 fwide.o \
831 831 gb18030.o \
832 832 gb2312.o \
833 833 gbk.o \
834 834 getdate.o \
835 835 isdigit.o \
836 836 iswctype.o \
837 837 ldpart.o \
838 838 lmessages.o \
839 839 lnumeric.o \
840 840 lmonetary.o \
841 841 localeimpl.o \
842 842 localeconv.o \
843 843 mbftowc.o \
844 844 mblen.o \
845 845 mbrlen.o \
846 846 mbrtowc.o \
847 847 mbsinit.o \
848 848 mbsnrtowcs.o \
849 849 mbsrtowcs.o \
850 850 mbstowcs.o \
851 851 mbtowc.o \
852 852 mskanji.o \
853 853 nextwctype.o \
854 854 nl_langinfo.o \
855 855 none.o \
856 856 rune.o \
857 857 runetype.o \
858 858 setlocale.o \
859 859 setrunelocale.o \
860 860 strcasecmp.o \
861 861 strcasestr.o \
862 862 strcoll.o \
863 863 strfmon.o \
864 864 strftime.o \
865 865 strncasecmp.o \
866 866 strptime.o \
867 867 strxfrm.o \
868 868 table.o \
869 869 timelocal.o \
870 870 tolower.o \
871 871 towlower.o \
872 872 ungetwc.o \
873 873 utf8.o \
874 874 wcrtomb.o \
875 875 wcscasecmp.o \
876 876 wcscoll.o \
877 877 wcsftime.o \
878 878 wcsnrtombs.o \
879 879 wcsrtombs.o \
880 880 wcstombs.o \
881 881 wcswidth.o \
882 882 wcsxfrm.o \
883 883 wctob.o \
884 884 wctomb.o \
885 885 wctrans.o \
886 886 wctype.o \
887 887 wcwidth.o \
888 888 wscol.o
889 889
890 890 AIOOBJS= \
891 891 aio.o \
892 892 aio_alloc.o \
893 893 posix_aio.o
894 894
895 895 RTOBJS= \
896 896 clock_timer.o \
897 897 mqueue.o \
898 898 pos4obj.o \
899 899 sched.o \
900 900 sem.o \
901 901 shm.o \
902 902 sigev_thread.o
903 903
904 904 TPOOLOBJS= \
905 905 thread_pool.o
906 906
907 907 THREADSOBJS= \
908 908 alloc.o \
909 909 assfail.o \
910 910 cancel.o \
911 911 c11_thr.o \
912 912 door_calls.o \
913 913 tmem.o \
914 914 pthr_attr.o \
915 915 pthr_barrier.o \
916 916 pthr_cond.o \
917 917 pthr_mutex.o \
918 918 pthr_rwlock.o \
919 919 pthread.o \
920 920 rwlock.o \
921 921 scalls.o \
922 922 sema.o \
923 923 sigaction.o \
924 924 spawn.o \
925 925 synch.o \
926 926 tdb_agent.o \
927 927 thr.o \
928 928 thread_interface.o \
929 929 tls.o \
930 930 tsd.o
931 931
932 932 THREADSMACHOBJS= \
933 933 machdep.o
934 934
935 935 THREADSASMOBJS= \
936 936 asm_subr.o
937 937
938 938 UNICODEOBJS= \
939 939 u8_textprep.o \
940 940 uconv.o
941 941
942 942 UNWINDMACHOBJS= \
943 943 unwind.o
944 944
945 945 UNWINDASMOBJS= \
946 946 unwind_frame.o
947 947
948 948 # objects that implement the transitional large file API
949 949 PORTSYS64= \
950 950 lockf64.o \
951 951 stat64.o
952 952
953 953 PORTSYS= \
954 954 _autofssys.o \
955 955 access.o \
956 956 acctctl.o \
957 957 bsd_signal.o \
958 958 chmod.o \
959 959 chown.o \
960 960 corectl.o \
961 961 epoll.o \
962 962 eventfd.o \
963 963 exacctsys.o \
964 964 execl.o \
965 965 execle.o \
966 966 execv.o \
967 967 fcntl.o \
968 968 getpagesizes.o \
969 969 getpeerucred.o \
970 970 inst_sync.o \
971 971 issetugid.o \
972 972 label.o \
973 973 link.o \
974 974 lockf.o \
975 975 lwp.o \
976 976 lwp_cond.o \
977 977 lwp_rwlock.o \
978 978 lwp_sigmask.o \
979 979 meminfosys.o \
980 980 mkdir.o \
981 981 mknod.o \
982 982 msgsys.o \
983 983 nfssys.o \
984 984 open.o \
985 985 pgrpsys.o \
986 986 posix_sigwait.o \
987 987 ppriv.o \
988 988 psetsys.o \
989 989 rctlsys.o \
990 990 readlink.o \
991 991 rename.o \
992 992 sbrk.o \
993 993 semsys.o \
994 994 set_errno.o \
995 995 sharefs.o \
996 996 shmsys.o \
997 997 sidsys.o \
998 998 siginterrupt.o \
999 999 signal.o \
1000 1000 signalfd.o \
1001 1001 sigpending.o \
1002 1002 sigstack.o \
1003 1003 stat.o \
1004 1004 symlink.o \
1005 1005 tasksys.o \
1006 1006 time.o \
1007 1007 time_util.o \
1008 1008 timerfd.o \
1009 1009 ucontext.o \
1010 1010 unlink.o \
1011 1011 ustat.o \
1012 1012 utimesys.o \
1013 1013 zone.o
1014 1014
1015 1015 PORTREGEX= \
1016 1016 glob.o \
1017 1017 regcmp.o \
1018 1018 regcomp.o \
1019 1019 regerror.o \
1020 1020 regex.o \
1021 1021 regexec.o \
1022 1022 regfree.o \
1023 1023 wordexp.o
1024 1024
1025 1025 PORTREGEX64= \
1026 1026 glob64.o
1027 1027
1028 1028 VALUES= values-Xa.o
1029 1029
1030 1030 MOSTOBJS= \
1031 1031 $(STRETS) \
1032 1032 $(CRTOBJS) \
1033 1033 $(DYNOBJS) \
1034 1034 $(FPOBJS) \
1035 1035 $(FPASMOBJS) \
1036 1036 $(ATOMICOBJS) \
1037 1037 $(CHACHAOBJS) \
1038 1038 $(XATTROBJS) \
1039 1039 $(COMOBJS) \
1040 1040 $(DTRACEOBJS) \
1041 1041 $(GENOBJS) \
1042 1042 $(PRFOBJS) \
1043 1043 $(PORTFP) \
1044 1044 $(PORTGEN) \
1045 1045 $(PORTGEN64) \
1046 1046 $(PORTI18N) \
1047 1047 $(PORTI18N_COND) \
1048 1048 $(PORTINET) \
1049 1049 $(PORTLOCALE) \
1050 1050 $(PORTPRINT) \
1051 1051 $(PORTPRINT_C89) \
1052 1052 $(PORTPRINT_W) \
1053 1053 $(PORTREGEX) \
1054 1054 $(PORTREGEX64) \
1055 1055 $(PORTSTDIO) \
1056 1056 $(PORTSTDIO64) \
1057 1057 $(PORTSTDIO_C89) \
1058 1058 $(PORTSTDIO_W) \
1059 1059 $(PORTSYS) \
1060 1060 $(PORTSYS64) \
1061 1061 $(AIOOBJS) \
1062 1062 $(RTOBJS) \
1063 1063 $(SECFLAGSOBJS) \
1064 1064 $(TPOOLOBJS) \
1065 1065 $(THREADSOBJS) \
1066 1066 $(THREADSMACHOBJS) \
1067 1067 $(THREADSASMOBJS) \
1068 1068 $(UNICODEOBJS) \
1069 1069 $(UNWINDMACHOBJS) \
1070 1070 $(UNWINDASMOBJS) \
1071 1071 $(COMSYSOBJS) \
1072 1072 $(SYSOBJS) \
1073 1073 $(COMSYSOBJS64) \
1074 1074 $(SYSOBJS64) \
1075 1075 $(VALUES)
1076 1076
1077 1077 TRACEOBJS= \
1078 1078 plockstat.o
1079 1079
1080 1080 # NOTE: libc.so.1 must be linked with the minimal crti.o and crtn.o
1081 1081 # modules whose source is provided in the $(SRC)/lib/crt directory.
1082 1082 # This must be done because otherwise the Sun C compiler would insert
1083 1083 # its own versions of these modules and those versions contain code
1084 1084 # to call out to C++ initialization functions. Such C++ initialization
1085 1085 # functions can call back into libc before thread initialization is
1086 1086 # complete and this leads to segmentation violations and other problems.
1087 1087 # Since libc contains no C++ code, linking with the minimal crti.o and
1088 1088 # crtn.o modules is safe and avoids the problems described above.
1089 1089 OBJECTS= $(CRTI) $(MOSTOBJS) $(CRTN)
1090 1090 CRTSRCS= ../../crt/sparc
1091 1091
1092 1092 # include common library definitions
1093 1093 include $(SRC)/lib/Makefile.lib
1094 1094
1095 1095 # we need to override the default SONAME here because we might
1096 1096 # be building a variant object (still libc.so.1, but different filename)
↓ open down ↓ |
1062 lines elided |
↑ open up ↑ |
1097 1097 SONAME = libc.so.1
1098 1098
1099 1099 CFLAGS += $(CCVERBOSE)
1100 1100
1101 1101 # This is necessary to avoid problems with calling _ex_unwind().
1102 1102 # We probably don't want any inlining anyway.
1103 1103 CFLAGS += -xinline=
1104 1104
1105 1105 CERRWARN += -_gcc=-Wno-parentheses
1106 1106 CERRWARN += -_gcc=-Wno-switch
1107 -CERRWARN += -_gcc=-Wno-uninitialized
1107 +CERRWARN += $(CNOWARN_UNINIT)
1108 1108 CERRWARN += -_gcc=-Wno-unused-value
1109 1109 CERRWARN += -_gcc=-Wno-unused-label
1110 1110 CERRWARN += -_gcc=-Wno-unused-variable
1111 1111 CERRWARN += -_gcc=-Wno-type-limits
1112 1112 CERRWARN += -_gcc=-Wno-char-subscripts
1113 1113 CERRWARN += -_gcc=-Wno-clobbered
1114 1114 CERRWARN += -_gcc=-Wno-unused-function
1115 1115 CERRWARN += -_gcc=-Wno-address
1116 1116
1117 1117 # Setting THREAD_DEBUG = -DTHREAD_DEBUG (make THREAD_DEBUG=-DTHREAD_DEBUG ...)
1118 1118 # enables ASSERT() checking in the threads portion of the library.
1119 1119 # This is automatically enabled for DEBUG builds, not for non-debug builds.
1120 1120 THREAD_DEBUG =
1121 1121 $(NOT_RELEASE_BUILD)THREAD_DEBUG = -DTHREAD_DEBUG
1122 1122
1123 1123 # Make string literals read-only to save memory.
1124 1124 CFLAGS += $(XSTRCONST)
1125 1125
1126 1126 ALTPICS= $(TRACEOBJS:%=pics/%)
1127 1127
1128 1128 $(DYNLIB) := BUILD.SO = $(LD) -o $@ -G $(DYNFLAGS) $(PICS) $(ALTPICS) $(EXTPICS)
1129 1129
1130 1130 MAPFILES = $(LIBCDIR)/port/mapfile-vers
1131 1131
1132 1132 CFLAGS += $(EXTN_CFLAGS)
1133 1133 CPPFLAGS= -D_REENTRANT -Dsparc $(EXTN_CPPFLAGS) $(THREAD_DEBUG) \
1134 1134 -I$(LIBCBASE)/inc -I$(LIBCDIR)/inc $(CPPFLAGS.master)
1135 1135 ASFLAGS= $(EXTN_ASFLAGS) $(AS_PICFLAGS) -P -D__STDC__ -D_ASM $(CPPFLAGS) $(sparc_AS_XARCH)
1136 1136
1137 1137 # As a favor to the dtrace syscall provider, libc still calls the
1138 1138 # old syscall traps that have been obsoleted by the *at() interfaces.
1139 1139 # Delete this to compile libc using only the new *at() system call traps
1140 1140 CPPFLAGS += -D_RETAIN_OLD_SYSCALLS
1141 1141
1142 1142 # Inform the run-time linker about libc specialized initialization
1143 1143 RTLDINFO = -z rtldinfo=tls_rtldinfo
1144 1144 DYNFLAGS += $(RTLDINFO)
1145 1145
1146 1146 # Force libc's internal references to be resolved immediately upon loading
1147 1147 # in order to avoid critical region problems. Since almost all libc symbols
1148 1148 # are marked 'protected' in the mapfiles, this is a minimal set (15 to 20).
1149 1149 DYNFLAGS += -znow
1150 1150
1151 1151 DYNFLAGS += -e __rtboot
1152 1152 DYNFLAGS += $(EXTN_DYNFLAGS)
1153 1153
1154 1154 # Inform the kernel about the initial DTrace area (in case
1155 1155 # libc is being used as the interpreter / runtime linker).
1156 1156 DTRACE_DATA = -zdtrace=dtrace_data
1157 1157 DYNFLAGS += $(DTRACE_DATA)
1158 1158
1159 1159 # DTrace needs an executable data segment.
1160 1160 MAPFILE.NED=
1161 1161
1162 1162 BUILD.s= $(AS) $(ASFLAGS) $< -o $@
1163 1163
1164 1164 # Override this top level flag so the compiler builds in its native
1165 1165 # C99 mode. This has been enabled to support the complex arithmetic
1166 1166 # added to libc.
1167 1167 CSTD= $(CSTD_GNU99)
1168 1168
1169 1169 # libc method of building an archive
1170 1170 # The "$(GREP) -v ' L '" part is necessary only until
1171 1171 # lorder is fixed to ignore thread-local variables.
1172 1172 BUILD.AR= $(RM) $@ ; \
1173 1173 $(AR) q $@ `$(LORDER) $(MOSTOBJS:%=$(DIR)/%) | $(GREP) -v ' L ' | $(TSORT)`
1174 1174
1175 1175 # extra files for the clean target
1176 1176 CLEANFILES= \
1177 1177 $(LIBCDIR)/port/gen/errlst.c \
1178 1178 $(LIBCDIR)/port/gen/new_list.c \
1179 1179 assym.h \
1180 1180 genassym \
1181 1181 $(LIBCBASE)/crt/_rtld.s \
1182 1182 $(LIBCBASE)/crt/_rtbootld.s \
1183 1183 pics/_rtbootld.o \
1184 1184 pics/crti.o \
1185 1185 pics/crtn.o \
1186 1186 $(ALTPICS)
1187 1187
1188 1188 CLOBBERFILES += $(LIB_PIC)
1189 1189
1190 1190 # conditional assignments
1191 1191 $(DYNLIB) := CRTI = crti.o
1192 1192 $(DYNLIB) := CRTN = crtn.o
1193 1193
1194 1194 # Files which need the threads .il inline template
1195 1195 TIL= \
1196 1196 aio.o \
1197 1197 alloc.o \
1198 1198 assfail.o \
1199 1199 atexit.o \
1200 1200 atfork.o \
1201 1201 cancel.o \
1202 1202 door_calls.o \
1203 1203 err.o \
1204 1204 errno.o \
1205 1205 getctxt.o \
1206 1206 lwp.o \
1207 1207 ma.o \
1208 1208 machdep.o \
1209 1209 posix_aio.o \
1210 1210 pthr_attr.o \
1211 1211 pthr_barrier.o \
1212 1212 pthr_cond.o \
1213 1213 pthr_mutex.o \
1214 1214 pthr_rwlock.o \
1215 1215 pthread.o \
1216 1216 rand.o \
1217 1217 rwlock.o \
1218 1218 scalls.o \
1219 1219 sched.o \
1220 1220 sema.o \
1221 1221 sigaction.o \
1222 1222 sigev_thread.o \
1223 1223 spawn.o \
1224 1224 stack.o \
1225 1225 swapctxt.o \
1226 1226 synch.o \
1227 1227 tdb_agent.o \
1228 1228 thr.o \
1229 1229 thread_interface.o \
1230 1230 thread_pool.o \
1231 1231 tls.o \
1232 1232 tsd.o \
1233 1233 unwind.o
1234 1234
1235 1235 $(TIL:%=pics/%) := CFLAGS += $(LIBCBASE)/threads/sparc.il
1236 1236
1237 1237 # special kludge for inlines with 'cas':
1238 1238 pics/rwlock.o pics/synch.o pics/lwp.o pics/door_calls.o := \
1239 1239 sparc_CFLAGS += -_gcc=-Wa,-xarch=v8plus
1240 1240
1241 1241 # Files in port/fp subdirectory that need base.il inline template
1242 1242 IL= \
1243 1243 __flt_decim.o \
1244 1244 decimal_bin.o
1245 1245
1246 1246 $(IL:%=pics/%) := CFLAGS += $(LIBCBASE)/fp/base.il
1247 1247
1248 1248 # Files in fp subdirectory which need __quad.il inline template
1249 1249 QIL= \
1250 1250 _Q_add.o \
1251 1251 _Q_cmp.o \
1252 1252 _Q_cmpe.o \
1253 1253 _Q_div.o \
1254 1254 _Q_dtoq.o \
1255 1255 _Q_fcc.o \
1256 1256 _Q_mul.o \
1257 1257 _Q_qtod.o \
1258 1258 _Q_qtoi.o \
1259 1259 _Q_qtos.o \
1260 1260 _Q_qtou.o \
1261 1261 _Q_sqrt.o \
1262 1262 _Q_stoq.o \
1263 1263 _Q_sub.o
1264 1264
1265 1265 $(QIL:%=pics/%) := CFLAGS += $(LIBCDIR)/$(MACH)/fp/__quad.il
1266 1266 pics/_Q%.o := sparc_COPTFLAG = -xO4 -dalign
1267 1267 pics/__quad%.o := sparc_COPTFLAG = -xO4 -dalign
1268 1268
1269 1269 # large-file-aware components that should be built large
1270 1270
1271 1271 $(COMSYSOBJS64:%=pics/%) := \
1272 1272 CPPFLAGS += -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
1273 1273
1274 1274 $(SYSOBJS64:%=pics/%) := \
1275 1275 CPPFLAGS += -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
1276 1276
1277 1277 $(PORTGEN64:%=pics/%) := \
1278 1278 CPPFLAGS += -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
1279 1279
1280 1280 $(PORTREGEX64:%=pics/%) := \
1281 1281 CPPFLAGS += -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
1282 1282
1283 1283 $(PORTSTDIO64:%=pics/%) := \
1284 1284 CPPFLAGS += -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
1285 1285
1286 1286 $(PORTSYS64:%=pics/%) := \
1287 1287 CPPFLAGS += -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
1288 1288
1289 1289 $(PORTSTDIO_W:%=pics/%) := \
1290 1290 CPPFLAGS += -D_WIDE
1291 1291
1292 1292 $(PORTPRINT_W:%=pics/%) := \
1293 1293 CPPFLAGS += -D_WIDE
1294 1294
1295 1295 # printf/scanf functions to support c89-sized intmax_t variables
1296 1296 $(PORTPRINT_C89:%=pics/%) := \
1297 1297 CPPFLAGS += -D_C89_INTMAX32
1298 1298
1299 1299 $(PORTSTDIO_C89:%=pics/%) := \
1300 1300 CPPFLAGS += -D_C89_INTMAX32
1301 1301
1302 1302 $(PORTI18N_COND:%=pics/%) := \
1303 1303 CPPFLAGS += -D_WCS_LONGLONG
1304 1304
1305 1305 pics/arc4random.o := CPPFLAGS += -I$(SRC)/common/crypto/chacha
1306 1306
1307 1307 # Files which need extra optimization
1308 1308 pics/getenv.o := sparc_COPTFLAG = -xO4
1309 1309
1310 1310 .KEEP_STATE:
1311 1311
1312 1312 all: $(LIBS) $(LIB_PIC)
1313 1313
1314 1314 # object files that depend on inline template
1315 1315 $(TIL:%=pics/%): $(LIBCBASE)/threads/sparc.il
1316 1316 $(IL:%=pics/%): $(LIBCBASE)/fp/base.il
1317 1317 $(QIL:%=pics/%): $(LIBCDIR)/$(MACH)/fp/__quad.il
1318 1318
1319 1319 # include common libc targets
1320 1320 include $(LIBCDIR)/Makefile.targ
1321 1321
1322 1322 # We need to strip out all CTF and DOF data from the static library
1323 1323 $(LIB_PIC) := DIR = pics
1324 1324 $(LIB_PIC): pics $$(PICS)
1325 1325 $(BUILD.AR)
1326 1326 $(MCS) -d -n .SUNW_ctf $@ > /dev/null 2>&1
1327 1327 $(MCS) -d -n .SUNW_dof $@ > /dev/null 2>&1
1328 1328 $(AR) -ts $@ > /dev/null
1329 1329 $(POST_PROCESS_A)
1330 1330
1331 1331 # special cases
1332 1332 $(STRETS:%=pics/%): $(LIBCBASE)/crt/stret.s
1333 1333 $(AS) $(ASFLAGS) -DSTRET$(@F:stret%.o=%) $(LIBCBASE)/crt/stret.s -o $@
1334 1334 $(POST_PROCESS_S_O)
1335 1335
1336 1336 $(LIBCBASE)/crt/_rtbootld.s: $(LIBCBASE)/crt/_rtboot.s $(LIBCBASE)/crt/_rtld.c
1337 1337 $(CC) $(CPPFLAGS) $(CTF_FLAGS) -O -S $(C_PICFLAGS) \
1338 1338 $(LIBCBASE)/crt/_rtld.c -o $(LIBCBASE)/crt/_rtld.s
1339 1339 $(CAT) $(LIBCBASE)/crt/_rtboot.s $(LIBCBASE)/crt/_rtld.s > $@
1340 1340 $(RM) $(LIBCBASE)/crt/_rtld.s
1341 1341
1342 1342 # partially built from C source
1343 1343 pics/_rtbootld.o: $(LIBCBASE)/crt/_rtbootld.s
1344 1344 $(AS) $(ASFLAGS) $(LIBCBASE)/crt/_rtbootld.s -o $@
1345 1345 $(CTFCONVERT_O)
1346 1346
1347 1347 ASSYMDEP_OBJS= \
1348 1348 _lwp_mutex_unlock.o \
1349 1349 _stack_grow.o \
1350 1350 asm_subr.o \
1351 1351 setjmp.o \
1352 1352 smt_pause.o \
1353 1353 tls_get_addr.o \
1354 1354 unwind_frame.o \
1355 1355 vforkx.o
1356 1356
1357 1357 $(ASSYMDEP_OBJS:%=pics/%) := CPPFLAGS += -I.
1358 1358
1359 1359 $(ASSYMDEP_OBJS:%=pics/%): assym.h
1360 1360
1361 1361 # assym.h build rules
1362 1362
1363 1363 assym.h := CFLAGS += $(CCGDEBUG)
1364 1364
1365 1365 GENASSYM_C = $(LIBCDIR)/$(MACH)/genassym.c
1366 1366
1367 1367 genassym: $(GENASSYM_C)
1368 1368 $(NATIVECC) $(NATIVE_CFLAGS) -I$(LIBCBASE)/inc -I$(LIBCDIR)/inc \
1369 1369 $(CPPFLAGS.native) -o $@ $(GENASSYM_C)
1370 1370
1371 1371 OFFSETS = $(LIBCDIR)/$(MACH)/offsets.in
1372 1372
1373 1373 assym.h: $(OFFSETS) genassym
1374 1374 $(OFFSETS_CREATE) <$(OFFSETS) >$@
1375 1375 ./genassym >>$@
1376 1376
1377 1377 # derived C source and related explicit dependencies
1378 1378 $(LIBCDIR)/port/gen/errlst.c + \
1379 1379 $(LIBCDIR)/port/gen/new_list.c: $(LIBCDIR)/port/gen/errlist $(LIBCDIR)/port/gen/errlist.awk
1380 1380 cd $(LIBCDIR)/port/gen; pwd; $(AWK) -f errlist.awk < errlist
1381 1381
1382 1382 pics/errlst.o: $(LIBCDIR)/port/gen/errlst.c
1383 1383
1384 1384 pics/new_list.o: $(LIBCDIR)/port/gen/new_list.c
↓ open down ↓ |
267 lines elided |
↑ open up ↑ |
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX