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