diff libtomcrypt/Makefile.in @ 1299:24e563b90f12

Support out-of-tree builds usign bundled libtom When building out-of-tree we need both source and generated folders in include paths to find both distributed and generated headers.
author Henrik Nordström <henrik@knc.nu>
date Wed, 11 May 2016 12:35:06 +0200
parents ac2158e3e403
children f849a5ca2efc
line wrap: on
line diff
--- a/libtomcrypt/Makefile.in	Wed May 04 17:59:34 2016 +0200
+++ b/libtomcrypt/Makefile.in	Wed May 11 12:35:06 2016 +0200
@@ -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)/../ -DLTC_SOURCE -I$(srcdir)/../libtommath/
+CFLAGS += -c -Isrc/headers/ -I$(srcdir)/src/headers/ -I../ -I$(srcdir)/../ -DLTC_SOURCE -I../libtommath/ -I$(srcdir)/../libtommath/
 
 # additional warnings (newer GCC 3.4 and higher)
 ifdef GCC_34