summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2017-02-12 21:51:42 (GMT)
committerAlexey Neyman <stilor@att.net>2017-02-13 06:02:23 (GMT)
commit35f89c406423344b19dcf3e3f95ff6296f329e42 (patch)
tree69b473f6d211cc56bfc437e37b457407ad052a43 /Makefile.in
parentc31ed45a65e9e30fe2000bf1704583038522646e (diff)
Detect both wget/curl and allow user to select the agent
Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in
index 92759ca..4e8db5c 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -62,6 +62,8 @@ export awk := @AWK@
export grep := @GREP@
export make := @MAKE@
export sed := @SED@
+export wget := @wget@
+export curl := @curl@
export libtool := @LIBTOOL@
export libtoolize := @LIBTOOLIZE@
export objcopy := @OBJCOPY@
@@ -155,6 +157,7 @@ uninstall: real-uninstall
# Build rules
build-bin: $(PROG_NAME) \
+ scripts/scripts.mk \
scripts/crosstool-NG.sh \
scripts/saveSample.sh \
scripts/showConfig.sh
@@ -187,6 +190,8 @@ define sed_it
-e 's,@@CT_make@@,$(make),g;' \
-e 's,@@CT_bash@@,$(bash),g;' \
-e 's,@@CT_awk@@,$(awk),g;' \
+ -e 's,@@CT_wget@@,$(wget),g;' \
+ -e 's,@@CT_curl@@,$(curl),g;' \
$< >$@
endef
@@ -258,6 +263,8 @@ FORCE:
clean-bin:
@echo " RM '$(PROG_NAME)'"
@rm -f $(PROG_NAME)
+ @echo " RM 'scripts/scripts.mk'"
+ @rm -f scripts/scripts.mk
@echo " RM 'scripts/crosstool-NG.sh'"
@rm -f scripts/crosstool-NG.sh
@echo " RM 'scripts/saveSample.sh'"