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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/mdb/intel/amd64/dtrace/Makefile
          +++ new/usr/src/cmd/mdb/intel/amd64/dtrace/Makefile
↓ open down ↓ 15 lines elided ↑ open up ↑
  16   16  # If applicable, add the following below this CDDL HEADER, with the
  17   17  # fields enclosed by brackets "[]" replaced with your own identifying
  18   18  # information: Portions Copyright [yyyy] [name of copyright owner]
  19   19  #
  20   20  # CDDL HEADER END
  21   21  #
  22   22  #
  23   23  # Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
  24   24  # Use is subject to license terms.
  25   25  #
  26      -#ident  "%Z%%M% %I%     %E% SMI"
  27   26  
  28   27  MODULE = dtrace.so
  29   28  MDBTGT = kvm
  30   29  
  31   30  MODSRCS = dtrace.c dof.c dof_names.c
  32   31  
  33   32  include ../../../../Makefile.cmd
  34   33  include ../../../../Makefile.cmd.64
  35   34  include ../../Makefile.amd64
  36   35  include ../../../Makefile.module
  37   36  
  38   37  MODULE_BUILD_TYPE = mdb
  39   38  MODSRCS_DIR = ../../../common/modules/dtrace
  40   39  
  41   40  CPPFLAGS += -I$(SRC)/uts/i86pc
  42   41  LDLIBS  += -ldtrace -lm
  43   42  CLEANFILES += dof_names.c
  44   43  
  45   44  dof_names.c: $(MODSRCS_DIR)/mkdof.sh $(SRC)/uts/common/sys/dtrace.h
  46   45          sh $(MODSRCS_DIR)/mkdof.sh < $(SRC)/uts/common/sys/dtrace.h > $@
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX