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