Print this page
4853 illumos-gate is not lint-clean when built with openssl 1.0

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/ssh/libssh/Makefile.com
          +++ new/usr/src/cmd/ssh/libssh/Makefile.com
↓ open down ↓ 86 lines elided ↑ open up ↑
  87   87  BUILD.AR =       $(RM) $@ ; $(AR) $(ARFLAGS) $@ $(AROBJS)
  88   88  
  89   89  SRCDIR =        ../common
  90   90  SRCS =          $(OBJECTS:%.o=../common/%.c)
  91   91  
  92   92  LIBS =          $(LIBRARY) $(LINTLIB)
  93   93  
  94   94  # Define LDLIBS conditionally for lintcheck, rather than in general, since
  95   95  # we're building an archive library which itself links to nothing, we just
  96   96  # want lint to know about these libraries.
  97      -lintcheck  :=   LDLIBS += -lcrypto -lz -lsocket -lnsl -lc
       97 +lintcheck  :=   LDLIBS += -lz -lsocket -lnsl -lc
  98   98  $(LINTLIB) :=   SRCS = $(SRCDIR)/$(LINTSRC)
  99   99  
 100  100  POFILE_DIR =    ../..
 101  101  
 102  102  .KEEP_STATE:
 103  103  
 104  104  all:            $(LIBS)
 105  105  
 106  106  # lint requires the (not installed) lint library
 107  107  lint:           $(LINTLIB) .WAIT lintcheck
 108  108  
 109  109  include $(SRC)/lib/Makefile.targ
 110  110  
 111  111  objs/%.o:       $(SRCDIR)/%.c
 112  112          $(COMPILE.c) -o $@ $<
 113  113          $(POST_PROCESS_O)
 114  114  
 115  115  include ../../Makefile.ssh-common
 116  116  include ../../Makefile.msg.targ
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX