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

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libexacct/Makefile.com
          +++ new/usr/src/lib/libexacct/Makefile.com
↓ open down ↓ 27 lines elided ↑ open up ↑
  28   28  COMMON_OBJS =   exacct_core.o
  29   29  LIB_OBJS =      exacct_ops.o
  30   30  OBJECTS =       $(COMMON_OBJS) $(LIB_OBJS)
  31   31  
  32   32  include ../../Makefile.lib
  33   33  
  34   34  SRCS=           $(COMMON_OBJS:%.o=../../../common/exacct/%.c) \
  35   35                  $(LIB_OBJS:%.o=../common/%.c)
  36   36  
  37   37  LIBS =          $(DYNLIB) $(LINTLIB)
  38      -LDLIBS +=       -lc
       38 +LDLIBS +=       -lc
  39   39  
  40   40  SRCDIR =        ../common
  41   41  $(LINTLIB) :=   SRCS = $(SRCDIR)/$(LINTSRC)
  42   42  
  43      -CFLAGS +=       $(CCVERBOSE)
       43 +CFLAGS +=       $(CCVERBOSE)
  44   44  CERRWARN +=     -_gcc=-Wno-uninitialized
  45   45  CPPFLAGS +=     -D_FILE_OFFSET_BITS=64
  46   46  
  47   47  debug :=        CPPFLAGS += -DLIBEXACCT_DEBUG
  48      -debug :=        COPTFLAG = -g
  49      -debug :=        COPTFLAG64 = -g
       48 +debug :=        COPTFLAG = $(CCGDEBUG)
       49 +debug :=        COPTFLAG64 = $(CCGDEBUG)
  50   50  
  51   51  .KEEP_STATE:
  52   52  
  53   53  all debug: $(LIBS)
  54   54  
  55   55  lint: lintcheck
  56   56  
  57   57  include ../../Makefile.targ
  58   58  
  59   59  objs/%.o pics/%.o: ../../../common/exacct/%.c
  60   60          $(COMPILE.c) -o $@ $<
  61   61          $(POST_PROCESS_O)
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX