1 # $FreeBSD: src/usr.sbin/ppp/Makefile,v 1.73.2.8 2002/09/01 02:12:22 brian Exp $
2 # $DragonFly: src/usr.sbin/ppp/Makefile,v 1.4 2005/09/06 18:55:47 dillon Exp $
6 SRCS= acf.c arp.c async.c auth.c bundle.c cbcp.c ccp.c chap.c chat.c \
7 command.c datalink.c deflate.c defs.c exec.c filter.c fsm.c hdlc.c \
8 iface.c ip.c ipcp.c ipv6cp.c iplist.c lcp.c link.c log.c lqr.c main.c \
9 mbuf.c mp.c ncp.c ncpaddr.c pap.c physical.c pred.c probe.c prompt.c \
10 proto.c route.c server.c sig.c slcompress.c sync.c systems.c tcp.c \
11 tcpmss.c throughput.c timer.c tty.c tun.c udp.c vjcomp.c
12 .if defined(RELEASE_CRUNCH)
13 CFLAGS+=-DRELEASE_CRUNCH
22 .if defined(NOSUID) || defined(PPP_NOSUID)
31 LDADD= -lcrypt -lmd -lutil -lz
32 DPADD= ${LIBCRYPT} ${LIBMD} ${LIBUTIL} ${LIBZ}
37 m4 ${M4FLAGS} ${.IMPSRC} >${.TARGET}
41 .if defined(PPP_CONFDIR) && !empty(PPP_CONFDIR)
42 CFLAGS+=-DPPP_CONFDIR=\"${PPP_CONFDIR}\"
45 .if defined(NOKLDLOAD)
53 .if defined(NOALIAS) || defined(NONAT)
67 .if defined(NOSUID) || defined(PPP_NOSUID)
73 .if !exists(${.CURDIR}/../../secure) || defined(NO_CRYPT) || defined(NO_OPENSSL) || defined(NODES)
77 SRCS+= chap_ms.c mppe.c
90 .if defined(NOI4B) || ${MACHINE_ARCH} != "i386"
96 .if defined(NONETGRAPH)
101 DPADD+= ${LIBNETGRAPH}
102 .if defined(EXPERIMENTAL_NETGRAPH)
103 CFLAGS+=-DEXPERIMENTAL_NETGRAPH
108 .include <bsd.prog.mk>