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


   9 #
  10 # Copyright (c) 2018, Joyent, Inc.
  11 #
  12 # C Shell with process control; VM/UNIX VAX Makefile
  13 # Bill Joy UC Berkeley; Jim Kulp IIASA, Austria
  14 #
  15 
  16 CSH_PROG =      csh
  17 PROG =          $(CSH_PROG)
  18 
  19 include ../../Makefile.cmd
  20 
  21 MBCHAR  = -DMBCHAR      # Define this line to include multibyte input support
  22 DEFS    =  -DVFORK -DFILEC -DBSD_COMP -DFIVE    # No TELL when MBCHAR
  23 CPPFLAGS= -I. $(DEFS) $(MBCHAR) $(CPPFLAGS.master)
  24 CPPFLAGS +=     -I../../sh
  25 CPPFLAGS += -D_FILE_OFFSET_BITS=64
  26 LDLIBS += -lcurses
  27 
  28 CERRWARN += -_gcc=-Wno-implicit-function-declaration
  29 CERRWARN += -_gcc=-Wno-uninitialized
  30 CERRWARN += -_gcc=-Wno-parentheses
  31 CERRWARN += -_gcc=-Wno-implicit-int
  32 CERRWARN += -_gcc=-Wno-unused-function
  33 CERRWARN += -_gcc=-Wno-unused-variable
  34 CERRWARN += -_gcc=-Wno-clobbered
  35 CERRWARN += -_gcc=-Wno-unused-label
  36 CERRWARN += -_gcc=-Wno-extra
  37 
  38 # "missing type for func"
  39 SMATCH=off
  40 
  41 MAPFILES =      ../mapfile-intf $(MAPFILE.NGB)
  42 LDFLAGS +=      $(MAPFILES:%=-M%)
  43 
  44 HDDEP = sh.o sh.dir.o sh.dol.o sh.err.o sh.exec.o sh.exp.o sh.file.o \
  45         sh.func.o sh.glob.o sh.hist.o sh.init.o sh.lex.o sh.misc.o \
  46         sh.parse.o sh.proc.o sh.sem.o sh.set.o sh.time.o
  47 
  48 COMMONOBJS=     printf.o sh.char.o sh.dir.o sh.dol.o sh.err.o \
  49         sh.exec.o sh.exp.o sh.file.o sh.func.o sh.glob.o sh.hist.o sh.init.o \




   9 #
  10 # Copyright (c) 2018, Joyent, Inc.
  11 #
  12 # C Shell with process control; VM/UNIX VAX Makefile
  13 # Bill Joy UC Berkeley; Jim Kulp IIASA, Austria
  14 #
  15 
  16 CSH_PROG =      csh
  17 PROG =          $(CSH_PROG)
  18 
  19 include ../../Makefile.cmd
  20 
  21 MBCHAR  = -DMBCHAR      # Define this line to include multibyte input support
  22 DEFS    =  -DVFORK -DFILEC -DBSD_COMP -DFIVE    # No TELL when MBCHAR
  23 CPPFLAGS= -I. $(DEFS) $(MBCHAR) $(CPPFLAGS.master)
  24 CPPFLAGS +=     -I../../sh
  25 CPPFLAGS += -D_FILE_OFFSET_BITS=64
  26 LDLIBS += -lcurses
  27 
  28 CERRWARN += -_gcc=-Wno-implicit-function-declaration
  29 CERRWARN += $(CNOWARN_UNINIT)
  30 CERRWARN += -_gcc=-Wno-parentheses
  31 CERRWARN += -_gcc=-Wno-implicit-int
  32 CERRWARN += -_gcc=-Wno-unused-function
  33 CERRWARN += -_gcc=-Wno-unused-variable
  34 CERRWARN += -_gcc=-Wno-clobbered
  35 CERRWARN += -_gcc=-Wno-unused-label
  36 CERRWARN += -_gcc=-Wno-extra
  37 
  38 # "missing type for func"
  39 SMATCH=off
  40 
  41 MAPFILES =      ../mapfile-intf $(MAPFILE.NGB)
  42 LDFLAGS +=      $(MAPFILES:%=-M%)
  43 
  44 HDDEP = sh.o sh.dir.o sh.dol.o sh.err.o sh.exec.o sh.exp.o sh.file.o \
  45         sh.func.o sh.glob.o sh.hist.o sh.init.o sh.lex.o sh.misc.o \
  46         sh.parse.o sh.proc.o sh.sem.o sh.set.o sh.time.o
  47 
  48 COMMONOBJS=     printf.o sh.char.o sh.dir.o sh.dol.o sh.err.o \
  49         sh.exec.o sh.exp.o sh.file.o sh.func.o sh.glob.o sh.hist.o sh.init.o \