* Makefile.in: added variables CHILL_FOR_TARGET, CHILLFLAGS,
authorMike Werner <mtw@cygnus>
Sat, 16 Jan 1993 01:05:50 +0000 (01:05 +0000)
committerMike Werner <mtw@cygnus>
Sat, 16 Jan 1993 01:05:50 +0000 (01:05 +0000)
  and CHILL_LIB.
* deja-gnu/gdb.t31/Makefile.in: removed explicit setting of
  CHILL variables as these are now passed down from the top
  level makefile using FLAGS_TO_PASS.

ChangeLog
Makefile.in

index 083430837742e2f9e0474142f633810955739d6d..db42512f461a76e3dccf11b39c6dcde12896e0ba 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+Fri Jan 15 16:40:54 1993  Mike Werner  (mtw@rtl.cygnus.com)
+
+        **** start-sanitize-chill ****
+       * Makefile.in: added variables CHILL_FOR_TARGET, CHILLFLAGS,
+         and CHILL_LIB.
+       * deja-gnu/gdb.t31/Makefile.in: removed explicit setting of
+         CHILL variables as these are now passed down from the top
+         level makefile using FLAGS_TO_PASS.
+        **** end-sanitize-chill ****
+
 Fri Jan 15 10:27:02 1993  Ian Lance Taylor  (ian@cygnus.com)
 
        * Makefile.in (GCC_FLAGS_TO_PASS): New variable.
index e6a104e964c88f964e0d9b4a8164290b02aa18c3..52413d714b78145fef52e5aad6c7e67d6cd8d19d 100644 (file)
@@ -53,10 +53,13 @@ AS = as
 AR = ar
 AR_FLAGS = rc
 CC = cc
+$(start-sanitize-chill)
 CFLAGS = -g
+CHILLFLAGS = $(CFLAGS)
+CHILL_LIB = -lchill
+$(end-sanitize-chill)
 CXX = gcc
 CXXFLAGS = -g -O
-GCC_FOR_TARGET = ./xgcc -B./
 RANLIB = ranlib
 NM = nm
 
@@ -98,6 +101,30 @@ CC_FOR_TARGET = ` \
     fi; \
   fi`
 
+GCC_FOR_TARGET = ` \
+  if [ -f $${rootme}/gcc/Makefile ] ; then \
+    echo $${rootme}/gcc/xgcc -B$${rootme}/gcc/; \
+  else \
+    if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \
+      echo $(CC); \
+    else \
+      t='$(program_transform_name)'; echo gcc | sed -e '' $$t; \
+    fi; \
+  fi`
+
+$(start-sanitize-chill)
+CHILL_FOR_TARGET = ` \
+  if [ -f $${rootme}/gcc/Makefile ] ; then \
+    echo $${rootme}/gcc/xgcc -B$${rootme}/gcc/ -L$${rootme}/chillrt/; \
+  else \
+    if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \
+      echo $(CC); \
+    else \
+      t='$(program_transform_name)'; echo gcc | sed -e '' $$t; \
+    fi; \
+  fi`
+$(end-sanitize-chill)
+
 CXX_FOR_TARGET = ` \
   if [ -f $${rootme}/gcc/Makefile ] ; then \
     echo $${rootme}/gcc/xgcc -B$${rootme}/gcc/; \
@@ -179,6 +206,11 @@ FLAGS_TO_PASS = \
        "CC=$(CC)" \
        "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
        "CFLAGS=$(CFLAGS)" \
+$(start-sanitize-chill)\
+       "CHILLFLAGS=$(CHILLFLAGS)" \
+       "CHILL_FOR_TARGET=$(CHILL_FOR_TARGET)" \
+       "CHILL_LIB=$(CHILL_LIB)" \
+$(start-sanitize-chill)\
        "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
        "INSTALL=$(INSTALL)" \
        "INSTALL_DATA=$(INSTALL_DATA)" \