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


  38 USR_PLAT_DIR            = $(ROOT)/usr/platform
  39 USR_PSM_DIR             = $(USR_PLAT_DIR)/sun4u
  40 USR_PSM_LIB_DIR         = $(USR_PSM_DIR)/lib
  41 USR_PSM_LIB_CFG_DIR     = $(USR_PSM_LIB_DIR)/cfgadm
  42 USR_PSM_LIB_CFG_DIR_64  = $(USR_PSM_LIB_CFG_DIR)/$(MACH64)
  43 
  44 ROOTLIBDIR=     $(USR_PSM_LIB_CFG_DIR)
  45 ROOTLIBDIR64=   $(USR_PSM_LIB_CFG_DIR_64)
  46 
  47 SRCDIR =        ../common
  48 
  49 LIBS = $(DYNLIB)
  50 
  51 CFLAGS +=       $(CCVERBOSE)
  52 LDLIBS +=       -lc
  53 
  54 CPPFLAGS +=     -I$(ROOT)/usr/platform/$(PLATFORM)/include
  55 
  56 CERRWARN +=     -_gcc=-Wno-switch
  57 CERRWARN +=     -_gcc=-Wno-parentheses
  58 CERRWARN +=     -_gcc=-Wno-uninitialized
  59 
  60 # not linted
  61 SMATCH=off
  62 
  63 .KEEP_STATE:
  64 
  65 all: $(LIBS)
  66 
  67 lint:   lintcheck
  68 
  69 # Create target directories
  70 $(USR_PSM_DIR):         $(LINKED_DIRS)
  71         -$(INS.dir)
  72 
  73 $(USR_PSM_LIB_DIR):     $(USR_PSM_DIR)  $(LINKED_LIB_DIRS)
  74         -$(INS.dir)
  75 
  76 $(USR_PSM_LIB_CFG_DIR): $(USR_PSM_LIB_DIR)      $(LINKED_CFG_DIRS)
  77         -$(INS.dir)
  78 


  38 USR_PLAT_DIR            = $(ROOT)/usr/platform
  39 USR_PSM_DIR             = $(USR_PLAT_DIR)/sun4u
  40 USR_PSM_LIB_DIR         = $(USR_PSM_DIR)/lib
  41 USR_PSM_LIB_CFG_DIR     = $(USR_PSM_LIB_DIR)/cfgadm
  42 USR_PSM_LIB_CFG_DIR_64  = $(USR_PSM_LIB_CFG_DIR)/$(MACH64)
  43 
  44 ROOTLIBDIR=     $(USR_PSM_LIB_CFG_DIR)
  45 ROOTLIBDIR64=   $(USR_PSM_LIB_CFG_DIR_64)
  46 
  47 SRCDIR =        ../common
  48 
  49 LIBS = $(DYNLIB)
  50 
  51 CFLAGS +=       $(CCVERBOSE)
  52 LDLIBS +=       -lc
  53 
  54 CPPFLAGS +=     -I$(ROOT)/usr/platform/$(PLATFORM)/include
  55 
  56 CERRWARN +=     -_gcc=-Wno-switch
  57 CERRWARN +=     -_gcc=-Wno-parentheses
  58 CERRWARN +=     $(CNOWARN_UNINIT)
  59 
  60 # not linted
  61 SMATCH=off
  62 
  63 .KEEP_STATE:
  64 
  65 all: $(LIBS)
  66 
  67 lint:   lintcheck
  68 
  69 # Create target directories
  70 $(USR_PSM_DIR):         $(LINKED_DIRS)
  71         -$(INS.dir)
  72 
  73 $(USR_PSM_LIB_DIR):     $(USR_PSM_DIR)  $(LINKED_LIB_DIRS)
  74         -$(INS.dir)
  75 
  76 $(USR_PSM_LIB_CFG_DIR): $(USR_PSM_LIB_DIR)      $(LINKED_CFG_DIRS)
  77         -$(INS.dir)
  78