Print this page
9852 enable ld(1) guidance and deflib assertions for the illumos build


  36 ROOTONBLDETC=           $(ROOTONBLD)/etc
  37 ROOTONBLDLIB=           $(ROOTONBLD)/lib
  38 ROOTONBLDLIBMACH=       $(ROOTONBLD)/lib/$(MACH)
  39 ROOTONBLDLIBMACH64=     $(ROOTONBLD)/lib/$(MACH)/64
  40 ROOTONBLDLIBPERL=       $(ROOTONBLD)/lib/perl
  41 ROOTONBLDLIBPY=         $(ROOTONBLD)/lib/python
  42 ROOTONBLDENV=           $(ROOTONBLD)/env
  43 ROOTONBLDMAN=           $(ROOTONBLD)/man
  44 ROOTONBLDMAN1ONBLD=     $(ROOTONBLD)/man/man1onbld
  45 ROOTONBLDETCABI=        $(ROOTONBLD)/etc/abi
  46 ROOTONBLDETCEXCEPT=     $(ROOTONBLD)/etc/exception_lists
  47 ROOTONBLDSHARE=         $(ROOTONBLD)/share
  48 
  49 CC =                    $(NATIVECC)
  50 CCC =                   $(NATIVECCC)
  51 CFLAGS =                $(NATIVE_CFLAGS)
  52 CPPFLAGS=               -D_TS_ERRNO
  53 ELFSIGN_O=              $(TRUE)
  54 LDLIBS=
  55 LDFLAGS=                $(MAPFILE.NES:%=-M%) $(MAPFILE.NED:%=-M%) \
  56                             $(MAPFILE.PGA:%=-M%)


  57 
  58 ROOTONBLDPROG=          $(PROG:%=$(ROOTONBLDBIN)/%)
  59 ROOTONBLDMACHPROG=      $(PROG:%=$(ROOTONBLDBINMACH)/%)
  60 ROOTONBLDSHFILES=       $(SHFILES:%=$(ROOTONBLDBIN)/%)
  61 ROOTONBLDMAKEFILES=     $(MAKEFILES:%=$(ROOTONBLDBIN)/%)
  62 ROOTONBLDMACHSHFILES=   $(SHFILES:%=$(ROOTONBLDBINMACH)/%)
  63 ROOTONBLDMACHBINARIES=  $(BINARIES:%=$(ROOTONBLDBINMACH)/%)
  64 ROOTONBLDETCFILES=      $(ETCFILES:%=$(ROOTONBLDETC)/%)
  65 ROOTONBLDENVFILES=      $(ENVFILES:%=$(ROOTONBLDENV)/%)
  66 ROOTONBLDPERLFILES=     $(PERLFILES:%=$(ROOTONBLDBIN)/%)
  67 ROOTONBLDPERLMODULES=   $(PERLMODULES:%=$(ROOTONBLDLIBPERL)/%)
  68 ROOTONBLDPYFILES=       $(PYFILES:%=$(ROOTONBLDBIN)/%)
  69 ROOTONBLDMAN1ONBLDFILES=$(MAN1ONBLDFILES:%=$(ROOTONBLDMAN1ONBLD)/%)
  70 ROOTONBLDABIAUDITFILES= $(ABI_AUDITFILES:%=$(ROOTONBLDETCABI)/%)
  71 ROOTONBLDEXCEPTFILES=   $(EXCEPTFILES:%=$(ROOTONBLDETCEXCEPT)/%)
  72 
  73 # Break a chicken-and-egg dependency cycle for the tools build
  74 SCCSCHECK=@echo would sccscheck
  75 
  76 $(ROOTONBLDETCABI)/%: %




  36 ROOTONBLDETC=           $(ROOTONBLD)/etc
  37 ROOTONBLDLIB=           $(ROOTONBLD)/lib
  38 ROOTONBLDLIBMACH=       $(ROOTONBLD)/lib/$(MACH)
  39 ROOTONBLDLIBMACH64=     $(ROOTONBLD)/lib/$(MACH)/64
  40 ROOTONBLDLIBPERL=       $(ROOTONBLD)/lib/perl
  41 ROOTONBLDLIBPY=         $(ROOTONBLD)/lib/python
  42 ROOTONBLDENV=           $(ROOTONBLD)/env
  43 ROOTONBLDMAN=           $(ROOTONBLD)/man
  44 ROOTONBLDMAN1ONBLD=     $(ROOTONBLD)/man/man1onbld
  45 ROOTONBLDETCABI=        $(ROOTONBLD)/etc/abi
  46 ROOTONBLDETCEXCEPT=     $(ROOTONBLD)/etc/exception_lists
  47 ROOTONBLDSHARE=         $(ROOTONBLD)/share
  48 
  49 CC =                    $(NATIVECC)
  50 CCC =                   $(NATIVECCC)
  51 CFLAGS =                $(NATIVE_CFLAGS)
  52 CPPFLAGS=               -D_TS_ERRNO
  53 ELFSIGN_O=              $(TRUE)
  54 LDLIBS=
  55 LDFLAGS=                $(MAPFILE.NES:%=-M%) $(MAPFILE.NED:%=-M%) \
  56                             $(MAPFILE.PGA:%=-M%) \
  57                             -B direct
  58 NATIVE_LIBS=            libc.so
  59 
  60 ROOTONBLDPROG=          $(PROG:%=$(ROOTONBLDBIN)/%)
  61 ROOTONBLDMACHPROG=      $(PROG:%=$(ROOTONBLDBINMACH)/%)
  62 ROOTONBLDSHFILES=       $(SHFILES:%=$(ROOTONBLDBIN)/%)
  63 ROOTONBLDMAKEFILES=     $(MAKEFILES:%=$(ROOTONBLDBIN)/%)
  64 ROOTONBLDMACHSHFILES=   $(SHFILES:%=$(ROOTONBLDBINMACH)/%)
  65 ROOTONBLDMACHBINARIES=  $(BINARIES:%=$(ROOTONBLDBINMACH)/%)
  66 ROOTONBLDETCFILES=      $(ETCFILES:%=$(ROOTONBLDETC)/%)
  67 ROOTONBLDENVFILES=      $(ENVFILES:%=$(ROOTONBLDENV)/%)
  68 ROOTONBLDPERLFILES=     $(PERLFILES:%=$(ROOTONBLDBIN)/%)
  69 ROOTONBLDPERLMODULES=   $(PERLMODULES:%=$(ROOTONBLDLIBPERL)/%)
  70 ROOTONBLDPYFILES=       $(PYFILES:%=$(ROOTONBLDBIN)/%)
  71 ROOTONBLDMAN1ONBLDFILES=$(MAN1ONBLDFILES:%=$(ROOTONBLDMAN1ONBLD)/%)
  72 ROOTONBLDABIAUDITFILES= $(ABI_AUDITFILES:%=$(ROOTONBLDETCABI)/%)
  73 ROOTONBLDEXCEPTFILES=   $(EXCEPTFILES:%=$(ROOTONBLDETCEXCEPT)/%)
  74 
  75 # Break a chicken-and-egg dependency cycle for the tools build
  76 SCCSCHECK=@echo would sccscheck
  77 
  78 $(ROOTONBLDETCABI)/%: %