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


  56 CPROGSRC=       $(CPROG:%=_%.c)
  57 
  58 # ROOT directories
  59 ROOTMAILD=      $(ROOTLIB)/mail
  60 ROOTINC=        $(ROOT)/usr/include
  61 
  62 # installed modules
  63 ROOTBINPROG=    $(BINPROG:%=$(ROOTBIN)/%)
  64 
  65 ROOTSYMLINKS=   $(ROOTBIN)/rmail
  66 
  67 
  68 EDITPATH= \
  69         sed -e 's!REAL_PATH!/usr/bin!g' \
  70             -e 's!USR_SHARE_LIB!/usr/share/lib!g' \
  71             -e 's!VAR_MAIL!/var/mail!g' < $? > $@
  72 
  73 CPPFLAGS =      -DSVR4 -I. $(CPPFLAGS.master)
  74 CERRWARN +=     -_gcc=-Wno-implicit-function-declaration
  75 CERRWARN +=     -_gcc=-Wno-unused-variable
  76 CERRWARN +=     -_gcc=-Wno-uninitialized
  77 CERRWARN +=     -_gcc=-Wno-clobbered
  78 CERRWARN +=     -_gcc=-Wno-extra
  79 
  80 # missing type declarations for old-style functions
  81 SMATCH =        off
  82 
  83 LDLIBS +=       -lmail -lsocket
  84 
  85 # mail defines its own delete() - reduce symbols to locals to remove name clash.
  86 LDFLAGS +=      $(MAPFILE.NGB:%=-M%)
  87 
  88 # conditional assignments
  89 #
  90 all:=           TARGET= all
  91 install:=       TARGET= install
  92 clean:=         TARGET= clean
  93 clobber:=       TARGET= clobber
  94 lint:=          TARGET= lint
  95 
  96 # file modes, owners and groups for the install target




  56 CPROGSRC=       $(CPROG:%=_%.c)
  57 
  58 # ROOT directories
  59 ROOTMAILD=      $(ROOTLIB)/mail
  60 ROOTINC=        $(ROOT)/usr/include
  61 
  62 # installed modules
  63 ROOTBINPROG=    $(BINPROG:%=$(ROOTBIN)/%)
  64 
  65 ROOTSYMLINKS=   $(ROOTBIN)/rmail
  66 
  67 
  68 EDITPATH= \
  69         sed -e 's!REAL_PATH!/usr/bin!g' \
  70             -e 's!USR_SHARE_LIB!/usr/share/lib!g' \
  71             -e 's!VAR_MAIL!/var/mail!g' < $? > $@
  72 
  73 CPPFLAGS =      -DSVR4 -I. $(CPPFLAGS.master)
  74 CERRWARN +=     -_gcc=-Wno-implicit-function-declaration
  75 CERRWARN +=     -_gcc=-Wno-unused-variable
  76 CERRWARN +=     $(CNOWARN_UNINIT)
  77 CERRWARN +=     -_gcc=-Wno-clobbered
  78 CERRWARN +=     -_gcc=-Wno-extra
  79 
  80 # missing type declarations for old-style functions
  81 SMATCH =        off
  82 
  83 LDLIBS +=       -lmail -lsocket
  84 
  85 # mail defines its own delete() - reduce symbols to locals to remove name clash.
  86 LDFLAGS +=      $(MAPFILE.NGB:%=-M%)
  87 
  88 # conditional assignments
  89 #
  90 all:=           TARGET= all
  91 install:=       TARGET= install
  92 clean:=         TARGET= clean
  93 clobber:=       TARGET= clobber
  94 lint:=          TARGET= lint
  95 
  96 # file modes, owners and groups for the install target