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


  52 LDLIBS +=       -lc -lnsl
  53 LIBS =          $(DYNLIB) $(LINTLIB)
  54 
  55 # turn off ptr-cast warnings
  56 LINTFLAGS64 +=  -erroff=E_BAD_PTR_CAST_ALIGN
  57 
  58 # turn off warning caused by lint bug: not understanding SCNi8 "hhi"
  59 LINTFLAGS +=    -erroff=E_BAD_FORMAT_STR2
  60 LINTFLAGS +=    -erroff=E_INVALID_TOKEN_IN_DEFINE_MACRO
  61 LINTFLAGS +=    -erroff=E_RET_INT_IMPLICITLY
  62 LINTFLAGS +=    -erroff=E_FUNC_USED_VAR_ARG2
  63 LINTFLAGS +=    -erroff=E_CONSTANT_CONDITION
  64 LINTFLAGS64 +=  -erroff=E_BAD_FORMAT_STR2
  65 LINTFLAGS64 +=  -erroff=E_INVALID_TOKEN_IN_DEFINE_MACRO
  66 LINTFLAGS64 +=  -erroff=E_RET_INT_IMPLICITLY
  67 LINTFLAGS64 +=  -erroff=E_FUNC_USED_VAR_ARG2
  68 LINTFLAGS64 +=  -erroff=E_CONSTANT_CONDITION
  69 
  70 CERRWARN +=     -_gcc=-Wno-type-limits
  71 CERRWARN +=     -_gcc=-Wno-parentheses
  72 CERRWARN +=     -_gcc=-Wno-uninitialized
  73 
  74 CFLAGS +=       $(CCVERBOSE)
  75 CPPFLAGS +=     -D_REENTRANT
  76 
  77 CSTD=   $(CSTD_GNU99)
  78 C99LMODE=       -Xc99=%all
  79 
  80 $(LINTLIB) :=   SRCS = $(SRCDIR)/$(LINTSRC)
  81 
  82 .KEEP_STATE:
  83 
  84 all: $(LIBS)
  85 
  86 lint: lintcheck
  87 
  88 include ../../Makefile.targ
  89 
  90 pics/%.o: $(SRC)/common/nvpair/%.c
  91         $(COMPILE.c) -o $@ $<
  92         $(POST_PROCESS_O)


  52 LDLIBS +=       -lc -lnsl
  53 LIBS =          $(DYNLIB) $(LINTLIB)
  54 
  55 # turn off ptr-cast warnings
  56 LINTFLAGS64 +=  -erroff=E_BAD_PTR_CAST_ALIGN
  57 
  58 # turn off warning caused by lint bug: not understanding SCNi8 "hhi"
  59 LINTFLAGS +=    -erroff=E_BAD_FORMAT_STR2
  60 LINTFLAGS +=    -erroff=E_INVALID_TOKEN_IN_DEFINE_MACRO
  61 LINTFLAGS +=    -erroff=E_RET_INT_IMPLICITLY
  62 LINTFLAGS +=    -erroff=E_FUNC_USED_VAR_ARG2
  63 LINTFLAGS +=    -erroff=E_CONSTANT_CONDITION
  64 LINTFLAGS64 +=  -erroff=E_BAD_FORMAT_STR2
  65 LINTFLAGS64 +=  -erroff=E_INVALID_TOKEN_IN_DEFINE_MACRO
  66 LINTFLAGS64 +=  -erroff=E_RET_INT_IMPLICITLY
  67 LINTFLAGS64 +=  -erroff=E_FUNC_USED_VAR_ARG2
  68 LINTFLAGS64 +=  -erroff=E_CONSTANT_CONDITION
  69 
  70 CERRWARN +=     -_gcc=-Wno-type-limits
  71 CERRWARN +=     -_gcc=-Wno-parentheses
  72 CERRWARN +=     $(CNOWARN_UNINIT)
  73 
  74 CFLAGS +=       $(CCVERBOSE)
  75 CPPFLAGS +=     -D_REENTRANT
  76 
  77 CSTD=   $(CSTD_GNU99)
  78 C99LMODE=       -Xc99=%all
  79 
  80 $(LINTLIB) :=   SRCS = $(SRCDIR)/$(LINTSRC)
  81 
  82 .KEEP_STATE:
  83 
  84 all: $(LIBS)
  85 
  86 lint: lintcheck
  87 
  88 include ../../Makefile.targ
  89 
  90 pics/%.o: $(SRC)/common/nvpair/%.c
  91         $(COMPILE.c) -o $@ $<
  92         $(POST_PROCESS_O)