Print this page
11461 should use a native link-editor during the build
11463 SUNWonld has passed its use-by date
11464 cmd/sgs/tools should contain tools, not common code
11465 sgsmsg should be built with the rest of the build tools

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/sgs/rtld/Makefile.targ
          +++ new/usr/src/cmd/sgs/rtld/Makefile.targ
↓ open down ↓ 50 lines elided ↑ open up ↑
  51   51                  $(POST_PROCESS_O)
  52   52  
  53   53  pics/%.o:       $(VAR_AVLDIR)/%.c
  54   54                  $(COMPILE.c) -o $@ $<
  55   55                  $(POST_PROCESS_O)
  56   56  
  57   57  pics/%.o:       $(VAR_DTRDIR)/%.c
  58   58                  $(COMPILE.c) -o $@ $<
  59   59                  $(POST_PROCESS_O)
  60   60  
  61      -pics/%.o:       $(SGSTOOLS)/common/%.c
       61 +pics/%.o:       $(SGSCOMMON)/%.c
  62   62                  $(COMPILE.c) -o $@ $<
  63   63                  $(POST_PROCESS_O)
  64   64  
  65      -pics/%.o:       $(SRCBASE)/uts/$(PLAT)/krtld/%.c
       65 +pics/%.o:       $(SRC)/uts/$(PLAT)/krtld/%.c
  66   66                  $(COMPILE.c) -o $@ $<
  67   67                  $(POST_PROCESS_O)
  68   68  
  69   69  pics/elfcap.o:  $(ELFCAP)/elfcap.c
  70   70                  $(COMPILE.c) -o $@ $(ELFCAP)/elfcap.c
  71   71                  $(POST_PROCESS_O)
  72   72  
  73   73  $(RTLD):        pics $(PICS) $(CRTS)
  74      -                $(LD_USE_PROTO)ld -o $@ -dy -G $(DYNFLAGS) $(CRTI) $(PICS) \
       74 +                $(LD) -o $@ -dy -G $(DYNFLAGS) $(CRTI) $(PICS) \
  75   75                      $(LDLIBS) $(CRTN)
  76   76                  $(POST_PROCESS_SO)
  77   77  
  78   78  delete:
  79   79                  -$(RM) $(RTLD)
  80   80  
  81   81  $(ROOTFS_LIBDIR)/%:     %
  82   82                  $(INS.file)
  83   83  
  84   84  $(ETCLIBDIR)/%:         %
↓ open down ↓ 20 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX