Print this page
8609 want a position independent CRT
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Reviewed by: Albert Lee <trisk@forkgnu.org>
Approved by:

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/Makefile
          +++ new/usr/src/lib/Makefile
↓ open down ↓ 36 lines elided ↑ open up ↑
  37   37  #       This is a minor bug which probably should be fixed.
  38   38  #       Note also that a few extra libraries are kept in cmd source.
  39   39  #
  40   40  # Certain libraries are linked with, hence depend on, other libraries.
  41   41  # Library dependencies are called out explicitly, see "Library
  42   42  # interdependencies" below.
  43   43  .PARALLEL:
  44   44  
  45   45  # Build libc and its dependencies
  46   46  SUBDIRS=                        \
  47      -        common                  \
       47 +        crt                     \
  48   48          ../cmd/sgs/libconv      \
  49   49          ../cmd/sgs/libdl        \
  50   50          libc                    \
  51   51          .WAIT
  52   52  
  53   53  # Build libraries with lots of dependents
  54   54  SUBDIRS +=              \
  55   55          libm            \
  56   56          libmd           \
  57   57          libmp           \
↓ open down ↓ 484 lines elided ↑ open up ↑
 542  542  
 543  543  clean clobber lint:     $(NOWAIT_SUBDIRS:%=%-nodepend)
 544  544  
 545  545  install_h check:        $(HDRSUBDIRS:%=%-nodepend)
 546  546  
 547  547  _msg:                   $(MSGSUBDIRS:%=%-nodepend) .WAIT _dc
 548  548  
 549  549  _dc:                    $(DCSUBDIRS:%=%-nodepend)
 550  550  
 551  551  # Library interdependencies are called out explicitly here.
 552      -../cmd/sgs/libconv: common
 553      -../cmd/sgs/libdl: common
      552 +../cmd/sgs/libconv: crt
      553 +../cmd/sgs/libdl: crt
 554  554  libc:           ../cmd/sgs/libconv ../cmd/sgs/libdl
 555  555  
 556  556  libm:           libc
 557  557  libmd:          libc
 558  558  libmp:          libc
 559  559  libnsl:         libc libmd libmp
 560  560  libnvpair:      libc libnsl
 561  561  libsocket:      libc libnsl
 562  562  
 563  563  basedeps:       libc libm libmd libmp libnsl libnvpair libsocket
↓ open down ↓ 163 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX