Print this page
4853 illumos-gate is not lint-clean when built with openssl 1.0 (initial commit, openssl 1.0.1h)


  56 
  57 SRCDIR= ../common
  58 
  59 SRCS=   $(OBJECTS:%.o=$(SRCDIR)/%.c)
  60 
  61 #       set signing mode
  62 POST_PROCESS_SO +=      ; $(ELFSIGN_CRYPTO)
  63 
  64 ROOTLIBDIR=$(ROOT)/usr/lib/security
  65 ROOTLIBDIR64=$(ROOT)/usr/lib/security/$(MACH64)
  66 
  67 LIBS=$(DYNLIB) $(DYNLIB64)
  68 
  69 TSSROOT=$(ADJUNCT_PROTO)
  70 TSPILIBDIR=$(TSSROOT)/usr/lib
  71 TSPIINCDIR=$(TSSROOT)/usr/include
  72 TSSLIB=-L$(TSPILIBDIR)
  73 TSSLIB64=-L$(TSPILIBDIR)/$(MACH64)
  74 TSSINC=-I$(TSPIINCDIR)
  75 
  76 LDLIBS += $(TSSLIB) -L$(ADJUNCT_PROTO)/lib -lc -luuid -lmd -ltspi -lcrypto




  77 CPPFLAGS += -xCC -D_POSIX_PTHREAD_SEMANTICS $(TSSINC)
  78 CPPFLAGS64 += $(CPPFLAGS)
  79 C99MODE=        $(C99_ENABLE)
  80 
  81 CERRWARN +=     -_gcc=-Wno-parentheses
  82 CERRWARN +=     -_gcc=-Wno-unused-label
  83 CERRWARN +=     -_gcc=-Wno-uninitialized
  84 
  85 LINTSRC= $(OBJECTS:%.o=$(SRCDIR)/%.c)
  86 
  87 $(LINTLIB):=    SRCS    =       $(SRCDIR)/$(LINTSRC)
  88 LINTSRC= $(SRCS)
  89 
  90 CLOBBERFILES += C.ln
  91 
  92 .KEEP_STATE:
  93 
  94 all: $(LIBS)
  95  
  96 lint: $$(LINTSRC)


  56 
  57 SRCDIR= ../common
  58 
  59 SRCS=   $(OBJECTS:%.o=$(SRCDIR)/%.c)
  60 
  61 #       set signing mode
  62 POST_PROCESS_SO +=      ; $(ELFSIGN_CRYPTO)
  63 
  64 ROOTLIBDIR=$(ROOT)/usr/lib/security
  65 ROOTLIBDIR64=$(ROOT)/usr/lib/security/$(MACH64)
  66 
  67 LIBS=$(DYNLIB) $(DYNLIB64)
  68 
  69 TSSROOT=$(ADJUNCT_PROTO)
  70 TSPILIBDIR=$(TSSROOT)/usr/lib
  71 TSPIINCDIR=$(TSSROOT)/usr/include
  72 TSSLIB=-L$(TSPILIBDIR)
  73 TSSLIB64=-L$(TSPILIBDIR)/$(MACH64)
  74 TSSINC=-I$(TSPIINCDIR)
  75 
  76 LDLIBS += $(TSSLIB) -L$(ADJUNCT_PROTO)/lib -lc -luuid -lmd -ltspi
  77 
  78 # libsunw_crypto has no lint library, so we can only use it when
  79 # building
  80 $(LIBS) := LDLIBS += -lsunw_crypto
  81 CPPFLAGS += -xCC -D_POSIX_PTHREAD_SEMANTICS $(TSSINC)
  82 CPPFLAGS64 += $(CPPFLAGS)
  83 C99MODE=        $(C99_ENABLE)
  84 
  85 CERRWARN +=     -_gcc=-Wno-parentheses
  86 CERRWARN +=     -_gcc=-Wno-unused-label
  87 CERRWARN +=     -_gcc=-Wno-uninitialized
  88 
  89 LINTSRC= $(OBJECTS:%.o=$(SRCDIR)/%.c)
  90 
  91 $(LINTLIB):=    SRCS    =       $(SRCDIR)/$(LINTSRC)
  92 LINTSRC= $(SRCS)
  93 
  94 CLOBBERFILES += C.ln
  95 
  96 .KEEP_STATE:
  97 
  98 all: $(LIBS)
  99  
 100 lint: $$(LINTSRC)