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