]> git.ozlabs.org Git - ppp.git/blobdiff - pppd/plugins/Makefile.linux
scripts: Avoid killing wrong pppd
[ppp.git] / pppd / plugins / Makefile.linux
index 6de115edcae86a45861d6f229a6427003f322311..ab8cf50d94729168f9b3cafa2d85788ba5b63349 100644 (file)
@@ -1,4 +1,4 @@
-CC     = gcc
+#CC    = gcc
 COPTS  = -O2 -g
 CFLAGS = $(COPTS) -I.. -I../../include -fPIC
 LDFLAGS        = -shared
@@ -14,6 +14,13 @@ SUBDIRS := rp-pppoe pppoatm pppol2tp
 SUBDIRS += radius
 PLUGINS := minconn.so passprompt.so passwordfd.so winbind.so
 
+# This setting should match the one in ../Makefile.linux
+MPPE=y
+
+ifdef MPPE
+CFLAGS   += -DMPPE=1
+endif
+
 # include dependencies if present
 ifeq (.depend,$(wildcard .depend))
 include .depend