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


  50 LIBSRCS=        $(OBJECTS:%.o=../common/%.c)
  51 SRCS=           $(COMSRCS) $(LIBSRCS)
  52 
  53 LIBS =          $(DYNLIB)
  54 
  55 # Tune ZDEFS to ignore undefined symbols for building the yacc shared library
  56 # since these symbols (mainly yyparse) are to be resolved elsewhere.
  57 #
  58 $(DYNLIB):= ZDEFS = $(ZNODEFS)
  59 $(DYNLIBCCC):= ZDEFS = $(ZNODEFS)
  60 
  61 INCLIST=        -I../../include -I../../include/$(MACH)
  62 CPPFLAGS=       $(INCLIST) $(DEFLIST) $(CPPFLAGS.master)
  63 $(PROG):=       LDLIBS = $(LDLIBS.cmd)
  64 BUILD.AR=       $(AR) $(ARFLAGS) $@ `$(LORDER) $(OBJS) | $(TSORT)`
  65 
  66 CSTD= $(CSTD_GNU99)
  67 CFLAGS += $(CCVERBOSE)
  68 CFLAGS64 += $(CCVERBOSE)
  69 CERRWARN += -_gcc=-Wno-parentheses
  70 CERRWARN += -_gcc=-Wno-uninitialized
  71 
  72 # not linted
  73 SMATCH=off
  74 
  75 $(ROOTPROG):= FILEMODE = 0555
  76 
  77 ROOTYACCPAR=    $(YACCPAR:%=$(ROOTSHLIBCCS)/%)
  78 
  79 DYNLINKLIBDIR=  $(ROOTLIBDIR)
  80 DYNLINKLIB=     $(LIBLINKS:%=$(DYNLINKLIBDIR)/%)
  81 
  82 LDLIBS += -lc
  83 
  84 CLOBBERFILES += $(LIBS) $(LIBRARY)


  50 LIBSRCS=        $(OBJECTS:%.o=../common/%.c)
  51 SRCS=           $(COMSRCS) $(LIBSRCS)
  52 
  53 LIBS =          $(DYNLIB)
  54 
  55 # Tune ZDEFS to ignore undefined symbols for building the yacc shared library
  56 # since these symbols (mainly yyparse) are to be resolved elsewhere.
  57 #
  58 $(DYNLIB):= ZDEFS = $(ZNODEFS)
  59 $(DYNLIBCCC):= ZDEFS = $(ZNODEFS)
  60 
  61 INCLIST=        -I../../include -I../../include/$(MACH)
  62 CPPFLAGS=       $(INCLIST) $(DEFLIST) $(CPPFLAGS.master)
  63 $(PROG):=       LDLIBS = $(LDLIBS.cmd)
  64 BUILD.AR=       $(AR) $(ARFLAGS) $@ `$(LORDER) $(OBJS) | $(TSORT)`
  65 
  66 CSTD= $(CSTD_GNU99)
  67 CFLAGS += $(CCVERBOSE)
  68 CFLAGS64 += $(CCVERBOSE)
  69 CERRWARN += -_gcc=-Wno-parentheses
  70 CERRWARN += $(CNOWARN_UNINIT)
  71 
  72 # not linted
  73 SMATCH=off
  74 
  75 $(ROOTPROG):= FILEMODE = 0555
  76 
  77 ROOTYACCPAR=    $(YACCPAR:%=$(ROOTSHLIBCCS)/%)
  78 
  79 DYNLINKLIBDIR=  $(ROOTLIBDIR)
  80 DYNLINKLIB=     $(LIBLINKS:%=$(DYNLINKLIBDIR)/%)
  81 
  82 LDLIBS += -lc
  83 
  84 CLOBBERFILES += $(LIBS) $(LIBRARY)