add peer_address config option
[l2tpns.git] / Makefile
index cfd6e16..dc0bd23 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -44,13 +44,13 @@ OBJS =      arp.o \
        tbf.o \
        util.o
 
-PLUGINS = garden.so autothrottle.so autosnoop.so stripdomain.so
+PLUGINS = garden.so autothrottle.so autosnoop.so stripdomain.so setrxspeed.so
 TARGETS = l2tpns nsctl generateload bounce $(PLUGINS)
 
 all: $(TARGETS)
 
 clean:
-       rm -f *.o $(TARGETS) Makefile.tmp Makefile.bak
+       rm -f *.o test/*.o $(TARGETS) Makefile.tmp Makefile.bak
 
 depend:
        (sed -n 'p; /^## Dependencies: (autogenerated) ##/q' Makefile && \
@@ -121,8 +121,9 @@ md5.o: md5.c md5.h
 ppp.o: ppp.c l2tpns.h constants.h plugin.h util.h tbf.h cluster.h
 radius.o: radius.c md5.h constants.h l2tpns.h plugin.h util.h
 tbf.o: tbf.c l2tpns.h util.h tbf.h
-util.o: util.c l2tpns.h
+util.o: util.c l2tpns.h bgp.h
 garden.so: garden.c l2tpns.h plugin.h control.h
-autothrottle.so: autothrottle.c l2tpns.h plugin.h control.h
-autosnoop.so: autosnoop.c l2tpns.h plugin.h control.h
+autothrottle.so: autothrottle.c l2tpns.h plugin.h
+autosnoop.so: autosnoop.c l2tpns.h plugin.h
 stripdomain.so: stripdomain.c l2tpns.h plugin.h
+setrxspeed.so: setrxspeed.c l2tpns.h plugin.h