Print this page
More linty cleanup

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/ssh/sshd/Makefile
          +++ new/usr/src/cmd/ssh/sshd/Makefile
↓ open down ↓ 63 lines elided ↑ open up ↑
  64   64  
  65   65  EXTOBJS = sftp-server.o
  66   66  
  67   67  SRCS    = $(OBJS:.o=.c) ../sftp-server/sftp-server.c
  68   68  
  69   69  include ../../Makefile.cmd
  70   70  include ../Makefile.ssh-common
  71   71  
  72   72  LDLIBS += $(SSH_COMMON_LDLIBS) -lsocket \
  73   73          -lnsl \
  74      -        -lz \
  75   74          -lpam \
  76   75          -lbsm \
  77   76          -lwrap \
  78      -        -lcrypto \
  79   77          -lgss \
  80   78          -lcontract
       79 +# There's no lint library for zlib or libcrypto, so only include these for build
       80 +$(PROG) :=     LDLIBS += -lz -lcrypto
  81   81  MAPFILES = $(MAPFILE.INT) $(MAPFILE.NGB)
  82   82  LDFLAGS += $(MAPFILES:%=-M%)
  83   83  
  84   84  POFILE_DIR= ..
  85   85  
  86   86  .KEEP_STATE:
  87   87  
  88   88  .PARALLEL: $(OBJS)
  89   89  
  90   90  all: $(PROG)
↓ open down ↓ 26 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX