diff options
Diffstat (limited to 'usr.sbin/ppp/Makefile')
-rw-r--r-- | usr.sbin/ppp/Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/usr.sbin/ppp/Makefile b/usr.sbin/ppp/Makefile index 0c565c5..e74ddc5 100644 --- a/usr.sbin/ppp/Makefile +++ b/usr.sbin/ppp/Makefile @@ -59,10 +59,18 @@ CFLAGS+=-DNOI4B SRCS+= i4b.c .endif +.if defined(NONETGRAPH) +CFLAGS+=-DNONETGRAPH +.else +SRCS+= ether.c +LDADD+= -lnetgraph +DPADD+= ${LIBNETGRAPH} +.endif + .if defined(RELEASE_CRUNCH) # We must create these objects because crunchgen will link them, # and we don't want any unused symbols to spoil the final link. -CFLAGS+=-DNONAT -DNORADIUS -DNOI4B +CFLAGS+=-DNONAT -DNORADIUS -DNOI4B -DNONETGRAPH OBJS+= nat_cmd.o chap_ms.o radius.o chap_ms.o nat_cmd.o radius.o: >null_${.PREFIX}.c |