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


  33 
  34 FSCKOBJS=       main.o dir.o dup_avl.o inode.o pass1.o pass1b.o \
  35                 pass2.o \
  36                 pass3.o pass3b.o pass4.o pass5.o setup.o \
  37                 utilities.o
  38 FSCKSRCS=       $(FSCKOBJS:%.o=%.c)
  39 
  40 UFSDIR=         ../../../../uts/common/fs/ufs
  41 UFSOBJS=        ufs_subr.o ufs_tables.o
  42 UFSSRCS=        $(UFSOBJS:%.o=$(UFSDIR)/%.c)
  43 ROLLDIR=        ../roll_log
  44 
  45 OBJS=           $(FSCKOBJS) $(UFSOBJS) $(ROLLOBJS) $(FSLIB)
  46 SRCS=           $(FSCKSRCS) $(UFSSRCS) $(ROLLSRCS) $(FSLIBSRC)
  47 
  48 CPPFLAGS +=     -D_LARGEFILE64_SOURCE -I../../ -I../../../../lib/libadm/inc
  49 LDLIBS +=       -lefi -lavl
  50 
  51 CERRWARN +=     -_gcc=-Wno-parentheses
  52 CERRWARN +=     -_gcc=-Wno-implicit-function-declaration
  53 CERRWARN +=     -_gcc=-Wno-uninitialized
  54 
  55 # not linted
  56 SMATCH=off
  57 
  58 $(LIBPROG):     $(OBJS)
  59                 $(LINK.c) -o $@ $(OBJS) $(LDLIBS) $(CTFMERGE_HOOK)
  60                 $(POST_PROCESS)
  61 
  62 %.o:    $(UFSDIR)/%.c
  63         $(COMPILE.c) $< $(CTFCONVERT_HOOK)
  64 
  65 # Use DEVLINTFLAGS and the definition of LINT.c below for development
  66 # checking.  Prior to putback, increase Nlevel to 4 for extra sanity.
  67 # Nlevel=2 is the default applied by lint.
  68 #
  69 # Remember to comment LINT.c out before doing the putback, as we shouldn't
  70 # be overriding the top-level settings under normal circumstances.
  71 #
  72 # Note that you have to have a proto area with populated usr/include and
  73 # usr/include/sys (or the parent workspace needs it).  Otherwise lint gets


  33 
  34 FSCKOBJS=       main.o dir.o dup_avl.o inode.o pass1.o pass1b.o \
  35                 pass2.o \
  36                 pass3.o pass3b.o pass4.o pass5.o setup.o \
  37                 utilities.o
  38 FSCKSRCS=       $(FSCKOBJS:%.o=%.c)
  39 
  40 UFSDIR=         ../../../../uts/common/fs/ufs
  41 UFSOBJS=        ufs_subr.o ufs_tables.o
  42 UFSSRCS=        $(UFSOBJS:%.o=$(UFSDIR)/%.c)
  43 ROLLDIR=        ../roll_log
  44 
  45 OBJS=           $(FSCKOBJS) $(UFSOBJS) $(ROLLOBJS) $(FSLIB)
  46 SRCS=           $(FSCKSRCS) $(UFSSRCS) $(ROLLSRCS) $(FSLIBSRC)
  47 
  48 CPPFLAGS +=     -D_LARGEFILE64_SOURCE -I../../ -I../../../../lib/libadm/inc
  49 LDLIBS +=       -lefi -lavl
  50 
  51 CERRWARN +=     -_gcc=-Wno-parentheses
  52 CERRWARN +=     -_gcc=-Wno-implicit-function-declaration
  53 CERRWARN +=     $(CNOWARN_UNINIT)
  54 
  55 # not linted
  56 SMATCH=off
  57 
  58 $(LIBPROG):     $(OBJS)
  59                 $(LINK.c) -o $@ $(OBJS) $(LDLIBS) $(CTFMERGE_HOOK)
  60                 $(POST_PROCESS)
  61 
  62 %.o:    $(UFSDIR)/%.c
  63         $(COMPILE.c) $< $(CTFCONVERT_HOOK)
  64 
  65 # Use DEVLINTFLAGS and the definition of LINT.c below for development
  66 # checking.  Prior to putback, increase Nlevel to 4 for extra sanity.
  67 # Nlevel=2 is the default applied by lint.
  68 #
  69 # Remember to comment LINT.c out before doing the putback, as we shouldn't
  70 # be overriding the top-level settings under normal circumstances.
  71 #
  72 # Note that you have to have a proto area with populated usr/include and
  73 # usr/include/sys (or the parent workspace needs it).  Otherwise lint gets