Mercurial > dropbear
comparison Makefile.in @ 642:33fd2f3499d2 dropbear-tfm
A few build fixes
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Tue, 22 Nov 2011 19:28:58 +0700 |
parents | c95860b53363 |
children |
comparison
equal
deleted
inserted
replaced
641:2b1bb792cd4d | 642:33fd2f3499d2 |
---|---|
13 PROGRAMS=dropbear dbclient dropbearkey dropbearconvert | 13 PROGRAMS=dropbear dbclient dropbearkey dropbearconvert |
14 endif | 14 endif |
15 | 15 |
16 LTC=libtomcrypt/libtomcrypt.a | 16 LTC=libtomcrypt/libtomcrypt.a |
17 LTM=libtommath/libtommath.a | 17 LTM=libtommath/libtommath.a |
18 TFM=tomsfastmath/libtfm.a | |
18 | 19 |
19 ifeq (@BUNDLED_LIBTOM@, 1) | 20 ifeq (@BUNDLED_LIBTOM@, 1) |
20 LIBTOM_DEPS=$(LTC) $(LTM) | 21 LIBTOM_DEPS=$(LTC) $(TFM) |
21 CFLAGS+=-I$(srcdir)/libtomcrypt/src/headers/ | 22 CFLAGS+=-I$(srcdir)/libtomcrypt/src/headers/ |
22 LIBS+=$(LTC) $(LTM) | 23 LIBS+=$(LTC) $(TFM) |
23 endif | 24 endif |
24 | 25 |
25 COMMONOBJS=dbutil.o buffer.o \ | 26 COMMONOBJS=dbutil.o buffer.o \ |
26 dss.o bignum.o \ | 27 dss.o bignum.o \ |
27 signkey.o rsa.o random.o \ | 28 signkey.o rsa.o random.o \ |
188 cd libtomcrypt && $(MAKE) clean && $(MAKE) | 189 cd libtomcrypt && $(MAKE) clean && $(MAKE) |
189 | 190 |
190 $(LTM): options.h | 191 $(LTM): options.h |
191 cd libtommath && $(MAKE) | 192 cd libtommath && $(MAKE) |
192 | 193 |
193 .PHONY : clean sizes thisclean distclean tidy ltc-clean ltm-clean | 194 $(TFM): options.h |
195 cd tomsfastmath && $(MAKE) | |
196 | |
197 .PHONY : clean sizes thisclean distclean tidy ltc-clean ltm-clean tfm-clean | |
194 | 198 |
195 ltc-clean: | 199 ltc-clean: |
196 cd libtomcrypt && $(MAKE) clean | 200 cd libtomcrypt && $(MAKE) clean |
197 | 201 |
198 ltm-clean: | 202 ltm-clean: |
199 cd libtommath && $(MAKE) clean | 203 cd libtommath && $(MAKE) clean |
200 | 204 |
205 tfm-clean: | |
206 cd tomsfastmath && $(MAKE) clean | |
207 | |
201 sizes: dropbear | 208 sizes: dropbear |
202 objdump -t dropbear|grep ".text"|cut -d "." -f 2|sort -rn | 209 objdump -t dropbear|grep ".text"|cut -d "." -f 2|sort -rn |
203 | 210 |
204 clean: ltc-clean ltm-clean thisclean | 211 clean: ltc-clean ltm-clean tfm-clean thisclean |
205 | 212 |
206 thisclean: | 213 thisclean: |
207 -rm -f dropbear dbclient dropbearkey dropbearconvert scp scp-progress \ | 214 -rm -f dropbear dbclient dropbearkey dropbearconvert scp scp-progress \ |
208 dropbearmulti *.o *.da *.bb *.bbg *.prof | 215 dropbearmulti *.o *.da *.bb *.bbg *.prof |
209 | 216 |