aboutsummaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1997-07-04 17:27:30 +0000
committerIan Lance Taylor <ian@airs.com>1997-07-04 17:27:30 +0000
commit8270cd762b43fe979274f8c5e8f4338793bd9dad (patch)
treea39516bbe7e660ef9744fbacc07d01d38bf9dbd4 /Makefile.in
parent9039701bda1d0ab513c2abed287b27bd7293cc57 (diff)
downloadgdb-8270cd762b43fe979274f8c5e8f4338793bd9dad.zip
gdb-8270cd762b43fe979274f8c5e8f4338793bd9dad.tar.gz
gdb-8270cd762b43fe979274f8c5e8f4338793bd9dad.tar.bz2
* Makefile.in (INSTALL_PROGRAM_ARGS): New variable.
(INSTALL_PROGRAM): Use $(INSTALL_PROGRAM_ARGS). (INSTALL_SCRIPT): New variable. (BASE_FLAGS_TO_PASS): Pass down INSTALL_SCRIPT. * configure.in: If host is *-*-cygwin32*, set INSTALL_PROGRAM_ARGS to -x. * install-sh: Add support for -x option.
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in8
1 files changed, 7 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in
index ff4b004..150cdde 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -45,8 +45,13 @@ GDB_NLM_DEPS =
SHELL = /bin/sh
+# INSTALL_PROGRAM_ARGS is changed by configure.in to use -x for a
+# cygwin32 host.
+INSTALL_PROGRAM_ARGS =
+
INSTALL = $(SHELL) $$s/install-sh -c
-INSTALL_PROGRAM = $(INSTALL)
+INSTALL_PROGRAM = $(INSTALL) $(INSTALL_PROGRAM_ARGS)
+INSTALL_SCRIPT = $(INSTALL)
INSTALL_DATA = $(INSTALL) -m 644
INSTALL_DOSREL = install-dosrel-fake
@@ -335,6 +340,7 @@ BASE_FLAGS_TO_PASS = \
"INSTALL=$(INSTALL)" \
"INSTALL_DATA=$(INSTALL_DATA)" \
"INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
+ "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
"LDFLAGS=$(LDFLAGS)" \
"LEX=$(LEX)" \
"LD_FOR_TARGET=$(LD_FOR_TARGET)" \