X-Git-Url: http://git.ozlabs.org/?p=ppp.git;a=blobdiff_plain;f=pppd%2FMakefile.linux;h=1bf7b1a85751b9e3b984a5329bb418f469f3e578;hp=933309697356a0dd19b90ecd09a1e62de1d405a7;hb=e28f47d5e53abe7317d9a82703bbbee044482d4f;hpb=2f62c9d24ea396247101d301960dd12aef2891ad diff --git a/pppd/Makefile.linux b/pppd/Makefile.linux index 9333096..1bf7b1a 100644 --- a/pppd/Makefile.linux +++ b/pppd/Makefile.linux @@ -1,6 +1,6 @@ # # pppd makefile for Linux -# $Id: Makefile.linux,v 1.19 1997/03/04 03:35:05 paulus Exp $ +# $Id: Makefile.linux,v 1.23 1998/02/04 01:39:24 paulus Exp $ # # Default installation locations @@ -27,8 +27,17 @@ endif # CC = gcc # COPTS = -O2 # -g -VER = 2.3.0 -LIBS = -lcrypt -lbsd +VER = 2.3.3 +LIBS = + +ifneq ($(wildcard /usr/lib/libcrypt*),) +LIBS += -lcrypt +endif + +# Uncomment the next 2 lines to include support for Microsoft's +# MS-CHAP authentication protocol. +#CHAPMS=y +#USE_CRYPT=y # The INCLUDE_DIRS must include the standard headers before the local # ones. If you just had -I.. then the order would be reversed. So, use @@ -42,13 +51,20 @@ CFLAGS= $(COPTS) $(COMPILE_FLAGS) $(INCLUDE_DIRS) ifdef CHAPMS CFLAGS += -DCHAPMS=1 +ifndef USE_CRYPT LIBS := -ldes $(LIBS) +else +CFLAGS += -DUSE_CRYPT=1 +endif PPPDOBJS += md4.o chap_ms.o +ifdef MSLANMAN +CFLAGS += -DMSLANMAN=1 +endif endif ifdef HAS_SHADOW CFLAGS += -DHAS_SHADOW -LIBS := -lshadow -lcrypt $(LIBS) +LIBS := -lshadow $(LIBS) endif # For "Pluggable Authentication Modules", see ftp.redhat.com:/pub/pam/.