2020-02-19 17:16:04 +01:00
|
|
|
all: pibs pibs-stat pibs-BGP-Ranking pibs-isn
|
2019-04-11 11:32:21 +02:00
|
|
|
|
|
|
|
pibs-stat: pibs-stat.o libpibs.o memutils.o synseen.o
|
|
|
|
gcc -Wall -o pibs-stat pibs-stat.o libpibs.o memutils.o synseen.o -lwiretap `pkg-config --libs glib-2.0` -lpcap -lhiredis -ggdb
|
|
|
|
|
|
|
|
|
|
|
|
pibs-stat.o: pibs-stat.c
|
|
|
|
gcc -D HASHDEBUG=0 -Wall -c pibs-stat.c `pkg-config --cflags glib-2.0` -I /usr/include/wireshark/wiretap -I /usr/include/wireshark/wsutil -I /usr/include/wireshark `pkg-config --libs glib-2.0` -I /usr/local/include/hiredis -ggdb
|
|
|
|
|
2020-02-19 17:16:04 +01:00
|
|
|
pibs-isn: pibs-isn.o libpibs.o memutils.o synseen.o
|
|
|
|
gcc -Wall -o pibs-isn pibs-isn.o libpibs.o memutils.o synseen.o -lwiretap `pkg-config --libs glib-2.0` -lpcap -lhiredis -ggdb
|
|
|
|
|
|
|
|
pibs-stat.o: pibs-isn.c
|
|
|
|
gcc -D HASHDEBUG=0 -Wall -c pibs-isn.c `pkg-config --cflags glib-2.0` -I /usr/include/wireshark/wiretap -I /usr/include/wireshark/wsutil -I /usr/include/wireshark `pkg-config --libs glib-2.0` -I /usr/local/include/hiredis -ggdb
|
|
|
|
|
2019-07-15 15:05:04 +02:00
|
|
|
pibs-BGP-Ranking: pibs pibs-BGP-Ranking.o libpibs.o memutils.o synseen.o
|
|
|
|
gcc -Wall -o pibs-BGP-Ranking pibs-BGP-Ranking.o libpibs.o memutils.o synseen.o -lwiretap `pkg-config --libs glib-2.0` -lpcap -lhiredis -ggdb
|
|
|
|
|
|
|
|
pibs-BGP-Ranking.o: pibs-BGP-Ranking.c
|
|
|
|
gcc -D HASHDEBUG=0 -Wall -c pibs-BGP-Ranking.c `pkg-config --cflags glib-2.0` -I /usr/include/wireshark/wiretap -I /usr/include/wireshark/wsutil -I /usr/include/wireshark `pkg-config --libs glib-2.0` -I /usr/local/include/hiredis -ggdb
|
|
|
|
|
2019-04-11 09:28:10 +02:00
|
|
|
pibs: pibs.o memutils.o synseen.o libpibs.o
|
|
|
|
gcc -Wall -o pibs pibs.o memutils.o synseen.o libpibs.o -lwiretap `pkg-config --libs glib-2.0` -lpcap -lhiredis -ggdb
|
|
|
|
|
|
|
|
libpibs.o: libpibs.c
|
|
|
|
gcc -D HASHDEBUG=0 -Wall -c libpibs.c `pkg-config --cflags glib-2.0` -I /usr/include/wireshark/wiretap -I /usr/include/wireshark/wsutil -I /usr/include/wireshark `pkg-config --libs glib-2.0` -I /usr/local/include/hiredis -ggdb
|
|
|
|
|
2019-04-10 14:39:16 +02:00
|
|
|
|
|
|
|
memutils.o: memutils.c
|
|
|
|
gcc -Wall -c memutils.c `pkg-config --cflags glib-2.0` -I /usr/include/wireshark/wiretap -I /usr/include/wireshark/wsutil -I /usr/include/wireshark `pkg-config --libs glib-2.0` -I /usr/local/include/hiredis -ggdb
|
|
|
|
|
2019-04-10 15:11:50 +02:00
|
|
|
synseen.o: synseen.c
|
|
|
|
gcc -D HASHDEBUG=0 -Wall -c synseen.c `pkg-config --cflags glib-2.0` -I /usr/include/wireshark/wiretap -I /usr/include/wireshark/wsutil -I /usr/include/wireshark `pkg-config --libs glib-2.0` -I /usr/local/include/hiredis -ggdb
|
|
|
|
|
2019-02-01 15:20:03 +01:00
|
|
|
pibs.o: pibs.c
|
|
|
|
gcc -D HASHDEBUG=0 -Wall -c pibs.c `pkg-config --cflags glib-2.0` -I /usr/include/wireshark/wiretap -I /usr/include/wireshark/wsutil -I /usr/include/wireshark `pkg-config --libs glib-2.0` -I /usr/local/include/hiredis -ggdb
|
|
|
|
|
|
|
|
clean:
|
|
|
|
-rm pibs
|
2019-07-15 15:05:04 +02:00
|
|
|
-rm pibs-stat
|
|
|
|
-rm pibs-BGP-Ranking
|
2019-02-01 15:20:03 +01:00
|
|
|
-rm *.o
|