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


  78 
  79 OBJECTS = $(CMNOBJS) $(ISAOBJS) $(SAVEOBJS)
  80 
  81 # include library definitions
  82 include ../../Makefile.lib
  83 include ../../Makefile.rootfs
  84 
  85 SRCS =          $(CMNOBJS:%.o=../common/%.c) $(ISAOBJS:%.o=%.c)
  86 
  87 LIBS =          $(DYNLIB) $(LINTLIB)
  88 LDLIBS +=       -lrtld_db -lelf -lctf -lc
  89 CSTD =  $(CSTD_GNU99)
  90 CPPFLAGS +=     $($(MACH64)_CPPFLAGS)
  91 
  92 SRCDIR =        ../common
  93 $(LINTLIB) :=   SRCS = $(SRCDIR)/$(LINTSRC)
  94 
  95 CFLAGS +=       $(CCVERBOSE)
  96 CPPFLAGS +=     -I$(SRCDIR)
  97 
  98 CERRWARN +=     -_gcc=-Wno-uninitialized
  99 CERRWARN +=     -_gcc=-Wno-parentheses
 100 CERRWARN +=     -_gcc=-Wno-type-limits
 101 CERRWARN +=     -_gcc=-Wno-unused-label
 102 
 103 # not linted
 104 SMATCH=off
 105 
 106 # All interfaces are interposable, therefore don't allow direct binding to
 107 # libproc.  Disable libproc from directly binding to itself, but allow libperl
 108 # to directly bind to its dependencies (ie. map -Bdirect -> -zdirect).  Ensure
 109 # lazy loading is established (which is enabled automatically with -Bdirect).
 110 BDIRECT =
 111 DYNFLAGS +=     $(BNODIRECT) $(ZDIRECT) $(ZLAZYLOAD)
 112 
 113 .KEEP_STATE:
 114 
 115 all: $(LIBS)
 116 
 117 lint: lintcheck
 118 


  78 
  79 OBJECTS = $(CMNOBJS) $(ISAOBJS) $(SAVEOBJS)
  80 
  81 # include library definitions
  82 include ../../Makefile.lib
  83 include ../../Makefile.rootfs
  84 
  85 SRCS =          $(CMNOBJS:%.o=../common/%.c) $(ISAOBJS:%.o=%.c)
  86 
  87 LIBS =          $(DYNLIB) $(LINTLIB)
  88 LDLIBS +=       -lrtld_db -lelf -lctf -lc
  89 CSTD =  $(CSTD_GNU99)
  90 CPPFLAGS +=     $($(MACH64)_CPPFLAGS)
  91 
  92 SRCDIR =        ../common
  93 $(LINTLIB) :=   SRCS = $(SRCDIR)/$(LINTSRC)
  94 
  95 CFLAGS +=       $(CCVERBOSE)
  96 CPPFLAGS +=     -I$(SRCDIR)
  97 
  98 CERRWARN +=     $(CNOWARN_UNINIT)
  99 CERRWARN +=     -_gcc=-Wno-parentheses
 100 CERRWARN +=     -_gcc=-Wno-type-limits
 101 CERRWARN +=     -_gcc=-Wno-unused-label
 102 
 103 # not linted
 104 SMATCH=off
 105 
 106 # All interfaces are interposable, therefore don't allow direct binding to
 107 # libproc.  Disable libproc from directly binding to itself, but allow libperl
 108 # to directly bind to its dependencies (ie. map -Bdirect -> -zdirect).  Ensure
 109 # lazy loading is established (which is enabled automatically with -Bdirect).
 110 BDIRECT =
 111 DYNFLAGS +=     $(BNODIRECT) $(ZDIRECT) $(ZLAZYLOAD)
 112 
 113 .KEEP_STATE:
 114 
 115 all: $(LIBS)
 116 
 117 lint: lintcheck
 118