mirror of https://github.com/sonertari/SSLproxy
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
559 B
Makefile
28 lines
559 B
Makefile
TESTPROXY:= ~/.cargo/bin/testproxy
|
|
|
|
all: test
|
|
|
|
buildsslproxy:
|
|
$(MAKE) -C ../../
|
|
|
|
buildlp:
|
|
$(MAKE) -C lp
|
|
|
|
test: buildsslproxy buildlp
|
|
sudo LD_LIBRARY_PATH=$(LD_LIBRARY_PATH) ./lp/lp -f ./lp/lp.conf -o Debug=no -o Daemon=yes -o User=nobody
|
|
sudo LD_LIBRARY_PATH=$(LD_LIBRARY_PATH) ../../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:
|
|
$(MAKE) -C ../../ clean
|
|
$(MAKE) -C lp clean
|
|
|
|
FORCE:
|
|
|
|
.PHONY: all clean buildsslproxy buildlp test travis
|
|
|