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


  33 include ../../../Makefile.lib
  34 
  35 USR_PLAT_DIR            = $(ROOT)/usr/platform
  36 USR_PSM_DIR             = $(USR_PLAT_DIR)/$(PLATFORM)
  37 USR_PSM_LIB_DIR         = $(USR_PSM_DIR)/lib
  38 USR_PSM_LIB_CFG_DIR     = $(USR_PSM_LIB_DIR)/cfgadm
  39 USR_PSM_LIB_CFG_DIR_64  = $(USR_PSM_LIB_CFG_DIR)/$(MACH64)
  40 
  41 ROOTLIBDIR=     $(USR_PSM_LIB_CFG_DIR)
  42 ROOTLIBDIR64=   $(USR_PSM_LIB_CFG_DIR_64)
  43 
  44 SRCDIR =        ../common
  45 
  46 LIBS = $(DYNLIB)
  47 
  48 CFLAGS +=       $(CCVERBOSE)
  49 LDLIBS +=       -lc -lkstat -lnvpair
  50 
  51 CERRWARN +=     -_gcc=-Wno-parentheses
  52 CERRWARN +=     -_gcc=-Wno-char-subscripts
  53 CERRWARN +=     -_gcc=-Wno-uninitialized
  54 
  55 # not linted
  56 SMATCH=off
  57 
  58 CPPFLAGS +=     -I$(ROOT)/usr/platform/$(PLATFORM)/include -DSBD_DEBUG
  59 #
  60 #       Generate the error messages form sbd_ioctl.h
  61 #
  62 GENERRDIR=      $(SRC)/lib/cfgadm_plugins/sbd
  63 GENERR=         $(GENERRDIR)/sbdgenerr
  64 ERRSRC=         $(ROOT)/usr/platform/$(PLATFORM)/include/sys/sbd_ioctl.h
  65 
  66 .KEEP_STATE:
  67 
  68 all: $(LIBS)
  69 
  70 lint:   lintcheck
  71 
  72 # Create target directories
  73 $(USR_PSM_DIR):




  33 include ../../../Makefile.lib
  34 
  35 USR_PLAT_DIR            = $(ROOT)/usr/platform
  36 USR_PSM_DIR             = $(USR_PLAT_DIR)/$(PLATFORM)
  37 USR_PSM_LIB_DIR         = $(USR_PSM_DIR)/lib
  38 USR_PSM_LIB_CFG_DIR     = $(USR_PSM_LIB_DIR)/cfgadm
  39 USR_PSM_LIB_CFG_DIR_64  = $(USR_PSM_LIB_CFG_DIR)/$(MACH64)
  40 
  41 ROOTLIBDIR=     $(USR_PSM_LIB_CFG_DIR)
  42 ROOTLIBDIR64=   $(USR_PSM_LIB_CFG_DIR_64)
  43 
  44 SRCDIR =        ../common
  45 
  46 LIBS = $(DYNLIB)
  47 
  48 CFLAGS +=       $(CCVERBOSE)
  49 LDLIBS +=       -lc -lkstat -lnvpair
  50 
  51 CERRWARN +=     -_gcc=-Wno-parentheses
  52 CERRWARN +=     -_gcc=-Wno-char-subscripts
  53 CERRWARN +=     $(CNOWARN_UNINIT)
  54 
  55 # not linted
  56 SMATCH=off
  57 
  58 CPPFLAGS +=     -I$(ROOT)/usr/platform/$(PLATFORM)/include -DSBD_DEBUG
  59 #
  60 #       Generate the error messages form sbd_ioctl.h
  61 #
  62 GENERRDIR=      $(SRC)/lib/cfgadm_plugins/sbd
  63 GENERR=         $(GENERRDIR)/sbdgenerr
  64 ERRSRC=         $(ROOT)/usr/platform/$(PLATFORM)/include/sys/sbd_ioctl.h
  65 
  66 .KEEP_STATE:
  67 
  68 all: $(LIBS)
  69 
  70 lint:   lintcheck
  71 
  72 # Create target directories
  73 $(USR_PSM_DIR):