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>2002-08-28 00:27:35 +0400
committerJeff Johnston <jjohnstn@redhat.com>2002-08-28 00:27:35 +0400
commit8da1639b0c63e581d73bfc169ae6158b36958aeb (patch)
treefd7d1d0279134b76314ba6ca2c26c91403743c21 /newlib/Makefile.am
parent0a642325253949a306fc3e62863f8c188f8b7037 (diff)
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.am2
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; \