aboutsummaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>1998-07-24 15:46:17 +0000
committerDoug Evans <dje@google.com>1998-07-24 15:46:17 +0000
commit456876c8c4acde3502377a3133f2120a5ae87a52 (patch)
tree9f319bc998ced349bae2124e7f4943273ba8c05e /Makefile.in
parent52e4073c5f4ac5d83f82bd36f49d5405b547e8fd (diff)
downloadgdb-456876c8c4acde3502377a3133f2120a5ae87a52.zip
gdb-456876c8c4acde3502377a3133f2120a5ae87a52.tar.gz
gdb-456876c8c4acde3502377a3133f2120a5ae87a52.tar.bz2
* configure.in (mips64r5900-sky-elf*): Use config/mt-sky.
Set extraconfigdirs to build dvp-elf-as. * configure (extraconfigdirs): New variable. (SUBDIRS): Add extraconfigdirs and recurse on them too. * Makefile.in (all): Move higher in file. (EXTRA_TARGET_HOST_ALL_MODULES): New variable. (EXTRA_TARGET_HOST_{INSTALL,CHECK}_MODULES): New variables. (ALL_MODULES): Add EXTRA_TARGET_HOST_ALL_MODULES. (CROSS_CHECK_MODULES): Add EXTRA_TARGET_HOST_CHECK_MODULES. (INSTALL_MODULES): Add EXTRA_TARGET_HOST_INSTALL_MODULES.
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in25
1 files changed, 18 insertions, 7 deletions
diff --git a/Makefile.in b/Makefile.in
index 0bd6fb3..f35233b 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -329,6 +329,18 @@ NM_FOR_TARGET = ` \
fi; \
fi`
+# The first rule in the file had better be this one. Don't put any above it.
+# This lives here to allow makefile fragments to contain dependencies.
+all: all.normal
+.PHONY: all
+
+# These can be overridden by config/mt-*.
+# The _TARGET_ is because they're specified in mt-foo.
+# The _HOST_ is because they're programs that run on the host.
+EXTRA_TARGET_HOST_ALL_MODULES =
+EXTRA_TARGET_HOST_INSTALL_MODULES =
+EXTRA_TARGET_HOST_CHECK_MODULES =
+
#### host and target specific makefile fragments come in here.
###
@@ -560,7 +572,8 @@ ALL_MODULES = \
$(start-sanitize-ide) \
all-vmake \
$(end-sanitize-ide) \
- all-wdiff
+ all-wdiff \
+ $(EXTRA_TARGET_HOST_ALL_MODULES)
# This is a list of the check targets for all of the modules which are
# compiled using $(FLAGS_TO_PASS).
@@ -646,7 +659,8 @@ CROSS_CHECK_MODULES = \
$(start-sanitize-ide) \
check-vmake \
$(end-sanitize-ide) \
- check-wdiff
+ check-wdiff \
+ $(EXTRA_TARGET_HOST_CHECK_MODULES)
CHECK_MODULES=$(NATIVE_CHECK_MODULES) $(CROSS_CHECK_MODULES)
@@ -735,7 +749,8 @@ INSTALL_MODULES = \
$(start-sanitize-ide) \
install-vmake \
$(end-sanitize-ide) \
- install-wdiff
+ install-wdiff \
+ $(EXTRA_TARGET_HOST_INSTALL_MODULES)
# This is a list of the targets for all of the modules which are compiled
# using $(X11_FLAGS_TO_PASS).
@@ -962,10 +977,6 @@ CLEAN_X11_MODULES = \
clean-tk \
clean-tix
-# The first rule in the file had better be this one. Don't put any above it.
-all: all.normal
-.PHONY: all
-
# The target built for a native build.
.PHONY: all.normal
all.normal: \