Print this page
NEX-3131 nza-kernel is not lint-clean when built with openssl 1.0
Reviewed by: Gordon Ross <gordon.ross@nexenta.com>
Reviewed by: Josef 'Jeff' Sipek <josef.sipek@nexenta.com>


  42 
  43 LINTSSLLIBS     = $(BERLIB) -lcrypto -lcryptoutil -lc
  44 LINTSSLLIBS64   = $(BERLIB64) -lcrypto -lcryptoutil -lc
  45 
  46 # Because of varying openssl implementations, we need to not have lint
  47 # complain if we're being liberal in our suppression directives.
  48 LINTFLAGS       +=      -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
  49 LINTFLAGS64     +=      -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
  50 
  51 SRCDIR=         ../common
  52 INCDIR=         ../../include
  53 
  54 CFLAGS          +=      $(CCVERBOSE) 
  55 CPPFLAGS        +=      -D_REENTRANT $(KMFINC) \
  56                         -I$(INCDIR) -I$(ADJUNCT_PROTO)/usr/include/libxml2
  57 
  58 CERRWARN        +=      -_gcc=-Wno-unused-label
  59 CERRWARN        +=      -_gcc=-Wno-unused-value
  60 CERRWARN        +=      -_gcc=-Wno-uninitialized
  61 


  62 PICS=   $(OBJECTS:%=pics/%)
  63 
  64 lint:=  OPENSSLLIBS=    $(LINTSSLLIBS)
  65 lint:=  OPENSSLLIBS64=  $(LINTSSLLIBS64)
  66 
  67 LDLIBS32        +=      $(OPENSSLLIBS)
  68 
  69 ROOTLIBDIR=     $(ROOTFS_LIBDIR)/crypto
  70 ROOTLIBDIR64=   $(ROOTFS_LIBDIR)/crypto/$(MACH64)
  71 
  72 .KEEP_STATE:
  73 
  74 LIBS    =       $(DYNLIB)
  75 all:    $(DYNLIB) $(LINTLIB)
  76 
  77 lint: lintcheck
  78 
  79 FRC:
  80 
  81 include $(SRC)/lib/Makefile.targ


  42 
  43 LINTSSLLIBS     = $(BERLIB) -lcrypto -lcryptoutil -lc
  44 LINTSSLLIBS64   = $(BERLIB64) -lcrypto -lcryptoutil -lc
  45 
  46 # Because of varying openssl implementations, we need to not have lint
  47 # complain if we're being liberal in our suppression directives.
  48 LINTFLAGS       +=      -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
  49 LINTFLAGS64     +=      -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
  50 
  51 SRCDIR=         ../common
  52 INCDIR=         ../../include
  53 
  54 CFLAGS          +=      $(CCVERBOSE) 
  55 CPPFLAGS        +=      -D_REENTRANT $(KMFINC) \
  56                         -I$(INCDIR) -I$(ADJUNCT_PROTO)/usr/include/libxml2
  57 
  58 CERRWARN        +=      -_gcc=-Wno-unused-label
  59 CERRWARN        +=      -_gcc=-Wno-unused-value
  60 CERRWARN        +=      -_gcc=-Wno-uninitialized
  61 
  62 LINTCHECKFLAGS  +=      -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
  63 
  64 PICS=   $(OBJECTS:%=pics/%)
  65 
  66 lint:=  OPENSSLLIBS=    $(LINTSSLLIBS)
  67 lint:=  OPENSSLLIBS64=  $(LINTSSLLIBS64)
  68 
  69 LDLIBS32        +=      $(OPENSSLLIBS)
  70 
  71 ROOTLIBDIR=     $(ROOTFS_LIBDIR)/crypto
  72 ROOTLIBDIR64=   $(ROOTFS_LIBDIR)/crypto/$(MACH64)
  73 
  74 .KEEP_STATE:
  75 
  76 LIBS    =       $(DYNLIB)
  77 all:    $(DYNLIB) $(LINTLIB)
  78 
  79 lint: lintcheck
  80 
  81 FRC:
  82 
  83 include $(SRC)/lib/Makefile.targ