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


  48 POFILE = libinst.po
  49 MSGFILES=$(OBJS:%.o=%.i) 
  50 
  51 CPPFLAGS +=     -I$(SRC)/cmd/svr4pkg/hdrs \
  52                 -I$(SRC)/lib/libpkg/common \
  53                 -I$(SRC)/lib/libinstzones/common \
  54                 -D_FILE_OFFSET_BITS=64
  55 
  56 # For VERBOSE mode
  57 #CPPFLAGS +=    -DVERBOSE
  58 
  59 # For stop-in-your-tracks debugging
  60 #CPPFLAGS +=    -DBUG_DEBUG
  61 
  62 # Lint flags 
  63 #
  64 LINTFLAGS += -un
  65 
  66 CERRWARN += -_gcc=-Wno-parentheses
  67 CERRWARN += -_gcc=-Wno-implicit-function-declaration
  68 CERRWARN += -_gcc=-Wno-uninitialized
  69 CERRWARN += -_gcc=-Wno-clobbered
  70 CERRWARN += -_gcc=-Wno-unused-variable
  71 
  72 # too many issues
  73 SMATCH=off
  74 
  75 .KEEP_STATE:
  76 
  77 all: $(PROG)
  78 
  79 $(PROG): $(OBJS)
  80         $(RM) $@
  81         $(AR) $(ARFLAGS) $@ $(OBJS)
  82         $(POST_PROCESS_A)
  83 
  84 install: all
  85         @echo "$(PROG) is a static library and will not be installed."
  86 
  87 $(POFILE): $(MSGFILES)
  88         $(BUILDPO.msgfiles)


  48 POFILE = libinst.po
  49 MSGFILES=$(OBJS:%.o=%.i) 
  50 
  51 CPPFLAGS +=     -I$(SRC)/cmd/svr4pkg/hdrs \
  52                 -I$(SRC)/lib/libpkg/common \
  53                 -I$(SRC)/lib/libinstzones/common \
  54                 -D_FILE_OFFSET_BITS=64
  55 
  56 # For VERBOSE mode
  57 #CPPFLAGS +=    -DVERBOSE
  58 
  59 # For stop-in-your-tracks debugging
  60 #CPPFLAGS +=    -DBUG_DEBUG
  61 
  62 # Lint flags 
  63 #
  64 LINTFLAGS += -un
  65 
  66 CERRWARN += -_gcc=-Wno-parentheses
  67 CERRWARN += -_gcc=-Wno-implicit-function-declaration
  68 CERRWARN += $(CNOWARN_UNINIT)
  69 CERRWARN += -_gcc=-Wno-clobbered
  70 CERRWARN += -_gcc=-Wno-unused-variable
  71 
  72 # too many issues
  73 SMATCH=off
  74 
  75 .KEEP_STATE:
  76 
  77 all: $(PROG)
  78 
  79 $(PROG): $(OBJS)
  80         $(RM) $@
  81         $(AR) $(ARFLAGS) $@ $(OBJS)
  82         $(POST_PROCESS_A)
  83 
  84 install: all
  85         @echo "$(PROG) is a static library and will not be installed."
  86 
  87 $(POFILE): $(MSGFILES)
  88         $(BUILDPO.msgfiles)