I tried to compile nettle using --disable-dependency-tracking on OpenBSD, but I get:
$ make make all-here make: don't know how to make aesdata. Stop in /usr/ports/security/ nettle/w-nettle-1.13/nettle-1.13. *** Error code 2
make clean also doesn't work right:
$ make clean set -e; for d in tools testsuite examples; do echo "Making clean in $d" ; (cd $d && make clean); done Making clean in tools rm -f sexp-conv nettle-lfib-stream *.o Making clean in testsuite rm -f aes-test$(EXEEXT) arcfour-test$(EXEEXT) arctwo-test$(EXEEXT) blowfish-test$(EXEEXT) cast128-test$(EXEEXT) base16-test$(EXEEXT) base64-test$(EXEEXT) des-test$(EXEEXT) des3-test$(EXEEXT) des-compat- test$(EXEEXT) md2-test$(EXEEXT) md4-test$(EXEEXT) md5-test$(EXEEXT) md5- compat-test$(EXEEXT) sha1-test$(EXEEXT) sha256-test$(EXEEXT) serpent- test$(EXEEXT) twofish-test$(EXEEXT) buffer-test$(EXEEXT) sexp-test $(EXEEXT) sexp-format-test$(EXEEXT) rsa2sexp-test$(EXEEXT) sexp2rsa-test $(EXEEXT) knuth-lfib-test$(EXEEXT) cbc-test$(EXEEXT) ctr-test$(EXEEXT) hmac-test$(EXEEXT) bignum-test$(EXEEXT) pkcs1-test$(EXEEXT) rsa-test $(EXEEXT) rsa-encrypt-test$(EXEEXT) rsa-keygen-test$(EXEEXT) dsa-test $(EXEEXT) dsa-keygen-test$(EXEEXT) yarrow-test$(EXEEXT) *.o test.in test1.out test2.out /bin/sh: EXEEXT: not found /bin/sh: EXEEXT: not found /bin/sh: EXEEXT: not found /bin/sh: EXEEXT: not found /bin/sh: EXEEXT: not found ...
I am assuming of course that the --disable-dependency-tracking option means that it should work with a BSD make.
Adam