From 26bbb20697bc7ad7df8903005843dea21ee3b7fc Mon Sep 17 00:00:00 2001 From: Mike Stump Date: Thu, 23 Jan 1997 19:22:24 +0000 Subject: Makefie.in (objc-headers): Don't try and install the headers if the objc directory has been removed. * Makefie.in (objc-headers): Don't try and install the headers if the objc directory has been removed. From-SVN: r13548 --- gcc/Makefile.in | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'gcc') diff --git a/gcc/Makefile.in b/gcc/Makefile.in index 52fc20a..7fcfc01 100644 --- a/gcc/Makefile.in +++ b/gcc/Makefile.in @@ -1881,10 +1881,12 @@ objc-headers: stmp-fixinc thisdir1=`pwd`; \ srcdir1=`cd $(srcdir); pwd`; \ cd objc; \ - $(MAKE) -f $${srcdir1}/objc/Makefile copy-headers \ - srcdir=$${srcdir1} tooldir=$(tooldir) AR="$(AR)" AR_FLAGS="$(AR_FLAGS)" \ - GCC_FOR_TARGET="$${thisdir1}/xgcc -B$${thisdir1}/" \ - GCC_CFLAGS="$(GCC_CFLAGS)" incinstalldir=$${thisdir1}/include + if [ -f $${srcdir1}/objc/Makefile ]; then \ + $(MAKE) -f $${srcdir1}/objc/Makefile copy-headers \ + srcdir=$${srcdir1} tooldir=$(tooldir) AR="$(AR)" AR_FLAGS="$(AR_FLAGS)" \ + GCC_FOR_TARGET="$${thisdir1}/xgcc -B$${thisdir1}/" \ + GCC_CFLAGS="$(GCC_CFLAGS)" incinstalldir=$${thisdir1}/include; \ + fi touch objc-headers # Files related to the fixproto script. -- cgit v1.1