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