1
0
mirror of https://github.com/pavel-odintsov/fastnetmon synced 2024-11-23 13:22:36 +01:00
fastnetmon-rewritten/build_plugin_tester.sh
2015-02-03 23:05:16 +03:00

10 lines
484 B
Bash
Executable File

#!/bin/bash
g++ netflow_plugin/netflow_collector.cpp -c -onetflow_collector.o
g++ sflow_plugin/sflow_collector.cpp -c -osflow_collector.o
g++ pcap_plugin/pcap_collector.cpp -c -opcap_collector.o
g++ pfring_plugin/pfring_collector.cpp -c -opfring_collector.o -I/opt/pf_ring/include -lpfring
g++ plugin_runner.cpp -lpcap -llog4cpp netflow_collector.o sflow_collector.o pcap_collector.o pfring_collector.o -oplugin_tester
rm -f netflow_collector.o sflow_collector.o pcap_collector.o