# HG changeset patch # User Matt Johnston # Date 1115640008 0 # Node ID 704bb050935f58431d279ac82355d59b77e1e155 # Parent 19e5d79b71905c98b34979096ab77e12269b7295 makefile fixup for Dropbear diff -r 19e5d79b7190 -r 704bb050935f Makefile.in --- a/Makefile.in Mon May 09 09:33:00 2005 +0000 +++ b/Makefile.in Mon May 09 12:00:08 2005 +0000 @@ -19,7 +19,7 @@ # Compilation flags. Note the += does not write over the user's CFLAGS! # The rest of the flags come from the parent Dropbear makefile -CFLAGS += -c -I$(srcdir)/src/headers/ -I$(srcdir) +CFLAGS += -c -I$(srcdir)/src/headers/ -I$(srcdir)/../ # additional warnings (newer GCC 3.4 and higher) #CFLAGS += -Wsystem-headers -Wdeclaration-after-statement -Wbad-function-cast -Wcast-align -Wstrict-prototypes -Wmissing-prototypes \ @@ -143,7 +143,9 @@ src/hashes/sha2/sha256.o: src/hashes/sha2/sha256.c src/hashes/sha2/sha224.c #This rule makes the libtomcrypt library. -library: $(LIBTEST) $(LIBNAME) +#library: $(LIBTEST) $(LIBNAME) +# Dropbear doesn't want test programs, since it relies on yarrow etc. +library: $(LIBNAME) $(LIBTEST): cd testprof ; CFLAGS="$(CFLAGS)" make