3 # as per handbook policies section
4 MAINTAINER= peter@freebsd.org
8 SRCS= main.c magic.c fsm.c lcp.c ipcp.c ipxcp.c upap.c chap.c ccp.c \
9 demand.c auth.c options.c sys-bsd.c
14 CFLAGS+= -DHAVE_PATHS_H
16 LDADD= -lcrypt -lutil -lmd
17 DPADD= ${LIBCRYPT} ${LIBUTIL} ${LIBMD}
19 # Support SPX/IPX - not quite ready
20 #CFLAGS+= -DIPX_CHANGE
23 # Callback Control Protocol
24 CFLAGS+= -DCBCP_SUPPORT
32 # MS-CHAP support. Requires the DES library.
33 .if exists(${.CURDIR}/../../secure) && !defined(NOCRYPT) && !defined(NOSECURE) && !defined(NO_OPENSSL) && !defined(RELEASE_CRUNCH)
41 .if defined(RELEASE_CRUNCH)
42 # We must create these objects because crunchgen will link them,
43 # and we don't want any unused symbols to spoil the final link.
47 cc -c -o ${.TARGET} null_${.PREFIX}.c
50 .include <bsd.prog.mk>