chillrt depends on a C library (newlib)

This commit is contained in:
David D. Zuhn
1993-01-12 08:12:55 +00:00
parent ac496d4f7e
commit 9f73dd6a47

@ -78,11 +78,7 @@ MAKEINFO = `if [ -f $${rootme}/texinfo/C/makeinfo ] ; \
CC_FOR_BUILD = $(CC) CC_FOR_BUILD = $(CC)
CXX_FOR_BUILD = $(CXX) CXX_FOR_BUILD = $(CXX)
SUBDIRS = libiberty mmalloc glob readline opcodes bfd h8300sim z8ksim \ SUBDIRS = "this is set via configure, don't edit this"
$(start-sanitize-chill) \
chillrt \
$(end-sanitize-chill) \
gdb binutils ld gas tgas gcc libg++ newlib deja-gnu
OTHERS = OTHERS =
ALL = all.normal ALL = all.normal
@ -578,7 +574,7 @@ install-newlib: force
### start-sanitize-chill ### start-sanitize-chill
### chillrt ### chillrt
all-chillrt: all-binutils all-ld all-gas all-gcc all-chillrt: all-binutils all-ld all-gas all-gcc all-newlib
@if [ -f ./chillrt/Makefile ] ; then \ @if [ -f ./chillrt/Makefile ] ; then \
rootme=`pwd` ; export rootme ; \ rootme=`pwd` ; export rootme ; \
srcroot=`cd $(srcdir); pwd` ; export srcroot ; \ srcroot=`cd $(srcdir); pwd` ; export srcroot ; \
@ -1254,6 +1250,14 @@ install-textutils: force
### other supporting targets ### other supporting targets
subdir_do: subdir_do:
### start-sanitize-chill
###
### WARNING: THIS IS VERY UGLY AND I DID NOT DO THIS WILLINGLY
###
### if you change the code for libg++ et al, also change the
### code for chillrt
###
### end-sanitize-chill
@for i in $(DODIRS); do \ @for i in $(DODIRS); do \
if [ -f ./$$i/localenv ] || [ -f ./$$i/Makefile ] ; then \ if [ -f ./$$i/localenv ] || [ -f ./$$i/Makefile ] ; then \
case $$i in \ case $$i in \
@ -1264,13 +1268,7 @@ subdir_do:
$(MAKE) $(TARGET_FLAGS_TO_PASS) $(DO)) ; then true ; \ $(MAKE) $(TARGET_FLAGS_TO_PASS) $(DO)) ; then true ; \
else exit 1 ; fi \ else exit 1 ; fi \
;; \ ;; \
### start-sanitize-chill $(start-sanitize-chill) \
###
### WARNING: THIS IS VERY UGLY AND I DID NOT DO THIS WILLINGLY
###
### if you change the above code for libg++ et al, also change the
### code down here
###
chillrt) \ chillrt) \
if (rootme=`pwd` ; export rootme ; \ if (rootme=`pwd` ; export rootme ; \
srcroot=`cd $(srcdir); pwd` ; export srcroot ; \ srcroot=`cd $(srcdir); pwd` ; export srcroot ; \
@ -1278,7 +1276,7 @@ subdir_do:
$(MAKE) $(TARGET_FLAGS_TO_PASS) $(DO)) ; then true ; \ $(MAKE) $(TARGET_FLAGS_TO_PASS) $(DO)) ; then true ; \
else exit 1 ; fi \ else exit 1 ; fi \
;; \ ;; \
### end-sanitize-chill $(end-sanitize-chill) \
*) \ *) \
if (rootme=`pwd` ; export rootme ; \ if (rootme=`pwd` ; export rootme ; \
cd ./$$i ; \ cd ./$$i ; \