5 # I once used this extensively, but no longer have a modem. Feel free
6 # to ask me questions about it, but I disclaim ownership now. -Peter
10 SRCS= main.c magic.c fsm.c lcp.c ipcp.c ipxcp.c upap.c chap.c ccp.c \
11 demand.c auth.c options.c sys-bsd.c
16 CFLAGS+= -DHAVE_PATHS_H
18 DPADD= ${LIBCRYPT} ${LIBUTIL} ${LIBMD}
19 LDADD= -lcrypt -lutil -lmd
21 # Support SPX/IPX - not quite ready
22 #CFLAGS+= -DIPX_CHANGE
25 # Callback Control Protocol
26 CFLAGS+= -DCBCP_SUPPORT
34 # MS-CHAP support. Requires the DES library.
35 .if ${MK_OPENSSL} != "no" && !defined(RELEASE_CRUNCH)
42 .if ${MK_INET6_SUPPORT} != "no"
44 SRCS+= eui64.c ipv6cp.c
47 .if defined(RELEASE_CRUNCH)
48 # We must create these objects because crunchgen will link them,
49 # and we don't want any unused symbols to spoil the final link.
53 cc -c -o ${.TARGET} null_${.PREFIX}.c
56 .include <bsd.prog.mk>