7 SRCS= acf.c arp.c async.c auth.c bundle.c cbcp.c ccp.c chap.c chat.c \
8 command.c datalink.c deflate.c defs.c exec.c filter.c fsm.c hdlc.c \
9 iface.c ip.c ipcp.c ipv6cp.c iplist.c lcp.c link.c log.c lqr.c main.c \
10 mbuf.c mp.c ncp.c ncpaddr.c pap.c physical.c pred.c probe.c prompt.c \
11 proto.c route.c server.c sig.c slcompress.c sync.c systems.c tcp.c \
12 tcpmss.c throughput.c timer.c tty.c tun.c udp.c vjcomp.c
14 .if defined(RELEASE_CRUNCH)
15 CFLAGS+=-DRELEASE_CRUNCH
28 .if ${MK_NETGRAPH} == "no"
31 .if ${MK_PAM_SUPPORT} == "no"
34 .if ${MK_RADIUS_SUPPORT} == "no"
38 .if defined(PPP_NO_SUID)
47 LDADD= -lcrypt -lmd -lutil -lz
48 DPADD= ${LIBCRYPT} ${LIBMD} ${LIBUTIL} ${LIBZ}
53 m4 ${M4FLAGS} ${.IMPSRC} >${.TARGET}
57 .if defined(PPP_CONFDIR) && !empty(PPP_CONFDIR)
58 CFLAGS+=-DPPP_CONFDIR=\"${PPP_CONFDIR}\"
61 .if defined(PPP_NO_KLDLOAD)
65 .if ${MK_INET6_SUPPORT} == "no"
69 .if defined(PPP_NO_NAT)
77 .if defined(PPP_NO_ATM)
83 .if defined(PPP_NO_SUID)
89 .if defined(RELEASE_CRUNCH) || ${MK_OPENSSL} == "no" || \
93 SRCS+= chap_ms.c mppe.c
98 .if defined(PPP_NO_RADIUS)
106 .if defined(PPP_NO_NETGRAPH)
111 DPADD+= ${LIBNETGRAPH}
112 .if defined(EXPERIMENTAL_NETGRAPH)
113 CFLAGS+=-DEXPERIMENTAL_NETGRAPH
118 .if defined(PPP_NO_PAM)
125 .include <bsd.prog.mk>