SSLproxy/tests/testproxy/GNUmakefile
Soner Tari 155b83c045 Do not export vars to the shell, instead create a main.mk and include it when needed
Otherwise it is almost impossible to stop var redefinitions in
successive builds
2020-03-31 16:19:02 +03:00

30 lines
527 B
Makefile

TESTPROXY:= ~/.cargo/bin/testproxy
all: test
buildsslproxy:
$(MAKE) -C ../../
buildlp:
$(MAKE) -C lp
test: buildsslproxy buildlp
sudo ./lp/lp -f ./lp/lp.conf -o Debug=no -o Daemon=yes -o User=nobody
sudo ../../src/sslproxy -f sslproxy.conf -o Debug=no -o Daemon=yes -o User=nobody
$(TESTPROXY) -f testharness.json
sudo pkill sslproxy
sudo pkill lp
travis: test
clean:
# sudo pkill sslproxy
# sudo pkill lp
$(MAKE) -C ../../ clean
$(MAKE) -C lp clean
FORCE:
.PHONY: all clean buildsslproxy buildlp test travis