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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/tnf/prex/Makefile.com
          +++ new/usr/src/cmd/tnf/prex/Makefile.com
↓ open down ↓ 55 lines elided ↑ open up ↑
  56   56  include ../../../Makefile.cmd
  57   57  
  58   58  POFILE= prex.po
  59   59  POFILES= $(OBJS.c:%.o=%.po)
  60   60  
  61   61  #YFLAGS=        -d -t -v
  62   62  YFLAGS=         -d
  63   63  LFLAGS=         -v
  64   64  # FOR normal makefile, uncomment the next line
  65   65  LDLIBS +=       -lgen -ltnfctl -lelf -lc
  66      -# Uncomment the following line for a debug build
  67      -# COPTFLAG =    -g -DDEBUG
  68   66  
  69   67  CFLAGS +=       $(CCVERBOSE)
  70   68  CERRWARN +=     -_gcc=-Wno-unused-label
  71   69  CERRWARN +=     -_gcc=-Wno-unused-variable
  72   70  CERRWARN +=     -_gcc=-Wno-parentheses
  73   71  CERRWARN +=     -_gcc=-Wno-uninitialized
  74   72  
  75   73  .KEEP_STATE:
  76   74  
  77   75  .PARALLEL: $(OBJS)
↓ open down ↓ 25 lines elided ↑ open up ↑
 103  101  $(ROOTBIN):
 104  102          $(INS.dir)
 105  103  
 106  104  $(POFILE):      $(POFILES)
 107  105          $(RM)   $@
 108  106          cat     $(POFILES)      > $@
 109  107  
 110  108  clean:
 111  109          $(RM) $(OBJS) $(CLEANFILES)
 112  110  
 113      -lint: $(OBJS) 
      111 +lint: $(OBJS)
 114  112          $(LINT.c) $(SRCS)
 115  113  
 116  114  include ../../../Makefile.targ
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX