Print this page
4853 illumos-gate is not lint-clean when built with openssl 1.0
Reviewed by Keith Wesolowski <keith.wesolowski@joyent.com>
Reviewed by Alexander Eremin <alexander.eremin@nexenta.com>


  19 # CDDL HEADER END
  20 #
  21 # Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
  22 # Use is subject to license terms.
  23 #
  24 # cmd/ssh/ssh-keysign/Makefile
  25 
  26 PROG= ssh-keysign
  27 
  28 DIRS= $(ROOTLIBSSH)
  29 
  30 
  31 OBJS    = ssh-keysign.o
  32 SRCS    = $(OBJS:.o=.c)
  33 
  34 include ../../Makefile.cmd
  35 include ../Makefile.ssh-common
  36 
  37 FILEMODE= 04555
  38 
  39 LDLIBS += $(SSH_COMMON_LDLIBS) -lsocket -lnsl -lz -lcrypto



  40 
  41 POFILE_DIR= ..
  42 
  43 .KEEP_STATE:
  44 
  45 .PARALLEL: $(OBJS)
  46 
  47 all: $(PROG)
  48 
  49 $(PROG): $(OBJS) ../libssh/$(MACH)/libssh.a ../libopenbsd-compat/$(MACH)/libopenbsd-compat.a
  50         $(LINK.c) $(OBJS) -o $@ $(LDLIBS) $(DYNFLAGS)
  51         $(POST_PROCESS)
  52 
  53 clean:
  54         $(RM) -f $(OBJS) $(PROG)
  55 
  56 lint:   lint_SRCS
  57 
  58 include ../Makefile.msg.targ
  59 include ../../Makefile.targ


  19 # CDDL HEADER END
  20 #
  21 # Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
  22 # Use is subject to license terms.
  23 #
  24 # cmd/ssh/ssh-keysign/Makefile
  25 
  26 PROG= ssh-keysign
  27 
  28 DIRS= $(ROOTLIBSSH)
  29 
  30 
  31 OBJS    = ssh-keysign.o
  32 SRCS    = $(OBJS:.o=.c)
  33 
  34 include ../../Makefile.cmd
  35 include ../Makefile.ssh-common
  36 
  37 FILEMODE= 04555
  38 
  39 LDLIBS += $(SSH_COMMON_LDLIBS) -lsocket -lnsl -lz
  40 
  41 # libcrypto has no lint library, so we can only use it when building
  42 $(PROG) := LDLIBS += -lcrypto
  43 
  44 POFILE_DIR= ..
  45 
  46 .KEEP_STATE:
  47 
  48 .PARALLEL: $(OBJS)
  49 
  50 all: $(PROG)
  51 
  52 $(PROG): $(OBJS) ../libssh/$(MACH)/libssh.a ../libopenbsd-compat/$(MACH)/libopenbsd-compat.a
  53         $(LINK.c) $(OBJS) -o $@ $(LDLIBS) $(DYNFLAGS)
  54         $(POST_PROCESS)
  55 
  56 clean:
  57         $(RM) -f $(OBJS) $(PROG)
  58 
  59 lint:   lint_SRCS
  60 
  61 include ../Makefile.msg.targ
  62 include ../../Makefile.targ