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/libelf/Makefile.targ.64.man.txt
          +++ new/usr/src/cmd/sgs/libelf/Makefile.targ.64.man.txt
↓ open down ↓ 21 lines elided ↑ open up ↑
  22   22            $(POST_PROCESS_O)
  23   23  
  24   24  objs/%.o pics/%.o:  ../misc/%.c         $(COMPILE.c) -DELF -o $@ $<
  25   25            $(POST_PROCESS_O)
  26   26  
  27   27  objs/%.o pics/%.o:  ../common/%.c       $(COMPILE.c) -o $@ $<
  28   28            $(POST_PROCESS_O)
  29   29  
  30   30  all:      $(BLTSRCS) .WAIT $(LIBS) $(LIBLINKS)
  31   31  
  32      -install:  all .WAIT $(ROOTFS_LIBS64) $(ROOTFS_LINKS64)
  33      -
  34   32  delete:        $(RM) $(DYNLIB)
  35   33  
  36   34  $(LIBLINKS):        $(RM) $(LIBLINKS)        $(SYMLINK) $(DYNLIB) $(LIBLINKS)
  37   35  
  38   36  CLOBBERFILES += $(LIBLINKS)
  39   37  
  40   38  # include common library targets # include        $(SRC)/lib/Makefile.targ
  41   39  include        $(SRC)/cmd/sgs/Makefile.targ
  42   40  
  43   41  xlate.c:  ../common/xlate.m4       $(M4) < ../common/xlate.m4 > xlate.c
↓ open down ↓ 10 lines elided ↑ open up ↑
  54   52  objs/xlate.o pics/xlate.o:    xlate.c
  55   53  
  56   54  
  57   55  # Derived source and header files (messaging).  Make sure that the sgsmsg #
  58   56  command is constructed - libelf might not be built with the whole sgs.
  59   57  
  60   58  catalog:  $(BLTMESG)
  61   59  
  62   60  chkmsg:        $(LIBSRCS)          sh $(CHKMSG) $(CHKMSGFLAGS) $(LIBSRCS)
  63   61  
  64      -$(BLTDEFS) + $(BLTDATA): $(SGSMSG) $(SGSMSGTARG)       $(SGSMSG)
  65      -$(SGSMSGFLAGS2) $(SGSMSGTARG)
       62 +$(BLTDEFS) + $(BLTDATA): $(SGSMSGTARG)       $(SGSMSG) $(SGSMSGFLAGS2)
       63 +$(SGSMSGTARG)
  66   64  
  67      -$(BLTMESG):    $(SGSMSG) $(SGSMSGALL) xlate.c xlate64.c          $(SGSMSG)
       65 +$(BLTMESG):    $(SGSMSGALL) xlate.c xlate64.c          $(SGSMSG)
  68   66  $(SGSMSGFLAGS1) $(SGSMSGALL)
  69      -
  70      -$(SGSMSG):     FRC       @ cd $(SGSTOOLS)/$(MACH); pwd; $(MAKE) catalog
  71      -          @ pwd
  72   67  
  73   68  # # 64-bit overrides # include ../../Makefile.sub.64
  74   69  
  75   70  FRC:
  76   71  
  77   72  
  78   73  
  79   74                                   July 14, 2019                              ()
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX