Print this page
11528 Makefile.noget can get gone
11529 Use -Wno-maybe-initialized


  69 
  70 XPG4OBJS = $(OBJS:%.o=xpg4_%.o)
  71 SRCS =  $(OBJS:%.o=../common/%.c)
  72 LNTS =  $(OBJS:%.o=%.ln)
  73 CLEANFILES = $(OBJS) $(XPG4OBJS) $(LNTS)
  74 
  75 include ../../Makefile.cmd
  76 
  77 SED =           sed
  78 DCFILE =        $(PROG).dc
  79 
  80 SPACEFLAG =
  81 SPACEFLAG64 =
  82 
  83 CFLAGS +=       $(CCVERBOSE) $(SORT_DEBUG)
  84 CFLAGS64 +=     $(CCVERBOSE) $(SORT_DEBUG)
  85 CPPFLAGS +=     -D_FILE_OFFSET_BITS=64
  86 LINTFLAGS +=    -U_FILE_OFFSET_BITS
  87 
  88 CERRWARN +=     -_gcc=-Wno-parentheses
  89 CERRWARN +=     -_gcc=-Wno-uninitialized
  90 CERRWARN +=     -_gcc=-Wno-unused-function
  91 
  92 # not linted
  93 SMATCH=off
  94 
  95 $(XPG4) :=      CFLAGS += -DXPG4
  96 
  97 debug :=        SORT_DEBUG = $(CCGDEBUG) -DDEBUG $(ILDOFF)
  98 debug :=        COPTFLAG =
  99 debug :=        COPTFLAG64 =
 100 stats   :=      SORT_DEBUG = $(CCGDEBUG) -DSTATS -DDEBUG $(ILDOFF)
 101 stats   :=      COPTFLAG =
 102 stats   :=      COPTFLAG64 =
 103 
 104 .KEEP_STATE :
 105 
 106 .PARALLEL : $(OBJS) $(XPG4OBJS) $(LNTS)
 107 
 108 all : $(PROG) $(XPG4)
 109 




  69 
  70 XPG4OBJS = $(OBJS:%.o=xpg4_%.o)
  71 SRCS =  $(OBJS:%.o=../common/%.c)
  72 LNTS =  $(OBJS:%.o=%.ln)
  73 CLEANFILES = $(OBJS) $(XPG4OBJS) $(LNTS)
  74 
  75 include ../../Makefile.cmd
  76 
  77 SED =           sed
  78 DCFILE =        $(PROG).dc
  79 
  80 SPACEFLAG =
  81 SPACEFLAG64 =
  82 
  83 CFLAGS +=       $(CCVERBOSE) $(SORT_DEBUG)
  84 CFLAGS64 +=     $(CCVERBOSE) $(SORT_DEBUG)
  85 CPPFLAGS +=     -D_FILE_OFFSET_BITS=64
  86 LINTFLAGS +=    -U_FILE_OFFSET_BITS
  87 
  88 CERRWARN +=     -_gcc=-Wno-parentheses
  89 CERRWARN +=     $(CNOWARN_UNINIT)
  90 CERRWARN +=     -_gcc=-Wno-unused-function
  91 
  92 # not linted
  93 SMATCH=off
  94 
  95 $(XPG4) :=      CFLAGS += -DXPG4
  96 
  97 debug :=        SORT_DEBUG = $(CCGDEBUG) -DDEBUG $(ILDOFF)
  98 debug :=        COPTFLAG =
  99 debug :=        COPTFLAG64 =
 100 stats   :=      SORT_DEBUG = $(CCGDEBUG) -DSTATS -DDEBUG $(ILDOFF)
 101 stats   :=      COPTFLAG =
 102 stats   :=      COPTFLAG64 =
 103 
 104 .KEEP_STATE :
 105 
 106 .PARALLEL : $(OBJS) $(XPG4OBJS) $(LNTS)
 107 
 108 all : $(PROG) $(XPG4)
 109