aboutsummaryrefslogtreecommitdiff
path: root/newlib/Makefile.am
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2011-01-12 22:24:06 +0000
committerJeff Johnston <jjohnstn@redhat.com>2011-01-12 22:24:06 +0000
commit0597fe0adc39d0d2c34f70cfc9bd47c35107ebe1 (patch)
tree85118fffda192e697c848e3a5edd5020fbca90c1 /newlib/Makefile.am
parent7c0be7cbdbc7e7e4e2c4ed845eb77d330da0ba4e (diff)
downloadnewlib-0597fe0adc39d0d2c34f70cfc9bd47c35107ebe1.zip
newlib-0597fe0adc39d0d2c34f70cfc9bd47c35107ebe1.tar.gz
newlib-0597fe0adc39d0d2c34f70cfc9bd47c35107ebe1.tar.bz2
2011-01-12 Jeff Johnston <jjohnstn@redhat.com>
* configure.host: Add noinclude variable to allow specification of header files to remove from installation. * acinclude.m4: Provide NO_INCLUDE_LIST variable based on noinclude variable in configure.host. * configure: Regenerated. * Makefile.am: Remove all header files in NO_INCLUDE_LIST. * Makefile.in: Regenerated.
Diffstat (limited to 'newlib/Makefile.am')
-rw-r--r--newlib/Makefile.am5
1 files changed, 5 insertions, 0 deletions
diff --git a/newlib/Makefile.am b/newlib/Makefile.am
index d7205b6..dca6260 100644
--- a/newlib/Makefile.am
+++ b/newlib/Makefile.am
@@ -330,6 +330,11 @@ endif
$(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/machine/`basename $$i`; \
else true; fi ; \
done ; \
+ for i in $(NO_INCLUDE_LIST); do \
+ if [ -f $(DESTDIR)$(tooldir)/include/$$i]; then \
+ -rm $(DESTDIR)$(tooldir)/include/$$i; \
+ else true; fi ; \
+ done ; \
else true; fi
# Force makedoc to be built before building info files.