diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2002-08-27 20:27:35 +0000 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2002-08-27 20:27:35 +0000 |
commit | 8da1639b0c63e581d73bfc169ae6158b36958aeb (patch) | |
tree | fd7d1d0279134b76314ba6ca2c26c91403743c21 /newlib/Makefile.am | |
parent | 0a642325253949a306fc3e62863f8c188f8b7037 (diff) | |
download | cygnal-8da1639b0c63e581d73bfc169ae6158b36958aeb.tar.gz cygnal-8da1639b0c63e581d73bfc169ae6158b36958aeb.tar.bz2 cygnal-8da1639b0c63e581d73bfc169ae6158b36958aeb.zip |
2002-08-27 Jeff Johnston <jjohnstn@redhat.com>
* Makefile.am(stmp-targ-include): Copy newlib.h to targ-include.
(install-data-local): Install newlib.h.
* Makefile.in: Regenerated.
* aclocal.m4: Ditto.
* configure: Ditto.
* configure.in: Add AM_CONFIG_HEADER to generate newlib.h based on
newlib.hin. Add AC_DEFINE_UNQUOTED entries for _ELIX_LEVEL
and _NEWLIB_VERSION to fill in newlib.h header file entries.
In AC_OUTPUT statement, unset ac_file so multilib support does
not use last ac_file temporary used in newlib.h configuration.
* libc/include/_ansi.h: Include <newlib.h>.
* newlib.hin: New template file for newlib.h.
* stamp-h.in: New file.
Diffstat (limited to 'newlib/Makefile.am')
-rw-r--r-- | newlib/Makefile.am | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/newlib/Makefile.am b/newlib/Makefile.am index 8a82ec90a..801a90e97 100644 --- a/newlib/Makefile.am +++ b/newlib/Makefile.am @@ -189,6 +189,7 @@ all-recursive: stmp-targ-include stmp-targ-include: config.status -rm -rf targ-include stmp-targ-include mkdir targ-include targ-include/sys targ-include/machine + cp newlib.h targ-include/newlib.h -for i in $(srcdir)/libc/machine/$(machine_dir)/machine/*.h; do \ if [ -f $$i ]; then \ cp $$i targ-include/machine/`basename $$i`; \ @@ -227,6 +228,7 @@ endif $(MULTIDO) $(AM_MAKEFLAGS) DO=install multi-do -if [ -z "$(MULTISUBDIR)" ]; then \ $(mkinstalldirs) $(DESTDIR)$(tooldir)/include; \ + $(INSTALL_DATA) newlib.h $(DESTDIR)$(tooldir)/include/newlib.h; \ for i in $(srcdir)/libc/include/*.h; do \ $(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/`basename $$i`; \ done; \ |