summaryrefslogtreecommitdiff
path: root/libc/Makerules
diff options
context:
space:
mode:
authorjimb <jimb@7b3dc134-2b1b-0410-93df-9e9f96275f8d>2007-01-09 23:46:15 +0000
committerjimb <jimb@7b3dc134-2b1b-0410-93df-9e9f96275f8d>2007-01-09 23:46:15 +0000
commitb5d90b7fd446bce087fb9fe4a140c4347d706ba4 (patch)
tree2635d06aa4062b1f6509bf33f96ef5341fbdce6d /libc/Makerules
parentd5eb1af9881447485ac579723b442301880c3ecd (diff)
downloadeglibc2-b5d90b7fd446bce087fb9fe4a140c4347d706ba4.tar.gz
Merge from branches/eglibc-2_5/libc:
2006-12-08 Jim Blandy <jimb@codesourcery.com> Add rudimentary option group support. * option-groups.mak, option-groups.def, option-groups.defaults: New files. * Makerules: Add contents of enabled option groups to the values of the variables 'routines', 'others', 'install-bin', 'install-sbin', 'extra-objs', 'tests', and 'test-srcs'. * catgets/Makefile: Add the catgets directory's routines and programs to the OPTION_EGLIBC_CATGETS option group. git-svn-id: svn://svn.eglibc.org/trunk@1150 7b3dc134-2b1b-0410-93df-9e9f96275f8d
Diffstat (limited to 'libc/Makerules')
-rw-r--r--libc/Makerules10
1 files changed, 10 insertions, 0 deletions
diff --git a/libc/Makerules b/libc/Makerules
index 200f8d7ee..834a4326a 100644
--- a/libc/Makerules
+++ b/libc/Makerules
@@ -405,6 +405,16 @@ define sed-remove-objpfx
endef
endif
+# Include targets in the selected option groups.
+routines += $(routines-y)
+others += $(others-y)
+install-bin += $(install-bin-y)
+install-sbin += $(install-sbin-y)
+extra-objs += $(extra-objs-y)
+tests += $(tests-y)
+test-srcs += $(test-srcs-y)
+
+
# Modify the list of routines we build for different targets
ifeq (yesyes,$(build-shared)$(elf))