File: option-groups.mak

package info (click to toggle)
eglibc 2.13-38%2Bdeb7u6
  • links: PTS, VCS
  • area: main
  • in suites: wheezy-backports
  • size: 148,144 kB
  • sloc: ansic: 916,251; asm: 203,086; sh: 9,197; makefile: 7,792; perl: 2,252; awk: 1,728; cpp: 1,279; pascal: 723; yacc: 317; sed: 131
file content (40 lines) | stat: -rw-r--r-- 1,529 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Setup file for subdirectory Makefiles that define EGLIBC option groups.

# EGLIBC shouldn't need to override this.  However, the
# cross-build-friendly localedef includes this makefile to get option
# group variable definitions; it uses a single build tree for all the
# multilibs, and needs to be able to specify a different option group
# configuration file for each multilib.
option_group_config_file ?= $(objdir)/option-groups.config

# Read the default settings for all options.
# We're included before ../Rules, so we can't assume $(..) is set.
include $(firstword $(..) ../)option-groups.defaults

# Read the developer's option group selections, overriding the
# defaults from option-groups.defaults.
-include $(option_group_config_file)

# $(call option-disabled, VAR) is 'y' if VAR is not 'y', or 'n' otherwise.
# VAR should be a variable name, not a variable reference; this is
# less general, but more terse for the intended use.
# You can use it to add a file to a list if an option group is
# disabled, like this:
#   routines-$(call option-disabled, OPTION_POSIX_C_LANG_WIDE_CHAR) += ...
define option-disabled
$(firstword $(subst y,n,$(filter y,$($(strip $(1))))) y)
endef

# Establish 'routines-y', etc. as simply-expanded variables.
aux-y	       	    :=
extra-libs-others-y :=
extra-libs-y   	    :=
extra-objs-y   	    :=
install-bin-y  	    :=
install-others-y    :=
install-sbin-y 	    :=
others-y       	    :=
routines-y     	    :=
test-srcs-y    	    :=   
tests-y        	    :=
xtests-y       	    :=