Print this page
3544 save-args matcher could be considerably more robust
3545 save-args matcher should accept saves may be out-of-order
Reviewed by: Joshua M. Clulow <josh@sysmgr.org>
Reviewed by: Robert Mustacchi <rm@joyent.com>

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/mdb/intel/amd64/mdb/Makefile
          +++ new/usr/src/cmd/mdb/intel/amd64/mdb/Makefile
↓ open down ↓ 18 lines elided ↑ open up ↑
  19   19  # CDDL HEADER END
  20   20  #
  21   21  #
  22   22  # Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
  23   23  # Use is subject to license terms.
  24   24  #
  25   25  
  26   26  SRCS =  kvm_amd64dep.c \
  27   27          kvm_isadep.c \
  28   28          mdb_amd64util.c \
  29      -        proc_amd64dep.c \
  30      -        saveargs.c
       29 +        proc_amd64dep.c
  31   30  
  32   31  %.o: %.c
  33   32          $(COMPILE.c) $<
  34   33          $(CTFCONVERT_O)
  35   34  
  36   35  %.o: ../../mdb/%.c
  37   36          $(COMPILE.c) $<
  38   37          $(CTFCONVERT_O)
  39   38  
  40      -%.o: $(SRC)/common/saveargs/%.c
  41      -        $(COMPILE.c) $<
  42      -        $(CTFCONVERT_O)
  43      -
  44   39  %.ln: %.c
  45   40          $(LINT.c) -c $<
  46   41  
  47   42  %.ln: ../../mdb/%.c
  48   43          $(LINT.c) -c $<
  49   44  
  50      -%.ln: $(SRC)/common/saveargs/%.c
  51      -        $(LINT.c) -c $<
  52      -
  53   45  include ../../../../Makefile.cmd
  54   46  include ../../../../Makefile.cmd.64
  55   47  include ../../Makefile.amd64
  56   48  include ../../../Makefile.mdb
  57   49  
  58   50  CPPFLAGS += -I../../mdb
  59      -CPPFLAGS += -I$(SRC)/common/saveargs
       51 +LDLIBS += -lsaveargs
  60   52  
  61   53  install: all $(ISAEXEC) $(ROOTPROG64) $(ROOTLINK64)
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX