summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2018-02-26 23:13:54 +0800
committerMatt Johnston <matt@ucc.asn.au>2018-02-26 23:13:54 +0800
commite94d2f0063c09a84ceecc9ebe9844fe3cae91562 (patch)
treeea7b8a672da2f2bb58ce14c37b0a7e7c87d6e44d
parente80b6ecb106329709c59c842537645227c4bc0c7 (diff)
downloaddropbear-e94d2f0063c09a84ceecc9ebe9844fe3cae91562.tar.gz
only clean libtom when using bundled libraries
-rw-r--r--Makefile.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in
index 1d5f7ed..e7d52a2 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -19,6 +19,7 @@ LIBTOM_LIBS=@LIBTOM_LIBS@
ifeq (@BUNDLED_LIBTOM@, 1)
LIBTOM_DEPS=$(STATIC_LTC) $(STATIC_LTM)
+LIBTOM_CLEAN=ltc-clean ltm-clean
CFLAGS+=-I$(srcdir)/libtomcrypt/src/headers/
LIBTOM_LIBS=$(STATIC_LTC) $(STATIC_LTM)
endif
@@ -221,7 +222,7 @@ ltm-clean:
sizes: dropbear
objdump -t dropbear|grep ".text"|cut -d "." -f 2|sort -rn
-clean: ltc-clean ltm-clean thisclean
+clean: $(LIBTOM_CLEAN) thisclean
thisclean:
-rm -f dropbear$(EXEEXT) dbclient$(EXEEXT) dropbearkey$(EXEEXT) \