diff options
author | Mike Werner <mtw@cygnus> | 1993-01-16 01:05:50 +0000 |
---|---|---|
committer | Mike Werner <mtw@cygnus> | 1993-01-16 01:05:50 +0000 |
commit | 7d9f0c54d614f654124963d8e1b48fd884b92f24 (patch) | |
tree | ba8df62b0906a34e31eb61c815b47202d69cf1ee /Makefile.in | |
parent | 8fa0d3a01237d349f21803df735deedc01c1bd3b (diff) | |
download | gdb-7d9f0c54d614f654124963d8e1b48fd884b92f24.zip gdb-7d9f0c54d614f654124963d8e1b48fd884b92f24.tar.gz gdb-7d9f0c54d614f654124963d8e1b48fd884b92f24.tar.bz2 |
* 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.
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 34 |
1 files changed, 33 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in index e6a104e..52413d7 100644 --- a/Makefile.in +++ b/Makefile.in @@ -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)" \ |