3 MAINTAINER=brian@FreeBSD.org
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 id.c iface.c ip.c ipcp.c iplist.c lcp.c link.c log.c lqr.c main.c \
9 mbuf.c mp.c pap.c physical.c pred.c probe.c prompt.c proto.c route.c \
10 server.c sig.c slcompress.c sync.c systems.c tcp.c throughput.c \
11 timer.c tty.c tun.c udp.c vjcomp.c
13 LDADD+= -lcrypt -lmd -lutil -lz
14 DPADD+= ${LIBCRYPT} ${LIBMD} ${LIBUTIL} ${LIBZ}
20 .if defined(RELEASE_CRUNCH)
21 CFLAGS+=-DRELEASE_CRUNCH
24 .if defined(NOKLDLOAD)
28 .if defined(NOALIAS) || defined(NONAT)
31 .if !defined(RELEASE_CRUNCH)
38 .if exists(${.CURDIR}/../../secure) && !defined(NOCRYPT) && !defined(NOSECURE) && !defined(RELEASE_CRUNCH)
49 .if !defined(RELEASE_CRUNCH)
56 .if defined(NOI4B) || ${MACHINE_ARCH} == "alpha"
62 .if defined(NONETGRAPH)
67 DPADD+= ${LIBNETGRAPH}
70 .if defined(RELEASE_CRUNCH)
71 # We must create these objects because crunchgen will link them,
72 # and we don't want any unused symbols to spoil the final link.
73 CFLAGS+=-DNONAT -DNORADIUS -DNOI4B
74 OBJS+= chap_ms.o nat_cmd.o radius.o
75 chap_ms.o nat_cmd.o radius.o:
77 cc -c -o ${.TARGET} null_${.PREFIX}.c
80 .include <bsd.prog.mk>