Support for libc/machine/<machine_dir>/include/*.h take 2
Hans-Peter Nilsson
hans-peter.nilsson@axis.com
Thu Jan 27 05:40:00 GMT 2005
I missed that the installation rule needs to be updated
separately. Perhaps they could be merged some day.
2005-01-27 Hans-Peter Nilsson <hp@axis.com>
* Makefile.am (stmp-targ-include): Support include header files
from machine directories.
* Makefile.in: Regenerate.
Index: Makefile.am
===================================================================
RCS file: /cvs/src/src/newlib/Makefile.am,v
retrieving revision 1.32
diff -c -p -r1.32 Makefile.am
*** Makefile.am 6 Jan 2005 23:31:55 -0000 1.32
--- Makefile.am 27 Jan 2005 05:27:44 -0000
*************** stmp-targ-include: config.status
*** 201,206 ****
--- 201,211 ----
cp $$i targ-include/sys/`basename $$i`; \
else true; fi ; \
done
+ -for i in $(srcdir)/libc/machine/$(machine_dir)/include/*.h; do \
+ if [ -f $$i ]; then \
+ cp $$i targ-include/`basename $$i`; \
+ else true; fi ; \
+ done
-for i in $(srcdir)/libc/sys/$(sys_dir)/include/*.h; do \
if [ -f $$i ]; then \
cp $$i targ-include/`basename $$i`; \
*************** endif
*** 261,266 ****
--- 266,276 ----
$(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/sys/`basename $$i`; \
else true; fi ; \
done ; \
+ for i in $(srcdir)/libc/machine/$(machine_dir)/include/*.h; do \
+ if [ -f $$i ]; then \
+ $(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/`basename $$i`; \
+ else true; fi ; \
+ done ; \
for i in $(srcdir)/libc/sys/$(sys_dir)/sys/*.h; do \
if [ -f $$i ]; then \
$(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/sys/`basename $$i`; \
brgds, H-P
More information about the Newlib
mailing list