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


  69         -I$(ECCDIR) -I$(CRYPTDIR)
  70 pics/kernelKeys.o := \
  71         CPPFLAGS += -I$(ECCDIR)
  72 pics/kernelSoftCommon.o := \
  73         CPPFLAGS = -I$(ST_DIR) $(CPPFLAGS.master)
  74 
  75 include $(SRC)/lib/Makefile.lib
  76 
  77 #       set signing mode
  78 POST_PROCESS_SO +=      ; $(ELFSIGN_CRYPTO)
  79 
  80 SRCDIR=         ../common
  81 CORESRCS =  \
  82         $(CORE_OBJECTS:%.o=$(SRCDIR)/%.c)
  83 
  84 LIBS    =       $(DYNLIB)
  85 LDLIBS  +=      -lc -lcryptoutil -lmd
  86 
  87 CFLAGS  +=      $(CCVERBOSE)
  88 
  89 CERRWARN +=     -_gcc=-Wno-uninitialized
  90 CERRWARN +=     -_gcc=-Wno-unused-label
  91 
  92 # not linted
  93 SMATCH=off
  94 
  95 ROOTLIBDIR=     $(ROOT)/usr/lib/security
  96 ROOTLIBDIR64=   $(ROOT)/usr/lib/security/$(MACH64)
  97 
  98 .KEEP_STATE:
  99 
 100 all:    $(LIBS)
 101 
 102 # we don't need to lint ST_OBJECTS since they are linted elsewhere.
 103 lintcheck := SRCS = $(CORESRCS)
 104 lintother := OSRCS = ../common/kernelSoftCommon.c
 105 lintother := CPPFLAGS = -I$(ST_DIR) $(CPPFLAGS.master)
 106 
 107 lintother: $$(OSRCS)
 108         $(LINT.c) $(LINTCHECKFLAGS) $(OSRCS) $(LDLIBS)
 109 


  69         -I$(ECCDIR) -I$(CRYPTDIR)
  70 pics/kernelKeys.o := \
  71         CPPFLAGS += -I$(ECCDIR)
  72 pics/kernelSoftCommon.o := \
  73         CPPFLAGS = -I$(ST_DIR) $(CPPFLAGS.master)
  74 
  75 include $(SRC)/lib/Makefile.lib
  76 
  77 #       set signing mode
  78 POST_PROCESS_SO +=      ; $(ELFSIGN_CRYPTO)
  79 
  80 SRCDIR=         ../common
  81 CORESRCS =  \
  82         $(CORE_OBJECTS:%.o=$(SRCDIR)/%.c)
  83 
  84 LIBS    =       $(DYNLIB)
  85 LDLIBS  +=      -lc -lcryptoutil -lmd
  86 
  87 CFLAGS  +=      $(CCVERBOSE)
  88 
  89 CERRWARN +=     $(CNOWARN_UNINIT)
  90 CERRWARN +=     -_gcc=-Wno-unused-label
  91 
  92 # not linted
  93 SMATCH=off
  94 
  95 ROOTLIBDIR=     $(ROOT)/usr/lib/security
  96 ROOTLIBDIR64=   $(ROOT)/usr/lib/security/$(MACH64)
  97 
  98 .KEEP_STATE:
  99 
 100 all:    $(LIBS)
 101 
 102 # we don't need to lint ST_OBJECTS since they are linted elsewhere.
 103 lintcheck := SRCS = $(CORESRCS)
 104 lintother := OSRCS = ../common/kernelSoftCommon.c
 105 lintother := CPPFLAGS = -I$(ST_DIR) $(CPPFLAGS.master)
 106 
 107 lintother: $$(OSRCS)
 108         $(LINT.c) $(LINTCHECKFLAGS) $(OSRCS) $(LDLIBS)
 109