mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-18 10:35:55 +00:00
d74efe9105
Enable MS-CHAP support. release/Makefile: Build a separate NOCRYPT version of pppd, to keep This Great Nation's top-secret cryptographic tools out of the filthy hands of those evil furriners.
40 lines
810 B
Makefile
40 lines
810 B
Makefile
# $Id: Makefile,v 1.12 1998/10/11 19:40:38 jdp 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.
|
|
.if exists(${.CURDIR}/../../secure) && !defined(NOCRYPT) && !defined(NOSECURE)
|
|
DISTRIBUTION=des
|
|
CFLAGS+=-DCHAPMS
|
|
SRCS+= chap_ms.c
|
|
LDADD+= -ldes
|
|
DPADD+= ${LIBDES}
|
|
.endif
|
|
|
|
.include <bsd.prog.mk>
|