comparison Makefile.in @ 1549:5212630893ab

only clean libtom when using bundled libraries
author Matt Johnston <matt@ucc.asn.au>
date Mon, 26 Feb 2018 23:13:54 +0800
parents 198e2ee0f4b1
children 61a793b6e471
comparison
equal deleted inserted replaced
1548:10dd3df31d5b 1549:5212630893ab
17 17
18 LIBTOM_LIBS=@LIBTOM_LIBS@ 18 LIBTOM_LIBS=@LIBTOM_LIBS@
19 19
20 ifeq (@BUNDLED_LIBTOM@, 1) 20 ifeq (@BUNDLED_LIBTOM@, 1)
21 LIBTOM_DEPS=$(STATIC_LTC) $(STATIC_LTM) 21 LIBTOM_DEPS=$(STATIC_LTC) $(STATIC_LTM)
22 LIBTOM_CLEAN=ltc-clean ltm-clean
22 CFLAGS+=-I$(srcdir)/libtomcrypt/src/headers/ 23 CFLAGS+=-I$(srcdir)/libtomcrypt/src/headers/
23 LIBTOM_LIBS=$(STATIC_LTC) $(STATIC_LTM) 24 LIBTOM_LIBS=$(STATIC_LTC) $(STATIC_LTM)
24 endif 25 endif
25 26
26 OPTION_HEADERS = default_options_guard.h sysoptions.h 27 OPTION_HEADERS = default_options_guard.h sysoptions.h
219 $(MAKE) -C libtommath clean 220 $(MAKE) -C libtommath clean
220 221
221 sizes: dropbear 222 sizes: dropbear
222 objdump -t dropbear|grep ".text"|cut -d "." -f 2|sort -rn 223 objdump -t dropbear|grep ".text"|cut -d "." -f 2|sort -rn
223 224
224 clean: ltc-clean ltm-clean thisclean 225 clean: $(LIBTOM_CLEAN) thisclean
225 226
226 thisclean: 227 thisclean:
227 -rm -f dropbear$(EXEEXT) dbclient$(EXEEXT) dropbearkey$(EXEEXT) \ 228 -rm -f dropbear$(EXEEXT) dbclient$(EXEEXT) dropbearkey$(EXEEXT) \
228 dropbearconvert$(EXEEXT) scp$(EXEEXT) scp-progress$(EXEEXT) \ 229 dropbearconvert$(EXEEXT) scp$(EXEEXT) scp-progress$(EXEEXT) \
229 dropbearmulti$(EXEEXT) *.o *.da *.bb *.bbg *.prof 230 dropbearmulti$(EXEEXT) *.o *.da *.bb *.bbg *.prof