]> git.ozlabs.org Git - ppp.git/blobdiff - pppd/Makefile.linux
Set current_option for error reporting. Bug and fix by Clive Nicolson.
[ppp.git] / pppd / Makefile.linux
index 7a8483677073367bffb948e264d644477f002459..a8d01a4a3cf68b59dc80c20eb29c819278e65863 100644 (file)
@@ -1,12 +1,12 @@
 #
 # pppd makefile for Linux
-# $Id: Makefile.linux,v 1.50 2002/06/10 13:46:28 dfs Exp $
+# $Id: Makefile.linux,v 1.53 2002/10/27 12:56:26 fcusack Exp $
 #
 
 # Default installation locations
-BINDIR = /usr/sbin
-MANDIR = /usr/man
-INCDIR = /usr/include
+BINDIR = $(DESTDIR)/usr/sbin
+MANDIR = $(DESTDIR)/usr/man
+INCDIR = $(DESTDIR)/usr/include
 
 PPPDSRCS = main.c magic.c fsm.c lcp.c ipcp.c upap.c chap.c md5.c ccp.c ecp.c \
           ipxcp.c auth.c options.c sys-linux.c md4.c chap_ms.c cbcp.c \
@@ -72,9 +72,11 @@ PLUGIN=y
 
 #CBCP=y
 
+MAXOCTETS=y
+
 INCLUDE_DIRS= -I../include
 
-COMPILE_FLAGS= -D_linux_=1 -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP
+COMPILE_FLAGS= -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP
 
 CFLAGS= $(COPTS) $(COMPILE_FLAGS) $(INCLUDE_DIRS)
 
@@ -154,6 +156,10 @@ ifdef CBCP
      CFLAGS += -DCBCP_SUPPORT
 endif
 
+ifdef MAXOCTETS
+     CFLAGS += -DMAXOCTETS
+endif
+
 INSTALL= install -o root
 
 install: pppd