Print this page
8609 want a position independent CRT

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