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
13 .if defined
(NOSUID
) || defined
(PPP_NOSUID
)
22 LDADD
= -lcrypt
-lmd
-lutil
-lz
23 DPADD
= ${LIBCRYPT} ${LIBMD} ${LIBUTIL} ${LIBZ}
30 m4
${M4FLAGS} ${.IMPSRC
} >${.TARGET
}
34 .if defined
(PPP_CONFDIR
) && !empty
(PPP_CONFDIR
)
35 CFLAGS
+=-DPPP_CONFDIR
=\"${PPP_CONFDIR}\"
38 .if defined
(NOKLDLOAD
)
46 .if defined
(NOALIAS
) || defined
(NONAT
)
60 .if defined
(NOSUID
) || defined
(PPP_NOSUID
)
66 .if
!exists
(${.CURDIR
}/..
/..
/secure
) || defined
(NO_CRYPT
) || defined
(NO_OPENSSL
) || defined
(NODES
)
69 SRCS
+= chap_ms.c mppe.c
82 .if defined
(NOI4B
) ||
${MACHINE_ARCH} != "i386"
88 .if defined
(NONETGRAPH
)
93 DPADD
+= ${LIBNETGRAPH}
94 .if defined
(EXPERIMENTAL_NETGRAPH
)
95 CFLAGS
+=-DEXPERIMENTAL_NETGRAPH
100 .
include <bsd.prog.mk
>