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>


  15 # If applicable, add the following below this CDDL HEADER, with the
  16 # fields enclosed by brackets "[]" replaced with your own identifying
  17 # information: Portions Copyright [yyyy] [name of copyright owner]
  18 #
  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-add/Makefile
  25 
  26 PROG= ssh-add
  27 
  28 OBJS    =        \
  29         ssh-add.o
  30 SRCS    = $(OBJS:.o=.c)
  31 
  32 include ../../Makefile.cmd
  33 include ../Makefile.ssh-common
  34 
  35 LDLIBS += $(SSH_COMMON_LDLIBS) -lsocket -lcrypto



  36 
  37 POFILE_DIR= ..
  38 
  39 .KEEP_STATE:
  40 
  41 .PARALLEL: $(OBJS)
  42 
  43 all: $(PROG)
  44 
  45 $(PROG): $(OBJS) ../libssh/$(MACH)/libssh.a ../libopenbsd-compat/$(MACH)/libopenbsd-compat.a
  46         $(LINK.c) $(OBJS) -o $@ $(LDLIBS) $(DYNFLAGS)
  47         $(POST_PROCESS)
  48 
  49 install: all $(ROOTPROG)
  50 
  51 clean:
  52         $(RM) -f $(OBJS) $(PROG)
  53 
  54 lint:   lint_SRCS
  55 


  15 # If applicable, add the following below this CDDL HEADER, with the
  16 # fields enclosed by brackets "[]" replaced with your own identifying
  17 # information: Portions Copyright [yyyy] [name of copyright owner]
  18 #
  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-add/Makefile
  25 
  26 PROG= ssh-add
  27 
  28 OBJS    =        \
  29         ssh-add.o
  30 SRCS    = $(OBJS:.o=.c)
  31 
  32 include ../../Makefile.cmd
  33 include ../Makefile.ssh-common
  34 
  35 LDLIBS += $(SSH_COMMON_LDLIBS) -lsocket
  36 
  37 # libcrypto has no lint library, so we can only use it when building
  38 $(PROG) := LDLIBS += -lcrypto
  39 
  40 POFILE_DIR= ..
  41 
  42 .KEEP_STATE:
  43 
  44 .PARALLEL: $(OBJS)
  45 
  46 all: $(PROG)
  47 
  48 $(PROG): $(OBJS) ../libssh/$(MACH)/libssh.a ../libopenbsd-compat/$(MACH)/libopenbsd-compat.a
  49         $(LINK.c) $(OBJS) -o $@ $(LDLIBS) $(DYNFLAGS)
  50         $(POST_PROCESS)
  51 
  52 install: all $(ROOTPROG)
  53 
  54 clean:
  55         $(RM) -f $(OBJS) $(PROG)
  56 
  57 lint:   lint_SRCS
  58