[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[commits] r1524 - in /branches/eglibc-2_5/libc: ChangeLog.eglibc Makefile
- To: commits@xxxxxxxxxx
- Subject: [commits] r1524 - in /branches/eglibc-2_5/libc: ChangeLog.eglibc Makefile
- From: jimb@xxxxxxxxxx
- Date: Tue, 20 Feb 2007 23:35:50 -0000
Author: jimb
Date: Tue Feb 20 15:35:50 2007
New Revision: 1524
Log:
* Makefile (install-headers): Preserve old behavior: depend on
$(inst_includedir)/gnu/stubs.h only if install-bootstrap-headers
is set; otherwise, place gnu/stubs.h on the 'install-others' list.
Modified:
branches/eglibc-2_5/libc/ChangeLog.eglibc
branches/eglibc-2_5/libc/Makefile
Modified: branches/eglibc-2_5/libc/ChangeLog.eglibc
==============================================================================
--- branches/eglibc-2_5/libc/ChangeLog.eglibc (original)
+++ branches/eglibc-2_5/libc/ChangeLog.eglibc Tue Feb 20 15:35:50 2007
@@ -1,4 +1,8 @@
2007-02-20 Jim Blandy <jimb@xxxxxxxxxxxxxxxx>
+
+ * Makefile (install-headers): Preserve old behavior: depend on
+ $(inst_includedir)/gnu/stubs.h only if install-bootstrap-headers
+ is set; otherwise, place gnu/stubs.h on the 'install-others' list.
* nptl/sysdeps/pthread/configure: Regenerate.
Modified: branches/eglibc-2_5/libc/Makefile
==============================================================================
--- branches/eglibc-2_5/libc/Makefile (original)
+++ branches/eglibc-2_5/libc/Makefile Tue Feb 20 15:35:50 2007
@@ -78,8 +78,17 @@
vpath %.h $(subdir-dirs)
# What to install.
+install-bin-script =
+
+# If we're bootstrapping, install a dummy gnu/stubs.h along with the
+# other headers, so 'make install-headers' produces a useable include
+# tree. Otherwise, install gnu/stubs.h later, after the rest of the
+# build is done.
+ifeq ($(install-bootstrap-headers),yes)
install-headers: $(inst_includedir)/gnu/stubs.h
-install-bin-script =
+else
+install-others = $(inst_includedir)/gnu/stubs.h
+endif
ifeq (yes,$(build-shared))
headers += gnu/lib-names.h