2010-01-18 06:49:33 +00:00
|
|
|
# Options which may be overriden for platforms, etc.
|
|
|
|
#
|
|
|
|
# This list of such variables should be kept up to date with AvailableOptions in
|
|
|
|
# 'make/lib_info.mk'.
|
|
|
|
|
|
|
|
# The compiler to use.
|
|
|
|
CC := gcc
|
|
|
|
|
|
|
|
# The compiler flags to use.
|
|
|
|
CFLAGS := -Wall -Werror
|
|
|
|
|
|
|
|
# The list of functions to include in the library.
|
|
|
|
FUNCTIONS :=
|
|
|
|
|
|
|
|
# Whether optimized function implementations should be used.
|
|
|
|
OPTIMIZED := 1
|
|
|
|
|
2010-01-18 22:19:34 +00:00
|
|
|
# Whether function definitions should use hidden visibility. This adds the
|
|
|
|
# -fvisibility=hidden compiler option and uses .private_extern annotations in
|
|
|
|
# assembly files.
|
|
|
|
#
|
|
|
|
# FIXME: Make this more portable. When that is done, it should probably be the
|
|
|
|
# default.
|
|
|
|
VISIBILITY_HIDDEN := 0
|
|
|
|
|
2012-09-07 19:57:23 +00:00
|
|
|
# Whether the library is being built for kernel use.
|
|
|
|
KERNEL_USE := 0
|
|
|
|
|
|
|
|
# Whether the library should be built as a shared object.
|
|
|
|
SHARED_LIBRARY := 0
|
|
|
|
|
2010-01-18 06:49:33 +00:00
|
|
|
# Miscellaneous tools.
|
|
|
|
|
|
|
|
AR := ar
|
|
|
|
# FIXME: Remove these pipes once ranlib errors are fixed.
|
|
|
|
ARFLAGS := cru 2> /dev/null
|
2012-09-07 19:57:23 +00:00
|
|
|
|
|
|
|
LDFLAGS :=
|
|
|
|
|
2010-01-18 06:49:33 +00:00
|
|
|
RANLIB := ranlib
|
|
|
|
# FIXME: Remove these pipes once ranlib errors are fixed.
|
|
|
|
RANLIBFLAGS := 2> /dev/null
|
2011-06-20 23:47:02 +00:00
|
|
|
|
|
|
|
STRIP := strip
|
|
|
|
LIPO := lipo
|
2012-11-26 22:48:51 +00:00
|
|
|
DSYMUTIL := dsymutil
|
2012-10-24 14:03:41 +00:00
|
|
|
|
|
|
|
SHARED_LIBRARY_SUFFIX := so
|