]> git.ozlabs.org Git - ppp.git/blobdiff - pppd/Makefile.linux
Describe environment variables set for scripts.
[ppp.git] / pppd / Makefile.linux
index 1d5e75e7e31b5672a909bbebb1aff3c1d67870ed..9a96c9a1c13e2e138fbf6c4e3ab48cfbe50c46f3 100644 (file)
@@ -1,6 +1,6 @@
 #
 # pppd makefile for Linux
-# $Id: Makefile.linux,v 1.21 1997/07/14 03:52:08 paulus Exp $
+# $Id: Makefile.linux,v 1.24 1998/03/25 01:27:01 paulus Exp $
 #
 
 # Default installation locations
@@ -26,19 +26,23 @@ endif
 
 # CC = gcc
 #
-COPTS = -O2 # -g
-VER = 2.3.1
+COPTS = -O2 -pipe -Wall -g
+VER = 2.3.4
 LIBS =
 
 ifneq ($(wildcard /usr/lib/libcrypt*),)
 LIBS += -lcrypt
 endif
 
-# 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
-# the default location for include files first before the .. location.
-#INCLUDE_DIRS= -I/usr/include -I..
-INCLUDE_DIRS=
+# Uncomment the next 2 lines to include support for Microsoft's
+# MS-CHAP authentication protocol.
+CHAPMS=y
+USE_CRYPT=y
+
+HAS_SHADOW=y
+#USE_PAM=y
+
+INCLUDE_DIRS= -I../include
 
 COMPILE_FLAGS= -D_linux_=1 -DHAVE_PATHS_H -DIPX_CHANGE
 
@@ -59,7 +63,7 @@ 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/.
@@ -77,7 +81,7 @@ endif
 install: pppd
        mkdir -p $(BINDIR) $(MANDIR)
        install -s -c -m 4555 -o root pppd $(BINDIR)/pppd
-       install -c -m 555 -o root pppd.8 $(MANDIR)/man8
+       install -c -m 444 -o root pppd.8 $(MANDIR)/man8
 
 pppd: $(PPPDOBJS)
        $(CC) $(CFLAGS) -o pppd $(PPPDOBJS) $(LIBS)