1 # $FreeBSD: src/usr.sbin/ppp/Makefile,v 1.73.2.8 2002/09/01 02:12:22 brian Exp $
5 SRCS
= acf.c arp.c async.c auth.c bundle.c cbcp.c ccp.c chap.c chat.c \
6 command.c datalink.c deflate.c defs.c exec.c
filter.c fsm.c hdlc.c \
7 iface.c ip.c ipcp.c ipv6cp.c iplist.c lcp.c link.c log.c lqr.c main.c \
8 mbuf.c mp.c ncp.c ncpaddr.c pap.c physical.c pred.c probe.c prompt.c \
9 proto.c route.c server.c sig.c slcompress.c sync.c systems.c tcp.c \
10 tcpmss.c throughput.c timer.c tty.c tun.c udp.c vjcomp.c
12 .if defined
(NOSUID
) || defined
(PPP_NOSUID
)
21 LDADD
= -lcrypt
-lmd
-lutil
-lz
22 DPADD
= ${LIBCRYPT} ${LIBMD} ${LIBUTIL} ${LIBZ}
27 m4
${M4FLAGS} ${.IMPSRC
} >${.TARGET
}
31 .if defined
(PPP_CONFDIR
) && !empty
(PPP_CONFDIR
)
32 CFLAGS
+=-DPPP_CONFDIR
=\"${PPP_CONFDIR}\"
35 .if defined
(NOKLDLOAD
)
43 .if defined
(NOALIAS
) || defined
(NONAT
)
51 .if defined
(NOSUID
) || defined
(PPP_NOSUID
)
60 SRCS
+= chap_ms.c mppe.c
61 LDADD
+= -lprivate_crypto
62 DPADD
+= ${LIBRECRYPTO}
63 LDFLAGS
+= ${PRIVATELIB_LDFLAGS}
64 CFLAGS
+= -I
${.CURDIR
}/..
/..
/crypto
/libressl
/include
71 LDADD
+= -lradius
-lprivate_crypto
72 DPADD
+= ${LIBRADIUS} ${LIBRECRYPTO}
73 LDFLAGS
+= ${PRIVATELIB_LDFLAGS}
76 .if defined
(WANT_NETGRAPH7
)
77 CFLAGS
+=-DWANT_NETGRAPH7
80 .if defined
(NONETGRAPH
)
85 DPADD
+= ${LIBNETGRAPH}
86 .if defined
(EXPERIMENTAL_NETGRAPH
)
87 CFLAGS
+=-DEXPERIMENTAL_NETGRAPH
94 # XXX sys/md5.h shim errata for bootstrap REMOVE_OPENSSL_FILES
95 CFLAGS
+= -I
${_SHLIBDIRPREFIX}/usr
/include/priv
97 .
include <bsd.prog.mk
>