Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2005-07-05 04:11:50 +0400
committerJeff Johnston <jjohnstn@redhat.com>2005-07-05 04:11:50 +0400
commitcec1d3b41462de53d2e9dde53e4483c4ca03076f (patch)
tree045c67d3b6f0cd675583523ff941d34c77940c87 /newlib/Makefile.am
parent0740b418fc878fde6d0d25afb16d367dd775f27d (diff)
2005-07-04 Mark Mitchell <mark@codesourcery.com>
* Makefile.am (site.exp): Set tmpdir. * Makefile.in: Regenerated. * testsuite/lib/checkoutput.exp (newlib_check_output): Put executables in $tmpdir. * testsuite/lib/flags.exp (libgloss_link_flags): Use the original libgloss version if not running in the build directory. * testsuite/lib/newlib.exp (newlib_init): Put testglue.o in $tmpdir. * testsuite/lib/passfail.exp (newlib_pass_fail): Put executables in $tmpdir.
Diffstat (limited to 'newlib/Makefile.am')
-rw-r--r--newlib/Makefile.am13
1 files changed, 12 insertions, 1 deletions
diff --git a/newlib/Makefile.am b/newlib/Makefile.am
index afebb6b18..cd8fa61c2 100644
--- a/newlib/Makefile.am
+++ b/newlib/Makefile.am
@@ -189,7 +189,7 @@ all-recursive: stmp-targ-include
# used while building.
stmp-targ-include: config.status
-rm -rf targ-include stmp-targ-include
- mkdir targ-include targ-include/sys targ-include/machine
+ mkdir targ-include targ-include/sys targ-include/machine targ-include/bits
cp newlib.h targ-include/newlib.h
-for i in $(srcdir)/libc/machine/$(machine_dir)/machine/*.h; do \
if [ -f $$i ]; then \
@@ -216,6 +216,11 @@ stmp-targ-include: config.status
cp $$i targ-include/sys/`basename $$i`; \
else true; fi ; \
done
+ -for i in $(srcdir)/libc/sys/$(sys_dir)/bits/*.h; do \
+ if [ -f $$i ]; then \
+ cp $$i targ-include/bits/`basename $$i`; \
+ else true; fi ; \
+ done
-for i in $(srcdir)/libc/sys/$(sys_dir)/machine/*.h; do \
if [ -f $$i ]; then \
cp $$i targ-include/machine/`basename $$i`; \
@@ -276,6 +281,11 @@ endif
$(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/sys/`basename $$i`; \
else true; fi ; \
done ; \
+ for i in $(srcdir)/libc/sys/$(sys_dir)/bits/*.h; do \
+ if [ -f $$i ]; then \
+ $(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/bits/`basename $$i`; \
+ else true; fi ; \
+ done ; \
for i in $(srcdir)/libc/sys/$(sys_dir)/machine/*.h; do \
if [ -f $$i ]; then \
$(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/machine/`basename $$i`; \
@@ -342,6 +352,7 @@ site.exp: Makefile
@echo 'set tool_version $(VERSION)' >> $@-t
@echo 'set srcdir $(srcdir)/testsuite' >> $@-t
@echo 'set objdir' `pwd` >> $@-t
+ @echo 'set tmpdir' `pwd`/testsuite >> $@-t
@echo 'set multibuildtop ./$(MULTIBUILDTOP)' >> $@-t
@echo 'set host_alias $(build_alias)' >> $@-t
@echo 'set host_triplet $(build_triplet)' >> $@-t