1999-08-28 01:35:59 +00:00
|
|
|
# $FreeBSD$
|
1995-10-31 21:21:51 +00:00
|
|
|
|
1996-09-04 22:43:20 +00:00
|
|
|
CFLAGS+= -DHAVE_PATHS_H
|
1994-09-25 02:32:18 +00:00
|
|
|
|
|
|
|
PROG= pppd
|
1997-08-19 17:52:48 +00:00
|
|
|
SRCS= main.c magic.c fsm.c lcp.c ipcp.c ipxcp.c upap.c chap.c ccp.c \
|
1997-08-22 15:57:37 +00:00
|
|
|
demand.c auth.c options.c sys-bsd.c
|
2001-03-26 14:42:20 +00:00
|
|
|
MAN= pppd.8
|
1994-09-25 02:32:18 +00:00
|
|
|
BINMODE=4555
|
|
|
|
|
1997-08-22 15:50:09 +00:00
|
|
|
# as per handbook policies section
|
|
|
|
MAINTAINER= peter@freebsd.org
|
|
|
|
|
1997-10-10 11:59:02 +00:00
|
|
|
LDADD= -lcrypt -lutil -lmd
|
|
|
|
DPADD= ${LIBCRYPT} ${LIBUTIL} ${LIBMD}
|
|
|
|
|
1997-08-22 15:50:09 +00:00
|
|
|
# Support SPX/IPX - not quite ready
|
1997-08-19 17:52:48 +00:00
|
|
|
#CFLAGS+=-DIPX_CHANGE
|
|
|
|
#SRCS+= ipxcp.c
|
|
|
|
|
1997-08-22 15:50:09 +00:00
|
|
|
# Callback Control Protocol
|
|
|
|
CFLAGS+=-DCBCP_SUPPORT
|
|
|
|
SRCS+= cbcp.c
|
|
|
|
|
1997-10-10 11:59:02 +00:00
|
|
|
# Filter support
|
|
|
|
CFLAGS+=-DPPP_FILTER
|
|
|
|
LDADD+= -lpcap
|
|
|
|
DPADD+= ${LIBPCAP}
|
1994-09-25 02:32:18 +00:00
|
|
|
|
1998-10-11 19:40:38 +00:00
|
|
|
# MS-CHAP support. Requires the DES library.
|
2000-03-09 06:29:05 +00:00
|
|
|
.if exists(${.CURDIR}/../../secure) && !defined(NOCRYPT) && !defined(NOSECURE) && !defined(NO_OPENSSL) && !defined(RELEASE_CRUNCH)
|
2000-02-29 11:45:48 +00:00
|
|
|
DISTRIBUTION=crypto
|
1999-04-29 17:56:28 +00:00
|
|
|
CFLAGS+=-DCHAPMS
|
|
|
|
SRCS+= chap_ms.c
|
2000-02-24 21:10:28 +00:00
|
|
|
LDADD+= -lcrypto
|
|
|
|
DPADD+= ${LIBCRYPTO}
|
1999-04-29 17:56:28 +00:00
|
|
|
.endif
|
1998-10-11 19:40:38 +00:00
|
|
|
|
1999-07-15 21:47:52 +00:00
|
|
|
.if defined(RELEASE_CRUNCH)
|
|
|
|
# We must create these objects because crunchgen will link them,
|
|
|
|
# and we don't want any unused symbols to spoil the final link.
|
|
|
|
SRCS+= chap_ms.c
|
|
|
|
chap_ms.o:
|
|
|
|
>null_${.PREFIX}.c
|
|
|
|
cc -c -o ${.TARGET} null_${.PREFIX}.c
|
|
|
|
.endif
|
|
|
|
|
1994-09-25 02:32:18 +00:00
|
|
|
.include <bsd.prog.mk>
|