aboutsummaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorSteve Chamberlain <sac@cygnus>1991-11-06 08:12:56 +0000
committerSteve Chamberlain <sac@cygnus>1991-11-06 08:12:56 +0000
commit0ec776a5a6b09705f0a3879845bc076a061adea3 (patch)
tree4ed3d58d748359cfd9a4af785e827937d24d7501 /Makefile.in
parent98945b219866d5ee06c075d46f7f14fc660b23f1 (diff)
downloadgdb-0ec776a5a6b09705f0a3879845bc076a061adea3.zip
gdb-0ec776a5a6b09705f0a3879845bc076a061adea3.tar.gz
gdb-0ec776a5a6b09705f0a3879845bc076a061adea3.tar.bz2
Added $(INSTALL_FIXED_INCLUDES) so devo/config dir can chose not to create
all the /usr/include stuff if it wants to. Steve
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in11
1 files changed, 8 insertions, 3 deletions
diff --git a/Makefile.in b/Makefile.in
index ae5e1c1..aa8cab9 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -40,7 +40,8 @@ SUBDIRS = libiberty readline bfd gdb binutils ld gas gcc gnulib clib
OTHERS =
ALL = all.normal
-
+INSTALL_HEADERS = install-headers
+INSTALL_FIXED_INCLUDES = install-fixed-includes
#### host and target specific makefile fragments come in here.
###
@@ -140,13 +141,13 @@ clean:
rm -rf *.a TEMP errs core *.o *~ \#* TAGS *.E
$(MAKE) subdir_do DO=clean "DODIRS=$(SUBDIRS) $(OTHERS)"
-install: install-dirs install-fixed-includes
+install: install-dirs $(INSTALL_FIXED_INCLUDES)
$(MAKE) subdir_do DO=install "DODIRS=$(SUBDIRS) $(OTHERS)"
# The "else true" stuff is for Ultrix; the shell returns the exit code
# of the "if" command, if no commands are run in the "then" or "else" part,
# causing Make to quit.
-install-dirs: force
+install-dirs: force $(INSTALL_HEADERS)
- mkdir $(ddestdir)
- mkdir $(ddestdir)/include
- mkdir $(ddestdir)/lib
@@ -168,6 +169,8 @@ install-dirs: force
- mkdir $(idestdir)/man/man6
- mkdir $(idestdir)/man/man7
- mkdir $(idestdir)/man/man8
+
+install-headers:
if [ -d $(unsubdir)/gcc$(subdir) ] ; then \
(cd $(unsubdir)/gcc$(subdir) ; \
$(MAKE) install-dir) ; \
@@ -247,4 +250,6 @@ make-gdb.tar.Z: $(DEVO_SUPPORT) $(GDB_SUPPORT_DIRS) gdb texinfo/fsf/texinfo.tex
force_update:
+nothing:
+
# end of Makefile.in