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


  68 FSLIB=          fslib.o
  69 
  70 ROOTSBINPROG = $(ROOTFS_PROG:%=$(ROOTSBIN)/%)
  71 ROOTUSRSBINLINKS = $(ROOTFS_PROG:%=$(ROOTUSRSBIN)/%)
  72 
  73 ROOTUSRSBINF=           $(USRSBINF:%=$(ROOTUSRSBIN)/%)
  74 ROOTUSRSBINCLRI=        $(USRSBINCLRI:%=$(ROOTUSRSBIN)/%)
  75 ROOTUSRSBINFF=          $(USRSBINFF:%=$(ROOTUSRSBIN)/%)
  76 ROOTETCMNTTAB=          $(MNTTAB:%=$(ROOTETC)/%)
  77 SYMETC2SBIN     =       $(ETC2SBIN:%=$(ROOTETC)/%)
  78 SYMETC2USRSBIN  =       $(ETC2USRSBIN:%=$(ROOTETC)/%)
  79 SYMUSRBIN2USRSBIN=      $(USRBIN2USRSBIN:%=$(ROOTBIN)/%)
  80 SYMUSRXPG4BIN2USRSBIN=  $(USRXPG4BIN2USRSBIN:%=$(ROOTXPG4BIN)/%)
  81 SYMDEVNM=               $(ROOTUSRSBIN)/devnm
  82 
  83 CPPFLAGS += -D_LARGEFILE64_SOURCE
  84 
  85 CERRWARN += -_gcc=-Wno-implicit-function-declaration
  86 CERRWARN += -_gcc=-Wno-parentheses
  87 CERRWARN += -_gcc=-Wno-unused-variable
  88 CERRWARN += -_gcc=-Wno-uninitialized
  89 CERRWARN += -_gcc=-Wno-unused-function
  90 
  91 # not linted
  92 SMATCH=off
  93 
  94 $(DFPROG) :=    LDLIBS += -lcmdutils
  95 $(SPPROG) :=    LDLIBS += -lkstat
  96 
  97 $(ROOTETCMNTTAB) := FILEMODE = 444
  98 
  99 # for messaging catalog
 100 #
 101 POFILE= fs.d.po
 102 POFILES1= $(PROG:%=%.po) $(ROOTFS_PROG:%=%.po) switchout.po fssnapsup.po
 103 POFILES2= $(I18NDIRS:%=%/%.po)
 104 POFILES=  $(POFILES1) $(POFILES2)
 105 volcopy.po :=   XGETFLAGS += -a -x volcopy.xcl
 106 $(DFPROG).po := XGETFLAGS += -a -x df.xcl
 107 
 108 .KEEP_STATE:




  68 FSLIB=          fslib.o
  69 
  70 ROOTSBINPROG = $(ROOTFS_PROG:%=$(ROOTSBIN)/%)
  71 ROOTUSRSBINLINKS = $(ROOTFS_PROG:%=$(ROOTUSRSBIN)/%)
  72 
  73 ROOTUSRSBINF=           $(USRSBINF:%=$(ROOTUSRSBIN)/%)
  74 ROOTUSRSBINCLRI=        $(USRSBINCLRI:%=$(ROOTUSRSBIN)/%)
  75 ROOTUSRSBINFF=          $(USRSBINFF:%=$(ROOTUSRSBIN)/%)
  76 ROOTETCMNTTAB=          $(MNTTAB:%=$(ROOTETC)/%)
  77 SYMETC2SBIN     =       $(ETC2SBIN:%=$(ROOTETC)/%)
  78 SYMETC2USRSBIN  =       $(ETC2USRSBIN:%=$(ROOTETC)/%)
  79 SYMUSRBIN2USRSBIN=      $(USRBIN2USRSBIN:%=$(ROOTBIN)/%)
  80 SYMUSRXPG4BIN2USRSBIN=  $(USRXPG4BIN2USRSBIN:%=$(ROOTXPG4BIN)/%)
  81 SYMDEVNM=               $(ROOTUSRSBIN)/devnm
  82 
  83 CPPFLAGS += -D_LARGEFILE64_SOURCE
  84 
  85 CERRWARN += -_gcc=-Wno-implicit-function-declaration
  86 CERRWARN += -_gcc=-Wno-parentheses
  87 CERRWARN += -_gcc=-Wno-unused-variable
  88 CERRWARN += $(CNOWARN_UNINIT)
  89 CERRWARN += -_gcc=-Wno-unused-function
  90 
  91 # not linted
  92 SMATCH=off
  93 
  94 $(DFPROG) :=    LDLIBS += -lcmdutils
  95 $(SPPROG) :=    LDLIBS += -lkstat
  96 
  97 $(ROOTETCMNTTAB) := FILEMODE = 444
  98 
  99 # for messaging catalog
 100 #
 101 POFILE= fs.d.po
 102 POFILES1= $(PROG:%=%.po) $(ROOTFS_PROG:%=%.po) switchout.po fssnapsup.po
 103 POFILES2= $(I18NDIRS:%=%/%.po)
 104 POFILES=  $(POFILES1) $(POFILES2)
 105 volcopy.po :=   XGETFLAGS += -a -x volcopy.xcl
 106 $(DFPROG).po := XGETFLAGS += -a -x df.xcl
 107 
 108 .KEEP_STATE: