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


  54 SRCS = $(OBJS:%.o=%.c) \
  55         proc.c \
  56         ../common/manifest_hash.c
  57 
  58 POFILES = $(OBJS:%.o=%.po) \
  59         proc.po \
  60         ../common/manifest_hash.po
  61 
  62 include ../../Makefile.cmd
  63 include ../../Makefile.ctf
  64 
  65 ROOTCMDDIR=     $(ROOT)/lib/svc/bin
  66 
  67 $(NOT_RELEASE_BUILD)CPPFLAGS += -DDEBUG
  68 CFLAGS += $(CCVERBOSE)
  69 CPPFLAGS += -I. -I../common
  70 
  71 CERRWARN += -_gcc=-Wno-parentheses
  72 CERRWARN += -_gcc=-Wno-unused-label
  73 CERRWARN += -_gcc=-Wno-switch
  74 CERRWARN += -_gcc=-Wno-uninitialized
  75 
  76 # these look like real bugs here, but ...
  77 SMOFF += impossible_mask,signed_integer_overflow_check
  78 
  79 $(OBJS) := CPPFLAGS += -D_FILE_OFFSET_BITS=64 -D_REENTRANT
  80 
  81 proc.o := CPPFLAGS += -D_REENTRANT
  82 
  83 %.o:    ../common/%.c
  84         $(COMPILE.c) $(OUTPUT_OPTION) $<
  85         $(POST_PROCESS_O)
  86 
  87 %.ln:   ../common/%.c
  88         $(LINT.c) $(OUTPUT_OPTION) -c $<
  89 
  90 LDLIBS += \
  91         -lcontract \
  92         -lkstat \
  93         -lmd5 \
  94         -lnvpair \




  54 SRCS = $(OBJS:%.o=%.c) \
  55         proc.c \
  56         ../common/manifest_hash.c
  57 
  58 POFILES = $(OBJS:%.o=%.po) \
  59         proc.po \
  60         ../common/manifest_hash.po
  61 
  62 include ../../Makefile.cmd
  63 include ../../Makefile.ctf
  64 
  65 ROOTCMDDIR=     $(ROOT)/lib/svc/bin
  66 
  67 $(NOT_RELEASE_BUILD)CPPFLAGS += -DDEBUG
  68 CFLAGS += $(CCVERBOSE)
  69 CPPFLAGS += -I. -I../common
  70 
  71 CERRWARN += -_gcc=-Wno-parentheses
  72 CERRWARN += -_gcc=-Wno-unused-label
  73 CERRWARN += -_gcc=-Wno-switch
  74 CERRWARN += $(CNOWARN_UNINIT)
  75 
  76 # these look like real bugs here, but ...
  77 SMOFF += impossible_mask,signed_integer_overflow_check
  78 
  79 $(OBJS) := CPPFLAGS += -D_FILE_OFFSET_BITS=64 -D_REENTRANT
  80 
  81 proc.o := CPPFLAGS += -D_REENTRANT
  82 
  83 %.o:    ../common/%.c
  84         $(COMPILE.c) $(OUTPUT_OPTION) $<
  85         $(POST_PROCESS_O)
  86 
  87 %.ln:   ../common/%.c
  88         $(LINT.c) $(OUTPUT_OPTION) -c $<
  89 
  90 LDLIBS += \
  91         -lcontract \
  92         -lkstat \
  93         -lmd5 \
  94         -lnvpair \