]> git.ozlabs.org Git - ppp.git/blobdiff - pppd/plugins/radius/Makefile.linux
Experemental per session traffic limiting.
[ppp.git] / pppd / plugins / radius / Makefile.linux
index 1fa7ff9730e1c95787030f41301110faaee64d97..30a3ac40de500653b20c1db1e9aeed3bec7151d8 100644 (file)
@@ -5,7 +5,25 @@
 
 MANDIR=/usr/man
 PLUGIN=radius.so radattr.so
-CFLAGS=-I../.. -Iradiusclient/include -O2
+CFLAGS=-I../.. -I../../../include -Iradiusclient/include -O2
+
+# Uncomment the next line to include support for Microsoft's
+# MS-CHAP authentication protocol.
+CHAPMS=y
+# Uncomment the next line to include support for MPPE.
+MPPE=y
+# Uncomment the next lint to include support for traffic limiting
+MAXOCTETS=y
+
+ifdef CHAPMS
+CFLAGS += -DCHAPMS=1
+ifdef MPPE
+CFLAGS += -DMPPE=1
+endif
+endif
+ifdef MAXOCTETS
+CFLAGS += -DMAXOCTETS=1
+endif
 
 all: $(PLUGIN)