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


  29 
  30 OBJECTS= cfga_usb.o cfga_rcm.o cfga_configfile.o
  31 
  32 # include library definitions
  33 include ../../../Makefile.lib
  34 
  35 SRCDIR =        ../common
  36 ROOTLIBDIR=     $(ROOT)/usr/lib/cfgadm
  37 ROOTLIBDIR64=   $(ROOTLIBDIR)/$(MACH64)
  38 
  39 LIBS=   $(DYNLIB)
  40 
  41 LINTFLAGS +=    -DDEBUG
  42 LINTFLAGS64 +=  -DDEBUG
  43 
  44 CFLAGS +=       $(CCVERBOSE)
  45 CFLAGS64 +=     $(CCVERBOSE)
  46 
  47 CERRWARN +=     -_gcc=-Wno-parentheses
  48 CERRWARN +=     -_gcc=-Wno-char-subscripts
  49 CERRWARN +=     -_gcc=-Wno-uninitialized
  50 CERRWARN +=     -_gcc=-Wno-unused-value
  51 
  52 # not linted
  53 SMATCH=off
  54 
  55 LDLIBS +=       -lc -ldevice -ldevinfo -lrcm -lnvpair
  56 
  57 .KEEP_STATE:
  58 
  59 all:    $(LIBS)
  60 
  61 lint:   lintcheck
  62 
  63 # Install rules
  64 
  65 $(ROOTLIBDIR)/%: % $(ROOTLIBDIR)
  66         $(INS.file)
  67 
  68 $(ROOTLIBDIR64)/%: % $(ROOTLIBDIR64)
  69         $(INS.file)


  29 
  30 OBJECTS= cfga_usb.o cfga_rcm.o cfga_configfile.o
  31 
  32 # include library definitions
  33 include ../../../Makefile.lib
  34 
  35 SRCDIR =        ../common
  36 ROOTLIBDIR=     $(ROOT)/usr/lib/cfgadm
  37 ROOTLIBDIR64=   $(ROOTLIBDIR)/$(MACH64)
  38 
  39 LIBS=   $(DYNLIB)
  40 
  41 LINTFLAGS +=    -DDEBUG
  42 LINTFLAGS64 +=  -DDEBUG
  43 
  44 CFLAGS +=       $(CCVERBOSE)
  45 CFLAGS64 +=     $(CCVERBOSE)
  46 
  47 CERRWARN +=     -_gcc=-Wno-parentheses
  48 CERRWARN +=     -_gcc=-Wno-char-subscripts
  49 CERRWARN +=     $(CNOWARN_UNINIT)
  50 CERRWARN +=     -_gcc=-Wno-unused-value
  51 
  52 # not linted
  53 SMATCH=off
  54 
  55 LDLIBS +=       -lc -ldevice -ldevinfo -lrcm -lnvpair
  56 
  57 .KEEP_STATE:
  58 
  59 all:    $(LIBS)
  60 
  61 lint:   lintcheck
  62 
  63 # Install rules
  64 
  65 $(ROOTLIBDIR)/%: % $(ROOTLIBDIR)
  66         $(INS.file)
  67 
  68 $(ROOTLIBDIR64)/%: % $(ROOTLIBDIR64)
  69         $(INS.file)