Print this page
3946 ::gcore
Reviewed by: Adam Leventhal <ahl@delphix.com>
Reviewed by: Matthew Ahrens <mahrens@delphix.com>

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/mdb/Makefile.module
          +++ new/usr/src/cmd/mdb/Makefile.module
↓ open down ↓ 14 lines elided ↑ open up ↑
  15   15  # If applicable, add the following below this CDDL HEADER, with the
  16   16  # fields enclosed by brackets "[]" replaced with your own identifying
  17   17  # information: Portions Copyright [yyyy] [name of copyright owner]
  18   18  #
  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 +# Copyright (c) 2013 by Delphix. All rights reserved.
       26 +#
  25   27  
  26   28  .KEEP_STATE:
  27   29  .SUFFIXES:
  28   30  
  29   31  include $(SRC)/cmd/mdb/Makefile.tools
  30   32  
  31   33  $(KMOD_SOURCES_DIFFERENT)KMODSRCS = $(MODSRCS)
  32   34  
  33   35  MODOBJS = $(MODSRCS:%.c=dmod/%.o)
  34   36  KMODOBJS = $(KMODSRCS:%.c=kmod/%.o)
↓ open down ↓ 51 lines elided ↑ open up ↑
  86   88  LINTFILES_kvm_both      = $(KLINTOBJS) $(LINTOBJS)
  87   89  LINTFILES_kvm_mdb       = $(LINTOBJS)
  88   90  LINTFILES_kvm           = $(LINTFILES_kvm_$(LINTFILES_kvm_type))
  89   91  LINTFILES_proc          = $(LINTOBJS)
  90   92  LINTFILES_raw           = $(LINTOBJS)
  91   93  LINTFILES               = $(LINTFILES_$(MDBTGT))
  92   94  
  93   95  kvm_TGTFLAGS            = -D_KERNEL
  94   96  proc_TGTFLAGS           = -D_USER
  95   97  
       98 +C99MODE                 = $(C99_ENABLE)
       99 +
  96  100  CFLAGS                  += $(CCVERBOSE)
  97  101  CFLAGS64                += $(CCVERBOSE)
  98  102  CPPFLAGS                += $($(MDBTGT)_TGTFLAGS) -I../../../common
  99  103  LDFLAGS                 += $(ZTEXT)
 100  104  LDFLAGS64               += $(ZTEXT)
 101  105  
 102  106  # Module type-specific compiler flags
 103  107  $(MODOBJS) :=                   CFLAGS += $(C_BIGPICFLAGS) $(XREGSFLAG)
 104  108  $(MODOBJS) :=                   CFLAGS64 += $(C_BIGPICFLAGS) $(XREGSFLAG)
 105  109  $(KMODOBJS) $(KLINTOBJS) :=     CPPFLAGS += -D_KMDB
↓ open down ↓ 147 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX