freebsd-dev/usr.sbin/pppd/Makefile
John Polstra 9836a38f7b Fix the MS-CHAP support. The code was passing a bit count to
MD4Update(), but our version in libmd expects a byte count.

This code is not currently compiled or linked into pppd, so I'm
reasonably sure I didn't break anything. :-)  I added the necessary
statements to the Makefile, but left them commented out because we
are in feature freeze.  When the code is enabled, we must be careful
to build it only if the DES library is available.
1998-10-11 19:40:38 +00:00

37 lines
714 B
Makefile

# $Id: Makefile,v 1.11 1998/09/19 22:42:11 obrien Exp $
CFLAGS+= -DHAVE_PATHS_H
PROG= pppd
SRCS= main.c magic.c fsm.c lcp.c ipcp.c ipxcp.c upap.c chap.c ccp.c \
demand.c auth.c options.c sys-bsd.c
MAN8= pppd.8
BINMODE=4555
# as per handbook policies section
MAINTAINER= peter@freebsd.org
LDADD= -lcrypt -lutil -lmd
DPADD= ${LIBCRYPT} ${LIBUTIL} ${LIBMD}
# Support SPX/IPX - not quite ready
#CFLAGS+=-DIPX_CHANGE
#SRCS+= ipxcp.c
# Callback Control Protocol
CFLAGS+=-DCBCP_SUPPORT
SRCS+= cbcp.c
# Filter support
CFLAGS+=-DPPP_FILTER
LDADD+= -lpcap
DPADD+= ${LIBPCAP}
# MS-CHAP support. Requires the DES library.
#CFLAGS+=-DCHAPMS
#SRCS+= chap_ms.c
#LDADD+= -ldes
#DPADD+= ${LIBDES}
.include <bsd.prog.mk>