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


  73 
  74 include ../../Makefile.cmd
  75 
  76 SED =           sed
  77 DCFILE =        $(PROG).dc
  78 
  79 SPACEFLAG =
  80 SPACEFLAG64 =
  81 
  82 CFLAGS +=       $(CCVERBOSE) $(SORT_DEBUG)
  83 CFLAGS64 +=     $(CCVERBOSE) $(SORT_DEBUG)
  84 CPPFLAGS +=     -D_FILE_OFFSET_BITS=64
  85 LINTFLAGS +=    -U_FILE_OFFSET_BITS
  86 
  87 CERRWARN +=     -_gcc=-Wno-parentheses
  88 CERRWARN +=     -_gcc=-Wno-uninitialized
  89 CERRWARN +=     -_gcc=-Wno-unused-function
  90 
  91 $(XPG4) :=      CFLAGS += -DXPG4
  92 
  93 debug :=        SORT_DEBUG = -g -DDEBUG $(ILDOFF)
  94 debug :=        COPTFLAG =
  95 debug :=        COPTFLAG64 =
  96 stats   :=      SORT_DEBUG = -g -DSTATS -DDEBUG $(ILDOFF)
  97 stats   :=      COPTFLAG =
  98 stats   :=      COPTFLAG64 =
  99 
 100 .KEEP_STATE :
 101 
 102 .PARALLEL : $(OBJS) $(XPG4OBJS) $(LNTS)
 103 
 104 all : $(PROG) $(XPG4)
 105 
 106 debug : $(PROG) convert invoke
 107 
 108 lint : $(LNTS)
 109         $(LINT.c) $(LINTFLAGS) $(LNTS) $(LDLIBS)
 110 
 111 clean :
 112         $(RM) $(CLEANFILES)
 113 
 114 include ../../Makefile.targ
 115 
 116 # rules for $(PROG) and $(XPG4)




  73 
  74 include ../../Makefile.cmd
  75 
  76 SED =           sed
  77 DCFILE =        $(PROG).dc
  78 
  79 SPACEFLAG =
  80 SPACEFLAG64 =
  81 
  82 CFLAGS +=       $(CCVERBOSE) $(SORT_DEBUG)
  83 CFLAGS64 +=     $(CCVERBOSE) $(SORT_DEBUG)
  84 CPPFLAGS +=     -D_FILE_OFFSET_BITS=64
  85 LINTFLAGS +=    -U_FILE_OFFSET_BITS
  86 
  87 CERRWARN +=     -_gcc=-Wno-parentheses
  88 CERRWARN +=     -_gcc=-Wno-uninitialized
  89 CERRWARN +=     -_gcc=-Wno-unused-function
  90 
  91 $(XPG4) :=      CFLAGS += -DXPG4
  92 
  93 debug :=        SORT_DEBUG = $(CCGDEBUG) -DDEBUG $(ILDOFF)
  94 debug :=        COPTFLAG =
  95 debug :=        COPTFLAG64 =
  96 stats   :=      SORT_DEBUG = $(CCGDEBUG) -DSTATS -DDEBUG $(ILDOFF)
  97 stats   :=      COPTFLAG =
  98 stats   :=      COPTFLAG64 =
  99 
 100 .KEEP_STATE :
 101 
 102 .PARALLEL : $(OBJS) $(XPG4OBJS) $(LNTS)
 103 
 104 all : $(PROG) $(XPG4)
 105 
 106 debug : $(PROG) convert invoke
 107 
 108 lint : $(LNTS)
 109         $(LINT.c) $(LINTFLAGS) $(LNTS) $(LDLIBS)
 110 
 111 clean :
 112         $(RM) $(CLEANFILES)
 113 
 114 include ../../Makefile.targ
 115 
 116 # rules for $(PROG) and $(XPG4)