X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=pppd%2FMakefile.sol2;h=809cb4b3519fcd4af10e67601300dd707af84921;hb=431469a02ce74e5fe4b9943e86b9bfc272882fcb;hp=62b23702be5e125df030ab84bdb683ea2bdd54c8;hpb=e5b9a1061f126b36c558aea09fd76fd691ebf018;p=ppp.git diff --git a/pppd/Makefile.sol2 b/pppd/Makefile.sol2 index 62b2370..809cb4b 100644 --- a/pppd/Makefile.sol2 +++ b/pppd/Makefile.sol2 @@ -1,6 +1,6 @@ # # Makefile for pppd under Solaris 2. -# $Id: Makefile.sol2,v 1.28 2007/06/19 02:08:35 carlsonj Exp $ +# $Id: Makefile.sol2,v 1.30 2008/01/30 14:26:52 carlsonj Exp $ # include ../Makedefs.com @@ -12,8 +12,11 @@ OBJS = main.o magic.o fsm.o lcp.o ipcp.o upap.o chap-new.o eap.o md5.o \ tty.o ccp.o ecp.o auth.o options.o demand.o utils.o sys-solaris.o \ chap-md5.o session.o +# Solaris uses shadow passwords +CFLAGS += -DHAS_SHADOW + # -# uncomment the following to enable plugins +# Comment the following out to disable plugins # CFLAGS += -DPLUGIN LIBS += -ldl @@ -29,12 +32,20 @@ LIBS += -ldl # # Solaris 8 and on includes support for IPv6 # -#CFLAGS += -DINET6 -#OBJS += ipv6cp.o eui64.o +CFLAGS += -DINET6 +OBJS += ipv6cp.o eui64.o # Uncomment to enable MS-CHAP -#CFLAGS += -DUSE_CRYPT -DCHAPMS -DHAVE_CRYPT_H -#OBJS += chap_ms.o pppcrypt.o md4.o sha1.o +CFLAGS += -DUSE_CRYPT -DCHAPMS -DMSLANMAN -DHAVE_CRYPT_H +OBJS += chap_ms.o pppcrypt.o md4.o sha1.o + +# Uncomment to enable MPPE (in both CHAP and EAP-TLS) +CFLAGS += -DMPPE + +# Uncomment to enable EAP-TLS +CFLAGS += -DUSE_EAPTLS +LIBS += -lcrypto -lssl +OBJS += eap-tls.o # Uncomment for CBCP #CFLAGS += -DCBCP_SUPPORT