Print this page
11528 Makefile.noget can get gone
11529 Use -Wno-maybe-initialized


  34 CPPFLAGS +=     -DPLUGIN -DSVR4 -DSOL2 -DINET6
  35 CPPFLAGS +=     -D_PATH_VARRUN='"/var/run/"'
  36 CPPFLAGS +=     -DNEGOTIATE_FCS -DCBCP_SUPPORT -DALLOW_PAM -DHAS_SHADOW
  37 CPPFLAGS +=     -DHAVE_MMAP -DCOMP_TUNE -DMUX_FRAME
  38 $(NOT_RELEASE_BUILD)CPPFLAGS += -DDEBUG
  39 
  40 .KEEP_STATE:
  41 
  42 .PARALLEL:      $(SUBDIRS)
  43 
  44 all:            $(PROG) $(SUBDIRS)
  45 
  46 # MS-CHAP support
  47 CPPFLAGS +=     -DHAVE_CRYPT_H -DUSE_CRYPT -DHAVE_LIBMD
  48 CPPFLAGS +=     -DCHAPMS -DMSLANMAN
  49 CPPFLAGS +=     -DCHAPMSV2
  50 OBJS +=         chap_ms.o
  51 EXOBJS +=       mschap_test.o
  52 CLOBBERFILES += mschap_test
  53 
  54 CERRWARN +=     -_gcc=-Wno-uninitialized
  55 
  56 # main() is too hairy for smatch
  57 SMATCH=off
  58 
  59 # This is used *only* for testing the portability of the libraries
  60 # required for MS-CHAPv1.  It is not needed in any normal system and
  61 # is not built by default.
  62 mschap_test:    mschap_test.o chap_ms.o
  63         $(LINK.c) -o mschap_test mschap_test.o chap_ms.o $(LDFLAGS) -lmd
  64         @echo "Run with 'mschap_test 00000000000000000000000000000000 hello'"
  65         @echo
  66         @echo "Output should be:"
  67         @echo
  68         @echo " MS-CHAPv1 with LAN Manager -- 49 bytes:"
  69         @echo "  C9 CA EE 9B 1C A7 87 04"
  70         @echo "  79 36 8C 55 AB 88 EC 5A"
  71         @echo "  57 E9 A1 B7 95 40 C3 74"
  72         @echo "  F4 D9 9D AF 82 64 DC 3C"
  73         @echo "  53 F9 BC 92 14 B5 5D 9E"
  74         @echo "  78 C4 21 48 9D B7 A8 B4"




  34 CPPFLAGS +=     -DPLUGIN -DSVR4 -DSOL2 -DINET6
  35 CPPFLAGS +=     -D_PATH_VARRUN='"/var/run/"'
  36 CPPFLAGS +=     -DNEGOTIATE_FCS -DCBCP_SUPPORT -DALLOW_PAM -DHAS_SHADOW
  37 CPPFLAGS +=     -DHAVE_MMAP -DCOMP_TUNE -DMUX_FRAME
  38 $(NOT_RELEASE_BUILD)CPPFLAGS += -DDEBUG
  39 
  40 .KEEP_STATE:
  41 
  42 .PARALLEL:      $(SUBDIRS)
  43 
  44 all:            $(PROG) $(SUBDIRS)
  45 
  46 # MS-CHAP support
  47 CPPFLAGS +=     -DHAVE_CRYPT_H -DUSE_CRYPT -DHAVE_LIBMD
  48 CPPFLAGS +=     -DCHAPMS -DMSLANMAN
  49 CPPFLAGS +=     -DCHAPMSV2
  50 OBJS +=         chap_ms.o
  51 EXOBJS +=       mschap_test.o
  52 CLOBBERFILES += mschap_test
  53 
  54 CERRWARN +=     $(CNOWARN_UNINIT)
  55 
  56 # main() is too hairy for smatch
  57 SMATCH=off
  58 
  59 # This is used *only* for testing the portability of the libraries
  60 # required for MS-CHAPv1.  It is not needed in any normal system and
  61 # is not built by default.
  62 mschap_test:    mschap_test.o chap_ms.o
  63         $(LINK.c) -o mschap_test mschap_test.o chap_ms.o $(LDFLAGS) -lmd
  64         @echo "Run with 'mschap_test 00000000000000000000000000000000 hello'"
  65         @echo
  66         @echo "Output should be:"
  67         @echo
  68         @echo " MS-CHAPv1 with LAN Manager -- 49 bytes:"
  69         @echo "  C9 CA EE 9B 1C A7 87 04"
  70         @echo "  79 36 8C 55 AB 88 EC 5A"
  71         @echo "  57 E9 A1 B7 95 40 C3 74"
  72         @echo "  F4 D9 9D AF 82 64 DC 3C"
  73         @echo "  53 F9 BC 92 14 B5 5D 9E"
  74         @echo "  78 C4 21 48 9D B7 A8 B4"