Warn about OpenSSL exponents which are not 65537
[dowkd.git] / Makefile
blobc9430c22b30b7a5e6acd33a4694495172edb928c
1 BLACKLIST_FILES := data/DSA-1024 data/RSA-2048 \
2 data/OpenVPN-64-LE data/OpenVPN-32-LE \
3 $(wildcard data/OpenSSH-*-LE) \
4 $(wildcard data/OpenSSL-*-LE)
6 export LC_ALL=C
8 .PHONY: all force
10 all: dowkd
12 dowkd: dowkd.in dowkd.blacklist.gz dowkd.blacklist.md5 ChangeLog force
13 -rm $@ dowkd.pl.gz 2> /dev/null || true
14 perl -c dowkd.in
15 bash dowkd.compile
17 dowkd.blacklist: $(BLACKLIST_FILES)
18 -rm $@ 2> /dev/null || true
19 sort -u $(BLACKLIST_FILES) -o $@
21 dowkd.blacklist.gz: dowkd.blacklist
22 gzip -9 < $^ > $@
24 dowkd.blacklist.md5: dowkd.blacklist
25 -rm $@ 2> /dev/null || true
26 md5sum $^ | awk '{print $$1}' > $@
28 # Generate the ChangeLog from the GIT metadata
29 ChangeLog : force
30 -rm $@ 2> /dev/null || true
31 git log --pretty=oneline | while read sha text ; do \
32 t=$$(git describe "$$sha" --exact-match --match 'v[0-9]*' 2>/dev/null) ; \
33 test -z "$$t" || echo "$$t" ; \
34 echo " $$text" ; \
35 done > $@
37 force: