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