X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=pppd%2FMakefile.linux;h=a74c914fd3acf84dbcaac360e6f5cabd3582f802;hb=ac682de4ec32d4cc8859b31366023e28012e23e6;hp=306f8f3979b5b145e969880bb19f97a884c49421;hpb=6f7680c6b87123f57e1b99e29b7922f04c4f6105;p=ppp.git diff --git a/pppd/Makefile.linux b/pppd/Makefile.linux index 306f8f3..a74c914 100644 --- a/pppd/Makefile.linux +++ b/pppd/Makefile.linux @@ -1,10 +1,10 @@ # # pppd makefile for Linux -# $Id: Makefile.linux,v 1.68 2005/07/12 01:50:23 paulus Exp $ +# $Id: Makefile.linux,v 1.70 2007/06/19 02:08:34 carlsonj Exp $ # # Default installation locations -DESTDIR = @DESTDIR@ +DESTDIR = $(INSTROOT)@DESTDIR@ BINDIR = $(DESTDIR)/sbin MANDIR = $(DESTDIR)/share/man/man8 INCDIR = $(DESTDIR)/include @@ -13,16 +13,16 @@ TARGETS = pppd PPPDSRCS = main.c magic.c fsm.c lcp.c ipcp.c upap.c chap-new.c md5.c ccp.c \ ecp.c ipxcp.c auth.c options.c sys-linux.c md4.c chap_ms.c \ - demand.c utils.c tty.c eap.c chap-md5.c + demand.c utils.c tty.c eap.c chap-md5.c session.c -HEADERS = ccp.h chap-new.h ecp.h fsm.h ipcp.h \ +HEADERS = ccp.h session.h chap-new.h ecp.h fsm.h ipcp.h \ ipxcp.h lcp.h magic.h md5.h patchlevel.h pathnames.h pppd.h \ upap.h eap.h MANPAGES = pppd.8 PPPDOBJS = main.o magic.o fsm.o lcp.o ipcp.o upap.o chap-new.o md5.o ccp.o \ ecp.o auth.o options.o demand.o utils.o sys-linux.o ipxcp.o tty.o \ - eap.o chap-md5.o + eap.o chap-md5.o session.o # # include dependencies if present @@ -62,7 +62,7 @@ USE_TDB=y HAS_SHADOW=y #USE_PAM=y -#HAVE_INET6=y +HAVE_INET6=y # Enable plugins PLUGIN=y @@ -73,6 +73,9 @@ PLUGIN=y # Enable EAP SRP-SHA1 authentication (requires libsrp) #USE_SRP=y +# Use libutil +USE_LIBUTIL=y + MAXOCTETS=y INCLUDE_DIRS= -I../include @@ -122,6 +125,11 @@ CFLAGS += -DHAVE_CRYPT_H=1 LIBS += -lcrypt endif +ifdef USE_LIBUTIL +CFLAGS += -DHAVE_LOGWTMP=1 +LIBS += -lutil +endif + ifdef NEEDDES ifndef USE_CRYPT LIBS += -ldes $(LIBS)