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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/backup/lib/Makefile
          +++ new/usr/src/cmd/backup/lib/Makefile
↓ open down ↓ 69 lines elided ↑ open up ↑
  70   70  LINTOUT=        lint.out
  71   71  CLEANFILES=     $(OBJECTS) $(LINTOUT) $(LINTLIB) $(DEBUGS) *.ln \
  72   72                  $(YSRC) $(LIBRARY)
  73   73  LINTFLAGS +=    -y
  74   74  
  75   75  # support for -g library
  76   76  GLIB=           libdump_g.a
  77   77  DEBUGS=         $(OBJECTS:%=.debug/%)
  78   78  $(GLIB):=       AROBJS = $(DEBUGS)
  79   79  $(GLIB):=       DIR = .debug
  80      -$(GLIB):=       CFLAGS= -g $(XESS) -DDEBUG -DYYDEBUG ${SBFLAGS}
       80 +$(GLIB):=       CFLAGS= $(CCGDEBUG) $(XESS) -DDEBUG -DYYDEBUG ${SBFLAGS}
  81   81  
  82   82  .KEEP_STATE:
  83   83  
  84   84  all:    $(LIBS)
  85   85  
  86   86  debug:  $(LIBS) $(GLIB)
  87   87  
  88   88  .debug:
  89   89          -@mkdir -p $@
  90   90  
↓ open down ↓ 22 lines elided ↑ open up ↑
 113  113  
 114  114  lint.out:       $(LINTLIB)
 115  115  
 116  116  check:  $(HDRS)
 117  117          $(CSTYLE) $(CSTYLEFLAGS) `echo $(SRCS) | sed -e s/getdate.c//` $(HDRS)
 118  118          $(HDRCHK) $(HDRCHKFLAGS) $(HDRS)
 119  119  
 120  120  # include library targets
 121  121  include ../../../lib/Makefile.targ
 122  122  
 123      -_msg:           $(POFILE)
      123 +_msg:           $(POFILE)
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX