The Poor Man's (or Woman's) Intrusion Detection System
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

51 lines
1.9 KiB

  1. # cm-20220225 testing controlpanel messages with symbols left in
  2. CXXFLAGS=-g
  3. LDFLAGS=-lcppdb
  4. ### Program Targets ###
  5. .PHONY: all controlpanel/trafficctrl
  6. all: iptraffic trafficmon/badtrafficrpt trafficmon/dnsblacklist \
  7. trafficmon/domblacklist trafficmon/impblack trafficmon/trafficmon \
  8. controlpanel/trafficctrl controlpanel/trafficctrl_cron
  9. controlpanel/trafficctrl:
  10. +make -C controlpanel trafficctrl
  11. controlpanel/trafficctrl_cron: controlpanel/trafficctrl_cron.cpp \
  12. controlpanel/nametools.h controlpanel/data.h \
  13. trafficmon/appbase.o config.o cli.o data.o \
  14. miniini.o strutil.o
  15. iptraffic: iptraffic.cpp strutil.o data.o config.o cli.o miniini.o
  16. trafficmon/badtrafficrpt: trafficmon/badtrafficrpt.cpp config.o cli.o data.o miniini.o strutil.o trafficmon/appbase.o
  17. trafficmon/dnsblacklist: trafficmon/dnsblacklist.cpp config.o cli.o data.o miniini.o strutil.o trafficmon/appbase.o
  18. trafficmon/domblacklist: trafficmon/domblacklist.cpp config.o cli.o data.o miniini.o strutil.o trafficmon/appbase.o
  19. trafficmon/impblack: trafficmon/impblack.cpp strutil.o config.o cli.o data.o miniini.o trafficmon/appbase.o
  20. trafficmon/trafficmon: trafficmon/trafficmon.cpp strutil.o data.o config.o cli.o miniini.o trafficmon/appbase.o
  21. ### Libs ###
  22. cli.o: cli.cpp cli.h
  23. config.o: config.cpp config.h strutil.h data.h miniini.h
  24. data.o: data.cpp data.h strutil.h
  25. miniini.o: miniini.cpp miniini.h strutil.h
  26. strutil.o: strutil.cpp strutil.h
  27. trafficmon/appbase.o: trafficmon/appbase.cpp trafficmon/appbase.h config.h cli.h data.h miniini.h strutil.h
  28. ### Source Maintenance ###
  29. .PHONY: clean distclean docs
  30. clean:
  31. rm *.o */*.o || true
  32. distclean: clean
  33. rm iptraffic trafficmon/trafficmon trafficmon/badtrafficrpt || true
  34. rm trafficmon/dnsblacklist trafficmon/domblacklist trafficmon/impblack || true
  35. rm *.deb || true
  36. cd controlpanel && make distclean
  37. docs:
  38. doxygen Doxyfile