2 # This Source Code Form is subject to the terms of the Mozilla Public
3 # License, v. 2.0. If a copy of the MPL was not distributed with this
4 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
6 #######################################################################
7 # Master "Core Components" default command macros; #
8 # can be overridden in <arch>.mk #
9 #######################################################################
14 LINK_DLL
= $(LD
) $(OS_DLLFLAGS
) $(DLLFLAGS
) $(XLDFLAGS
)
15 CFLAGS
= $(OPTIMIZER
) $(OS_CFLAGS
) $(WARNING_CFLAGS
) $(XP_DEFINE
) \
16 $(DEFINES
) $(INCLUDES
) $(XCFLAGS
)
25 NOMD_CFLAGS
+= $(OPTIMIZER
) $(NOMD_OS_CFLAGS
) $(XP_DEFINE
) $(DEFINES
) \
26 $(INCLUDES
) $(XCFLAGS
)
28 # Optimization of code for size
30 # =1: The code can be optimized for size.
31 # The code is actually optimized for size only if ALLOW_OPT_CODE_SIZE=1
32 # in a given source code directory (in manifest.mn)
33 # =0: Never optimize the code for size.
36 # Can be overridden from the make command line.