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


  33 SRCDIR =        ../common
  34 
  35 USR_LIB_DIR             = $(ROOT)/usr/lib
  36 USR_LIB_DIR_CFGADM      = $(USR_LIB_DIR)/cfgadm
  37 USR_LIB_DIR_CFGADM_64   = $(USR_LIB_DIR_CFGADM)/$(MACH64)
  38 
  39 ROOTLIBDIR= $(USR_LIB_DIR_CFGADM)
  40 ROOTLIBDIR64= $(USR_LIB_DIR_CFGADM_64)
  41 
  42 SRCS=           ../common/shp.c $(SRC)/common/pci/pci_strings.c
  43 
  44 LIBS = $(DYNLIB)
  45 
  46 CPPFLAGS +=     -I$(SRC)/lib/libhotplug/common
  47 CPPFLAGS +=     -D_POSIX_PTHREAD_SEMANTICS
  48 CFLAGS +=       $(CCVERBOSE)
  49 LDLIBS +=       -lc -ldevinfo -lhotplug
  50 
  51 CERRWARN +=     -_gcc=-Wno-parentheses
  52 CERRWARN +=     -_gcc=-Wno-char-subscripts
  53 CERRWARN +=     -_gcc=-Wno-uninitialized
  54 CERRWARN +=     -_gcc=-Wno-unused-variable
  55 
  56 # not linted
  57 SMATCH=off
  58 
  59 .KEEP_STATE:
  60 
  61 all: $(LIBS)
  62 
  63 lint:   lintcheck
  64 
  65 # Create target directories
  66 $(USR_LIB_DIR):
  67         -$(INS.dir.root.sys)
  68 
  69 $(USR_LIB_DIR_CFGADM): $(USR_LIB_DIR)
  70         -$(INS.dir.bin.bin)
  71 
  72 $(USR_LIB_DIR_CFGADM_64): $(USR_LIB_DIR_CFGADM)
  73         -$(INS.dir.bin.bin)


  33 SRCDIR =        ../common
  34 
  35 USR_LIB_DIR             = $(ROOT)/usr/lib
  36 USR_LIB_DIR_CFGADM      = $(USR_LIB_DIR)/cfgadm
  37 USR_LIB_DIR_CFGADM_64   = $(USR_LIB_DIR_CFGADM)/$(MACH64)
  38 
  39 ROOTLIBDIR= $(USR_LIB_DIR_CFGADM)
  40 ROOTLIBDIR64= $(USR_LIB_DIR_CFGADM_64)
  41 
  42 SRCS=           ../common/shp.c $(SRC)/common/pci/pci_strings.c
  43 
  44 LIBS = $(DYNLIB)
  45 
  46 CPPFLAGS +=     -I$(SRC)/lib/libhotplug/common
  47 CPPFLAGS +=     -D_POSIX_PTHREAD_SEMANTICS
  48 CFLAGS +=       $(CCVERBOSE)
  49 LDLIBS +=       -lc -ldevinfo -lhotplug
  50 
  51 CERRWARN +=     -_gcc=-Wno-parentheses
  52 CERRWARN +=     -_gcc=-Wno-char-subscripts
  53 CERRWARN +=     $(CNOWARN_UNINIT)
  54 CERRWARN +=     -_gcc=-Wno-unused-variable
  55 
  56 # not linted
  57 SMATCH=off
  58 
  59 .KEEP_STATE:
  60 
  61 all: $(LIBS)
  62 
  63 lint:   lintcheck
  64 
  65 # Create target directories
  66 $(USR_LIB_DIR):
  67         -$(INS.dir.root.sys)
  68 
  69 $(USR_LIB_DIR_CFGADM): $(USR_LIB_DIR)
  70         -$(INS.dir.bin.bin)
  71 
  72 $(USR_LIB_DIR_CFGADM_64): $(USR_LIB_DIR_CFGADM)
  73         -$(INS.dir.bin.bin)