opensnitch/Makefile

51 lines
869 B
Makefile
Raw Normal View History

2018-04-10 18:38:04 +02:00
all: protocol daemon/opensnitchd ui/resources_rc.py
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
2018-04-10 18:38:04 +02:00
daemon/opensnitchd:
@cd daemon && make
ui/resources_rc.py:
@cd ui && make
deps:
@cd daemon && make deps
@cd ui && make deps
clean:
2018-04-02 17:54:56 +02:00
@cd daemon && make clean
@cd proto && make clean
run:
cd ui && sudo pip3 install --upgrade . && cd ..
opensnitch-ui --socket unix:///tmp/osui.sock &
sudo ./daemon/opensnitchd -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
2018-04-11 15:35:29 +02:00
cd ui && sudo pip3 install --upgrade . && cd ..
opensnitch-ui --socket unix:///tmp/osui.sock &
sudo ./daemon/opensnitchd -ui-socket unix:///tmp/osui.sock