* Makefile.in (FLAGS_TO_PASS): Add $(HOST_FLAGS) to allow the
authorStu Grossman <grossman@cygnus>
Thu, 24 Oct 1996 16:07:51 +0000 (16:07 +0000)
committerStu Grossman <grossman@cygnus>
Thu, 24 Oct 1996 16:07:51 +0000 (16:07 +0000)
host to add it's own flags.
* config/mh-windows (HOST_FLAGS):  Set srcroot, which is needed
for MSVC build procedure.

ChangeLog
Makefile.in
config/mh-windows

index d9d8f1716a2dc1e5cee6898e6084e83b874ef79c..877eb8e29aada23cc72585d868755f22fc3391cd 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+Thu Oct 24 09:02:07 1996  Stu Grossman  (grossman@critters.cygnus.com)
+
+       * Makefile.in (FLAGS_TO_PASS):  Add $(HOST_FLAGS) to allow the
+       host to add it's own flags.
+       * config/mh-windows (HOST_FLAGS):  Set srcroot, which is needed
+       for MSVC build procedure.
+
 Tue Oct 22 15:20:26 1996  Ian Lance Taylor  <ian@cygnus.com>
 
        * configure: Handle GCC_FOR_TARGET like CC_FOR_TARGET.
index 9fccbd59c29c9a6706afa00ad5f1bdcc243afc1c..dc7621b2d3cfcb5c18b05d3cba47cb5baa70294f 100644 (file)
@@ -357,7 +357,7 @@ EXTRA_HOST_FLAGS = \
        'RANLIB=$(RANLIB)' 
 
 
-FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)
+FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(HOST_FLAGS)
 
 # Flags that are concerned with the location of the X11 include files
 # and library files
@@ -1058,7 +1058,9 @@ $(CONFIGURE_TARGET_MODULES):
          fi; \
        fi; exit 0      # break command into two pieces
        @dir=`echo $@ | sed -e 's/configure-target-//'`; \
-       if [ -f $(TARGET_SUBDIR)/$${dir}/Makefile ] ; then \
+       if [ ! -d $(TARGET_SUBDIR) ]; then \
+         true; \
+       elif [ -f $(TARGET_SUBDIR)/$${dir}/Makefile ] ; then \
          true; \
        elif echo " $(TARGET_CONFIGDIRS) " | grep " $${dir} " >/dev/null 2>&1; then \
          if [ -d $(srcdir)/$${dir} ]; then \
index e5f606c333d142f77e8cbed158f25751fdc5b2fd..e191981ec81e3bccaf8cec34ebe97fd3ce20d1f7 100644 (file)
@@ -2,3 +2,4 @@ CC=cc
 CFLAGS=
 RANLIB=true
 AR_FLAGS=
+HOST_FLAGS="srcroot=$(srcdir)"