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


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


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