comparison libtommath/Makefile.in @ 1454:ef310db5ccec

fix updates to libtomcrypt/libtommath for out of tree builds
author Matt Johnston <matt@ucc.asn.au>
date Tue, 23 Jan 2018 22:44:18 +0800
parents 60fc6476e044
children 8bba51a55704
comparison
equal deleted inserted replaced
1453:336cae2238ca 1454:ef310db5ccec
1 #Makefile for GCC 1 #Makefile for GCC
2 # 2 #
3 #Tom St Denis 3 #Tom St Denis
4 4
5 srcdir=. 5 VPATH=@srcdir@
6 srcdir=@srcdir@
6 7
7 # So that libtommath can include Dropbear headers for options and m_burn() 8 # So that libtommath can include Dropbear headers for options and m_burn()
8 CFLAGS += -I$(srcdir) -I../libtomcrypt/src/headers/ -I$(srcdir)/../libtomcrypt/src/headers/ -I../ -I$(srcdir)/../ 9 CFLAGS += -I$(srcdir) -I../libtomcrypt/src/headers/ -I$(srcdir)/../libtomcrypt/src/headers/ -I../ -I$(srcdir)/../
9 10
10 ifeq ($V,1) 11 ifeq ($V,1)
23 ifndef LIBNAME 24 ifndef LIBNAME
24 LIBNAME=libtommath.a 25 LIBNAME=libtommath.a
25 endif 26 endif
26 27
27 coverage: LIBNAME:=-Wl,--whole-archive $(LIBNAME) -Wl,--no-whole-archive 28 coverage: LIBNAME:=-Wl,--whole-archive $(LIBNAME) -Wl,--no-whole-archive
28
29 include makefile.include
30 29
31 LCOV_ARGS=--directory . 30 LCOV_ARGS=--directory .
32 31
33 #START_INS 32 #START_INS
34 OBJECTS=bncore.o bn_error.o bn_fast_mp_invmod.o bn_fast_mp_montgomery_reduce.o bn_fast_s_mp_mul_digs.o \ 33 OBJECTS=bncore.o bn_error.o bn_fast_mp_invmod.o bn_fast_mp_montgomery_reduce.o bn_fast_s_mp_mul_digs.o \