aboutsummaryrefslogtreecommitdiff
path: root/gas/Makefile.in
diff options
context:
space:
mode:
authorK. Richard Pixley <rich@cygnus>1991-04-15 23:57:22 +0000
committerK. Richard Pixley <rich@cygnus>1991-04-15 23:57:22 +0000
commit3d6f098360d17972b34b0744466effb9163a04ed (patch)
treee533d6827fd73910fbc509e6ab14839d71fd8b7c /gas/Makefile.in
parent0df06ca031741cd54a602f30688e8e49281a0a2e (diff)
downloadgdb-3d6f098360d17972b34b0744466effb9163a04ed.zip
gdb-3d6f098360d17972b34b0744466effb9163a04ed.tar.gz
gdb-3d6f098360d17972b34b0744466effb9163a04ed.tar.bz2
Now handles multiple hosts and targets.
Diffstat (limited to 'gas/Makefile.in')
-rw-r--r--gas/Makefile.in14
1 files changed, 9 insertions, 5 deletions
diff --git a/gas/Makefile.in b/gas/Makefile.in
index 79cad4e..feffed6 100644
--- a/gas/Makefile.in
+++ b/gas/Makefile.in
@@ -59,13 +59,14 @@ CCLIBFLAGS = -O
# Version of ar to use when compiling gnulib.
OLDAR = ar
-version=`./gcc -dumpversion`
+version=`$(srcdir)/../gcc$(subdir)/gcc -dumpversion`
# Directory where sources are, from where we are.
srcdir = .
# Common prefix for installation directories.
# NOTE: This directory must exist when you start installation.
-prefix = /usr/local
+destdir = /usr/local
+prefix = $(destdir)
# Directory in which to put the executable for the command `gcc'
bindir = $(prefix)/bin
# Directory in which to put the directories used by the compiler.
@@ -463,8 +464,8 @@ realclean: cleanconfig
# Entry points `install', `includes' and `uninstall'.
# Copy the files into directories where they will be run.
-install:
- $(INSTALL_PROGRAM) gas $(bindir)/as
+install: gas
+ $(INSTALL_PROGRAM) gas $(libsubdir)/as
# Create the installation directory.
install-dir:
@@ -595,5 +596,8 @@ force:
Makefile: $(srcdir)/Makefile.in $(srcdir)/configure
(cd $(srcdir) ; \
- ./configure `if [ "$(srcdir)" != "." ] ; then echo +f; fi` -host=$(host) $(target))
+ ./configure +destdir=$(destdir) \
+ +norecurse \
+ `if [ "$(srcdir)" != "." ] ; then echo +f; fi` \
+ $(host) +target=$(target))