SSLproxy/GNUmakefile

75 lines
1.3 KiB
Makefile
Raw Normal View History

SRCDIR:= src
CHECKTESTSDIR:= tests/check
TESTPROXYTESTSDIR:= tests/testproxy
TARGET:= sslproxy
2012-04-13 12:47:30 +00:00
all: $(TARGET)
$(TARGET):
$(MAKE) -C $(SRCDIR)
test: $(TARGET)
$(MAKE) -C $(CHECKTESTSDIR)
$(MAKE) -C $(TESTPROXYTESTSDIR)
clean:
$(MAKE) -C $(SRCDIR) clean
$(MAKE) -C $(CHECKTESTSDIR) clean
2018-08-03 20:36:51 +00:00
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
2012-04-13 12:47:30 +00:00
deinstall:
$(MAKE) -C $(SRCDIR) deinstall
2012-04-13 12:47:30 +00:00
lint:
$(MAKE) -C $(SRCDIR) lint
manlint:
$(MAKE) -C $(SRCDIR) manlint
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 $^
man:
$(MAKE) -C $(SRCDIR) man
2012-04-13 13:25:07 +00:00
manclean:
$(MAKE) -C $(SRCDIR) manclean
2012-04-13 13:25:07 +00:00
2012-04-13 12:47:30 +00:00
fetchdeps:
$(WGET) -O- $(KHASH_URL) >$(SRCDIR)/khash.h
#$(RM) -rf xnu/xnu-*
$(MAKE) -C xnu fetch
2012-04-13 12:47:30 +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:
$(MAKE) -C $(SRCDIR) distclean
2012-04-13 12:47:30 +00:00
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
2012-04-13 12:47:30 +00:00