Skip to content
Snippets Groups Projects
Commit 448b31d7 authored by Matt Johnston's avatar Matt Johnston
Browse files

makefile fixup for Dropbear

--HG--
branch : libtomcrypt
extra : convert_revision : f45f6a00d643698dd63bd7bed21d7bda6094ccb8
parent a457ccda
Tags
No related merge requests found
......@@ -19,7 +19,7 @@ srcdir=@srcdir@
# 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/sha512.o: src/hashes/sha2/sha512.c src/hashes/sha2/sha384.c
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
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment