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/ldd/Makefile.targ
          +++ new/usr/src/cmd/sgs/ldd/Makefile.targ
↓ open down ↓ 18 lines elided ↑ open up ↑
  19   19  # CDDL HEADER END
  20   20  #
  21   21  #
  22   22  # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  23   23  # Use is subject to license terms.
  24   24  
  25   25  %.o:            ../common/%.c
  26   26                  $(COMPILE.c) $<
  27   27                  $(POST_PROCESS_O)
  28   28  
  29      -%.o:            $(SGSTOOLS)/common/%.c
       29 +%.o:            $(SGSCOMMON)/%.c
  30   30                  $(COMPILE.c) $<
  31   31                  $(POST_PROCESS_O)
  32   32  
  33   33  all:            $(PROG)
  34   34  
  35   35  clean:
  36   36                  $(RM) $(OBJS) $(CLEANFILES)
  37   37  
  38   38  delete:
  39   39                  $(RM) $(PROG)
↓ open down ↓ 2 lines elided ↑ open up ↑
  42   42  package:        all $(ROOTPROG)
  43   43  
  44   44  $(PROG):        $(OBJS) $(MAPFILE)
  45   45                  $(LINK.c) -o $@ $(OBJS) $(LDLIBS)
  46   46                  $(POST_PROCESS)
  47   47  
  48   48  include         $(SRC)/cmd/Makefile.targ
  49   49  include         $(SRC)/cmd/sgs/Makefile.targ
  50   50  
  51   51  # Derived source and header files (messaging).
  52      - 
  53   52  catalog:        $(BLTMESG)
  54   53  
  55   54  chkmsg:         $(SRCS)
  56   55                  sh $(CHKMSG) $(CHKMSGFLAGS) $(SRCS)
  57   56  
  58   57  $(BLTDEFS) + \
  59   58  $(BLTDATA) + \
  60   59  $(BLTMESG):     $(SGSMSGALL)
  61   60                  $(SGSMSG) $(SGSMSGFLAGS) $(SGSMSGALL)
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX