Print this page
10063 basic support for smatch
10153 checkpaths shouldn't check packaging exceptions

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/cmd-inet/usr.bin/pppd/Makefile
          +++ new/usr/src/cmd/cmd-inet/usr.bin/pppd/Makefile
   1    1  #
   2    2  # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
   3    3  # Use is subject to license terms.
   4    4  #
   5    5  # cmd/cmd-inet/usr.bin/pppd/Makefile
   6    6  #
        7 +# Copyright (c) 2018, Joyent, Inc.
   7    8  
   8    9  include         ../../../Makefile.cmd
   9   10  include         Makefile.def
  10   11  
  11   12  PROG=           pppd
  12   13  SUBDIRS=        plugins
  13   14  OBJS=           auth.o ccp.o chap.o demand.o fsm.o ipcp.o ipv6cp.o \
  14   15                  lcp.o magic.o main.o options.o sys-solaris.o upap.o utils.o \
  15   16                  multilink.o cbcp.o
  16   17  
↓ open down ↓ 28 lines elided ↑ open up ↑
  45   46  # MS-CHAP support
  46   47  CPPFLAGS +=     -DHAVE_CRYPT_H -DUSE_CRYPT -DHAVE_LIBMD
  47   48  CPPFLAGS +=     -DCHAPMS -DMSLANMAN
  48   49  CPPFLAGS +=     -DCHAPMSV2
  49   50  OBJS +=         chap_ms.o
  50   51  EXOBJS +=       mschap_test.o
  51   52  CLOBBERFILES += mschap_test
  52   53  
  53   54  CERRWARN +=     -_gcc=-Wno-uninitialized
  54   55  
       56 +# main() is too hairy for smatch
       57 +SMATCH=off
       58 +
  55   59  # This is used *only* for testing the portability of the libraries
  56   60  # required for MS-CHAPv1.  It is not needed in any normal system and
  57   61  # is not built by default.
  58   62  mschap_test:    mschap_test.o chap_ms.o
  59   63          $(LINK.c) -o mschap_test mschap_test.o chap_ms.o $(LDFLAGS) -lmd
  60   64          @echo "Run with 'mschap_test 00000000000000000000000000000000 hello'"
  61   65          @echo
  62   66          @echo "Output should be:"
  63   67          @echo
  64   68          @echo " MS-CHAPv1 with LAN Manager -- 49 bytes:"
↓ open down ↓ 60 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX