comparison libtomcrypt/Makefile.in @ 1335:253c08951b96

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
comparison
equal deleted inserted replaced
1334:c8114a48837c 1335:253c08951b96
17 #AR=ar 17 #AR=ar
18 #ARFLAGS=r 18 #ARFLAGS=r
19 19
20 # Compilation flags. Note the += does not write over the user's CFLAGS! 20 # Compilation flags. Note the += does not write over the user's CFLAGS!
21 # The rest of the flags come from the parent Dropbear makefile 21 # The rest of the flags come from the parent Dropbear makefile
22 CFLAGS += -c -I$(srcdir)/src/headers/ -I$(srcdir)/../ -DLTC_SOURCE -I$(srcdir)/../libtommath/ 22 CFLAGS += -c -Isrc/headers/ -I$(srcdir)/src/headers/ -I../ -I$(srcdir)/../ -DLTC_SOURCE -I../libtommath/ -I$(srcdir)/../libtommath/
23 23
24 # additional warnings (newer GCC 3.4 and higher) 24 # additional warnings (newer GCC 3.4 and higher)
25 ifdef GCC_34 25 ifdef GCC_34
26 CFLAGS += -Wsystem-headers -Wdeclaration-after-statement -Wbad-function-cast -Wcast-align -Wstrict-prototypes -Wmissing-prototypes \ 26 CFLAGS += -Wsystem-headers -Wdeclaration-after-statement -Wbad-function-cast -Wcast-align -Wstrict-prototypes -Wmissing-prototypes \
27 -Wmissing-declarations -Wpointer-arith 27 -Wmissing-declarations -Wpointer-arith