This is the mail archive of the newlib@sources.redhat.com mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Support for libc/machine/<machine_dir>/include/*.h take 2


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]