SSLproxy/GNUmakefile
Soner Tari 9ff63a1639 Disable travis testproxy tests on osx
SSL tests fail with "SSL stream connect HandshakeError: the handshake
was interrupted" and "SSL stream error: the handshake failed: Connection
reset by peer (os error 54)"
2020-04-03 12:19:38 +03:00

75 lines
1.3 KiB
Makefile

SRCDIR:= src
CHECKTESTSDIR:= tests/check
TESTPROXYTESTSDIR:= tests/testproxy
TARGET:= sslproxy
all: $(TARGET)
$(TARGET):
$(MAKE) -C $(SRCDIR)
test: $(TARGET)
$(MAKE) -C $(CHECKTESTSDIR)
$(MAKE) -C $(TESTPROXYTESTSDIR)
clean:
$(MAKE) -C $(SRCDIR) clean
$(MAKE) -C $(CHECKTESTSDIR) clean
travis: $(TARGET)
$(MAKE) -C $(CHECKTESTSDIR) travis
ifneq ($(shell uname),Darwin)
$(MAKE) -C $(TESTPROXYTESTSDIR) travis
else
$(warning Not running travis $(TESTPROXYTESTSDIR) on $(shell uname))
endif
install:
$(MAKE) -C $(SRCDIR) install
deinstall:
$(MAKE) -C $(SRCDIR) deinstall
lint:
$(MAKE) -C $(SRCDIR) lint
manlint:
$(MAKE) -C $(SRCDIR) manlint
mantest:
$(MAKE) -C $(SRCDIR) mantest
copyright: *.c *.h *.1 *.5 extra/*/*.c
Mk/bin/copyright.py $^
man:
$(MAKE) -C $(SRCDIR) man
manclean:
$(MAKE) -C $(SRCDIR) manclean
fetchdeps:
$(WGET) -O- $(KHASH_URL) >$(SRCDIR)/khash.h
#$(RM) -rf xnu/xnu-*
$(MAKE) -C xnu fetch
dist:
$(MAKE) -C $(SRCDIR) dist
disttest:
$(MAKE) -C $(SRCDIR) disttest
distclean:
$(MAKE) -C $(SRCDIR) distclean
realclean:
$(MAKE) -C $(SRCDIR) realclean
$(MAKE) -C $(CHECKTESTSDIR) realclean
FORCE:
.PHONY: all config clean buildtest test sudotest travis lint \
install deinstall copyright manlint mantest man manclean fetchdeps \
dist disttest distclean realclean