1
# @(#) $Revision: 4.11 $ $Source: /judy/make_includes/flavor.product.mk $
3
# Makefile fragment for Judy* for "product" flavor object files.
5
# Ensure $FLAVOR is set:
9
# $CCPRE is a means to externally pass in a command to accept and modify the
10
# entire compilation command line.
12
# $CC_OPTS_NOALL is a special case to support building sources that do not
13
# behave correctly with +Oall... Specifically, JudyMalloc.c has problems with
14
# the pointer arithmetic that (only) it does, when large memory spaces cross
15
# into the third or fourth memory quadrant. Doug thinks this is a bug in the
16
# compiler, but we have to work around it indefinitely. For now, compile
17
# without inlining; see makefile 4.7. For now, all compilations are not +Oall,
18
# to match +O2. See 4.0 of this file.
20
# $CC_OPTS_TOOL is a special set for building Judy-specific tools (programs)
21
# needed to build other Judy components.
23
CC_OPTS = $(CC_OPTS_LIB) $(CC_OPTS_product) $(EXTCCOPTS)
24
CC_OPTS_NOALL = $(CC_OPTS_LIB) $(CC_OPTS_product) $(EXTCCOPTS)
25
CC_OPTS_TOOL = $(CC_OPTS_product) $(EXTCCOPTS)
27
CC = $(CCPRE) $(CCPATH) $(CC_OPTS)
28
CC_NOALL = $(CCPRE) $(CCPATH) $(CC_OPTS_NOALL)
29
CC_TOOL = $(CCPATH_TOOL) $(CC_OPTS_TOOL)