#
# 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
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
#
# 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 for CBCP
#CFLAGS += -DCBCP_SUPPORT