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


  24 #
  25 # Copyright (c) 2018, Joyent, Inc.
  26 
  27 LIBRARY= scsi.a
  28 VERS= .1
  29 
  30 OBJECTS= cfga_ctl.o cfga_cvt.o cfga_list.o cfga_scsi.o cfga_utils.o cfga_rcm.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 CFLAGS +=       $(CCVERBOSE)
  42 CERRWARN +=     -_gcc=-Wno-parentheses
  43 CERRWARN +=     -_gcc=-Wno-char-subscripts
  44 CERRWARN +=     -_gcc=-Wno-uninitialized
  45 CERRWARN +=     -_gcc=-Wno-address
  46 
  47 # not linted
  48 SMATCH=off
  49 
  50 LDLIBS +=       -lc -ldevice -ldevinfo -lrcm
  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)


  24 #
  25 # Copyright (c) 2018, Joyent, Inc.
  26 
  27 LIBRARY= scsi.a
  28 VERS= .1
  29 
  30 OBJECTS= cfga_ctl.o cfga_cvt.o cfga_list.o cfga_scsi.o cfga_utils.o cfga_rcm.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 CFLAGS +=       $(CCVERBOSE)
  42 CERRWARN +=     -_gcc=-Wno-parentheses
  43 CERRWARN +=     -_gcc=-Wno-char-subscripts
  44 CERRWARN +=     $(CNOWARN_UNINIT)
  45 CERRWARN +=     -_gcc=-Wno-address
  46 
  47 # not linted
  48 SMATCH=off
  49 
  50 LDLIBS +=       -lc -ldevice -ldevinfo -lrcm
  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)