opensnitch/Makefile

48 lines
855 B
Makefile
Raw Normal View History

all: protocol opensnitch_daemon gui
2018-04-02 17:54:56 +02:00
install:
@cd daemon && make install
@cd ui && make install
2018-04-02 17:54:56 +02:00
protocol:
@cd proto && make
opensnitch_daemon:
@cd daemon && make
gui:
@cd ui && make
clean:
2018-04-02 17:54:56 +02:00
@cd daemon && make clean
@cd proto && make clean
@cd ui && make clean
run:
cd ui && pip3 install --upgrade . && cd ..
opensnitch-ui --socket unix:///tmp/osui.sock &
./daemon/opensnitchd -rules-path /etc/opensnitchd/rules -ui-socket unix:///tmp/osui.sock -cpu-profile cpu.profile -mem-profile mem.profile
test:
clear
make clean
clear
mkdir -p rules
make
clear
make run
adblocker:
clear
make clean
clear
make
clear
python make_ads_rules.py
clear
cd ui && pip3 install --upgrade . && cd ..
opensnitch-ui --socket unix:///tmp/osui.sock &
./daemon/opensnitchd -rules-path /etc/opensnitchd/rules -ui-socket unix:///tmp/osui.sock