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