Print this page
10051 cw(1) shouldn't have to translate -g

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/udapl/libdat/Makefile.com
          +++ new/usr/src/lib/udapl/libdat/Makefile.com
↓ open down ↓ 15 lines elided ↑ open up ↑
  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 2006 Sun Microsystems, Inc.  All rights reserved.
  23   23  # Use is subject to license terms.
  24   24  #
  25   25  
  26      -LIBRARY=        libdat.a 
  27      -VERS=           .1 
       26 +LIBRARY=        libdat.a
       27 +VERS=           .1
  28   28  
  29   29  OBJECTS =       \
  30   30          dat_dictionary.o \
  31   31          dat_init.o \
  32   32          dat_dr.o \
  33   33          dat_osd.o \
  34   34          dat_sr.o \
  35   35          dat_strerror.o \
  36   36          dat_api.o \
  37   37          udat.o  \
  38   38          udat_api.o \
  39      -        udat_sr_parser.o 
       39 +        udat_sr_parser.o
  40   40  
  41   41  include ../../../Makefile.lib
  42   42  
  43      -LIBS =  $(DYNLIB) $(LINTLIB)
       43 +LIBS =  $(DYNLIB) $(LINTLIB)
  44   44  LDLIBS += -lc
  45   45  
  46   46  SRCDIR =        ../common
  47   47  
  48      -CPPFLAGS +=     -I../include 
       48 +CPPFLAGS +=     -I../include
  49   49  CFLAGS +=       $(CCVERBOSE)
  50   50  LINTFLAGS +=    -DDEBUG
  51   51  LINTFLAGS64 +=  -DDEBUG
  52   52  $(LINTLIB):=    SRCS = $(SRCDIR)/$(LINTSRC)
  53   53  
  54   54  CERRWARN +=     -_gcc=-Wno-type-limits
  55   55  
  56   56  $(NOT_RELEASE_BUILD)CPPFLAGS += -DDEBUG
  57      -debug := COPTFLAG = -g
  58      -debug := COPTFLAG64 = -g
  59   57  
  60   58  .KEEP_STATE:
  61   59  
  62   60  all: $(LIBS)
  63   61  
  64   62  debug: all
  65   63  
  66   64  lint: lintcheck
  67   65  
  68   66  include ../../../Makefile.targ
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX