2020-03-31 08:55:30 +00:00
|
|
|
SRCDIR:= src
|
|
|
|
CHECKTESTSDIR:= tests/check
|
|
|
|
TESTPROXYTESTSDIR:= tests/testproxy
|
2020-03-26 18:38:38 +00:00
|
|
|
|
2020-03-31 12:59:53 +00:00
|
|
|
TARGET:= sslproxy
|
2012-04-13 12:47:30 +00:00
|
|
|
|
2020-03-28 18:37:11 +00:00
|
|
|
all: $(TARGET)
|
2018-11-03 15:23:31 +00:00
|
|
|
|
2020-03-28 18:37:11 +00:00
|
|
|
$(TARGET):
|
|
|
|
$(MAKE) -C $(SRCDIR)
|
2012-05-02 11:35:36 +00:00
|
|
|
|
2020-03-28 18:37:11 +00:00
|
|
|
test: $(TARGET)
|
2020-12-23 19:35:32 +00:00
|
|
|
$(MAKE) unittest
|
|
|
|
$(MAKE) e2etest
|
|
|
|
|
|
|
|
unittest: $(TARGET)
|
2020-03-28 18:37:11 +00:00
|
|
|
$(MAKE) -C $(CHECKTESTSDIR)
|
2020-12-23 19:35:32 +00:00
|
|
|
|
|
|
|
e2etest: $(TARGET)
|
2020-03-31 08:55:30 +00:00
|
|
|
$(MAKE) -C $(TESTPROXYTESTSDIR)
|
2018-11-03 15:23:31 +00:00
|
|
|
|
2021-08-28 18:54:15 +00:00
|
|
|
e2etest_split: $(TARGET)
|
|
|
|
$(MAKE) -C $(TESTPROXYTESTSDIR) test_split
|
|
|
|
|
2020-03-28 18:37:11 +00:00
|
|
|
clean:
|
|
|
|
$(MAKE) -C $(SRCDIR) clean
|
|
|
|
$(MAKE) -C $(CHECKTESTSDIR) clean
|
2018-08-03 20:36:51 +00:00
|
|
|
|
2020-03-31 12:59:53 +00:00
|
|
|
travis: $(TARGET)
|
2020-12-23 19:35:32 +00:00
|
|
|
$(MAKE) travisunittest
|
|
|
|
$(MAKE) travise2etest
|
|
|
|
|
|
|
|
travisunittest: $(TARGET)
|
2020-03-31 12:59:53 +00:00
|
|
|
$(MAKE) -C $(CHECKTESTSDIR) travis
|
2020-12-23 19:35:32 +00:00
|
|
|
|
|
|
|
travise2etest: $(TARGET)
|
2020-03-31 12:59:53 +00:00
|
|
|
$(MAKE) -C $(TESTPROXYTESTSDIR) travis
|
2020-03-28 18:37:11 +00:00
|
|
|
|
|
|
|
install:
|
|
|
|
$(MAKE) -C $(SRCDIR) install
|
2012-04-13 12:47:30 +00:00
|
|
|
|
|
|
|
deinstall:
|
2020-03-28 18:37:11 +00:00
|
|
|
$(MAKE) -C $(SRCDIR) deinstall
|
2012-04-13 12:47:30 +00:00
|
|
|
|
2012-04-13 20:49:52 +00:00
|
|
|
lint:
|
2020-03-28 18:37:11 +00:00
|
|
|
$(MAKE) -C $(SRCDIR) lint
|
|
|
|
|
|
|
|
manlint:
|
|
|
|
$(MAKE) -C $(SRCDIR) manlint
|
2012-04-13 20:49:52 +00:00
|
|
|
|
2020-03-28 18:37:11 +00:00
|
|
|
mantest:
|
|
|
|
$(MAKE) -C $(SRCDIR) mantest
|
2012-04-13 12:47:30 +00:00
|
|
|
|
2018-09-14 23:51:26 +00:00
|
|
|
copyright: *.c *.h *.1 *.5 extra/*/*.c
|
2018-03-26 15:14:54 +00:00
|
|
|
Mk/bin/copyright.py $^
|
|
|
|
|
2020-03-28 18:37:11 +00:00
|
|
|
man:
|
|
|
|
$(MAKE) -C $(SRCDIR) man
|
2012-04-13 13:25:07 +00:00
|
|
|
|
|
|
|
manclean:
|
2020-03-28 18:37:11 +00:00
|
|
|
$(MAKE) -C $(SRCDIR) manclean
|
2012-04-13 13:25:07 +00:00
|
|
|
|
2012-04-13 12:47:30 +00:00
|
|
|
fetchdeps:
|
2020-03-28 18:37:11 +00:00
|
|
|
$(WGET) -O- $(KHASH_URL) >$(SRCDIR)/khash.h
|
2014-10-30 22:01:55 +00:00
|
|
|
#$(RM) -rf xnu/xnu-*
|
|
|
|
$(MAKE) -C xnu fetch
|
2012-04-13 12:47:30 +00:00
|
|
|
|
2020-03-28 18:37:11 +00:00
|
|
|
dist:
|
|
|
|
$(MAKE) -C $(SRCDIR) dist
|
|
|
|
|
|
|
|
disttest:
|
|
|
|
$(MAKE) -C $(SRCDIR) disttest
|
2012-04-13 12:47:30 +00:00
|
|
|
|
2012-04-13 13:25:07 +00:00
|
|
|
distclean:
|
2020-03-28 18:37:11 +00:00
|
|
|
$(MAKE) -C $(SRCDIR) distclean
|
2012-04-13 12:47:30 +00:00
|
|
|
|
2020-03-28 18:37:11 +00:00
|
|
|
realclean:
|
|
|
|
$(MAKE) -C $(SRCDIR) realclean
|
|
|
|
$(MAKE) -C $(CHECKTESTSDIR) realclean
|
2012-04-13 20:49:52 +00:00
|
|
|
FORCE:
|
|
|
|
|
2018-11-03 15:23:31 +00:00
|
|
|
.PHONY: all config clean buildtest test sudotest travis lint \
|
|
|
|
install deinstall copyright manlint mantest man manclean fetchdeps \
|
2020-03-26 18:38:38 +00:00
|
|
|
dist disttest distclean realclean
|
2012-04-13 12:47:30 +00:00
|
|
|
|