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


  35 #
  36 #  Error injection module for debugging purposes
  37 #
  38 #DEBUGOBJS=     inject.o
  39 #DEBUGSRCS=     $(DEBUGOBJS:%.o=%.c)
  40 
  41 OBJS=           $(FSCKOBJS) $(DEBUGOBJS)
  42 SRCS=           $(FSCKSRCS) $(DEBUGSRCS)
  43 LSRCS=          $(FSCKSRCS) $(DEBUGSRCS)
  44 
  45 # for messaging catalog
  46 #
  47 POFILE= fsck.po
  48 
  49 catalog:        $(POFILE)
  50 
  51 CPPFLAGS +=     -D_LARGEFILE64_SOURCE
  52 
  53 CERRWARN +=     -_gcc=-Wno-parentheses
  54 CERRWARN +=     -_gcc=-Wno-unused-variable
  55 CERRWARN +=     -_gcc=-Wno-uninitialized
  56 
  57 #
  58 # We need to tell lint not to complain about the routines
  59 # we are grabbing from the kernel as being undefined.
  60 #
  61 LINTFLAGS += -u
  62 
  63 $(LIBPROG):     $(OBJS)
  64                 $(LINK.c) -o $@ $(OBJS) $(LDLIBS)
  65                 $(POST_PROCESS)
  66 
  67 lint_LSRCS:
  68         $(LINT.c) $(LSRCS) $(LDLIBS)
  69 
  70 lint:   lint_LSRCS
  71 
  72 clean:
  73         $(RM) $(FSCKOBJS) $(DEBUGOBJS)


  35 #
  36 #  Error injection module for debugging purposes
  37 #
  38 #DEBUGOBJS=     inject.o
  39 #DEBUGSRCS=     $(DEBUGOBJS:%.o=%.c)
  40 
  41 OBJS=           $(FSCKOBJS) $(DEBUGOBJS)
  42 SRCS=           $(FSCKSRCS) $(DEBUGSRCS)
  43 LSRCS=          $(FSCKSRCS) $(DEBUGSRCS)
  44 
  45 # for messaging catalog
  46 #
  47 POFILE= fsck.po
  48 
  49 catalog:        $(POFILE)
  50 
  51 CPPFLAGS +=     -D_LARGEFILE64_SOURCE
  52 
  53 CERRWARN +=     -_gcc=-Wno-parentheses
  54 CERRWARN +=     -_gcc=-Wno-unused-variable
  55 CERRWARN +=     $(CNOWARN_UNINIT)
  56 
  57 #
  58 # We need to tell lint not to complain about the routines
  59 # we are grabbing from the kernel as being undefined.
  60 #
  61 LINTFLAGS += -u
  62 
  63 $(LIBPROG):     $(OBJS)
  64                 $(LINK.c) -o $@ $(OBJS) $(LDLIBS)
  65                 $(POST_PROCESS)
  66 
  67 lint_LSRCS:
  68         $(LINT.c) $(LSRCS) $(LDLIBS)
  69 
  70 lint:   lint_LSRCS
  71 
  72 clean:
  73         $(RM) $(FSCKOBJS) $(DEBUGOBJS)