summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2017-06-27 23:02:05 +0800
committerMatt Johnston <matt@ucc.asn.au>2017-06-27 23:02:05 +0800
commita5ec3aca7d9355abf580faf88bd9bf1e871164cb (patch)
tree46c35ebac6c34a6bfd05a5eeb83656fc11bcb727
parent785459d31bca1c4aa940ab62ede659a2d0311ecf (diff)
EXEEXT for a few more targets, dropbearmulti in particular for Cygwin
From William K. Foster.
-rw-r--r--Makefile.in11
1 files changed, 6 insertions, 5 deletions
diff --git a/Makefile.in b/Makefile.in
index f9f9a46..5c4e106 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -116,7 +116,7 @@ ifeq ($(STATIC), 1)
endif
ifeq ($(MULTI), 1)
- TARGETS=dropbearmulti
+ TARGETS=dropbearmulti$(EXEEXT)
else
TARGETS=$(PROGRAMS)
endif
@@ -133,14 +133,14 @@ strip: $(TARGETS)
install: $(addprefix inst_, $(TARGETS))
-insmultidropbear: dropbearmulti
+insmultidropbear: dropbearmulti$(EXEEXT)
$(INSTALL) -d $(DESTDIR)$(sbindir)
-rm -f $(DESTDIR)$(sbindir)/dropbear$(EXEEXT)
-ln -s $(bindir)/dropbearmulti$(EXEEXT) $(DESTDIR)$(sbindir)/dropbear$(EXEEXT)
$(INSTALL) -d $(DESTDIR)$(mandir)/man8
$(INSTALL) -m 644 $(srcdir)/dropbear.8 $(DESTDIR)$(mandir)/man8/dropbear.8
-insmulti%: dropbearmulti
+insmulti%: dropbearmulti$(EXEEXT)
$(INSTALL) -d $(DESTDIR)$(bindir)
-rm -f $(DESTDIR)$(bindir)/$*$(EXEEXT)
-ln -s $(bindir)/dropbearmulti$(EXEEXT) $(DESTDIR)$(bindir)/$*$(EXEEXT)
@@ -220,8 +220,9 @@ sizes: dropbear
clean: ltc-clean ltm-clean thisclean
thisclean:
- -rm -f dropbear dbclient dropbearkey dropbearconvert scp scp-progress \
- dropbearmulti *.o *.da *.bb *.bbg *.prof
+ -rm -f dropbear$(EXEEXT) dbclient$(EXEEXT) dropbearkey$(EXEEXT) \
+ dropbearconvert$(EXEEXT) scp$(EXEEXT) scp-progress$(EXEEXT) \
+ dropbearmulti$(EXEEXT) *.o *.da *.bb *.bbg *.prof
distclean: clean tidy
-rm -f config.h