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


  28 OBJECTS =       diag.o \
  29                 lhot.o \
  30                 mon.o
  31 
  32 include ../../../Makefile.lib
  33 include ../../../Makefile.rootfs
  34 
  35 LIBS =  $(DYNLIB) $(LINTLIB)
  36 
  37 SRCDIR  = ../common
  38 
  39 .KEEP_STATE:
  40 
  41 COMMON_LINTFLAGS = -erroff=E_SEC_SPRINTF_UNBOUNDED_COPY
  42 COMMON_LINTFLAGS += -erroff=E_SEC_PRINTF_VAR_FMT
  43 
  44 LINTFLAGS += $(COMMON_LINTFLAGS) 
  45 LINTFLAGS64 +=  $(COMMON_LINTFLAGS)
  46 
  47 CERRWARN += -_gcc=-Wno-parentheses
  48 CERRWARN += -_gcc=-Wno-uninitialized
  49 
  50 LDLIBS += -lc -ldevice -lg_fc
  51 
  52 $(LINTLIB) := SRCS=     $(SRCDIR)/$(LINTSRC)
  53 
  54 all: $(LIBS)
  55 
  56 lint: lintcheck
  57 
  58 include  ../../../Makefile.targ


  28 OBJECTS =       diag.o \
  29                 lhot.o \
  30                 mon.o
  31 
  32 include ../../../Makefile.lib
  33 include ../../../Makefile.rootfs
  34 
  35 LIBS =  $(DYNLIB) $(LINTLIB)
  36 
  37 SRCDIR  = ../common
  38 
  39 .KEEP_STATE:
  40 
  41 COMMON_LINTFLAGS = -erroff=E_SEC_SPRINTF_UNBOUNDED_COPY
  42 COMMON_LINTFLAGS += -erroff=E_SEC_PRINTF_VAR_FMT
  43 
  44 LINTFLAGS += $(COMMON_LINTFLAGS) 
  45 LINTFLAGS64 +=  $(COMMON_LINTFLAGS)
  46 
  47 CERRWARN += -_gcc=-Wno-parentheses
  48 CERRWARN += $(CNOWARN_UNINIT)
  49 
  50 LDLIBS += -lc -ldevice -lg_fc
  51 
  52 $(LINTLIB) := SRCS=     $(SRCDIR)/$(LINTSRC)
  53 
  54 all: $(LIBS)
  55 
  56 lint: lintcheck
  57 
  58 include  ../../../Makefile.targ