aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog73
-rw-r--r--argp/Makefile2
-rw-r--r--assert/Makefile3
-rw-r--r--benchtests/Makefile4
-rw-r--r--catgets/Makefile2
-rw-r--r--conform/Makefile2
-rw-r--r--crypt/Makefile4
-rw-r--r--csu/Makefile6
-rw-r--r--ctype/Makefile3
-rw-r--r--debug/Makefile4
-rw-r--r--dirent/Makefile2
-rw-r--r--dlfcn/Makefile5
-rw-r--r--gmon/Makefile4
-rw-r--r--gnulib/Makefile2
-rw-r--r--grp/Makefile5
-rw-r--r--gshadow/Makefile2
-rw-r--r--hesiod/Makefile2
-rw-r--r--hurd/Makefile4
-rw-r--r--iconvdata/Makefile4
-rw-r--r--inet/Makefile2
-rw-r--r--intl/Makefile5
-rw-r--r--io/Makefile2
-rw-r--r--libidn/ChangeLog4
-rw-r--r--libidn/Makefile5
-rw-r--r--libio/Makefile6
-rw-r--r--locale/Makefile2
-rw-r--r--localedata/ChangeLog5
-rw-r--r--localedata/Makefile5
-rw-r--r--login/Makefile4
-rw-r--r--mach/Makefile4
-rw-r--r--malloc/Makefile4
-rw-r--r--manual/Makefile5
-rw-r--r--math/Makefile4
-rw-r--r--misc/Makefile4
-rw-r--r--nis/Makefile4
-rw-r--r--nptl/ChangeLog4
-rw-r--r--nptl/Makefile4
-rw-r--r--nptl_db/ChangeLog4
-rw-r--r--nptl_db/Makefile2
-rw-r--r--nss/Makefile4
-rw-r--r--po/Makefile6
-rw-r--r--posix/Makefile4
-rw-r--r--pwd/Makefile3
-rw-r--r--resolv/Makefile4
-rw-r--r--resource/Makefile2
-rw-r--r--rt/Makefile2
-rw-r--r--setjmp/Makefile2
-rw-r--r--shadow/Makefile2
-rw-r--r--signal/Makefile2
-rw-r--r--socket/Makefile2
-rw-r--r--soft-fp/Makefile2
-rw-r--r--stdio-common/Makefile4
-rw-r--r--stdlib/Makefile4
-rw-r--r--streams/Makefile2
-rw-r--r--string/Makefile2
-rw-r--r--sunrpc/Makefile6
-rw-r--r--sysvipc/Makefile2
-rw-r--r--termios/Makefile2
-rw-r--r--time/Makefile2
-rw-r--r--timezone/Makefile6
-rw-r--r--wcsmbs/Makefile2
-rw-r--r--wctype/Makefile2
62 files changed, 205 insertions, 76 deletions
diff --git a/ChangeLog b/ChangeLog
index 157649be53..4ef5ccc317 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,76 @@
+2014-02-26 Joseph Myers <joseph@codesourcery.com>
+
+ * argp/Makefile: Include Makeconfig immediately after defining
+ subdir.
+ * assert/Makefile: Likewise.
+ * benchtests/Makefile: Likewise.
+ * catgets/Makefile: Likewise.
+ * conform/Makefile: Likewise.
+ * crypt/Makefile: Likewise.
+ * csu/Makefile: Likewise.
+ (all): Remove target.
+ * ctype/Makefile: Include Makeconfig immediately after defining
+ subdir.
+ * debug/Makefile: Likewise.
+ * dirent/Makefile: Likewise.
+ * dlfcn/Makefile: Likewise.
+ * gmon/Makefile: Likewise.
+ * gnulib/Makefile: Likewise.
+ * grp/Makefile: Likewise.
+ * gshadow/Makefile: Likewise.
+ * hesiod/Makefile: Likewise.
+ * hurd/Makefile: Likewise.
+ (all): Remove target.
+ * iconvdata/Makefile: Include Makeconfig immediately after
+ defining subdir.
+ * inet/Makefile: Likewise.
+ * intl/Makefile: Likewise.
+ * io/Makefile: Likewise.
+ * libio/Makefile: Likewise.
+ (all): Remove target.
+ * locale/Makefile: Include Makeconfig immediately after defining
+ subdir.
+ * login/Makefile: Likewise.
+ * mach/Makefile: Likewise.
+ (all): Remove target.
+ * malloc/Makefile: Include Makeconfig immediately after defining
+ subdir.
+ (all): Remove target.
+ * manual/Makefile: Include Makeconfig immediately after defining
+ subdir.
+ * math/Makefile: Likewise.
+ * misc/Makefile: Likewise.
+ * nis/Makefile: Likewise.
+ * nss/Makefile: Likewise.
+ * po/Makefile: Likewise.
+ (all): Remove target.
+ * posix/Makefile: Include Makeconfig immediately after defining
+ subdir.
+ * pwd/Makefile: Likewise.
+ * resolv/Makefile: Likewise.
+ * resource/Makefile: Likewise.
+ * rt/Makefile: Likewise.
+ * setjmp/Makefile: Likewise.
+ * shadow/Makefile: Likewise.
+ * signal/Makefile: Likewise.
+ * socket/Makefile: Likewise.
+ * soft-fp/Makefile: Likewise.
+ * stdio-common/Makefile: Likewise.
+ * stdlib/Makefile: Likewise.
+ * streams/Makefile: Likewise.
+ * string/Makefile: Likewise.
+ * sunrpc/Makefile: Likewise.
+ (all): Remove target.
+ * sysvipc/Makefile: Include Makeconfig immediately after defining
+ subdir.
+ * termios/Makefile: Likewise.
+ * time/Makefile: Likewise.
+ * timezone/Makefile: Likewise.
+ (all): Remove target.
+ * wcsmbs/Makefile: Include Makeconfig immediately after defining
+ subdir.
+ * wctype/Makefile: Likewise.
+
2014-02-26 Steve Ellcey <sellcey@mips.com>
* sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
diff --git a/argp/Makefile b/argp/Makefile
index 35f1088a26..997424e2f8 100644
--- a/argp/Makefile
+++ b/argp/Makefile
@@ -20,6 +20,8 @@
#
subdir := argp
+include ../Makeconfig
+
headers = argp.h
routines = $(addprefix argp-, ba fmtstream fs-xinl help parse pv \
pvh xinl eexst)
diff --git a/assert/Makefile b/assert/Makefile
index 60ec53d001..97fb476cd6 100644
--- a/assert/Makefile
+++ b/assert/Makefile
@@ -19,6 +19,9 @@
# Sub-makefile for assert portion of the library.
#
subdir := assert
+
+include ../Makeconfig
+
headers := assert.h
routines := assert assert-perr __assert
diff --git a/benchtests/Makefile b/benchtests/Makefile
index 8bfb03917e..55d957af35 100644
--- a/benchtests/Makefile
+++ b/benchtests/Makefile
@@ -20,6 +20,9 @@
# Add benchmark functions in alphabetical order.
subdir := benchtests
+
+include ../Makeconfig
+
bench := acos acosh asin asinh atan atanh cos cosh exp exp2 log log2 modf pow \
rint sin sincos sinh sqrt tan tanh
@@ -65,7 +68,6 @@ LDLIBS-bench-sincos = -lm
# affect their performance.
.NOTPARALLEL:
-include ../Makeconfig
include ../Rules
binaries-bench := $(addprefix $(objpfx)bench-,$(bench))
diff --git a/catgets/Makefile b/catgets/Makefile
index 7c2a1170e1..899d929db6 100644
--- a/catgets/Makefile
+++ b/catgets/Makefile
@@ -20,6 +20,8 @@
#
subdir := catgets
+include ../Makeconfig
+
headers = nl_types.h
routines = catgets open_catalog
others = gencat
diff --git a/conform/Makefile b/conform/Makefile
index 0761a1c294..41f0bb3f57 100644
--- a/conform/Makefile
+++ b/conform/Makefile
@@ -20,6 +20,8 @@
#
subdir := conform
+include ../Makeconfig
+
include ../Rules
ifneq (yes,$(fast-check))
diff --git a/crypt/Makefile b/crypt/Makefile
index 9f69ecbdb7..b1645dee55 100644
--- a/crypt/Makefile
+++ b/crypt/Makefile
@@ -20,6 +20,8 @@
#
subdir := crypt
+include ../Makeconfig
+
headers := crypt.h
extra-libs := libcrypt
@@ -30,8 +32,6 @@ libcrypt-routines := crypt-entry md5-crypt sha256-crypt sha512-crypt crypt \
tests := cert md5c-test sha256c-test sha512c-test badsalttest
-include ../Makeconfig
-
ifeq ($(crypt-in-libc),yes)
routines += $(libcrypt-routines)
endif
diff --git a/csu/Makefile b/csu/Makefile
index b5afea0dec..ebd4b4efed 100644
--- a/csu/Makefile
+++ b/csu/Makefile
@@ -24,6 +24,8 @@
subdir := csu
+include ../Makeconfig
+
routines = init-first libc-start $(libc-init) sysdep version check_fds \
libc-tls elf-init dso_handle
aux = errno
@@ -43,10 +45,6 @@ before-compile = $(objpfx)version-info.h
tests := tst-empty tst-atomic tst-atomic-long
tests-static := tst-empty
-all: # Make this the default target; it will be defined in Rules.
-
-include ../Makeconfig
-
ifeq (yes,$(build-shared))
extra-objs += S$(start-installed-name)
install-lib += S$(start-installed-name)
diff --git a/ctype/Makefile b/ctype/Makefile
index 7bfc928425..8a41f9c499 100644
--- a/ctype/Makefile
+++ b/ctype/Makefile
@@ -19,6 +19,9 @@
# Sub-makefile for ctype portion of the library.
#
subdir := ctype
+
+include ../Makeconfig
+
headers := ctype.h
routines := ctype ctype-extn ctype_l isctype
diff --git a/debug/Makefile b/debug/Makefile
index fc15ef3aec..963460ecf9 100644
--- a/debug/Makefile
+++ b/debug/Makefile
@@ -20,6 +20,8 @@
#
subdir := debug
+include ../Makeconfig
+
headers := execinfo.h
# Note that ptsname_r_chk and getlogin_r are not here, but in
@@ -161,8 +163,6 @@ others = pcprofiledump
install-bin = pcprofiledump
install-bin-script = xtrace
-include ../Makeconfig
-
ifeq ($(build-shared),yes)
install-bin-script += catchsegv
endif
diff --git a/dirent/Makefile b/dirent/Makefile
index a67d2e6f20..c9bd5dd62c 100644
--- a/dirent/Makefile
+++ b/dirent/Makefile
@@ -20,6 +20,8 @@
#
subdir := dirent
+include ../Makeconfig
+
headers := dirent.h bits/dirent.h
routines := opendir closedir readdir readdir_r rewinddir \
seekdir telldir scandir alphasort versionsort \
diff --git a/dlfcn/Makefile b/dlfcn/Makefile
index bf20063902..39f18d7c7b 100644
--- a/dlfcn/Makefile
+++ b/dlfcn/Makefile
@@ -16,6 +16,9 @@
# <http://www.gnu.org/licenses/>.
subdir := dlfcn
+
+include ../Makeconfig
+
headers := bits/dlfcn.h dlfcn.h
extra-libs := libdl
libdl-routines := dlopen dlclose dlsym dlvsym dlerror dladdr dladdr1 dlinfo \
@@ -25,8 +28,6 @@ elide-routines.os := $(routines)
extra-libs-others := libdl
-include ../Makeconfig
-
ifeq ($(build-shared),yes)
libdl-routines += dlopenold
libdl-shared-only-routines := dlopenold dlfcn
diff --git a/gmon/Makefile b/gmon/Makefile
index b069fbdfde..a82db98418 100644
--- a/