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


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


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