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:
Diffstat (limited to 'newlib/Makefile.am')
-rw-r--r--newlib/Makefile.am36
1 files changed, 36 insertions, 0 deletions
diff --git a/newlib/Makefile.am b/newlib/Makefile.am
index 809d49238..03390cd17 100644
--- a/newlib/Makefile.am
+++ b/newlib/Makefile.am
@@ -237,6 +237,23 @@ stmp-targ-include: config.status
$(MAKE) targ-include/sys \
targ-include/machine \
targ-include/bits
+ -if [ -n "$(shared_machine_dir)" ]; then \
+ for i in $(srcdir)/libc/machine/$(shared_machine_dir)/machine/*.h; do \
+ if [ -f $$i ]; then \
+ cp $$i targ-include/machine/`basename $$i`; \
+ else true; fi ; \
+ done; \
+ for i in $(srcdir)/libc/machine/$(shared_machine_dir)/sys/*.h; do \
+ if [ -f $$i ]; then \
+ cp $$i targ-include/sys/`basename $$i`; \
+ else true; fi ; \
+ done; \
+ for i in $(srcdir)/libc/machine/$(shared_machine_dir)/include/*.h; do \
+ if [ -f $$i ]; then \
+ cp $$i targ-include/`basename $$i`; \
+ else true; fi ; \
+ done; \
+ fi
-for i in $(srcdir)/libc/machine/$(machine_dir)/machine/*.h; do \
if [ -f $$i ]; then \
cp $$i targ-include/machine/`basename $$i`; \
@@ -315,6 +332,13 @@ endif
for i in $(srcdir)/libc/include/machine/*.h; do \
$(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/machine/`basename $$i`; \
done; \
+ if [ -n "$(shared_machine_dir)" ]; then \
+ for i in $(srcdir)/libc/machine/$(shared_machine_dir)/machine/*.h; do \
+ if [ -f $$i ]; then \
+ $(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/machine/`basename $$i`; \
+ else true; fi ; \
+ done; \
+ fi ; \
for i in $(srcdir)/libc/machine/$(machine_dir)/machine/*.h; do \
if [ -f $$i ]; then \
$(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/machine/`basename $$i`; \
@@ -332,6 +356,18 @@ endif
for i in $(srcdir)/libc/include/sys/*.h; do \
$(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/sys/`basename $$i`; \
done; \
+ if [ -n "$(shared_machine_dir)" ]; then \
+ for i in $(srcdir)/libc/machine/$(shared_machine_dir)/sys/*.h; do \
+ if [ -f $$i ]; then \
+ $(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/sys/`basename $$i`; \
+ else true; fi ; \
+ done ; \
+ for i in $(srcdir)/libc/machine/$(shared_machine_dir)/include/*.h; do \
+ if [ -f $$i ]; then \
+ $(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/`basename $$i`; \
+ else true; fi ; \
+ done ; \
+ fi ; \
for i in $(srcdir)/libc/machine/$(machine_dir)/sys/*.h; do \
if [ -f $$i ]; then \
$(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/sys/`basename $$i`; \