aboutsummaryrefslogtreecommitdiff
path: root/newlib/Makefile.am
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2002-11-07 19:27:36 +0000
committerJeff Johnston <jjohnstn@redhat.com>2002-11-07 19:27:36 +0000
commitdd7ee147db24eaaa37f333fa93ce31efe949d9bf (patch)
treee9399790bc9dfd4304546acff76ea834b9e8c88d /newlib/Makefile.am
parent783747919d1180bbca4b29a3b3bea27633adae11 (diff)
downloadnewlib-dd7ee147db24eaaa37f333fa93ce31efe949d9bf.zip
newlib-dd7ee147db24eaaa37f333fa93ce31efe949d9bf.tar.gz
newlib-dd7ee147db24eaaa37f333fa93ce31efe949d9bf.tar.bz2
2002-11-07 Joel Sherrill <joel@OARcorp.com>
* libc/sys/rtems/machine: New directory. * libc/sys/rtems/machine/limits.h, libc/sys/rtems/machine/param.h, libc/sys/rtems/sys/param.h, libc/sys/rtems/sys/syslimits.h, libc/sys/rtems/sys/utime.h: New files added to make *-rtems newlib targets more BSD like when installed without requiring files to be overwritten at install point when RTEMS itself is installed. * Makefile.am: Pick up system dependent machine .h files such as might be found on a BSD-ish system. * Makefile.in: Regenerate. * libc/include/machine/types.h: When on an RTEMS target, define a few BSD flavor types.
Diffstat (limited to 'newlib/Makefile.am')
-rw-r--r--newlib/Makefile.am10
1 files changed, 10 insertions, 0 deletions
diff --git a/newlib/Makefile.am b/newlib/Makefile.am
index f3be4de..0e9767b 100644
--- a/newlib/Makefile.am
+++ b/newlib/Makefile.am
@@ -205,6 +205,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)/machine/*.h; do \
+ if [ -f $$i ]; then \
+ cp $$i targ-include/machine/`basename $$i`; \
+ else true; fi ; \
+ done
-for i in $(srcdir)/libc/sys/$(sys_dir)/machine/$(machine_dir)/*.h; do \
if [ -f $$i ]; then \
cp $$i targ-include/machine/`basename $$i`; \
@@ -250,6 +255,11 @@ endif
$(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/sys/`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`; \
+ else true; fi ; \
+ done ; \
for i in $(srcdir)/libc/sys/$(sys_dir)/include/*.h; do \
if [ -f $$i ]; then \
$(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/`basename $$i`; \