diff Makefile.in @ 196:704bb050935f libtomcrypt

makefile fixup for Dropbear
author Matt Johnston <matt@ucc.asn.au>
date Mon, 09 May 2005 12:00:08 +0000
parents 19e5d79b7190
children 7adce1fbdbff
line wrap: on
line diff
--- 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