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


  32 POBJECTS=       $(MACHOBJS)
  33 POBJS=          $(POBJECTS:%=objs/%)
  34 
  35 LIBRARY=        libl.a
  36 VERS=           .1
  37 
  38 LIBOBJS=        allprint.o libmain.o reject.o yyless.o yywrap.o
  39 LIBOBJS_W=      allprint_w.o reject_w.o yyless_w.o
  40 LIBOBJS_E=      reject_e.o yyless_e.o
  41 OBJECTS=        $(LIBOBJS) $(LIBOBJS_W) $(LIBOBJS_E)
  42 
  43 FORMS=          nceucform ncform nrform
  44 
  45 include         ../../../../lib/Makefile.lib
  46 
  47 SRCDIR =        ../common
  48 
  49 CSTD=   $(CSTD_GNU99)
  50 
  51 CERRWARN +=     -_gcc=-Wno-unused-label
  52 CERRWARN +=     -_gcc=-Wno-uninitialized
  53 CERRWARN +=     -_gcc=-Wno-parentheses
  54 
  55 # Override default source file derivation rule (in Makefile.lib)
  56 # from objects
  57 #
  58 MACHSRCS=       $(MACHOBJS:%.o=../common/%.c)
  59 LIBSRCS =       $(LIBOBJS:%.o=../common/%.c)
  60 SRCS=           $(MACHSRCS) $(LIBSRCS)
  61 
  62 LIBS =          $(DYNLIB)
  63 
  64 INCLIST=        $(INCLIST_$(MACH)) -I../../include -I../../include/$(MACH)
  65 DEFLIST=        -DELF
  66 
  67 # It is not very clean to base the conditional definitions as below, but
  68 # this will have to do for now.
  69 #
  70 #$(LIBOBJS_W):= DEFLIST = -DEUC -DJLSLEX  -DWOPTION -D$*=$*_w
  71 objs/%_w.o:=    DEFLIST = -DEUC -DJLSLEX  -DWOPTION -D$*=$*_w
  72 pics/%_w.o:=    DEFLIST = -DEUC -DJLSLEX  -DWOPTION -D$*=$*_w




  32 POBJECTS=       $(MACHOBJS)
  33 POBJS=          $(POBJECTS:%=objs/%)
  34 
  35 LIBRARY=        libl.a
  36 VERS=           .1
  37 
  38 LIBOBJS=        allprint.o libmain.o reject.o yyless.o yywrap.o
  39 LIBOBJS_W=      allprint_w.o reject_w.o yyless_w.o
  40 LIBOBJS_E=      reject_e.o yyless_e.o
  41 OBJECTS=        $(LIBOBJS) $(LIBOBJS_W) $(LIBOBJS_E)
  42 
  43 FORMS=          nceucform ncform nrform
  44 
  45 include         ../../../../lib/Makefile.lib
  46 
  47 SRCDIR =        ../common
  48 
  49 CSTD=   $(CSTD_GNU99)
  50 
  51 CERRWARN +=     -_gcc=-Wno-unused-label
  52 CERRWARN +=     $(CNOWARN_UNINIT)
  53 CERRWARN +=     -_gcc=-Wno-parentheses
  54 
  55 # Override default source file derivation rule (in Makefile.lib)
  56 # from objects
  57 #
  58 MACHSRCS=       $(MACHOBJS:%.o=../common/%.c)
  59 LIBSRCS =       $(LIBOBJS:%.o=../common/%.c)
  60 SRCS=           $(MACHSRCS) $(LIBSRCS)
  61 
  62 LIBS =          $(DYNLIB)
  63 
  64 INCLIST=        $(INCLIST_$(MACH)) -I../../include -I../../include/$(MACH)
  65 DEFLIST=        -DELF
  66 
  67 # It is not very clean to base the conditional definitions as below, but
  68 # this will have to do for now.
  69 #
  70 #$(LIBOBJS_W):= DEFLIST = -DEUC -DJLSLEX  -DWOPTION -D$*=$*_w
  71 objs/%_w.o:=    DEFLIST = -DEUC -DJLSLEX  -DWOPTION -D$*=$*_w
  72 pics/%_w.o:=    DEFLIST = -DEUC -DJLSLEX  -DWOPTION -D$*=$*_w