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


  52 POFILE=         ufsdump.po
  53 ROLLPOFILES=    roll_log.po
  54 
  55 # XXX This is only needed for the check: target.  It would be nice to
  56 # XXX automatically generate the list when needed.
  57 HEADERS=        ../../../head/protocols/dumprestore.h \
  58         ../../fs.d/ufs/roll_log/roll_log.h ../include/byteorder.h \
  59         ../include/memutils.h \
  60         ../include/rmt.h dump.h dumpusg.h
  61 
  62 CLOBBERFILES += $(PRODUCT) $(DEBUGPRODUCTS) dumpdates
  63 
  64 LOCAL=          .
  65 GENERAL=        ../include
  66 GLOBAL=         ../../../head
  67 CPPFLAGS=       -I$(LOCAL) -I$(GENERAL) -I$(GLOBAL) -DPARTIAL \
  68                 -I$(ROLLDIR) $(CPPFLAGS.master) \
  69                 -D_LARGEFILE64_SOURCE=1
  70 CERRWARN +=     -_gcc=-Wno-implicit-function-declaration
  71 CERRWARN +=     -_gcc=-Wno-parentheses
  72 CERRWARN +=     -_gcc=-Wno-uninitialized
  73 CERRWARN +=     -_gcc=-Wno-clobbered
  74 CERRWARN +=     -_gcc=-Wno-extra
  75 LIBDUMP=        ../lib/libdump.a
  76 LINTLIBDUMP=    ../lib/llib-ldump.ln -lkstat
  77 LDLIBS +=       $(BSTATIC) -L../lib -ldump $(BDYNAMIC) \
  78                 -lsocket -lnsl -ladm -lm -lkstat
  79 
  80 UFSROOTDUMPDATES=       $(UFSROOTETC)/dumpdates
  81 UFSROOTLINK=            $(UFSROOTUSRSBIN)/$(PROG)
  82 LINKVALUE=              ../lib/fs/$(FSTYPE)/$(PROG)
  83 LIBDIR=                 $(UFSROOTUSRLIBFS)/$(FSTYPE)
  84 $(UFSROOTDUMPDATES):=   FILEMODE=       0664
  85 $(LIBDIR):=             DIRMODE=        0755
  86 
  87 FILEMODE=       04555
  88 
  89 .KEEP_STATE:
  90 
  91 all:            $(PRODUCT)
  92 




  52 POFILE=         ufsdump.po
  53 ROLLPOFILES=    roll_log.po
  54 
  55 # XXX This is only needed for the check: target.  It would be nice to
  56 # XXX automatically generate the list when needed.
  57 HEADERS=        ../../../head/protocols/dumprestore.h \
  58         ../../fs.d/ufs/roll_log/roll_log.h ../include/byteorder.h \
  59         ../include/memutils.h \
  60         ../include/rmt.h dump.h dumpusg.h
  61 
  62 CLOBBERFILES += $(PRODUCT) $(DEBUGPRODUCTS) dumpdates
  63 
  64 LOCAL=          .
  65 GENERAL=        ../include
  66 GLOBAL=         ../../../head
  67 CPPFLAGS=       -I$(LOCAL) -I$(GENERAL) -I$(GLOBAL) -DPARTIAL \
  68                 -I$(ROLLDIR) $(CPPFLAGS.master) \
  69                 -D_LARGEFILE64_SOURCE=1
  70 CERRWARN +=     -_gcc=-Wno-implicit-function-declaration
  71 CERRWARN +=     -_gcc=-Wno-parentheses
  72 CERRWARN +=     $(CNOWARN_UNINIT)
  73 CERRWARN +=     -_gcc=-Wno-clobbered
  74 CERRWARN +=     -_gcc=-Wno-extra
  75 LIBDUMP=        ../lib/libdump.a
  76 LINTLIBDUMP=    ../lib/llib-ldump.ln -lkstat
  77 LDLIBS +=       $(BSTATIC) -L../lib -ldump $(BDYNAMIC) \
  78                 -lsocket -lnsl -ladm -lm -lkstat
  79 
  80 UFSROOTDUMPDATES=       $(UFSROOTETC)/dumpdates
  81 UFSROOTLINK=            $(UFSROOTUSRSBIN)/$(PROG)
  82 LINKVALUE=              ../lib/fs/$(FSTYPE)/$(PROG)
  83 LIBDIR=                 $(UFSROOTUSRLIBFS)/$(FSTYPE)
  84 $(UFSROOTDUMPDATES):=   FILEMODE=       0664
  85 $(LIBDIR):=             DIRMODE=        0755
  86 
  87 FILEMODE=       04555
  88 
  89 .KEEP_STATE:
  90 
  91 all:            $(PRODUCT)
  92