From 0ec776a5a6b09705f0a3879845bc076a061adea3 Mon Sep 17 00:00:00 2001 From: Steve Chamberlain Date: Wed, 6 Nov 1991 08:12:56 +0000 Subject: [PATCH] Added $(INSTALL_FIXED_INCLUDES) so devo/config dir can chose not to create all the /usr/include stuff if it wants to. Steve --- Makefile.in | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/Makefile.in b/Makefile.in index ae5e1c14596..aa8cab920a5 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 -- 2.30.2