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


  33 
  34 SRCDIR =        ../common
  35 
  36 USR_LIB_DIR             = $(ROOT)/usr/lib
  37 USR_LIB_DIR_CFGADM      = $(USR_LIB_DIR)/cfgadm
  38 USR_LIB_DIR_CFGADM_64   = $(USR_LIB_DIR_CFGADM)/$(MACH64)
  39 
  40 ROOTLIBDIR= $(USR_LIB_DIR_CFGADM)
  41 ROOTLIBDIR64= $(USR_LIB_DIR_CFGADM_64)
  42 
  43 SRCS=           ../common/cfga.c $(SRC)/common/pci/pci_strings.c
  44 
  45 LIBS = $(DYNLIB)
  46 
  47 CPPFLAGS +=     -D_POSIX_PTHREAD_SEMANTICS
  48 CFLAGS +=       $(CCVERBOSE)
  49 LDLIBS +=       -lc -ldevice -ldevinfo -lrcm
  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 .KEEP_STATE:
  59 
  60 all: $(LIBS)
  61 
  62 lint:   lintcheck
  63 
  64 # Create target directories
  65 $(USR_LIB_DIR):
  66         -$(INS.dir)
  67 
  68 $(USR_LIB_DIR_CFGADM): $(USR_LIB_DIR)
  69         -$(INS.dir)
  70 
  71 $(USR_LIB_DIR_CFGADM_64): $(USR_LIB_DIR_CFGADM)
  72         -$(INS.dir)
  73 


  33 
  34 SRCDIR =        ../common
  35 
  36 USR_LIB_DIR             = $(ROOT)/usr/lib
  37 USR_LIB_DIR_CFGADM      = $(USR_LIB_DIR)/cfgadm
  38 USR_LIB_DIR_CFGADM_64   = $(USR_LIB_DIR_CFGADM)/$(MACH64)
  39 
  40 ROOTLIBDIR= $(USR_LIB_DIR_CFGADM)
  41 ROOTLIBDIR64= $(USR_LIB_DIR_CFGADM_64)
  42 
  43 SRCS=           ../common/cfga.c $(SRC)/common/pci/pci_strings.c
  44 
  45 LIBS = $(DYNLIB)
  46 
  47 CPPFLAGS +=     -D_POSIX_PTHREAD_SEMANTICS
  48 CFLAGS +=       $(CCVERBOSE)
  49 LDLIBS +=       -lc -ldevice -ldevinfo -lrcm
  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 .KEEP_STATE:
  59 
  60 all: $(LIBS)
  61 
  62 lint:   lintcheck
  63 
  64 # Create target directories
  65 $(USR_LIB_DIR):
  66         -$(INS.dir)
  67 
  68 $(USR_LIB_DIR_CFGADM): $(USR_LIB_DIR)
  69         -$(INS.dir)
  70 
  71 $(USR_LIB_DIR_CFGADM_64): $(USR_LIB_DIR_CFGADM)
  72         -$(INS.dir)
  73